/* ============================================================
   AMEEN — Portfolio Website Styles
   ============================================================ */

/* ----- Reset & Variables ----- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple-dark: #0d001a;
    --purple-deep: #1a0033;
    --purple-mid: #4A0E78;
    --purple-bright: #7B2FBE;
    --purple-light: #a855f7;
    --gold: #D4AF37;
    --gold-light: #F0D878;
    --white: #ffffff;
    --white-soft: rgba(255, 255, 255, 0.7);
    --white-muted: rgba(255, 255, 255, 0.4);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--purple-dark);
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}


/* ============================================================
   LOADING SCREEN
   ============================================================ */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--purple-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--white);
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loader-bar {
    width: 220px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--purple-bright), var(--gold));
    border-radius: 2px;
    transition: width 0.2s ease;
}

.loader-percent {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--white-muted);
    letter-spacing: 0.15em;
}


/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 3rem;
    transition: all 0.4s ease;
}

#navbar.scrolled {
    background: rgba(13, 0, 26, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 1rem 3rem;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.2em;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: var(--gold-light);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--white-soft);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--white);
}

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

/* Hamburger Menu */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    display: block;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
    position: relative;
}

.hero-scroll-container {
    height: 800vh;
    position: relative;
}

.hero-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#heroCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* ----- Text Overlays ----- */
.hero-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 8%;
    opacity: 0;
    pointer-events: none;
    will-change: opacity;
    background: linear-gradient(
        90deg,
        rgba(13, 0, 26, 0.92) 0%,
        rgba(13, 0, 26, 0.85) 40%,
        rgba(13, 0, 26, 0.55) 70%,
        transparent 100%
    );
}

.hero-text-overlay.visible {
    pointer-events: auto;
}

.hero-text-content {
    max-width: 520px;
    will-change: transform;
    transition: transform 0.05s linear;
}

/* Phase 1 — Name & Title */
.hero-greeting {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--gold-light);
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 50%, var(--white) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-title-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--purple-bright));
    margin-bottom: 1.25rem;
    border-radius: 2px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--white-soft);
    letter-spacing: 0.02em;
}

.hero-scroll-hint {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--white-muted);
    letter-spacing: 0.05em;
}

.scroll-arrow {
    color: var(--gold);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* Phase 2, 3, 4 — Content Sections */
.hero-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.35em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-heading {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-description {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--white-soft);
    max-width: 420px;
}

/* CTA Button */
.hero-cta {
    margin-top: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: transparent;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.15), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}

.cta-button:hover::before {
    left: 100%;
}


/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 3rem;
}

.section-header-center {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.section-description {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--white-soft);
    max-width: 520px;
    margin: 0 auto;
}


/* ============================================================
   CAMPAIGNS / CLIENTS SECTION
   ============================================================ */
#campaigns {
    position: relative;
    padding: 8rem 0 6rem;
    background: var(--purple-dark);
    overflow: hidden;
}

/* Top gradient transition from hero */
#campaigns::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, rgba(75, 14, 120, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.clients-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.clients-header {
    text-align: center;
    margin-bottom: 4rem;
}

.campaign-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--white-muted);
    font-style: italic;
    margin-top: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ----- Stats Row ----- */
.stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    margin-top: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--white-muted);
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
}

/* ----- Logo Marquee ----- */
.marquee-wrapper {
    overflow: hidden;
    position: relative;
    padding: 1.5rem 0;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--purple-dark), transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, var(--purple-dark), transparent);
}

.marquee-track {
    display: flex;
    gap: 2.5rem;
    animation: marquee 35s linear infinite;
    width: max-content;
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 100px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 14px;
    padding: 1.25rem 1.75rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: default;
    transform: translateZ(0);
}

.logo-item:hover {
    transform: translateY(-6px) scale(1.03) translateZ(0);
    box-shadow:
        0 20px 50px rgba(75, 14, 120, 0.4),
        0 0 0 1px rgba(212, 175, 55, 0.2);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.75;
    transition: opacity 0.4s ease;
}

.logo-item:hover img {
    opacity: 1;
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(calc(-50% - 1.25rem), 0, 0);
    }
}


/* ============================================================
   EXPERIENCE TIMELINE
   ============================================================ */
#experience {
    position: relative;
    padding: 8rem 0;
    background: var(--purple-deep);
}

#experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(180deg, var(--purple-dark), var(--purple-deep));
    pointer-events: none;
}

#experience::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(0deg, var(--purple-dark), var(--purple-deep));
    pointer-events: none;
}

.timeline {
    position: relative;
    padding-left: 40px;
    max-width: 800px;
    margin: 0 auto;
}

/* Vertical line */
.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), var(--purple-bright), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 8px;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--purple-mid);
    border: 2px solid var(--gold);
    position: relative;
}

.timeline-dot.current {
    background: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.timeline-dot.current::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.5); }
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.timeline-content:hover {
    border-color: rgba(212, 175, 55, 0.15);
    box-shadow: 0 10px 40px rgba(75, 14, 120, 0.2);
}

.timeline-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.timeline-badge.present {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-light);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.timeline-role {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.timeline-company {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.timeline-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.timeline-location,
.timeline-date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--white-muted);
}

