/* ===== CSS Variables ===== */
:root {
    --bg-primary: #f8f6f3;
    --bg-secondary: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6b6b6b;
    --accent-navy: #1e3a5f;
    --accent-orange: #e67e22;
    --accent-teal: #17a2b8;
    --btn-dark: #1a1a1a;
    --btn-dark-hover: #333333;
    --border-light: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* No scroll for home page */
body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

/* ===== Intro Animation Overlay ===== */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.intro-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.intro-content {
    position: relative;
    width: 100%;
    text-align: center;
}

.intro-greeting {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 600;
    color: #ffffff;
    opacity: 0;
    letter-spacing: -0.02em;
}

.intro-greeting.active {
    animation: greetingFade 0.8s ease forwards;
}

.intro-greeting.fade-out {
    animation: greetingFadeOut 0.6s ease forwards;
}

@keyframes greetingFade {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }
}

@keyframes greetingFadeOut {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

/* Hide main content during intro */
body.intro-active header,
body.intro-active main,
body.intro-active footer {
    opacity: 0;
}

body header,
body main,
body footer {
    transition: opacity 0.5s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header & Navigation ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    z-index: 1000;
    padding: clamp(10px, 1.5vh, 16px) 0;
    border-bottom: 1px solid var(--border-light);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 0;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-navy);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: clamp(40px, 6vh, 60px);
    width: auto;
    transition: var(--transition);
}

/* Animated Logo */
.animated-logo img {
    animation: logoFloat 3s ease-in-out infinite;
}

.animated-logo:hover img {
    animation: logoShine 0.6s ease;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes logoShine {
    0% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
    100% {
        filter: brightness(1);
    }
}

.logo-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-primary);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-2px);
}

/* Social Media Brand Colors on Hover */
.social-links a[aria-label="LinkedIn"]:hover {
    color: #0A66C2;
}

.social-links a[aria-label="YouTube"]:hover {
    color: #FF0000;
}

.social-links a[aria-label="Instagram"]:hover {
    color: #E4405F;
}

.social-links a[aria-label="Medium"]:hover {
    color: #000000;
}

.social-links a[aria-label="GitHub"]:hover {
    color: #181717;
}

.social-links a[aria-label="Twitter/X"]:hover {
    color: #000000;
}

/* Social Icons SVG */
.social-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 6px 0;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: clamp(60px, 10vh, 80px);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 60px);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: clamp(280px, 40vh, 500px);
    border-radius: 8px;
}

