/* =====================================================
   Tinnitus Cleaning Services - Premium Corporate Styles
   Primary: Deep Emerald Green | Secondary: Charcoal | Accent: Gold
   ===================================================== */

:root {
    /* Brand from hero — deep indigo / violet */
    --primary: #3b2a8a;
    --primary-dark: #1a237e;
    --primary-light: #5c4db8;
    --primary-soft: #7c6bc4;
    --secondary: #1a1a2e;
    --secondary-light: #2d2d44;
    --accent: #f9a825;
    --accent-light: #ffc107;
    --accent-gold: #f9a825;
    --bg-light: #f0f2fa;
    --bg-offwhite: #f5f6fb;
    --bg-gradient: linear-gradient(180deg, #e8eefc 0%, #f5f6fb 100%);
    --purple-deep: #1a237e;
    --purple-mid: #311b92;
    --purple-bright: #4a148c;
    --text-dark: #1a1a2e;
    --text-muted: #6b6b80;
    --white: #ffffff;
    --border: #e2e4f0;
    --shadow-sm: 0 2px 8px rgba(26, 35, 126, 0.06);
    --shadow: 0 4px 20px rgba(26, 35, 126, 0.10);
    --shadow-lg: 0 10px 40px rgba(26, 35, 126, 0.14);
    --radius: 14px;
    --radius-sm: 10px;
    --transition: all 0.3s ease;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 70px; /* mobile bottom bar */
}
@media (min-width: 992px) {
    body { padding-bottom: 0; }
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; }

/* ========== TOP BAR ========== */
.top-bar {
    background: linear-gradient(90deg, var(--purple-deep), var(--purple-mid));
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar a { color: rgba(255,255,255,0.85); margin-right: 1.5rem; }
.top-bar a:hover { color: var(--accent); }
.top-bar i { margin-right: 6px; color: var(--accent); }

/* ========== NAVBAR ========== */
.main-navbar {
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
    transition: var(--transition);
}
.main-navbar.scrolled {
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.15rem; color: var(--secondary); font-weight: 700; }
.brand-text small { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; }

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 0.75rem;
    min-width: 260px;
}
.dropdown-item {
    border-radius: var(--radius-sm);
    padding: 0.6rem 1rem;
    font-weight: 500;
}
.dropdown-item:hover {
    background: rgba(13, 107, 79, 0.08);
    color: var(--primary);
}
.btn-request {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    border-radius: 50px;
    padding: 0.55rem 1.4rem !important;
    font-weight: 600;
    color: white !important;
}
.btn-request:hover {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 107, 79, 0.3);
}

/* ========== BUTTONS ========== */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    padding: 0.65rem 1.6rem;
    transition: var(--transition);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 107, 79, 0.3);
}
.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    padding: 0.65rem 1.6rem;
}
.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}
.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--secondary);
    border-radius: 50px;
    font-weight: 600;
}
.btn-accent:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: var(--secondary);
}
.btn-whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: white;
    border-radius: 50px;
    font-weight: 600;
}
.btn-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    color: white;
}

/* ========== HERO ========== */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(13,107,79,0.92) 0%, rgba(10,83,60,0.95) 50%, rgba(26,26,26,0.9) 100%),
                url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?w=1600&q=80') center/cover no-repeat;
    color: white;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}
.hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 560px;
    margin-bottom: 2rem;
    font-weight: 400;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}
.trust-item i {
    color: var(--accent);
    font-size: 1.1rem;
}

/* ========== STATS ========== */
.stats-section {
    background: var(--white);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding: 0 0 2rem;
}
.stats-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}
.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========== SECTIONS ========== */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-badge {
    display: inline-block;
    background: rgba(13, 107, 79, 0.1);
    color: var(--primary);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* ========== SERVICE CARDS ========== */
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 2rem 1.5rem;
    height: 100%;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(13,107,79,0.1), rgba(201,162,39,0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    transform: scale(1.08);
}
.service-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--secondary);
}
.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}
.service-card .btn-link {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}
.service-card .btn-link:hover { color: var(--primary-dark); }

/* ========== WHY CHOOSE ========== */
.why-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    height: 100%;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.why-card:hover {
    box-shadow: var(--shadow);
    border-color: rgba(13,107,79,0.2);
}
.why-icon {
    width: 50px;
    height: 50px;
    background: rgba(13,107,79,0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.why-card h5 { font-weight: 700; margin-bottom: 0.5rem; }

/* ========== HOW IT WORKS ========== */
.step-card {
    text-align: center;
    position: relative;
    padding: 1.5rem;
}
.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 auto 1.25rem;
    box-shadow: 0 6px 20px rgba(13,107,79,0.3);
}
.step-card h5 { font-weight: 700; margin-bottom: 0.5rem; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ========== PROJECT CARDS ========== */
.project-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.project-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.project-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}
.project-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}
.project-body { padding: 1.25rem; }
.project-body h5 { font-weight: 700; margin-bottom: 0.35rem; font-size: 1.05rem; }
.project-meta { font-size: 0.85rem; color: var(--text-muted); }

