/* ===== ROOT VARIABLES ===== */
:root {
    --primary: #ff6b00;
    --primary-dark: #e05a00;
    --primary-light: #ff8c38;
    --secondary: #0f2044;
    --light-bg: #f5f7fa;
    --dark-bg: #0a1628;
    --text-dark: #111827;
    --text-muted: #6b7280;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #ff6b00 0%, #e05a00 100%);
    --gradient-warm: linear-gradient(135deg, #ff6b00 0%, #ff8c38 100%);
    --gradient-dark: linear-gradient(135deg, #0f2044 0%, #0a1628 100%);
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.07);
    --shadow: 0 8px 32px rgba(0,0,0,0.11);
    --shadow-hover: 0 16px 48px rgba(0,0,0,0.16);
    --shadow-orange: 0 6px 20px rgba(255,107,0,0.28);
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--white);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 100vw;
}
a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
section { padding: 72px 0; }

/* ===== TYPOGRAPHY ===== */
.section-title { font-size: 2rem; font-weight: 700; color: var(--secondary); line-height: 1.25; margin-bottom: 0.75rem; }
.section-title span { color: var(--primary); }
.section-subtitle { color: var(--text-muted); font-size: 0.93rem; max-width: 580px; margin: 0 auto 2.5rem; line-height: 1.7; }
.title-line { width: 48px; height: 3px; background: var(--gradient); border-radius: 2px; margin: 10px auto 0; }
.badge-custom {
    background: rgba(255,107,0,0.1); color: var(--primary);
    border: 1px solid rgba(255,107,0,0.25); padding: 4px 14px;
    border-radius: 50px; font-size: 0.75rem; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase; display: inline-block;
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
    background: var(--gradient); color: var(--white); border: none;
    padding: 10px 22px; border-radius: 8px; font-weight: 600; font-size: 0.88rem;
    transition: var(--transition); box-shadow: var(--shadow-orange);
    display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.btn-primary-custom:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,107,0,0.42); color: var(--white); }
.btn-primary-custom.btn-lg { padding: 11px 28px; font-size: 0.93rem; }
.btn-outline-custom {
    background: transparent; border: 2px solid rgba(255,255,255,0.65);
    color: var(--white); padding: 10px 22px; border-radius: 8px;
    font-weight: 600; font-size: 0.88rem; transition: var(--transition);
    display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.btn-outline-custom:hover { background: var(--white); color: var(--primary); border-color: var(--white); transform: translateY(-2px); }
.btn-outline-custom.btn-lg { padding: 11px 28px; font-size: 0.93rem; }
.btn-whatsapp {
    background: #25d366; color: var(--white); border: none;
    padding: 10px 22px; border-radius: 8px; font-weight: 600; font-size: 0.88rem;
    transition: var(--transition); box-shadow: 0 4px 14px rgba(37,211,102,0.28);
    display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.btn-whatsapp:hover { background: #1ebe5d; color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(37,211,102,0.42); }
.btn-whatsapp.btn-lg { padding: 11px 28px; font-size: 0.93rem; }

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 90vh; position: relative;
    display: flex; align-items: center; overflow: hidden;
    background: var(--gradient-dark);
}
.hero-bg {
    position: absolute; inset: 0;
    background-image: url('../images/banner/hero-banner.jpg');
    background-size: cover; background-position: center 40%;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(10,22,40,0.94) 0%, rgba(15,32,68,0.88) 50%, rgba(15,32,68,0.5) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-img-col { position: relative; z-index: 2; }
.hero-png-img {
    max-height: 480px; width: auto; max-width: 100%;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
    animation: float-img 4s ease-in-out infinite;
}
@keyframes float-img {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,107,0,0.15); border: 1px solid rgba(255,107,0,0.4);
    color: #ffaa66; padding: 5px 16px; border-radius: 50px;
    font-size: 0.78rem; font-weight: 600; margin-bottom: 1.2rem;
    letter-spacing: 1px; text-transform: uppercase;
}
.hero-title {
    font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 800;
    color: var(--white); line-height: 1.18; margin-bottom: 1.2rem;
}
.hero-title span { color: var(--primary); }
.hero-desc { color: rgba(255,255,255,0.78); font-size: 0.97rem; line-height: 1.75; margin-bottom: 2rem; }
.hero-stats {
    display: flex; gap: 0; margin-top: 2rem;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg); overflow: hidden; backdrop-filter: blur(8px);
}
.hero-stat-item {
    flex: 1; text-align: center; padding: 0.9rem 0.4rem;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-item:last-child { border-right: none; }
.hero-stat-item .number { font-size: 1.5rem; font-weight: 800; color: var(--primary); display: block; line-height: 1; }
.hero-stat-item .label { font-size: 0.65rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 3px; display: block; }

/* ===== QUOTE STRIP ===== */
.quote-strip-wrap { margin-top: -50px; position: relative; z-index: 10; padding: 0 12px; }
.hero-form-strip {
    background: var(--white); border-radius: var(--radius-xl);
    padding: 1.75rem 2rem;
    box-shadow: 0 -3px 0 var(--primary), 0 12px 40px rgba(0,0,0,0.14);
}
.strip-label { display: flex; align-items: center; gap: 10px; }
.strip-label > .bi { font-size: 2rem; color: var(--primary); }
.strip-title { font-size: 1rem; font-weight: 700; color: var(--secondary); line-height: 1.1; }
.strip-sub { font-size: 0.75rem; color: var(--text-muted); }
.hero-form-strip label { font-size: 0.72rem; font-weight: 600; color: var(--secondary); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.4px; display: block; }
.hero-form-strip .form-control,
.hero-form-strip .form-select {
    border: 1.5px solid #e5e7eb; border-radius: 8px;
    padding: 9px 12px; font-size: 0.87rem; background: #fafafa; transition: var(--transition);
}
.hero-form-strip .form-control:focus,
.hero-form-strip .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,107,0,0.1); background: var(--white); }
.strip-btn { padding: 10px 20px; width: 100%; justify-content: center; }