.timeline-details {
    list-style: none;
    padding: 0;
}

.timeline-details li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--white-soft);
}

.timeline-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.6;
}


/* ============================================================
   EDUCATION SECTION
   ============================================================ */
#education {
    position: relative;
    padding: 8rem 0;
    background: var(--purple-dark);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.edu-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
}

.edu-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(75, 14, 120, 0.2);
}

.edu-icon {
    margin-bottom: 1.5rem;
}

.edu-degree {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.edu-institution {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.edu-location {
    font-size: 0.85rem;
    color: var(--white-muted);
    margin-bottom: 0.5rem;
}

.edu-year {
    font-size: 0.8rem;
    color: var(--white-muted);
    font-weight: 400;
}

/* Certifications */
.certifications {
    text-align: center;
}

.cert-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2rem;
}

.cert-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--white-soft);
    transition: all 0.3s ease;
}

.cert-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--white);
}


/* ============================================================
   SKILLS SECTION
   ============================================================ */
#skills {
    position: relative;
    padding: 8rem 0;
    background: var(--purple-deep);
}

#skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(180deg, var(--purple-dark), var(--purple-deep));
    pointer-events: none;
}

#skills::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(0deg, var(--purple-dark), var(--purple-deep));
    pointer-events: none;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.skill-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: default;
}

.skill-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(75, 14, 120, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

.skill-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-icon svg {
    width: 40px;
    height: 40px;
}

.skill-name {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--white-soft);
    text-align: center;
    letter-spacing: 0.02em;
}

/* Languages */
.languages-section {
    margin-top: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.lang-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    margin-bottom: 2rem;
}

.lang-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-name {
    font-size: 0.85rem;
    color: var(--white-soft);
    min-width: 90px;
    text-align: right;
}

.lang-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.lang-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--purple-bright));
    border-radius: 3px;
    transition: width 1.5s ease;
    width: 0%;
}

.lang-fill.animated {
    /* Width is set inline, transition handles animation */
}


/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact {
    position: relative;
    padding: 8rem 0;
    background: var(--purple-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.4s ease;
    cursor: pointer;
}

.contact-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(75, 14, 120, 0.2);
}

.contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    margin-bottom: 1.25rem;
    color: var(--gold);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: rgba(212, 175, 55, 0.15);
    transform: scale(1.1);
}

.contact-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.contact-value {
    font-size: 0.85rem;
    color: var(--white-soft);
    line-height: 1.5;
    word-break: break-word;
}


/* ============================================================
   FOOTER
   ============================================================ */
#footer {
    padding: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--purple-dark);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    font-size: 0.75rem;
    color: var(--white-muted);
    margin-top: 0.25rem;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--white-muted);
}


/* ============================================================
   REVEAL ANIMATIONS (for scroll-triggered elements)
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablets */
@media (max-width: 1024px) {
    .hero-name {
        font-size: 4.5rem;
    }

    .hero-heading {
        font-size: 2.75rem;
    }

    .hero-text-overlay {
        width: 55%;
        padding-left: 5%;
    }

    .section-heading {
        font-size: 2.5rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

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

/* Mobile Landscape / Small Tablets */
@media (max-width: 768px) {
    #navbar {
        padding: 1rem 1.5rem;
    }

    #navbar.scrolled {
        padding: 0.75rem 1.5rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(13, 0, 26, 0.97);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        z-index: 999;
    }

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

    .nav-links a {
        font-size: 1.2rem;
        letter-spacing: 0.1em;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero-text-overlay {
        width: 100%;
        padding: 0 2rem;
        align-items: flex-end;
        padding-bottom: 12vh;
        background: linear-gradient(
            0deg,
            rgba(13, 0, 26, 0.85) 0%,
            rgba(13, 0, 26, 0.5) 40%,
            transparent 80%
        );
    }

    .hero-name {
        font-size: 3.5rem;
    }

    .hero-heading {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-title {
        font-size: 1.15rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .section-container,
    .clients-container {
        padding: 0 1.5rem;
    }

    .stats-row {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        flex: 0 0 calc(50% - 1rem);
    }

    .logo-item {
        width: 180px;
        height: 85px;
        padding: 1rem 1.25rem;
    }

    /* Timeline */
    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-marker {
        left: -30px;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-role {
        font-size: 1.2rem;
    }

    .timeline-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Education */
    .education-grid {
        grid-template-columns: 1fr;
    }

    /* Skills */
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 1rem;
    }

    .skill-card {
        padding: 1.5rem 0.75rem;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .hero-name {
        font-size: 2.75rem;
    }

    .hero-heading {
        font-size: 1.85rem;
    }

    .hero-greeting {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .section-heading {
        font-size: 1.75rem;
    }

    .section-description {
        font-size: 0.95rem;
    }

    .logo-item {
        width: 150px;
        height: 75px;
        padding: 0.75rem 1rem;
        border-radius: 10px;
    }

    .loader-text {
        font-size: 2rem;
    }

    #campaigns,
    #experience,
    #education,
    #skills,
    #contact {
        padding: 5rem 0 4rem;
    }

    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .skill-name {
        font-size: 0.7rem;
    }

    .timeline-details li {
        font-size: 0.85rem;
    }
}
