/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #e6f0fa, #f5f7fa);
    color: #1a1a1a;
    overflow-x: hidden;
}

/* --- CSS Variables for Easy Customization --- */
:root {
    --primary-font: 'Poppins', sans-serif;
    --nav-height: 70px;
    --nav-background-color: rgba(22, 33, 62, 0.8); /* Semi-transparent dark blue */
    --nav-border-color: rgba(255, 255, 255, 0.2);
    --text-color-primary: #f0f0f0;
    --text-color-hover: #ffffff;
    --accent-color: #e94560;
    --dropdown-background-color: rgba(27, 40, 75, 0.95);
    --dropdown-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition-speed: 0.3s;
}

/* --- General Body and Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--primary-font);
    background-color: #1a1a2e; /* Fallback background */
}

ul {
    list-style: none;
}

a, button {
    font-family: var(--primary-font);
    text-decoration: none;
    color: var(--text-color-primary);
    background: none;
    border: none;
    cursor: pointer;
}

/* --- Main Header and Navbar Styling --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color var(--transition-speed) ease;
}

.navbar {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    backdrop-filter: blur(15px); /* The "frosted glass" effect */
    -webkit-backdrop-filter: blur(15px);
    background-color: var(--nav-background-color);
    border-bottom: 1px solid var(--nav-border-color);
}

.navbar-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Logo --- */
.navbar-logo img {
    height: 45px;
    width: auto;
    transition: transform var(--transition-speed) ease;
}

.navbar-logo:hover img {
    transform: scale(1.05);
}

/* --- Navigation Menu (Desktop) --- */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    position: relative;
    transition: color var(--transition-speed) ease, background-color var(--transition-speed) ease;
}

.nav-link:hover, .nav-link:focus {
    color: var(--text-color-hover);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Active page indicator */
.nav-link[aria-current="page"] {
    color: var(--accent-color);
    font-weight: 600;
}

/* --- Call-to-Action Button --- */
.cta-button {
    background-color: var(--accent-color);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.cta-button:hover {
    background-color: #d83c54;
    color: white;
    transform: translateY(-2px);
}


/* --- Dropdown Menu --- */
.dropdown {
    position: relative;
}

.dropdown-icon {
    margin-left: 0.5rem;
    font-size: 0.8em;
    transition: transform var(--transition-speed) ease;
}

.dropdown-toggle[aria-expanded="true"] .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 140%; /* Position below the button */
    left: 0;
    width: 220px;
    background-color: var(--dropdown-background-color);
    border-radius: 8px;
    border: 1px solid var(--nav-border-color);
    box-shadow: var(--dropdown-shadow);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--transition-speed) ease, transform var(--transition-speed) ease, visibility var(--transition-speed) ease;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.dropdown-link .fa-fw {
    width: 1.2em; /* Fixed width for icons */
    text-align: center;
}

.dropdown-link:hover {
    background-color: var(--accent-color);
    color: white;
}

/* --- Mobile Navigation Toggle (Hamburger) --- */
.nav-toggle {
    display: none;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1001; /* Above navbar content */
}

.hamburger,
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--text-color-primary);
    border-radius: 5px;
    transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

.hamburger {
    top: 9.5px;
}

.hamburger::before {
    top: -9.5px;
}

.hamburger::after {
    top: 9.5px;
}

/* Hamburger animation to 'X' */
.nav-open .hamburger {
    background-color: transparent; /* Middle line disappears */
}
.nav-open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.nav-open .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}


/* --- Responsive Styles (Mobile-first approach below 992px) --- */
@media (max-width: 992px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Start off-screen */
        width: 300px;
        height: 100vh;
        background-color: var(--dropdown-background-color);
        flex-direction: column;
        align-items: flex-start;
        padding: calc(var(--nav-height) + 2rem) 2rem 2rem;
        box-shadow: -10px 0 30px rgba(0,0,0,0.2);
        transition: right var(--transition-speed) ease-in-out;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    
    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0.5rem;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: 0.8rem 0;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
        padding: 0.8rem 1rem;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    /* On mobile, dropdowns are static and part of the flow */
    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: transparent;
        padding: 0 0 0 1rem; /* Indent dropdown links */

        /* Hide by default, show with JS */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
    }

    .dropdown-menu.show {
        max-height: 500px; /* Allow space for content to show */
    }
}