/* ===== SERVICE CARDS ===== */
.service-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem; text-align: center;
    box-shadow: var(--shadow-sm); transition: var(--transition);
    border: 1px solid #f0f0f0; height: 100%; position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient); transform: scaleX(0); transition: transform 0.3s ease; transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-hover); border-color: rgba(255,107,0,0.12); }
.service-icon {
    width: 68px; height: 68px; background: rgba(255,107,0,0.08);
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.1rem; font-size: 1.7rem; color: var(--primary); transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--gradient); color: var(--white); transform: scale(1.08) rotate(-3deg); }
.service-card h5 { font-size: 1rem; font-weight: 700; color: var(--secondary); margin-bottom: 0.5rem; }
.service-card p { color: var(--text-muted); font-size: 0.86rem; line-height: 1.6; }
.service-link { display: inline-flex; align-items: center; gap: 4px; color: var(--primary); font-size: 0.83rem; font-weight: 600; margin-top: 0.75rem; }
.service-link:hover { gap: 8px; color: var(--primary-dark); }

/* ===== WHY CHOOSE US ===== */
.why-section { background: var(--light-bg); }
.why-card {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1.2rem; background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); transition: var(--transition);
    margin-bottom: 1.1rem; border-left: 3px solid transparent;
}
.why-card:hover { transform: translateX(5px); box-shadow: var(--shadow); border-left-color: var(--primary); }
.why-icon { width: 46px; height: 46px; min-width: 46px; background: var(--gradient); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--white); }
.why-card h6 { font-weight: 700; color: var(--secondary); margin-bottom: 0.2rem; font-size: 0.9rem; }
.why-card p { color: var(--text-muted); font-size: 0.82rem; margin: 0; line-height: 1.5; }

/* ===== PROCESS STEPS ===== */
.process-step { text-align: center; padding: 1.5rem 1rem; }
.step-number {
    width: 50px; height: 50px; background: var(--gradient); color: var(--white);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 800; margin: 0 auto 0.9rem; box-shadow: var(--shadow-orange);
}
.process-step h6 { font-weight: 700; color: var(--secondary); font-size: 0.93rem; }
.process-step p { color: var(--text-muted); font-size: 0.84rem; }

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 1.5rem; box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--primary); height: 100%; transition: var(--transition); position: relative;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.reviewer-avatar {
    width: 44px; height: 44px; min-width: 44px;
    background: var(--gradient); color: var(--white);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 700;
}
.testimonial-card .stars { color: #f59e0b; font-size: 0.8rem; margin-bottom: 2px; }
.testimonial-card p { color: var(--text-muted); font-style: italic; line-height: 1.7; font-size: 0.88rem; margin-top: 0.75rem; }
.testimonial-card .author { font-weight: 700; color: var(--secondary); font-size: 0.88rem; line-height: 1.2; }
.testimonial-card .author span { color: var(--text-muted); font-weight: 400; font-size: 0.78rem; display: block; }

/* ===== LOCATION SECTION ===== */
.location-section { background: var(--white); }
.location-info-card {
    background: var(--gradient-dark); border-radius: var(--radius-lg);
    padding: 2rem; color: var(--white); height: 100%;
}
.location-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 0; }
.location-head > .bi { font-size: 1.5rem; color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.location-head h5 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.3rem; }
.location-head p { color: rgba(255,255,255,0.65); font-size: 0.83rem; margin: 0; line-height: 1.5; }
.bihar-cities-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.city-tag {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.75); padding: 3px 10px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 500; display: inline-flex; align-items: center; gap: 4px;
    transition: var(--transition);
}
.city-tag:hover { background: rgba(255,107,0,0.2); border-color: rgba(255,107,0,0.4); color: #ffaa66; }
.city-tag-primary { background: var(--primary) !important; border-color: var(--primary) !important; color: var(--white) !important; font-weight: 700; }
.city-tag .bi { font-size: 0.65rem; }
.map-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }

