/* Import Modern Sans-Serif Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* Brand Design Tokens & Variables */
:root {
    --primary-navy: #0D2A5C;
    --secondary-navy: #0A2158;
    --navy-light: #1E3A8A;
    --navy-pale: #F0F4FA;
    
    --accent-green: #2E7D32;
    --success-green: #4CAF50;
    --green-pale: #E8F5E9;
    
    --accent-gold: #D4AF37;
    --gold-pale: #FEF9C3;
    
    --white: #FFFFFF;
    --off-white: #F5F7FA;
    
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    
    --header-height: 80px;
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-navy);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button {
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Scroll Lock State for Form Success Overlay */
.no-scroll {
    overflow: hidden;
}

/* Container Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Grid & Layout Utilities */
.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}

/* Section Header Styles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-size: 2.25rem;
    line-height: 1.25;
    margin-bottom: 16px;
    position: relative;
    display: block;
}

.section-header .section-tag {
    display: block;
    width: max-content;
    margin: 0 auto 12px auto;
    background: var(--green-pale);
    color: var(--accent-green);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 50px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.75rem;
    }
    .section-header p {
        font-size: 1rem;
    }
}

/* A. Sticky Header Component */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: none;
    z-index: 1000;
    transition: var(--transition-normal);
}

.header-wrapper.scrolled {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    transition: var(--transition-normal);
}

.header-wrapper.scrolled .header-container {
    height: 70px;
}

/* Branding Left */
.branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-container {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 65px;
    width: 65px;
    object-fit: contain;
    transition: var(--transition-normal);
}

.header-wrapper.scrolled .logo-container img {
    height: 52px;
    width: 52px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--primary-navy);
    line-height: 1.1;
}

.brand-tagline {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.2px;
    margin-top: 2px;
}

/* Header CTA Right */
.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.btn-icon {
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary-navy);
    color: var(--white);
    border: 2px solid var(--primary-navy);
}

.btn-primary:hover {
    background: var(--secondary-navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
}

.btn-outline:hover {
    background: var(--navy-pale);
    transform: translateY(-2px);
}

.btn-call {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-green) 100%);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(13, 42, 92, 0.2);
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(46, 125, 50, 0.3);
}

@media (max-width: 991px) {
    .btn-outline-header {
        display: none;
    }
}