/* --- Root variables and basic setup --- */
:root {
    --primary: #3b82f6; /* Galaxy blue */
    --accent: #c084fc; /* Nebula purple */
    --dark: #0a0a12; /* Deep space black */
    --light: #ffffff;
    --text-primary: rgba(255, 255, 255, 0.98);
    --text-secondary: rgba(255, 255, 255, 0.85);
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
    --glass-bg: rgba(15, 15, 25, 0.2); /* Slightly darker glass for better contrast */
    --neon-glow: 0 0 10px rgba(59, 130, 246, 0.5);
    --glass-border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Light theme variables */
@media (prefers-color-scheme: light) {
    :root {
        --dark: #e5e7eb;
        --light: #0a0a12;
        --text-primary: rgba(10, 10, 18, 0.98);
        --text-secondary: rgba(10, 10, 18, 0.85);
        --glass-bg: rgba(10, 10, 18, 0.1);
        --neon-glow: 0 0 10px rgba(59, 130, 246, 0.3);
        --glass-border: 1px solid rgba(10, 10, 18, 0.2);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', 'Inter', sans-serif;
    background: var(--dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background 0.5s ease, color 0.5s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem;
}

/* --- New Simplified Background Styling --- */
.galaxy-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: #0a0a12;
}

#galaxy-canvas {
    width: 100%;
    height: 100%;
    display: block; /* Removes default bottom margin */
}

/* --- Hero Content Styling (Preserved from your original code) --- */
.hero-content {
    text-align: center;
    width: 100%;
    max-width: min(1000px, 90vw);
    padding: clamp(1.5rem, 5vw, 3rem);
    z-index: 2;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    border: var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    margin: 1rem;
    position: relative;
}

.hero-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(192, 132, 252, 0.05) 100%
    );
    z-index: -1;
    pointer-events: none;
}

/* Logo Styling */
.logo-container {
    margin-bottom: clamp(1rem, 3vw, 2rem);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    display: flex;
    justify-content: center;
}

.logo {
    width: clamp(200px, 50vw, 500px);
    height: auto;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.5));
    transition: transform 0.4s ease, filter 0.4s ease;
}

.logo:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.8));
}

/* Headline */
.hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    text-shadow: 0 2px 10px rgba(8, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.title-line {
    display: block;
    margin: 0.2em 0;
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    text-shadow: none;
    padding: 0 0.2em;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -0.2em;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: right;
    animation: underlineGrow 1.2s ease-out 1s forwards;
}

/* Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    font-weight: 400;
    line-height: 1.5;
}

.tech-word {
    position: relative;
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    text-shadow: 0 0 8px rgba(192, 132, 252, 0.4);
}

.tech-word::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.tech-word:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* CTA Buttons */
.cta-container {
    display: flex;
    gap: clamp(1rem, 3vw, 1.5rem);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.cta-btn {
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 50px;
    font-weight: 700;
    font-size: clamp(0.9rem, 2vw, 1rem);
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
}

.cta-btn.primary {
    background: var(--gradient);
    color: var(--light);
    box-shadow: var(--neon-glow);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.6);
}

.cta-btn.secondary {
    background: rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 2px solid var(--primary);
    color: var(--light);
    transition: all 0.3s ease, backdrop-filter 0.1s ease;
}

.cta-btn.secondary:hover {
    background: rgba(59, 130, 246, 0.3);
    transform: translateY(-3px);
    box-shadow: var(--neon-glow);
}

/* Ripple Effect */
.cta-btn .ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
    will-change: transform, opacity;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes underlineGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes ripple {
    to { transform: scale(4); opacity: 0; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 1rem 0.5rem;
    }
    
    .hero-content {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .hero-title {
        letter-spacing: 0.5px;
    }
    
    .highlight::after {
        height: 2px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: clamp(0.95rem, 4vw, 1.1rem);
    }
    
    .cta-container {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 260px;
    }
    
    .logo {
        width: clamp(180px, 60vw, 300px);
    }
}


/* --- CSS Variables for Easy Theming --- */
:root {
    --background-color: #0a0a1a;
    --primary-text-color: #e0e0e0;
    --title-color: #ffffff;
    --subtitle-color: #a0a0c0;
    --accent-color-1: #3b82f6;
    --accent-color-2: #8b5cf6;
    --cta-background: linear-gradient(90deg, var(--accent-color-1), var(--accent-color-2));
    --primary-font: 'Poppins', sans-serif; /* Recommended: Add Poppins from Google Fonts */
}

/* --- Spotlight Section Layout --- */
.spotlight-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 60px 20px;
    background-color: var(--background-color);
    font-family: var(--primary-font);
    overflow: hidden; /* Important for containing parallax elements */
}

/* --- Particle Background Container --- */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.spotlight-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
}

