/* ============================================
   Premium Landing Page Styles
   Color Scheme: Midnight, Electric Blue, Platinum
   ============================================ */

:root {
    /* Premium Midnight Theme */
    --color-dark: #020617;
    /* Slate 950 - Deeper black/blue */
    --color-mid: #0f172a;
    /* Slate 900 */
    --color-section-alt: #1e1b4b;
    /* Indigo 950 */
    --color-section-alt-2: #172554;
    /* Blue 950 */
    --color-white: #f8fafc;
    /* Slate 50 - Soft white */

    /* Luxury Accents */
    --royal-blue: #3b82f6;
    /* Blue 500 */
    --royal-blue-dark: #1d4ed8;
    /* Blue 700 */
    --royal-blue-light: #60a5fa;
    /* Blue 400 */

    --purple: #8b5cf6;
    --purple-dark: #6d28d9;
    --purple-light: #a78bfa;

    /* Electric Accents for Pop */
    --color-accent: #38bdf8;
    /* Sky 400 */
    --color-accent-dark: #0ea5e9;
    --color-accent-light: #7dd3fc;
    --color-muted: rgba(248, 250, 252, 0.65);

    /* Sophisticated Gradients */
    --gradient-royal-purple: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
    --gradient-blue-purple: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
    --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

    /* Layout */
    --section-spacing: 5rem;
    /* Reduced from 8rem */
    --container-width: 1200px;

    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-display: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--color-dark);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    letter-spacing: -0.01em;
}

/* Updated Section Backgrounds */
.section-dark {
    background: var(--color-dark);
    position: relative;
}

.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 50%, rgba(29, 78, 216, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(124, 58, 237, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.section-light {
    background: linear-gradient(to bottom, var(--color-mid), var(--color-dark));
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.section-light::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.section-light .section-heading,
.section-light .feature-title {
    color: var(--color-white);
}

.section-light .section-body,
.section-light .feature-description {
    color: var(--color-muted);
}

.section-mid {
    background: var(--color-mid);
    position: relative;
}

.section-mid::before {
    content: none;
}

/* ============================================
   Animated Background
   ============================================ */

/* ============================================
   Animated Background
   ============================================ */

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #020617;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    animation: blob-animation 25s infinite ease-in-out;
}

.blob-1 {
    width: 800px;
    height: 800px;
    background: #1e3a8a;
    /* Deep Blue */
    top: -300px;
    left: -200px;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: #5b21b6;
    /* Deep Purple */
    bottom: -200px;
    right: -200px;
    animation-delay: -5s;
}

.blob-3 {
    width: 500px;
    height: 500px;
    background: #1e40af;
    /* Another Blue */
    top: 40%;
    left: 60%;
    animation-delay: -12s;
}

@keyframes blob-animation {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.03;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* ============================================
   Navbar
   ============================================ */

/* ============================================
   Navbar
   ============================================ */

.navbar {
    background: rgba(2, 6, 23, 0.8) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(2, 6, 23, 0.95) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 0;
}

.navbar-brand .logo-img {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1);
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-brand:hover .logo-img {
    filter: brightness(1.2) drop-shadow(0 4px 8px rgba(0, 202, 255, 0.3));
}

.nav-link {
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 500;
    font-size: 0.875rem;
    margin: 0 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0 !important;
}

.nav-link.active {
    color: var(--royal-blue-light) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-royal-purple);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.9) !important;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active:hover {
    color: var(--color-accent-light) !important;
}

/* ============================================
   Buttons
   ============================================ */

/* ============================================
   Buttons
   ============================================ */

.btn-nav-cta {
    background: var(--royal-blue);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
}

.btn-nav-cta:hover {
    background: var(--royal-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.btn-primary-cta {
    background: var(--color-white);
    border: none;
    color: var(--color-dark);
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.25);
    background: #ffffff;
    color: var(--color-dark);
}

.btn-secondary-cta {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    font-weight: 500;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-secondary-cta:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-primary-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    transition: left 0.5s ease;
}

.btn-primary-cta:hover::before {
    left: 100%;
}

/* ============================================
   Hero Section
   ============================================ */

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    position: relative;
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.4;
    filter: saturate(0) contrast(1.2);
    /* Black and white underlying video for sharpness */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.8) 0%, rgba(2, 6, 23, 0.6) 50%, rgba(2, 6, 23, 0.95) 100%);
    z-index: 1;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 2rem;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 0.95;
    margin-bottom: 2rem;
    color: var(--color-white);
    letter-spacing: -0.04em;
    margin-top: -60px;
}