/* ========== TESTIMONIAL ========== */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
    height: 100%;
    transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); }
.stars { color: var(--accent); margin-bottom: 1rem; }
.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}
.author-info strong { display: block; font-size: 0.95rem; }
.author-info span { font-size: 0.8rem; color: var(--text-muted); }

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.cta-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ========== PAGE HERO ========== */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0 3rem;
    position: relative;
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0.5rem;
}
.breadcrumb-item a { color: rgba(255,255,255,0.8); }
.breadcrumb-item.active { color: rgba(255,255,255,0.6); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ========== FOOTER ========== */
.site-footer { background: var(--secondary); color: rgba(255,255,255,0.75); }
.footer-main { padding: 4rem 0 2.5rem; }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
}
.footer-logo .brand-icon { width: 36px; height: 36px; font-size: 1.1rem; }
.footer-desc { font-size: 0.9rem; line-height: 1.7; max-width: 320px; }
.footer-title {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
}
.footer-contact i { color: var(--accent); margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--accent); }
.footer-social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: white;
    margin-right: 8px;
    font-size: 1rem;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 0;
    font-size: 0.85rem;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--accent); }

/* ========== FLOATING WHATSAPP ========== */
.floating-whatsapp {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}
.floating-whatsapp:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}
@media (min-width: 992px) {
    .floating-whatsapp { bottom: 30px; }
}

/* ========== MOBILE BOTTOM BAR ========== */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    display: flex;
    z-index: 999;
    padding: 0.5rem 0;
}
.mobile-action {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    color: var(--text-dark);
    font-size: 0.7rem;
    font-weight: 600;
    gap: 2px;
}
.mobile-action i { font-size: 1.3rem; }
.mobile-action.primary {
    color: var(--primary);
}
.mobile-action:hover { color: var(--primary); }

/* ========== FORMS ========== */
.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,107,79,0.15);
}
.form-label { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.form-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2.5rem;
}

/* ========== BLOG ========== */
.blog-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.blog-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}
.blog-body { padding: 1.5rem; }
.blog-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.blog-body h5 { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; }
.blog-body h5 a { color: var(--secondary); }
.blog-body h5 a:hover { color: var(--primary); }

/* ========== FAQ ========== */
.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.accordion-button {
    font-weight: 600;
    font-size: 0.95rem;
}
.accordion-button:not(.collapsed) {
    background: rgba(13,107,79,0.06);
    color: var(--primary);
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(13,107,79,0.15);
}

/* ========== UTILITIES ========== */
.bg-light-green, .bg-soft-purple { background: rgba(13,107,79,0.04); }
.text-primary { color: var(--primary) !important; }
.bg-primary { background: var(--primary) !important; }
.rounded-modern { border-radius: var(--radius); }

/* Before/After Slider */
.ba-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    height: 350px;
}
.ba-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ba-slider .ba-after { clip-path: inset(0 50% 0 0); }
.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: white;
    cursor: ew-resize;
    z-index: 5;
    transform: translateX(-50%);
}
.ba-handle::before {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
}

/* Video Grid */
.video-card {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}
.video-card:hover { transform: scale(1.02); }
.video-thumb {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(13,107,79,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    transition: var(--transition);
}
.video-card:hover .video-play {
    background: var(--accent);
    transform: translate(-50%, -50%) scale(1.1);
}
.video-info {
    padding: 1rem;
    background: white;
}
.video-info h5 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.25rem; }

/* Search */
.search-box {
    position: relative;
}
.search-box input {
    padding-right: 3rem;
    border-radius: 50px;
}
.search-box button {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    border-radius: 50px;
    width: 42px;
    border: none;
    background: var(--primary);
    color: white;
}

/* Alert success */
.alert-success-custom {
    background: rgba(13,107,79,0.1);
    border: 1px solid rgba(13,107,79,0.2);
    color: var(--primary-dark);
    border-radius: var(--radius);
    padding: 1.5rem;
}

/* Loading */
.spinner-border-sm { width: 1rem; height: 1rem; }

/* Responsive */
@media (max-width: 768px) {
    .hero-section { min-height: 80vh; }
    .stats-section { margin-top: -40px; }
    .stat-number { font-size: 2rem; }
    .section { padding: 3.5rem 0; }
    .form-card { padding: 1.5rem; }
}

