    .hero-video {
        flex-basis: auto; /* Reset flex basis */
        width: 100%;     /* Allow video block to take full width */
        max-width: 100%; /* Override desktop max-width */
        order: 2;        /* Ensure video is second */
        /* display: flex; REMOVED */
        /* justify-content: center; REMOVED */
        min-width: 0;    /* Ensure flex item can shrink */
        min-height: 0;   /* Help Safari with flex item sizing */
    }

    .video-wrapper {
        width: 85%; /* Make video wrapper responsive, e.g., 85% of screen width */
        /* max-width: 400px; */
        height: auto;    /* Let aspect-ratio control height */
        aspect-ratio: 1 / 1; /* Maintain square shape */
        margin-left: auto;   /* ADDED for centering */
        margin-right: auto;  /* ADDED for centering */
    }/* ===== Base Styles ===== */
:root {
    --primary-color: #1d4ed8;
    --primary-dark: #1e40af;
    --secondary-color: #2563eb;
    --accent-color: #f97316;
    --dark-color: #1e293b;
    --gray-color: #64748b;
    --light-gray: #e2e8f0;
    --lighter-gray: #f8fafc;
    --white: #ffffff;
    --black: #000000;
    --border-radius: 8px;
    --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.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px; /* Account for fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

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

a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

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

ul {
    list-style: none;
}

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

/* ===== Accessibility ===== */
.skip-link {
    position: absolute;
    top: -100px; /* Hide well off-screen */
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 10px 15px;
    z-index: 9999;
    text-decoration: none;
    border-radius: 0 0 var(--border-radius) 0;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0; /* Bring into view on focus */
    outline: 3px solid var(--accent-color);
    outline-offset: 1px;
}

.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    text-align: center;
    position: relative;
}

/* Section header underline removed as per design */

.section-header p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* ===== Buttons ===== */
/* Hero Specific CTA Buttons */
.hero-cta-primary {
    background-color: var(--primary-color);
    color: white;
    /* Inherits padding, border-radius, font-weight from .btn */
}

.hero-cta-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.hero-cta-secondary {
    background-color: var(--accent-color);
    color: white;
    /* Inherits padding, border-radius, font-weight from .btn */
}

.hero-cta-secondary:hover {
    background-color: #dd6b20; /* Darker accent */
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 15px rgba(249, 115, 22, 0.3);
}

/* Ensure focus styles are also specific if needed, or rely on general .btn:focus-visible */
.hero-cta-primary:focus-visible, .hero-cta-secondary:focus-visible {
    outline-offset: 3px;
    /* Example: using a distinct outline for hero CTAs */
    outline: 3px solid var(--dark-color);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

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

.btn-outline:hover, .btn-outline:focus {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(30, 64, 175, 0.18);
    text-decoration: none;
}

.navbar-cta-button {
    background-color: var(--accent-color);
    color: white;
    padding: 0.7rem 1.6rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius);
    transition: all 0.25s ease-in-out;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2);
    border: 2px solid transparent; /* Consistent with .btn base */
    text-decoration: none;
}

.navbar-cta-button:hover {
    background-color: #dd6b20; /* Darker accent */
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 15px rgba(249, 115, 22, 0.3);
}

.navbar-cta-button:focus-visible {
    outline: 3px solid var(--primary-dark);
    outline-offset: 2px;
    background-color: #dd6b20; /* Darker accent for focus as well */
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 15px rgba(249, 115, 22, 0.3);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.highlight {
    color: var(--primary-color);
}

.bg-light {
    background-color: #f8fafc;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0 0 1.2rem 1.2rem;
    z-index: 1000;
    padding: 0.65rem 0;
    transition: var(--transition);
    border-bottom: 1.5px solid rgba(30, 64, 175, 0.07);
    min-height: 64px;
    box-shadow: 0 4px 18px 0 rgba(30, 64, 175, 0.07);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    min-height: 54px;
}

.logo {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -1.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    background: linear-gradient(90deg, #1d4ed8 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: var(--border-radius); /* Match if logo might have a background/border */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    font-weight: 500;
    font-size: 1.05rem;
} 

.nav-links li a {
    color: #1e293b;
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    transition: color 0.2s, border-bottom 0.2s;
    letter-spacing: 0.02em;
    background: none;
} 

.nav-links li a:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
    /* color: var(--accent-color); /* Optional: if text color should also change on focus */
}

.nav-links li a:not(.btn):not(.btn-outline)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: #f97316;
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(.4,0,.2,1);
} 

