/* ============================================
   GrowWealth Investments - Custom Stylesheet
   Premium Investment Consultant Website
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #0B5ED7;
    --primary-dark: #0949a8;
    --primary-light: #3d8bf2;
    --secondary: #00B894;
    --secondary-dark: #009975;
    --accent: #FFC107;
    --bg: #F8FAFC;
    --white: #FFFFFF;
    --text: #1F2937;
    --text-muted: #6B7280;
    --shadow-sm: 0 2px 12px rgba(11, 94, 215, 0.08);
    --shadow-md: 0 8px 30px rgba(11, 94, 215, 0.12);
    --shadow-lg: 0 20px 60px rgba(11, 94, 215, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font: 'Poppins', sans-serif;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --navbar-height: 72px;
}

/* ---------- Global Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
    overflow-x: hidden;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

/* ---------- Typography ---------- */
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(11,94,215,0.1), rgba(0,184,148,0.1));
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.section-padding { padding: clamp(60px, 8vw, 100px) 0; }
.bg-section { background: var(--bg); }

/* ---------- Buttons ---------- */
.btn-gradient {
    background: var(--gradient);
    border: none;
    color: var(--white);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(11, 94, 215, 0.3);
}

.btn-gradient:hover, .btn-gradient:focus {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.35);
}

/* ---------- Glass Card ---------- */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.glass-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* ============================================
   NAVBAR
   ============================================ */
#mainNavbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0;
    min-height: var(--navbar-height);
    transition: var(--transition);
    box-shadow: none;
}

#mainNavbar .container {
    min-height: var(--navbar-height);
    display: flex;
    align-items: center;
}

#mainNavbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text) !important;
    display: flex;
    align-items: center;
    line-height: 1;
    padding: 0;
    margin: 0;
}

.navbar-brand span { color: var(--secondary); }
.navbar-brand i { color: var(--primary); }

.nav-link {
    color: var(--text) !important;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 8px 12px !important;
    position: relative;
}

.nav-link:hover, .nav-link.active { color: var(--primary) !important; }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after { width: 60%; }

