/*
Theme Name: Herambha Leasing Theme v6
Theme URI: https://herambhaleasing.com/
Author: OpenAI
Description: Custom brochure-style theme based on the supplied Herambha Leasing code, updated with RBI disclosure and policy pages.
Version: 2.3.1
Text Domain: herambha-leasing
*/
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Color Scheme */
:root {
    --primary-color: #1e40af;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e5e7eb;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 0.85rem 0;
    position: relative;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.logo {
    width: 68px;
    height: auto;
    display: block;
}

.brand-name {
    font-size: 1.18rem;
    line-height: 1.05;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    flex-wrap: nowrap;
    margin-left: auto;
}

.nav-menu li {
    flex: 0 0 auto;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.94rem;
    line-height: 1.2;
    white-space: nowrap;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e0f2fe 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.highlight {
    color: var(--accent-color);
    font-weight: 700;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.feature i {
    color: var(--success-color);
    width: 20px;
}

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

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

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

.btn-primary:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

/* Vehicle Types Section */
.vehicle-types {
    padding: 80px 0;
    background: var(--white);
}

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

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

.vehicle-card:hover {
    transform: translateY(-10px);
}

.vehicle-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.vehicle-icon i {
    font-size: 2rem;
    color: var(--white);
}

.vehicle-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.vehicle-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.vehicle-card ul {
    list-style: none;
    text-align: left;
}

.vehicle-card li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

/* Key Features */
.key-features {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Eligibility Section */
.eligibility {
    padding: 80px 0;
    background: var(--white);
}

.eligibility-content {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2.5rem;
    align-items: center;
}

.eligibility-text,
.eligibility-image {
    min-width: 0;
}

.eligibility-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.tab {
    padding: 1rem 2rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s;
}

.tab.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.criteria-list {
    list-style: none;
}

.criteria-list li {
    padding: 0.8rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 1rem;
    line-height: 1.5;
}

.criteria-list i {
    color: var(--success-color);
    margin-top: 0.25rem;
    flex: 0 0 auto;
}

.eligibility-image img {
    width: 100%;
    max-width: 100%;
    height: 560px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Documentation */
.documentation {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.doc-category {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.doc-category h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.doc-category ul {
    list-style: none;
}

.doc-category li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

/* Loan Process */
.loan-process {
    padding: 80px 0;
    background: var(--white);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* EMI Calculator */
.emi-calculator {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.input-group input[type="range"] {
    width: 100%;
    margin-bottom: 0.5rem;
}

.input-group span {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.calculator-result {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.emi-result {
    text-align: center;
    margin-bottom: 2rem;
}

.emi-result h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.emi-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--white);
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.3rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item a {
    color: inherit;
    text-decoration: none;
}

.contact-item a:hover,
.contact-item a:focus {
    text-decoration: underline;
}

.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

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

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

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

.footer-section li {
    padding: 0.3rem 0;
}

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

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

.disclaimer {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Responsive Design */

@media (max-width: 1200px) {
    .navbar .container {
        gap: 1rem;
    }

    .logo {
        width: 62px;
    }

    .brand-name {
        font-size: 1.08rem;
    }

    .nav-menu {
        gap: 0.75rem;
    }

    .nav-menu a {
        font-size: 0.86rem;
    }
}
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .vehicle-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .eligibility-content,
    .calculator-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 2rem;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}


.nav-brand a{display:flex;align-items:center;gap:10px;text-decoration:none}
.navbar{position:relative}
.nav-menu.active{display:flex !important;flex-direction:column;position:absolute;top:100%;left:20px;right:20px;background:#fff;padding:1rem;border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,0.12);gap:1rem}
.compliance-links{padding:80px 0;background:var(--bg-light)}
.compliance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:2rem}
.compliance-card{background:var(--white);padding:2rem;border-radius:12px;box-shadow:0 10px 25px rgba(0,0,0,0.08);display:flex;flex-direction:column;gap:1rem}
.compliance-card i{font-size:2rem;color:var(--primary-color)}
.compliance-card h3{font-size:1.25rem;color:var(--text-dark)}
.compliance-card p{color:var(--text-light);flex:1}
.contact-note,.page-actions{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1.5rem}
.inner-page-body{background:var(--bg-light)}
.inner-page{padding:130px 0 80px}
.page-card{background:var(--white);border-radius:18px;box-shadow:0 15px 40px rgba(0,0,0,0.08);padding:2.5rem}
.page-card h1{font-size:2.4rem;margin-bottom:1rem;color:var(--text-dark)}
.page-intro{font-size:1.05rem;color:var(--text-light);margin-bottom:2rem}
.info-banner{background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;padding:1rem 1.25rem;color:#1e3a8a;margin-bottom:2rem}
.disclosure-section{margin-bottom:2rem}
.disclosure-section h2{font-size:1.4rem;color:var(--primary-color);margin-bottom:0.8rem}
.disclosure-section h3{font-size:1.05rem;color:var(--text-dark);margin:.8rem 0 .35rem}
.disclosure-section p{margin-bottom:.8rem;color:var(--text-dark)}
.disclosure-section ul{padding-left:1.25rem;color:var(--text-dark)}
.document-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:1.5rem}
.meta-card{background:#f8fafc;border:1px solid var(--border-color);border-radius:12px;padding:1rem}
.meta-card .label{display:block;font-size:.82rem;text-transform:uppercase;letter-spacing:.06em;color:var(--text-light);margin-bottom:.35rem}
.pdf-frame{margin-top:1.5rem;border:1px solid var(--border-color);border-radius:16px;overflow:hidden;background:#fff}
.pdf-frame iframe{width:100%;height:900px;border:0;background:#fff}
.footer-mini-links{margin-top:1rem;display:flex;gap:1rem;flex-wrap:wrap;justify-content:center}
.footer-mini-links a{color:#9ca3af;text-decoration:none}
.footer-mini-links a:hover{color:#fff}
.form-notice{max-width:800px;margin:0 auto 1.5rem;padding:1rem 1.25rem;border-radius:12px}
.form-notice.success{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.form-notice.error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}
@media (max-width:768px){
  .inner-page{padding:110px 0 60px}
  .page-card{padding:1.5rem}
  .page-card h1{font-size:2rem}
  .pdf-frame iframe{height:650px}
}


/* Hide legacy/duplicate header output that may still be injected by plugins or previous theme builders */
body.herambha-live-site > header:not(.header),
body.herambha-live-site #masthead,
body.herambha-live-site .site-header,
body.herambha-live-site .main-header,
body.herambha-live-site .main-header-bar,
body.herambha-live-site .ast-primary-header-bar,
body.herambha-live-site .ast-desktop-header-content,
body.herambha-live-site .ast-mobile-header-wrap,
body.herambha-live-site .elementor-location-header,
body.herambha-live-site .ehf-header,
body.herambha-live-site .header_wrap,
body.herambha-live-site .header-area:not(.header) {
    display: none !important;
}

/* Keep custom header fully opaque so ghosted content cannot show through on scroll */
.header,
.header * {
    backdrop-filter: none !important;
}

.header {
    background: #ffffff !important;
}

/* Hide legacy/duplicate footer output that may still be injected by plugins or previous theme builders */
body.herambha-live-site > footer:not(.footer),
body.herambha-live-site #colophon,
body.herambha-live-site .site-footer,
body.herambha-live-site .main-footer,
body.herambha-live-site .ast-footer-wrap,
body.herambha-live-site .elementor-location-footer,
body.herambha-live-site .footer-area:not(.footer),
body.herambha-live-site .site-info {
    display: none !important;
}

@media (max-width: 1024px) {
    .eligibility-image img {
        height: 420px;
    }
}

@media (max-width: 768px) {
    .eligibility-tabs {
        overflow-x: auto;
    }

    .tab {
        padding: 0.85rem 1rem;
        white-space: nowrap;
    }

    .eligibility-image img {
        height: auto;
    }
}