/* --- Text Content Styling & Animation --- */
.spotlight-text-content {
    max-width: 500px;
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spotlight-title {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive font size */
    font-weight: 700;
    color: var(--title-color);
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight-text {
    background: linear-gradient(90deg, var(--accent-color-1), var(--accent-color-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 5s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.spotlight-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--subtitle-color);
    line-height: 1.6;
    margin-bottom: 30px;
}

.spotlight-cta-button {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--cta-background);
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.spotlight-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 25px rgba(139, 92, 246, 0.6);
}

/* --- Visual Content & SVG Animation --- */
.spotlight-visual-content {
    flex-shrink: 0;
    transition: transform 0.2s ease-out; /* For parallax smoothness */
}
.spotlight-graphic {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.animated-line {
    stroke: rgba(139, 92, 246, 0.5);
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 3s ease-out forwards;
}
.line-1 { animation-delay: 0.5s; }
.line-2 { animation-delay: 0.8s; }
.line-3 { animation-delay: 1.1s; }

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

.shape {
    stroke: var(--accent-color-1);
    animation: float 6s ease-in-out infinite alternate;
    transition: transform 0.2s ease-out; /* For parallax smoothness */
}

.shape-1 { animation-delay: 0s; }
.shape-2 { animation-delay: -1.5s; stroke: var(--accent-color-2); }
.shape-3 { animation-delay: -3s; stroke: #FFD700; }
.shape-4 { animation-delay: -4.5s; stroke: #FFFFFF; }

@keyframes float {
    from { transform: translateY(0px) rotate(0deg); }
    to { transform: translateY(-20px) rotate(15deg); }
}

.pulsing-glow {
    animation: pulse 5s ease-in-out infinite alternate;
    transition: transform 0.2s ease-out;
}
.delay-1 { animation-delay: -2.5s; }

@keyframes pulse {
    from { opacity: 0.7; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1.02); }
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .spotlight-container {
        flex-direction: column;
        text-align: center;
    }
    .spotlight-visual-content {
        margin-top: 40px;
    }
    .spotlight-graphic {
        max-width: 400px;
    }
}

@media (max-width: 576px) {
    .spotlight-section {
        min-height: auto;
        padding: 80px 15px;
    }
}


/* --- CSS Custom Properties for Theming --- */
:root {
    --bg-color: #0d1117;
    --primary-text: #c9d1d9;
    --title-color: #ffffff;
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(30, 41, 59, 0.5);
    --card-hover-bg: rgba(30, 41, 59, 0.8);
    --accent-glow-1: #3b82f6;
    --accent-glow-2: #8b5cf6;
    --cube-face-bg: rgba(14, 19, 36, 0.6);
    --font-primary: 'Poppins', sans-serif;
    --transition-speed: 0.5s;
}

/* --- Main Section Styling --- */
.ethos-section {
    background-color: var(--bg-color);
    font-family: var(--font-primary);
    padding: 120px 20px;
    overflow: hidden;
}

.ethos-container {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); /* Give text slightly more space */
    gap: 40px;
    align-items: center;
    max-width: 1400px;
    margin: auto;
}

/* --- Scroll-Triggered Animation --- */
.anim-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: var(--anim-delay, 0s);
}
.anim-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Left Panel: Content --- */
.ethos-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.section-header { margin-bottom: 24px; }
.section-title { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--title-color); line-height: 1.2; }
.animated-underline { height: 4px; width: 100px; background: linear-gradient(90deg, var(--accent-glow-1), var(--accent-glow-2)); margin-top: 15px;}
.tagline { font-size: 1.1rem; line-height: 1.7; margin-bottom: 40px; }
.values-grid { display: grid; gap: 20px; }
.value-card {
    display: flex; align-items: center; gap: 20px; padding: 20px;
    background: var(--card-bg); border: 1px solid var(--border-color);
    border-radius: 12px; backdrop-filter: blur(10px);
    transition: transform var(--transition-speed) ease, background var(--transition-speed) ease;
    cursor: pointer;
}
.value-card:hover { transform: translateY(-8px) scale(1.02); background: var(--card-hover-bg); }
.card-icon { font-size: 1.5rem; color: var(--accent-glow-1); }
.card-text h4 { font-size: 1.2rem; color: var(--title-color); margin-bottom: 8px; }
.card-text p { font-size: 0.95rem; line-height: 1.5; color: var(--primary-text); }


/* --- Right Panel: Interactive 3D Cube --- */
.ethos-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.cube-viewport {
    width: 300px;
    height: 300px;
    perspective: 1500px; /* The "camera" distance */
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform var(--transition-speed) cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: rotateX(-20deg) rotateY(-30deg); /* Initial state */
    cursor: grab;
}
.cube:active { cursor: grabbing; }

.cube-face {
    position: absolute;
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--cube-face-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: var(--title-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.cube-face img {
    width: 60%;
    opacity: 0.7;
}

.cube-face i {
    font-size: 3rem;
    color: var(--accent-glow-2);
}

/* Position each face in 3D space */
.face-front  { transform: rotateY(0deg)   translateZ(150px); }
.face-back   { transform: rotateY(180deg) translateZ(150px); }
.face-left   { transform: rotateY(-90deg) translateZ(150px); }
.face-right  { transform: rotateY(90deg)  translateZ(150px); }
.face-top    { transform: rotateX(90deg)  translateZ(150px); }
.face-bottom { transform: rotateX(-90deg) translateZ(150px); }

.drag-prompt {
    margin-top: 40px;
    color: var(--primary-text);
    opacity: 0.7;
    font-size: 0.9rem;
}
.drag-prompt i { margin-right: 8px; }

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .ethos-container { grid-template-columns: 1fr; }
    .ethos-visual { margin-top: 60px; }
    .cube-viewport { width: 250px; height: 250px; }
    .cube-face { width: 250px; height: 250px; }
    .face-front, .face-back, .face-left, .face-right, .face-top, .face-bottom { transform-style: preserve-3d; }
    .face-front  { transform: rotateY(0deg)   translateZ(125px); }
    .face-back   { transform: rotateY(180deg) translateZ(125px); }
    .face-left   { transform: rotateY(-90deg) translateZ(125px); }
    .face-right  { transform: rotateY(90deg)  translateZ(125px); }
    .face-top    { transform: rotateX(90deg)  translateZ(125px); }
    .face-bottom { transform: rotateX(-90deg) translateZ(125px); }
}


/* --- CSS Custom Properties --- */
:root {
    --lp-bg: #0A0A1F;
    --lp-glass-bg: rgba(15, 15, 40, 0.6);
    --lp-border: rgba(100, 100, 220, 0.3);
    --lp-text-primary: #E0E0FF;
    --lp-text-secondary: #9090B0;
    --lp-accent-cyan: #00FFFF;
    --lp-accent-magenta: #FF00FF;
    --font-primary: 'Poppins', sans-serif;
    --transition-main: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- Main Section Layout --- */
.launchpad-section {
    position: relative;
    padding: 120px 20px;
    background-color: var(--lp-bg);
    font-family: var(--font-primary);
    overflow: hidden;
}

#launchpad-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.7;
}

.launchpad-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
    background: var(--lp-glass-bg);
    border: 1px solid var(--lp-border);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.launchpad-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* --- Content & Headers --- */
.launchpad-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--lp-text-primary);
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 0 15px var(--lp-accent-cyan);
}
.launchpad-header .lead {
    font-size: 1.1rem;
    color: var(--lp-text-secondary);
    margin: 1rem 0 2.5rem;
}

