:root {
    /* --- Premium Electric Palette --- */
    --primary-blue: #3B82F6;
    --primary-glow: #60A5FA;
    --secondary-violet: #8B5CF6;
    --accent-cyan: #22D3EE;
    --accent-sky: #7DD3FC;

    /* --- Deep Galactic Backgrounds --- */
    --bg-base: #020617;
    /* Deep Navy, better than black */
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-gradient: radial-gradient(circle at center, #1e1b4b 0%, #020617 100%);

    /* --- Glassmorphism & Borders --- */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --hover-border: rgba(59, 130, 246, 0.4);

    --white: #ffffff;
    --text-white: #F8FAFC;
    --text-muted: #94A3B8;
    --font-heading: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;

    /* --- Shadows & Glows --- */
    --glow-sm: 0 0 15px rgba(59, 130, 246, 0.3);
    --glow-md: 0 0 30px rgba(59, 130, 246, 0.5);

    /* --- Shiny Button Tokens --- */
    --gradient-angle: 0deg;
    --gradient-angle-offset: 0deg;
    --gradient-percent: 5%;
    --gradient-shine: white;
}

@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --gradient-angle-offset {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --gradient-percent {
    syntax: "<percentage>";
    initial-value: 5%;
    inherits: false;
}

@property --gradient-shine {
    syntax: "<color>";
    initial-value: white;
    inherits: false;
}

body {
    background: var(--bg-base);
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-white);
    font-family: var(--font-heading);
    margin: 0;
    overflow-x: hidden;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.6) saturate(1.1);
}

/* --- Floating Ambient Glow --- */
.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
    filter: blur(80px);
    z-index: -5;
    pointer-events: none;
    animation: drift 25s infinite alternate ease-in-out;
}

.ambient-glow-2 {
    background: radial-gradient(circle, rgba(125, 211, 252, 0.1), transparent 70%);
    animation: drift 35s infinite alternate-reverse ease-in-out;
    right: 0;
    bottom: 0;
}

@keyframes drift {
    0% {
        transform: translate(-20%, -20%) scale(1);
    }

    100% {
        transform: translate(20%, 20%) scale(1.2);
    }
}

/* --- Smooth Reveal Animations --- */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-on-scroll.active {
    animation: fadeSlideUp 0.8s forwards;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(2, 6, 23, 0.7) 0%,
            rgba(2, 6, 23, 0.3) 50%,
            rgba(2, 6, 23, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    z-index: 10;
    max-width: 900px;
    padding: 0 2rem;
}

/* --- Premium Shiny Buttons --- */
.btn {
    --shiny-cta-bg: #000000;
    --shiny-cta-fg: #ffffff;
    --shiny-cta-highlight: var(--primary-blue);
    --animation: gradient-angle linear infinite;
    --duration: 3s;
    --transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);

    isolation: isolate;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    color: var(--shiny-cta-fg);
    background: var(--shiny-cta-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 10px rgba(59, 130, 246, 0.1);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Animated Border via Moving Line Gradient */
.btn::before {
    content: "";
    position: absolute;
    inset: -2px;
    /* Pull outside */
    padding: 2px;
    border-radius: inherit;
    background: conic-gradient(from var(--gradient-angle),
            transparent,
            var(--shiny-cta-highlight) 10%,
            var(--gradient-shine) 20%,
            var(--shiny-cta-highlight) 30%,
            transparent 40%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: var(--animation) var(--duration);
    animation-play-state: paused;
}

.btn span {
    z-index: 1;
    position: relative;
    pointer-events: none;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: var(--glow-md);
}

.btn:hover::before {
    animation-play-state: running;
}

@keyframes gradient-angle {
    to {
        --gradient-angle: 360deg;
    }
}

@keyframes shimmer {
    to {
        rotate: 360deg;
    }
}

@keyframes breathe {

    from,
    to {
        scale: 1;
    }

    50% {
        scale: 1.1;
    }
}

/* --- Section Padding --- */
section {
    padding: 100px 0;
}

/* --- About & Cards Styling --- */
.reveal-card,
.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    transition: all 0.5s ease;
    padding: 2.5rem;
    border-radius: 1.5rem;
}

.reveal-card:hover,
.service-card:hover {
    border-color: var(--primary-glow);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.2);
    transform: translateY(-10px);
}

/* --- Workflow (Process) Section --- */
#Process {
    position: relative;
    background: transparent;
}

#Process::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-base) 100%);
    opacity: 0.6;
    z-index: 1;
    /* Retain z-index from original malformed rule */
}

/* --- Section Headings --- */
h1,
h2 {
    letter-spacing: -0.01em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-sky), var(--primary-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#Process>div {
    position: relative;
    z-index: 10;
}

/* =============================================
   RESET & BASE STYLES
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-heading);
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    z-index: 1000;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    padding: 20px 0;
}


.main-header.scrolled {
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 12px 0;
    margin-top: 15px;
    width: 90%;
    max-width: 1200px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}


.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 45px;
    transition: transform 0.3s ease;
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-blue);
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-cyan));
    border-radius: 5px;
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 10px var(--primary-glow);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 25px;
}

.nav-logo {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
    flex: 0 0 auto;
    max-width: 150px;
}

.main-header.scrolled .nav-logo {
    opacity: 1;
    transform: translateX(0);
}

.nav-links {
    display: flex;
    gap: 30px;
    flex-grow: 1;
    justify-content: center;
}

.nav-links a {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
}

.btn-contact {
    background: var(--primary-purple);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    cursor: pointer;
    flex: 0 0 auto;
}

.sparkle {
    fill: var(--text-lighter);
    transition: all 800ms ease;
}

/* Fix hero section z-index */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    /* Add this */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    /* Video above background but below overlay */
}


.hero-content {
    position: relative;
    z-index: 3;
    /* Content above everything */
    text-align: center;
    color: var(--white);
    max-width: 1200px;
    padding: 0 20px;
}

/* Fix 3D background container */
#tech-canvas-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    /* Behind everything */
    pointer-events: none !important;
    background: #050505;
}

.logo-text {
    font-size: 80px;
    font-weight: 700;
    letter-spacing: -2px;
}

.logo-text span {
    color: var(--accent-gold);
}

#heroLogo img {
    width: 100%;
    max-width: 600px;
    height: auto;
    transition: all 0.5s ease;
}

/* --- Team Spotlight Carousel --- */
.team-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.team-carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 60px 0;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    min-height: 550px;
    /* Lock height to prevent page shaking */
}


.team-card {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    width: 200px;
    /* Original width for non-spotlight cards */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
    transform: scale(0.85);
    /* Original smaller scale for side cards */
    cursor: pointer;
    will-change: transform, opacity, width;
}

.team-card.spotlight {
    width: 280px;
    /* Original larger width for the spotlight person */
    opacity: 1;
    transform: scale(1.1);
    /* Original spotlight scale */
    border: 2px solid var(--primary-blue);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.2);
    z-index: 10;
}



.team-avatar-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 2px solid var(--glass-border);
    transition: all 0.3s ease;
}

.team-card.spotlight .team-avatar-wrap {
    width: 140px;
    height: 140px;
    border-color: var(--primary-blue);
}

.team-card h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.team-card.spotlight h4 {
    font-size: 1.5rem;
}

.team-card.spotlight p {
    font-size: 1rem;
}

.team-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 50;
}

#teamPrev {
    left: 5%;
}

#teamNext {
    right: 5%;
}

.team-nav-btn:hover {
    background: var(--primary-blue);
    border-color: var(--primary-glow);
    box-shadow: var(--glow-md);
    transform: translateY(-50%) scale(1.1);
}

.team-view-btn {
    margin-top: 40px;
    padding: 12px 35px;
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--primary-blue), var(--secondary-violet)) 1;
    background: transparent;
    color: white;
    font-weight: 700;
    border-radius: 50px;
    /* Note: border-image disables border-radius usually, will use clip-path or pseudo-element if needed */
    cursor: pointer;
    transition: all 0.3s;
}


/* --- Contact Section Layout --- */
.contact-us-section {
    background: var(--bg-base);
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

.contact-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-header-top {
    text-align: center;
    margin-bottom: 60px;
}

.upgrade-title {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, var(--primary-glow) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.upgrade-underline {
    width: 80px;
    height: 4px;
    background: var(--primary-blue);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: var(--glow-sm);
}

.contact-split-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.contact-form-side {
    padding: 60px;
    background: rgba(15, 23, 42, 0.95);
    position: relative;
}

.contact-form-side h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-white);
}

.contact-info-side {
    padding: 60px;
    background: #020617;
    position: relative;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--glass-border);
}

.contact-info-side::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 70%);
    pointer-events: none;
}

.info-content {
    position: relative;
    z-index: 10;
}


.info-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.contact-accent-line {
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    margin-bottom: 25px;
}


/* Avatar Styling */
.avatar {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--white-transparent-light);
    object-fit: cover;
    box-shadow: 0 10px 20px var(--shadow-dark);
}

/* Position classes remain the same */
.pos-1 {
    top: 10%;
    left: 10%;
    width: 60px;
    height: 60px;
}

.pos-2 {
    top: 5%;
    left: 30%;
    width: 90px;
    height: 90px;
}

.pos-3 {
    top: 15%;
    right: 20%;
    width: 85px;
    height: 85px;
}

.pos-4 {
    bottom: 10%;
    left: 15%;
    width: 100px;
    height: 100px;
}

.pos-5 {
    bottom: 5%;
    right: 15%;
    width: 95px;
    height: 95px;
}

.tagline {
    font-style: italic;
    font-size: 20px;
    margin-top: -10px;
    margin-bottom: 30px;
    color: var(--white);
}

