:root {
    /* Colors */
    --primary-blue: #38bdf8;
    /* Lighter Sky blue from logo */
    --secondary-blue: #0f172a;
    /* Deep Navy blue from logo */
    --accent-gray: #f8fafc;
    --text-dark: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --transition: all 0.3s ease;

    /* Spacing */
    --container-width: 1280px;
    --header-height: 80px;
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    padding-top: var(--header-height);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--secondary-blue);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--accent-gray);
}

.text-center {
    text-align: center;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--secondary-blue);
    /* Better contrast on light blue */
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    color: var(--white);
    border-color: var(--secondary-blue);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary-blue);
    border: 2px solid var(--secondary-blue);
}

.btn-outline:hover {
    background-color: var(--secondary-blue);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--white);
}

.btn-white:hover {
    background-color: transparent;
    color: var(--white);
}

.btn-link {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-link:hover {
    gap: 0.8rem;
    color: var(--secondary-blue);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 85px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-blue);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-blue);
}

/* Hero Section - Video Background */
.hero-video-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    /* Dark blue overlay */
    z-index: -1;
}

.hero-content-container {
    position: relative;
    z-index: 1;
    color: var(--white);
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.slider-category {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.slider-headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--white);
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.slider-punchline {
    font-size: 1.5rem;
    font-weight: 500;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.slider-description {
    font-size: 1.1rem;
    color: #cbd5e1;
    /* Light gray */
    margin-bottom: 0;
    max-width: 600px;
    line-height: 1.6;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* Custom Grid for Hero */
.hero-content-container .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 -1rem;
}

.hero-text-col {
    width: 60%;
    padding: 0 1rem;
}

.hero-form-col {
    width: 40%;
    padding: 0 1rem;
}

#hero-text-slider {
    color: var(--primary-blue);
    display: inline-block;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    /* Light gray */
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
}

/* Enquiry Form */
/* Enquiry Form - Glassmorphism */
.hero-enquiry-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.hero-enquiry-form h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.hero-enquiry-form p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero-enquiry-form .form-control,
.hero-enquiry-form .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    width: 100%;
    font-family: inherit;
    transition: var(--transition);
    color: var(--white);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.hero-enquiry-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Fix for select dropdown arrow color (optional but good) */
.hero-enquiry-form .form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

.hero-enquiry-form .form-select option {
    background-color: var(--secondary-blue);
    color: var(--white);
}

.hero-enquiry-form .form-control:focus,
.hero-enquiry-form .form-select:focus {
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3);
}

.hero-enquiry-form .mb-3 {
    margin-bottom: 1rem;
}