/* --- Interactive Pipeline Selectors --- */
.pipeline-selectors {
    display: grid;
    gap: 15px;
}
.pipeline {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid var(--lp-border);
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}
.pipeline:before { /* Hover glow effect */
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: radial-gradient(circle, var(--lp-accent-cyan) 0%, transparent 80%);
    border-radius: 50%;
    transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
    transform: translate(-50%, -50%);
    opacity: 0;
}
.pipeline:hover:before {
    width: 200px; height: 200px;
    opacity: 0.2;
}
.pipeline.active {
    background-color: rgba(0, 255, 255, 0.1);
    border-color: var(--lp-accent-cyan);
}
.pipeline i {
    font-size: 1.8rem;
    color: var(--lp-accent-cyan);
    margin-right: 15px;
    width: 40px;
    text-align: center;
}
.pipeline-info h5 {
    color: var(--lp-text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}
.pipeline-info span {
    color: var(--lp-text-secondary);
    font-size: 0.9rem;
}

/* --- Dynamic Details Content (Best Version) --- */
.launchpad-details {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* New wrapper to handle smooth height transitions */
.details-content-wrapper {
    position: relative;
    transition: height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* min-height is no longer needed as JS will handle height */
}

.details-content {
    /* Absolute positioning is still used to stack them for fade transitions */
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.details-content.active {
    position: relative; /* The active slide should dictate the layout */
    opacity: 1;
    pointer-events: all;
}

/* Text reveal animation using a mask */
.text-mask {
    overflow: hidden;
}

.details-content.active .text-mask h3,
.details-content.active .text-mask p {
    transform: translateY(100%);
    animation: reveal-up 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Stagger the animation for the paragraph */
.details-content.active .text-mask p {
    animation-delay: 0.1s;
}

@keyframes reveal-up {
    to {
        transform: translateY(0);
    }
}

/* Polished Typography */
.details-content h3 {
    font-size: clamp(1.8rem, 4vw, 2.2rem); /* Fluid font size */
    color: var(--lp-text-primary);
    margin: 0 0 1rem 0;
    padding: 0;
    font-weight: 600;
}

.details-content p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--lp-text-secondary);
    line-height: 1.7;
    max-width: 450px;
    margin: 0;
    padding: 0;
}


/* --- Enhanced CTA Buttons --- */
.launchpad-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem; /* Increased margin for better separation */
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: linear-gradient(90deg, var(--lp-accent-cyan), var(--lp-accent-magenta));
    color: #0A0A1F; /* Use a dark color for better contrast */
    box-shadow: 0 0 20px -5px var(--lp-accent-cyan);
    background-size: 150% 150%;
}

.cta-button.primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 255, 255, 0.5);
    background-position: right center; /* Animate gradient on hover */
}

.cta-button.secondary {
    color: rgb(0, 0, 0);
    border-color: rgb(0, 58, 247);
}

.cta-button.secondary:hover {
    background-color: rgb(116, 0, 0);
    border-color: rgba(100, 100, 220, 0.6);
    color: #6b2222;
}

/* --- Footer --- */
.launchpad-footer {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--lp-border);
    flex-wrap: wrap;
    color: var(--lp-text-secondary);
}
.badge i { margin-right: 8px; color: var(--lp-accent-cyan); }


/* --- Responsive --- */
@media (max-width: 992px) {
    .launchpad-grid { grid-template-columns: 1fr; }
    .launchpad-details { text-align: center; min-height: auto; margin-top: 40px; }
    .details-content p { margin: 0 auto; }
    .launchpad-actions { justify-content: center; }
}

@media (max-width: 576px) {
    .launchpad-container { padding: 20px; }
    .pipeline { flex-direction: column; text-align: center; }
    .pipeline i { margin: 0 0 10px 0; }
    .launchpad-footer { flex-direction: column; align-items: center; gap: 15px; }
}

/* Services Section - Ultra Premium */
.services {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    overflow: hidden;
    z-index: 1;
}