/* ===== TRUST CARDS ===== */
.trust-card {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1.4rem; background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); transition: var(--transition);
    border: 1px solid #f0f0f0; height: 100%;
}
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trust-icon {
    width: 50px; height: 50px; min-width: 50px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.trust-card h6 { font-weight: 700; color: var(--secondary); margin-bottom: 0.25rem; font-size: 0.92rem; }
.trust-card p { color: var(--text-muted); font-size: 0.83rem; margin: 0; line-height: 1.55; }

/* ===== TIP CARDS ===== */
.tip-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem; box-shadow: var(--shadow-sm);
    border: 1px solid #f0f0f0; transition: var(--transition); height: 100%;
    position: relative; overflow: hidden;
}
.tip-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tip-icon {
    width: 52px; height: 52px; background: rgba(255,107,0,0.08);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--primary); margin-bottom: 1rem; transition: var(--transition);
}
.tip-card:hover .tip-icon { background: var(--gradient); color: var(--white); }
.tip-tag {
    display: inline-block; background: rgba(255,107,0,0.1); color: var(--primary);
    border-radius: 50px; padding: 2px 10px; font-size: 0.72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.6rem;
}
.tip-card h6 { font-weight: 700; color: var(--secondary); font-size: 0.95rem; margin-bottom: 0.5rem; }
.tip-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.65; margin: 0; }

/* ===== CTA SECTION ===== */
.cta-section { background: var(--gradient-dark); position: relative; overflow: hidden; }
.cta-section::before {
    content: ''; position: absolute; top: -40%; right: -5%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,107,0,0.18) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}

/* ===== ABOUT PAGE ===== */
.about-img-wrap { position: relative; }
.about-badge-float {
    position: absolute; bottom: 24px; left: -16px;
    background: var(--white); border-radius: var(--radius);
    padding: 1rem 1.25rem; box-shadow: var(--shadow);
    text-align: center; border-left: 3px solid var(--primary);
}
.about-badge-float .big-num { font-size: 1.8rem; font-weight: 800; color: var(--primary); display: block; line-height: 1; }
.about-badge-float small { color: var(--text-muted); font-size: 0.75rem; }
.stat-box {
    background: var(--white); border-radius: var(--radius); padding: 1.25rem;
    text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition);
    border-bottom: 3px solid transparent;
}
.stat-box:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-bottom-color: var(--primary); }
.stat-box .num { font-size: 1.9rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-box p { color: var(--text-muted); font-size: 0.8rem; margin: 4px 0 0; }

/* ===== CONTACT PAGE ===== */
.contact-info-card {
    background: var(--gradient-dark); border-radius: var(--radius-lg);
    padding: 2.25rem; color: var(--white); height: 100%; position: relative; overflow: hidden;
}
.contact-info-card::before {
    content: ''; position: absolute; top: -30%; right: -20%;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(255,107,0,0.15) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.contact-info-item { display: flex; gap: 0.9rem; align-items: flex-start; margin-bottom: 1.75rem; }
.contact-info-item .icon {
    width: 44px; height: 44px; min-width: 44px;
    background: rgba(255,107,0,0.15); border: 1px solid rgba(255,107,0,0.3);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem; color: #ffaa66;
}
.contact-info-item h6 { font-weight: 600; margin-bottom: 0.15rem; font-size: 0.88rem; }
.contact-info-item p { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin: 0; line-height: 1.5; }
.contact-form-card { background: var(--white); border-radius: var(--radius-lg); padding: 2.25rem; box-shadow: var(--shadow); }
.contact-form-card .form-control,
.contact-form-card .form-select {
    border: 1.5px solid #e5e7eb; border-radius: 8px;
    padding: 10px 14px; font-size: 0.88rem; background: #fafafa; transition: var(--transition);
}
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,107,0,0.1); background: var(--white); }
.contact-form-card label { font-size: 0.8rem; font-weight: 600; color: var(--secondary); margin-bottom: 4px; }

