/* ============================================================
   Zaini Fatima Portfolio — "Luxury Rose & Silk" Theme
   High Contrast · Premium Design · Smooth Typography
   ============================================================ */

:root {
    /* --- COLOR PALETTE (Premium Midnight Gold) --- */
    --primary: #dfb163;
    /* Premium Gold */
    --primary-glow: rgba(223, 177, 99, 0.3);
    --secondary: #eaddcf;
    /* Soft Champagne */
    --accent: #ffffff;
    /* Crisp White */
    --gold: #dfb163;
    /* Highlights */

    /* Backgrounds (Deep, Dark, Rich) */
    --bg-deep: #050507;
    /* Darkest obsidian */
    --bg-rich: #0a0a0e;
    /* Deep space */
    --bg-section: #0f0f13;
    /* Section alternate */
    --bg-card: rgba(255, 255, 255, 0.02);

    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-h: rgba(223, 177, 99, 0.4);
    --glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);

    /* Type - High Contrast */
    --text-pure: #ffffff;
    --text-silk: #e0e0e0;
    --text-dim: #999999;
    --text-dark: #111111;

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Transitions */
    --t-fast: 0.2s ease;
    --t-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --t-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Radii */
    --r-sm: 12px;
    --r-md: 20px;
    --r-lg: 30px;
}

/* ============================================================
   BASE & RESET
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-deep);
}

body {
    font-family: var(--font-body);
    color: var(--text-pure);
    background: var(--bg-deep);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* ============================================================
   3D BACKGROUND SYSTEM
   ============================================================ */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    z-index: 2;
    background: radial-gradient(circle at 20% 20%, rgba(223, 177, 99, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(234, 221, 207, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Layer sections above 3D */
section,
footer {
    position: relative;
    z-index: 10;
}

/* ============================================================
   TYPOGRAPHY FIXES (Anti-Glitch)
   ============================================================ */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    /* Increased to prevent top/bottom clip glitches */
    color: var(--text-pure);
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

p {
    font-size: 1rem;
    color: var(--text-silk);
    opacity: 0.9;
}

span.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    /* Fixes potential rendering glitches in some browsers */
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.cursor-ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-glow);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 0;
    transition: var(--t-normal);
    z-index: 9999;
}

.navbar.scrolled {
    background: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-silk);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--t-fast);
}

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

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-label {
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 4px;
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.hero-name {
    margin-bottom: 25px;
}

.hero-summary {
    font-size: 1.15rem;
    max-width: 550px;
    margin-bottom: 40px;
    color: var(--text-silk);
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Buttons */
.btn {
    padding: 16px 36px;
    border-radius: var(--r-sm);
    text-decoration: none;
    font-weight: 700;
    transition: var(--t-normal);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--primary-glow);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.liquid-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 380px;
    height: 380px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    box-shadow: 0 0 60px var(--primary-glow);
    animation: liquidAnimation 8s ease-in-out infinite;
    transform-origin: center;
    z-index: -1;
    opacity: 0.8;
    filter: blur(40px);
}

@keyframes liquidAnimation {

    0%,
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }

    33% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: translate(-50%, -50%) rotate(120deg) scale(1.1);
    }

    66% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
        transform: translate(-50%, -50%) rotate(240deg) scale(0.9);
    }
}

.hero-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(25px);
    padding: 40px;
    border-radius: var(--r-md);
    width: 100%;
    max-width: 380px;
    text-align: center;
    box-shadow: var(--glass-shadow);
    transition: var(--t-normal);
}

.hero-card:hover {
    border-color: var(--primary);
}

.hero-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-family: var(--font-heading);
    color: #fff;
    box-shadow: 0 10px 40px var(--primary-glow);
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: var(--r-sm);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* ============================================================
   SECTIONS
   ============================================================ */
section {
    padding: 120px 20px;
}

.section-head {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 5px;
    color: var(--primary);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 15px;
}