.cosmic-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
    radial-gradient(circle at 20% 30%, rgba(100, 50, 255, 0.05), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 50, 100, 0.05), transparent 40%);
    z-index: -1;
    animation: nebulaPulse 60s ease-in-out infinite alternate;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.services-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.decoration-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00e7ff, transparent);
}

.decoration-dot {
    width: 10px;
    height: 10px;
    background: #00e7ff;
    border-radius: 50%;
    margin: 0 20px;
    box-shadow: 0 0 15px #00e7ff;
}

/* Section Title */
.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #00aaff, #00ffcc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    text-shadow: 0 2px 6px rgba(0, 170, 255, 0.5);
    letter-spacing: 0.5px;
    /* Fallback for browsers that don't support background-clip: text */
    color: #00d4ff;
}

/* Title Word Animation */
.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: titleReveal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.title-word-1 { animation-delay: 0.1s; }
.title-word-2 { animation-delay: 0.3s; }
.title-word-3 { animation-delay: 0.5s; }

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.8rem;
        margin-bottom: 1.2rem;
        text-shadow: 0 2px 4px rgba(0, 170, 255, 0.4);
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        text-shadow: 0 1px 3px rgba(0, 170, 255, 0.4);
    }
}
.section-description {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.highlight {
    background: linear-gradient(135deg, #1f9bff, #00e7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.service-card {
    position: relative;
    background: rgba(30, 41, 59, 0.7);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 231, 255, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(31, 155, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-visualization {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-icon {
    font-size: 3.5rem;
    color: #00e7ff;
    z-index: 2;
    transition: all 0.5s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(0, 231, 255, 0.7));
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: white;
}

.service-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-stats {
    display: flex;
    gap: 20px;
    margin: 25px 0;
}

.stat {
    flex: 1;
    text-align: center;
    padding: 15px;
    background: rgba(0, 231, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(0, 231, 255, 0.2);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1f9bff, #00e7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

.service-details {
    margin: 25px 0;
}

.service-details ul {
    list-style: none;
    padding: 0;
}

.service-details li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.service-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #00e7ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00e7ff;
}

.service-cta {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 2px solid #00e7ff;
    color: #00e7ff;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.service-cta:hover {
    background: rgba(0, 231, 255, 0.1);
    letter-spacing: 1px;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 231, 255, 0.2), transparent);
    transition: 0.5s;
}

.service-cta:hover::before {
    left: 100%;
}

/* Service-specific visualizations */
.floating-shape {
    position: absolute;
    background: rgba(0, 231, 255, 0.1);
    border: 1px solid rgba(0, 231, 255, 0.3);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    bottom: 25%;
    right: 20%;
    animation-delay: 1s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    top: 60%;
    left: 30%;
    animation-delay: 2s;
}

.animation-preview {
    position: absolute;
    width: 100%;
    height: 100%;
}

.frame {
    position: absolute;
    background: rgba(0, 231, 255, 0.05);
    border: 1px solid rgba(0, 231, 255, 0.2);
    animation: frameFloat 6s ease-in-out infinite;
}

.frame-1 {
    width: 60%;
    height: 40%;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.frame-2 {
    width: 50%;
    height: 50%;
    top: 30%;
    left: 30%;
    animation-delay: 1s;
}

.frame-3 {
    width: 40%;
    height: 60%;
    top: 20%;
    left: 50%;
    animation-delay: 2s;
}

.domain-visual {
    position: absolute;
    width: 100%;
    height: 100%;
}

.domain-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 231, 255, 0.3);
    animation: domainPulse 6s ease-in-out infinite;
}

.domain-1 {
    width: 80px;
    height: 80px;
    top: 30%;
    left: 20%;
    animation-delay: 0s;
}

.domain-2 {
    width: 120px;
    height: 120px;
    top: 40%;
    left: 50%;
    animation-delay: 1s;
}

.domain-3 {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 30%;
    animation-delay: 2s;
}

.domain-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00e7ff, transparent);
    top: 50%;
    left: 10%;
    right: 10%;
    transform: translateY(-50%);
    opacity: 0.3;
}

.code-visual {
    position: absolute;
    width: 80%;
    height: 60%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 231, 255, 0.1);
    padding: 20px;
}

.code-line {
    height: 10px;
    background: rgba(0, 231, 255, 0.1);
    margin-bottom: 15px;
    border-radius: 5px;
    animation: codeTyping 2s ease-in-out infinite;
}

.code-line:nth-child(1) {
    width: 90%;
    animation-delay: 0s;
}

.code-line:nth-child(2) {
    width: 70%;
    animation-delay: 0.2s;
}

.code-line:nth-child(3) {
    width: 60%;
    animation-delay: 0.4s;
}

.code-line:nth-child(4) {
    width: 80%;
    animation-delay: 0.6s;
}

.dashboard-visual {
    position: absolute;
    width: 80%;
    height: 60%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
}

