:root {
    /* Enhanced Palette */
    --color-primary: #0a192f;
    --color-secondary: #ff6b35;
    --color-secondary-hover: #ff8e53;
    --color-accent: #64ffda;

    /* Text */
    --color-text-main: #d9e2ec;
    --color-text-light: #ffffff;
    --color-text-muted: #8892b0;

    /* Backgrounds */
    --color-bg-body: #0a192f;
    --color-bg-card: rgba(255, 255, 255, 0.05);
    /* Lighter Glass */

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;

    /* Spacing */
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;
    --spacing-xxl: 120px;

    /* Shadows & Glows */
    --shadow-card: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
    --glow-secondary: 0 0 20px rgba(255, 107, 53, 0.3);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@media (max-width: 768px) {
    :root {
        --spacing-xxl: 60px;
        --spacing-xl: 40px;
        --spacing-lg: 24px;
        --spacing-md: 12px;
    }
}

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-bg-body);
    /* Dynamic Background Pattern - Made more transparent for blobs - REMOVED */
    /* background-image removed */
    background-attachment: fixed;
    overflow-x: hidden;
}

main {
    position: relative;
    z-index: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
    line-height: 1.25;
}

/* Gradient Text for Headings to Pop */
h1,
h2 {
    background: linear-gradient(135deg, #ffffff 0%, #e6f1ff 50%, #ccd6f6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(100, 255, 218, 0.2));
    /* Teal Glow */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

.section-padding {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-secondary {
    color: var(--color-secondary) !important;
    -webkit-text-fill-color: var(--color-secondary);
}

.text-white {
    color: white !important;
    -webkit-text-fill-color: white;
}

@media (max-width: 768px) {
    .text-center-mobile {
        text-align: center;
    }
}

.text-gradient-primary {
    background: linear-gradient(135deg, #ffffff 0%, #a6bfde 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(166, 191, 222, 0.1);
}

.text-gradient-secondary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #ff9f43 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons with Gradient & Glow */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.1);
}

.btn-primary:hover {
    background: rgba(100, 255, 218, 0.1);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
    transform: translateY(-3px);
    color: #fff;
    border-color: #fff;
}

.btn-secondary {
    background: linear-gradient(135deg, #ff6b35 0%, #ff9f43 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline-white:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Glassmorphism Cards */
.glass-card,
.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
}

.service-card:hover,
.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    /* Brighter on hover */
    border-color: var(--color-secondary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 107, 53, 0.2);
}

/* Grids */
.grid-2,
.grid-3 {
    display: grid;
    gap: 20px;
}

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

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

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }

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

/* Utility Classes */
.align-center {
    align-items: center;
}

.order-1 {
    order: 1;
}

.order-2 {
    order: 2;
}

@media (max-width: 768px) {
    .order-md-1 {
        order: 1;
    }

    .order-md-2 {
        order: 2;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeInUp 1s ease-out forwards;
}

/* Header: Cooler & Stunning */
.site-header {
    background: rgba(10, 25, 47, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    height: 80px;
    /* Reduced from 100px */
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.7);
    transition: all 0.4s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.logo a {
    font-size: 24px;
    /* Slightly smaller logo */
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.company-name {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
    white-space: nowrap;
}

@media(max-width: 1450px) {
    .company-name {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }
}

@media(max-width: 580px) {
    .company-name {
        font-size: 0.85rem;
        white-space: normal;
        line-height: 1.2;
        max-width: 150px;
    }
}

@media(max-width: 380px) {
    .company-name {
        display: none;
    }

    .logo img {
        height: 50px !important;
    }
}

/* Floating Pill Menu */
.nav-menu {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 10px;
    /* Reduced padding */
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 8px 16px;
    /* Reduced padding */
    border-radius: 30px;
    position: relative;
    font-size: 0.9rem;
    /* Slightly smaller font */
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #ff9f43 100%);
    color: white;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    font-weight: 600;
}

/* Remove old underline */
.nav-link::after {
    display: none;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.mobile-toggle:hover {
    background: var(--color-secondary);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

@media(max-width: 1450px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 25, 47, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 999;
        gap: 15px;
        /* Reduced from 30px */
        opacity: 0;
        visibility: hidden;
        transform: scale(0.95);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0;
        box-shadow: none;
        border: none;
        border-radius: 0;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    .nav-link {
        font-size: 1.3rem;
        /* Reduced from 1.8rem */
        font-weight: 600;
        /* Slightly lighter */
        color: rgba(255, 255, 255, 0.9);
        background: transparent !important;
        padding: 8px 0;
        /* Reduced padding */
        position: relative;
        overflow: hidden;
        display: inline-block;
        transition: all 0.3s ease;
        opacity: 0;
        transform: translateY(20px);
        border-radius: 0;
        /* Remove rounded corners */
    }

    /* Reset Active State for Mobile */
    .nav-link.active {
        background: transparent !important;
        box-shadow: none !important;
        color: var(--color-secondary);
        border-radius: 0;
    }

    /* Staggered Animation for Links */
    .nav-menu.active .nav-link {
        animation: slideInUp 0.5s forwards;
    }

    .nav-menu.active li:nth-child(1) .nav-link {
        animation-delay: 0.1s;
    }

    .nav-menu.active li:nth-child(2) .nav-link {
        animation-delay: 0.15s;
    }

    .nav-menu.active li:nth-child(3) .nav-link {
        animation-delay: 0.2s;
    }

    .nav-menu.active li:nth-child(4) .nav-link {
        animation-delay: 0.25s;
    }

    .nav-menu.active li:nth-child(5) .nav-link {
        animation-delay: 0.3s;
    }

    .nav-menu.active li:nth-child(6) .nav-link {
        animation-delay: 0.35s;
    }

    .nav-menu.active li:nth-child(7) .nav-link {
        animation-delay: 0.4s;
    }

    .nav-menu.active li:nth-child(8) .nav-link {
        animation-delay: 0.45s;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--color-secondary);
        transition: width 0.3s ease;
    }

    .nav-link:hover {
        color: var(--color-secondary);
        transform: scale(1.1);
        text-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
    }

    .nav-link:hover::before {
        width: 100%;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1001;
        /* Above the menu */
        position: relative;
        font-size: 24px;
        width: 45px;
        height: 45px;
        background: rgba(255, 255, 255, 0.05);
        /* Match new refined look */
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        /* Remove round circle */
    }

    /* Mobile Landscape Fix */
    @media (orientation: landscape) {
        .nav-menu {
            justify-content: flex-start;
            padding-top: 80px;
            /* Space for close button if needed, or just top spacing */
            padding-bottom: 40px;
            height: 100vh;
            overflow-y: auto;
            /* Enable scrolling */
        }
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Stunning Deep Gradient Overlay */
    background: linear-gradient(135deg,
            rgba(10, 25, 47, 0.98) 0%,
            rgba(17, 34, 64, 0.8) 50%,
            rgba(100, 255, 218, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: white;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: clamp(1rem, 4vw, 1.3rem);
    margin-bottom: 40px;
    color: #ffffff;
    opacity: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
    font-weight: 600;
}

@media(max-width: 1450px) {
    .hero-content h1 {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }
}

@media(max-width: 768px) {
    .hero-content h1 {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }

    .hero-section {
        text-align: center;
    }

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

/* Services: Nicer & Richer */
.service-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(10, 25, 47, 0.6) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 107, 53, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-secondary);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 107, 53, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-icon img {
    border-radius: 12px;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
    height: 200px;
    /* Fixed height for consistency */
    object-fit: cover;
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
}

.service-card h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #fff, #e6e6e6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
}

/* Testimonials */
.testimonial-section {
    background: transparent;
    /* Let gradient show through */
}

.testimonial-container {
    background: rgba(20, 40, 70, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-radius: 24px;
    padding: 60px 40px;
    position: relative;
    /* overflow: hidden; Removed to allow buttons to sit outside */
    min-height: 300px;
    animation: breathingGlow 8s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(100, 255, 218, 0.1);
}

@keyframes breathingGlow {

    0%,
    100% {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 rgba(255, 107, 53, 0);
        border-color: rgba(255, 255, 255, 0.1);
    }

    50% {
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 107, 53, 0.15);
        border-color: rgba(255, 107, 53, 0.3);
    }
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    top: 60px;
    left: 0;
    opacity: 0;
    transition: all 0.5s ease;
    transform: translateX(50px);
}

/* Ensure active slide logic works */
.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    /* position: relative; Removed to prevent stacking during transition */
    top: 0;
}

/* Override simple hidden for inactive */

.quote-content {
    font-size: 1.8rem;
    font-family: sans-serif;
    font-style: italic;
    color: white;
    margin-bottom: 40px;
}

.client-img {
    width: 70px;
    height: 70px;
    border: 3px solid var(--color-secondary);
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, #0a192f 0%, #020c1b 100%);
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    position: relative;
    padding-top: 100px;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
}

.footer-column h3 {
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--color-secondary);
    text-transform: uppercase;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #ff9f43);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.footer-links li a {
    transition: all 0.3s;
    display: inline-block;
    opacity: 0.7;
}

.footer-links li a:hover {
    padding-left: 8px;
    color: var(--color-secondary);
    opacity: 1;
    transform: translateX(2px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icons a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icons a:hover {
    background: var(--color-secondary);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.6);
    border-color: var(--color-secondary);
}

.copyright {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
}

/* Testimonial Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    backdrop-filter: blur(5px);
}

.prev-btn {
    left: -70px;
}

/* Premium Gradient Effects */
.grandeur-gradient-bg {
    background: radial-gradient(circle at 0% 0%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(100, 255, 218, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, var(--color-bg-body) 0%, #112240 50%, var(--color-bg-body) 100%);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.3);
}

/* Subtle Animated Mesh/Glow */
.grandeur-gradient-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.03), transparent 60%);
    animation: gradientRotate 30s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gradientRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.grandeur-gradient-bg .container {
    position: relative;
    z-index: 1;
}

/* Separator Line with Gradient */
.separator-gradient {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
    opacity: 0.3;
    margin: 0;
}

.next-btn {
    right: -70px;
}

@media (max-width: 1450px) {
    .testimonial-container {
        padding: 40px 60px;
    }

    /* Keep buttons on side for tablet, but ensure they don't overlap too much */
    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .testimonial-container {
        padding-bottom: 80px;
        /* Space for buttons */
    }

    .slider-btn {
        top: auto;
        bottom: 20px;
        transform: translateY(0);
        width: 40px;
        height: 40px;
        background: var(--color-secondary);
        /* Make them more visible/touchable */
    }

    .prev-btn {
        left: calc(50% - 60px);
    }

    .next-btn {
        right: calc(50% - 60px);
    }

    .quote-content {
        font-size: 1rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .testimonial-slide {
        top: 30px;
    }

    .testimonial-container {
        padding: 40px 15px 70px;
        min-height: auto;
    }
}

.slider-btn:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active,
.dot:hover {
    background: var(--color-secondary);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
    transform: scale(1.2);
}

/* Floating Bubble / Blob Background Effect REMOVED */

/* =========================================
   Premium Pages Styles (About, Services, etc.)
   ========================================= */

/* Page Hero Section - More Epic */
.page-hero {
    position: relative;
    height: 60vh;
    /* Taller */
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.7) 100%); */
    background: transparent;
    z-index: 1;
}

.page-hero.no-overlay::before {
    display: none !important;
}

.page-hero .container {
    position: relative;
    z-index: 3;
    max-width: 900px;
}

.page-hero h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    margin-bottom: 25px;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    letter-spacing: -1px;
    line-height: 1.1;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.9);
}

.page-hero p {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto;
    font-weight: 500;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.9);
}

/* Glass Cards - Cleaner */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

/* Highlight Quote Style */
.director-quote {
    position: relative;
    padding: 30px 0 30px 30px;
    margin-top: 40px;
    border-left: 4px solid var(--color-secondary);
}

.director-quote p {
    font-family: 'Playfair Display', serif;
    /* Fallback to serif */
    font-style: italic;
    font-size: 1.3rem;
    color: var(--color-text-main);
    line-height: 1.8;
    margin-bottom: 15px;
}

.director-quote .author {
    font-family: var(--font-main);
    font-style: normal;
    font-weight: 700;
    color: var(--color-secondary);
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Value Cards Redesign */
.value-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--color-accent);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 25px;
    display: inline-block;
    background: rgba(100, 255, 218, 0.1);
    padding: 20px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.value-card:hover i {
    transform: scale(1.1) rotate(10deg);
}

.value-card h4 {
    color: var(--color-white);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.value-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.value-card ul li {
    color: var(--color-text-muted);
    padding: 8px 0;
    margin-bottom: 5px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.value-card ul li:last-child {
    border-bottom: none;
}

/* Team Card Premium */
.team-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-accent);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 25px rgba(100, 255, 218, 0.15);
}

.team-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: top center;
    transition: filter 0.4s ease, transform 0.4s ease;
}

.team-card:hover img {
    transform: scale(1.03);
}

.team-info {
    padding: 25px;
    position: relative;
    z-index: 2;
    background: linear-gradient(to top, #0a192f 0%, rgba(10, 25, 47, 0.95) 100%);
    margin-top: -60px;
    /* Overlap effect */
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.team-card h4 {
    color: var(--color-white);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-card .role {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--color-accent);
    cursor: pointer;
    font-weight: 600;
    padding: 0;
    margin-top: 10px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.read-more-btn:hover {
    color: var(--color-white);
    text-decoration: underline;
}

/* Lightbox Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(10, 25, 47, 0.95);
    /* Dark overlay */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation: fadeIn 0.3s;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 95%;
    max-height: 95vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 20px 0;
    height: auto;
    min-height: 20px;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    line-height: 1;
    z-index: 10001;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--color-secondary);
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media only screen and (max-width: 700px) {
    .lightbox-content {
        width: 100%;
    }
}

.full-bio {
    display: none;
}

/* Bio Modal specific styles */
.bio-modal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.bio-modal-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-secondary);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.bio-modal-info h3 {
    margin-bottom: 5px;
    color: white;
    font-size: 1.8rem;
}

.bio-modal-info span {
    color: var(--color-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bio-modal-body {
    line-height: 1.8;
    color: var(--color-text-main);
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 15px;
    font-size: 1.05rem;
}

/* Custom Scrollbar for Modal */
.bio-modal-body::-webkit-scrollbar {
    width: 8px;
}

.bio-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.bio-modal-body::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 4px;
}

@media (max-width: 600px) {
    .bio-modal-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .bio-modal-avatar {
        width: 80px;
        height: 80px;
    }

    .bio-modal-info h3 {
        font-size: 1.5rem;
    }
}

/* --- Hero Slider CSS --- */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 95vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-image removed in favor of img tag */
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide .hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.hero-content-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 3;
}

.hero-content {
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.hero-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-size: clamp(2.2rem, 8vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.5rem);
    color: #ffffff;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

.hero-buttons .btn {
    margin: 0 10px;
    padding: 12px 30px;
}

.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.05);
}

.hero-prev {
    left: 40px;
}

.hero-next {
    right: 40px;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-dot.active {
    background: var(--color-secondary);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero-slider-section {
        height: 70vh;
        /* Shorter hero on mobile */
        min-height: 450px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons .btn {
        display: inline-block;
        margin: 5px;
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .hero-prev,
    .hero-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero-prev {
        left: 15px;
    }

    .hero-next {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .hero-slider-section {
        height: 60vh;
    }

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

    .hero-buttons .btn {
        display: block;
        margin: 10px auto;
        width: 100%;
        max-width: 200px;
    }
}

/* Enhanced Visuals for About Page */

/* Rich Dark Animated Aurora Gradient Background */
.page-gradient-bg {
    background: #0a192f;
    background-image:
        radial-gradient(at 0% 0%, hsla(217, 100%, 12%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(222, 47%, 11%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(212, 100%, 10%, 1) 0, transparent 50%),
        radial-gradient(at 0% 50%, hsla(217, 100%, 12%, 1) 0, transparent 50%),
        radial-gradient(at 50% 50%, hsla(212, 35%, 14%, 1) 0, transparent 50%),
        radial-gradient(at 100% 50%, hsla(217, 100%, 12%, 1) 0, transparent 50%),
        radial-gradient(at 0% 100%, hsla(212, 100%, 10%, 1) 0, transparent 50%),
        radial-gradient(at 50% 100%, hsla(222, 47%, 11%, 1) 0, transparent 50%),
        radial-gradient(at 100% 100%, hsla(212, 100%, 10%, 1) 0, transparent 50%);
    position: relative;
    overflow: hidden;
    animation: auroraBG 15s ease infinite alternate;
    background-size: 200% 200%;
}

@keyframes auroraBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 50% 100%;
    }
}

/* Shimmering Separator Effect */
.shimmer-separator {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(100, 255, 218, 0.1) 20%,
            rgba(100, 255, 218, 0.6) 50%,
            rgba(255, 107, 53, 0.6) 55%,
            rgba(255, 107, 53, 0.1) 80%,
            transparent 100%);
    background-size: 200% 100%;
    animation: shimmerLine 4s linear infinite;
    position: relative;
    z-index: 5;
}

@keyframes shimmerLine {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Add a subtle texture overlay */
.page-gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2364ffda' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.page-gradient-bg .container {
    position: relative;
    z-index: 2;
}

/* Gradient Text Effect */
.text-gradient-primary {
    background: linear-gradient(135deg, #ffffff 0%, #a6bfde 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(166, 191, 222, 0.1);
}

.text-gradient-secondary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #ff9f43 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glass Card Enhanced */
.glass-card-premium {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.glass-card-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.3);
}

.glass-card-premium:hover::after {
    opacity: 1;
}



/* Enhanced Typography */
.section-title-premium {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

/* Underline removed as per design feedback */

/* Mission/Vision Icons */
.icon-glow-box {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.value-card:hover .icon-glow-box {
    background: rgba(100, 255, 218, 0.1);
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.3);
    transform: rotate(5deg) scale(1.1);
    color: #fff;
    border-color: var(--color-accent);
}

/* Services Page Specific Styles */
.hero-subtitle-text {
    color: #ccd6f6;
    font-weight: 500;
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.service-row {
    margin-bottom: 120px;
    overflow: visible;
    /* Allow shadows/transforms but manage layout width responsibly */
    max-width: 100%;
}

.service-grid {
    gap: 20px;
    /* Standard mobile gap */
}

@media (min-width: 992px) {
    .service-grid {
        gap: 80px;
    }
}



.service-row-title {
    margin-bottom: 25px;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.service-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-text-main);
    margin-bottom: 30px;
}

.service-description *,
.story-content * {
    max-width: 100% !important;
    width: auto !important;
    box-sizing: border-box !important;
}

.service-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-main-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-img-wrapper:hover .service-main-img {
    transform: scale(1.05) !important;
}

/* Services CTA */
.cta-title {
    font-size: 3rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #fff 0%, #a6bfde 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-text {
    margin: 0 auto 40px;
    max-width: 600px;
    color: var(--color-text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
}

.cta-btn {
    padding: 16px 45px;
    font-size: 1.1rem;
}

/* Services Page Mobile Adjustments */
@media (max-width: 992px) {
    .service-grid {
        gap: 40px;
    }

    .service-row-title {
        font-size: 1.8rem;
        word-wrap: break-word;
        /* Ensure long words break */
    }

    .service-main-img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .service-row {
        margin-bottom: 80px;
    }

    .service-grid {
        gap: 24px;
    }

    .page-hero.contact-hero {
        justify-content: flex-start;
        padding-top: 120px;
        /* Push it down a "little bit" from the very top */
    }

    .page-hero {
        min-height: 300px;
        height: 60vh;
        /* Increased height slightly to allow for better centering */
        padding-bottom: 0 !important;
        /* Override inline style */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-attachment: scroll !important;
    }

    .service-grid .order-1,
    .service-grid .order-2 {
        order: unset !important;
    }

    /* Force Image First on Mobile */
    .service-grid .service-image {
        order: 1 !important;
        margin-bottom: 20px;
    }

    .service-grid .service-content {
        order: 2 !important;
    }

    .service-grid.reverse-layout .service-image {
        order: 1 !important;
    }

    .service-grid.reverse-layout .service-content {
        order: 2 !important;
    }

    .service-text-card {
        padding: 30px 20px;
        text-align: center;
        /* Center align text on mobile for better balance */
    }


    .service-description {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.6;
    }

    .service-main-img {
        height: 300px;
    }

    .hero-subtitle-text {
        font-size: 1.1rem;
    }

    .cta-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
        /* Tighter padding for very small screens */
    }

    .service-row {
        margin-bottom: 60px;
    }

    .service-main-img {
        height: 220px;
    }

    .service-row-title {
        font-size: 1.5rem;
        /* Smaller for very small screens */
    }

    .cta-title {
        font-size: 1.6rem;
    }
}