/* Bottom Right Elements Container */
.bottom-right-elements {
    position: fixed;
    bottom: clamp(15px, 3vh, 30px);
    right: clamp(15px, 3vh, 30px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Circular Text Animation */
.circular-text {
    position: absolute;
    width: clamp(70px, 12vh, 110px);
    height: clamp(70px, 12vh, 110px);
    animation: rotate 12s linear infinite;
}

.circular-text svg {
    width: 100%;
    height: 100%;
}

.circular-text-path {
    fill: var(--accent-navy);
    font-size: clamp(8px, 1.2vh, 11px);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Lightbulb repositioned inside container */
.bottom-right-elements .lightbulb-icon {
    position: relative;
    bottom: auto;
    right: auto;
    width: clamp(35px, 6vh, 60px);
    height: clamp(35px, 6vh, 60px);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Hidden class for content toggle */
.hero-content.hidden {
    display: none;
}

/* Content transition animation */
.hero-content {
    animation: contentFadeIn 0.5s ease;
}

/* ===== Background View ===== */
/* Background content - same layout as Home/About */
.background-content {
    max-width: 520px;
    display: flex;
    flex-direction: column;
}

/* Timeline Legend */
.timeline-legend {
    display: flex;
    gap: clamp(8px, 1vh, 12px);
    margin-bottom: clamp(8px, 1vh, 12px);
    flex-shrink: 0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: clamp(8px, 1vh, 10px);
    color: var(--text-secondary);
    font-weight: 500;
}

.legend-dot {
    width: clamp(6px, 0.8vh, 8px);
    height: clamp(6px, 0.8vh, 8px);
    border-radius: 2px;
}

.legend-dot.fulltime {
    background: var(--accent-navy);
}

.legend-dot.volunteer {
    background: var(--accent-teal);
}

.legend-dot.education {
    background: var(--accent-orange);
}

/* ===== Horizontal Timeline - Redesigned ===== */
.h-timeline-section {
    margin-bottom: 10px;
    padding: 10px;
    background: rgba(255,255,255,0.6);
    border-radius: 8px;
    border-left: 3px solid var(--accent-navy);
    flex: 1;
    overflow: visible;
}

.h-timeline-section[data-type="volunteer"] {
    border-left-color: var(--accent-teal);
}

.h-timeline-section[data-type="education"] {
    border-left-color: var(--accent-orange);
}

/* Section Header */
.h-section-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.h-section-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-navy);
}

[data-type="volunteer"] .h-section-icon {
    background: var(--accent-teal);
}

[data-type="education"] .h-section-icon {
    background: var(--accent-orange);
}

.h-timeline-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.h-section-years {
    margin-left: auto;
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
    background: var(--bg-primary);
    padding: 2px 8px;
    border-radius: 10px;
}

/* Timeline Wrapper */
.h-timeline-wrapper {
    position: relative;
    overflow: visible;
    padding: 0 5px;
}

/* Items Row */
.h-items-row {
    position: relative;
    height: 38px;
    display: flex;
    overflow: visible;
}

.h-items-row.top {
    margin-bottom: 3px;
}

.h-items-row.bottom {
    margin-top: 3px;
}

/* Individual Item */
.h-item {
    position: absolute;
    left: var(--pos);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.h-items-row.top .h-item {
    bottom: 0;
}

.h-items-row.bottom .h-item {
    top: 0;
    flex-direction: column-reverse;
}

/* Item Card */
.h-card {
    display: flex;
    align-items: center;
    gap: 4px;
    background: white;
    padding: 3px 6px;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
    white-space: nowrap;
    max-width: 85px;
}

.h-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.h-card.current {
    border-color: var(--accent-navy);
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
}

[data-type="volunteer"] .h-card.current {
    border-color: var(--accent-teal);
    background: linear-gradient(135deg, #f0fffe 0%, #fff 100%);
}

[data-type="education"] .h-card.current {
    border-color: var(--accent-orange);
    background: linear-gradient(135deg, #fff9f5 0%, #fff 100%);
}

.h-card img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: contain;
    flex-shrink: 0;
}

.h-card-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    overflow: hidden;
}

.h-card-text strong {
    font-size: 8px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.h-card-text span {
    font-size: 7px;
    color: var(--text-muted);
}

/* Connector Line */
.h-connector {
    width: 2px;
    height: 6px;
    background: var(--accent-navy);
}

[data-type="volunteer"] .h-connector {
    background: var(--accent-teal);
}

[data-type="education"] .h-connector {
    background: var(--accent-orange);
}

/* Timeline Track */
.h-track {
    position: relative;
    height: 16px;
    background: linear-gradient(90deg, #e8e8e8 0%, #f0f0f0 100%);
    border-radius: 8px;
    overflow: visible;
}

/* Duration Bars */
.h-track .h-bar {
    position: absolute;
    top: 2px;
    left: var(--start);
    width: calc(var(--end) - var(--start));
    height: 12px;
    background: var(--accent-navy);
    border-radius: 6px;
    opacity: 0.7;
    transition: all 0.2s ease;
}

[data-type="volunteer"] .h-track .h-bar {
    background: var(--accent-teal);
}

[data-type="education"] .h-track .h-bar {
    background: var(--accent-orange);
}

.h-track .h-bar:nth-child(odd) {
    opacity: 0.85;
}

.h-track .h-bar:nth-child(even) {
    opacity: 0.6;
    top: 4px;
    height: 8px;
}

.h-track .h-bar:hover {
    opacity: 1;
    transform: scaleY(1.3);
    z-index: 5;
}

/* Year Markers */
.h-year-markers {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding-top: 2px;
}

.h-year-markers span {
    position: absolute;
    left: var(--p);
    transform: translateX(-50%);
    font-size: 7px;
    font-weight: 600;
    color: var(--text-muted);
}

.h-year-markers span:first-child {
    transform: translateX(0);
}

.h-year-markers span:last-child {
    transform: translateX(-100%);
}

/* Separator */
.h-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-light) 20%, var(--border-light) 80%, transparent 100%);
    margin: 8px 0;
    flex-shrink: 0;
}


@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content {
    max-width: 520px;
}

.hero-content h1 {
    font-size: clamp(28px, 5vh, 48px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: clamp(12px, 2.5vh, 24px);
    color: var(--text-primary);
}

.hero-content p {
    font-size: clamp(13px, 1.8vh, 16px);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: clamp(16px, 3vh, 32px);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: clamp(10px, 1.5vh, 16px);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: clamp(10px, 1.5vh, 14px) clamp(20px, 3vh, 28px);
    font-size: clamp(12px, 1.5vh, 14px);
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--btn-dark);
    color: white;
}

.btn-primary:hover {
    background: var(--btn-dark-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-icon {
    width: 16px;
    height: 16px;
}

/* Lightbulb Icon */
.lightbulb-icon {
    width: 60px;
    height: 60px;
}

.lightbulb-icon svg {
    width: 100%;
    height: 100%;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.about-content {
    max-width: 800px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* ===== Articles Page ===== */
.articles-list {
    padding: 40px 0 100px;
}

.article-card {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-hover);
}

.article-date {
    min-width: 80px;
    text-align: center;
    padding: 16px;
    background: var(--bg-primary);
    border-radius: 8px;
}

.article-date .day {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-navy);
    display: block;
}

.article-date .month {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.article-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.article-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.article-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-navy);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-link:hover {
    gap: 10px;
}

/* Read More Button Container */
.read-more-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding: 20px 0;
}

.read-more-btn {
    padding: 16px 32px;
    font-size: 16px;
}

/* ===== Contact Section ===== */
.contact {
    padding: 80px 0;
    background: var(--bg-primary);
    text-align: center;
}

.contact h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-email {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-navy);
}

.contact-email:hover {
    text-decoration: underline;
}

/* ===== Footer ===== */
footer {
    padding: 40px 0;
    background: var(--text-primary);
    color: white;
    text-align: center;
}

footer p {
    font-size: 14px;
    opacity: 0.8;
}

footer .social-links {
    justify-content: center;
    margin-top: 20px;
}

footer .social-links a {
    color: white;
    opacity: 0.7;
}

footer .social-links a:hover {
    opacity: 1;
}

/* Footer Social Brand Colors */
footer .social-links a[aria-label="LinkedIn"]:hover {
    color: #0A66C2;
}

footer .social-links a[aria-label="GitHub"]:hover {
    color: #ffffff;
}

footer .social-links a[aria-label="Twitter/X"]:hover {
    color: #ffffff;
}

/* ===== Contact Modal Popup ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 0;
    border-radius: 24px;
    text-align: center;
    max-width: 440px;
    width: 90%;
    position: relative;
    transform: scale(0.7) translateY(50px) rotateX(10deg);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0) rotateX(0);
    opacity: 1;
}

/* Animated Background Shapes */
.modal-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-navy), var(--accent-teal));
    top: -100px;
    right: -50px;
    animation: floatShape 8s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-orange));
    bottom: -50px;
    left: -50px;
    animation: floatShape 6s ease-in-out infinite reverse;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: var(--accent-navy);
    top: 50%;
    right: -20px;
    animation: floatShape 10s ease-in-out infinite;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, -10px) rotate(5deg);
    }
    50% {
        transform: translate(0, -20px) rotate(0deg);
    }
    75% {
        transform: translate(-10px, -10px) rotate(-5deg);
    }
}

