/* Reset and Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

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

:root {
    --brand-900: #0f2557;
    --brand-800: #1e3a8a;
    --brand-600: #1d4ed8;
    --brand-500: #2563eb;
    --ink-900: #0f172a;
    --ink-700: #334155;
    --ink-500: #64748b;
    --surface: #f8fafc;
    --line: #e2e8f0;
    --radius-card: 14px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--ink-700);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
    color: var(--ink-900);
    letter-spacing: -0.02em;
}

/* Headings inside dark/gradient sections stay light */
.hero h1, .hero h2, .hero h3,
.page-header h1, .page-header h2,
.cta h2, .cta h3,
.footer h3, .footer h4,
.mission-card h3, .vision-card h3,
.contact-icon h3 {
    color: #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--brand-500);
    outline-offset: 2px;
}

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

/* Header Styles */
.header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-800);
    letter-spacing: -0.01em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hamburger Animation */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    background: linear-gradient(160deg, #0a1628 0%, #0f2557 40%, #1e3a8a 100%);
    color: white;
    padding: 110px 0 72px;
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-stats .stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

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

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-2px);
}

.btn {
    padding: 13px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.25s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--brand-600);
    color: #fff;
}

.btn-primary:hover {
    background: var(--brand-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3);
}

/* On dark hero/CTA backgrounds the primary button inverts to white */
.hero .btn-primary,
.cta .btn-primary,
.page-header .btn-primary {
    background: #fff;
    color: var(--brand-600);
}

.hero .btn-primary:hover,
.cta .btn-primary:hover,
.page-header .btn-primary:hover {
    background: #f1f5f9;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: 2px solid #25D366;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.form-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.form-buttons .btn {
    flex: 1;
    min-width: 150px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-visual {
    position: relative;
    width: 400px;
    height: 400px;
}

.hero-graphic {
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 7s ease-in-out;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-card);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: white;
    animation: float 12s ease-in-out;
}

.floating-card i {
    font-size: 1.5rem;
    color: #fff;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.card-4 {
    bottom: 10%;
    right: 15%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.03); }
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    border-radius: 2px;
    background: var(--brand-500);
    margin: 1rem auto 0;
}

.section-subtitle {
    text-align: center;
    max-width: 560px;
    margin: -1.5rem auto 2.5rem;
    color: var(--ink-500);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.25rem 2rem;
    border-radius: var(--radius-card);
    text-align: center;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--brand-600);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Products Preview */
.products-preview {
    padding: 80px 0;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    padding: 2.25rem 2rem;
    border-radius: var(--radius-card);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    border-color: #bfdbfe;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-icon {
    width: 60px;
    height: 60px;
    background: var(--brand-600);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.35rem;
    color: white;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.product-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.product-link:hover {
    color: #1d4ed8;
}

/* Trusted Partners Section */
.trusted-partners {
    background: #f8fafc;
    padding: 80px 0;
    text-align: center;
}

.trusted-partners .section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-logo {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border: 1px solid #e2e8f0;
}

.partner-logo:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #bfdbfe;
}

.partner-logo i {
    font-size: 1.75rem;
    color: var(--ink-500);
    margin-bottom: 0.25rem;
    transition: color 0.25s ease;
}

.partner-logo:hover i {
    color: var(--brand-600);
}

.partner-logo span {
    font-weight: 600;
    color: var(--ink-700);
    font-size: 0.95rem;
    text-align: center;
    transition: color 0.25s ease;
}

