* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple: #6b2d7b;
    --purple-dark: #4a1f56;
    --green: #2e8b3d;
    --green-dark: #1f6b2c;
    --yellow: #f5c518;
    --yellow-light: #fff3c4;
    --blue: #1a3a6b;
    --blue-light: #2a5298;
    --red: #c62828;
    --cream: #fdf8ee;
    --text: #1a2a3a;
    --text-muted: #5a6472;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(26, 58, 107, 0.1);
    --shadow-lg: 0 10px 40px rgba(26, 58, 107, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans Kannada', 'Lato', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--cream);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans Kannada', 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--blue);
}

.kn {
    display: block;
    font-size: 0.85em;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 0.2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 3px solid var(--purple);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-mark {
    width: 56px;
    height: 56px;
    background: var(--green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    border: 2px solid var(--yellow);
    flex-shrink: 0;
}

.logo-text h1 {
    font-size: 0.85rem;
    color: var(--blue);
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 0.68rem;
    color: var(--green);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--green);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--green);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--blue);
}

/* Page hero */
.page-hero {
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    color: var(--white);
    padding: 130px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 197, 24, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero h1 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.page-hero .tagline {
    font-size: 1.05rem;
    opacity: 0.95;
    position: relative;
}

.page-hero .breadcrumb {
    margin-top: 1rem;
    font-size: 0.85rem;
    opacity: 0.75;
    position: relative;
}

.page-hero .breadcrumb a {
    color: var(--yellow);
    text-decoration: none;
}

/* Sections */
section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.section-divider::before,
.section-divider::after {
    content: '';
    width: 60px;
    height: 2px;
    background: var(--green);
}

.section-divider .diamond {
    width: 8px;
    height: 8px;
    background: var(--yellow);
    transform: rotate(45deg);
}

/* Insurance highlight */
.insurance-banner {
    background: linear-gradient(135deg, var(--red) 0%, #e53935 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    border: 3px solid var(--yellow);
}

.insurance-banner h2 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.insurance-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.insurance-card i {
    font-size: 2rem;
    color: var(--yellow);
    margin-bottom: 0.75rem;
}

.insurance-card .amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--yellow);
    font-family: 'Playfair Display', serif;
}

.insurance-card h3 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Product cards */
.products-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--green);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card.savings { border-top-color: #2196f3; }
.product-card.pigmy { border-top-color: var(--red); }
.product-card.fd { border-top-color: var(--yellow); }
.product-card.rd { border-top-color: #00897b; }

.product-card-header {
    padding: 1.25rem 1.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-card-header i {
    font-size: 1.75rem;
    color: var(--green);
}

.product-card.savings .product-card-header i { color: #2196f3; }
.product-card.pigmy .product-card-header i { color: var(--red); }
.product-card.fd .product-card-header i { color: #c9a000; }
.product-card.rd .product-card-header i { color: #00897b; }

.product-card-header h3 {
    font-size: 1.05rem;
}

.product-card-body {
    padding: 0 1.5rem 1.5rem;
}

.rate-badge {
    display: inline-block;
    background: var(--green);
    color: var(--white);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.product-card-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Tables */
.rate-table-wrap {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.rate-table-title {
    background: var(--blue);
    color: var(--white);
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
}

.rate-table-title .kn {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
}

.rate-table {
    width: 100%;
    border-collapse: collapse;
}

.rate-table th {
    background: var(--green);
    color: var(--white);
    padding: 0.9rem 1rem;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
}

.rate-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--cream);
    font-size: 0.9rem;
}

.rate-table tr:nth-child(even) {
    background: var(--yellow-light);
}

.rate-table tr:last-child td {
    border-bottom: none;
}

.rate-table .rate {
    font-weight: 700;
    color: var(--green-dark);
}

/* Intro */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-content h2 {
    font-size: 1.85rem;
    margin-bottom: 1.5rem;
}

.intro-block {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    align-items: flex-start;
}

.intro-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.intro-block p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.intro-image img,
.pamphlet-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.contact-bar {
    background: var(--yellow);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    font-weight: 500;
    color: var(--blue);
}

.contact-bar a {
    color: var(--blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-bar a:hover {
    text-decoration: underline;
}

/* CTA cards */
.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.cta-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(107, 45, 123, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.cta-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.cta-card i {
    font-size: 2.5rem;
    color: var(--green);
    margin-bottom: 1rem;
}

.cta-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.cta-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Pride banner */
.pride-banner {
    background: var(--red);
    color: var(--white);
    text-align: center;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 2rem;
}

.pride-banner .kn {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.35rem;
}

/* Legal */
.legal-content {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.legal-content ul {
    margin: 0.75rem 0 1rem 1.5rem;
}

.legal-updated {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cream);
}

.pamphlet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* Footer */
footer {
    background: var(--blue);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 1.5rem;
    border-top: 4px solid var(--purple);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--yellow);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.footer-legal a {
    color: var(--yellow);
    text-decoration: none;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .intro-grid,
    .pamphlet-grid {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    .rate-table-wrap {
        overflow-x: auto;
    }

    .rate-table {
        min-width: 500px;
    }

    .legal-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 640px) {
    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .insurance-card .amount {
        font-size: 1.5rem;
    }
}