/* Modal Close Button */
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-close:hover {
    color: white;
    background: #ff4757;
    transform: rotate(90deg);
}

/* Modal Header */
.modal-header {
    padding: 40px 40px 24px;
    position: relative;
    z-index: 1;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-navy), var(--accent-teal));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: iconBounce 0.6s ease 0.3s both;
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.3);
}

.modal-icon svg {
    width: 36px;
    height: 36px;
    stroke: white;
    stroke-width: 2;
}

@keyframes iconBounce {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

.modal-header h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    animation: slideUp 0.5s ease 0.4s both;
}

.modal-header p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    animation: slideUp 0.5s ease 0.5s both;
}

@keyframes slideUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal Body */
.modal-body {
    padding: 0 40px 24px;
    position: relative;
    z-index: 1;
}

.email-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-primary);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 20px;
    animation: slideUp 0.5s ease 0.6s both;
    transition: all 0.3s ease;
}

.email-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.email-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-navy), var(--accent-teal));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.email-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.email-details {
    text-align: left;
}

.email-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.email-address {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.email-address:hover {
    color: var(--accent-navy);
}

/* Modal Actions */
.modal-actions {
    display: flex;
    gap: 12px;
    animation: slideUp 0.5s ease 0.7s both;
}

.modal-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    font-size: 14px;
}