.btn-main {
    background: var(--primary-purple);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

/* Update these in style.css */
.about-section {
    background-color: #050505 !important;
    /* Force the dark background */
    padding: 80px 10%;
}

.card-grid {
    display: grid;
    /* Remove 'grid-template-columns: repeat(2, 1fr);' to allow Tailwind's 4-column layout */
    gap: 30px;
}

.about-card {
    background: #0f0f12 !important;
    /* Ensure the cards aren't transparent */
    opacity: 1 !important;
    /* Force visibility if you keep the class names */
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: left;
    box-shadow: 0 10px 20px var(--shadow-light);
}

.card h3 {
    color: var(--bg-dark);
    margin-bottom: 15px;
}

.card p {
    color: var(--primary-purple);
    line-height: 1.6;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 20px 40px var(--shadow-purple);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-purple-transparent);
    color: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    transition: 0.3s;
}

.card:hover .card-icon {
    background: var(--primary-purple);
    color: var(--white);
    transform: rotateY(360deg);
}

/* Footer Styles */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--white);
    font-size: 14px;
}

.footer-banner {
    background-color: var(--secondary-purple);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
}

.footer-banner h2 {
    font-family: 'Brush Script MT', cursive, sans-serif;
    font-size: 32px;
    font-weight: 400;
}

.footer-main {
    padding: 60px 8%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.footer-brand {
    flex: 1;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 5px;
}

.subsidiary {
    font-size: 11px;
    opacity: 0.7;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    border: 1px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--white);
    color: var(--bg-dark);
}

.footer-info {
    flex: 2;
}

.footer-nav {
    margin-bottom: 25px;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    margin-right: 15px;
    font-weight: 600;
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.footer-contacts a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
}

.divider {
    margin: 0 15px;
    color: var(--primary-purple);
}

.footer-bottom {
    background-color: var(--dark-bg);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--text-dark);
}



/* Service Cards Animation */
.service-selector-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-selector-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

/* Jab card active ho to border glow kare */
.active-card {
    border-color: #9333ea !important;
    /* Purple */
    background: rgba(147, 51, 234, 0.1) !important;
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.2);
}

.detail-content {
    display: none;
}

.detail-content.active {
    display: block;
    animation: fadeInSlide 0.6s ease-out;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Services Upgrade Section */
.services-upgrade {
    padding: 100px 5%;
    background: linear-gradient(rgba(244, 247, 255, 0.9), rgba(244, 247, 255, 0.9));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

/* Custom Interaction Styles */
.service-card {
    background-color: #0D0D0E;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.5s ease;
}

.service-card:hover {
    box-shadow: 0 30px 60px rgba(99, 80, 145, 0.2);
    /* Soft Purple Glow */
    border-color: rgba(255, 193, 50, 0.4);
    /* Gold Border Fade-in */
}

/* Smooth Image Transition */
.service-card img {
    filter: grayscale(40%) brightness(0.6);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover img {
    filter: grayscale(0%) brightness(0.8);
}

.upgrade-container {
    max-width: 1200px;
    margin: 0 auto;
}

.upgrade-title {
    font-size: 2.2rem;
    color: var(--dark-purple);
    font-weight: 800;
    margin-bottom: 5px;
}

.upgrade-underline {
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    margin: 0 auto 60px;
}

.upgrade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.upgrade-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 15px;
    text-align: left;
    position: relative;
    box-shadow: 0 15px 35px var(--black-transparent-light);
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.upgrade-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px var(--dark-purple-transparent-medium);
}

.card-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: var(--dark-purple);
    clip-path: circle(100% at 100% 0%);
}

.card-icon-circle {
    width: 70px;
    height: 70px;
    background: var(--dark-purple);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 30px;
}

.upgrade-card h3 {
    font-size: 1.3rem;
    color: var(--dark-purple);
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 60px;
}

.upgrade-card p {
    color: var(--text-lighter);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.card-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    transition: 0.3s;
}

.card-link:hover {
    color: var(--dark-purple);
    transform: translateX(5px);
}


#decorationLayer {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.float-element {
    position: absolute;
    color: var(--white-transparent);
    font-size: 80px;
    transition: all 0.8s ease;
    animation: floatAnim 4s infinite ease-in-out;
}

.highlight-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
}

.highlight-card {
    background: var(--white);
    padding: 60px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 50px;
    box-shadow: 0 20px 50px var(--shadow-darker);
}

.highlight-icon {
    font-size: 100px;
    color: var(--dark-purple);
    transition: all 0.5s ease;
}

.highlight-info h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--bg-dark);
}

.btn-product-details {
    color: var(--accent-gold);
    font-weight: bold;
    text-decoration: none;
}

.highlight-dots {
    margin-top: 30px;
    text-align: center;
}

.dot {
    height: 10px;
    width: 10px;
    background: var(--white-transparent-medium);
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    transition: 0.3s;
}

.dot.active {
    width: 30px;
    background: var(--white);
    border-radius: 10px;
}

/* Contact Section */
.contact-us-section {
    position: relative;
    padding: 100px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    background-color: #000;
    /* Fallback color */
}

.contact-us-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 0;
    pointer-events: none;
}

/* Ensure content appears above the background */
.contact-us-section>* {
    position: relative;
    z-index: 1;
}

.contact-header-top {
    text-align: center;
    margin-bottom: 40px;
}

.contact-us-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.2;
    z-index: 1;
}

.contact-main-container {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1100px;
}

.contact-split-wrapper {
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px var(--shadow-darker);
    min-height: 600px;
    background: var(--white-transparent);
    backdrop-filter: blur(5px);
}

.contact-form-side {
    flex: 1;
    background: linear-gradient(300deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    padding: 60px;
    color: var(--white);
}

.contact-form-side h3 {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 700;
}

.input-row {
    margin-bottom: 20px;
}

.contact-form-side input,
.contact-form-side textarea {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--white-transparent-medium);
    color: var(--white);
    font-size: 16px;
    transition: 0.3s;
}

.contact-form-side input:focus,
.contact-form-side textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-gold);
}

.contact-form-side input::placeholder,
.contact-form-side textarea::placeholder {
    color: var(--white-transparent-dark);
}

.btn-send-message {
    margin-top: 30px;
    background: var(--dark-purple);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-send-message:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
}

.contact-info-side {
    flex: 1;
    background: var(--white-transparent-dark);
    padding: 60px;
    display: flex;
    align-items: center;
}

.contact-info-side h2 {
    color: var(--text-dark);
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-accent-line {
    width: 50px;
    height: 3px;
    background: var(--dark-purple);
    margin-bottom: 25px;
    color: var(--text-dark);
}

.contact-info-side p {
    margin-bottom: 40px;
    line-height: 1.6;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.detail-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.detail-box i {
    width: 45px;
    height: 45px;
    background: #7DD3FC;
    color: #020617;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.detail-box p {
    margin-bottom: 0;
    font-size: 15px;
    color: var(--text-dark);
}

/* Material Services Section */
.material-services {
    padding: 100px 5%;
    background-color: var(--light-bg);
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--bg-dark);
    font-weight: 800;
    margin-bottom: 10px;
}

.title-underline {
    width: 70px;
    height: 5px;
    background: var(--accent-gold);
    margin: 0 auto 20px;
    border-radius: 10px;
}

.section-subtitle {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.m-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 20px;
    position: relative;
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px -1px var(--black-transparent-light);
}

.m-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow-purple);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.m-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-purple);
}

.m-card:hover::before {
    opacity: 1;
}

.m-icon-box {
    width: 65px;
    height: 65px;
    background: var(--primary-purple-transparent);
    color: var(--primary-purple);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 25px;
    transition: 0.3s;
}

.m-card:hover .m-icon-box {
    background: var(--primary-purple);
    color: var(--white);
    transform: rotateY(360deg);
}