.hero-headline .gradient-text {
    background: linear-gradient(to right, #60a5fa, #a78bfa, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheadline {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--color-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Glass Cards
   ============================================ */

/* ============================================
   Glass Cards
   ============================================ */

.glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Thinner, subtler border */
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.05), transparent);
    pointer-events: none;
    opacity: 1;
}

.section-light .glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.glass-card:hover:not(.service-card) {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04), 0 0 15px rgba(59, 130, 246, 0.15);
}

.section-light .glass-card:hover:not(.service-card) {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(96, 165, 250, 0.3);
}

/* ============================================
   Sections
   ============================================ */

.section-padding {
    padding: 5rem 0;
    /* Tightened from 8rem */
    position: relative;
    z-index: 1;
}

.section-padding>.container {
    position: relative;
    z-index: 2;
}

.section-heading {
    font-family: var(--font-hero);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.25;
    color: var(--white);
    opacity: 1;
    /* Ensure visibility by default */
    visibility: visible;
    letter-spacing: -0.5px;
}

.section-body {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* ============================================
   Feature Cards (Legacy)
   ============================================ */

.feature-card {
    height: 100%;
    text-align: center;
    padding: 2.5rem;
    opacity: 1;
    visibility: visible;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(99, 102, 241, 0.5));
}

.feature-title {
    font-family: var(--font-hero);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
    letter-spacing: -0.3px;
}

.feature-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 1rem;
}

/* ============================================
   Service Cards - Modern Style
   ============================================ */

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
    font-weight: 400;
}

/* Modern Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Modern Service Card */
.service-card-modern {
    position: relative;
    min-height: 400px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    isolation: isolate;
}

.service-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.service-card-modern:hover .service-card-bg {
    opacity: 1;
}

.service-card-modern:hover {
    transform: translateY(-8px);
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(59, 130, 246, 0.2);
}

.service-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon {
    font-size: 3.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.4));
}

.service-icon-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.service-card-modern:hover .service-icon-glow {
    opacity: 1;
    animation: icon-pulse 2s ease-in-out infinite;
}

.service-card-modern:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 8px 24px rgba(96, 165, 250, 0.6));
}

@keyframes icon-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

.service-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    font-family: var(--font-display);
    transition: all 0.5s ease;
    z-index: 1;
}

.service-card-modern:hover .service-number {
    color: rgba(96, 165, 250, 0.1);
    transform: scale(1.1);
}

/* Animated gradient border */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.3), rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 40px rgba(59, 130, 246, 0.3);
}

.service-card:hover::before {
    opacity: 1;
    animation: border-rotate 3s linear infinite;
}

.service-card:hover::after {
    opacity: 1;
}

@keyframes border-rotate {
    0% {
        background: linear-gradient(135deg, rgba(96, 165, 250, 0.3), rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.3));
    }
    33% {
        background: linear-gradient(225deg, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.3), rgba(96, 165, 250, 0.3));
    }
    66% {
        background: linear-gradient(315deg, rgba(59, 130, 246, 0.3), rgba(96, 165, 250, 0.3), rgba(139, 92, 246, 0.3));
    }
    100% {
        background: linear-gradient(135deg, rgba(96, 165, 250, 0.3), rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.3));
    }
}

/* Icon container with 3D effect */
.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    filter: drop-shadow(0 4px 10px rgba(99, 102, 241, 0.5));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    width: fit-content;
    line-height: 1;
    min-height: 3rem;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotateY(10deg) rotateX(5deg);
    filter: drop-shadow(0 8px 20px rgba(96, 165, 250, 0.6));
    animation: icon-float 3s ease-in-out infinite;
}