@media (max-width: 640px) {
    .brand-name {
        font-size: 1.1rem;
        letter-spacing: 0.2px;
    }
    .brand-tagline {
        display: none;
    }
    .logo-container img {
        height: 46px;
        width: 46px;
    }
    .header-cta .btn-call {
        padding: 0;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        min-width: 42px;
        box-shadow: 0 4px 10px rgba(13, 42, 92, 0.2);
    }
    .header-cta .btn-call .btn-text {
        display: none;
    }
    .header-cta .btn-call .btn-icon {
        margin: 0;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header-cta .btn-call svg {
        width: 18px;
        height: 18px;
    }
}

/* B. Hero & C. Enquiry Sections Wrapper */
.hero-wrapper-bg {
    background: radial-gradient(circle at 10% 20%, rgba(240, 244, 250, 0.6) 0%, rgba(255, 255, 255, 1) 90%);
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
    position: relative;
}

@media (max-width: 768px) {
    .hero-wrapper-bg {
        padding-top: calc(var(--header-height) + 20px);
        padding-bottom: 50px;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* Left Hero Content */
.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-badge-container {
    margin-bottom: 16px;
}

.loan-category-tag {
    display: inline-block;
    background: var(--primary-navy);
    color: var(--white);
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 3.25rem;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-content h1 span {
    color: var(--accent-green);
    background: linear-gradient(120deg, var(--green-pale) 0%, var(--green-pale) 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 85%;
    padding: 0 4px;
}

.hero-usp-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.usp-pill {
    background: var(--navy-pale);
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(13, 42, 92, 0.1);
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }
    .hero-usp-row {
        gap: 6px;
    }
    .usp-pill {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    .hero-desc {
        font-size: 1.1rem;
        margin-bottom: 24px;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
}

/* Hero Right Section with Interactive House Image */
.hero-media-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: visible;
}

.image-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.hero-media-wrapper:hover .image-container img {
    transform: scale(1.03);
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    animation: floating 4s ease-in-out infinite;
}

.floating-badge-top {
    top: 24px;
    right: -20px;
}

.floating-badge-bottom {
    bottom: 24px;
    left: -20px;
    animation-delay: 2s;
}

.badge-icon-wrap {
    width: 40px;
    height: 40px;
    background: var(--green-pale);
    color: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-navy);
    line-height: 1.2;
}

.badge-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@media (max-width: 1120px) {
    .floating-badge-top {
        right: 10px;
    }
    .floating-badge-bottom {
        left: 10px;
    }
}

@media (max-width: 500px) {
    .image-container img {
        height: 300px;
    }
    .floating-badge {
        padding: 8px 12px;
        gap: 8px;
    }
    .badge-icon-wrap {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    .badge-title {
        font-size: 0.75rem;
    }
    .badge-subtitle {
        font-size: 0.65rem;
    }
}

/* 3 Circular Icon Callouts */
.hero-features-row {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon-circle {
    width: 70px;
    height: 70px;
    background: var(--white);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 12px;
    transition: all var(--transition-fast);
}

.feature-circle-item:hover .feature-icon-circle {
    border-color: var(--accent-green);
    color: var(--accent-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(46, 125, 50, 0.15);
}

.feature-circle-item p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-navy);
}

@media (max-width: 768px) {
    .hero-features-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .feature-circle-item {
        flex-direction: row;
        text-align: left;
        gap: 16px;
    }
    .feature-icon-circle {
        margin-bottom: 0;
        width: 55px;
        height: 55px;
        font-size: 1.35rem;
    }
}

/* C. Enquiry Lead Form Section */
.enquiry-card-wrapper {
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.enquiry-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.enquiry-card-header {
    text-align: center;
    margin-bottom: 24px;
}

.enquiry-card-header h3 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 8px;
}

.enquiry-card-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-navy);
    margin-bottom: 6px;
}

.form-label span {
    color: var(--accent-green);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background-color: var(--off-white);
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-dark);
    outline: none;
    transition: all var(--transition-fast);
}

.form-input:focus {
    border-color: var(--accent-green);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Consent Checkbox */
.consent-container {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 24px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.consent-container input {
    margin-top: 3px;
    cursor: pointer;
    accent-color: var(--accent-green);
}

/* Form Submit Button */
.btn-submit {
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    border-radius: var(--border-radius-sm);
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-green) 100%);
    box-shadow: 0 4px 10px rgba(13, 42, 92, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    box-shadow: 0 6px 15px rgba(46, 125, 50, 0.35);
    transform: translateY(-1px);
}

.form-microcopy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 768px) {
    .enquiry-card {
        padding: 24px;
    }
}

/* Success Validation Animation and State */
.enquiry-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
    transition: all var(--transition-slow);
}

.enquiry-card.submitted .enquiry-success-overlay {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Success Icon Checkmark */
.success-checkmark-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--green-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.success-icon {
    font-size: 2.5rem;
    color: var(--accent-green);
    animation: scale-up-bounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scale-up-bounce {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.enquiry-success-overlay h4 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 12px;
}

.enquiry-success-overlay p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* D. Our Loan Solutions Services Grid */
.solutions-section {
    background-color: var(--off-white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

.solution-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(46, 125, 50, 0.3);
}

.card-decor-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-navy);
    transition: background var(--transition-fast);
}

.solution-card:hover .card-decor-line {
    background: var(--accent-green);
}

.solution-icon-wrap {
    width: 50px;
    height: 50px;
    background: var(--navy-pale);
    color: var(--primary-navy);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: all var(--transition-fast);
}

.solution-card:hover .solution-icon-wrap {
    background: var(--green-pale);
    color: var(--accent-green);
}

.solution-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.solution-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* E. Why Choose Us / Trust Signals Section */
.trust-section {
    background-color: var(--white);
}

/* Stats Row */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 70px;
    text-align: center;
}

@media (max-width: 991px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-item {
    background: var(--off-white);
    border-radius: var(--border-radius-md);
    padding: 30px 20px;
    border: 1px solid var(--border-color);
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--accent-green);
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-navy);
}

/* Trust Badges Grid */
.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 70px;
}

@media (max-width: 991px) {
    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .trust-badges-grid {
        grid-template-columns: 1fr;
    }
}

.trust-badge-card {
    display: flex;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    align-items: flex-start;
    transition: all var(--transition-fast);
}

