/* ============================================================
   ShriGrow - Main Landing Page Styles
   Orange/Saffron Theme
   ============================================================ */

:root {
    --primary:    #E8531A;
    --primary-dk: #C4431A;
    --secondary:  #2C3E50;
    --accent:     #F39C12;
    --light-bg:   #FFF8F3;
    --gray-bg:    #F8F9FA;
    --text-dark:  #212529;
    --text-muted: #6C757D;
    --white:      #FFFFFF;
    --border:     #E9ECEF;
    --shadow:     0 4px 20px rgba(0,0,0,.08);
    --shadow-lg:  0 8px 40px rgba(0,0,0,.12);
    --radius:     12px;
    --radius-lg:  20px;
}

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

a { text-decoration: none; transition: all .25s ease; }
img { max-width: 100%; height: auto; }

/* ─── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; }
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--secondary);
    position: relative;
    margin-bottom: 0.5rem;
}
.section-title span { color: var(--primary); }
.section-subtitle { color: var(--text-muted); font-size: .95rem; }
.section-badge {
    display: inline-block;
    background: rgba(232,83,26,.12);
    color: var(--primary);
    font-size: .78rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .5rem;
}

/* ─── Navbar ────────────────────────────────────────────────── */
.navbar {
    background: var(--white) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,.07);
    padding: .8rem 0;
    transition: all .3s ease;
    position: sticky;
    top: 0;
    z-index: 1040;
}
.navbar.scrolled {
    box-shadow: 0 4px 25px rgba(0,0,0,.12);
}
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary) !important;
}
.navbar-brand .logo-sg {
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    margin-right: 8px;
    box-shadow: 0 3px 10px rgba(232,83,26,.35);
}
.navbar-brand .brand-name { color: var(--secondary); }
.navbar-brand .brand-name span { color: var(--primary); }

.navbar-nav .nav-link {
    color: var(--secondary) !important;
    font-weight: 500;
    font-size: .9rem;
    padding: .4rem .85rem !important;
    border-radius: 6px;
    transition: all .2s;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--primary) !important;
    background: rgba(232,83,26,.07);
}
.btn-nav-login {
    background: var(--primary) !important;
    color: var(--white) !important;
    border-radius: 8px !important;
    padding: .4rem 1.2rem !important;
    font-weight: 600 !important;
}
.btn-nav-login:hover {
    background: var(--primary-dk) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232,83,26,.3);
}

/* ─── Hero Section ─────────────────────────────────────────── */
.hero-section {
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #FFF8F3 0%, #FFF3ED 40%, #FFF 70%);
    position: relative;
    overflow: hidden;
    padding: 80px 0 40px;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(232,83,26,.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(243,156,18,.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite 2s;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: .7; }
    50%       { transform: scale(1.1); opacity: 1; }
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(232,83,26,.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    gap: 6px;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.15;
    margin-bottom: 1.2rem;
}
.hero-title .highlight {
    color: var(--primary);
    position: relative;
}
.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--primary);
    border-radius: 2px;
    opacity: .4;
}
.hero-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 2rem;
}
.hero-cta .btn-primary-main {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: .85rem 2.2rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(232,83,26,.35);
    transition: all .3s;
}
.hero-cta .btn-primary-main:hover {
    background: var(--primary-dk);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(232,83,26,.4);
}
.hero-cta .btn-outline-main {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--border);
    padding: .82rem 2rem;
    font-weight: 600;
    font-size: .95rem;
    border-radius: 10px;
    transition: all .3s;
}
.hero-cta .btn-outline-main:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
}
.hero-stat-item strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
}
.hero-stat-item span {
    font-size: .78rem;
    color: var(--text-muted);
    font-weight: 500;
}
.hero-img-wrapper {
    position: relative;
    text-align: center;
}
.hero-img-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    display: inline-block;
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}
.hero-img-icon {
    font-size: 5rem;
    color: var(--primary);
    display: block;
    margin-bottom: 1rem;
}
.hero-badge-float {
    position: absolute;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: .6rem 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    font-weight: 600;
    animation: float-in .8s ease forwards;
}
.hero-badge-float.b1 { top: 20%; right: -10px; }
.hero-badge-float.b2 { bottom: 25%; left: -20px; }
.hero-badge-float .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--primary);
}