/* Cards (Glass) */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: var(--r-md);
    transition: var(--t-normal);
    box-shadow: var(--glass-shadow);
}

.glass:hover {
    border-color: var(--glass-border-h);
    box-shadow: var(--glass-shadow);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

.timeline-item {
    padding-left: 60px;
    margin-bottom: 50px;
}

.exp-card {
    padding: 30px;
}

.exp-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.exp-role {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.3rem;
}

.exp-company {
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-pure);
}

.exp-badge {
    background: rgba(223, 177, 99, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: var(--r-pill);
    font-size: 0.8rem;
    font-weight: 700;
}

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

.skill-card {
    padding: 30px;
    text-align: center;
}

.skill-bar-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-top: 20px;
}

.skill-bar-fill {
    height: 100%;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    border-radius: 10px;
    width: 0;
    transition: width 1s ease-in-out;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.project-num {
    font-size: 4rem;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
}

/* ============================================================
   CHAT WIDGET
   ============================================================ */
.chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px var(--primary-glow);
    cursor: pointer;
    border: none;
    transition: var(--t-bounce);
    z-index: 9999;
}

.chat-btn:hover {
    transform: scale(1.1);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

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

/* ============================================================
   RESPONSIVE FIXES
   ============================================================ */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10000;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--t-normal);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-summary {
        margin: 0 auto 40px;
    }

    .hero-visual {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 300px;
        background: rgba(5, 5, 7, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px;
        transform: translateX(100%);
        transition: transform var(--t-normal);
        z-index: 9998;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .nav-container {
        padding: 0 20px;
    }

    .hero {
        padding-top: 120px;
    }

    .container {
        padding: 0 20px;
    }

    h1 {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }

    h2 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .exp-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .exp-badge {
        align-self: flex-start;
    }

    .timeline-item {
        padding-left: 40px;
    }

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

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

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .edu-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-text-card {
        padding: 30px 20px;
    }

    .hero-card {
        margin: 0 auto;
        padding: 30px 20px;
        max-width: 90vw;
    }

    .chat-panel {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 90px;
    }

    /* Fixing padding and spacing for mobile view */
    section {
        padding: 80px 15px;
    }

    .container {
        padding: 0 15px;
    }

    .liquid-blob {
        width: 280px;
        height: 280px;
    }

    .chat-btn {
        right: 20px;
        bottom: 20px;
        width: 55px;
        height: 55px;
    }

    .hero-grid {
        gap: 30px;
    }

    .hero-visual {
        max-width: 100vw;
        overflow: hidden;
        width: 100%;
    }

    .exp-card,
    .skill-card,
    .project-card,
    .edu-card {
        padding: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}

/* ============================================================
   MISSING PAGE LOADER & CHAT PANEL CSS
   ============================================================ */
#page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-deep);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease;
}

#page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-logo {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 20px;
}

.loader-tagline {
    font-size: 1rem;
    color: var(--text-silk);
    margin-bottom: 40px;
}

.loader-text {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.loader-petals {
    display: none;
    /* not used in new style */
}

.loader-bar-wrap {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: var(--primary);
    animation: loaderProgress 1.5s ease forwards;
}

@keyframes loaderProgress {
    to {
        width: 100%;
    }
}

.chat-panel {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 320px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: var(--r-md);
    box-shadow: var(--glass-shadow);
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--t-normal);
    z-index: 9999;
}

.chat-panel.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.chat-header {
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.chat-header-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary);
}

.chat-header-status {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.chat-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-silk);
    cursor: pointer;
    font-size: 1.2rem;
}

.chat-body {
    padding: 20px;
}

.chat-intro {
    font-size: 0.9rem;
    color: var(--text-pure);
    margin-bottom: 20px;
    line-height: 1.5;
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-option-btn {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-sm);
    color: var(--text-silk);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--t-fast);
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-option-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.chat-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.8rem;
    color: var(--text-dim);
    text-align: center;
}