.nav-links li a:not(.btn):not(.btn-outline):hover,
.nav-links li a:not(.btn):not(.btn-outline).active {
    color: #f97316;
    background: none;
}

.nav-links li a:not(.btn):not(.btn-outline):hover::after,
.nav-links li a:not(.btn):not(.btn-outline).active::after {
    width: 100%;
} 

.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #1e293b;
    background: none;
    border-radius: 50%;
    padding: 0.3rem 0.5rem;
    transition: background 0.2s, color 0.2s;
    border: none;
    box-shadow: none;
}

.menu-toggle:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
    background-color: #e0e0e0; /* Subtle background for keyboard focus */
    color: var(--primary-dark);
}

.menu-toggle.active,
.menu-toggle:hover {
    background: #f3f4f6;
    color: #1d4ed8;
} 

@media (max-width: 900px) {
    .navbar .container {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .navbar {
        border-radius: 0 0 1rem 1rem;
        padding: 0.35rem 0;
    }
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100vw;
        background: #fff;
        color: #1e293b;
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 2.2rem 1.5rem 2rem 1.5rem;
        box-shadow: 0 10px 30px 0 rgba(31, 38, 135, 0.13);
        transform: translateY(-150%);
        transition: transform 0.3s cubic-bezier(.4,0,.2,1);
        z-index: 9999;
        border-radius: 0 0 1.2rem 1.2rem;
    }
    .nav-links.active {
        transform: translateY(0);
        z-index: 1001; /* Ensure mobile menu is above navbar (z-index: 1000) */
    }
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    .nav-links li a {
        font-size: 1.18rem;
        padding: 0.85rem 0.5rem;
        border-radius: 10px;
        display: inline-block;
        width: 100%;
        margin: 0.2rem 0;
        color: #1e293b;
        background: none;
    }
    .nav-links li a:hover, .nav-links li a.active {
        color: #f97316;
        background: none;
    }
    .btn.btn-outline {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 4rem 0;
    }
    .hero {
        padding: 5rem 0;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Hero layout adjustments for mobile */
    .hero .container {
        flex-direction: column;
        gap: 2rem; /* Spacing between content and video when stacked */
        text-align: center; /* Center align text and video block */
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-content {
        flex-basis: auto; /* Reset flex basis */
        width: 100%;     /* Allow content to take full width */
        max-width: 100%; /* Override desktop max-width for centering */
        order: 1;        /* Ensure text content is first */
        min-width: 0;    /* Ensure flex item can shrink */
    }

    .hero-video {
        flex-basis: auto; /* Reset flex basis */
        width: 100%;     /* Allow video block to take full width */
        max-width: 100%; /* Override desktop max-width */
        order: 2;        /* Ensure video is second */
        display: flex;
        justify-content: center; /* Center the video-wrapper */
        min-width: 0;    /* Ensure flex item can shrink */
        min-height: 0;   /* Help Safari with flex item sizing */
        overflow: hidden; /* Prevent overflow */
    }

    .video-wrapper {
        width: 85%; /* Make video wrapper responsive */
        max-width: 350px; /* Limit maximum width on small screens */
        height: auto;    /* Let aspect-ratio control height */
        aspect-ratio: 1 / 1; /* Maintain square shape */
        margin: 0 auto; /* Center the video wrapper */
        overflow: hidden; /* Prevent content from spilling out */
    }
    
    .video-wrapper video#heroPlayer {
        width: 100%; /* Ensure video fills the wrapper */
        height: 100%; /* Ensure video fills the wrapper */
        object-fit: cover; /* Cover the container while maintaining aspect ratio */
        /* border-radius and box-shadow removed as they are on the wrapper */
    }
}

/* iPhone and small mobile specific fixes */
@media only screen and (max-width: 767px) {
    /* Hide hero video on mobile devices */
    .hero-video {
        display: none !important; /* Force hide with !important */
    }
    
    /* Ensure hero section is properly sized */
    .hero {
        min-height: auto;
        padding: 4rem 0;
        width: 100%;
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }
    
    /* Adjust hero container */
    .hero .container {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        display: block; /* Change from flex to block for simpler layout */
    }
    
    /* Adjust hero content to take full width */
    .hero-content {
        width: 100%;
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
        padding: 0;
    }
    
    /* Center CTA buttons */
    .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    
    /* Make buttons full width on very small screens */
    .cta-buttons .btn {
        width: 80%;
        margin: 0 auto;
    }
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 50vh; /* Adjusted for potentially taller content */
    display: flex;
    align-items: center;
    padding: 5rem 0; /* Increased padding */
    overflow: hidden;
    background: linear-gradient(135deg, #e3e7ff 0%, #ffffff 100%);
}

.hero .container {
    display: flex;
    align-items: center; /* Vertically align items */
    gap: 3rem; /* Space between text and video */
    position: relative; /* For z-index stacking if needed */
    z-index: 2; /* Ensure container is above background video */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    opacity: 0.3;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.hero-content {
    flex: 1 1 55%; /* Allow content to take more space if needed */
    color: #000000; /* Already changed by user, but good to confirm */
    padding: 1rem 0; /* Adjusted padding */
    max-width: 650px; /* Max width for text block */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    font-weight: 800;
    color: #000000;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero .highlight {
    color: #60a5fa;
    font-weight: 800;
}

.hero .tagline {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f3097;
    font-weight: 700;
    max-width: 600px;
    line-height: 1.6;
}

.hero .subtag {
    font-size: 1.1rem; /* Adjusted from user's 1.25rem for better hierarchy */
    margin-bottom: 2rem; /* Increased bottom margin before CTAs */
    color: #5a839b; /* User updated to #72c0cb, slightly desaturated for harmony */
    font-weight: 500;
    max-width: 600px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #3b82f6;
    color: #3b82f6;
}

/* Updated Hero Video Styles for Custom Player */
.hero-video {
    flex: 1 1 45%; /* Video takes remaining space */
    max-width: 550px; /* Max width for video container */
    display: flex; /* Added to help center the square video-wrapper */
    justify-content: center; /* Center video-wrapper if .hero-video is wider */
    align-items: center; /* Center video-wrapper vertically */
}

.video-wrapper {
    position: relative;
    width: 400px; /* Define desired square size, can be responsive later */
    height: 400px; /* Define desired square size */
    overflow: hidden;
    border-radius: var(--border-radius-large, 12px); /* Consistent rounded corners */
    box-shadow: var(--shadow-xl, 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04)); /* Prominent shadow */
    background-color: #000; /* Fallback if poster doesn't load or for aspect ratio gaps */
}

.video-wrapper video#heroPlayer { /* Target the specific video element */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* This will crop the landscape video to fit the square */
    /* border-radius and box-shadow removed as they are on the wrapper */
}

.play-pause-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.2); /* Lighter, more subtle background */
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8); /* White border for definition */
    border-radius: 50%;
    width: 70px;  /* Adjusted size */
    height: 70px; /* Adjusted size */
    font-size: 2rem; /* Icon size, adjusted */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(5px); /* Safari support */
}