.trust-badge-card:hover {
    border-color: rgba(13, 42, 92, 0.2);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.badge-card-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.badge-card-content h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.badge-card-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Shield callout box */
.trust-callout-box {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--navy-light) 100%);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 70px;
    box-shadow: var(--shadow-lg);
}

.callout-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.callout-shield-icon {
    font-size: 3rem;
    color: var(--accent-green);
    background: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.callout-left h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.callout-left p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.callout-right .btn-primary {
    background: var(--white);
    color: var(--primary-navy);
    border-color: var(--white);
}

.callout-right .btn-primary:hover {
    background: var(--off-white);
    color: var(--secondary-navy);
}

@media (max-width: 768px) {
    .trust-callout-box {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    .callout-left {
        flex-direction: column;
        gap: 16px;
    }
}

/* Review / Testimonial Carousel */
.testimonials-wrapper {
    background: var(--off-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.testimonials-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.rating-badge {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.star-rating {
    color: var(--accent-gold);
}

.testimonial-carousel-container {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    gap: 20px;
    transition: transform var(--transition-slow);
}

.testimonial-slide {
    flex: 0 0 calc(50% - 10px);
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--navy-pale);
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-info h5 {
    font-size: 0.95rem;
    color: var(--primary-navy);
}

.author-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dot.active {
    background-color: var(--primary-navy);
    width: 24px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .testimonial-slide {
        flex: 0 0 100%;
    }
    .testimonials-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* F. Cities We Serve Section */
.cities-section {
    background-color: var(--off-white);
}

.cities-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 991px) {
    .cities-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Interactive Map Container */
.map-container {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Graphic Representation of Map of India */
.india-map-svg-wrap {
    width: 100%;
    height: 100%;
    max-width: 320px;
    position: relative;
}

.india-map-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.12; /* Subtle outline silhouette background */
    pointer-events: none;
}

/* Map Pulse Pins */
.map-pin {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--accent-green);
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
}

.map-pin::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    width: 24px;
    height: 24px;
    border: 2px solid var(--accent-green);
    border-radius: 50%;
    animation: map-pulse 1.8s ease-out infinite;
}

@keyframes map-pulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Position Pins (Indore/Bhopal region, Delhi, Mumbai/Pune, South) */
.pin-1 { top: 45%; left: 45%; } /* Indore/MP */
.pin-2 { top: 25%; left: 42%; } /* Delhi/NCR */
.pin-3 { top: 75%; left: 48%; } /* Bangalore/Chennai */
.pin-4 { top: 52%; left: 32%; } /* Ahmedabad/Surat */

.map-card-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--primary-navy);
    color: var(--white);
    padding: 12px 18px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
}

.map-card-info .info-icon {
    font-size: 1.5rem;
    color: var(--success-green);
}

.map-card-info p {
    font-size: 0.85rem;
    font-weight: 500;
}

/* City List Columns */
.cities-list-box {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--border-radius-lg);
}

.cities-list-box h3 {
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.cities-grid-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

.city-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-dark);
}

.city-bullet {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
}

@media (max-width: 480px) {
    .cities-grid-list {
        grid-template-columns: 1fr;
    }
    .cities-list-box {
        padding: 24px;
    }
}

/* G. Our Trusted Partners Logo Strip */
.partners-section {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.partners-row-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.partners-row-track:hover {
    animation-play-state: paused;
}

.partner-logo-item {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-light);
    filter: grayscale(1);
    opacity: 0.6;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.partner-logo-item:hover {
    filter: grayscale(0);
    opacity: 1;
    color: var(--primary-navy);
}

.partner-logo-graphic {
    font-size: 1.75rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

/* H. Insurance Section */
.insurance-section {
    background-color: var(--white);
}

.insurance-box {
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

@media (max-width: 991px) {
    .insurance-box {
        grid-template-columns: 1fr;
    }
}

.insurance-left {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.insurance-left .section-tag {
    align-self: flex-start;
    display: inline-block;
    background: var(--green-pale);
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.insurance-left h2 {
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 16px;
}

.insurance-left p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.insurance-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--primary-navy);
}

.check-icon {
    width: 22px;
    height: 22px;
    background: var(--green-pale);
    color: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

.insurance-right {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: var(--white);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.partner-logo-box {
    margin-bottom: 24px;
}

.partner-brand-logo {
    background: var(--white);
    padding: 16px 32px;
    border-radius: var(--border-radius-md);
    color: #FF5A00; /* Policybazaar Orange Color */
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    box-shadow: var(--shadow-lg);
}

.partner-brand-logo span {
    color: var(--navy-light);
}

.insurance-right h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.insurance-right p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 30px;
}

@media (max-width: 640px) {
    .insurance-left, .insurance-right {
        padding: 30px 20px;
    }
    .insurance-left h2 {
        font-size: 1.6rem;
    }
    .insurance-checklist {
        grid-template-columns: 1fr;
    }
}

/* I. Final CTA Banner */
.final-cta-section {
    background: linear-gradient(135deg, var(--secondary-navy) 0%, var(--primary-navy) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.15) 0%, rgba(0, 0, 0, 0) 60%);
    pointer-events: none;
}

.final-cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.final-cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    margin-bottom: 32px;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.final-cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-navy);
    border-color: var(--white);
}

.final-cta-buttons .btn-primary:hover {
    background: var(--off-white);
    color: var(--secondary-navy);
}

.final-cta-buttons .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.final-cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.final-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
}