.m-card h3 {
    font-size: 1.4rem;
    color: var(--bg-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.m-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.m-link {
    text-decoration: none;
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.m-link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.m-card:hover .m-link i {
    transform: translateX(5px);
}

/* Stack Section */
#stackSection {
    background: linear-gradient(135deg, var(--dark-purple), var(--secondary-purple));
}

.stack-wrapper {
    position: relative;
    width: 420px;
    height: 260px;
}

.stack-card {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 40px;
    border-radius: 28px;
    backdrop-filter: blur(20px);
    background: var(--white-transparent);
    border: 1px solid var(--white-transparent-light);
    box-shadow: 0 20px 60px var(--shadow-darker);
    color: var(--white);
    transition: all 0.7s cubic-bezier(.17, .67, .38, .97);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.stack-card h3 {
    font-size: 22px;
    font-weight: 700;
}

.stack-card p {
    font-size: 14px;
    opacity: 0.85;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.float-icon {
    position: absolute;
    font-size: 60px;
    color: var(--white-transparent);
    animation: floatMove 12s infinite linear;
}

/* Animation Classes */
@keyframes floatAnim {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatMove {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-30px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float-3d {

    0%,
    100% {
        transform: translateZ(-50px) translateY(0px);
    }

    50% {
        transform: translateZ(50px) translateY(-30px);
    }
}

@keyframes spin-slow-3d {
    from {
        transform: rotateX(45deg) rotateY(30deg) rotate(0deg);
    }

    to {
        transform: rotateX(45deg) rotateY(30deg) rotate(360deg);
    }
}

@keyframes spin-slow-3d-reverse {
    from {
        transform: rotateX(60deg) rotateY(-30deg) rotate(0deg);
    }

    to {
        transform: rotateX(60deg) rotateY(-30deg) rotate(-360deg);
    }
}

@keyframes float-card {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-slow {

    0%,
    100% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.2;
    }
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateZ(20px) translateY(0px);
    }

    50% {
        transform: translateZ(50px) translateY(-10px);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-float-3d {
    animation: float-3d 8s ease-in-out infinite;
}

.animate-spin-slow-3d {
    animation: spin-slow-3d 20s linear infinite;
}

.animate-spin-slow-3d-reverse {
    animation: spin-slow-3d-reverse 15s linear infinite;
}

.animate-float-card {
    animation: float-card 6s ease-in-out infinite;
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out;
}

.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

.animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

/* Utility Classes */
.perspective {
    perspective: 1000px;
}

.perspective-1000 {
    perspective: 1000px;
}

.preserve-3d {
    transform-style: preserve-3d;
}

.logo-glass {
    background: var(--white-transparent);
    backdrop-filter: blur(8px);
    border: 1px solid var(--white-transparent);
    transition: all 0.3s ease;
}

.logo-glass:hover {
    background: var(--white-transparent-light);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

/* Colored clients strip */
.clients-colored-section {
    background-color: var(--bg-dark);
    padding: 60px 0 40px;
}

.clients-colored-label {
    color: var(--accent-gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.clients-colored-line {
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(to right, var(--accent-gold), transparent);
}

.logo-glass-colored {
    background: var(--white-transparent-light);
    border-color: var(--accent-gold);
    box-shadow: 0 12px 30px var(--shadow-dark);
}

.logo-glass-colored img {
    opacity: 1;
    filter: none;
}

.logo-glass-colored:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 18px 40px var(--shadow-darker);
}

.material-card {
    background: linear-gradient(135deg, var(--white-transparent), var(--white-transparent-light));
    backdrop-filter: blur(10px);
    border: 1px solid var(--white-transparent-light);
    box-shadow: 0 25px 50px -12px var(--shadow-darker);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.material-card:hover {
    transform: rotateX(10deg) rotateY(-10px) translateZ(30px);
    border-color: var(--accent-gold);
}

/* Interactive Services */
.interactive-services {
    perspective: none;
}

/* ---- Services 4-col responsive grid ---- */
.services-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

@media (max-width: 1100px) {
    .services-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .services-card-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Base service card ---- */
.service-selector-card {
    cursor: pointer;
    border-radius: 16px;
    padding: 18px 14px 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
    opacity: 0.72;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.service-selector-card:hover {
    opacity: 0.95;
    transform: translateY(-3px);
}

/* ---- Icon wrapper ---- */
.svc-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.svc-title {
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.3;
    margin: 0;
}

.svc-desc {
    color: rgba(200, 210, 230, 0.65);
    font-size: 0.78rem;
    margin: 0;
}

/* ---- Color themes per card ---- */
.svc-purple {
    background: linear-gradient(135deg, rgba(112, 62, 165, 0.25), rgba(80, 30, 130, 0.15));
    border-color: rgba(167, 139, 250, 0.3);
}

.svc-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(14, 165, 233, 0.15));
    border-color: rgba(96, 165, 250, 0.3);
}

.svc-pink {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.22), rgba(244, 63, 94, 0.15));
    border-color: rgba(244, 114, 182, 0.3);
}

.svc-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(5, 150, 105, 0.15));
    border-color: rgba(52, 211, 153, 0.3);
}

.svc-indigo {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(67, 56, 202, 0.15));
    border-color: rgba(165, 180, 252, 0.3);
}

.svc-yellow {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(234, 88, 12, 0.15));
    border-color: rgba(251, 191, 36, 0.3);
}

.svc-slate {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.22), rgba(71, 85, 105, 0.15));
    border-color: rgba(148, 163, 184, 0.3);
}

.svc-icon-purple {
    background: rgba(167, 139, 250, 0.18);
    color: #c4b5fd;
}

.svc-icon-blue {
    background: rgba(96, 165, 250, 0.18);
    color: #93c5fd;
}

.svc-icon-pink {
    background: rgba(244, 114, 182, 0.18);
    color: #f9a8d4;
}

.svc-icon-green {
    background: rgba(52, 211, 153, 0.18);
    color: #6ee7b7;
}

.svc-icon-indigo {
    background: rgba(165, 180, 252, 0.18);
    color: #c7d2fe;
}

.svc-icon-yellow {
    background: rgba(251, 191, 36, 0.18);
    color: #fde68a;
}

.svc-icon-slate {
    background: rgba(148, 163, 184, 0.18);
    color: #cbd5e1;
}

/* ---- Active state ---- */
.service-selector-card.active {
    opacity: 1;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 18px rgba(255, 193, 50, 0.18);
}

.svc-purple.active {
    border-color: #c4b5fd;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(167, 139, 250, 0.35);
}

.svc-blue.active {
    border-color: #93c5fd;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(96, 165, 250, 0.35);
}

.svc-pink.active {
    border-color: #f9a8d4;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(244, 114, 182, 0.35);
}

.svc-green.active {
    border-color: #6ee7b7;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(52, 211, 153, 0.35);
}

.svc-indigo.active {
    border-color: #c7d2fe;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(165, 180, 252, 0.35);
}

.svc-yellow.active {
    border-color: #fde68a;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(251, 191, 36, 0.35);
}

.svc-slate.active {
    border-color: #cbd5e1;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(148, 163, 184, 0.35);
}

/* ---- Detail panel ---- */
.detail-content {
    transition: all 0.6s ease;
    display: none;
}

.detail-content.active {
    display: block;
    animation: slideInRight 0.6s ease forwards;
}

/* ---- Mobile: stack detail above cards ---- */
@media (max-width: 1024px) {
    .interactive-services .max-w-7xl>.flex {
        flex-direction: column;
    }
}

/* 3D Card Flip */
.product-card {
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 260px;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.product-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    padding: 30px;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-front {
    background: linear-gradient(135deg, var(--bg-dark), var(--secondary-purple));
    color: var(--white);
}

.card-back {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-gold));
    color: var(--white);
    transform: rotateY(180deg);
    text-align: center;
}

/* Floating Animation Classes */
@keyframes float1 {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float2 {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(25px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float3 {
    0% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(-20px);
    }

    100% {
        transform: translateX(0px);
    }
}

.animate-float1 {
    animation: float1 6s ease-in-out infinite;
}

.animate-float2 {
    animation: float2 8s ease-in-out infinite;
}

.animate-float3 {
    animation: float3 7s ease-in-out infinite;
}

/* Sections Wrapper */
.sections-wrapper {
    background-attachment: fixed;
    width: 100%;
}

/* Find these in style.css and update them */
.about-section,
.hero-section,
.magic-section {
    background-image: none !important;
    /* Remove static images */
    background-color: transparent !important;
    /* Let the 3D show through */
}

/* Add a global background to the body as a fallback */
body {
    background-color: #050505;
    margin: 0;
    overflow-x: hidden;
}

.about-section,
.services-upgrade {
    background: transparent !important;
    padding: 100px 10%;
}

.card,
.upgrade-card {
    background: var(--white-transparent-dark);
    backdrop-filter: blur(5px);
}

/* =============================================
   RESPONSIVE — All Sections
   ============================================= */

/* --- Hamburger Button --- */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1010;
}

.nav-hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ---- Tablet (max-width: 1024px) ---- */
@media (max-width: 1024px) {

    .about-section,
    .services-upgrade {
        padding: 70px 6%;
    }

    .card-grid {
        gap: 20px;
    }

    .card {
        padding: 30px;
    }

    .highlight-card {
        padding: 40px;
        gap: 30px;
    }

    .contact-form-side,
    .contact-info-side {
        padding: 40px;
    }

    .footer-main {
        padding: 40px 5%;
    }

    .footer-container {
        gap: 30px;
    }
}

/* ---- Landscape phones / small tablets (max-width: 768px) ---- */
@media (max-width: 768px) {

    /* Nav */
    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(13, 13, 13, 0.97);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 1005;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 8px 18px;
        border-radius: 50px;
        font-size: 22px;
    }

    .nav-contact-btn {
        display: none;
    }

    /* Hero */
    #heroLogo img {
        max-width: 320px;
    }

    .tagline {
        font-size: 16px;
        padding: 0 16px;
    }

    .hero-content .btn {
        padding: 8px 20px;
        font-size: 14px;
    }

    /* About */
    .card-grid {
        grid-template-columns: 1fr;
    }

    .about-section,
    .services-upgrade {
        padding: 60px 5%;
    }

    .section-title {
        font-size: 28px;
    }

    /* Services (Tailwind overrides) */
    .interactive-services {
        perspective: none !important;
    }

    /* Products Orbital */
    .orbital-section {
        padding: 60px 16px;
    }

    .orbital-viewport {
        width: 400px;
        height: 400px;
    }

    .orbital-path {
        width: 320px;
        height: 320px;
    }

    .orbital-title {
        font-size: 30px;
    }

    .orbital-detail-card {
        width: 250px;
    }

    /* Why Choose Us */
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .why-choose-title {
        font-size: 2rem;
    }

    .why-choose-number {
        font-size: 2.5rem;
    }

    /* Team */
    .team-section {
        padding: 80px 16px 60px;
    }

    .team-title {
        font-size: 2.2rem;
    }

    .team-carousel {
        gap: 14px;
        min-height: 280px;
    }

    .team-card {
        width: 120px;
    }

    .team-card.spotlight {
        width: 180px;
    }

    /* Contact */
    .contact-split-wrapper {
        flex-direction: column;
    }

    .contact-form-side,
    .contact-info-side {
        padding: 36px 24px;
    }

    .contact-us-section {
        padding: 60px 4%;
    }

    .contact-info-side h2 {
        font-size: 24px;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer-nav a {
        margin-right: 0;
        font-size: 13px;
    }

    .footer-main {
        padding: 40px 5%;
    }

    .footer-description {
        font-size: 13px;
    }
}

/* ---- Phones (max-width: 480px) ---- */
@media (max-width: 480px) {

    /* Hero */
    #heroLogo img {
        max-width: 220px;
    }

    .tagline {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .logo-text {
        font-size: 40px;
    }

    /* About */
    .card {
        padding: 24px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    /* Services — force single-column on small screens */
    /* services-card-grid is handled by its own responsive rules */
    .detail-content h2 {
        font-size: 2rem !important;
    }

    /* Why Choose Us */
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-choose-section {
        padding: 60px 16px;
    }

    .why-choose-number {
        font-size: 2.2rem;
    }

    .why-choose-card {
        padding: 28px 20px;
    }

    /* Team */
    .team-section {
        padding: 60px 12px 50px;
    }

    .team-title {
        font-size: 1.75rem;
    }

    .team-arrow {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .team-carousel {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        justify-content: flex-start;
        gap: 16px;
        padding-bottom: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .team-card {
        flex: 0 0 140px;
        scroll-snap-align: center;
    }

    .team-card.spotlight {
        width: 160px;
    }

    /* Contact */
    .contact-form-side h3 {
        font-size: 20px;
    }

    .contact-form-side,
    .contact-info-side {
        padding: 28px 16px;
    }

    /* Footer */
    .social-icons {
        gap: 8px;
    }

    .social-icons a {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .footer-bottom {
        font-size: 12px;
        padding: 14px 10px;
    }

    /* Marquee logos */
    .logo-glass {
        min-width: 140px !important;
        padding: 12px 20px !important;
    }

    .logo-glass img {
        height: 20px !important;
    }
}

/* Container transition */
/* Unified Premium Form Controls - Notch Style */
.form-group {
    position: relative;
    margin-bottom: 2rem;
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 0.95rem;
    color: var(--text-white);
    outline: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group textarea {
    resize: none;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.form-label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 0.9rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    padding: 0 5px;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group textarea+.form-label {
    top: 25px;
    transform: none;
}

/* Floating Label Animation - Notch Effect (Sitting on border) */
.form-group input:focus+.form-label,
.form-group input:not(:placeholder-shown)+.form-label,
.form-group textarea:focus+.form-label,
.form-group textarea:not(:placeholder-shown)+.form-label {
    top: 0;
    left: 15px;
    transform: translateY(-50%) scale(0.8);
    font-weight: 700;
    color: var(--white);
    /* Pure white for better readability and style */
    background: #020617;
    /* Deep navy matching the base background */
    padding: 0 10px;
    line-height: 1.2;
    opacity: 1;
    letter-spacing: 1.5px;
    text-shadow: 0 0 10px rgba(125, 211, 252, 0.2);
    /* Subtle glow */
}




/* --- Glitch Animation (Optional) --- */
.form-group input:focus+.form-label::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    color: var(--white);
    z-index: -1;
    animation: glitch-anim 0.5s infinite;
    /* Wahi animation jo aapne share ki */
}


/* ========== RADIAL ORBITAL TIMELINE — LIGHT MINIMAL ========== */
.orbital-section {
    position: relative;
    min-height: 100vh;
    background: #f8f9fc;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.orbital-bg-img {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.6s ease;
}

.orbit-expanded .orbital-bg-img {
    opacity: 0.15;
}

/* --- Dynamic Background Icons --- */
.orbital-dynamic-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.orbital-float-icon {
    position: absolute;
    color: rgba(99, 80, 145, 0.06);
    animation: floatBgIcon 8s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.6s ease, color 0.6s ease;
}

.orbital-float-icon.visible {
    opacity: 1;
}

.orbital-float-icon:nth-child(odd) {
    color: rgba(99, 80, 145, 0.07);
}

.orbital-float-icon:nth-child(even) {
    color: rgba(255, 193, 50, 0.06);
}

.orbital-float-icon:nth-child(3n) {
    animation-name: floatBgIcon2;
}

.orbital-float-icon:nth-child(5n) {
    animation-name: floatBgIcon3;
}

@keyframes floatBgIcon {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-18px) rotate(6deg);
    }
}

@keyframes floatBgIcon2 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(14px) rotate(-8deg);
    }
}

@keyframes floatBgIcon3 {

    0%,
    100% {
        transform: translateX(0px) rotate(0deg);
    }

    50% {
        transform: translateX(-12px) rotate(4deg);
    }
}

/* --- Header --- */
.orbital-header {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 20px;
}

.orbital-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary-color);
    background: rgba(99, 80, 145, 0.08);
    padding: 6px 22px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.orbital-title {
    font-family: 'Inter', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.5px;
    display: block;
}

.orbital-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #888;
    margin-top: 8px;
}

