/* ============================================================
   TOP NOTCH — PUBLIC EXTRA STYLES
   Header, Footer, Navbar enhancements, Mobile UX
   ============================================================ */

/* ── TOP BAR ─────────────────────────────────────────────── */
.top-bar {
    background: var(--tn-navy);
    font-size: 0.8rem;
}
.top-bar-link {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.2s;
}
.top-bar-link:hover { color: var(--tn-green); }
.top-bar-social {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
}
.top-bar-social:hover { color: var(--tn-green); }

/* ── NAVBAR ──────────────────────────────────────────────── */
#main-navbar {
    background-color: var(--tn-navy) !important;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    z-index: 1030;
}
#main-navbar.scrolled {
    background-color: #254070 !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3) !important;
}
/* Force hamburger icon to white (overrides navbar-light default) */
#main-navbar .navbar-toggler {
    border-color: rgba(255,255,255,0.25);
}
#main-navbar .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%28255%2C255%2C255%2C0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-logo-icon {
    width: 40px;
    height: 40px;
    background: rgba(55,202,55,0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--tn-green);
    flex-shrink: 0;
}

/* Active indicator underline on desktop */
@media (min-width: 992px) {
    .navbar .nav-link {
        position: relative;
    }
    .navbar .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0.75rem;
        right: 0.75rem;
        height: 2px;
        background: var(--tn-green);
        border-radius: 1px;
        transform: scaleX(0);
        transition: transform 0.25s ease;
    }
    .navbar .nav-link.active::after,
    .navbar .nav-link:hover::after {
        transform: scaleX(1);
    }
    .navbar .nav-link.active { color: #fff !important; }
}

/* Mobile nav styling */
@media (max-width: 991px) {
    .navbar-collapse {
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 0.5rem;
    }
    .navbar .nav-link {
        padding: 0.65rem 0.5rem !important;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .navbar .nav-link:last-of-type { border-bottom: none; }
}

/* Mobile contact strip */
.mobile-contact-strip {
    background: var(--tn-navy);
    text-align: center;
    padding: 0.4rem 1rem;
    font-size: 0.78rem;
}
.mobile-contact-strip a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}
.mobile-contact-strip a:hover { color: var(--tn-green); }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer-heading {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
    color: #8a9ab0;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--tn-green); }

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #8a9ab0;
}
.footer-contact li i {
    color: var(--tn-green);
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 0.9rem;
}
.footer-contact a {
    color: #8a9ab0;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-contact a:hover { color: var(--tn-green); }

.footer-social {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.footer-social:hover {
    background: var(--tn-green);
    border-color: var(--tn-green);
    color: #fff;
}

/* ── PAGE HEADER BREADCRUMB ─────────────────────────────── */
.page-header-section {
    background: linear-gradient(135deg, #315686 0%, #1a2d4a 100%);
    position: relative;
    overflow: hidden;
}
.page-header-section::after {
    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");
    pointer-events: none;
}
.page-header-section .container { position: relative; z-index: 1; }

/* ── TESTIMONIALS ───────────────────────────────────────── */
.testimonial-card {
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    position: relative;
    transition: box-shadow 0.3s ease;
}
.testimonial-card:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.testimonial-quote-icon {
    font-size: 3rem;
    line-height: 1;
    color: rgba(55,202,55,0.2);
    font-family: Georgia, serif;
    margin-bottom: 0.5rem;
}
.testimonial-stars { color: #f59e0b; letter-spacing: 2px; }
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--tn-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ── PROCESS STEPS ──────────────────────────────────────── */
.process-step {
    text-align: center;
    padding: 1.5rem;
}
.process-step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--tn-green);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
}
.process-connector {
    position: absolute;
    top: 30px;
    left: calc(50% + 30px);
    right: calc(-50% + 30px);
    height: 2px;
    background: linear-gradient(90deg, var(--tn-green), rgba(55,202,55,0.2));
}

/* ── TRUST BADGES ───────────────────────────────────────── */
.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--tn-dark);
}
.trust-badge i {
    font-size: 1.5rem;
    color: var(--tn-green);
}

/* ── HERO RESPONSIVE TWEAKS ─────────────────────────────── */
@media (max-width: 767px) {
    .hero-section { min-height: 100svh; }
    .hero-headline { font-size: clamp(1.8rem, 8vw, 2.5rem); }
    .hero-stats { gap: 1.2rem; }
    .hero-stat-num { font-size: 1.5rem; }
    .hero-card { padding: 1.25rem; }
}

/* ── SMOOTH SCROLL ──────────────────────────────────────── */
html { scroll-behavior: smooth; }

/* ── BACK TO TOP ────────────────────────────────────────── */
#back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: var(--tn-green);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(55,202,55,0.4);
    z-index: 999;
    transition: transform 0.2s, opacity 0.2s;
}
#back-to-top:hover { transform: translateY(-3px); }
#back-to-top.visible { display: flex; }

/* ── FLOATING CALL BUTTON (mobile only) ────────────────── */
.floating-call-btn {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 998;
    display: none;
}
@media (max-width: 767px) {
    .floating-call-btn { display: block; }
}