/* ===== PAGE HERO ===== */
.page-hero { background: var(--gradient-dark); padding: 110px 0 55px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: url('assets/images/hero-banner.jpg') center/cover no-repeat; opacity: 0.07; }
.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50px; background: var(--white); clip-path: ellipse(55% 100% at 50% 100%); }
.page-hero h1 { color: var(--white); font-weight: 800; font-size: 2.1rem; position: relative; z-index: 1; }
.page-hero nav { position: relative; z-index: 1; }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,0.65); }
.page-hero .breadcrumb-item.active { color: var(--primary); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.35); }

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
    position: fixed; bottom: 28px; right: 28px;
    width: 52px; height: 52px; background: #25d366;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--white);
    box-shadow: 0 4px 18px rgba(37,211,102,0.5); z-index: 9999;
    transition: var(--transition); animation: pulse-green 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); color: var(--white); }
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
    70% { box-shadow: 0 0 0 13px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== FOOTER ===== */
.footer { background: var(--dark-bg); color: rgba(255,255,255,0.7); }
.footer h5 {
    color: var(--white); font-weight: 700; margin-bottom: 1.2rem;
    font-size: 0.92rem; position: relative; padding-bottom: 0.65rem;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.footer h5::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--gradient); border-radius: 2px; }
.footer a { color: rgba(255,255,255,0.6); font-size: 0.87rem; display: block; margin-bottom: 0.5rem; transition: var(--transition); }
.footer a:hover { color: var(--primary); padding-left: 4px; }
.footer-bottom { background: rgba(0,0,0,0.35); padding: 1rem 0; font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.social-links a {
    width: 35px; height: 35px; background: rgba(255,255,255,0.07);
    border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.65); font-size: 0.92rem; margin-right: 6px; transition: var(--transition);
}
.social-links a:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

/* ===== MISC ===== */
.bg-light-custom { background: var(--light-bg); }
.accordion-button:not(.collapsed) { color: var(--primary); background: rgba(255,107,0,0.05); box-shadow: none; }
.accordion-button:focus { box-shadow: none; }
.accordion-button { font-weight: 600; font-size: 0.92rem; }

/* ===== MODAL ===== */
.modal-input {
    border: 1.5px solid #e5e7eb; border-radius: 8px;
    padding: 10px 14px; font-size: 0.88rem; background: #fafafa; transition: var(--transition);
    width: 100%;
}
.modal-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,107,0,0.1); background: var(--white); outline: none; }
.modal-input.is-invalid { border-color: #dc3545; background: #fff8f8; }
.modal-input.is-valid { border-color: #198754; background: #f8fff9; }
#quoteModal .modal-content { box-shadow: 0 24px 64px rgba(0,0,0,0.22); border-radius: 18px !important; overflow: hidden; border: none; }
#quoteModal .modal-header { padding: 1.4rem 1.75rem 1.2rem; }
#quoteModal .modal-body .p-4 { padding: 1.5rem 1.75rem !important; }
#quoteModal .modal-footer { padding: 0 1.75rem 1.5rem; }
#quoteModal .modal-footer .btn { border-radius: 8px; font-size: 0.88rem; padding: 10px 20px; }
#quoteModal .form-label { font-size: 0.78rem; font-weight: 600; color: var(--secondary); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.3px; }
#quoteModal .invalid-feedback { font-size: 0.75rem; }
#quoteModal .row.g-3 > [class*="col"] { position: relative; }

/* ===== LEGAL PAGES ===== */
.legal-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--secondary); margin-top: 2rem; margin-bottom: 0.6rem; padding-left: 0.75rem; border-left: 3px solid var(--primary); }
.legal-content p, .legal-content li { color: var(--text-muted); font-size: 0.91rem; line-height: 1.8; }
.legal-content ul { padding-left: 1.25rem; }
.legal-content ul li { margin-bottom: 0.4rem; }
.legal-last-updated { background: rgba(255,107,0,0.07); border: 1px solid rgba(255,107,0,0.2); border-radius: 8px; padding: 0.6rem 1rem; font-size: 0.82rem; color: var(--primary); display: inline-block; margin-bottom: 2rem; }