/* --- Viewport --- */
.orbital-viewport {
    position: relative;
    width: 520px;
    height: 520px;
    z-index: 5;
}

/* --- Center Node --- */
.orbital-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.orbital-center-ring {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbital-center-ring.ring-1 {
    width: 72px;
    height: 72px;
    border: 2px solid rgba(99, 80, 145, 0.15);
    animation: orbitalPing 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.orbital-center-ring.ring-2 {
    width: 92px;
    height: 92px;
    border: 1.5px solid rgba(99, 80, 145, 0.08);
    animation: orbitalPing 2.5s cubic-bezier(0, 0, 0.2, 1) infinite 0.6s;
}

@keyframes orbitalPing {

    75%,
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.orbital-center-core {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    box-shadow: 0 8px 30px rgba(99, 80, 145, 0.3);
    animation: corePulse 4s ease-in-out infinite;
}

@keyframes corePulse {

    0%,
    100% {
        box-shadow: 0 8px 30px rgba(99, 80, 145, 0.25);
    }

    50% {
        box-shadow: 0 8px 45px rgba(99, 80, 145, 0.4);
    }
}

/* --- Orbit Path --- */
.orbital-path {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 420px;
    height: 420px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1.5px dashed rgba(99, 80, 145, 0.1);
    pointer-events: none;
}

/* --- Nodes --- */
.orbital-nodes {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
}

.orbital-node {
    position: absolute;
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    z-index: 20;
}

.orbital-node-energy {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(99, 80, 145, 0.08) 0%, transparent 70%);
    transition: all 0.3s;
}

.orbital-node-dot {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 2px solid;
    transition: all 0.35s ease;
    position: relative;
    z-index: 2;
    background: var(--white);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.orbital-node[data-status="completed"] .orbital-node-dot {
    color: var(--secondary-color);
    border-color: rgba(99, 80, 145, 0.3);
}

.orbital-node[data-status="in-progress"] .orbital-node-dot {
    color: var(--primary-color);
    border-color: rgba(255, 193, 50, 0.4);
}

.orbital-node[data-status="pending"] .orbital-node-dot {
    color: #aaa;
    border-color: rgba(0, 0, 0, 0.1);
}

.orbital-node.active .orbital-node-dot {
    transform: scale(1.4);
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
    box-shadow: 0 8px 30px rgba(99, 80, 145, 0.35);
    border-radius: 18px;
}

.orbital-node.related .orbital-node-dot {
    animation: relatedPulse 1.8s ease-in-out infinite;
    border-color: var(--secondary-color);
}

@keyframes relatedPulse {

    0%,
    100% {
        box-shadow: 0 4px 16px rgba(99, 80, 145, 0.1);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 6px 28px rgba(99, 80, 145, 0.25);
        transform: scale(1.1);
    }
}

.orbital-node-label {
    position: absolute;
    top: 56px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
}

.orbital-node.active .orbital-node-label {
    color: var(--secondary-color);
    font-weight: 700;
    transform: translateX(-50%) scale(1.08);
}

/* --- SVG Connections --- */
.orbital-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15;
}

.orbital-conn-line {
    stroke: var(--secondary-color);
    stroke-width: 1.5;
    stroke-dasharray: 8 6;
    opacity: 0.2;
}

/* --- Detail Card (Light Glass) --- */
.orbital-detail-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    width: 280px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(99, 80, 145, 0.12);
    border-radius: 20px;
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.orbital-detail-card.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.orbital-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 20px 20px 0 0;
}

.orbital-detail-card::after {
    display: none;
}

.orbital-card-header {
    padding: 22px 22px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.orbital-status-badge {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 12px;
    border: none;
    text-transform: uppercase;
}

.orbital-status-badge.completed {
    color: var(--white);
    background: var(--secondary-color);
}

.orbital-status-badge.in-progress {
    color: #1a1a2e;
    background: var(--primary-color);
}

.orbital-status-badge.pending {
    color: #666;
    background: #eee;
}

.orbital-card-date {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #aaa;
}

.orbital-card-body {
    padding: 0 22px 22px;
}

.orbital-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.orbital-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.65;
    color: #777;
    margin-bottom: 16px;
}

.orbital-energy-section {
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 14px;
}

.orbital-energy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #999;
    margin-bottom: 8px;
}

.orbital-energy-header i {
    margin-right: 4px;
    color: var(--primary-color);
}

.orbital-energy-bar {
    width: 100%;
    height: 6px;
    background: #eee;
    border-radius: 6px;
    overflow: hidden;
}

.orbital-energy-fill {
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transition: width 0.6s ease;
}