.partner-logo:hover span {
    color: var(--brand-600);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #0f2557 0%, #1e3a8a 60%, #1d4ed8 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #0b1120;
    color: white;
    padding: 64px 0 24px;
    border-top: 3px solid var(--brand-600);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.footer-section i {
    margin-right: 0.5rem;
    color: #2563eb;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
    color: #cbd5e1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
    }
    .hamburger {
        display: flex;
        margin-left: auto;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        gap: 0;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 1rem 0 2rem;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0.25rem 0;
    }

    .nav-menu .nav-link {
        font-size: 1.05rem;
        padding: 0.9rem 1rem;
        display: block;
    }

    .nav-menu .nav-link::after {
        display: none;
    }

    .nav-menu .nav-link.active {
        background: #eff6ff;
        border-radius: 8px;
        margin: 0 1rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }

    .hero-stats .stat-item {
        padding: 0.75rem;
    }

    .hero-visual {
        width: 300px;
        height: 300px;
    }

    .hero-graphic {
        width: 200px;
        height: 200px;
        font-size: 3rem;
    }

    .floating-card {
        padding: 0.75rem;
        font-size: 0.8rem;
    }

    .floating-card i {
        font-size: 1.2rem;
    }

    .product-hero-stats,
    .calculator-hero-features,
    .contact-hero-benefits {
        gap: 1rem;
    }

    .hero-stat,
    .feature-item,
    .benefit-item {
        padding: 1rem;
    }

    .about-visual {
        width: 300px;
        height: 300px;
    }

    .about-graphic {
        width: 200px;
        height: 200px;
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

                    .partner-logo {
                    padding: 1.5rem 1rem;
                }

                .partner-logo i {
                    font-size: 2rem;
                }

                .partner-logo span {
                    font-size: 0.85rem;
                }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.45s ease;
    will-change: transform, opacity;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in,
    .fade-in.visible {
        opacity: 1;
        transform: none;
        transition: none !important;
    }

    .hero-graphic,
    .floating-card,
    .about-graphic,
    .floating-icon {
        animation: none !important;
    }
}

/* Form Styles */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-card);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e293b;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* EMI Calculator Styles */
.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-card);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.calculator-results {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.result-label {
    font-weight: 600;
    color: #1e293b;
}

.result-value {
    font-weight: 700;
    color: #2563eb;
    font-size: 1.2rem;
}

.slider-container {
    position: relative;
}

.slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2563eb;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2563eb;
    cursor: pointer;
    border: none;
}

.slider-value {
    position: absolute;
    top: -30px;
    right: 0;
    background: #2563eb;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .calculator-grid {
        grid-template-columns: 1fr;
    }
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(160deg, #0a1628 0%, #0f2557 45%, #1e3a8a 100%);
    color: white;
    padding: 110px 0 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

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

.page-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.product-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
}

.hero-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.hero-stat .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.calculator-hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-item i {
    font-size: 1.2rem;
    color: #fff;
}

.contact-hero-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-item i {
    font-size: 1.2rem;
    color: #fff;
}

/* About Page Styles */
.about-hero {
    padding: 80px 0;
    background: #f8fafc;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.about-hero-content p {
    margin-bottom: 1.5rem;
    color: #64748b;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-item h3 {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #64748b;
    font-weight: 500;
}