.hero-enquiry-form .w-100 {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-video-wrapper {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-content-container .row {
        flex-direction: column;
    }

    .hero-text-col,
    .hero-form-col {
        width: 100%;
        padding: 0 1rem;
    }

    .hero-text-col {
        margin-bottom: 3rem;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* Client Trust - Slider */
.trust-section {
    padding: 60px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    /* Hide scrollbar */
}

.section-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.logo-slider {
    overflow: hidden;
    padding: 10px 0;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.logo-slider::before,
.logo-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.logo-slider::before {
    left: 0;
    background: linear-gradient(to right, white 0%, transparent 100%);
}

.logo-slider::after {
    right: 0;
    background: linear-gradient(to left, white 0%, transparent 100%);
}

.logo-track {
    display: inline-flex;
    align-items: center;
    animation: scroll 25s linear infinite;
    gap: 4rem;
    /* Spacing between logos */
    padding-left: 4rem;
    /* Initial padding matches gap */
}

.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

.logo-slide {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-slide img {
    height: 50px;
    width: auto;
    max-width: 150px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-slide:hover {
    transform: scale(1.1);
}

.logo-slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move by half the width (one full set of logos) */
    }
}


/* Services Grid */
.services-grid-8 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-blue);
}

.service-card-link {
    display: block;
    height: 100%;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    background: var(--primary-blue);
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.learn-more {
    font-weight: 600;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

/* Why Us */
.why-us-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.why-us-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .why-us-features {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 2rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

/* Industries */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.industry-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.industry-card:hover {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: var(--border-color);
}

.industry-card i {
    font-size: 2.5rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.industry-card h4 {
    margin-bottom: 0.5rem;
}

.industry-card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.industry-card a {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-img {
    height: 240px;
    background: #cbd5e1;
    position: relative;
}

.placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e2e8f0;
    color: #94a3b8;
}

.project-content {
    padding: 1.5rem;
}

.project-tags {
    font-size: 0.8rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.project-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Process */
.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #cbd5e1;
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    background: var(--accent-gray);
    /* Match section bg to hide line if needed, or transparent */
    padding: 0 10px;
    flex: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.25rem;
    color: var(--secondary-blue);
    transition: var(--transition);
    flex-shrink: 0;
}

.process-step:hover .step-icon {
    background: var(--primary-blue);
    color: var(--white);
}

.step-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.testimonial-slider {
    width: 100%;
    padding-bottom: 50px;
    /* Space for pagination */
    overflow: hidden;
    /* Important for Swiper */
}

/* Testimonials Grid Removed */

.testimonial-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
    border: 1px solid #f1f5f9;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.quote-icon {
    font-size: 2rem;
    color: #bae6fd;
    /* Light blue quote color */
    margin-bottom: 1.5rem;
    display: block;
}

.quote-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
    flex-grow: 1;
}

.client-info h4 {
    color: var(--secondary-blue);
    font-weight: 700;
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.client-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stars {
    color: #fbbf24;
    /* Amber/Gold */
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--primary-blue);
    width: 24px;
    border-radius: 5px;
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-thumb {
    height: 200px;
    background: #cbd5e1;
}

.blog-content {
    padding: 1.5rem;
}

.blog-cat {
    font-size: 0.8rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.blog-content h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.read-more {
    font-weight: 600;
    color: var(--secondary-blue);
    font-size: 0.9rem;
}

.read-more:hover {
    color: var(--primary-blue);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0F172A 0%, #0EA5E9 100%);
    color: var(--white);
    padding: 100px 0;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: #cbd5e1;
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

/* Footer & Additional */
footer {
    background-color: var(--secondary-blue);
    color: var(--white);
    padding: 80px 0 20px;
}

/* CTA Form Styles */
.final-cta-form {
    max-width: 100%;
}

.form-row-custom {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
    /* Align inputs */
}

.form-group-custom {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group-custom label {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
    text-align: left;
}

.form-group-custom input,
.form-group-custom select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 1rem;
    height: 50px;
    /* Uniform height */
}

/* Phone Input Wrapper */
.phone-input-wrapper {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: var(--white);
    overflow: hidden;
}

.phone-input-wrapper select.country-code {
    width: 80px;
    border: none;
    border-right: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0;
    padding: 0 5px 0 10px;
    font-weight: 600;
}

.phone-input-wrapper input {
    border: none;
    border-radius: 0;
}

.form-group-custom input:focus,
.form-group-custom select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

/* Responsiveness for Form */
@media (max-width: 992px) {
    .form-row-custom {
        flex-direction: column;
        gap: 1.5rem;
    }

    .form-group-custom {
        width: 100%;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    background: var(--white);
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 75px;
    width: auto;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col p {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #cbd5e1;
}

.footer-col ul li a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 1.5rem;
        height: calc(100vh - var(--header-height));
        /* Ensure it takes full available height */
        overflow-y: auto;
        /* Enable vertical scrolling */
        padding-bottom: 4rem;
        /* Add space at bottom for better scrolling */
    }

    .nav-menu.active {
        left: 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .why-us-container {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        flex-direction: column;
        gap: 2rem;
    }

    .process-timeline::before {
        display: none;
    }

    .process-step {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 1.5rem;
    }

    .step-icon {
        margin: 0;
    }

    .step-number {
        right: 20px;
        left: auto;
        top: 50%;
        transform: translateY(-50%);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Mega Menu Styles */
    .has-mega-menu {
        flex-direction: column;
        width: 100%;
    }

    .has-mega-menu .nav-link {
        display: flex;
        justify-content: center;
        /* Center the Services text */
        align-items: center;
        width: 100%;
        padding: 0;
        /* Remove padding to match other centered items */
        gap: 10px;
        /* Space between text and chevron */
    }

    .has-mega-menu .fa-chevron-down {
        transition: transform 0.3s ease;
        padding: 10px;
        /* Increase touch area */
    }

    .has-mega-menu.dropdown-active .fa-chevron-down {
        transform: rotate(180deg);
    }

    .mega-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        padding: 0;
        border: none;
        background: #f8fafc;
        border-top: 1px solid #e2e8f0;
        border-bottom: 1px solid #e2e8f0;
        transform: none;
    }

    .has-mega-menu.dropdown-active .mega-menu {
        display: block;
    }

    .mega-menu-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .mega-menu-item {
        padding: 1rem 2rem;
        border-bottom: 1px solid #e2e8f0;
        border-radius: 0;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .mega-menu-item:last-child {
        border-bottom: none;
    }

    .mega-menu-item .mm-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .mega-menu-item .mm-content h4 {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .mega-menu-item .mm-content p {
        display: none;
        /* Hide description on mobile to save space */
    }
}

/* ---------------------------------------------------- */
/* Mega Menu Styles (Added for Services)                */
/* ---------------------------------------------------- */

/* Default hidden on mobile */
.mega-menu {
    display: none;
}

@media (min-width: 992px) {
    .has-mega-menu {
        position: static;
        /* Allows mega menu to be full width of relative container if needed, or stick to li */
    }

    /* Make the nav item relative so we can position if we want, 
       but for full width usually we want static on LI and generic on UL or Nav */
    nav ul li.has-mega-menu {
        position: static;
    }

    .mega-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 50%;
        /* Center alignment strategy */
        transform: translateX(-50%) translateY(10px);
        width: 1100px;
        /* Increased width for 4 cols */
        max-width: 95vw;
        /* Fixed wide width */
        background: white;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        border-radius: 12px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        border-top: 3px solid var(--primary-blue);
    }

    /* Show on hover */
    .has-mega-menu:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    /* Grid Layout */
    .mega-menu-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        /* 4 Columns */
        gap: 1.5rem;
    }

    .mega-menu-item {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
        border-radius: 8px;
        text-decoration: none;
        transition: background 0.2s;
        border: 1px solid transparent;
    }

    .mega-menu-item:hover {
        background: #f0f9ff;
        border-color: #e0f2fe;
    }

    .mega-menu-item .mm-icon {
        background: white;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-blue);
        font-size: 1.1rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        flex-shrink: 0;
    }

    .mega-menu-item .mm-content h4 {
        margin: 0 0 0.3rem 0;
        font-size: 0.95rem;
        color: var(--secondary-blue);
        font-weight: 600;
        transition: color 0.2s;
    }

    .mega-menu-item:hover .mm-content h4 {
        color: var(--primary-blue);
    }

    .mega-menu-item .mm-content p {
        margin: 0;
        font-size: 0.8rem;
        color: var(--text-light);
        line-height: 1.4;
    }
}

/* ---------------------------------------------------- */
/* Footer Copyright Bar                                 */
/* ---------------------------------------------------- */
.footer-bottom {
    background-color: var(--secondary-blue);
    color: #cbd5e1;
    /* Light slate for text on dark bg */
    padding: 1.5rem 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}



.footer-bottom .footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom .footer-legal-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .footer-legal-links a:hover {
    color: var(--primary-blue);
}

@media (max-width: 768px) {
    .footer-bottom .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* Mobile Adjustments for Hero & Menu */
@media (max-width: 991px) {

    /* Hero Text Sizing & Layout */
    .hero-text-col,
    .hero-form-col {
        width: 100%;
        padding: 0 1rem;
    }

    .hero-text-col {
        margin-bottom: 2rem;
    }

    .slider-headline {
        font-size: 2.1rem;
        /* Further reduced */
        word-wrap: break-word;
        overflow-wrap: break-word;
        /* Ensure wrapping */
        hyphens: auto;
        width: 100%;
        /* Ensure it doesn't overflow container */
    }

    .slider-punchline {
        font-size: 1.1rem;
    }

    .slider-description {
        font-size: 0.95rem;
    }

    /* Fix Process Steps Elliptical Issue */
    .step-icon {
        min-width: 60px;
        /* Force minimum width */
        min-height: 60px;
        /* Force minimum height */
    }

    /* Mobile Mega Menu */
    .mega-menu {
        display: none;
        position: static;
        width: 100%;
        max-width: 100%;
        box-shadow: none;
        padding: 0 0 0 1rem;
        /* Indent sub-items */
        border-top: none;
        background: transparent;
        /* Seamless look */
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 10px;
        /* Slight gap */
    }

    /* Show when parent LI has active class */
    .has-mega-menu.active .mega-menu {
        display: block !important;
        /* Force display */
    }

    .mega-menu-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mega-menu-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 0.8rem 0;
        background: transparent;
        /* Remove hover bg on mobile */
        border-color: rgba(0, 0, 0, 0.05);
    }

    .mega-menu-item:hover {
        background: transparent;
    }

    /* Ensure dropdown toggle clickable area is good */
    .mobile-dropdown-toggle {
        padding: 5px;
        font-size: 1rem !important;
        /* Larger touch target */
    }

    /* Make mobile menu font normal */
    .mega-menu-item .mm-content h4 {
        font-weight: normal;
    }
}