.orbital-connected-section {
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.orbital-connected-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.orbital-connected-nodes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.orbital-connected-btn {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    padding: 5px 12px;
    background: #f4f4f8;
    border: 1px solid rgba(99, 80, 145, 0.1);
    border-radius: 10px;
    color: #555;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.orbital-connected-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    background: rgba(99, 80, 145, 0.06);
}

/* --- Hint --- */
.orbital-hint {
    position: relative;
    z-index: 10;
    margin-top: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #aaa;
    text-align: center;
    animation: hintFade 3s ease-in-out infinite;
}

.orbital-hint i {
    margin-right: 6px;
    color: var(--secondary-color);
}

@keyframes hintFade {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

/* --- Orbital Responsive (small phones) --- */
@media (max-width: 520px) {
    .orbital-viewport {
        width: 300px;
        height: 300px;
    }

    .orbital-path {
        width: 240px;
        height: 240px;
    }

    .orbital-title {
        font-size: 24px;
    }

    .orbital-detail-card {
        width: 210px;
    }

    .orbital-node-dot {
        width: 38px;
        height: 38px;
        font-size: 14px;
        border-radius: 12px;
    }

    .orbital-node-label {
        font-size: 9px;
        top: 46px;
    }

    .orbital-center-core {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .orbital-center-ring.ring-1 {
        width: 56px;
        height: 56px;
    }

    .orbital-center-ring.ring-2 {
        width: 72px;
        height: 72px;
    }
}


/* =============================================
   ROOT VARIABLES — Cyberpunk Brand Theme
   ============================================= */
:root {
    /* --- Primary Brand Colors --- */
    --primary-color: #5AB9EA;
    --secondary-color: #0066FF;

    /* --- Dark Mode & Backgrounds --- */
    --bg-color: #0D0D0D;
    --bg-darker: #050505;
    --card-border: rgba(255, 193, 50, 0.2);

    /* --- Glitch Specifics --- */
    --glitch-cyan: #00f2ea;
    --glitch-magenta: #ff00c1;

    /* --- Text Colors --- */
    --text-main: #E5E5E5;
    --text-muted: rgba(255, 255, 255, 0.6);

    /* --- UI Accents --- */
    --accent-glow: rgba(255, 193, 50, 0.4);
    --font-cyber: "Fira Code", Consolas, monospace;

    /* --- Site-Wide Extended Palette --- */
    --bg-dark: #0D0D0D;
    --primary-purple: #0066FF;
    --secondary-purple: #28134d;
    --accent-gold: #5AB9EA;
    --light-grey: #E6E7E8;
    --muted-purple: #9D8ABF;
    --white: #FFFFFF;
    --dark-purple: #33395d;
    --pink-accent: #b82e6d;
    --black: #000000;
    --dark-bg: #050505;
    --light-bg: #f9f9f9;
    --text-dark: #1A1A1B;
    --text-light: #666666;
    --text-lighter: #777777;
    --border-light: #f0f0f0;

    /* --- Shadows & Transparencies --- */
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);
    --shadow-darker: rgba(0, 0, 0, 0.3);
    --shadow-purple: rgba(99, 80, 145, 0.15);
    --white-transparent: rgba(255, 255, 255, 0.1);
    --white-transparent-light: rgba(255, 255, 255, 0.2);
    --white-transparent-medium: rgba(255, 255, 255, 0.3);
    --white-transparent-dark: rgba(255, 255, 255, 0.6);
    --black-transparent: rgba(0, 0, 0, 0.02);
    --black-transparent-light: rgba(0, 0, 0, 0.05);
    --black-transparent-medium: rgba(0, 0, 0, 0.1);
    --black-transparent-dark: rgba(0, 0, 0, 0.2);
    --black-transparent-darker: rgba(0, 0, 0, 0.3);
    --black-transparent-darkest: rgba(0, 0, 0, 0.4);
    --black-transparent-95: rgba(13, 13, 13, 0.95);
    --bg-dark-transparent: rgba(13, 13, 13, 0.7);
    --primary-purple-transparent: rgba(99, 80, 145, 0.1);
    --primary-purple-transparent-light: rgba(99, 80, 145, 0.2);
    --gold-transparent: rgba(255, 193, 50, 0.15);
    --dark-purple-transparent: rgba(51, 57, 93, 0.05);
    --dark-purple-transparent-light: rgba(51, 57, 93, 0.12);
    --dark-purple-transparent-medium: rgba(51, 57, 93, 0.15);
    --dark-purple-transparent-dark: rgba(51, 57, 93, 0.2);

    /* --- Cyber Product Cards --- */
    --cyber-card-bg: rgba(13, 13, 13, 0.8);
    --neon-yellow: rgba(255, 193, 50, 0.8);
    --neon-cyan: rgba(0, 242, 234, 0.8);
    --neon-magenta: rgba(255, 0, 193, 0.8);
    --scanline-color: rgba(255, 255, 255, 0.03);
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(255, 193, 50, 0.5);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.btn {
    position: relative;
    text-decoration: none;
    color: var(--white);
    background: linear-gradient(45deg, var(--accent-gold), var(--secondary-purple), var(--primary-purple));
    padding: 10px 25px;
    border-radius: 20px;
    cursor: pointer;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 1px;
    background: var(--bg-dark);
    border-radius: 20px;
    transition: 0.5s;
}

.btn:hover::before {
    opacity: 0.7;
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0px;
    background: linear-gradient(45deg, var(--accent-gold), var(--secondary-purple), var(--primary-purple));
    border-radius: 20px;
    transition: 0.5s;
    opacity: 0;
    filter: blur(20px);
}

.btn:hover:after {
    opacity: 1;
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
    padding: 20px 0;
}

.main-header.scrolled {
    background: var(--bg-dark);
    padding: 10px 0;
    box-shadow: 0 5px 20px var(--shadow-darker);
}

.header-container {
    width: 100%;
    padding: 0 5%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
    flex: 0 0 auto;
    max-width: 150px;
}

.main-header.scrolled .nav-logo {
    opacity: 1;
    transform: translateX(0);
}

.nav-links {
    display: flex;
    gap: 30px;
    flex-grow: 1;
    justify-content: center;
}

.nav-links a {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
}

.btn-contact {
    background: var(--primary-purple);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    cursor: pointer;
    flex: 0 0 auto;
}

.sparkle {
    fill: var(--text-lighter);
    transition: all 800ms ease;
}

/* Hero Section */
/* Redundant Hero Section Cleared */

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.logo-text {
    font-size: 80px;
    font-weight: 700;
    letter-spacing: -2px;
}

.logo-text span {
    color: var(--accent-gold);
}

#heroLogo img {
    width: 100%;
    max-width: 600px;
    height: auto;
}



/* Contour Section */
.contour-section {
    background-color: var(--secondary-purple);
    padding: 100px 20px;
    border-radius: 50px;
    margin: 50px 5%;
    position: relative;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.contour-content h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.contour-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-white {
    background: var(--white);
    color: var(--secondary-purple);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
}

/* Avatar Styling */
.avatar {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--white-transparent-light);
    object-fit: cover;
    box-shadow: 0 10px 20px var(--shadow-dark);
}

/* Position classes remain the same */
.pos-1 {
    top: 10%;
    left: 10%;
    width: 60px;
    height: 60px;
}

.pos-2 {
    top: 5%;
    left: 30%;
    width: 90px;
    height: 90px;
}

.pos-3 {
    top: 15%;
    right: 20%;
    width: 85px;
    height: 85px;
}

.pos-4 {
    bottom: 10%;
    left: 15%;
    width: 100px;
    height: 100px;
}

.pos-5 {
    bottom: 5%;
    right: 15%;
    width: 95px;
    height: 95px;
}

.tagline {
    font-style: italic;
    font-size: 20px;
    margin-top: -10px;
    margin-bottom: 30px;
    color: var(--white);
}

.btn-main {
    background: var(--primary-purple);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

/* About Section */
.about-section {
    background-color: var(--light-grey);
    padding: 80px 10%;
    text-align: center;
}

.section-title {
    color: var(--bg-dark);
    font-size: 36px;
    margin-bottom: 50px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-purple);
    margin: 10px auto;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: left;
    box-shadow: 0 10px 20px var(--shadow-light);
}

.card h3 {
    color: var(--bg-dark);
    margin-bottom: 15px;
}

.card p {
    color: var(--primary-purple);
    line-height: 1.6;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 20px 40px var(--shadow-purple);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-purple-transparent);
    color: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    transition: 0.3s;
}

.card:hover .card-icon {
    background: var(--primary-purple);
    color: var(--white);
    transform: rotateY(360deg);
}

/* Footer Styles */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--white);
    font-size: 14px;
}

.footer-banner {
    background-color: var(--secondary-purple);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
}

.footer-banner h2 {
    font-family: 'Brush Script MT', cursive, sans-serif;
    font-size: 32px;
    font-weight: 400;
}

.footer-main {
    padding: 60px 8%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.footer-brand {
    flex: 1;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 5px;
}

.subsidiary {
    font-size: 11px;
    opacity: 0.7;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    border: 1px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--white);
    color: var(--bg-dark);
}

.footer-info {
    flex: 2;
}

.footer-nav {
    margin-bottom: 25px;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    margin-right: 15px;
    font-weight: 600;
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.footer-contacts a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
}

.divider {
    margin: 0 15px;
    color: var(--primary-purple);
}

.footer-bottom {
    background-color: var(--dark-bg);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--text-dark);
}

/* ========== WHY CHOOSE US ========== */
.why-choose-section {
    position: relative;
    padding: 100px 24px;
    overflow: hidden;
}

.why-choose-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #f0f2ff 0%, #e8ecff 40%, #f5f3ff 100%);
    z-index: 0;
}

.why-choose-container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.why-choose-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.why-choose-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 56px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.why-choose-card {
    background: var(--white);
    padding: 40px 24px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(99, 80, 145, 0.08), 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    border: 1px solid rgba(99, 80, 145, 0.06);
}

.why-choose-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 24px 56px rgba(99, 80, 145, 0.14), 0 8px 24px rgba(0, 0, 0, 0.06);
}

.why-choose-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
    box-shadow: 0 12px 28px rgba(99, 80, 145, 0.3);
}

.why-choose-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-purple);
    line-height: 1.1;
    margin-bottom: 6px;
    letter-spacing: -0.03em;
}

.why-choose-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ========== TEAMS — Spotlight Carousel ========== */
.team-section {
    position: relative;
    padding: 100px 20px 80px;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--secondary-purple) 35%, var(--dark-purple) 70%, var(--bg-dark) 100%);
    color: var(--white);
    overflow: hidden;
}

.team-mesh-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 50% at 20% 30%, var(--primary-purple-transparent-light) 0%, transparent 50%),
        radial-gradient(ellipse 60% 60% at 80% 70%, var(--gold-transparent) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 50%, var(--primary-purple-transparent) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.team-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

.team-glow-1 {
    top: -100px;
    left: -100px;
    background: var(--primary-purple);
}

.team-glow-2 {
    bottom: -100px;
    right: -100px;
    background: var(--accent-gold);
}

.team-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.team-header {
    text-align: center;
    margin-bottom: 56px;
}

.team-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.team-title {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.team-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
}

.team-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 20px;
}

.team-arrow {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--white-transparent-light);
    background: var(--white-transparent);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.team-arrow:hover {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    transform: scale(1.08);
}

