/* ==========================================================================
   Root Variables
   ========================================================================== */
:root {
    /* Colors */
    --bg-primary: #0a0f1c;
    --bg-secondary: #131b2f;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;

    /* Accents */
    --accent-primary: #3b82f6;
    /* Blue */
    --accent-secondary: #8b5cf6;
    /* Purple */
    --gradient-primary: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Fluid Typography - using clamp(min, val, max) */
    --fs-hero-title: clamp(2.5rem, 8vw, 5rem);
    --fs-section-title: clamp(2rem, 5vw, 3rem);
    --fs-h3: clamp(1.2rem, 3vw, 1.8rem);
    --fs-body: clamp(0.95rem, 2vw, 1.1rem);

    /* Layout & Spacing */
    --nav-height: 80px;
    --container-padding: clamp(1rem, 5vw, 2.5rem);
    --section-padding: clamp(3rem, 10vh, 6rem);
    --grid-gap: clamp(1.5rem, 4vw, 3rem);

    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-primary);
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    z-index: 99;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.scroll-to-top.show {
    display: flex;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Global Reset & Defaults
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: var(--fs-body);
}

/* Background Glow Effect */
.background-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08), transparent 25%);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.4);
}

.section {
    padding: var(--section-padding) 0;
}

.section-title {
    font-size: var(--fs-section-title);
    margin-bottom: 3rem;
    text-align: center;
}

.subsection-title {
    font-size: var(--fs-h3);
    margin: 4rem 0 2rem;
    text-align: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.btn-primary i {
    transition: transform var(--transition-normal);
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background var(--transition-normal), backdrop-filter var(--transition-normal), padding var(--transition-normal);
    padding: 1.5rem 0;
}

#navbar.scrolled {
    background: rgba(10, 15, 28, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo .dot {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    padding-bottom: 2rem;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--grid-gap);
    align-items: center;
}

.hero-greeting {
    font-family: var(--font-heading);
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    font-size: var(--fs-hero-title);
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: var(--fs-h3);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background: var(--accent-primary);
    color: #fff;
    transform: translateY(-3px);
    border-color: var(--accent-primary);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

/* Profile Image Flip */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-flip-container {
    perspective: 1000px;
}

.profile-flipper {
    position: relative;
    width: clamp(280px, 40vw, 400px);
    aspect-ratio: 1/1;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 50%;
}

.profile-flip-container:hover .profile-flipper {
    transform: rotateY(180deg);
}

.profile-front,
.profile-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    background: var(--glass-bg);
}

.flip-hint {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 5;
    animation: pulse 2s infinite;
    white-space: nowrap;
}

.flip-hint i {
    font-size: 0.8rem;
    color: var(--accent-primary);
}

@keyframes pulse {
    0% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    50% {
        transform: translateX(-50%) scale(1.05);
        border-color: rgba(255, 255, 255, 0.4);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    }

    100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
}

.profile-back {
    transform: rotateY(180deg);
    background: #000;
}

.profile-photo,
.profile-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.video-overlay-title {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    pointer-events: auto;
    cursor: pointer;
    opacity: 0.8;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.video-overlay-title:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateX(-50%) scale(1.05);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-card p strong {
    color: var(--accent-primary);
}

/* ==========================================================================
   Skills Section
   ========================================================================== */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    max-width: 900px;
    margin: 0 auto;
}

.tag {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #38bdf8;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.tag:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.5);
    color: #7dd3fc;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(56, 189, 248, 0.2);
}

/* ==========================================================================
   Experience Timeline
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--glass-border);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 14px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
    border: 3px solid var(--bg-primary);
    z-index: 2;
}

.timeline-date {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-role {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.timeline-company {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.timeline-list {
    color: var(--text-secondary);
    padding-left: 1.2rem;
}

.timeline-list li {
    margin-bottom: 0.5rem;
    position: relative;
}

.timeline-list li::before {
    content: '→';
    position: absolute;
    left: -1.2rem;
    color: var(--accent-primary);
}

/* ==========================================================================
   Projects Section & Tabs
   ========================================================================== */
.project-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    width: 100%;
    flex-wrap: wrap;
}

.project-tab-btn {
    flex: 1;
    min-width: 200px;
    max-width: 100%;
    padding: 0.8rem 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.project-tab-btn.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.project-tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.load-more-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 3rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--grid-gap);
}

.project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.4);
}

.project-media {
    position: relative;
    width: 100%;
    height: 220px;
    background: rgba(0, 0, 0, 0.5);
}

.project-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.watch-btn {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: #a855f7;
    color: white;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 10px rgba(168, 85, 247, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    transition: transform var(--transition-fast), background var(--transition-fast);
    z-index: 10;
}

.watch-btn:hover {
    background: #9333ea;
    transform: translateY(-2px);
}

.project-content {
    padding: 2.5rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.project-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.project-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.project-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.project-tag {
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-link-icon {
    color: var(--text-secondary);
    font-size: 1rem;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.project-link-icon:hover {
    color: #fff;
}

/* Modal Styles */
.project-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(10, 15, 28, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.project-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-modal .modal-content {
    position: relative;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
    padding: 2.5rem;
    animation: modalSlideIn 0.3s ease-out forwards;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    color: var(--text-secondary);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color var(--transition-fast);
    line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
    color: #fff;
    text-decoration: none;
}

.modal-body h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-right: 20px;
}

.modal-video-box {
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid var(--glass-border);
}

.modal-video-box video {
    width: 100%;
    display: block;
    max-height: 400px;
}

.video-caption {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    font-style: italic;
    border-top: 1px solid var(--glass-border);
}

.modal-details-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--accent-primary);
}

.modal-details-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* ==========================================================================
   Education & Achievements
   ========================================================================== */
.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.date-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 1rem 0;
}

.coursework {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--accent-primary);
}

.achievement-list {
    list-style: none;
    padding: 0;
}

.achievement-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    align-items: flex-start;
}

.achievement-list li:last-child {
    margin-bottom: 0;
}

.highlight {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-top: 3px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

.contact-method-card i {
    font-size: 1.8rem;
    color: var(--accent-primary);
    background: rgba(59, 130, 246, 0.1);
    height: 60px;
    width: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-method-card h4 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.contact-method-card a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.contact-method-card a:hover {
    color: var(--accent-primary);
}

.contact-form-container {
    display: flex;
    justify-content: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    background: rgba(10, 15, 28, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.submit-btn {
    margin-top: 1rem;
    width: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 80px 0 20px;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
    background: linear-gradient(to top, rgba(10, 15, 28, 1), rgba(10, 15, 28, 0));
}

.footer-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.footer-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    background: var(--glass-bg);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    transition: all var(--transition-fast);
}

.contact-item:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.contact-item i {
    color: var(--accent-primary);
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-socials a {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.footer-socials a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .dual-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-buttons,
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-description {
        margin: 0 auto 2.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1.5rem;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 15, 28, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        gap: 2.5rem;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
    }

    .nav-links.active {
        right: 0;
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        transform: translateY(20px);
        opacity: 0;
        transition: all 0.4s ease;
    }

    .nav-links.active li {
        transform: translateY(0);
        opacity: 1;
    }

    /* Staggered animation for menu items */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-links.active li:nth-child(6) {
        transition-delay: 0.6s;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-dot {
        left: -6px;
    }

    .timeline-item {
        padding-left: 30px;
    }

    .section {
        padding: 50px 0;
    }
}