.metric {
    width: 20%;
    background: linear-gradient(to top, #00e7ff, #1f9bff);
    border-radius: 5px 5px 0 0;
    opacity: 0.7;
    animation: metricPulse 3s ease-in-out infinite;
}

.metric-1 {
    height: 60%;
    animation-delay: 0s;
}

.metric-2 {
    height: 90%;
    animation-delay: 0.5s;
}

.metric-3 {
    height: 40%;
    animation-delay: 1s;
}

.services-footer {
    text-align: center;
    margin-top: 60px;
}

/* Tech Stack Styles */
.tech-stack {
    margin-bottom: 40px;
    text-align: center;
}

.tech-stack h4 {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.tech-stack h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00e7ff, transparent);
}

.tech-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-icon:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(0, 231, 255, 0.15);
    box-shadow: 0 5px 20px rgba(0, 231, 255, 0.3);
    border-color: rgba(0, 231, 255, 0.3);
}

.tech-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.5);
    transition: filter 0.3s ease;
}

.tech-icon:hover img {
    filter: grayscale(0) brightness(1);
}

.tech-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 100;
}

.tech-icon:hover::after {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .tech-icons {
        gap: 15px;
    }
    
    .tech-icon {
        width: 50px;
        height: 50px;
    }
    
    .button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .global-cta {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes frameFloat {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes domainPulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

@keyframes codeTyping {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.3;
    }
}

@keyframes metricPulse {
    0% {
        height: 60%;
    }
    50% {
        height: 90%;
    }
    100% {
        height: 60%;
    }
}

@keyframes nebulaPulse {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 0.3;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .services-container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-description {
        font-size: 1.1rem;
    }
    
    .service-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .tech-icons {
        gap: 20px;
    }
    
    .tech-icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 60px 0;
    }
    
    .services-header {
        margin-bottom: 50px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .global-cta {
        padding: 15px 30px;
    }
}



/* Premium Conversion-Optimized CTA Styles */
.cta-section {
    --primary-accent: #2563eb;
    --secondary-accent: #7c3aed;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --success-accent: #10b981;
    --warning-accent: #f59e0b;
    --transition-ease: cubic-bezier(0.33, 1, 0.68, 1);
    
    position: relative;
    padding: 8rem 2rem;
    background-color: var(--light-bg);
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.cta-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Dynamic background with animated gradient */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(37, 99, 235, 0.08) 0%, 
        transparent 60%);
    animation: gradientPulse 15s ease infinite alternate;
    z-index: 1;
}

@keyframes gradientPulse {
    0% { transform: translate(0, 0); }
    50% { transform: translate(25%, 25%); }
    100% { transform: translate(-25%, -25%); }
}

/* Content styling with conversion-focused typography */
.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.cta-content h2 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--dark-bg);
    letter-spacing: -0.025em;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta-content .lead {
    font-size: 1.35rem;
    line-height: 1.6;
    color: var(--text-dark);
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.stat-highlight {
    font-weight: 700;
    color: var(--primary-accent);
    position: relative;
    display: inline-block;
}

.stat-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(37, 99, 235, 0.2);
    z-index: -1;
    border-radius: 3px;
}

/* Trust badges for social proof */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    opacity: 0.9;
}

.badge svg {
    width: 18px;
    height: 18px;
    color: var(--success-accent);
}

/* Premium highlight cards with hover effects */
.cta-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.cta-highlight {
    background: white;
    border-radius: 1.25rem;
    padding: 2.5rem;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.02),
        0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: all 0.5s var(--transition-ease);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.cta-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    transition: all 0.4s var(--transition-ease);
}

.cta-highlight:hover {
    transform: translateY(-8px);
    box-shadow:
        0 25px 50px -12px rgba(37, 99, 235, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.03);
}

.cta-highlight:hover::before {
    height: 6px;
    opacity: 0.9;
}

.highlight-icon {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    color: white;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    box-shadow: 
        0 10px 15px -3px rgba(37, 99, 235, 0.25),
        0 4px 6px -4px rgba(37, 99, 235, 0.1);
    transition: all 0.4s var(--transition-ease);
}

.highlight-icon svg {
    width: 28px;
    height: 28px;
}

.cta-highlight:hover .highlight-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 20px 25px -5px rgba(37, 99, 235, 0.3),
        0 10px 10px -5px rgba(37, 99, 235, 0.1);
}

.highlight-content h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.highlight-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 1.75rem;
}

.highlight-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-accent);
    transition: all 0.3s var(--transition-ease);
    cursor: pointer;
}

.highlight-arrow svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--transition-ease);
}

.cta-highlight:hover .highlight-arrow {
    color: var(--secondary-accent);
}

.cta-highlight:hover .highlight-arrow svg {
    transform: translateX(4px);
}

/* High-conversion action buttons */
.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 2.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 0.875rem;
    text-decoration: none;
    transition: all 0.4s var(--transition-ease);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
}

.cta-button span {
    position: relative;
    z-index: 2;
}

.cta-button svg {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s var(--transition-ease);
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    z-index: 1;
    transition: all 0.4s var(--transition-ease);
}

.cta-button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--secondary-accent), var(--primary-accent));
    z-index: 1;
    opacity: 0;
    transition: all 0.4s var(--transition-ease);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 20px 25px -5px rgba(37, 99, 235, 0.3),
        0 10px 10px -5px rgba(37, 99, 235, 0.1);
}