.team-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
    min-height: 320px;
    perspective: 1200px;
}

.team-card {
    flex: 0 0 auto;
    width: 140px;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.team-card.spotlight {
    width: 220px;
    z-index: 10;
}

.team-card-inner {
    position: relative;
    background: var(--white-transparent);
    border: 1px solid var(--white-transparent-light);
    border-radius: 24px;
    padding: 20px;
    backdrop-filter: blur(12px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.team-card-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent-gold), transparent 40%, var(--primary-purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover .team-card-inner,
.team-card.spotlight .team-card-inner {
    background: var(--white-transparent-light);
    border-color: var(--white-transparent-medium);
    box-shadow: 0 24px 48px var(--shadow-darker), 0 0 0 1px var(--white-transparent);
    transform: translateY(-8px);
}

.team-card.spotlight .team-card-inner {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 32px 64px var(--shadow-darker), 0 0 40px var(--shadow-purple);
}

.team-card:hover .team-card-inner::before,
.team-card.spotlight .team-card-inner::before {
    opacity: 1;
}

.team-card-photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 14px;
    border: 2px solid var(--white-transparent-light);
}

.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-card-photo img,
.team-card.spotlight .team-card-photo img {
    transform: scale(1.08);
}

.team-card-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-card-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.team-card.spotlight .team-card-info h3 {
    font-size: 1.2rem;
}

.team-card.spotlight .team-card-info p {
    font-size: 0.9rem;
}

.team-cta {
    text-align: center;
    margin-top: 48px;
}

.team-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Services Upgrade Section */
.services-upgrade {
    padding: 100px 5%;
    background: linear-gradient(rgba(244, 247, 255, 0.9), rgba(244, 247, 255, 0.9));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.upgrade-container {
    max-width: 1200px;
    margin: 0 auto;
}

.upgrade-title {
    font-size: 2.2rem;
    color: var(--dark-purple);
    font-weight: 800;
    margin-bottom: 5px;
}

.upgrade-underline {
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    margin: 0 auto 60px;
}

.upgrade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.upgrade-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 15px;
    text-align: left;
    position: relative;
    box-shadow: 0 15px 35px var(--black-transparent-light);
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.upgrade-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px var(--dark-purple-transparent-medium);
}

.card-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: var(--dark-purple);
    clip-path: circle(100% at 100% 0%);
}

.card-icon-circle {
    width: 70px;
    height: 70px;
    background: var(--dark-purple);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 30px;
}

.upgrade-card h3 {
    font-size: 1.3rem;
    color: var(--dark-purple);
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 60px;
}

.upgrade-card p {
    color: var(--text-lighter);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.card-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    transition: 0.3s;
}

.card-link:hover {
    color: var(--dark-purple);
    transform: translateX(5px);
}

/* Products Section */
.products-section {
    padding: 100px 5%;
    background: linear-gradient(rgba(240, 244, 255, 0.92), rgba(240, 244, 255, 0.92));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
}

.products-title {
    font-size: 2.2rem;
    color: var(--dark-purple);
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.products-underline {
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    margin: 0 auto 60px;
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.product-card {
    background: var(--white);
    padding: 50px 35px;
    border-radius: 20px;
    text-align: left;
    position: relative;
    box-shadow: 0 12px 30px var(--black-transparent-light);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--dark-purple-transparent);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px var(--dark-purple-transparent-light);
}

.product-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 85px;
    height: 85px;
    background: var(--dark-purple);
    clip-path: circle(100% at 100% 0%);
}

.product-icon {
    width: 75px;
    height: 75px;
    background: var(--dark-purple);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 15px var(--dark-purple-transparent-dark);
}

.product-card h3 {
    font-size: 1.4rem;
    color: var(--dark-purple);
    margin-bottom: 18px;
    font-weight: 700;
}

.product-card p {
    color: var(--text-lighter);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.product-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    transition: 0.3s ease;
    display: inline-block;
}

.product-link:hover {
    color: var(--dark-purple);
    transform: translateX(8px);
}

/* Product Highlight Section */
.product-highlight-section {
    position: relative;
    padding: 100px 5%;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background-color 0.8s ease;
    background-color: var(--dark-purple);
}

#decorationLayer {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.float-element {
    position: absolute;
    color: var(--white-transparent);
    font-size: 80px;
    transition: all 0.8s ease;
    animation: floatAnim 4s infinite ease-in-out;
}

.highlight-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
}

.highlight-card {
    background: var(--white);
    padding: 60px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 50px;
    box-shadow: 0 20px 50px var(--shadow-darker);
}

.highlight-icon {
    font-size: 100px;
    color: var(--dark-purple);
    transition: all 0.5s ease;
}

.highlight-info h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--bg-dark);
}

.btn-product-details {
    color: var(--accent-gold);
    font-weight: bold;
    text-decoration: none;
}

.highlight-dots {
    margin-top: 30px;
    text-align: center;
}

.dot {
    height: 10px;
    width: 10px;
    background: var(--white-transparent-medium);
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    transition: 0.3s;
}

.dot.active {
    width: 30px;
    background: var(--white);
    border-radius: 10px;
}

/* Contact Section */
.contact-us-section {
    position: relative;
    padding: 100px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.contact-header-top {
    text-align: center;
    margin-bottom: 40px;
}

.contact-us-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.2;
    z-index: 1;
}

.contact-main-container {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1100px;
}

.contact-split-wrapper {
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px var(--shadow-darker);
    min-height: 600px;
    background: var(--white-transparent);
    backdrop-filter: blur(5px);
}

.contact-form-side {
    flex: 1;
    background: linear-gradient(300deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    padding: 60px;
    color: var(--white);
}

.contact-form-side h3 {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 700;
}

.input-row {
    margin-bottom: 20px;
}

.contact-form-side input,
.contact-form-side textarea {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--white-transparent-medium);
    color: var(--white);
    font-size: 16px;
    transition: 0.3s;
}

.contact-form-side input:focus,
.contact-form-side textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-gold);
}

.contact-form-side input::placeholder,
.contact-form-side textarea::placeholder {
    color: var(--white-transparent-dark);
}

.btn-send-message {
    margin-top: 30px;
    background: var(--dark-purple);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-send-message:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
}

.contact-info-side {
    flex: 1;
    background: var(--white-transparent-dark);
    padding: 60px;
    display: flex;
    align-items: center;
}

.contact-info-side h2 {
    color: var(--text-dark);
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-accent-line {
    width: 50px;
    height: 3px;
    background: var(--dark-purple);
    margin-bottom: 25px;
}

.contact-info-side p {
    margin-bottom: 40px;
    line-height: 1.6;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.detail-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.detail-box i {
    width: 45px;
    height: 45px;
    background: #7DD3FC;
    color: #020617;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.detail-box p {
    margin-bottom: 0;
    font-size: 15px;
    color: var(--text-dark);
}

/* Material Services Section */
.material-services {
    padding: 100px 5%;
    background-color: var(--light-bg);
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--bg-dark);
    font-weight: 800;
    margin-bottom: 10px;
}

.title-underline {
    width: 70px;
    height: 5px;
    background: var(--accent-gold);
    margin: 0 auto 20px;
    border-radius: 10px;
}

.section-subtitle {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.m-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 20px;
    position: relative;
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px -1px var(--black-transparent-light);
}

.m-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow-purple);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.m-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-purple);
}

.m-card:hover::before {
    opacity: 1;
}

.m-icon-box {
    width: 65px;
    height: 65px;
    background: var(--primary-purple-transparent);
    color: var(--primary-purple);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 25px;
    transition: 0.3s;
}

.m-card:hover .m-icon-box {
    background: var(--primary-purple);
    color: var(--white);
    transform: rotateY(360deg);
}