/* ===== SERVICES PAGE ===== */
.service-visual {
    position: relative; background: var(--gradient-dark);
    border-radius: var(--radius-xl); height: 340px;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.service-visual::before { content: ''; position: absolute; top: -30%; right: -20%; width: 260px; height: 260px; background: radial-gradient(circle, rgba(255,107,0,0.2) 0%, transparent 70%); border-radius: 50%; }
.service-visual-icon { font-size: 6.5rem; color: var(--primary); opacity: 0.9; position: relative; z-index: 2; filter: drop-shadow(0 8px 20px rgba(255,107,0,0.4)); }
.service-visual-badge {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15); color: #fff;
    padding: 5px 16px; border-radius: 50px; font-size: 0.78rem; font-weight: 600; white-space: nowrap; z-index: 2;
}
.service-detail-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid #f0f0f0; transition: var(--transition); }
.service-detail-card:hover { box-shadow: var(--shadow); border-color: rgba(255,107,0,0.15); }

/* ============================================
   RESPONSIVE — MOBILE FIRST FIXES
   ============================================ */

/* Large tablets */
@media (max-width: 1199px) {
    .hero-png-img { max-height: 400px; }
}

/* Tablets */
@media (max-width: 991px) {
    section { padding: 56px 0; }

    /* Hero */
    .hero-section { min-height: auto; padding: 90px 0 60px; }
    .hero-img-col { display: none; }
    .hero-title { font-size: clamp(1.8rem, 5vw, 2.6rem); }
    .hero-stats { max-width: 480px; }

    /* Quote strip */
    .quote-strip-wrap { margin-top: 0; padding: 0 15px; }
    .hero-form-strip { padding: 1.5rem; border-radius: var(--radius-lg); }
    .strip-label { margin-bottom: 0.5rem; }

    /* About badge */
    .about-badge-float { left: 8px; }

    /* Page hero */
    .page-hero { padding: 95px 0 50px; }
    .page-hero h1 { font-size: 1.8rem; }

    /* Service visual */
    .service-visual { height: 280px; margin-bottom: 1.5rem; }
    .service-visual-icon { font-size: 5rem; }
}