.cta-button:hover::after {
    opacity: 1;
}

.cta-button:hover svg {
    transform: translateX(3px);
}

/* Primary button with subtle pulse animation */
.cta-button.primary {
    color: white;
    animation: subtlePulse 3s infinite;
}

@keyframes subtlePulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3); }
    50% { box-shadow: 0 4px 30px rgba(37, 99, 235, 0.4); }
}

/* Secondary button style */
.cta-button.secondary {
    background: white;
    color: var(--primary-accent);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.cta-button.secondary::before,
.cta-button.secondary::after {
    background: transparent;
}

.cta-button.secondary:hover {
    background: rgba(37, 99, 235, 0.03);
    border-color: rgba(37, 99, 235, 0.4);
    color: var(--secondary-accent);
}

/* Social proof section */
.social-proof {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonials {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.testimonial {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial blockquote {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-style: italic;
    position: relative;
}

.testimonial blockquote::before {
    content: '"';
    font-size: 3rem;
    color: rgba(37, 99, 235, 0.1);
    position: absolute;
    top: -1.5rem;
    left: -1rem;
    line-height: 1;
    z-index: -1;
}

.author strong {
    display: block;
    font-weight: 700;
    color: var(--dark-bg);
}

.author span {
    font-size: 0.9rem;
    color: var(--text-dark);
    opacity: 0.7;
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.logo-item {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
}

.logo-item img {
    height: 40px;
    width: auto;
    filter: grayscale(100%) contrast(0.5);
    transition: filter 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%) contrast(1);
}

/* Responsive design */
@media (max-width: 1024px) {
    .cta-section {
        padding: 6rem 2rem;
    }
    
    .cta-content h2 {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .cta-container {
        gap: 3rem;
    }
    
    .cta-content h2 {
        font-size: 2.25rem;
    }
    
    .cta-content .lead {
        font-size: 1.2rem;
    }
    
    .cta-highlights {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 320px;
    }
    
    .testimonial {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .testimonial blockquote::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 5rem 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content .lead {
        font-size: 1.1rem;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-highlight {
        padding: 2rem 1.5rem;
    }
    
    .highlight-icon {
        width: 52px;
        height: 52px;
    }
    
    .highlight-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .client-logos {
        gap: 1.5rem;
    }
    
    .logo-item img {
        height: 30px;
    }
}



/* --- Root Variables for Colors and Fonts --- */
:root {
    --bg-dark: #0D1117;
    --bg-panel: rgba(22, 27, 34, 0.6);
    --border-color: rgba(48, 54, 61, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #F0F6FC;
    --text-secondary: #8B949E;
    --accent-cyan: #22d3ee;
    --accent-magenta: #c026d3;
    --accent-green: #2ecc71;
    --accent-red: #e74c3c;
    --font-primary: 'Inter', sans-serif;
}

/* --- Basic Setup --- */
body {
    background-color: var(--bg-dark);
    font-family: var(--font-primary);
    color: var(--text-primary);
    margin: 0;
}

/* --- Keyframe Animations --- */
@keyframes grid-pan {
    0% { background-position: 0% 0%; }
    100% { background-position: 100px 100px; }
}
@keyframes glitch-in {
    0% {
        opacity: 0;
        transform: translateY(30px) skewX(-10deg);
        clip-path: inset(100% 0 0 0);
    }
    80% {
        transform: translateY(0) skewX(0);
    }
    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes modal-icon-pop {
    0% { transform: scale(0.5); }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* --- Main Section Styling --- */
.book-meeting-section {
    padding: 6rem 1.5rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Animated Grid Background */
.grid-background {
    position: absolute;
    inset: -200px;
    background-image: 
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: grid-pan 10s linear infinite;
    z-index: -2;
}
.book-meeting-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 10%, var(--accent-cyan), transparent 30%),
                radial-gradient(circle at 90% 90%, var(--accent-magenta), transparent 30%);
    opacity: 0.1;
    z-index: -1;
}

/* --- Booking Console Layout --- */
.booking-console-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    perspective: 1500px; /* For 3D transitions */
}

.console-inner {
    position: relative;
    width: 100%;
    min-height: 800px;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}
.console-inner.form-active {
    transform: rotateY(-180deg);
}

/* --- Info and Form Panels (Front and Back of the Console) --- */
.console-info-panel, .console-form-panel {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem;
    backface-visibility: hidden; /* Hides the back of the panel when rotated */
    display: flex;
    flex-direction: column;
}

.console-form-panel {
    transform: rotateY(180deg);
}

/* --- Info Panel Content --- */
.panel-content {
    opacity: 0;
    animation: glitch-in 1s forwards cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}
.console-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;

    color: white;
}
.console-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 8.5rem;
    margin-bottom: 5.5rem;
}
.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.benefit-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.benefit-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}
.benefit-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.book-now-button {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(34, 211, 238, 0.3);
}
.book-now-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(34, 211, 238, 0.4);
}

/* --- Form Panel Content --- */
.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.form-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}
.close-button {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}
.close-button:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

#booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}
.input-wrapper {
    position: relative;
}
.input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}
.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(13, 17, 23, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.9rem 1rem 0.9rem 3rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group textarea {
    padding: 1rem 1rem 1rem 3rem;
    min-height: 100px;
    resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}
.form-group input.error, .form-group textarea.error {
    border-color: var(--accent-red);
}
.form-group input.error:focus {
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.error-message {
    color: var(--accent-red);
    font-size: 0.85rem;
    height: 1rem;
    margin-top: 0.25rem;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.error-message.visible {
    visibility: visible;
    opacity: 1;
}
.error-message.global { text-align: center; }

.submit-button {
    background: var(--accent-green);
    color: #fff;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.submit-button:hover {
    background: #27ae60;
}
.submit-button.loading .button-text {
    visibility: hidden;
}
.submit-button.loading .loading-spinner {
    display: block;
}
.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
}

.hidden { display: none; }

/* --- Confirmation Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(5px);
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-content {
    transform: scale(1);
}
.modal-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--accent-green);
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    animation: modal-icon-pop 0.6s ease-out;
}
.modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.modal-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Responsive Design --- */
@media (max-width: 900px) {
    .console-inner {
        transform-style: flat; /* Disable 3D effect on mobile for simplicity */
        min-height: auto;
    }

    /* THIS IS THE FIX: Reset the transform on the active container */
    .console-inner.form-active {
        transform: none;
    }
    
    .console-info-panel, .console-form-panel {
        position: relative;
        transform: none !important;
        backface-visibility: visible;
        margin-bottom: 2rem;
    }
    .console-form-panel {
        display: none; /* Hide form by default on mobile */
    }
    .console-inner.form-active .console-info-panel {
        display: none; /* Hide info when form is active */
    }
    .console-inner.form-active .console-form-panel {
        display: flex;
    }
}
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .console-info-panel, .console-form-panel {
        padding: 2rem;
    }
}


/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary: #6b48ff;
    --secondary: #00ddeb;
    --accent: #ffd700;
    --dark: #1a1a1a;
    --light: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --glass-bg: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    --neon-glow: 0 0 10px rgba(107, 72, 255, 0.5);
}

/* Footer */
.footer {
    position: relative;
    padding: 5rem 2rem;
    background: var(--gradient);
    color: var(--light);
    overflow: hidden;
    z-index: 1;
}

.footer-background {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23ffffff" fill-opacity="0.1" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,213.3C672,224,768,224,864,213.3C960,203,1056,181,1152,181.3C1248,181,1344,203,1392,213.3L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"%3E%3C/path%3E%3C/svg%3E') no-repeat bottom;
    background-size: cover;
    z-index: -1;
    animation: wave 10s infinite ease-in-out;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(107, 72, 255, 0.2), transparent);
    z-index: -1;
}

.footer-top {
    max-width: 1300px;
    margin: 0 auto 3rem;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.footer-column:hover {
    transform: translateY(-10px);
    box-shadow: var(--neon-glow);
}

.footer-column h3 {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient);
    transition: width 0.3s;
}

.footer-column:hover h3::after {
    width: 100%;
}

.footer-column p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: var(--light);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s, transform 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column ul li a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-column ul li a::before {
    content: '→';
    opacity: 0;
    transition: opacity 0.3s;
}

.footer-column ul li a:hover::before {
    opacity: 1;
}

/* Footer Buttons */
.footer-btn-container {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.footer-btn {
    padding: 0.8rem 2rem;
    background: var(--gradient);
    color: var(--light);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.footer-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
}

.contact-btn {
    background: transparent;
    border: 2px solid var(--accent);
}

.contact-btn:hover {
    background: var(--accent);
    color: var(--dark);
}

/* Footer Bottom */
.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 0;
    font-size: 1rem;
    color: #cccccc;
    position: relative;
}

.footer-bottom a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--light);
    text-decoration: underline;
}

