/* --- 1. GLOBAL SETTINGS & FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #004c8f;
    --secondary-red: #ed232a;
    --dark-blue: #003366;
    --light-bg: #f4f6f9;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0; padding: 0;
    background-color: var(--light-bg);
    color: #333;
}

/* --- 2. LAYOUT UTILITIES --- */
.container {
    width: 90%; max-width: 1200px; margin: auto;
    position: relative;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.btn {
    padding: 12px 25px; border-radius: 5px; text-decoration: none; 
    font-weight: 600; cursor: pointer; display: inline-block;
}
.btn-red { background: var(--secondary-red); color: white; border: none; transition: 0.3s; }
.btn-red:hover { background: #c01e24; box-shadow: 0 4px 10px rgba(192, 30, 36, 0.3); }

/* --- 3. HEADER & NAVIGATION (Premium) --- */
.top-bar {
    background-color: #002a4b; color: white;
    padding: 8px 0; font-size: 12px;
}
.top-container {
    width: 90%; max-width: 1200px; margin: auto;
    display: flex; justify-content: flex-end; gap: 20px;
}
.top-link { color: #ccc; text-decoration: none; transition: 0.3s; }
.top-link:hover { color: white; }

.main-header {
    background: linear-gradient(90deg, #004c8f 0%, #0066cc 100%);
    box-shadow: 0 4px 15px rgba(0,76,143,0.2);
    position: sticky; top: 0; z-index: 1000;
}
.nav-container {
    width: 90%; max-width: 1200px; margin: auto;
    display: flex; justify-content: space-between; align-items: center;
    height: 70px;
}
.brand-logo {
    font-size: 24px; font-weight: 700; color: white;
    text-decoration: none; display: flex; align-items: center; gap: 10px;
}
.nav-menu {
    display: flex; gap: 25px; list-style: none; margin: 0; padding: 0;
}
.nav-item a {
    color: white; text-decoration: none; font-size: 15px; font-weight: 500;
    display: flex; align-items: center; gap: 8px;
    padding: 8px 12px; border-radius: 5px; transition: all 0.3s ease;
}
.nav-item a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}
.mobile-toggle { display: none; font-size: 26px; color: white; cursor: pointer; }

/* --- 4. HERO SLIDER & BLUE CARD (Updated Height & 2 Buttons) --- */
.slider-container {
    position: relative;
    width: 100%;
    height: 450px; /* Reduced Height for Professional Look */
    overflow: hidden;
    background: #000;
}

.slide {
    position: absolute; width: 100%; height: 100%;
    opacity: 0; transition: opacity 1s ease-in-out;
    background-size: cover; background-position: center;
}
.slide.active { opacity: 1; }

/* Overlay Box */
.hero-overlay-box {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
    background: rgba(0,0,0,0.3); /* Overlay */
}

/* THE BLUE CARD DESIGN */
.hero-blue-card {
    background-color: #003366; /* HDFC Dark Blue */
    color: white;
    padding: 30px; /* Thoda padding kam kiya */
    max-width: 650px;
    width: 90%;
    border-radius: 0 0 40px 0;
    border-left: 6px solid #ed232a;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

/* 1. Top 3 Small Images */
.hero-top-images {
    display: flex; justify-content: center; gap: 15px;
    margin-bottom: 15px;
}
.hero-top-img {
    width: 60px; height: 45px; /* Thoda chota kiya compact look ke liye */
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    background: white;
}

/* 2. Typography */
.hero-heading {
    font-size: 2.2rem; /* Font size adjust kiya */
    font-weight: 800;
    margin: 0 0 8px 0;
    line-height: 1.2;
    color: white;
}

.hero-subtext {
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 25px;
    font-weight: 400;
}

/* 3. Button Group (For 2 Buttons) */
.hero-btn-group {
    display: flex; justify-content: center; gap: 15px; flex-wrap: wrap;
}

/* Button 1: RED */
.hero-btn-red {
    background-color: #ed232a;
    color: white;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    transition: 0.3s;
    border: none;
}
.hero-btn-red:hover { background-color: #c01e24; transform: translateY(-2px); }

/* Button 2: YELLOW/GOLD (Highlight on Blue) */
.hero-btn-gold {
    background: #ffb800; 
    color: #000; 
    padding: 12px 25px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    transition: 0.3s;
    border: none;
}
.hero-btn-gold:hover { background: #e0a800; transform: translateY(-2px); }



@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .slider-container { height: 400px; } 
    .hero-blue-card { padding: 20px 15px; width: 90%; }
    
    .hero-top-img { width: 45px; height: 35px; }
    .hero-heading { font-size: 1.6rem; margin-bottom: 5px; }
    .hero-subtext { font-size: 0.9rem; margin-bottom: 20px; }
    
    .hero-btn-group { gap: 10px; }
    .hero-btn-red, .hero-btn-gold { 
        padding: 10px 15px; 
        font-size: 13px; 
        flex: 1; /* Equal width on mobile */
        justify-content: center;
    }
}

.sec-title { text-align: center; margin-bottom: 40px; margin-top: 50px; position: relative; }
.sec-title h2 { font-size: 32px; color: var(--dark-blue); font-weight: 700; margin-bottom: 10px; }
.sec-title::after {
    content: ''; display: block; width: 60px; height: 3px;
    background: var(--secondary-red); margin: 10px auto;
}


.service-box {
    background: white; padding: 25px; border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s; border-top: 4px solid transparent; text-align: center;
}
.service-box:hover {
    transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-top-color: var(--secondary-red);
}
.s-icon { font-size: 40px; margin-bottom: 15px; color: var(--primary-blue); }

.btn-group { display: flex; gap: 10px; margin-top: 15px; }
.btn-small {
    flex: 1; padding: 8px; font-size: 13px; border-radius: 5px;
    text-decoration: none; font-weight: 600; color: white; display: flex;
    align-items: center; justify-content: center; gap: 5px;
}
.btn-call { background: var(--dark-blue); }
.btn-wa { background: #25D366; }


.card-section-title {
    text-align: center; margin-bottom: 40px;
}
.card-section-title h2 {
    font-size: 32px; color: #002a4b; font-weight: 800; margin-bottom: 10px;
}

/* 1. GRID LAYOUT (4 in a row Logic) */
.grid {
    display: grid;
  
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; /* Gap thoda kam kiya */
    padding: 0 10px;
}


.premium-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #eef2f6;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: #ed232a;
}


.p-card-img-box {
    width: 100%;
    height: 150px; /* Desktop Height thodi kam ki */
    background: radial-gradient(circle at center, #f8f9fa 0%, #e9ecef 100%);
    display: flex; align-items: center; justify-content: center;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
}

.p-card-img-box img {
    max-width: 90%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.2));
    transition: 0.3s;
}

.premium-card:hover .p-card-img-box img {
    transform: scale(1.05);
}


.p-card-tag {
    position: absolute; top: 10px; right: 10px;
    color: white; padding: 3px 8px;
    font-size: 9px; font-weight: bold;
    border-radius: 4px; text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}


.p-card-body {
    padding: 20px; /* Padding kam ki compact look ke liye */
    display: flex;
    flex-direction: column;
    flex: 1;
}

.p-card-body h3 {
    margin: 0 0 10px 0;
    font-size: 16px; /* Font size thoda chota */
    color: #002a4b;
    font-weight: 700;
    line-height: 1.3;
    min-height: 42px; /* Fixed text height */
}

.p-features {
    list-style: none; padding: 0; margin: 0 0 15px 0;
    flex: 1;
}
.p-features li {
    display: flex; align-items: flex-start; gap: 8px;
    margin-bottom: 8px; font-size: 12px; color: #555;
}
.p-features i {
    color: #28a745; margin-top: 2px; font-size: 13px; flex-shrink: 0;
}

/* Button Style */
.btn-apply-full {
    display: flex; justify-content: center; align-items: center; gap: 6px;
    width: 90%;
    background: white;
    color: #ed232a;
    border: 1.5px solid #ed232a;
    padding: 10px; /* Button chota kiya */
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
    margin-top: auto;
}

.btn-apply-full:hover {
    background: #ed232a; color: white;
    box-shadow: 0 4px 10px rgba(237, 35, 42, 0.3);
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); 
        gap: 15px;
    }
    
    .p-card-img-box {
        height: 120px; /* Image box chota */
    }
    
    .p-card-body {
        padding: 15px; /* Padding aur kam */
    }
    
    .p-card-body h3 {
        font-size: 14px; /* Title font chota */
        min-height: auto;
        margin-bottom: 8px;
    }
    
    .p-features li {
        font-size: 11px; /* Feature text chota */
        gap: 5px;
    }
    
    .btn-apply-full {
        padding: 8px; /* Button compact */
        font-size: 12px;
    }
}

/* Very Small Phones (iPhone SE etc) - 1 Column */
@media (max-width: 380px) {
    .grid { grid-template-columns: 1fr; }
}
/* --- SECTION 6: TRUST STATS STRIP --- */
.stats-section {
    background: linear-gradient(135deg, #004c8f, #002a4b);
    color: white;
    padding: 50px 0;
    margin-top: 40px;
}
.stats-grid {
    display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; text-align: center;
}
.stat-item h3 {
    font-size: 36px; font-weight: 800; margin: 0 0 5px 0; color: #ffb800; /* Gold */
}
.stat-item p {
    font-size: 14px; margin: 0; opacity: 0.9; text-transform: uppercase; letter-spacing: 1px;
}
.stat-icon {
    font-size: 30px; margin-bottom: 10px; color: white; opacity: 0.5;
}

/* --- SECTION 7: FAQ ACCORDION (Collapsible) --- */
.faq-section {
    padding: 60px 0;
    background: white;
}
.faq-container {
    max-width: 800px; margin: auto;
}
.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    background: white;
    overflow: hidden;
    transition: 0.3s;
}
.faq-item:hover { border-color: #004c8f; }

.faq-question {
    padding: 20px;
    font-size: 16px; font-weight: 600; color: #333;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    background: #f9f9f9;
}
.faq-question:hover { background: #f0f8ff; color: #004c8f; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    background: white;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    padding: 20px; /* Open hone par padding */
    max-height: 200px; /* Answer dikhane ke liye height */
    border-top: 1px solid #eee;
}
.faq-icon {
    transition: transform 0.3s; font-size: 18px; color: #004c8f;
}
.faq-item.active .faq-icon { transform: rotate(180deg); }

/* Mobile Stats */
@media (max-width: 768px) {
    .stats-grid { flex-direction: column; gap: 40px; }
}


/* --- TIMELINE STEPS DESIGN --- */
.timeline-section {
    position: relative; padding: 60px 0;
    background: #f8fbff;
}
.timeline-row {
    display: flex; justify-content: space-between;
    position: relative; margin-top: 50px;
}

/* Connecting Line */
.timeline-row::before {
    content: ''; position: absolute; top: 25px; left: 10%; right: 10%;
    height: 2px; background: #ddd; z-index: 0;
}

.t-step {
    position: relative; z-index: 1;
    flex: 1; text-align: center; padding: 0 15px;
}

.t-icon-box {
    width: 50px; height: 50px; margin: 0 auto 20px;
    background: white; border: 2px solid #004c8f;
    border-radius: 50%; color: #004c8f;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: bold;
    box-shadow: 0 0 0 5px #f8fbff; /* Gap effect */
}

.t-step h3 { font-size: 18px; color: #333; margin-bottom: 10px; }
.t-step p { font-size: 14px; color: #666; line-height: 1.5; }

/* Mobile Timeline */
@media (max-width: 768px) {
    .timeline-row { flex-direction: column; gap: 40px; }
    .timeline-row::before {
        width: 2px; height: 100%; left: 50%; top: 0;
    }
    .p-card-img-box img { max-width: 60%; }
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(45deg, #004c8f, #002a4b);
    color: white; padding: 60px 20px; text-align: center;
    border-radius: 15px; margin: 50px auto;
}

/* --- 6. APPLY PAGE FORMS --- */
.steps-container {
    display: flex; justify-content: center; background: white;
    padding: 15px 0; border-bottom: 1px solid #ddd;
}
.step-item {
    background: #f0f0f0; color: #666; padding: 10px 30px; margin-right: 5px;
    clip-path: polygon(90% 0, 100% 50%, 90% 100%, 0% 100%, 10% 50%, 0% 0%);
    width: 200px; text-align: center; font-size: 14px; font-weight: bold;
}
.step-item:first-child { clip-path: polygon(90% 0, 100% 50%, 90% 100%, 0% 100%, 0% 0%); }
.step-item.active { background: var(--primary-blue); color: white; }

.apply-container {
    background: #eaf6ff; padding: 40px; max-width: 800px; margin: 30px auto;
    border-radius: 5px; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.apply-heading {
    color: var(--primary-blue); font-size: 18px; margin-bottom: 20px;
    border-bottom: 1px solid #ccc; padding-bottom: 10px;
}
.input-group { margin-bottom: 20px; }
.input-label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 5px; }
.input-field {
    width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px;
    font-size: 14px; box-sizing: border-box; /* Fix width issue */
}

/* Success Dashboard */
.approval-box {
    text-align: center; padding: 30px; background: white;
    border: 2px dashed #28a745; border-radius: 10px; display: none;
}
.limit-text { font-size: 40px; color: #28a745; font-weight: bold; margin: 10px 0; }

/* Loader */
.loader-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.95); z-index: 9999;
    align-items: center; justify-content: center; flex-direction: column;
}
.spinner {
    border: 5px solid #f3f3f3; border-top: 5px solid var(--primary-blue);
    border-radius: 50%; width: 50px; height: 50px; animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* --- 7. MOBILE RESPONSIVE (Unified) --- */
@media (max-width: 768px) {
    /* Header */
    .top-bar { display: none; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 75%; height: 100vh;
        background: linear-gradient(180deg, #003366 0%, #004c8f 100%);
        flex-direction: column; justify-content: flex-start; padding-top: 80px;
        transition: right 0.4s ease-in-out; box-shadow: -5px 0 15px rgba(0,0,0,0.3); z-index: 999;
    }
    .nav-menu.active { right: 0; }
    .nav-item a { display: block; padding: 15px 30px; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 16px; }
    .mobile-toggle { display: block; z-index: 1001; }
    
    /* Layout */
    .container { width: 95%; }
    .grid, .step-row { grid-template-columns: 1fr; flex-direction: column; }
    
    /* Hero */
    .slider-container { height: 400px; }
    .hero-content { width: 90%; padding: 25px; }
    .hero-content h1 { font-size: 1.8rem; }
    
    /* Apply Page */
    .steps-container { display: none; }
    .apply-container { padding: 20px; width: 100%; margin: 10px 0; box-sizing: border-box; }
}
.nav-btn {
    background: #ed232a; 
    padding: 10px 25px !important;
    border-radius: 50px !important; 
    font-weight: 600 !important;
    box-shadow: 0 4px 10px rgba(237, 35, 42, 0.4);
    display: inline-flex; align-items: center; gap: 8px;
}
.nav-btn:hover {
    background: #c01e24 !important;
    transform: scale(1.05) !important;
}

.service-wide-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 25px;            
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;                 
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

/* Hover Effect */
.service-wide-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    border-color: #ed232a;
}
.service-wide-card::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 4px; background: #ed232a; opacity: 0; transition: 0.3s;
}
.service-wide-card:hover::before { opacity: 1; }


/* Icon Box (Desktop: Bada Size) */
.sw-icon-box {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, #f0f4ff, #e1e9ff);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: #004c8f;
    flex-shrink: 0;
}

/* Right Panel (Desktop) */
.sw-right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sw-right-panel h3 {
    margin: 0 0 8px 0;
    font-size: 19px;        
    color: #002a4b;
    font-weight: 700;
}

.sw-right-panel p {
    margin: 0 0 15px 0;
    font-size: 14px;           /* Desktop: Readable Text */
    color: #666;
    line-height: 1.5;
}

/* Buttons (Desktop: Normal Size) */
.sw-actions {
    display: flex;
    gap: 150px;
}

.btn-mini {
    padding: 8px 20px;         /* Desktop: Badi Padding */
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px;
    border: none; cursor: pointer;
    transition: 0.2s;
}

/* Gradients */
.bg-purple { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.bg-green { background: linear-gradient(135deg, #2af598 0%, #009efd 100%); }
.bg-orange { background: linear-gradient(135deg, #f09819 0%, #ff512f 100%); }
.btn-mini:hover { opacity: 0.9; transform: translateY(-1px); }


/* --- 2. MOBILE VIEW (Compact & Clean - Avi Wala) --- */
@media (max-width: 768px) {
    
    .service-wide-card {
        padding: 12px;          /* Mobile: Kam Padding (Compact) */
        gap: 12px;              /* Mobile: Kam Gap */
        border-radius: 10px;
    }

    /* Icon Chota karo */
    .sw-icon-box {
        width: 40px; height: 40px;
        font-size: 18px;
        margin-top: 2px;        /* Align with text title */
        background: #f0f8ff;    /* Solid color looks better on small screens */
    }

    /* Text Fonts Chote karo */
    .sw-right-panel h3 {
        font-size: 15px;        /* Clean Title */
        margin-bottom: 4px;
    }
    .sw-right-panel p {
        font-size: 12px;        /* Small Description */
        margin-bottom: 8px;     /* Kam gap button se pehle */
        line-height: 1.3;
    }

    /* Buttons Mobile Friendly */
    .sw-actions {
        gap: 8px;
    }
    .btn-mini {
        padding: 6px 10px;      /* Choti Padding */
        font-size: 11px;        /* Chota Text */
        flex: 1;                /* Dono buttons barabar width ke honge */
        justify-content: center; /* Center Text */
        border-radius: 4px;
    }
}

/* --- SERVICE PAGE HERO SLIDER (Blue Theme) --- */
.svc-hero-section {
    background-color: #001d66; /* Deep Navy Blue */
    color: white;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    min-height: 380px; /* Small height for Desktop */
    display: flex;
    align-items: center;
    justify-content: center;
}

.svc-slide-wrapper {
    width: 100%;
    max-width: 600px; /* Content width limit */
    margin: auto;
    position: relative;
}

.svc-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}
.svc-slide.active { display: block; }

/* MyCards Logo Style */
.svc-logo-text {
    font-size: 14px; font-weight: bold; margin-bottom: 15px;
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.1); padding: 5px 15px; border-radius: 20px;
}

/* Typography */
.svc-slide h2 {
    font-size: 22px; font-weight: 700; margin-bottom: 10px; color: white;
}
.svc-slide p {
    font-size: 14px; color: #dceaff; margin-bottom: 25px; line-height: 1.5;
}

/* Image Styling */
.svc-img-box {
    height: 180px; /* Fixed height for consistency */
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.svc-img-box img {
    max-height: 100%; max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

/* Dots Navigation */
.svc-dots {
    display: flex; justify-content: center; gap: 8px; margin-top: 20px;
}
.svc-dot {
    width: 8px; height: 8px; background-color: rgba(255,255,255,0.3);
    border-radius: 50%; cursor: pointer; transition: 0.3s;
}
.svc-dot.active {
    width: 25px; border-radius: 10px; background-color: white; /* Rectangle active dot */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .svc-hero-section { min-height: 150px; padding: 15px 15px; }
    .svc-slide h2 { font-size: 20px; }
    .svc-img-box { height: 180px; }
}

/* --- NEW SECTIONS FOR SERVICES PAGE --- */

/* 1. Trust/Stats Section */
.trust-section {
    background: white; padding: 60px 0; text-align: center;
}
.trust-grid {
    display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 40px;
}
.trust-item {
    flex: 1; min-width: 200px; max-width: 250px;
    padding: 20px; border: 1px solid #eee; border-radius: 10px;
    transition: 0.3s;
}
.trust-item:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-color: #004c8f; }
.trust-icon { font-size: 32px; color: #004c8f; margin-bottom: 15px; }
.trust-item h4 { margin: 0 0 10px 0; color: #333; }
.trust-item p { font-size: 13px; color: #666; line-height: 1.5; }

/* 2. SEO Content Section */
.seo-content-section {
    background: #f8fbff; padding: 60px 0; border-top: 1px solid #eef2f6;
}
.seo-box {
    max-width: 900px; margin: auto; text-align: center;
}
.seo-box h2 { color: #002a4b; margin-bottom: 20px; font-size: 28px; }
.seo-box p { color: #555; line-height: 1.8; font-size: 15px; }

/* 3. Final CTA Strip */
.cta-strip {
    background: linear-gradient(90deg, #004c8f, #002a4b);
    padding: 40px 20px; text-align: center; color: white;
}
.cta-strip h3 { margin: 0 0 20px 0; font-size: 24px; }

/* --- IMPROVED MODAL (Security Form) --- */
.secure-form-box {
    background: #f9f9f9; padding: 15px; border-radius: 8px; margin-bottom: 15px;
    border: 1px solid #eee;
}
.secure-label {
    font-size: 11px; text-transform: uppercase; font-weight: bold; color: #666;
    margin-bottom: 5px; display: block; letter-spacing: 0.5px;
}
.secure-input {
    width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px;
    font-size: 15px; font-weight: 500; letter-spacing: 1px;
    transition: 0.3s; box-sizing: border-box;
}
.secure-input:focus { border-color: #004c8f; background: white; outline: none; box-shadow: 0 0 5px rgba(0,76,143,0.1); }

/* Card Input Specific */
.card-input-group {
    display: flex; gap: 10px; align-items: center;
}
.card-dummy {
    background: #e9ecef; border: 1px solid #ddd; color: #999;
    padding: 12px; border-radius: 5px; font-family: monospace; flex: 1; text-align: center;
}

/* --- NEW MODERN SERVICE GRID (Card Style) --- */

/* The Grid Container */
.modern-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Desktop: 3 in a row */
    gap: 30px;
    padding: 20px 0;
}

/* Individual Card */
.modern-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    border: 1px solid #f0f4f8;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hover Effect: Lift & Glow */
.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 76, 143, 0.15); /* Blue glow */
    border-color: #004c8f;
}

/* Top Color Bar (Decoration) */
.modern-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 5px; background: linear-gradient(90deg, #004c8f, #00c6ff);
    opacity: 0; transition: 0.3s;
}
.modern-card:hover::before { opacity: 1; }

/* Icon Styling */
.mc-icon {
    width: 70px; height: 70px;
    background: #eef6ff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; color: #004c8f;
    margin-bottom: 20px;
    transition: 0.3s;
    box-shadow: inset 0 0 20px rgba(0, 76, 143, 0.1);
}
.modern-card:hover .mc-icon {
    background: #004c8f; color: white;
    transform: rotateY(180deg); /* Icon Flip Animation */
}

/* Text Styling */
.mc-title {
    font-size: 20px; font-weight: 800; color: #1e293b;
    margin-bottom: 10px;
}
.mc-desc {
    font-size: 14px; color: #64748b; line-height: 1.6;
    margin-bottom: 25px; flex-grow: 1; /* Pushes buttons down */
}

/* Action Buttons Area */
.mc-actions {
    display: flex; gap: 10px; width: 100%;
    justify-content: center;
}

/* Button Base Style */
.btn-modern {
    flex: 1; padding: 12px; border-radius: 50px;
    font-size: 14px; font-weight: 700; text-decoration: none;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: 0.3s; border: none; cursor: pointer;
}

/* Specific Colors */
.btn-m-primary {
    background: white; color: #004c8f; border: 2px solid #004c8f;
}
.btn-m-primary:hover { background: #004c8f; color: white; }

.btn-m-secondary {
    background: #ffb800; color: #000; border: 2px solid #ffb800;
}
.btn-m-secondary:hover { background: #e0a800; border-color: #e0a800; }

/* Mobile Optimization */
@media (max-width: 768px) {
    .modern-service-grid {
        grid-template-columns: 1fr; /* 1 Card per row */
        gap: 20px;
    }
    .modern-card { padding: 25px 20px; }
    .mc-title { font-size: 18px; }
    .mc-desc { font-size: 13px; }
}

/* --- OFFICIAL FOOTER STYLING --- */
.main-footer {
    background-color: #002a4b; /* HDFC Dark Navy */
    color: #e0e0e0;
    padding: 50px 0 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    text-align: center;
    border-top: 5px solid #ed232a; /* Red Top Border */
}

.footer-container {
    max-width: 1000px;
    margin: auto;
    padding: 0 20px;
}

/* Security Alert Box */
.security-alert {
    background: rgba(237, 35, 42, 0.1); /* Light Red BG */
    border: 1px solid #ed232a;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: left;
}
.security-alert h4 { color: #ffcccb; margin: 0 0 5px 0; font-size: 15px; }
.security-alert p { margin: 0; font-size: 13px; color: #fff; }

/* Compliance Disclaimer (Google Requirement) */
.compliance-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px dashed #666;
    padding: 15px;
    font-size: 12px;
    color: #ccc;
    margin-bottom: 30px;
    line-height: 1.6;
    text-align: justify;
}

/* Corporate Details */
.corp-details { margin-bottom: 30px; }
.bank-logo-text { 
    font-size: 20px; font-weight: 800; color: white; letter-spacing: 1px; margin-bottom: 10px; 
}
.corp-address { font-size: 13px; line-height: 1.6; margin-bottom: 5px; color: #ccc; }
.cin-no { font-size: 12px; color: #aaa; }

/* Links */
.footer-links { margin-bottom: 20px; }
.footer-links a { color: #fff; text-decoration: none; font-size: 13px; transition: 0.3s; }
.footer-links a:hover { color: #ed232a; text-decoration: underline; }
.footer-links span { margin: 0 10px; color: #555; }

/* Bottom Area */
.payment-icons { font-size: 24px; margin-bottom: 10px; color: #ccc; }
.payment-icons i { margin: 0 8px; }
.copyright { font-size: 13px; color: #aaa; line-height: 1.6; }

@media (max-width: 768px) {
    .compliance-box { text-align: left; }
    .payment-icons { font-size: 20px; }
}
.main-footer {
    background-color: #002a4b; /* Dark Navy */
    color: #cbd5e1;
    font-family: 'Poppins', sans-serif;
    padding: 30px 0 20px; /* Reduced Padding */
    font-size: 12px;
    border-top: 4px solid #ed1c24; /* Red Line */
    position: relative;
    z-index: 10;
}

    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}

.security-alert-compact {
    background: rgba(237, 28, 36, 0.15);
    border: 1px solid #ed1c24;
    color: #ffcccc;
    padding: 8px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 11px;
    display: inline-block;
}
.security-alert-compact i { margin-right: 5px; }

.compliance-text {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: justify;
    text-align-last: center; /* Center last line */
    background: rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 6px;
}
.compliance-text strong { color: #fff; }
.compliance-text code { color: #ed1c24; background: rgba(255,255,255,0.1); padding: 0 4px; border-radius: 3px; }

.corp-name {
    color: #fff; margin: 0 0 5px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px;
}
.corp-address { margin: 0 0 20px; color: #a0aec0; line-height: 1.4; font-size: 11px; }

.footer-bottom-row {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
}
.footer-links a {
    color: #e2e8f0; text-decoration: none; margin: 0 5px; transition: 0.2s;
}
.footer-links a:hover { color: #ed1c24; }
.copyright-text { margin-top: 10px; color: #64748b; font-size: 10px; }

.sticky-wa-btn {
    position: fixed !important;
    bottom: 30px;
    right: 25px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white !important;
    padding: 12px 24px;
    border-radius: 30px 30px 5px 30px; 
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: floatPulse 2s infinite;
}

.sticky-wa-btn i {
    font-size: 22px;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));
}

.sticky-wa-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
    .sticky-wa-btn {
        bottom: 10px;  
        left  : 25px;   
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 50px; 
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }
    
    .sticky-wa-btn i {
        font-size: 20px;
    }
}

/* --- PULSE ANIMATION KEYFRAMES --- */
@keyframes floatPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        transform: scale(1);
    }
}