.navbar-toggler {
    border: none;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler:focus { box-shadow: none; }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(31, 41, 55, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-nav {
    padding: 8px 22px !important;
    font-size: 0.88rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: var(--navbar-height);
    padding-bottom: 40px;
    background: linear-gradient(135deg, #0a3d7a 0%, var(--primary) 50%, #1a7ae8 100%);
    overflow: hidden;
}

.hero-section > .container {
    width: 100%;
}

.hero-section .row.min-vh-100 {
    min-height: calc(100vh - var(--navbar-height));
    min-height: calc(100dvh - var(--navbar-height));
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&h=1080&fit=crop') center/cover;
    opacity: 0.12;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    max-width: 520px;
}

.btn-outline-hero {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-outline-hero:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
}

.trust-item i { color: var(--accent); }

.hero-image-wrap {
    position: relative;
    display: inline-block;
}

.hero-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-height: 480px;
    object-fit: cover;
    width: 100%;
}

.hero-float-badge {
    position: absolute;
    background: var(--white);
    padding: 12px 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    animation: floatAnim 3s ease-in-out infinite;
}

.hero-float-badge i { font-size: 1.3rem; }
.hero-float-badge strong { display: block; color: var(--text); font-size: 0.95rem; }
.hero-float-badge small { color: var(--text-muted); font-size: 0.75rem; }

.badge-1 { top: 15%; left: -20px; }
.badge-2 { bottom: 12%; right: -15px; animation-delay: 1.5s; }

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners-section {
    padding: 30px 0;
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.partners-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 600;
}

.partners-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo i { font-size: 1.3rem; color: var(--primary); }
.partner-logo:hover { opacity: 1; color: var(--primary); }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-img-wrap { position: relative; }

.about-img { box-shadow: var(--shadow-lg); width: 100%; }

.about-badge {
    position: absolute;
    bottom: -15px;
    right: 10px;
    background: var(--gradient);
    color: var(--white);
    padding: 18px 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-badge h3 { font-size: 2.2rem; font-weight: 800; margin: 0; color: var(--accent); }
.about-badge p { font-size: 0.8rem; margin: 0; opacity: 0.9; }

.mvv-box {
    padding: 22px 18px;
    height: 100%;
}

.mvv-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.mvv-box h5 { font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; }
.mvv-box p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

.about-highlight {
    display: flex;
    gap: 15px;
    background: linear-gradient(135deg, rgba(11,94,215,0.05), rgba(0,184,148,0.05));
    padding: 20px;
    border-radius: var(--radius);
    border-left: 4px solid var(--secondary);
}

.about-highlight i {
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.about-highlight strong { color: var(--primary); display: block; margin-bottom: 4px; }
.about-highlight p { font-size: 0.88rem; color: var(--text-muted); }

/* ============================================
   SERVICES SECTION
   ============================================ */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-img {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img { transform: scale(1.08); }

.service-icon {
    position: absolute;
    bottom: -22px;
    left: 20px;
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.service-body { padding: 35px 22px 25px; }

.service-body h5 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text);
}

.service-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.service-link i { transition: transform 0.3s; }
.service-link:hover { color: var(--secondary); }
.service-link:hover i { transform: translateX(4px); }

/* ============================================
   BENEFIT CARDS
   ============================================ */
.benefit-card {
    padding: 28px 20px;
    text-align: center;
    height: 100%;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--white);
    font-size: 1.3rem;
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(11, 94, 215, 0.3);
}

.benefit-card h5 {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   PROCESS TIMELINE
   ============================================ */
.process-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.process-step {
    text-align: center;
    flex: 0 0 150px;
    padding: 15px 8px;
}

.step-num {
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: var(--text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0 auto 8px;
}

.step-icon {
    width: 65px;
    height: 65px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.3rem;
    color: var(--primary);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.process-step:hover .step-icon {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
    transform: scale(1.1);
}

.process-step h5 { font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.process-step p { font-size: 0.78rem; color: var(--text-muted); margin: 0; }

.process-arrow {
    display: flex;
    align-items: center;
    color: var(--secondary);
    font-size: 1.1rem;
    padding-top: 45px;
}

/* ============================================
   SIP CALCULATOR
   ============================================ */
.calc-wrapper { padding: clamp(25px, 4vw, 40px); border-radius: var(--radius-lg); }

.calc-input-group { margin-bottom: 22px; }

.calc-input-group label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}

.calc-input-group .form-control {
    border: 2px solid #e5e7eb;
    border-radius: var(--radius);
    padding: 10px 14px;
    font-weight: 500;
    transition: var(--transition);
}

.calc-input-group .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.1);
}

.calc-input-group .form-range { accent-color: var(--primary); margin-bottom: 6px; }

.calc-results { display: flex; flex-direction: column; gap: 14px; }

.calc-result-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    padding: 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.calc-result-card:hover { transform: translateX(5px); box-shadow: var(--shadow-md); }

.calc-result-card.highlight {
    background: var(--gradient);
    color: var(--white);
}

.calc-result-card.highlight h3,
.calc-result-card.highlight span { color: var(--white); }

.result-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    background: rgba(11, 94, 215, 0.1);
    color: var(--primary);
}

.result-icon.returns { background: rgba(0, 184, 148, 0.1); color: var(--secondary); }
.result-icon.wealth { background: rgba(255, 193, 7, 0.15); color: #d4a000; }

.calc-result-card.highlight .result-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.calc-result-card span { font-size: 0.82rem; color: var(--text-muted); display: block; }
.calc-result-card h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 700; color: var(--primary); margin: 0; }

.calc-chart .chart-bar {
    display: flex;
    height: 10px;
    border-radius: 50px;
    overflow: hidden;
    background: #e5e7eb;
}

.bar-invested { background: var(--primary); transition: width 0.5s ease; }
.bar-returns { background: var(--secondary); transition: width 0.5s ease; }

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.text-primary-custom { color: var(--primary) !important; }
.text-secondary-custom { color: var(--secondary) !important; }

/* ============================================
   MUTUAL FUNDS BENEFITS
   ============================================ */
.mf-card {
    background: var(--white);
    padding: 28px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
}

.mf-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.mf-card i {
    font-size: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
    display: block;
}

.mf-card h5 { font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.mf-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* ============================================
   STATISTICS
   ============================================ */
.stats-section {
    background: var(--gradient);
    padding: clamp(50px, 7vw, 80px) 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=1920&h=400&fit=crop') center/cover;
    opacity: 0.06;
}

.stat-box { position: relative; z-index: 1; }

.stat-icon {
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.4rem;
    color: var(--accent);
    border: 2px solid rgba(255, 193, 7, 0.3);
}

.stat-box h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
}

.stat-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-info { padding: 20px; }

.team-info h5 { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.team-info span { font-size: 0.85rem; color: var(--text-muted); }

.team-social { margin-top: 12px; }

.team-social a {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: 50%;
    color: var(--primary);
    font-size: 0.8rem;
    margin: 0 3px;
    transition: var(--transition);
}

.team-social a:hover { background: var(--gradient); color: var(--white); }

/* ============================================
   AWARDS
   ============================================ */
.award-card {
    padding: 30px 20px;
    text-align: center;
    height: 100%;
}

.award-card i {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 14px;
}

.award-card h5 { font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; }
.award-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover img { transform: scale(1.05); }

.blog-body { padding: 22px; }

.blog-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.blog-body h5 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-body p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }

.blog-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.blog-link:hover { color: var(--secondary); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(30px, 5vw, 50px) clamp(20px, 4vw, 40px);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

.testimonial-avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 14px;
    border: 3px solid var(--secondary);
}

.stars { color: var(--accent); font-size: 0.95rem; margin-bottom: 14px; }

.testimonial-box p {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 18px;
}

.testimonial-box h5 { font-weight: 700; color: var(--primary); margin-bottom: 2px; }
.testimonial-box span { font-size: 0.85rem; color: var(--text-muted); }

#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.85;
}

#testimonialCarousel .carousel-control-prev { left: -10px; }
#testimonialCarousel .carousel-control-next { right: -10px; }

#testimonialCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: var(--radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    font-weight: 600;
    color: var(--text);
    background: var(--white);
    padding: 16px 22px;
    font-size: 0.92rem;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus { box-shadow: none; }
.accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }

.accordion-body {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 18px 22px;
    line-height: 1.8;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    padding: clamp(60px, 8vw, 100px) 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1920&h=600&fit=crop') center/cover;
    opacity: 0.1;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 550px;
    margin: 0 auto 28px;
}

.btn-outline-cta {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
}

.btn-outline-cta:hover {
    background: var(--white);
    color: var(--primary);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item h5 { font-weight: 600; font-size: 0.95rem; margin-bottom: 4px; }
.contact-item p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

.contact-form {
    padding: clamp(25px, 4vw, 40px);
    border-radius: var(--radius-lg);
}

.contact-form .form-label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--primary);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #e5e7eb;
    border-radius: var(--radius);
    padding: 11px 14px;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.1);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(135deg, #0a2d5c, var(--primary-dark));
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 20px;
}