/* ─── Insurance Types Section ──────────────────────────────── */
.insurance-section { padding: 80px 0; background: var(--white); }
.ins-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all .3s ease;
    cursor: pointer;
    height: 100%;
}
.ins-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(232,83,26,.12);
}
.ins-card .icon-wrap {
    width: 70px; height: 70px;
    background: rgba(232,83,26,.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: var(--primary);
    transition: all .3s;
}
.ins-card:hover .icon-wrap {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}
.ins-card h5 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: .3rem;
}
.ins-card p {
    font-size: .78rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* ─── Services Section ─────────────────────────────────────── */
.services-section { padding: 80px 0; background: var(--light-bg); }
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all .3s;
    height: 100%;
    border: 1px solid transparent;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border);
}
.service-icon {
    width: 56px; height: 56px;
    background: rgba(232,83,26,.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* ─── Why Us Section ───────────────────────────────────────── */
.why-section { padding: 80px 0; background: var(--secondary); color: var(--white); }
.why-section .section-title { color: var(--white); }
.why-section .section-title span { color: var(--accent); }
.why-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    background: rgba(255,255,255,.06);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,.1);
    transition: all .3s;
    height: 100%;
}
.why-card:hover {
    background: rgba(255,255,255,.1);
    transform: translateY(-3px);
}
.why-card .why-icon {
    width: 50px; height: 50px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    flex-shrink: 0;
}
.why-card h5 { color: var(--white); font-size: .95rem; margin-bottom: .3rem; }
.why-card p { color: rgba(255,255,255,.65); font-size: .82rem; margin: 0; }

/* ─── Become Agent Section ─────────────────────────────────── */
.agent-section { padding: 80px 0; background: var(--white); }
.agent-steps .step-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}
.step-num {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(232,83,26,.3);
}
.step-item h5 { font-size: 1rem; color: var(--secondary); margin-bottom: .3rem; }
.step-item p { font-size: .85rem; color: var(--text-muted); margin: 0; }
.agent-cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    color: var(--white);
    text-align: center;
}
.agent-cta-card h3 { font-size: 1.8rem; margin-bottom: .8rem; }
.btn-white {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    border-radius: 10px;
    padding: .8rem 2rem;
    transition: all .3s;
    border: none;
    font-size: .95rem;
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    color: var(--primary-dk);
}

/* ─── Testimonials ─────────────────────────────────────────── */
.testimonial-section { padding: 80px 0; background: var(--light-bg); }
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all .3s;
    height: 100%;
    position: relative;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.testimonial-card .quote-icon {
    font-size: 2.5rem;
    color: var(--primary);
    opacity: .2;
    position: absolute;
    top: 1.2rem; right: 1.5rem;
}
.testimonial-card .stars { color: #F39C12; font-size: .85rem; margin-bottom .8rem; }
.testimonial-card .text { font-size: .88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.2rem; }
.testimonial-card .avatar {
    width: 45px; height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
    flex-shrink: 0;
}
.testimonial-card .name { font-weight: 700; font-size: .9rem; color: var(--secondary); }
.testimonial-card .desig { font-size: .75rem; color: var(--text-muted); }

/* ─── FAQs ─────────────────────────────────────────────────── */
.faq-section { padding: 80px 0; background: var(--white); }
.accordion-button:not(.collapsed) {
    background: rgba(232,83,26,.06);
    color: var(--primary);
    box-shadow: none;
}
.accordion-button:focus { box-shadow: none; }
.accordion-button::after {
    filter: invert(50%) sepia(100%) saturate(500%) hue-rotate(-10deg);
}
.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius) !important;
    margin-bottom: .75rem;
    overflow: hidden;
}
.accordion-button {
    font-weight: 600;
    font-size: .92rem;
    color: var(--secondary);
    border-radius: var(--radius) !important;
}

/* ─── App Download ─────────────────────────────────────────── */
.app-section { padding: 80px 0; background: var(--secondary); color: var(--white); }
.app-section .section-title { color: var(--white); }
.app-section .section-subtitle { color: rgba(255,255,255,.65); }
.btn-app {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    background: rgba(255,255,255,.1);
    border: 2px solid rgba(255,255,255,.2);
    color: var(--white);
    border-radius: 12px;
    padding: .8rem 1.5rem;
    transition: all .3s;
    text-decoration: none;
}
.btn-app:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-app .icon { font-size: 1.8rem; }
.btn-app .text-sm { font-size: .7rem; opacity: .7; display: block; }
.btn-app .text-lg { font-size: .95rem; font-weight: 700; display: block; }