/* Social Links */
.social-links {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: var(--light);
    border-radius: 50%;
    font-size: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    transform: perspective(500px) rotateX(0deg) rotateY(0deg);
}

.social-icon:hover {
    transform: perspective(500px) rotateX(5deg) rotateY(5deg) translateY(-5px);
    box-shadow: var(--neon-glow);
    background: var(--gradient);
}

.facebook-icon:hover { background: linear-gradient(145deg, #3b5998, #2a4373); }
.twitter-icon:hover { background: linear-gradient(145deg, #1da1f2, #1787c9); }
.linkedin-icon:hover { background: linear-gradient(145deg, #0077b5, #005f8f); }
.instagram-icon:hover { background: linear-gradient(145deg, #e4405f, #c13584); }

.social-icon i {
    transition: transform 0.3s;
}

.social-icon:hover i {
    transform: scale(1.2);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: black;
    border-radius: 10px;
    border: 2px solid var(--dark);
}

/* Animations */
@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.footer-column, .social-icon, .footer-btn {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-columns {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        min-width: 100%;
        text-align: center;
    }

    .footer-btn-container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 1rem;
    }

    .footer-column h3 {
        font-size: 1.5rem;
    }

    .footer-bottom {
        font-size: 0.9rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .popup-content h2 {
        font-size: 1.8rem;
    }

    .popup-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-column h3 {
        font-size: 1.3rem;
    }

    .footer-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}