.final-cta-badge span {
    color: var(--success-green);
}

@media (max-width: 640px) {
    .final-cta-content h2 {
        font-size: 1.85rem;
    }
    .final-cta-content p {
        font-size: 1.1rem;
    }
    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .final-cta-buttons .btn {
        width: 100%;
        max-width: 320px;
    }
}

/* J. Footer Section */
footer {
    background-color: #050E24;
    color: #8E9BAE;
    padding: 70px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Footer Left */
.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-wrap img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.footer-logo-wrap h3 {
    color: var(--white);
    font-size: 1.25rem;
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 350px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-circle-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.social-circle-link:hover {
    background: var(--accent-green);
    transform: translateY(-3px);
}

/* Footer Mid Navigation */
.footer-links-col h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col ul li {
    margin-bottom: 12px;
}

.footer-links-col ul li a {
    font-size: 0.88rem;
}

.footer-links-col ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

/* Footer Right Contact Info */
.footer-contact-col h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-row-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.contact-row-item .icon {
    color: var(--accent-green);
    margin-top: 3px;
}

.contact-row-item p {
    font-size: 0.88rem;
    line-height: 1.5;
}

.contact-row-item a:hover {
    color: var(--white);
}

/* Repeated Small Trust Badges */
.footer-trust-row {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
}

.footer-trust-badge span {
    color: var(--accent-green);
}

/* Bottom Bar Copyright & RBI disclaimer */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.rbi-disclaimer {
    font-size: 0.75rem;
    color: #4B5563;
    max-width: 800px;
    line-height: 1.4;
}

.copyright-line {
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer-trust-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Sticky Bottom Navigation Bar for Mobile */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    padding: 12px 16px;
    z-index: 999;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

/* Active Bottom Bar Trigger */
body.mobile-bar-visible .mobile-bottom-bar {
    transform: translateY(0);
}

/* Padding space at bottom of page when bar is visible */
body.mobile-bar-visible {
    padding-bottom: 70px;
}

.mobile-bottom-bar .btn {
    width: calc(50% - 8px);
    padding: 12px;
    font-size: 0.9rem;
    border-radius: var(--border-radius-sm);
}

.mobile-bottom-bar .btn-call-mobile {
    background-color: var(--primary-navy);
    color: var(--white);
}

.mobile-bottom-bar .btn-enquire-mobile {
    background-color: var(--accent-green);
    color: var(--white);
}

@media (min-width: 769px) {
    .mobile-bottom-bar {
        display: none !important;
    }
    body.mobile-bar-visible {
        padding-bottom: 0 !important;
    }
}

/* Scroll-Triggered Animations Styles */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.reveal-slide-right {
    transform: translateX(-40px);
}

.reveal.reveal-scale {
    transform: scale(0.95);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Delay modifiers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Sticky Floating WhatsApp Chat Button */
.whatsapp-sticky-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 998;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.whatsapp-sticky-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.whatsapp-sticky-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

/* Adjust sticky WhatsApp position when mobile sticky bar is active */
body.mobile-bar-visible .whatsapp-sticky-btn {
    bottom: 90px;
}

@media (max-width: 480px) {
    .whatsapp-sticky-btn {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }
    body.mobile-bar-visible .whatsapp-sticky-btn {
        bottom: 85px;
    }
}