.about-visual {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.about-graphic {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #0f2557 0%, #1e3a8a 55%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 7s ease-in-out;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    animation: float 10s ease-in-out;
}

.icon-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.icon-3 {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
}

/* Mission Vision Styles */
.mission-vision {
    padding: 80px 0;
    background: white;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mission-card, .vision-card {
    padding: 3rem;
    border-radius: var(--radius-card);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-6px);
}

.mission-card {
    background: var(--brand-800);
    color: white;
}

.vision-card {
    background: var(--brand-600);
    color: white;
}

.mission-icon, .vision-icon {
    width: 68px;
    height: 68px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
}

.mission-card h3, .vision-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.mission-card p, .vision-card p {
    line-height: 1.8;
    opacity: 0.9;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: #f8fafc;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-card);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.value-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.35rem;
    color: var(--brand-600);
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.value-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background: white;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.why-choose-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: var(--radius-card);
    transition: transform 0.3s ease;
}

.why-choose-item:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.why-choose-icon {
    width: 56px;
    height: 56px;
    background: var(--brand-600);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.why-choose-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.why-choose-content p {
    color: #64748b;
    line-height: 1.6;
}

/* Timeline */
.journey-section {
    padding: 80px 0;
    background: #f8fafc;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #2563eb;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: #2563eb;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-card);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 0 2rem;
    flex: 1;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.timeline-content p {
    color: #64748b;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    background: #f8fafc;
    padding: 2rem;
    border-radius: var(--radius-card);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-6px);
    background: white;
    box-shadow: 0 12px 24px rgba(0,0,0,0.09);
}

.member-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #0f2557 0%, #1e3a8a 55%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: white;
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.member-designation {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-description {
    color: #64748b;
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.contact-info > p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--brand-600);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.contact-text p {
    color: #64748b;
    margin-bottom: 0.25rem;
}

.contact-form-container {
    display: flex;
    align-items: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.checkbox-label a {
    color: #2563eb;
    text-decoration: none;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: white;
}

.map-container {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8fafc;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #1e293b;
    margin: 0;
}

.faq-question i {
    color: #2563eb;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8fafc;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Products Page Styles */
.products-overview {
    padding: 64px 0 80px;
    background: var(--surface);
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.section-intro {
    max-width: 640px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.section-intro h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--ink-900);
    margin-bottom: 0.75rem;
}

.section-intro p {
    color: var(--ink-500);
    font-size: 1.05rem;
    line-height: 1.7;
}

.product-item {
    background: #fff;
    border-radius: var(--radius-card);
    margin-bottom: 0;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.product-item:hover {
    transform: none;
    border-color: #bfdbfe;
    box-shadow: var(--shadow-md);
}

.product-header {
    background: #fff;
    color: var(--ink-900);
    padding: 1.75rem 2rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-bottom: 1px solid var(--line);
}

.product-header .product-icon {
    width: 56px;
    height: 56px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--brand-600);
    flex-shrink: 0;
}

.product-header h2 {
    font-size: 1.5rem;
    margin: 0;
    flex: 1;
    color: var(--ink-900);
}

.product-content {
    padding: 1.75rem 2rem 2rem;
}

.product-description {
    font-size: 1rem;
    color: var(--ink-500);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border-left: none;
}

.product-cta {
    text-align: left;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.product-cta .btn {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s ease;
    border-radius: 8px;
}

.product-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.product-features, .product-eligibility, .product-documents {
    margin-bottom: 2rem;
}

.product-features h3, .product-eligibility h3, .product-documents h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.product-features ul, .product-eligibility ul, .product-documents ul {
    list-style: none;
    padding: 0;
}

.product-features li, .product-eligibility li, .product-documents li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.product-features li::before, .product-eligibility li::before, .product-documents li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

/* EMI Calculator Additional Styles */
.calculator-section {
    padding: 80px 0;
    background: #f8fafc;
}

.loan-type-selector {
    margin-top: 2rem;
}

.loan-type-selector h3 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.loan-type-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.loan-type-btn {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.loan-type-btn:hover, .loan-type-btn.active {
    border-color: #2563eb;
    background: #2563eb;
    color: white;
}

.loan-type-btn i {
    font-size: 1.5rem;
}

.emi-chart {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.emi-chart h3 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.chart-container {
    display: flex;
    gap: 1rem;
}

.chart-item {
    flex: 1;
    text-align: center;
}

.chart-bar {
    height: 20px;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.principal-bar {
    background: #2563eb;
}

.interest-bar {
    background: #64748b;
}

.chart-label {
    font-size: 0.8rem;
    color: #64748b;
}

.calculator-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.emi-table-section {
    padding: 80px 0;
    background: white;
}

.emi-table-container {
    overflow-x: auto;
}

.emi-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.emi-table th, .emi-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.emi-table th {
    background: #2563eb;
    color: white;
    font-weight: 600;
}

.emi-table tr:hover {
    background: #f8fafc;
}

.loan-tips {
    padding: 80px 0;
    background: #f8fafc;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-card);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.tip-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: var(--brand-600);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.35rem;
}

.tip-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.tip-card p {
    color: #64748b;
    line-height: 1.6;
}

 /* Enhanced Product Page Styles */
 .product-badge {
     position: static;
     margin-left: auto;
     background: #eff6ff;
     color: var(--brand-600);
     border: 1px solid #bfdbfe;
     padding: 0.35rem 0.85rem;
     border-radius: 999px;
     font-size: 0.72rem;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 0.04em;
     white-space: nowrap;
 }

 .product-highlights {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 0.75rem;
     margin: 0 0 1.5rem;
 }

 .highlight-item {
     display: flex;
     flex-direction: column;
     align-items: flex-start;
     gap: 0.35rem;
     background: var(--surface);
     padding: 1rem;
     border-radius: 10px;
     font-size: 0.88rem;
     color: var(--ink-700);
     font-weight: 600;
     border: 1px solid var(--line);
 }

 .highlight-item i {
     color: var(--brand-600);
     font-size: 1.1rem;
 }

 .product-cta {
     display: flex;
     gap: 1rem;
     margin-top: 2rem;
     flex-wrap: wrap;
 }

 .product-cta .btn {
     flex: 1;
     min-width: 120px;
     text-align: center;
 }

 .btn-outline {
     background: transparent;
     color: #2563eb;
     border: 2px solid #2563eb;
     transition: all 0.3s ease;
 }

 .btn-outline:hover {
     background: #2563eb;
     color: white;
     transform: translateY(-2px);
 }

/* Outline buttons on dark hero/CTA backgrounds stay white */
.hero .btn-outline,
.cta .btn-outline,
.page-header .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
}

.hero .btn-outline:hover,
.cta .btn-outline:hover,
.page-header .btn-outline:hover {
    background: #fff;
    color: var(--brand-600);
    border-color: #fff;
}

 /* Comparison Table Styles */
 .comparison-table-container {
     overflow-x: auto;
     border-radius: var(--radius-card);
     box-shadow: 0 10px 30px rgba(0,0,0,0.1);
 }

 .comparison-table {
     width: 100%;
     border-collapse: collapse;
     background: white;
     border-radius: var(--radius-card);
     overflow: hidden;
 }

 .comparison-table th,
 .comparison-table td {
     padding: 1.5rem 1rem;
     text-align: left;
     border-bottom: 1px solid #e2e8f0;
 }

 .comparison-table th {
     background: var(--brand-800);
     color: white;
     font-weight: 600;
     font-size: 0.95rem;
 }

 .comparison-table tr:hover {
     background: #f8fafc;
 }

 .comparison-table td:first-child {
     font-weight: 600;
     color: #2563eb;
 }

 /* Eligibility Section Styles */
 .eligibility-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
     gap: 2rem;
 }

 .eligibility-card {
     background: white;
     border-radius: var(--radius-card);
     padding: 2rem;
     box-shadow: 0 10px 30px rgba(0,0,0,0.1);
     transition: transform 0.3s ease;
 }

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

 .eligibility-header {
     display: flex;
     align-items: center;
     gap: 1rem;
     margin-bottom: 1.5rem;
     padding-bottom: 1rem;
     border-bottom: 2px solid #f1f5f9;
 }

 .eligibility-header i {
     font-size: 2rem;
     color: #2563eb;
 }

 .eligibility-header h3 {
     font-size: 1.5rem;
     color: #1e293b;
     margin: 0;
 }

 .eligibility-content ul {
     list-style: none;
     padding: 0;
 }

 .eligibility-content li {
     padding: 0.75rem 0;
     border-bottom: 1px solid #f1f5f9;
     color: #64748b;
 }

 .eligibility-content li:last-child {
     border-bottom: none;
 }

 /* Process Section Styles */
 .process-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 2rem;
 }

 .process-step {
     background: white;
     padding: 2rem;
     border-radius: var(--radius-card);
     text-align: center;
     box-shadow: 0 10px 30px rgba(0,0,0,0.1);
     position: relative;
     transition: transform 0.3s ease;
 }

 .process-step:hover {
     transform: translateY(-5px);
 }

 .process-number {
     position: absolute;
     top: -15px;
     left: 50%;
     transform: translateX(-50%);
     background: #2563eb;
     color: white;
     width: 30px;
     height: 30px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-weight: 600;
     font-size: 1.1rem;
 }

 .process-icon {
     width: 64px;
     height: 64px;
     background: #eff6ff;
     border: 1px solid #dbeafe;
     color: var(--brand-600);
     border-radius: 14px;
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto 1.5rem;
     font-size: 1.5rem;
 }

 .process-step h3 {
     font-size: 1.3rem;
     margin-bottom: 1rem;
     color: #1e293b;
 }

 .process-step p {
     color: #64748b;
     line-height: 1.6;
 }

 /* Responsive Design for New Sections */
 @media (max-width: 768px) {
     .page-title {
         font-size: 2rem;
     }
     
     .about-hero-grid {
         grid-template-columns: 1fr;
         text-align: center;
     }
     
     .about-stats {
         grid-template-columns: 1fr;
     }
     
     .mission-vision-grid {
         grid-template-columns: 1fr;
     }
     
     .contact-grid {
         grid-template-columns: 1fr;
     }
     
     .form-row {
         grid-template-columns: 1fr;
     }
     
     .timeline::before {
         left: 20px;
     }
     
     .timeline-item {
         flex-direction: column;
         align-items: flex-start;
         padding-left: 50px;
     }
     
     .timeline-item:nth-child(even) {
         flex-direction: column;
     }
     
     .timeline-content {
         margin: 1rem 0 0 0;
     }
     
     .loan-type-buttons {
         grid-template-columns: repeat(2, 1fr);
     }
     
     .chart-container {
         flex-direction: column;
     }

     .product-highlights {
         flex-direction: column;
     }

     .product-cta {
         flex-direction: column;
     }

     .eligibility-grid {
         grid-template-columns: 1fr;
     }

     .process-grid {
         grid-template-columns: 1fr;
     }

     .comparison-table {
         font-size: 0.9rem;
     }

     .comparison-table th,
     .comparison-table td {
         padding: 1rem 0.5rem;
     }
 }

/* Tablet Layout (portrait tablets and small laptops) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-container {
        gap: 2.5rem;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-visual {
        width: 320px;
        height: 320px;
    }

    .hero-graphic {
        width: 230px;
        height: 230px;
        font-size: 3.5rem;
    }

    .features-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid,
    .calculator-grid,
    .about-hero-grid {
        gap: 2.5rem;
    }
}

/* Phone Layout refinements */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 110px 0 60px;
    }

    .hero-stats .stat-item {
        flex: 1 1 140px;
    }

    .container {
        padding: 0 16px;
    }

    .footer-content {
        gap: 2.5rem;
    }

    .map-container iframe {
        height: 320px;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        width: 260px;
        height: 260px;
    }

    .hero-graphic {
        width: 170px;
        height: 170px;
        font-size: 2.5rem;
    }

    .floating-card {
        padding: 0.6rem;
        font-size: 0.75rem;
    }

    .page-header {
        padding: 100px 0 48px;
    }

    .cta-content h2 {
        font-size: 1.6rem;
    }
}

/* ─── Premium UI: Hero panel, breadcrumbs, product nav ─── */

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    opacity: 0.85;
}

.page-breadcrumb a {
    color: #bfdbfe;
    text-decoration: none;
    transition: color 0.2s;
}

.page-breadcrumb a:hover {
    color: #fff;
}

.page-breadcrumb span:last-child {
    color: rgba(255, 255, 255, 0.7);
}

.page-header-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}

.page-header-actions .btn i {
    margin-right: 0.4rem;
}

.hero-panel {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 1.75rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

.hero-panel--light {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}

.hero-panel--light .hero-panel-label,
.hero-panel--light .hero-panel-top h3 {
    color: var(--ink-900);
}

.hero-panel--light .hero-panel-label {
    color: var(--brand-600);
}

.hero-panel-top {
    margin-bottom: 1.25rem;
}

.hero-panel-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #93c5fd;
    margin-bottom: 0.35rem;
}

.hero-panel-top h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.hero-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.hero-product-chip {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.hero-product-chip:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.hero-panel--light .hero-product-chip {
    background: var(--surface);
    border-color: var(--line);
}

.hero-panel--light .hero-product-chip:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.hero-product-chip--static {
    cursor: default;
}

.hero-product-chip--static:hover {
    transform: none;
}

.hero-product-chip i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    font-size: 0.95rem;
    color: #fff;
    flex-shrink: 0;
}

.hero-panel--light .hero-product-chip i {
    background: #dbeafe;
    color: var(--brand-600);
}

.hero-product-chip strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.15rem;
}

.hero-panel--light .hero-product-chip strong {
    color: var(--ink-900);
}

.hero-product-chip span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
}