.modal-actions .btn svg {
    width: 18px;
    height: 18px;
}

.modal-send {
    background: linear-gradient(135deg, var(--accent-navy), var(--accent-teal));
}

.modal-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.4);
}

.modal-copy {
    background: transparent;
    border: 2px solid var(--border-light) !important;
    color: var(--text-primary);
}

.modal-copy:hover {
    border-color: var(--accent-navy) !important;
    color: var(--accent-navy);
}

.modal-copy.copied {
    background: #28a745 !important;
    border-color: #28a745 !important;
    color: white;
}

/* Modal Footer */
.modal-footer {
    padding: 20px 40px 32px;
    background: rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 1;
    animation: slideUp 0.5s ease 0.8s both;
}

.modal-footer p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.modal-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.modal-socials a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.modal-socials a svg {
    width: 20px;
    height: 20px;
}

.modal-socials a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.modal-socials a[aria-label="LinkedIn"]:hover {
    background: #0A66C2;
    color: white;
}

.modal-socials a[aria-label="GitHub"]:hover {
    background: #181717;
    color: white;
}

.modal-socials a[aria-label="Twitter/X"]:hover {
    background: #000000;
    color: white;
}

/* ===== Placeholder Styles ===== */
.placeholder-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background: var(--bg-secondary);
    border: 2px dashed var(--border-light);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.placeholder-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ===== Responsive Design ===== */