@keyframes icon-float {
    0%, 100% {
        transform: scale(1.2) rotateY(10deg) rotateX(5deg) translateY(0);
    }
    50% {
        transform: scale(1.2) rotateY(10deg) rotateX(5deg) translateY(-10px);
    }
}

/* Modern Title */
.service-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-white);
    letter-spacing: -0.5px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 4.2rem;
}

.service-card-modern:hover .service-title {
    color: var(--royal-blue-light);
    transform: translateX(5px);
}

.service-card:hover .service-title {
    background: linear-gradient(to right, var(--royal-blue-light), var(--royal-blue), var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(5px);
}

/* Modern Tagline */
.service-tagline {
    color: var(--royal-blue-light);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.9;
    min-height: 3rem;
}

.service-card-modern:hover .service-tagline {
    color: var(--color-accent-light);
    opacity: 1;
}

.service-card:hover .service-tagline {
    color: var(--color-accent-light);
    transform: translateX(5px);
    opacity: 1;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
}

/* Modern Description */
.service-description {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    font-size: 0.95rem;
    flex-grow: 1;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 4.5rem;
    margin-bottom: 1.5rem;
}

.service-card-modern:hover .service-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Service Arrow */
.service-arrow {
    font-size: 1.5rem;
    color: var(--royal-blue-light);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: auto;
    font-weight: 300;
}

.service-card-modern:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--color-accent-light);
}

/* Additional Modern Effects */
.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--royal-blue), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 3;
}

.service-card-modern:hover::before {
    opacity: 1;
}

/* Staggered entrance animation */
.service-card-modern[data-service="1"] { animation-delay: 0.1s; }
.service-card-modern[data-service="2"] { animation-delay: 0.2s; }
.service-card-modern[data-service="3"] { animation-delay: 0.3s; }
.service-card-modern[data-service="4"] { animation-delay: 0.4s; }
.service-card-modern[data-service="5"] { animation-delay: 0.5s; }
.service-card-modern[data-service="6"] { animation-delay: 0.6s; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .service-card-modern {
        min-height: 360px;
    }
    
    .service-content {
        padding: 2rem;
    }
    
    .service-title {
        font-size: 1.5rem;
        min-height: 3.6rem;
    }
    
    .service-icon {
        font-size: 3rem;
    }
    
    .service-icon-wrapper {
        width: 70px;
        height: 70px;
    }
}

.service-card:hover .service-description {
    color: rgba(255, 255, 255, 0.95);
    transform: translateX(5px);
}

/* Ripple effect on click */
.service-card {
    position: relative;
}

.service-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.4);
    transform: scale(0);
    animation: service-ripple-animation 0.6s ease-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes service-ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Magnetic effect container */
.service-card-wrapper {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Service card content z-index */
.service-card > * {
    position: relative;
    z-index: 2;
}

/* Enhanced hover state with glow */
.service-card:hover {
    border-color: rgba(96, 165, 250, 0.4);
}

/* Pulse animation for active service cards */
@keyframes service-pulse {
    0%, 100% {
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 40px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 60px rgba(96, 165, 250, 0.5);
    }
}

.service-card:active {
    animation: service-pulse 0.3s ease;
}

/* Smooth entrance for service cards */
.service-card {
    will-change: transform, opacity;
}

/* Additional hover effects */
.service-card:hover .service-icon {
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.6);
}

/* ============================================
   Cards Slider Section
   ============================================ */

#cards-slider {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.cards-slider-wrapper {
    position: relative;
    padding: 3rem 60px;
    width: 100%;
}

.slider-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.slider-card-wrapper {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    padding: 0 10px;
}

.slider-card {
    height: 100%;
    min-height: 450px;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.slider-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.slider-card:hover::before {
    left: 100%;
}

.slider-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 30px rgba(59, 130, 246, 0.3);
}

.slider-card:active {
    transform: translateY(-4px) scale(1.01);
}

