:root {
    --brand-green: #6CBF37;
    --brand-green-hover: #5aa62b;
    --brand-blue: #0A84D6;
    --brand-dark-blue: #083259;
    --brand-gold: #FFB800;
    --brand-dark: #1E293B;
    --bg-light: #F8FAFC;
    --bg-soft-blue: #F0F7FF;
    --bg-soft-green: #F4FBF0;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --card-shadow-hover: 0 20px 30px -10px rgba(10, 132, 214, 0.15);
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--brand-dark);
    background-color: #FFFFFF;
    margin-bottom: 0;
}

.fs-7 { font-size: 0.875rem; }
.fs-8 { font-size: 0.775rem; }

.bg-dark-blue { background-color: var(--brand-dark-blue) !important; }
.bg-brand-blue { background-color: var(--brand-blue) !important; }
.bg-green { background-color: var(--brand-green) !important; }
.bg-soft-blue { background-color: var(--bg-soft-blue); }
.bg-soft-green { background-color: var(--bg-soft-green); }

.text-green { color: var(--brand-green) !important; }
.text-gold { color: var(--brand-gold) !important; }
.text-blue { color: var(--brand-blue) !important; }
.text-light-50 { color: rgba(255, 255, 255, 0.75); }

/* Header & Logo */
.header-logo {
    max-height: 64px;
    height: 64px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.header-logo:hover {
    transform: scale(1.02);
}

.footer-logo {
    max-height: 60px;
    height: 60px;
    width: auto;
    object-fit: contain;
}

.top-bar {
    font-size: 0.82rem;
}

.top-bar a:hover {
    color: var(--brand-green) !important;
}

.main-header {
    transition: all 0.3s ease;
    border-bottom: 1px solid #E2E8F0;
}

.main-header .nav-link {
    color: #334155;
    font-size: 0.95rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.main-header .nav-link:hover, 
.main-header .nav-link.active {
    color: var(--brand-blue) !important;
}

.main-header .dropdown-menu {
    margin-top: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.main-header .dropdown-item {
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s, padding-left 0.2s;
}

.main-header .dropdown-item:hover {
    background-color: var(--bg-soft-blue);
    color: var(--brand-blue);
    padding-left: 1.25rem;
}

.btn-brand-green {
    background-color: var(--brand-green);
    border-color: var(--brand-green);
    color: #FFFFFF;
    transition: all 0.25s ease-in-out;
}

.btn-brand-green:hover {
    background-color: var(--brand-green-hover);
    border-color: var(--brand-green-hover);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(108, 191, 55, 0.4);
}

.btn-brand-blue {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #FFFFFF;
}
.btn-brand-blue:hover {
    background-color: #086eb4;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(10, 132, 214, 0.4);
}

.btn-whatsapp-sm {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: background 0.2s;
}
.btn-whatsapp-sm:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
}

.bg-brand-gradient {
    background: linear-gradient(135deg, var(--brand-dark-blue) 0%, var(--brand-blue) 100%);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #052440 0%, #0A84D6 60%, #159C52 100%);
    color: #FFFFFF;
    padding: 80px 0 95px 0;
    min-height: calc(100vh - 125px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(108, 191, 55, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-quick-card {
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    color: var(--brand-dark);
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.hero-quick-card .tab-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero-quick-card .tab-pane {
    height: 100%;
}

.hero-quick-card .tab-pane form {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.segmented-nav-wrapper {
    background: #F1F5F9;
    padding: 4px;
    border-radius: 50rem;
}

.nav-pills-hero {
    display: flex !important;
    flex-direction: row !important;
    width: 100%;
    margin-bottom: 0 !important;
}

.nav-pills-hero .nav-item {
    flex: 1 1 0px !important;
}

.nav-pills-hero .nav-link {
    color: #64748B;
    font-weight: 700;
    font-size: 0.82rem;
    border-radius: 50rem;
    padding: 8px 10px;
    border: none;
    background: transparent;
    transition: all 0.25s ease;
    white-space: nowrap;
    text-align: center;
}

.nav-pills-hero .nav-link:hover {
    color: var(--brand-dark);
}

.nav-pills-hero .nav-link.active {
    background: var(--brand-green);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(108, 191, 55, 0.35);
}

/* Custom Insurance Type Radio Tiles */
.type-radio-tile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

.type-radio-tile:hover {
    border-color: #CBD5E1;
    background: #FFFFFF;
}

.btn-check:checked + .type-radio-tile {
    border-color: var(--brand-green);
    background: #F0FDF4;
    color: var(--brand-dark);
    box-shadow: 0 2px 8px rgba(108, 191, 55, 0.15);
}

/* Feature Cards (PolicyBoss / HareePatti style) */
.product-card {
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    background: #FFFFFF;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--brand-blue);
}

.product-card .btn,
.product-card a.btn,
.product-card .card-cta-btn {
    margin-top: auto !important;
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.product-card .icon-box {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
}

.product-card .badge-top {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Calculators */
.calculator-box {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border: 1px solid #E2E8F0;
}

.range-slider-green {
    accent-color: var(--brand-green);
}

/* Partner Logo Marquee */
.marquee-wrapper {
    overflow: hidden;
    user-select: none;
    display: flex;
    gap: 2rem;
    position: relative;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: 2rem;
    animation: scroll-marquee 25s linear infinite;
}

@keyframes scroll-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.partner-logo-pill {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    white-space: nowrap;
}

/* Original Partner Logo Grid */
.partner-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    height: 110px;
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(10, 132, 214, 0.15);
    border-color: var(--brand-blue);
}

.partner-card img {
    max-height: 85px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

/* Accordion FAQ */
.accordion-custom .accordion-item {
    border: 1px solid #E2E8F0;
    border-radius: 14px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-custom .accordion-button {
    font-weight: 700;
    color: var(--brand-dark);
    background-color: #FFFFFF;
    padding: 18px 22px;
}

.accordion-custom .accordion-button:not(.collapsed) {
    background-color: var(--bg-soft-blue);
    color: var(--brand-blue);
    box-shadow: none;
}

/* Footer links */
.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
    color: var(--brand-green);
    padding-left: 4px;
}

/* ==========================================================================
   Google Reviews Section (Mint Green Container & Carousel UI)
   ========================================================================== */
.google-reviews-section {
    position: relative;
}

.google-reviews-card-container {
    background-color: #eef7f2;
    border-radius: 28px;
    padding: 2.25rem 2rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

/* Left Summary Column */
.google-summary-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-right: 1.5rem;
}

.google-summary-title {
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #111827;
    margin-bottom: 0.4rem;
}

.star-rating-gold {
    color: #fbbf24;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.google-summary-subtext {
    font-size: 0.88rem;
    color: #374151;
    margin-top: 0.35rem;
    margin-bottom: 0.75rem;
}

.google-brand-logo {
    height: 34px;
    width: auto;
    object-fit: contain;
}

/* Vertical divider line */
.google-reviews-divider {
    width: 1px;
    background-color: #d1e7dd;
    align-self: stretch;
}

/* Carousel Track & Controls */
.google-reviews-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.google-reviews-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: 10px 4px;
    width: 100%;
}

.google-reviews-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Nav Arrow Buttons */
.btn-slider-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    z-index: 10;
    flex-shrink: 0;
}

.btn-slider-arrow:hover {
    background: #FFFFFF;
    border-color: #cbd5e1;
    color: #059669;
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.btn-slider-arrow.btn-slider-prev {
    margin-right: -14px;
}

.btn-slider-arrow.btn-slider-next {
    margin-left: -14px;
}

/* Review Card UI */
.google-review-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 1.25rem;
    min-width: 270px;
    max-width: 290px;
    flex: 0 0 auto;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.google-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-transform: uppercase;
}

.review-author-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 2px;
}

.review-time-text {
    font-size: 0.76rem;
    color: #6b7280;
}

.google-g-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.verified-blue-check {
    color: #2563eb;
    font-size: 0.85rem;
    margin-left: 4px;
}

.review-text-snippet {
    font-size: 0.83rem;
    color: #4b5563;
    line-height: 1.5;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-read-more {
    font-size: 0.82rem;
    font-weight: 700;
    color: #4b5563;
    text-decoration: none;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    align-self: flex-start;
    transition: color 0.2s ease;
}

.btn-read-more:hover {
    color: #111827;
    text-decoration: underline;
}

/* Bottom Right Green Badge */
.verified-google-badge {
    background-color: #046c4e;
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 50rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(4, 108, 78, 0.2);
}