/* Mobile landscape / small tablets */
@media (max-width: 767px) {
    section { padding: 48px 0; }

    /* Typography */
    .section-title { font-size: 1.65rem; }
    .section-subtitle { font-size: 0.88rem; }

    /* Hero */
    .hero-section { padding: 0px 0 50px; }
    .hero-title { font-size: 1.75rem; }
    .hero-desc { font-size: 0.92rem; }
    .hero-badge { font-size: 0.72rem; }
    .hero-stats { flex-wrap: wrap; }
    .hero-stat-item { min-width: 48%; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .hero-stat-item:nth-child(2n) { border-right: none; }
    .hero-stat-item .number { font-size: 1.35rem; }
    .hero-stat-item .label { font-size: 0.62rem; }

    /* Quote strip */
    .hero-form-strip { padding: 1.25rem; }
    .strip-label { margin-bottom: 0.75rem; }
    .strip-btn { margin-top: 0.25rem; }

    /* Buttons */
    .btn-primary-custom, .btn-whatsapp, .btn-outline-custom { padding: 9px 18px; font-size: 0.85rem; }
    .btn-primary-custom.btn-lg, .btn-whatsapp.btn-lg, .btn-outline-custom.btn-lg { padding: 10px 22px; font-size: 0.9rem; }

    /* Why cards */
    .why-card { margin-bottom: 0.9rem; }

    /* Contact */
    .contact-info-card { margin-bottom: 1.5rem; }

    /* Page hero */
    .page-hero { padding: 85px 0 45px; }
    .page-hero h1 { font-size: 1.6rem; }

    /* Location */
    .location-info-card { margin-top: 1.5rem; }
    .about-badge-float { left: 10px; bottom: 16px; }

    /* Footer */
    .footer .col-lg-4, .footer .col-lg-2, .footer .col-lg-3 { margin-bottom: 1.5rem; }
}

/* Mobile portrait */
@media (max-width: 575px) {
    section { padding: 40px 0; }

    /* Hero */
    .hero-section { padding: 0px 0 45px; }
    .hero-title { font-size: 1.55rem; line-height: 1.25; }
    .hero-desc { font-size: 0.88rem; }
    .d-flex.flex-wrap.gap-2 { gap: 8px !important; }
    .btn-primary-custom.btn-lg, .btn-whatsapp.btn-lg, .btn-outline-custom.btn-lg { padding: 9px 16px; font-size: 0.85rem; }

    /* Stats */
    .hero-stat-item { min-width: 48%; }
    .hero-stat-item .number { font-size: 1.25rem; }

    /* Quote strip */
    .hero-form-strip { padding: 1rem; border-radius: var(--radius); }
    .strip-label { flex-direction: column; align-items: flex-start; gap: 4px; }
    .strip-label > .bi { font-size: 1.5rem; }

    /* Section title */
    .section-title { font-size: 1.5rem; }

    /* Service cards */
    .service-card { padding: 1.5rem 1.25rem; }
    .service-icon { width: 60px; height: 60px; font-size: 1.5rem; }

    /* Why cards */
    .why-icon { width: 42px; height: 42px; min-width: 42px; font-size: 1.1rem; }

    /* Process steps */
    .process-step { padding: 1.25rem 0.75rem; }

    /* Testimonials */
    .testimonial-card { padding: 1.25rem; }

    /* Bihar cities */
    .city-tag { font-size: 0.7rem; padding: 3px 8px; }

    /* Trust cards */
    .trust-card { padding: 1.1rem; }
    .trust-icon { width: 44px; height: 44px; min-width: 44px; font-size: 1.2rem; }

    /* Tip cards */
    .tip-card { padding: 1.4rem 1.2rem; }

    /* Contact form */
    .contact-form-card { padding: 1.5rem; }
    .contact-info-card { padding: 1.5rem; }

    /* Legal */
    .contact-form-card.legal-content { padding: 1.5rem; }

    /* Modal */
    #quoteModal .modal-dialog { margin: 0.5rem; }
    #quoteModal .modal-header { padding: 1.25rem 1.5rem; }
    #quoteModal .modal-body .p-4 { padding: 1.25rem !important; }
    #quoteModal .modal-footer { padding: 0 1.25rem 1.25rem; }

    /* Page hero */
    .page-hero { padding: 80px 0 40px; }
    .page-hero h1 { font-size: 1.45rem; }

    /* Footer */
    .footer-bottom .row { flex-direction: column; gap: 0.5rem; }
    .footer-bottom .col-md-6 { text-align: center !important; }

    /* CTA */
    .cta-section .d-flex { flex-direction: column; align-items: center; }
    .cta-section .btn { width: 100%; max-width: 280px; justify-content: center; }

    /* Map */
    .map-container iframe { height: 280px; }
}

/* ===== FORM VALIDATION STATES (global) ===== */
.form-control.is-invalid,
.form-select.is-invalid,
.modal-input.is-invalid {
    border-color: #dc3545 !important;
    background-image: none !important;
    box-shadow: 0 0 0 3px rgba(220,53,69,0.1) !important;
}
.form-control.is-valid,
.form-select.is-valid,
.modal-input.is-valid {
    border-color: #198754 !important;
    background-image: none !important;
    box-shadow: none !important;
}
.invalid-feedback { font-size: 0.75rem; color: #dc3545; display: block; margin-top: 4px; }
.contact-form-card .invalid-feedback { font-size: 0.75rem; }

/* ===== SPINNER in buttons ===== */
.spinner-border-sm { width: 0.85rem; height: 0.85rem; border-width: 0.15em; }

/* ===== AOS OVERFLOW FIX ===== */
/* Prevent AOS animations from causing horizontal scroll */
[data-aos] {
    pointer-events: none;
}
[data-aos].aos-animate {
    pointer-events: auto;
}
.container, .container-fluid, .row {
    overflow-x: clip;
}
/* Extra safety on mobile */
@media (max-width: 767px) {
    [data-aos^="fade"][data-aos^="fade"] {
        opacity: 0;
        transition-property: opacity, transform;
    }
    [data-aos="fade-up"].aos-animate {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ABOUT VISUAL BOX ===== */
.about-visual-box {
    background: linear-gradient(135deg, #0f2044, #0a1628);
    border-radius: 20px;
    height: 420px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}
.about-visual-box:hover .about-main-img {
    transform: scale(1.04);
}
.about-icon-fallback {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

/* ===== SERVICE VISUAL IMAGE ===== */
.service-visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}
.service-visual:hover .service-visual-img {
    transform: scale(1.04);
}

@media (max-width: 767px) {
    .about-visual-box { height: 280px; }
}