.footer-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    display: inline-block;
    margin-bottom: 14px;
}

.footer-brand span { color: var(--secondary); }
.footer-brand i { color: var(--secondary); }

.footer-about { font-size: 0.88rem; line-height: 1.8; margin-bottom: 18px; }

.footer-social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    margin-right: 6px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--secondary);
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--secondary); padding-left: 4px; }

.footer-newsletter-text { font-size: 0.85rem; margin-bottom: 12px; }

.newsletter-form .form-control {
    border: none;
    padding: 10px 14px;
    border-radius: 50px 0 0 50px;
    font-size: 0.88rem;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 10px 16px;
}

.footer-contact { list-style: none; padding: 0; }
.footer-contact li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i { color: var(--secondary); }

.footer-divider { border-color: rgba(255, 255, 255, 0.1); margin: 30px 0 18px; }

.footer-bottom p { font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); margin: 0; }

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.float-btn {
    position: fixed;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    z-index: 999;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.float-btn:hover { transform: scale(1.1); color: var(--white); }

.whatsapp-btn { bottom: 95px; right: 20px; background: #25D366; }
.call-btn { bottom: 160px; right: 20px; background: var(--primary); }

.back-to-top {
    bottom: 30px;
    right: 20px;
    background: var(--secondary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ============================================
   FORM SUCCESS MESSAGE
   ============================================ */
.form-success-msg {
    background: var(--gradient);
    color: var(--white);
    padding: 14px 18px;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 14px;
    font-weight: 500;
    font-size: 0.9rem;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   DESKTOP SPACING (Tighter section gaps)
   ============================================ */
@media (min-width: 992px) {
    .section-padding {
        padding: 50px 0;
    }

    .section-padding > .container > .text-center.mb-5,
    .section-padding .text-center.mb-5 {
        margin-bottom: 1.75rem !important;
    }

    .section-title {
        margin-bottom: 8px;
    }

    .section-subtitle {
        margin-bottom: 0;
    }

    .section-padding .row.g-5 {
        --bs-gutter-x: 2rem;
        --bs-gutter-y: 2rem;
    }

    .section-padding .row.g-4 {
        --bs-gutter-y: 1.25rem;
    }

    .stats-section {
        padding: 45px 0;
    }

    .cta-section {
        padding: 50px 0;
    }

    .partners-section {
        padding: 18px 0;
    }

    .partners-label {
        margin-bottom: 12px;
    }

    .footer {
        padding: 45px 0 18px;
    }

    .calc-wrapper {
        padding: 32px;
    }

    .contact-form {
        padding: 32px;
    }
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    :root {
        --navbar-height: 64px;
    }

    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: var(--radius);
        margin-top: 10px;
        box-shadow: var(--shadow-md);
    }

    .btn-nav {
        display: block;
        text-align: center;
        margin-top: 10px;
        width: 100%;
    }

    /* Hero: top-aligned layout, no overlap with fixed navbar */
    .hero-section {
        align-items: flex-start;
        padding-top: calc(var(--navbar-height) + 28px);
        padding-bottom: 50px;
        min-height: auto;
    }

    .hero-section .row.min-vh-100 {
        min-height: auto !important;
        align-items: flex-start !important;
        padding-top: 0;
    }

    .hero-content {
        text-align: center;
        padding-top: 0;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 7px 14px;
        margin-bottom: 18px;
        line-height: 1.45;
        max-width: 100%;
    }

    .hero-title {
        font-size: clamp(1.65rem, 6.5vw, 2.25rem);
        margin-bottom: 16px;
        line-height: 1.25;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 26px;
        font-size: 0.95rem;
        line-height: 1.65;
        max-width: 100%;
        padding: 0 4px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 8px;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        padding: 14px 24px;
    }

    .hero-trust-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px 22px;
        margin-top: 28px;
        padding-top: 8px;
    }

    .trust-item {
        font-size: 0.8rem;
    }

    /* Hero image below content on tablet/mobile */
    .hero-section .col-lg-6.text-center {
        margin-top: 36px !important;
    }

    .hero-image-wrap {
        max-width: 340px;
        margin: 0 auto;
    }

    .hero-img {
        max-height: 280px;
    }

    .badge-1 { left: 5px; }
    .badge-2 { right: 5px; }

    .process-timeline { flex-direction: column; align-items: center; }
    .process-arrow { padding-top: 0; padding: 4px 0; }
    .process-step { flex: 0 0 auto; }

    #testimonialCarousel .carousel-control-prev { left: 5px; }
    #testimonialCarousel .carousel-control-next { right: 5px; }

    .cta-buttons .btn { width: 100%; margin-right: 0 !important; }
}

@media (max-width: 767.98px) {
    .partners-slider { gap: 18px; }
    .partner-logo { font-size: 0.8rem; }

    .about-badge {
        right: 5px;
        bottom: -10px;
        padding: 12px 18px;
    }

    .about-badge h3 { font-size: 1.6rem; }

    .team-card img { height: 240px; }

    .float-btn { width: 46px; height: 46px; font-size: 1.1rem; }
    .whatsapp-btn { bottom: 85px; right: 15px; }
    .call-btn { bottom: 145px; right: 15px; }
    .back-to-top { bottom: 25px; right: 15px; }
}

@media (max-width: 575.98px) {
    :root {
        --navbar-height: 60px;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .hero-section {
        padding-top: calc(var(--navbar-height) + 20px);
        padding-bottom: 40px;
    }

    .hero-badge {
        font-size: 0.68rem;
        padding: 6px 12px;
    }

    .hero-title {
        font-size: 1.55rem;
        padding: 0 2px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0;
    }

    .hero-trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 24px;
    }

    .hero-section .col-lg-6.text-center {
        margin-top: 28px !important;
    }

    .hero-image-wrap {
        max-width: 100%;
    }

    .hero-img {
        max-height: 220px;
        border-radius: var(--radius);
    }

    .hero-float-badge { display: none; }

    /* Keep FABs from covering trust badges */
    .whatsapp-btn { bottom: 80px; }
    .call-btn { bottom: 138px; }
}