.hero-panel--light .hero-product-chip span {
    color: var(--ink-500);
}

.hero-panel-trust {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
}

.hero-trust-item i {
    color: #93c5fd;
    font-size: 0.9rem;
}

.product-nav-bar {
    position: sticky;
    top: 70px;
    z-index: 900;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 0;
}

.product-nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
}

.product-nav::-webkit-scrollbar {
    display: none;
}

.product-nav a {
    flex-shrink: 0;
    padding: 0.5rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink-700);
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    transition: all 0.2s;
}

.product-nav a:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: var(--brand-600);
}

.product-features ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem 1.5rem;
}

.product-cta {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    text-align: left;
}

.product-cta .btn {
    flex: 0 1 auto;
    min-width: 140px;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
}

.product-cta .btn-outline {
    color: var(--brand-600);
    border-color: var(--brand-500);
}

.product-cta .btn-outline:hover {
    background: var(--brand-600);
    color: #fff;
}

.eligibility-card,
.process-step,
.faq-item {
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.loan-type-btn:hover,
.loan-type-btn.active {
    background: var(--brand-600);
    border-color: var(--brand-600);
}

@media (max-width: 768px) {
    .hero-product-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        margin-top: 2rem;
    }

    .product-highlights {
        grid-template-columns: 1fr;
    }

    .product-features ul {
        grid-template-columns: 1fr;
    }

    .product-header {
        flex-wrap: wrap;
        padding: 1.25rem;
    }

    .product-badge {
        order: 3;
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
    }

    .product-content {
        padding: 1.25rem;
    }

    .product-nav-bar {
        top: 68px;
    }

    .page-header-actions {
        flex-direction: column;
        align-items: center;
    }

    .page-header-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}