/* ========== HERO SHOWCASE (screenshot-style) ========== */
.hero-showcase {
    background: linear-gradient(180deg, #e8f0fe 0%, #f5f7fb 100%);
    padding: 1.5rem 0 0;
}
.hero-banner-title {
    text-align: center;
    margin-bottom: 1rem;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1a237e, #4a148c);
    color: #fff;
    font-weight: 700;
    font-size: clamp(0.95rem, 2.5vw, 1.25rem);
    padding: 0.55rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(26, 35, 126, 0.25);
}
.hero-panels {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.hero-panel {
    position: relative;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    transition: transform 0.35s ease, filter 0.35s ease;
}
.hero-panel:hover {
    transform: scale(1.03);
    z-index: 2;
    filter: brightness(1.05);
}
.hero-panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 15, 50, 0.85) 0%, rgba(10, 15, 50, 0.2) 55%, transparent 100%);
}
.hero-panel-content {
    position: relative;
    z-index: 1;
    padding: 1rem 0.75rem 1.15rem;
    color: #fff;
    text-align: center;
    width: 100%;
}
.hero-panel-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 0.5rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
.hero-panel:hover .hero-panel-icon {
    background: var(--primary);
    border-color: #fff;
    transform: scale(1.1);
}
.hero-panel-content h3 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0 0 0.25rem;
    line-height: 1.25;
}
.hero-panel-content p {
    font-size: 0.68rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.3;
}
.hero-trust-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(135deg, #1a237e, #311b92);
    color: #fff;
    border-radius: 0 0 16px 16px;
    padding: 1rem 1.25rem;
    margin-bottom: 0;
}
.hero-trust-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    flex: 1;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 500;
}
.hero-trust-item i {
    font-size: 1.1rem;
    color: #b39ddb;
}
.hero-cta-box {
    background: #fff;
    color: #1a1a1a;
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    text-align: center;
    min-width: 240px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.hero-cta-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a237e;
}
.hero-cta-phone {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    color: #f9a825;
    text-decoration: none;
    line-height: 1.2;
}
.hero-cta-phone:hover { color: #f57f17; }
.hero-cta-sub {
    font-size: 0.72rem;
    color: #666;
}
.hero-secondary {
    padding: 3.5rem 0 2rem;
    background: #fff;
}
.hero-main-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
}
.hero-main-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.hero-side-card {
    position: relative;
}
.hero-side-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}
.hero-side-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: rgba(13, 107, 79, 0.95);
    color: #fff;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
}
@media (max-width: 991px) {
    .hero-panels { grid-template-columns: repeat(3, 1fr); }
    .hero-panel { min-height: 200px; }
}
@media (max-width: 575px) {
    .hero-panels { grid-template-columns: repeat(2, 1fr); }
    .hero-panel { min-height: 180px; }
    .hero-trust-bar { flex-direction: column; border-radius: 0 0 12px 12px; }
}

/* Animated service icons */
.service-icon {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s, color 0.3s;
}
.service-card:hover .service-icon {
    animation: icon-bounce 0.5s ease;
}
@keyframes icon-bounce {
    0%, 100% { transform: scale(1.08); }
    50% { transform: scale(1.15) rotate(-5deg); }
}
.why-icon {
    transition: transform 0.3s ease, background 0.3s;
}
.why-card:hover .why-icon {
    transform: scale(1.12);
    background: var(--primary);
    color: #fff;
}
.step-number {
    transition: transform 0.3s ease;
}
.step-card:hover .step-number {
    transform: scale(1.1);
}

/* Service card with image */
.service-card-img {
    height: 160px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius) var(--radius) 0 0;
    position: relative;
}
.service-card.has-image {
    padding: 0;
    overflow: hidden;
}
.service-card.has-image .service-card-body {
    padding: 1.25rem 1.25rem 1.5rem;
    text-align: center;
}
.service-card.has-image .service-icon {
    margin-top: -28px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #fff;
}

/* Admin icon polish */
.admin-sidebar .sidebar-nav a i {
    width: 22px;
    text-align: center;
    transition: transform 0.25s ease;
}
.admin-sidebar .sidebar-nav a:hover i,
.admin-sidebar .sidebar-nav a.active i {
    transform: scale(1.15);
    color: #6ee7b7;
}
.stat-icon {
    transition: transform 0.3s ease;
}
.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}


/* ========== FLASHY ANIMATED ICONS (site-wide) ========== */
@keyframes icon-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(59, 42, 138, 0.35); }
    50% { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(59, 42, 138, 0); }
}
@keyframes icon-glow {
    0%, 100% { filter: drop-shadow(0 0 2px rgba(249, 168, 37, 0.3)); }
    50% { filter: drop-shadow(0 0 10px rgba(249, 168, 37, 0.7)); }
}
@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes icon-spin-soft {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-8deg) scale(1.1); }
    75% { transform: rotate(8deg) scale(1.1); }
    100% { transform: rotate(0deg) scale(1); }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.service-icon,