/* ============================================================
   MISSING STRUCTURAL CSS & COMPONENT FIXES
   ============================================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    align-items: start;
}

.about-aside-card {
    padding: 40px 30px;
    text-align: center;
}

.about-monogram {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-family: var(--font-heading);
    color: #fff;
    box-shadow: 0 10px 20px var(--primary-glow);
}

.about-meta {
    margin-top: 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.meta-icon {
    font-size: 1.2rem;
}

.meta-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dim);
}

.meta-value {
    font-size: 0.9rem;
    color: var(--text-pure);
}

.about-text-card {
    padding: 50px;
}

.about-text-card p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.competency-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.tag {
    background: rgba(223, 177, 99, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary-glow);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Skills section add-ons */
.skills-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.skill-tab {
    background: transparent;
    border: 1px solid var(--glass-border);
    padding: 10px 25px;
    border-radius: 30px;
    color: var(--text-silk);
    cursor: pointer;
    transition: var(--t-fast);
}

.skill-tab.active,
.skill-tab:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.skill-card-name {
    font-weight: 600;
    color: var(--text-pure);
}

/* Education Section */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.edu-card {
    padding: 40px;
    text-align: center;
}

.edu-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.edu-degree {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.edu-field {
    color: var(--text-silk);
    margin-bottom: 15px;
}

.edu-institution {
    font-size: 0.95rem;
    color: var(--text-pure);
    margin-bottom: 10px;
}

.edu-year {
    font-size: 0.8rem;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 15px;
    border-radius: 15px;
}

/* Additional Project/Exp classes */
.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-pure);
    margin-bottom: 15px;
}

.project-desc {
    font-size: 0.95rem;
    color: var(--text-silk);
    margin-bottom: 25px;
    line-height: 1.6;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-silk);
    padding: 4px 12px;
    border-radius: 12px;
}

.exp-desc {
    font-size: 0.95rem;
    color: var(--text-silk);
    line-height: 1.7;
    margin-bottom: 20px;
}

.exp-achievement {
    background: rgba(223, 177, 99, 0.1);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-pure);
    border-left: 3px solid var(--primary);
}

/* Clients Marquee */
.clients-marquee-wrap {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
}

.clients-marquee {
    display: flex;
    gap: 30px;
    animation: scrollMarquee 30s linear infinite;
    width: max-content;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 15px));
    }
}

.client-chip {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 30px;
    color: var(--text-silk);
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Footer layout */
.footer {
    padding: 60px 20px;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
    background: var(--bg-deep);
}

.footer-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.footer-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--text-silk);
    margin-bottom: 25px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--text-pure);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--t-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-sep {
    color: var(--text-dim);
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-dim);
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   CONTACT PAGE SPECIFIC STYLES
   ============================================================ */
.contact-section {
    padding: 150px 20px 80px;
    min-height: 100vh;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.contact-info-card {
    padding: 40px;
}

.contact-info-card h2 {
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.contact-info-card p {
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-detail-icon {
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
}

.contact-detail-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-detail-value {
    font-size: 1.05rem;
    color: var(--text-pure);
    font-weight: 600;
}

.contact-detail-value a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--t-fast);
}

.contact-detail-value a:hover {
    color: #fff;
}

.form-card {
    padding: 50px;
}

.form-title {
    margin-bottom: 30px;
    font-size: 2rem;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-silk);
    margin-bottom: 10px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    padding: 15px 20px;
    border-radius: 8px;
    color: var(--text-pure);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--t-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 15px rgba(223, 177, 99, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
    margin-bottom: 20px;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    font-weight: 500;
}

.alert-success {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.alert-error {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .contact-info-card,
    .form-card {
        padding: 30px 20px;
    }

    .contact-section {
        padding: 100px 10px 40px;
    }

    .footer {
        padding: 40px 15px;
    }

    .contact-detail-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .contact-detail-value {
        font-size: 0.95rem;
        word-break: break-word;
    }
}