.m-card h3 {
    font-size: 1.4rem;
    color: var(--bg-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.m-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.m-link {
    text-decoration: none;
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.m-link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.m-card:hover .m-link i {
    transform: translateX(5px);
}

/* Stack Section */
#stackSection {
    background: linear-gradient(135deg, var(--dark-purple), var(--secondary-purple));
}

.stack-wrapper {
    position: relative;
    width: 420px;
    height: 260px;
}

.stack-card {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 40px;
    border-radius: 28px;
    backdrop-filter: blur(20px);
    background: var(--white-transparent);
    border: 1px solid var(--white-transparent-light);
    box-shadow: 0 20px 60px var(--shadow-darker);
    color: var(--white);
    transition: all 0.7s cubic-bezier(.17, .67, .38, .97);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.stack-card h3 {
    font-size: 22px;
    font-weight: 700;
}

.stack-card p {
    font-size: 14px;
    opacity: 0.85;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.float-icon {
    position: absolute;
    font-size: 60px;
    color: var(--white-transparent);
    animation: floatMove 12s infinite linear;
}

/* Animation Classes */
@keyframes floatAnim {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatMove {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-30px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float-3d {

    0%,
    100% {
        transform: translateZ(-50px) translateY(0px);
    }

    50% {
        transform: translateZ(50px) translateY(-30px);
    }
}

@keyframes spin-slow-3d {
    from {
        transform: rotateX(45deg) rotateY(30deg) rotate(0deg);
    }

    to {
        transform: rotateX(45deg) rotateY(30deg) rotate(360deg);
    }
}

@keyframes spin-slow-3d-reverse {
    from {
        transform: rotateX(60deg) rotateY(-30deg) rotate(0deg);
    }

    to {
        transform: rotateX(60deg) rotateY(-30deg) rotate(-360deg);
    }
}

@keyframes float-card {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-slow {

    0%,
    100% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.2;
    }
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateZ(20px) translateY(0px);
    }

    50% {
        transform: translateZ(50px) translateY(-10px);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-float-3d {
    animation: float-3d 8s ease-in-out infinite;
}

.animate-spin-slow-3d {
    animation: spin-slow-3d 20s linear infinite;
}

.animate-spin-slow-3d-reverse {
    animation: spin-slow-3d-reverse 15s linear infinite;
}

.animate-float-card {
    animation: float-card 6s ease-in-out infinite;
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out;
}

.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

.animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

/* Utility Classes */
.perspective {
    perspective: 1000px;
}

.perspective-1000 {
    perspective: 1000px;
}

.preserve-3d {
    transform-style: preserve-3d;
}

.logo-glass {
    background: var(--white-transparent);
    backdrop-filter: blur(8px);
    border: 1px solid var(--white-transparent);
    transition: all 0.3s ease;
}

.logo-glass:hover {
    background: var(--white-transparent-light);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

/* Colored clients strip */
.clients-colored-section {
    background-color: var(--bg-dark);
    padding: 60px 0 40px;
}

.clients-colored-label {
    color: var(--accent-gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.clients-colored-line {
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(to right, var(--accent-gold), transparent);
}

.logo-glass-colored {
    background: var(--white-transparent-light);
    border-color: var(--accent-gold);
    box-shadow: 0 12px 30px var(--shadow-dark);
}

.logo-glass-colored img {
    opacity: 1;
    filter: none;
}

.logo-glass-colored:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 18px 40px var(--shadow-darker);
}

.material-card {
    background: linear-gradient(135deg, var(--white-transparent), var(--white-transparent-light));
    backdrop-filter: blur(10px);
    border: 1px solid var(--white-transparent-light);
    box-shadow: 0 25px 50px -12px var(--shadow-darker);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.material-card:hover {
    transform: rotateX(10deg) rotateY(-10px) translateZ(30px);
    border-color: var(--accent-gold);
}

/* Interactive Services */
.interactive-services {
    perspective: none;
}

/* ---- Services 4-col responsive grid ---- */
.services-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

@media (max-width: 1100px) {
    .services-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .services-card-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Base service card ---- */
.service-selector-card {
    cursor: pointer;
    border-radius: 16px;
    padding: 18px 14px 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
    opacity: 0.72;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.service-selector-card:hover {
    opacity: 0.95;
    transform: translateY(-3px);
}

/* ---- Icon wrapper ---- */
.svc-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.svc-title {
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.3;
    margin: 0;
}

.svc-desc {
    color: rgba(200, 210, 230, 0.65);
    font-size: 0.78rem;
    margin: 0;
}

/* ---- Color themes per card ---- */
.svc-purple {
    background: linear-gradient(135deg, rgba(112, 62, 165, 0.25), rgba(80, 30, 130, 0.15));
    border-color: rgba(167, 139, 250, 0.3);
}

.svc-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(14, 165, 233, 0.15));
    border-color: rgba(96, 165, 250, 0.3);
}

.svc-pink {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.22), rgba(244, 63, 94, 0.15));
    border-color: rgba(244, 114, 182, 0.3);
}

.svc-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(5, 150, 105, 0.15));
    border-color: rgba(52, 211, 153, 0.3);
}

.svc-indigo {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(67, 56, 202, 0.15));
    border-color: rgba(165, 180, 252, 0.3);
}

.svc-yellow {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(234, 88, 12, 0.15));
    border-color: rgba(251, 191, 36, 0.3);
}

.svc-slate {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.22), rgba(71, 85, 105, 0.15));
    border-color: rgba(148, 163, 184, 0.3);
}

.svc-icon-purple {
    background: rgba(167, 139, 250, 0.18);
    color: #c4b5fd;
}

.svc-icon-blue {
    background: rgba(96, 165, 250, 0.18);
    color: #93c5fd;
}

.svc-icon-pink {
    background: rgba(244, 114, 182, 0.18);
    color: #f9a8d4;
}

.svc-icon-green {
    background: rgba(52, 211, 153, 0.18);
    color: #6ee7b7;
}

.svc-icon-indigo {
    background: rgba(165, 180, 252, 0.18);
    color: #c7d2fe;
}

.svc-icon-yellow {
    background: rgba(251, 191, 36, 0.18);
    color: #fde68a;
}

.svc-icon-slate {
    background: rgba(148, 163, 184, 0.18);
    color: #cbd5e1;
}

/* ---- Active state ---- */
.service-selector-card.active {
    opacity: 1;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 18px rgba(255, 193, 50, 0.18);
}

.svc-purple.active {
    border-color: #c4b5fd;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(167, 139, 250, 0.35);
}

.svc-blue.active {
    border-color: #93c5fd;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(96, 165, 250, 0.35);
}

.svc-pink.active {
    border-color: #f9a8d4;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(244, 114, 182, 0.35);
}

.svc-green.active {
    border-color: #6ee7b7;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(52, 211, 153, 0.35);
}

.svc-indigo.active {
    border-color: #c7d2fe;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(165, 180, 252, 0.35);
}

.svc-yellow.active {
    border-color: #fde68a;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(251, 191, 36, 0.35);
}

.svc-slate.active {
    border-color: #cbd5e1;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(148, 163, 184, 0.35);
}

/* ---- Detail panel ---- */
.detail-content {
    transition: all 0.6s ease;
    display: none;
}

.detail-content.active {
    display: block;
    animation: slideInRight 0.6s ease forwards;
}

/* ---- Mobile: stack detail above cards ---- */
@media (max-width: 1024px) {
    .interactive-services .max-w-7xl>.flex {
        flex-direction: column;
    }
}

/* 3D Card Flip */
.product-card {
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 260px;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.product-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    padding: 30px;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-front {
    background: linear-gradient(135deg, var(--bg-dark), var(--secondary-purple));
    color: var(--white);
}

.card-back {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-gold));
    color: var(--white);
    transform: rotateY(180deg);
    text-align: center;
}

/* Floating Animation Classes */
@keyframes float1 {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float2 {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(25px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float3 {
    0% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(-20px);
    }

    100% {
        transform: translateX(0px);
    }
}

.animate-float1 {
    animation: float1 6s ease-in-out infinite;
}

.animate-float2 {
    animation: float2 8s ease-in-out infinite;
}

.animate-float3 {
    animation: float3 7s ease-in-out infinite;
}

/* Sections Wrapper */
.sections-wrapper {
    background-attachment: fixed;
    width: 100%;
}

.about-section,
.services-upgrade {
    background: transparent !important;
    padding: 100px 10%;
}

.card,
.upgrade-card {
    background: var(--white-transparent-dark);
    backdrop-filter: blur(5px);
}

#canvas-container {
    background: radial-gradient(circle at center, #1a1230 0%, #050505 100%);
}

#canvas-container::after {
    content: "";
    position: absolute;
    inset: 0;
    /* This adds a tech-grid overlay for extra detail */
    background-image: linear-gradient(rgba(99, 80, 145, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 80, 145, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* =============================================
   RESPONSIVE — All Sections
   ============================================= */

/* --- Hamburger Button --- */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1010;
}

.nav-hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ---- Tablet (max-width: 1024px) ---- */
@media (max-width: 1024px) {

    .about-section,
    .services-upgrade {
        padding: 70px 6%;
    }

    .card-grid {
        gap: 20px;
    }

    .card {
        padding: 30px;
    }

    .highlight-card {
        padding: 40px;
        gap: 30px;
    }

    .contact-form-side,
    .contact-info-side {
        padding: 40px;
    }

    .footer-main {
        padding: 40px 5%;
    }

    .footer-container {
        gap: 30px;
    }
}

/* ---- Landscape phones / small tablets (max-width: 768px) ---- */
@media (max-width: 768px) {

    /* Nav */
    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(13, 13, 13, 0.97);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 1005;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 8px 18px;
        border-radius: 50px;
        font-size: 22px;
    }

    .nav-contact-btn {
        display: none;
    }

    /* Hero */
    #heroLogo img {
        max-width: 320px;
    }

    .tagline {
        font-size: 16px;
        padding: 0 16px;
    }

    .hero-content .btn {
        padding: 8px 20px;
        font-size: 14px;
    }

    /* About */
    .card-grid {
        grid-template-columns: 1fr;
    }

    .about-section,
    .services-upgrade {
        padding: 60px 5%;
    }

    .section-title {
        font-size: 28px;
    }

    /* Services (Tailwind overrides) */
    .interactive-services {
        perspective: none !important;
    }

    /* Products Orbital */
    .orbital-section {
        padding: 60px 16px;
    }

    .orbital-viewport {
        width: 400px;
        height: 400px;
    }

    .orbital-path {
        width: 320px;
        height: 320px;
    }

    .orbital-title {
        font-size: 30px;
    }

    .orbital-detail-card {
        width: 250px;
    }

    /* Why Choose Us */
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .why-choose-title {
        font-size: 2rem;
    }

    .why-choose-number {
        font-size: 2.5rem;
    }

    /* Team */
    .team-section {
        padding: 80px 16px 60px;
    }

    .team-title {
        font-size: 2.2rem;
    }

    .team-carousel {
        gap: 14px;
        min-height: 280px;
    }

    .team-card {
        width: 120px;
    }

    .team-card.spotlight {
        width: 180px;
    }

    /* Contact */
    .contact-split-wrapper {
        flex-direction: column;
    }

    .contact-form-side,
    .contact-info-side {
        padding: 36px 24px;
    }

    .contact-us-section {
        padding: 60px 4%;
    }

    .contact-info-side h2 {
        font-size: 24px;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer-nav a {
        margin-right: 0;
        font-size: 13px;
    }

    .footer-main {
        padding: 40px 5%;
    }

    .footer-description {
        font-size: 13px;
    }
}

/* ---- Phones (max-width: 480px) ---- */
@media (max-width: 480px) {

    /* Hero */
    #heroLogo img {
        max-width: 220px;
    }

    .tagline {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .logo-text {
        font-size: 40px;
    }

    /* About */
    .card {
        padding: 24px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    /* Services — force single-column on small screens */
    /* services-card-grid is handled by its own responsive rules */
    .detail-content h2 {
        font-size: 2rem !important;
    }

    /* Why Choose Us */
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-choose-section {
        padding: 60px 16px;
    }

    .why-choose-number {
        font-size: 2.2rem;
    }

    .why-choose-card {
        padding: 28px 20px;
    }

    /* Team */
    .team-section {
        padding: 60px 12px 50px;
    }

    .team-title {
        font-size: 1.75rem;
    }

    .team-arrow {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .team-carousel {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        justify-content: flex-start;
        gap: 16px;
        padding-bottom: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .team-card {
        flex: 0 0 140px;
        scroll-snap-align: center;
    }

    .team-card.spotlight {
        width: 160px;
    }

    /* Contact */
    .contact-form-side h3 {
        font-size: 20px;
    }

    .contact-form-side,
    .contact-info-side {
        padding: 28px 16px;
    }

    /* Footer */
    .social-icons {
        gap: 8px;
    }

    .social-icons a {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .footer-bottom {
        font-size: 12px;
        padding: 14px 10px;
    }

    /* Marquee logos */
    .logo-glass {
        min-width: 140px !important;
        padding: 12px 20px !important;
    }

    .logo-glass img {
        height: 20px !important;
    }
}

/* --- Form Controls --- */
/* Form controls consolidated above */

.info-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.detail-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.detail-box i {
    width: 45px;
    height: 45px;
    background: #7DD3FC; /* Using the bright brand blue for high visibility */
    color: #020617; /* Dark black/blue for contrast */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.detail-box:hover i {
    background: white;
    transform: scale(1.1);
}

.detail-box p strong {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}



/* ========== RADIAL ORBITAL TIMELINE — LIGHT MINIMAL ========== */
.orbital-section {
    position: relative;
    min-height: 100vh;
    background: #f8f9fc;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.orbital-bg-img {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.6s ease;
}

.orbit-expanded .orbital-bg-img {
    opacity: 0.15;
}

/* --- Dynamic Background Icons --- */
.orbital-dynamic-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.orbital-float-icon {
    position: absolute;
    color: rgba(99, 80, 145, 0.06);
    animation: floatBgIcon 8s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.6s ease, color 0.6s ease;
}

.orbital-float-icon.visible {
    opacity: 1;
}

.orbital-float-icon:nth-child(odd) {
    color: rgba(99, 80, 145, 0.07);
}

.orbital-float-icon:nth-child(even) {
    color: rgba(255, 193, 50, 0.06);
}

.orbital-float-icon:nth-child(3n) {
    animation-name: floatBgIcon2;
}

.orbital-float-icon:nth-child(5n) {
    animation-name: floatBgIcon3;
}

@keyframes floatBgIcon {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-18px) rotate(6deg);
    }
}

@keyframes floatBgIcon2 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(14px) rotate(-8deg);
    }
}

@keyframes floatBgIcon3 {

    0%,
    100% {
        transform: translateX(0px) rotate(0deg);
    }

    50% {
        transform: translateX(-12px) rotate(4deg);
    }
}

/* --- Header --- */
.orbital-header {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 20px;
}

.orbital-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary-color);
    background: rgba(99, 80, 145, 0.08);
    padding: 6px 22px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.orbital-title {
    font-family: 'Inter', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.5px;
    display: block;
}

.orbital-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #888;
    margin-top: 8px;
}

/* --- Viewport --- */
.orbital-viewport {
    position: relative;
    width: 520px;
    height: 520px;
    z-index: 5;
}

/* --- Center Node --- */
.orbital-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.orbital-center-ring {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbital-center-ring.ring-1 {
    width: 72px;
    height: 72px;
    border: 2px solid rgba(99, 80, 145, 0.15);
    animation: orbitalPing 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.orbital-center-ring.ring-2 {
    width: 92px;
    height: 92px;
    border: 1.5px solid rgba(99, 80, 145, 0.08);
    animation: orbitalPing 2.5s cubic-bezier(0, 0, 0.2, 1) infinite 0.6s;
}

@keyframes orbitalPing {

    75%,
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.orbital-center-core {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    box-shadow: 0 8px 30px rgba(99, 80, 145, 0.3);
    animation: corePulse 4s ease-in-out infinite;
}

@keyframes corePulse {

    0%,
    100% {
        box-shadow: 0 8px 30px rgba(99, 80, 145, 0.25);
    }

    50% {
        box-shadow: 0 8px 45px rgba(99, 80, 145, 0.4);
    }
}

/* --- Orbit Path --- */
.orbital-path {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 420px;
    height: 420px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1.5px dashed rgba(99, 80, 145, 0.1);
    pointer-events: none;
}

/* --- Nodes --- */
.orbital-nodes {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
}

.orbital-node {
    position: absolute;
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    z-index: 20;
}

.orbital-node-energy {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(99, 80, 145, 0.08) 0%, transparent 70%);
    transition: all 0.3s;
}

.orbital-node-dot {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 2px solid;
    transition: all 0.35s ease;
    position: relative;
    z-index: 2;
    background: var(--white);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.orbital-node[data-status="completed"] .orbital-node-dot {
    color: var(--secondary-color);
    border-color: rgba(99, 80, 145, 0.3);
}

.orbital-node[data-status="in-progress"] .orbital-node-dot {
    color: var(--primary-color);
    border-color: rgba(255, 193, 50, 0.4);
}

.orbital-node[data-status="pending"] .orbital-node-dot {
    color: #aaa;
    border-color: rgba(0, 0, 0, 0.1);
}

.orbital-node.active .orbital-node-dot {
    transform: scale(1.4);
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
    box-shadow: 0 8px 30px rgba(99, 80, 145, 0.35);
    border-radius: 18px;
}

.orbital-node.related .orbital-node-dot {
    animation: relatedPulse 1.8s ease-in-out infinite;
    border-color: var(--secondary-color);
}

@keyframes relatedPulse {

    0%,
    100% {
        box-shadow: 0 4px 16px rgba(99, 80, 145, 0.1);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 6px 28px rgba(99, 80, 145, 0.25);
        transform: scale(1.1);
    }
}

.orbital-node-label {
    position: absolute;
    top: 56px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
}

.orbital-node.active .orbital-node-label {
    color: var(--secondary-color);
    font-weight: 700;
    transform: translateX(-50%) scale(1.08);
}

/* --- SVG Connections --- */
.orbital-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15;
}

.orbital-conn-line {
    stroke: var(--secondary-color);
    stroke-width: 1.5;
    stroke-dasharray: 8 6;
    opacity: 0.2;
}

/* --- Detail Card (Light Glass) --- */
.orbital-detail-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    width: 280px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(99, 80, 145, 0.12);
    border-radius: 20px;
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.orbital-detail-card.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.orbital-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 20px 20px 0 0;
}

.orbital-detail-card::after {
    display: none;
}

.orbital-card-header {
    padding: 22px 22px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.orbital-status-badge {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 12px;
    border: none;
    text-transform: uppercase;
}

.orbital-status-badge.completed {
    color: var(--white);
    background: var(--secondary-color);
}

.orbital-status-badge.in-progress {
    color: #1a1a2e;
    background: var(--primary-color);
}

.orbital-status-badge.pending {
    color: #666;
    background: #eee;
}

.orbital-card-date {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #aaa;
}

.orbital-card-body {
    padding: 0 22px 22px;
}

.orbital-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.orbital-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.65;
    color: #777;
    margin-bottom: 16px;
}

.orbital-energy-section {
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 14px;
}

.orbital-energy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #999;
    margin-bottom: 8px;
}

.orbital-energy-header i {
    margin-right: 4px;
    color: var(--primary-color);
}

.orbital-energy-bar {
    width: 100%;
    height: 6px;
    background: #eee;
    border-radius: 6px;
    overflow: hidden;
}

.orbital-energy-fill {
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transition: width 0.6s ease;
}

.orbital-connected-section {
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.orbital-connected-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.orbital-connected-nodes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.orbital-connected-btn {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    padding: 5px 12px;
    background: #f4f4f8;
    border: 1px solid rgba(99, 80, 145, 0.1);
    border-radius: 10px;
    color: #555;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.orbital-connected-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    background: rgba(99, 80, 145, 0.06);
}

/* --- Hint --- */
.orbital-hint {
    position: relative;
    z-index: 10;
    margin-top: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #aaa;
    text-align: center;
    animation: hintFade 3s ease-in-out infinite;
}

.orbital-hint i {
    margin-right: 6px;
    color: var(--secondary-color);
}

@keyframes hintFade {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

/* --- Orbital Responsive (small phones) --- */
@media (max-width: 520px) {
    .orbital-viewport {
        width: 300px;
        height: 300px;
    }

    .orbital-path {
        width: 240px;
        height: 240px;
    }

    .orbital-title {
        font-size: 24px;
    }

    .orbital-detail-card {
        width: 210px;
    }

    .orbital-node-dot {
        width: 38px;
        height: 38px;
        font-size: 14px;
        border-radius: 12px;
    }

    .orbital-node-label {
        font-size: 9px;
        top: 46px;
    }

    .orbital-center-core {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .orbital-center-ring.ring-1 {
        width: 56px;
        height: 56px;
    }

    .orbital-center-ring.ring-2 {
        width: 72px;
        height: 72px;
    }
}

/* --- Floating Ambient Glow --- */
.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
    filter: blur(80px);
    z-index: -5;
    pointer-events: none;
    animation: drift 25s infinite alternate ease-in-out;
}

.ambient-glow-2 {
    background: radial-gradient(circle, rgba(125, 211, 252, 0.1), transparent 70%);
    animation: drift 35s infinite alternate-reverse ease-in-out;
    right: 0;
    bottom: 0;
}

@keyframes drift {
    0% {
        transform: translate(-20%, -20%) scale(1);
    }

    100% {
        transform: translate(20%, 20%) scale(1.2);
    }
}

/* --- Smooth Reveal Animations --- */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-on-scroll.active {
    animation: fadeSlideUp 0.8s forwards;
}