/* Tablet */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 350px;
        margin: 0 auto;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .cta-buttons {
        justify-content: center;
    }

    /* Background content tablet */
    .background-content {
        text-align: left;
    }

    .h-timeline-section {
        padding: 10px;
        margin-bottom: 12px;
    }

    .h-items-row {
        height: 42px;
    }

    .h-card {
        padding: 3px 6px;
    }

    .h-card img {
        width: 20px;
        height: 20px;
    }

    .h-card-text strong {
        font-size: 8px;
    }

    .h-card-text span {
        font-size: 7px;
    }

    .h-track {
        height: 16px;
    }

    .h-track .h-bar {
        height: 10px;
        top: 3px;
    }

    .h-track .h-bar:nth-child(even) {
        height: 8px;
        top: 4px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Header */
    header {
        padding: 12px 0;
    }

    .header-container {
        flex-wrap: wrap;
        padding: 0 16px;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 16px 0;
        order: 3;
        background: var(--bg-primary);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 14px 0;
        border-bottom: 1px solid var(--border-light);
        text-align: center;
    }

    .mobile-menu-toggle {
        display: block;
        order: 1;
    }

    .logo {
        order: 2;
    }

    .logo img {
        height: 45px;
    }

    .social-links {
        display: none;
    }

    /* Hero Section */
    .hero {
        padding-top: 70px;
        min-height: auto;
        padding-bottom: 100px;
    }

    .hero-container {
        gap: 30px;
        padding: 0 16px;
    }

    .hero-image img {
        max-width: 280px;
    }

    .hero-content h1 {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .hero-content p {
        font-size: 14px;
        margin-bottom: 24px;
        line-height: 1.6;
    }

    /* Bottom Elements */
    .bottom-right-elements {
        bottom: 15px;
        right: 15px;
    }

    .bottom-right-elements .lightbulb-icon {
        width: 40px;
        height: 40px;
    }

    .circular-text {
        width: 85px;
        height: 85px;
    }

    .circular-text-path {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .article-card {
        flex-direction: column;
        padding: 20px;
    }

    .article-date {
        display: flex;
        gap: 8px;
        align-items: baseline;
        justify-content: flex-start;
        padding: 12px 16px;
    }

    /* Background content mobile */
    .timeline-legend {
        gap: 8px;
        margin-bottom: 8px;
    }

    .legend-item {
        font-size: 8px;
    }

    .legend-dot {
        width: 6px;
        height: 6px;
    }

    .h-timeline-section {
        margin-bottom: 10px;
        padding: 8px;
        border-left-width: 3px;
    }

    .h-section-header {
        margin-bottom: 6px;
    }

    .h-timeline-title {
        font-size: 10px;
    }

    .h-section-years {
        font-size: 8px;
        padding: 2px 6px;
    }

    .h-items-row {
        height: 36px;
    }

    .h-card {
        padding: 2px 4px;
        gap: 4px;
    }

    .h-card img {
        width: 16px;
        height: 16px;
    }

    .h-card-text strong {
        font-size: 7px;
    }

    .h-card-text span {
        font-size: 6px;
    }

    .h-connector {
        height: 5px;
    }

    .h-track {
        height: 12px;
    }

    .h-track .h-bar {
        height: 8px;
        top: 2px;
    }

    .h-track .h-bar:nth-child(even) {
        height: 6px;
        top: 3px;
    }

    .h-year-markers span {
        font-size: 6px;
    }

    .h-separator {
        margin: 8px 0;
    }

    /* Modal */
    .modal-content {
        margin: 16px;
        border-radius: 20px;
    }

    .modal-header {
        padding: 32px 24px 20px;
    }

    .modal-icon {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }

    .modal-icon svg {
        width: 28px;
        height: 28px;
    }

    .modal-header h3 {
        font-size: 22px;
    }

    .modal-body {
        padding: 0 24px 20px;
    }

    .email-card {
        padding: 16px;
    }

    .email-icon {
        width: 44px;
        height: 44px;
    }

    .email-address {
        font-size: 15px;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-actions .btn {
        width: 100%;
    }

    .modal-footer {
        padding: 16px 24px 24px;
    }

    .modal-socials a {
        width: 40px;
        height: 40px;
    }

    /* Footer */
    footer {
        padding: 30px 16px;
    }

    footer .social-links {
        display: flex;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-image img {
        max-width: 220px;
    }

    .hero-content h1 {
        font-size: 22px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .section-title {
        font-size: 24px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .bottom-right-elements {
        bottom: 10px;
        right: 10px;
    }

    .bottom-right-elements .lightbulb-icon {
        width: 35px;
        height: 35px;
    }

    .circular-text {
        width: 75px;
        height: 75px;
    }

    .circular-text-path {
        font-size: 7px;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .hero-image {
        order: 0;
    }

    .hero-image img {
        max-width: 200px;
    }

    .hero-content h1 {
        font-size: 22px;
    }

    .cta-buttons {
        justify-content: flex-start;
    }
}

/* No scroll adjustment for mobile */
@media (max-width: 768px) {
    body.no-scroll {
        overflow: auto;
        height: auto;
    }
}

/* ===== Height-based Media Queries for Laptops ===== */

/* Short screens (laptops ~768px height) */
@media (max-height: 800px) {
    header {
        padding: 10px 0;
    }

    .logo img {
        height: 45px;
    }

    .hero {
        padding-top: 65px;
    }

    .hero-container {
        gap: 30px;
    }

    .hero-image img {
        max-width: 320px;
    }

    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .hero-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .btn {
        padding: 10px 22px;
        font-size: 13px;
    }

    .bottom-right-elements {
        bottom: 15px;
        right: 15px;
    }

    .circular-text {
        width: 80px;
        height: 80px;
    }

    .circular-text-path {
        font-size: 9px;
    }

    .bottom-right-elements .lightbulb-icon {
        width: 45px;
        height: 45px;
    }

    .timeline-legend {
        margin-bottom: 6px;
    }

    .legend-item {
        font-size: 8px;
    }

    .h-timeline-section {
        padding: 8px;
        margin-bottom: 8px;
        border-left-width: 3px;
    }

    .h-section-header {
        margin-bottom: 6px;
    }

    .h-timeline-title {
        font-size: 10px;
    }

    .h-section-years {
        font-size: 8px;
        padding: 1px 6px;
    }

    .h-items-row {
        height: 34px;
    }

    .h-card {
        padding: 2px 5px;
        gap: 4px;
    }

    .h-card img {
        width: 18px;
        height: 18px;
    }

    .h-card-text strong {
        font-size: 7px;
    }

    .h-card-text span {
        font-size: 6px;
    }

    .h-connector {
        height: 4px;
    }

    .h-track {
        height: 12px;
    }

    .h-year-markers {
        padding-top: 2px;
    }

    .h-year-markers span {
        font-size: 6px;
    }

    .h-separator {
        margin: 6px 0;
    }
}

/* Very short screens (small laptops ~700px height) */
@media (max-height: 700px) {
    header {
        padding: 8px 0;
    }

    .logo img {
        height: 38px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero {
        padding-top: 55px;
    }

    .hero-container {
        gap: 20px;
    }

    .hero-image img {
        max-width: 250px;
    }

    .hero-content h1 {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 12px;
        margin-bottom: 16px;
        line-height: 1.6;
    }

    .btn {
        padding: 8px 18px;
        font-size: 12px;
    }

    .bottom-right-elements {
        bottom: 10px;
        right: 10px;
    }

    .circular-text {
        width: 65px;
        height: 65px;
    }

    .circular-text-path {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .bottom-right-elements .lightbulb-icon {
        width: 38px;
        height: 38px;
    }

    .timeline-legend {
        margin-bottom: 4px;
        gap: 6px;
    }

    .legend-item {
        font-size: 7px;
    }

    .legend-dot {
        width: 5px;
        height: 5px;
    }

    .h-timeline-section {
        padding: 6px;
        margin-bottom: 6px;
    }

    .h-section-header {
        margin-bottom: 4px;
        gap: 4px;
    }

    .h-section-icon {
        width: 5px;
        height: 5px;
    }

    .h-timeline-title {
        font-size: 9px;
    }

    .h-section-years {
        font-size: 7px;
    }

    .h-items-row {
        height: 28px;
    }

    .h-card {
        padding: 1px 4px;
        gap: 3px;
        border-radius: 4px;
        max-width: 70px;
    }

    .h-card img {
        width: 14px;
        height: 14px;
        border-radius: 3px;
    }

    .h-card-text strong {
        font-size: 6px;
    }

    .h-card-text span {
        font-size: 5px;
    }

    .h-connector {
        height: 3px;
        width: 1px;
    }

    .h-track {
        height: 10px;
        border-radius: 5px;
    }

    .h-year-markers span {
        font-size: 5px;
    }

    .h-separator {
        margin: 4px 0;
    }
}

/* Extra short screens (very small laptops ~600px height) */
@media (max-height: 600px) {
    header {
        padding: 6px 0;
    }

    .logo img {
        height: 32px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 11px;
        padding: 4px 0;
    }

    .hero {
        padding-top: 45px;
    }

    .hero-container {
        gap: 15px;
    }

    .hero-image img {
        max-width: 200px;
    }

    .hero-content h1 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 11px;
        margin-bottom: 12px;
        line-height: 1.5;
    }

    .btn {
        padding: 6px 14px;
        font-size: 11px;
    }

    .bottom-right-elements {
        display: none;
    }

    .timeline-legend {
        display: none;
    }

    .h-timeline-section {
        padding: 4px;
        margin-bottom: 4px;
        border-left-width: 2px;
    }

    .h-section-header {
        margin-bottom: 3px;
    }

    .h-timeline-title {
        font-size: 8px;
    }

    .h-section-years {
        font-size: 6px;
        padding: 1px 4px;
    }

    .h-items-row {
        height: 24px;
    }

    .h-card {
        padding: 1px 3px;
        gap: 2px;
    }

    .h-card img {
        width: 12px;
        height: 12px;
    }

    .h-card-text strong {
        font-size: 5px;
    }

    .h-card-text span {
        display: none;
    }

    .h-connector {
        height: 2px;
    }

    .h-track {
        height: 8px;
    }

    .h-year-markers span {
        font-size: 4px;
    }

    .h-separator {
        margin: 3px 0;
    }
}

/* ===== Articles Page - Fuselle Inspired ===== */
.articles-page {
    padding-top: 80px;
    min-height: 100vh;
}

/* Articles Hero */
.articles-hero {
    padding: 60px 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.articles-hero-content {
    max-width: 700px;
}

.articles-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-navy);
    margin-bottom: 16px;
    padding: 6px 12px;
    background: rgba(30, 58, 95, 0.08);
    border-radius: 4px;
}

.articles-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.articles-hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 550px;
}

/* Featured Article */
.featured-article {
    padding: 0 80px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.featured-image {
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--accent-navy) 0%, #2d5a8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Themed Gradients for Article Images */
.featured-image.theme-security,
.card-image.theme-security {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

.featured-image.theme-innovation,
.card-image.theme-innovation {
    background: linear-gradient(135deg, #4285f4 0%, #1a73e8 50%, #ea4335 100%);
}

.featured-image.theme-tutorial,
.card-image.theme-tutorial {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.featured-image.theme-ai,
.card-image.theme-ai {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
}

.featured-image.theme-math,
.card-image.theme-math {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
}

.featured-image.theme-data,
.card-image.theme-data {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.featured-image.theme-cloud,
.card-image.theme-cloud {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.featured-image-placeholder {
    width: 80px;
    height: 80px;
    color: rgba(255, 255, 255, 0.6);
}

.featured-image-placeholder svg {
    width: 100%;
    height: 100%;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-orange);
    color: white;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    border-radius: 4px;
}

.featured-content {
    padding: 40px 40px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-navy);
    margin-bottom: 12px;
}

.featured-content h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.featured-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.article-date {
    font-weight: 500;
}

.read-time {
    position: relative;
    padding-left: 16px;
}

.read-time::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--text-muted);
    border-radius: 50%;
}

/* Articles Grid */
.articles-grid-section {
    padding: 0 80px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.article-grid-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-grid-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.article-grid-card:hover .read-more-link .arrow {
    transform: translateX(4px);
}

.card-image {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--accent-navy) 0%, #2d5a8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-image-placeholder {
    width: 48px;
    height: 48px;
    color: rgba(255, 255, 255, 0.7);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.article-grid-card:hover .card-image-placeholder {
    color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

.card-image-placeholder svg {
    width: 100%;
    height: 100%;
}

.card-content {
    padding: 24px;
}

.card-content .article-category {
    margin-bottom: 10px;
}

.card-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.card-content .article-meta {
    justify-content: space-between;
}

.read-more-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-navy);
    display: flex;
    align-items: center;
    gap: 6px;
}

.read-more-link .arrow {
    transition: transform 0.3s ease;
}

/* Articles CTA */
.articles-cta {
    text-align: center;
    margin-top: 48px;
}

.btn-articles-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--btn-dark);
    color: white;
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-articles-more:hover {
    background: var(--btn-dark-hover);
    transform: translateY(-2px);
}

.btn-articles-more svg {
    width: 18px;
    height: 18px;
}

/* Articles Page Responsive */
@media (max-width: 1200px) {
    .articles-hero,
    .featured-article,
    .articles-grid-section {
        padding-left: 48px;
        padding-right: 48px;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-content {
        padding: 32px;
    }

    .featured-image {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 768px) {
    .articles-hero,
    .featured-article,
    .articles-grid-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .articles-hero {
        padding-top: 40px;
        padding-bottom: 32px;
    }

    .articles-hero h1 {
        font-size: 2rem;
    }

    .articles-hero p {
        font-size: 1rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .card-content {
        padding: 20px;
    }

    .card-content h3 {
        font-size: 1rem;
    }

    .featured-content h2 {
        font-size: 1.25rem;
    }

    .featured-content {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .articles-hero h1 {
        font-size: 1.75rem;
    }

    .featured-badge {
        top: 12px;
        left: 12px;
        font-size: 10px;
        padding: 4px 8px;
    }

    .btn-articles-more {
        padding: 12px 24px;
        font-size: 13px;
    }
}

/* ===== Projects Page ===== */
.projects-page {
    padding-top: 80px;
    min-height: 100vh;
}

.projects-hero {
    padding: 60px 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.projects-hero-content {
    max-width: 700px;
}

.projects-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-navy);
    margin-bottom: 16px;
    padding: 6px 12px;
    background: rgba(30, 58, 95, 0.08);
    border-radius: 4px;
}

.projects-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.projects-hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 550px;
}

/* Projects Grid */
.projects-grid-section {
    padding: 0 80px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.project-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    color: inherit;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.project-card:hover .read-more-link .arrow {
    transform: translateX(4px);
}

.project-image {
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent-orange);
    color: white;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 10px;
    border-radius: 4px;
}

.project-content {
    padding: 24px;
}

.project-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-navy);
    margin-bottom: 10px;
}

.project-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.project-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.project-level {
    font-weight: 500;
}

.project-duration {
    position: relative;
    padding-left: 16px;
}

.project-duration::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--text-muted);
    border-radius: 50%;
}

.project-content .read-more-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-navy);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-content .read-more-link .arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Projects Page Responsive */
@media (max-width: 1200px) {
    .projects-hero,
    .projects-grid-section {
        padding-left: 48px;
        padding-right: 48px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-hero,
    .projects-grid-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .projects-hero {
        padding-top: 40px;
        padding-bottom: 32px;
    }

    .projects-hero h1 {
        font-size: 2rem;
    }

    .projects-hero p {
        font-size: 1rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .project-content {
        padding: 20px;
    }

    .project-content h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .projects-hero h1 {
        font-size: 1.75rem;
    }

    .project-badge {
        top: 12px;
        left: 12px;
        font-size: 10px;
        padding: 4px 8px;
    }
}

/* ===== Projects Coming Soon Page ===== */
.coming-soon-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 24px 40px;
}

/* Animated Background */
.cs-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cs-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f6f3 0%, #e8e4df 50%, #f0ebe5 100%);
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(135deg, #f8f6f3 0%, #e8e4df 50%, #f0ebe5 100%);
    }
    50% {
        background: linear-gradient(135deg, #f0ebe5 0%, #f8f6f3 50%, #e8e4df 100%);
    }
}

.cs-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(30, 58, 95, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 95, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

/* Floating Particles */
.cs-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent-navy);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; top: 80%; animation-delay: 2s; animation-duration: 14s; width: 15px; height: 15px; }
.particle:nth-child(3) { left: 60%; top: 10%; animation-delay: 4s; animation-duration: 16s; }
.particle:nth-child(4) { left: 80%; top: 50%; animation-delay: 6s; animation-duration: 13s; width: 8px; height: 8px; }
.particle:nth-child(5) { left: 30%; top: 60%; animation-delay: 1s; animation-duration: 15s; width: 12px; height: 12px; }
.particle:nth-child(6) { left: 70%; top: 70%; animation-delay: 3s; animation-duration: 11s; }
.particle:nth-child(7) { left: 50%; top: 30%; animation-delay: 5s; animation-duration: 17s; width: 6px; height: 6px; }
.particle:nth-child(8) { left: 90%; top: 20%; animation-delay: 7s; animation-duration: 14s; width: 14px; height: 14px; }

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translate(20px, -30px) rotate(90deg);
        opacity: 0.2;
    }
    50% {
        transform: translate(-10px, -60px) rotate(180deg);
        opacity: 0.15;
    }
    75% {
        transform: translate(30px, -30px) rotate(270deg);
        opacity: 0.2;
    }
}

/* Content */
.cs-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
}

.cs-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--accent-navy) 0%, #2d5a8a 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconPulse 3s ease-in-out infinite;
    box-shadow: 0 10px 40px rgba(30, 58, 95, 0.3);
}