.why-icon,
.step-number,
.hero-panel-icon,
.feature-icon,
.footer-social a,
.floating-whatsapp,
.mobile-action i,
.brand-icon {
    animation: icon-float 3.5s ease-in-out infinite;
}
.service-icon { animation-delay: 0s; }
.why-icon { animation-delay: 0.2s; }
.step-number { animation-delay: 0.4s; }

.service-card:hover .service-icon,
.why-card:hover .why-icon {
    animation: icon-spin-soft 0.6s ease, icon-pulse 1.2s ease infinite;
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
    color: #fff !important;
}

.brand-icon {
    background: linear-gradient(135deg, var(--purple-deep), var(--primary-light)) !important;
    animation: icon-pulse 2.5s ease-in-out infinite;
}

.section-badge {
    background: linear-gradient(90deg, var(--purple-deep), var(--primary-light), var(--purple-deep));
    background-size: 200% auto;
    color: #fff !important;
    animation: shimmer 3s linear infinite;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(59, 42, 138, 0.35);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary)) !important;
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.45);
    transform: translateY(-2px);
}

.page-header {
    background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-mid) 50%, var(--primary-light) 100%) !important;
}

.stats-section {
    background: linear-gradient(135deg, var(--purple-deep), var(--purple-mid)) !important;
}
.stat-number { color: var(--accent) !important; }

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
}
.btn-request {
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
    border: none !important;
}

/* Pill title already purple from hero CSS */
.hero-pill {
    background: linear-gradient(135deg, var(--purple-deep), var(--purple-bright)) !important;
}
.hero-trust-bar {
    background: linear-gradient(135deg, var(--purple-deep), var(--purple-mid)) !important;
}
.hero-cta-phone {
    color: var(--accent) !important;
    font-weight: 800;
}

.footer-social a:hover {
    background: var(--primary) !important;
    animation: icon-spin-soft 0.5s ease;
}

/* ========== LEFT SOCIAL FLOAT ========== */
.social-float {
    position: fixed;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1040;
    flex-direction: column;
    gap: 10px;
}
.sf-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 1.15rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
    animation: sf-float 3s ease-in-out infinite;
}
.sf-btn:nth-child(1) { animation-delay: 0s; }
.sf-btn:nth-child(2) { animation-delay: 0.15s; }
.sf-btn:nth-child(3) { animation-delay: 0.3s; }
.sf-btn:nth-child(4) { animation-delay: 0.45s; }
.sf-btn:nth-child(5) { animation-delay: 0.6s; }
.sf-btn:nth-child(6) { animation-delay: 0.75s; }
@keyframes sf-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
.sf-btn:hover {
    transform: scale(1.18) rotate(-8deg);
    box-shadow: 0 8px 22px rgba(0,0,0,0.3);
    animation: none;
}
.sf-fb { background: linear-gradient(135deg, #1877f2, #0d65d9); }
.sf-ig { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.sf-tt { background: linear-gradient(135deg, #000, #69c9d0); }
.sf-yt { background: linear-gradient(135deg, #ff0000, #c40000); }
.sf-li { background: linear-gradient(135deg, #0a66c2, #004182); }
.sf-wa { background: linear-gradient(135deg, #25d366, #128c7e); }

/* ========== PARTNERS ========== */
.partners-section {
    padding: 3.5rem 0;
    background: linear-gradient(180deg, #f5f6fb 0%, #fff 100%);
}
.partner-logo-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.25rem 1rem;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    text-decoration: none;
    color: inherit;
}
.partner-logo-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.partner-logo-card img {
    max-height: 48px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s;
}
.partner-logo-card:hover img { filter: grayscale(0%); }
.partner-logo-card .partner-name {
    margin-top: 0.65rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}


/* Brand logo — professional */
.brand-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.brand-logo-badge {
    height: 44px;
    border-radius: 10px;
}
.navbar-brand:hover .brand-logo {
    opacity: 0.92;
    transform: translateY(-1px);
}
.brand-text strong {
    line-height: 1.15;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: -0.01em;
}
.brand-text small {
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
}
.footer-logo img {
    height: 48px;
    width: auto;
    opacity: 0.95;
}
.login-brand-logo {
    border-radius: 10px;
}
@media (max-width: 575px) {
    .brand-logo, .brand-logo-badge { height: 38px; }
}


/* === Brand logos (new package, optimized) === */
.brand-logo {
    height: 42px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}
.navbar-brand { gap: 0.5rem; }
.footer-logo img {
    height: 46px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}
@media (max-width: 575.98px) {
    .brand-logo { height: 36px; max-width: 140px; }
    .footer-logo img { height: 40px; }
}


/* Main header logo (black-bg wordmark) */
.brand-logo-dark,
.brand-logo {
    height: 52px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}
.navbar-brand {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
@media (max-width: 575.98px) {
    .brand-logo-dark,
    .brand-logo {
        height: 40px;
        max-width: 160px;
    }
}