.slider-card .section-heading,
.slider-card .section-body {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.slider-card:hover .section-heading {
    color: var(--royal-blue-light);
    transform: translateX(5px);
}

.slider-card:hover .section-body {
    transform: translateX(5px);
}

/* Ripple Effect */
.slider-card {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.slider-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.slider-nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    opacity: 0.7;
}

.slider-nav-btn:hover {
    opacity: 1;
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(96, 165, 250, 0.3);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.slider-nav-btn:active {
    transform: scale(0.95);
}

.slider-nav-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* Slider Indicators */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
    z-index: 10;
    position: relative;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
}

.slider-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.3);
    transition: transform 0.3s ease;
}

.slider-indicator:hover {
    background: rgba(96, 165, 250, 0.5);
    border-color: rgba(96, 165, 250, 0.6);
    transform: scale(1.2);
}

.slider-indicator:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.slider-indicator.active {
    background: var(--royal-blue);
    border-color: var(--royal-blue-light);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
    width: 32px;
    border-radius: 6px;
}

.slider-indicator.active::before {
    display: none;
}

/* Slider Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    border-radius: 2px;
}

.slider-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--royal-blue), var(--royal-blue-light));
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Active card animation */
.slider-card-wrapper.active .slider-card {
    transform: scale(1.02);
    border-color: rgba(96, 165, 250, 0.3);
    animation: card-pulse 3s ease-in-out infinite;
}

@keyframes card-pulse {
    0%, 100% {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 0 15px rgba(59, 130, 246, 0.15);
    }
    50% {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 0 25px rgba(59, 130, 246, 0.25);
    }
}

@media (max-width: 768px) {
    .cards-slider-wrapper {
        padding: 0 50px;
    }
    
    .slider-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-nav-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .slider-card {
        min-height: 400px;
    }
    
    .slider-card-wrapper {
        padding: 0 5px;
    }
    
    #cards-slider {
        min-height: 500px;
    }
    
    .slider-container {
        min-height: 450px;
    }
    
    .cards-slider-wrapper {
        padding: 2rem 50px;
    }
}

/* ============================================
   Closing Section
   ============================================ */

.closing-section {
    position: relative;
}

.closing-card {
    position: relative;
    background: rgba(30, 58, 138, 0.2);
    border: 2px solid rgba(99, 102, 241, 0.4);
}

.closing-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    filter: blur(20px);
    transition: opacity 0.3s ease;
}

.closing-card:hover::before {
    opacity: 0.3;
}

.closing-cta {
    margin-top: 2rem;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(30, 58, 138, 0.5);
    }

    50% {
        box-shadow: 0 4px 25px rgba(139, 92, 246, 0.6);
    }
}

/* ============================================
   Footer
   ============================================ */

.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--gray-medium);
    background: rgba(0, 0, 0, 0.3);
}

.footer-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px;
        text-align: center;
    }

    .hero-subheadline {
        max-width: 100%;
    }

    .hero-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .glass-card {
        padding: 2rem;
    }

    .section-padding {
        padding: 5rem 0;
    }

    .navbar-collapse {
        margin-top: 1rem;
    }

    .btn-primary-cta {
        width: 100%;
        margin-top: 1rem;
    }

    .feature-card {
        margin-bottom: 1.5rem;
    }

    .navbar-brand .logo-img {
        height: 35px;
    }

    .nav-link {
        margin: 0.5rem 0;
    }

    .btn-nav-cta {
        margin-top: 1rem;
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 576px) {
    .hero-headline {
        font-size: 2rem;
    }

    .section-heading {
        font-size: 1.75rem;
    }

    .glass-card {
        padding: 1.5rem;
    }
}

/* ============================================
   Accessibility
   ============================================ */

*:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================================
   Fallback: Ensure content is visible
   ============================================ */

/* If JavaScript is disabled or hasn't loaded, show all content */
.no-js .section-heading,
.no-js .section-body,
.no-js .feature-card,
.no-js .glass-card,
.no-js [data-animate] {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Ensure content is visible by default, GSAP will handle animation */
.section-heading,
.section-body,
.feature-card,
.glass-card {
    will-change: opacity, transform;
}

/* Smooth transitions for reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}