/* ─── Contact Section ──────────────────────────────────────── */
.contact-section { padding: 80px 0; background: var(--light-bg); }
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.8rem;
}
.contact-icon {
    width: 45px; height: 45px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-info-item h6 { font-size: .85rem; color: var(--text-muted); margin-bottom: .2rem; font-weight: 500; }
.contact-info-item p { font-size: .95rem; color: var(--secondary); margin: 0; font-weight: 600; }
.contact-form { background: var(--white); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow); }

/* ─── Enquiry Modal ────────────────────────────────────────── */
.enquiry-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1050;
}
.enquiry-float .btn-float {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: 1.4rem;
    box-shadow: 0 6px 20px rgba(232,83,26,.4);
    transition: all .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.enquiry-float .btn-float:hover {
    transform: scale(1.1) rotate(15deg);
    background: var(--primary-dk);
}

/* ─── Footer ────────────────────────────────────────────────── */
footer {
    background: #1a2530;
    color: rgba(255,255,255,.75);
    padding: 60px 0 0;
}
.footer-logo .logo-sg {
    width: 48px; height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    margin-right: 10px;
}
.footer-logo .brand { font-size: 1.4rem; font-weight: 800; color: var(--white); }
.footer-logo .brand span { color: var(--primary); }
footer p { font-size: .85rem; line-height: 1.8; }
.footer-heading {
    color: var(--white);
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: .6rem;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 2px;
    background: var(--primary);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a {
    color: rgba(255,255,255,.65);
    font-size: .85rem;
    transition: all .2s;
}
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.social-links { display: flex; gap: .7rem; margin-top: 1rem; }
.social-link {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    transition: all .3s;
}
.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 2.5rem;
    padding: 1.2rem 0;
    font-size: .8rem;
    color: rgba(255,255,255,.45);
}

/* ─── Buttons ──────────────────────────────────────────────── */
.btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
    font-weight: 600;
    border-radius: 8px;
    padding: .65rem 1.5rem;
    transition: all .3s;
}
.btn-primary:hover {
    background: var(--primary-dk) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232,83,26,.3);
}
.btn-outline-primary {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    font-weight: 600;
    border-radius: 8px;
}
.btn-outline-primary:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}

/* ─── Forms ─────────────────────────────────────────────────── */
.form-control, .form-select {
    border-radius: 8px;
    border: 1.5px solid var(--border);
    padding: .65rem 1rem;
    font-size: .9rem;
    transition: all .2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(232,83,26,.15);
}
.form-label { font-weight: 500; font-size: .85rem; color: var(--secondary); }

/* ─── Callback Widget ──────────────────────────────────────── */
.callback-widget {
    position: fixed;
    left: 2rem;
    bottom: 2rem;
    z-index: 1050;
}
.btn-callback {
    background: #25D366;
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: .7rem 1.2rem;
    font-size: .85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .5rem;
    box-shadow: 0 4px 15px rgba(37,211,102,.35);
    transition: all .3s;
}
.btn-callback:hover {
    transform: scale(1.05);
    color: var(--white);
}

/* ─── Scroll Top Button ────────────────────────────────────── */
#scrollTop {
    position: fixed;
    bottom: 5.5rem;
    right: 2rem;
    width: 42px; height: 42px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 1040;
    box-shadow: var(--shadow);
    transition: all .3s;
}
#scrollTop:hover { background: var(--primary); transform: translateY(-2px); }
#scrollTop.show { display: flex; }

/* ─── Animations ────────────────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── Page Banner ──────────────────────────────────────────── */
.page-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a2b3c 100%);
    padding: 60px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    right: -50px; top: -50px;
    width: 250px; height: 250px;
    border-radius: 50%;
    background: rgba(232,83,26,.15);
}
.page-banner h1 { font-size: 2.2rem; margin-bottom: .5rem; }
.page-banner .breadcrumb { background: none; padding: 0; font-size: .85rem; }
.page-banner .breadcrumb-item, .page-banner .breadcrumb-item a { color: rgba(255,255,255,.7); }
.page-banner .breadcrumb-item.active { color: var(--primary); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ─── Spinner ───────────────────────────────────────────────── */
.btn-loading { position: relative; pointer-events: none; opacity: .7; }
.btn-loading::after {
    content: '';
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin .6s linear infinite;
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-section { padding: 60px 0 40px; min-height: auto; }
    .hero-stats { gap: 1.2rem; }
    .hero-stats strong { font-size: 1.3rem; }
    .hero-img-wrapper { display: none; }
    .hero-badge-float { display: none; }
    section { padding: 50px 0; }
}
