/* Base Styles & Design Tokens */
html {
    scroll-behavior: smooth;
    overflow-x: clip; /* clip prevents overflow without breaking position: sticky */
}

:root {
    --primary-color: #0D1464;
    --text-color: #333333;
    --bg-color: #F8F9FA;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: clip;
}

/* Top Bar */
.top-bar {
    background-color: #ffffff;
    padding: 0.6rem 0;
    font-size: 0.85rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar-contacts {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.contact-link, .contact-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0D1475;
    text-decoration: none;
    font-weight: 500;
}

.contact-link svg, .contact-text svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    fill: #0D1475;
}

.contact-link:hover {
    text-decoration: underline;
}


/* Main Header */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 1.5rem 0 2.5rem 0;
}

.main-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    max-width: 1490px;
    margin: 0 auto;
}

.logo-wrapper {
    flex-shrink: 0;
}

.site-logo {
    max-height: 80px;
    width: auto;
}

.header-actions {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    column-gap: 2.5rem;
    row-gap: 0.5rem;
    align-items: center;
}

.header-phone-btn {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.header-cta-btn {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.d-mobile {
    display: none;
}

.d-desktop {
    display: inline;
}



.header-address {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    justify-self: center;
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.pin-icon {
    color: #e91e63;
    font-size: 1rem;
}

@media (max-width: 992px) {
    .main-header {
        position: static !important;
        padding-bottom: 1rem !important;
    }
    .d-mobile {
        display: inline;
    }
    .d-desktop {
        display: none;
    }
    .main-header-inner {
        flex-direction: column;
        gap: 1rem;
    }
    .header-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 0.4rem;
        width: 100%;
    }
    .header-phone-btn {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        font-size: 14px !important;
        padding: 0.4rem 0.2rem !important;
        white-space: nowrap;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header-cta-btn {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        font-size: 14px !important;
        padding: 0.4rem 0.2rem !important;
        white-space: nowrap;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header-address {
        grid-column: 1 / -1;
        grid-row: 2 / 3;
        width: 100%;
        margin-top: 0.5rem;
        white-space: normal;
        justify-content: center;
        text-align: center;
        font-size: 0.75rem;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #000000;
    text-decoration: none;
    font-weight: 400;
    font-size: 13px;
    padding: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.2s ease;
    text-transform: uppercase;
}

.nav-link:hover, .nav-item.active .nav-link {
    color: #0D1475;
}

.dropdown-arrow {
    font-size: 0.6rem;
    color: #888;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #5890E5;
    min-width: 240px;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.7rem 1.2rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

/* Hero Section */
.hero-section {
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background-image: url('images/new-patients-inner-banner.webp');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    position: relative;
    padding: 4rem 2rem;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 10;
    display: block; 
    transform: translateY(2px); /* Pushes the wave down slightly to hide the line/subpixel gap */
}

.hero-container {
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-mobile-img {
    display: none;
}

.hero-content {
    max-width: 600px;
    animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-title {
    color: var(--primary-color);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #444; /* Dark gray for readability */
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.hero-bullet-list {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
}

.hero-bullet-list li {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 2rem;
}

.hero-bullet-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Animations */
@keyframes slideInLeft {
    from {
        /* 0.01 not 0: content with opacity 0 is excluded from LCP, which
           delays the metric by the full animation length */
        opacity: 0.01;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1.5rem 0rem; /* Very little padding at the top, none at the bottom */
        background-image: url('images/hero-mobile.webp') !important;
        background-position: center bottom !important;
        background-size: cover;
        display: block; /* Override flex to allow content to stick to top naturally */
        min-height: 114vh;
    }

    .hero-container {
        display: block;
        padding-top: 1rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        display: block;
        margin-bottom: 2rem;
    }

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

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

    .hero-title {
        font-size: 2.75rem;
        margin-bottom: 0.5rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    background-color: #F1F5FA; /* Matches the bottom of the SVG wave */
    padding: 1rem 2rem 5rem;
    position: relative;
}

.container {
    max-width: 1490px;
    margin: 0 auto;
}

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

.section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: #5890E5;
    margin: 0 auto;
    border-radius: 2px;
}

.google-reviews-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.google-icon-wrapper {
    flex-shrink: 0;
}

.google-reviews-info {
    text-align: left;
}

.google-reviews-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.google-reviews-rating {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    color: #555;
    font-weight: 600;
}

.rating-number {
    font-size: 1.1rem;
    color: #333;
}

.rating-stars {
    color: #FFC107;
    letter-spacing: 2px;
}

.rating-text {
    font-size: 0.95rem;
    color: #777;
    font-weight: 400;
}

.testimonial-carousel-container {
    position: relative;
    max-width: 1050px;
    margin: 0 auto;
}

.testimonial-slider-wrapper {
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 1.5rem;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1rem);
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(13, 20, 100, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.review-logo {
    height: 30px;
    width: auto;
    margin-bottom: 1rem;
    object-fit: contain;
}

.stars {
    color: #FFC107; /* Gold color for stars */
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.testimonial-text.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: #5890E5;
}

.author-name {
    margin-top: auto;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    border-top: 1px solid #eee;
    padding-top: 1rem;
    width: 100%;
}



/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: 10;
}

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

.prev-btn { left: -60px; }
.next-btn { right: -60px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #5890E5;
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    .slider-btn {
        display: none; 
    }
}

/* Request Form Section */
.request-form-section {
    background-color: #F1F5FA;
    padding: 0rem 2rem 3rem; 
    position: relative; 
}

.form-wrapper {
    max-width: 1050px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(13, 20, 100, 0.08);
}

.sub-title1 {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

/* Floating Labels CSS */
.form-floating {
    position: relative;
}

.form-floating .form-control,
.form-floating .form-select {
    width: 100%;
    height: 3.5rem;
    padding: 1.625rem 0.75rem 0.625rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.form-floating textarea.form-control {
    height: auto;
    resize: vertical;
}

.form-floating .form-control:focus,
.form-floating .form-select:focus {
    border-color: #5890E5;
    box-shadow: 0 0 0 3px rgba(88, 144, 229, 0.2);
}

.form-floating label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem 0.75rem;
    pointer-events: none;
    transform-origin: 0 0;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
    color: #666;
    border: 1px solid transparent;
}

.form-floating textarea ~ label {
    height: auto;
}

.form-floating .form-control::placeholder {
    color: transparent;
}

.form-floating .form-control:focus ~ label,
.form-floating .form-control:not(:placeholder-shown) ~ label,
.form-floating .form-select ~ label {
    transform: scale(0.85) translateY(-0.75rem) translateX(0.15rem);
    opacity: 0.65;
    color: var(--primary-color);
}

/* Checkboxes */
.checkbox-group {
    margin-bottom: 2rem;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.form-check-input {
    margin-top: 0.3rem;
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.form-check-label {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.form-check-label a {
    color: #5890E5;
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background-color: #080c44;
    transform: translateY(-2px);
}

/* Responsive Form */
@media (max-width: 768px) {
    .sub-title1 {
        font-size: 22px;
        margin-bottom: 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-wrapper {
        padding: 2rem 1.5rem;
    }
}

/* Features Section */
.features-section {
    background-color: #F1F5FA;
    padding: 3rem 2rem 1rem;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box {
    text-align: left;
}

.feature-box:hover {
    transform: none; /* Removed hover effect */
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-title {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.4;
}

.feature-text {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}
/* Info Content Section */
.info-content-section {
    background-color: var(--white);
    padding: 6rem 2rem;
    position: relative;
}

.info-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.info-column {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: center;
}

.info-column p {
    margin-bottom: 1.5rem;
}

.content-heading {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.content-subheading {
    color: #333;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 3rem 0 1.5rem;
}

.text-primary {
    color: #5890E5;
    display: block;
    margin-top: 0.5rem;
}

.lead-text {
    font-size: 1.25rem;
    color: #222;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.highlight-box {
    background-color: #F1F5FA;
    border-left: 4px solid #5890E5;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-top: 2rem;
}

.highlight-box p {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--primary-color);
}

.pull-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: #5890E5;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 2rem 0;
    margin: 2.5rem 0;
    text-align: center;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .info-content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .content-heading {
        font-size: 2rem;
    }
    
    .content-subheading {
        font-size: 1.5rem;
    }
}

/* CTA Section */
.cta-section {
    position: relative;
    width: 100%;
    background-image: url('images/strip-img4.webp');
    background-size: cover;
    background-position: center center;
    padding: 12rem 2rem; /* Increased padding to give space for top and bottom SVG waves */
    color: var(--white);
    text-align: center;
}

.dsvg-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 10;
    display: block;
    transform: translateY(-1px); /* Prevent subpixel gap at the top */
}

.dsvg-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 10;
    display: block;
    transform: translateY(1px); /* Prevent subpixel gap at the bottom */
}

.cta-container {
    position: relative;
    z-index: 2;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    height: 100%; /* Make both cards equal height */
}

.glass-panel {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cta-title {
    color: var(--white);
    font-size: 2.25rem;
    letter-spacing: 2px;
    margin-bottom: 0;
}

.cta-text {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}



.cta-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 2rem;
}

.py-4 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.pb-md-5 {
    padding-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* Button Base Styles shared by both Primary and Secondary */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    border-radius: 50px; /* Pill shape */
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

/* Button Secondary */
.btn-secondary {
    background-color: #5890E5;
    color: var(--white);
    box-shadow: 0 10px 20px rgba(88, 144, 229, 0.3);
}

.btn-secondary:hover {
    background-color: #4a78c0;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(88, 144, 229, 0.4);
    color: var(--white);
}

/* Button Primary */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(13, 20, 100, 0.3);
}

.btn-primary:hover {
    background-color: #1a228a; /* Slightly lighter shade of primary */
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(13, 20, 100, 0.4);
    color: var(--white);
}

/* Finance Banner Section */
.finance-banner-section {
    background-color: var(--white);
    padding: 3rem 0;
}

.finance-banner-card {
    display: flex;
    align-items: center;
    background: #f8faff;
    border-radius: 20px;
    padding: 2rem 3rem;
    box-shadow: 0 10px 30px rgba(13, 20, 100, 0.05);
    gap: 2.5rem;
    border: 1px solid rgba(88, 144, 229, 0.1);
}

.finance-logo-wrap {
    flex-shrink: 0;
}

.finance-info {
    flex-grow: 1;
}

.finance-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.finance-text {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.finance-action {
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .finance-banner-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 1.5rem;
    }
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: #F1F5FA;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem; /* Added horizontal padding to prevent touching edges */
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(13, 20, 100, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(13, 20, 100, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #F1F5FA;
    color: var(--primary-color);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background-color: var(--primary-color);
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Utility Classes */
.w-100 {
    width: 100% !important;
}

.mt-auto {
    margin-top: auto !important;
}

.pt-4 {
    padding-top: 1.5rem !important;
}

@media (max-width: 992px) {
    .cta-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}
@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
        white-space: nowrap; /* Keep on one line */
    }
    
    .video-testimonials-section .section-title {
        font-size: 17px;
    }

    .testimonial-card {
        flex: 0 0 100%;
        padding: 2rem 1.5rem;
    }
    
    .testimonials-section .btn {
        font-size: 14px;
        padding: 0.8rem 1.2rem;
    }

    .cta-section {
        padding: 6rem 1.5rem; /* Reduced massive desktop padding for mobile */
    }
    
    .cta-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
    
    .btn-secondary,
    .btn-primary {
        display: block;
        width: 90%;
        margin: 0 auto 1rem auto;
        padding: 1rem;
    }
}

/* Our Team Section */
.team-section {
    background-color: var(--white);
    padding: 6rem 2rem;
}

.team-container {
    max-width: 1050px;
    margin: 0 auto;
}

.team-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.team-main-wrapper {
    position: relative;
    width: 100%;
    border-radius: 60px 0 60px 0;
    border: 8px solid #fff;
    box-shadow: 0 15px 40px rgba(13, 20, 100, 0.12);
    overflow: hidden;
    cursor: pointer;
}

.team-main-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-sub-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.team-sub-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 40px 0 40px 0;
    border: 6px solid #fff;
    box-shadow: 0 10px 25px rgba(13, 20, 100, 0.1);
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.team-sub-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hover Effects */
.team-main-wrapper:hover .team-main-image,
.team-sub-wrapper:hover .team-sub-image {
    transform: scale(1.08);
}

.team-sub-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(13, 20, 100, 0.15);
}

/* Overlays */
.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(13, 20, 100, 0.9) 0%, rgba(13, 20, 100, 0.4) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem 2rem 1.5rem;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.team-info {
    color: var(--white);
}

.team-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--white);
}

.team-role {
    font-size: 1rem;
    color: #a8c5f5;
    font-weight: 500;
    display: block;
}

@media (max-width: 768px) {
    .team-sub-gallery {
        grid-template-columns: 1fr;
    }
    
    .team-sub-wrapper,
    .team-main-wrapper {
        aspect-ratio: 16 / 9; /* Horizontal aspect ratio to show full photo content */
        height: auto;
        width: 100%;
    }
    
    .team-main-image,
    .team-sub-image {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .team-overlay {
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(to top, rgba(13, 20, 100, 0.8), transparent);
    }
    
    .map-overlay-button .btn {
        font-size: 14px;
        padding: 0.8rem 1.2rem;
    }
}

/* Video Testimonials Section */
.video-testimonials-section {
    background-color: #F1F5FA;
    padding: 10rem 2rem 6rem; /* Increased top padding to leave room for the wave */
    position: relative;
}

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

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

.mb-5 {
    margin-bottom: 3rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.video-card {
    width: 100%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* Maintains perfect 16:9 ratio */
    border-radius: 40px 0 40px 0;
    border: 6px solid #fff;
    box-shadow: 0 10px 25px rgba(13, 20, 100, 0.1);
    overflow: hidden;
    background-color: #000; /* Shows black before video loads */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(13, 20, 100, 0.15);
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    .video-testimonials-section {
        padding: 4rem 1.5rem;
    }
}

/* Google Map Section */
.map-section {
    background-color: var(--white);
    position: relative;
    width: 100%;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
}

/* Gradient overlay at the bottom to make the button stand out */
.map-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, rgba(13, 20, 100, 0.4), transparent);
    pointer-events: none; /* Allows clicking through the gradient onto the map */
    z-index: 5;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: contrast(1.1) brightness(0.95); /* Slight filter for better contrast */
}

.map-overlay-button {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: pulseGlow 2s infinite;
}

/* Pulse animation for the button */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(88, 144, 229, 0.6);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(88, 144, 229, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(88, 144, 229, 0);
    }
}

/* Map Section Styles */
.map-row {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.map-info-col {
    flex: 1 1 400px;
}

.map-embed-col {
    flex: 1 1 600px;
}

/* Footer Styles */
.site-footer {
    color: #ffffff;
    padding: 4rem 0;
}

.site-footer .sub-title1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff !important;
}

.site-footer .sub-title3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #F1F5FA;
}

.site-footer p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.site-footer .footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2.5rem;
}

.site-footer .footer-form-col {
    flex: 1 1 500px;
}

.site-footer .footer-info-col {
    flex: 1 1 350px;
}

.site-footer .form-control,
.site-footer .form-select {
    width: 100%;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
}

.site-footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.site-footer .form-select option {
    color: #333;
}

.site-footer .form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.site-footer .form-check-input {
    margin-top: 0.3rem;
}

.site-footer .form-check-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

.site-footer .footer-link,
.site-footer .phonelink {
    color: #ffffff;
    text-decoration: underline;
}

.site-footer .footer-link:hover {
    color: #F1F5FA;
    text-decoration: none;
}

.site-footer .slinks {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1rem;
}

.site-footer .slinks a {
    display: block;
    transition: opacity 0.2s;
}

.site-footer .slinks a:hover {
    opacity: 0.7;
}

.site-footer .form-submit-btn {
    background-color: #ffffff;
    color: #0D1475;
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 1rem;
}

.site-footer .form-submit-btn:hover {
    background-color: #F1F5FA;
    transform: translateY(-2px);
}

.site-footer .row.g-3 {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.site-footer .row.g-3 .col-md-6 {
    flex: 1 1 calc(50% - 1rem);
}

/* Utility Class */
.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}

/* Finance Section Redesign */
.finance-banner-section {
    background-color: #F4F6F9;
    padding: 5rem 0;
}

.finance-main-title {
    color: #0D1475;
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.finance-highlight-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.finance-big-zero {
    font-size: 9rem;
    font-weight: 700;
    color: #5890E5;
    line-height: 1;
    letter-spacing: -3px;
}

.finance-highlight-text {
    font-size: 2.1rem;
    font-weight: 400;
    color: #5890E5;
    text-align: left;
    line-height: 1.2;
}

.finance-desc-text {
    max-width: 900px;
    margin: 0 auto 3rem auto;
    font-size: 1.05rem;
    color: #444444;
    line-height: 1.8;
}

.finance-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-light-blue {
    background-color: #5890E5;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s;
    border: none;
    display: inline-block;
}

.btn-light-blue:hover {
    background-color: #4b7bc4;
    color: #ffffff;
}

.btn-dark-blue {
    background-color: #0D1475;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s;
    border: none;
    display: inline-block;
}

.btn-dark-blue:hover {
    background-color: #080d54;
    color: #ffffff;
}

@media (max-width: 768px) {
    .finance-main-title { font-size: 1.8rem; }
    .finance-big-zero { font-size: 6rem; }
    .finance-highlight-text { font-size: 1.6rem; text-align: center; }
    .finance-buttons { flex-direction: column; }
    .finance-highlight-wrap { flex-direction: column; text-align: center; }
}

/* Sub Footer */
.sub-footer {
    background-color: #000000;
    color: #ffffff;
    font-size: 0.85rem;
}

.sub-footer a {
    color: #ffffff;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.sub-footer a:hover {
    opacity: 0.8;
    text-decoration: none;
}

.sub-footer .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.sub-footer .copyright-text {
    flex: 1 1 auto;
    text-align: center;
}

.sub-footer .df-author {
    flex: 0 0 auto;
}

.sub-footer .webauthorv1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: left;
    line-height: 1.2;
}

.sub-footer .webauthorv1 a.dflink {
    font-weight: 400;
    text-decoration: none;
}

.sub-footer .webauthorv1 a.dflink:hover {
    opacity: 0.8;
}

.sub-footer .webauthorv1 strong.dfbold {
    font-weight: 700;
}

@media (max-width: 768px) {
    .map-embed-col {
        padding: 0 2rem;
        margin-top: 2rem;
    }
    .map-container {
        height: auto !important;
        aspect-ratio: 1 / 1;
        width: 100%;
    }
    .map-info-col {
        text-align: center !important;
        padding: 0 2rem;
    }
    .map-info-col .contact-info-block,
    .map-info-col p,
    .map-info-col .sub-title3 {
        text-align: center !important;
    }
    .map-info-col .btn {
        margin: 0 auto;
        display: inline-block;
    }
    
    .site-footer {
        padding: 3rem 1.5rem;
    }
    .site-footer .footer-heading {
        font-size: 1.6rem !important;
        text-align: center !important;
        margin-bottom: 1rem;
    }
    .site-footer .footer-subheading {
        font-size: 0.95rem;
        text-align: center !important;
        padding: 0 0.5rem;
    }
    .footer-info-col {
        text-align: center !important;
    }
    .footer-info-col .slinks {
        justify-content: center;
        margin-bottom: 2rem;
    }
    .site-footer .form-check {
        text-align: left !important;
    }
}

/* Cookie Policy */
.cookiepolicy {
    background-color: #D3CFD0;
    color: #333333;
    padding: 10px 0;
    font-size: 0.85rem;
    text-align: center;
    position: relative;
    border-top: 1px solid #c2bebf;
}

.cookiepolicy a {
    color: #0D1475;
    text-decoration: underline;
    font-weight: 600;
}

.cookiepolicy a:hover {
    text-decoration: none;
}

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

/* Fixed Google Reviews Box */
.btn-google {
    position: fixed;
    bottom: 15px;
    left: 0;
    z-index: 1000;
    background: #ffffff;
    padding: 10px 15px;
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    border-top: 4px solid #3BB455;
}

.btn-google:hover {
    transform: translateX(5px);
}

.btn-google a {
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-google .google-icon {
    width: 20px;
    margin-right: 5px;
    vertical-align: middle;
}

.btn-google .mobile-only {
    display: none;
}

.btn-google .desktop-text {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.btn-google .star-icon {
    width: 70px;
    height: auto;
    vertical-align: middle;
}

.btn-google p {
    font-size: 0.8rem;
    color: #666;
    margin-top: 3px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .btn-google .desktop-text {
        display: none;
    }
    .btn-google .mobile-only {
        display: block;
        margin-bottom: 5px;
        width: 60px;
    }
}

/* Floating Right Actions */
#back-to-top {
    position: fixed;
    right: 32.5px;
    bottom: 110px;
    z-index: 1000;
    background-color: #0D1475;
    color: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    text-decoration: none;
}

#back-to-top:hover {
    background-color: #5890E5;
    color: #ffffff;
    transform: translateY(-3px);
}

#back-to-top svg {
    width: 22px;
    height: 22px;
}

.booknow-btn {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 1000;
}

.booknow-btn span.gtmc-book-now {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    margin-top: 4px;
}

.booknow-btn a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #5890E5;
    color: #ffffff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
    transition: background-color 0.3s;
}

.booknow-btn a:hover {
    background-color: #4b7bc4;
    color: #ffffff;
}

.booknow-btn .pulsation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background-color: #5890E5;
    z-index: 1;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

@media (max-width: 768px) {
    .booknow-btn a { width: 70px; height: 70px; }
    .booknow-btn span.gtmc-book-now { font-size: 0.7rem; margin-top: 2px; }
    #back-to-top { bottom: 100px; right: 27.5px; }
}

/* Click-to-play YouTube facade (perf: iframe only injected on click) */
.video-facade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    cursor: pointer;
    background-color: #000;
    display: block;
}

.video-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-facade .facade-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.video-facade .facade-play-bg {
    fill: #212121;
    fill-opacity: 0.8;
    transition: fill 0.2s ease, fill-opacity 0.2s ease;
}

.video-facade:hover .facade-play-bg,
.video-facade:focus .facade-play-bg {
    fill: #f00;
    fill-opacity: 1;
}

/* Perf: skip layout/paint work for below-fold sections until scrolled near */
.info-content-section,
.cta-section,
.team-section,
.video-testimonials-section,
.faq-section,
.finance-banner-section,
.map-section,
.site-footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
}