.cs-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(30, 58, 95, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(30, 58, 95, 0.4);
    }
}

.cs-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-navy);
    margin-bottom: 16px;
    padding: 8px 16px;
    background: rgba(30, 58, 95, 0.08);
    border-radius: 50px;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.cs-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.cs-word {
    display: inline-block;
    animation: titleReveal 0.8s ease forwards;
    opacity: 0;
    transform: translateY(40px);
}

.cs-word:nth-child(1) { animation-delay: 0.4s; }
.cs-word:nth-child(2) { animation-delay: 0.6s; margin-left: 16px; }

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.cs-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

/* Features Preview */
.cs-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

.cs-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cs-feature-icon {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cs-feature:hover .cs-feature-icon {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.cs-feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent-navy);
}

.cs-feature span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Notify Button */
.cs-notify-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--btn-dark);
    color: white;
    font-size: 15px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1.2s;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.cs-notify-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cs-notify-btn:hover::before {
    left: 100%;
}

.cs-notify-btn:hover {
    background: var(--btn-dark-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 26, 26, 0.3);
}

.cs-notify-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.cs-notify-btn:hover svg {
    transform: translateX(4px);
}

/* Coming Soon Responsive */
@media (max-width: 768px) {
    .cs-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .cs-word:nth-child(2) {
        display: block;
        margin-left: 0;
        margin-top: 8px;
    }

    .cs-features {
        flex-direction: column;
        gap: 20px;
    }

    .cs-feature {
        flex-direction: row;
        gap: 16px;
    }

    .cs-feature-icon {
        width: 48px;
        height: 48px;
    }

    .cs-feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .cs-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .cs-icon svg {
        width: 32px;
        height: 32px;
    }

    .cs-description {
        font-size: 1rem;
    }

    .cs-notify-btn {
        padding: 14px 28px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .coming-soon-page {
        padding: 100px 20px 40px;
    }

    .cs-title {
        font-size: 2.5rem;
    }

    .cs-label {
        font-size: 11px;
        padding: 6px 12px;
    }
}