.play-pause-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-pause-button:focus-visible {
    outline: 3px solid var(--accent-color, #f97316);
    outline-offset: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-color: white;
}

/* JS will toggle fa-play/fa-pause classes on the <i> element directly */

/* ===== Services Section ===== */
#services {
    padding: 4rem 0;
}

#services .section-header {
    margin-bottom: 2.5rem;
}

#services .section-header h2 {
    color: #0f172a;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

#services .section-header p {
    color: #64748b;
    font-size: 1.125rem;
    margin-bottom: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--card-bg, white);
    border-radius: var(--border-radius-large, 1rem); /* Slightly larger radius */
    overflow: hidden;
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06));
    transition: all 0.3s ease;
    border: 1px solid var(--border-color, #e2e8f0);
    display: flex;
    flex-direction: column;
    padding: 2rem; /* Add padding to the card itself */
}

.service-card:hover {
    transform: translateY(-10px); /* Increased upward movement */
    box-shadow: var(--shadow-xl, 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)); /* More pronounced shadow */
}

.service-icon-container {
    width: 64px; /* Size of the icon circle */
    height: 64px;
    border-radius: 50%;
    background-color: var(--primary-light, #e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem; /* Space below icon */
}

.service-icon-container i {
    font-size: 2rem; /* Icon size */
    color: var(--primary-color, #3b82f6);
}

.service-content {
    /* Padding moved to .service-card */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    color: var(--dark-color, #1e293b);
    font-size: 1.6rem; /* Larger title */
    font-weight: 700; /* Bolder */
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.service-card p {
    color: var(--gray-color-dark, #4b5563);
    font-size: 1rem; /* Slightly larger paragraph text */
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.service-features {
    margin: 0 0 0.5rem 0; /* Adjusted margin */
    padding: 0;
    list-style: none;
}

.service-features li {
    color: var(--gray-color-text, #374151);
    font-size: 0.85rem;
    line-height: 1.7;
    padding: 0.3rem 0 0.3rem 1.75rem; /* Increased padding for icon */
    position: relative;
    margin-bottom: 0.2rem; /* More space between items */
}

.service-features li::before {
    content: '\f00c'; /* Font Awesome checkmark */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900; /* Required for solid icons */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: var(--primary-color, #3b82f6);
    width: auto; /* Remove fixed width/height */
    height: auto;
    background-color: transparent; /* Remove background */
    border-radius: 0; /* Remove border-radius */
}

/* ===== How It Works Section ===== */
#how-it-works {
    background-color: #92a1f9;
    padding: 4rem 0;
}

#how-it-works .section-header {
    margin-bottom: 2rem;
}

#how-it-works .section-header h2 {
    color: #0f172a;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

#how-it-works .section-header p {
    color: #ffffff;
    font-size: 1.125rem;
    margin-bottom: 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Default for large screens */
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 992px) { /* Tablet */
    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 576px) { /* Mobile */
    .steps {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 1rem;
    }
    .step { /* Adjust padding for smaller screens if needed */
        padding: 1.25rem;
    }
}

.step {
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.step:focus-visible {
    outline: 3px solid var(--accent-color, #f97316);
    outline-offset: 2px;
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.step-number {
    background: linear-gradient(135deg, #ffffff 0%, #f0f2f5 100%);
    color: var(--primary-dark, #2563eb);
    font-size: 1.75rem;
    font-weight: 700;
    width: 56px;
    height: 56px;
    line-height: 56px; 
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 2px solid var(--primary-color, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.step h3 {
    color: var(--dark-color, #1e293b);
    font-size: 1.3rem; 
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step p {
    color: var(--gray-color, #64748b);
    font-size: 0.95rem; 
    line-height: 1.5;
    margin-bottom: 0; /* Remove default p margin if any, to control spacing within step */
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2360a5fa'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 5l7 7-7 7' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e3e7ff 0%, #ffffff 100%); /* Fixed syntax */
    color: var(--primary-dark, #2563eb); /* Improved contrast for visibility */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.step h3 {
    color: #1e293b;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step p {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color, #3b82f6) 0%, var(--primary-dark, #2563eb) 100%);
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px; /* Constrain line length for readability */
    margin-left: auto;
    margin-right: auto;
}

.cta-section-button {
    /* Inherits .btn base styles for display, text-decoration etc. */
    padding: 1rem 2.5rem; /* Generous padding */
    font-size: 1.15rem;
    font-weight: 600;
    background-color: var(--accent-color, #f97316);
    color: white;
    border-radius: var(--border-radius-pill, 50px); /* Pill shape */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-section-button:hover, .cta-section-button:focus-visible {
    background-color: var(--accent-dark, #dd6b20);
    color: white;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border-color: var(--accent-dark, #dd6b20);
}

/* ===== About Section ===== */
#about {
    padding: 3rem 0;
    background-color: #f8fafc;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.about-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #0f172a;
    line-height: 1.2;
    font-weight: 700;
}

.about-content > p {
    color: #475569;
    margin-bottom: 1.75rem;
    line-height: 1.6;
    font-size: 1.0625rem;
}

.features {
    display: grid;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
}

.feature i {
    color: #1d4ed8;
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature h4 {
    font-size: 1.0625rem;
    margin-bottom: 0.35rem;
    color: #1e293b;
    font-weight: 600;
}

.feature p {
    margin: 0;
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.5;
}

.about-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    min-height: 400px;
}

.about-image:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .about-grid {
        gap: 3rem;
    }
}

@media (max-width: 1024px) {
    .about-grid {
        gap: 2.5rem;
    }
    
    .about-content h2 {
        font-size: 1.625rem;
    }
}

@media (max-width: 768px) {
    #about {
        padding: 2.5rem 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-image {
        order: -1;
        max-width: 100%;
        min-height: 350px;
        margin: 0 auto;
    }
    
    .about-content > p {
        margin-bottom: 1.5rem;
    }
    
    .features {
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .feature {
        padding: 1rem;
    }
    
    .about-image {
        min-height: 280px;
    }
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #172554 100%);
    color: white;
    padding: 3.5rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(56, 182, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: white;
}

.cta-section p {
    font-size: 1.125rem;
    margin: 0 auto 1.75rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-buttons .btn-large {
    padding: 0.875rem 2.5rem;
    font-size: 1.0625rem;
    font-weight: 600;
    border-radius: 8px;
    background: white;
    color: #1e40af;
    transition: all 0.3s ease;
}

.cta-buttons .btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    background: #f8fafc;
}


.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border-radius: 50%;
    color: var(--dark-color);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}


/* ===== Footer ===== */
.footer {
    background-color: var(--dark-color, #1e293b); /* Ensure fallback */
    color: var(--light-gray, #e2e8f0);
    padding: 4rem 0 2rem;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Wider minmax for better spacing */
    gap: 2.5rem; /* Adjusted gap */
    margin-bottom: 3rem;
}

/* Generalizing footer column titles */
.footer-about h3, .footer-links h4, .footer-services h4, .footer-contact h4 { /* Assuming h4 for other columns based on HTML structure */
    font-size: 1.2rem;
    color: var(--white, #ffffff);
    margin-bottom: 1.25rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-about h3::after, .footer-links h4::after, .footer-services h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color, #f97316); /* Use accent color for underline */
}

.footer-logo {
    font-size: 1.6rem; /* Slightly larger */
    font-weight: 700;
    color: var(--white, #ffffff);
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-about p {
    color: var(--light-gray, #e2e8f0);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer ul li a {
    color: var(--gray-color, #9ca3af); /* Lighter gray for links, non-blue */
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer ul li a:hover,
.footer ul li a:focus-visible {
    color: var(--accent-color, #f97316); /* Accent color for hover/focus */
    padding-left: 5px; /* Subtle indent on hover */
}

/* Styles for social links from earlier attempt, assuming .social-links class is in HTML */
.social-links a {
    display: inline-flex; /* Use flex for better icon alignment */
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white, #ffffff);
    margin-right: 0.6rem;
    font-size: 1.1rem; /* Adjust icon size if needed */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
    background-color: var(--accent-color, #f97316);
    color: var(--white, #ffffff);
    transform: translateY(-3px) scale(1.05);
}


.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Lighter border */
    padding-top: 2rem;
    margin-top: 2rem; /* Add margin for separation */
    text-align: center;
    color: var(--gray-color, #9ca3af);
    font-size: 0.9rem;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .step {
        text-align: left;
        display: flex;
        align-items: flex-start;
    }
    
    .step-number {
        margin: 0 1.5rem 0 0;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        z-index: 1001; /* Ensure mobile menu is above navbar (z-index: 1000) */
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links li a {
        display: block;
        padding: 1rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-video {
        display: none;
    }
    
    .hero-content {
        flex-basis: 100%;
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 4rem 0;
    }
    
    .hero {
        padding: 5rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Modals ===== */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top - higher than navbar */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity for overlay */
    padding-top: 60px; /* Location of the box */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    display: block; /* Show the modal */
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto; /* 5% from the top and centered */
    padding: 25px 30px;
    border: 1px solid #ddd;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 700px; /* Maximum width */
    border-radius: var(--border-radius-large, 1rem);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    animation: slideInFromTop 0.4s ease-out;
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

.modal-close-btn:hover,
.modal-close-btn:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.modal-service-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius, 0.5rem);
    margin-bottom: 20px;
}

#modalServiceTitle {
    font-size: 2rem;
    color: var(--primary-dark, #1e3a8a);
    margin-bottom: 15px;
}

#modalServiceDescription {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-color-dark, #4b5563);
    margin-bottom: 20px;
}

.modal-content h4 {
    font-size: 1.2rem;
    color: var(--dark-color, #1e293b);
    margin-bottom: 10px;
    font-weight: 600;
}

.modal-service-features-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.modal-service-features-list li {
    padding: 0.4rem 0 0.4rem 1.75rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--gray-color-text, #374151);
    line-height: 1.5;
}

.modal-service-features-list li::before {
    content: '\f00c'; /* Font Awesome checkmark */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900; /* Required for solid icons */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: var(--primary-color, #3b82f6);
}

.modal-cta-button {
    display: inline-block;
    margin-top: 10px;
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        padding: 20px;
        margin-top: 10%;
    }
    #modalServiceTitle {
        font-size: 1.75rem;
    }
    .modal-service-image {
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        padding: 15px;
        margin-top: 15%;
    }
    #modalServiceTitle {
        font-size: 1.5rem;
    }
    #modalServiceDescription {
        font-size: 0.95rem;
    }
    .modal-service-features-list li {
        font-size: 0.9rem;
    }
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 60px 0;
    background-color: var(--light-gray-color, #f9fafb); /* Or keep transparent if preferred */
}

.faq-section .section-title h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #0f172a;
    line-height: 1.2;
    font-weight: 700;
}

.faq-section .section-title p {
    margin-bottom: 30px;
    color: var(--gray-color-text);
}

.faq-list {
    /*max-width: 800px; can make into box */
    margin: 0 auto;
}

.faq-list ul {
    list-style: none;
    padding: 0;
}

.faq-list li {
    border-bottom: 1px solid var(--border-color, #e5e7eb);
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.faq-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 5px 2px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color, #1e293b);
    text-align: left;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-question-btn:hover {
    background-color: var(--light-accent-color, #e0e7ff);
}

.faq-question-btn span {
    flex-grow: 1;
    margin-right: 10px;
}

.faq-question-btn .icon-show {
    display: inline-block;
}

.faq-question-btn .icon-close {
    display: none;
}

.faq-question-btn[aria-expanded="true"] .icon-show {
    display: none;
}

.faq-question-btn[aria-expanded="true"] .icon-close {
    display: inline-block;
}

.faq-question-btn[aria-expanded="true"] {
    color: var(--primary-color);
    background-color: var(--light-accent-color, #eef2ff); /* Keep a subtle background when open */
}

.faq-answer {
    padding: 0 10px; /* Initially no padding, JS will animate */
    background-color: #fff; /* Slightly different background for answer */
    overflow: hidden;
    max-height: 0; /* Collapsed by default */
    transition: max-height 0.35s ease-out, padding-top 0.35s ease-out, padding-bottom 0.35s ease-out;
}

.faq-answer.open {
    /* padding is set by JS before max-height for smooth animation */
    /* max-height will be set by JS */
}

.faq-answer p {
    margin: 0;
    padding-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-color-dark, #4b5563);
}

/* If using AOS for the li items, this ensures they are visible before animation */
[data-aos^=fade][data-aos^=fade].aos-animate {
    opacity: 1;
    transform: none;
}

/* Responsive for FAQ */
@media (max-width: 768px) {
    .faq-question-btn {
        font-size: 1rem;
        padding: 12px 8px;
    }
    .faq-answer p {
        font-size: 0.95rem;
    }
}

/* Temporary Unavailability Modal Styles */
.temp-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000; /* Higher than navbar and other modals if any */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6); /* Darker overlay */
    align-items: center; /* For vertical centering */
    justify-content: center; /* For horizontal centering */
}

.temp-modal.active {
    display: flex; /* Use flex to center content */
}

.temp-modal-content {
    background-color: #fff;
    margin: auto;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 500px; /* Max width for the modal */
    text-align: center;
    position: relative; /* For positioning close button */
    animation: fadeInModal 0.3s ease-out;
}

.temp-modal-content h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-color); /* Or your preferred heading color */
    font-size: 1.8rem;
}

.temp-modal-content p {
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.temp-modal-content p:last-of-type {
    margin-bottom: 25px;
}

.temp-modal-close-btn {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.temp-modal-close-btn:hover,
.temp-modal-close-btn:focus {
    color: #333;
    text-decoration: none;
}

.temp-modal-ok-btn {
    background-color: var(--primary-color); /* Or your preferred button color */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.temp-modal-ok-btn:hover {
    background-color: var(--secondary-color); /* Darker shade for hover */
}

/* Re-using existing fadeInModal animation if suitable, or define one */
@keyframes fadeInModal {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    /* Simple vertical stacking for hero section */
    .hero .container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        text-align: center;
        order: 1;
    }
    
    .hero-video {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        order: 2;
    }
    
    .video-wrapper {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    /* Other mobile styles remain unchanged */
    .menu-toggle {
        display: block;
    }
}
