/* ==========================================================
   FALCONODE - Main Stylesheet v2.0
   Primary: #2e57a7 | Secondary: #0b2848
   ========================================================== */

:root {
    --primary: #2e57a7;
    --primary-dark: #234380;
    --secondary: #0b2848;
    --secondary-light: #163a5c;
    --white: #ffffff;
    --light: #f8f9fa;
    --gray: #6c757d;
    --text: #333333;
    --border: #e5e7eb;
    --shadow: 0 4px 20px rgba(11, 40, 72, 0.08);
    --shadow-hover: 0 12px 40px rgba(11, 40, 72, 0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
}

/* ==========================================================
   RESET & BASE
   ========================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

body.sidebar-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
}

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

/* ==========================================================
   PRELOADER
   ========================================================== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.preloader-logo {
    max-width: 70px;
    animation: pulse 1.5s infinite;
    z-index: 2;
    position: relative;
}
.spinner-ring {
    position: absolute;
    inset: 0;
    border: 4px solid rgba(46, 87, 167, 0.15);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ==========================================================
   TOPBAR
   ========================================================== */
.topbar {
    background: var(--secondary);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}
.topbar a { color: rgba(255, 255, 255, 0.85); }
.topbar a:hover { color: var(--white); }
.topbar .divider { margin: 0 12px; opacity: 0.4; }
.topbar-right { display: flex; gap: 12px; }
.topbar-right a:hover { transform: translateY(-2px); }
.topbar-left { display: flex; align-items: center; }
.topbar-left i { margin-right: 6px; }

/* ==========================================================
   HEADER / NAVBAR
   ========================================================== */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(11, 40, 72, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(11, 40, 72, 0.12);
}
.navbar { padding: 12px 0; }
.brand-logo { max-height: 50px; }

/* ---- Desktop nav links ---- */
.navbar-nav .nav-link {
    color: var(--secondary);
    font-weight: 500;
    font-size: 15px;
    padding: 10px 14px !important;
    position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

/* ---- Dropdown arrow ---- */
.dropdown-arrow {
    font-size: 10px !important;
    margin-left: 4px;
    transition: transform 0.3s ease;
}
.navbar-nav .dropdown.show .dropdown-arrow {
    transform: rotate(180deg);
}

/* ---- Dropdown menu ---- */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-hover);
    border-radius: 8px;
    padding: 8px;
    margin-top: 8px;
}
.dropdown-item {
    padding: 9px 16px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--secondary);
    transition: var(--transition);
}
.dropdown-item:hover {
    background: rgba(46, 87, 167, 0.1);
    color: var(--primary);
}

/* ---- Desktop actions ---- */
.desktop-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-careers {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 50px;
    padding: 9px 20px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    animation: blink 1.5s infinite;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-careers:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}
.btn-careers i { font-size: 12px; }

.btn-lets-talk {
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    padding: 9px 20px !important;
    font-weight: 600;
    font-size: 14px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-lets-talk:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}
.btn-lets-talk i { font-size: 12px; }

@keyframes blink {
    0%, 100% { box-shadow: 0 0 0 0 rgba(46, 87, 167, 0.6); }
    50% { box-shadow: 0 0 0 10px rgba(46, 87, 167, 0); }
}

/* ---- Custom hamburger ---- */
.custom-toggler {
    border: none;
    padding: 8px;
    background: transparent;
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1050;
    position: relative;
}
.custom-toggler:focus { box-shadow: none; outline: none; }
.toggler-bar {
    width: 26px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
    transition: var(--transition);
}

/* ---- Mobile actions ---- */
.mobile-actions {
    display: none;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: 10px;
}
.mobile-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    color: #fff;
    white-space: nowrap;
    transition: var(--transition);
}
.mobile-btn i { font-size: 11px; }
.mobile-careers {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    animation: blink 1.5s infinite;
}
.mobile-talk { background: var(--primary); }
.mobile-btn:hover {
    color: #fff;
    transform: translateY(-1px);
}

/* ==========================================================
   MOBILE SIDEBAR (Off-canvas)
   ========================================================== */
.mobile-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 40, 72, 0.6);
    backdrop-filter: blur(3px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.mobile-sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}
.mobile-sidebar.show { right: 0; }

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--secondary);
    flex-shrink: 0;
}
.sidebar-logo {
    max-height: 40px;
    background: #fff;
    padding: 4px 8px;
    border-radius: 6px;
}
.sidebar-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.sidebar-body {
    flex: 1;
    padding: 15px 0;
    overflow-y: auto;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-nav > li {
    border-bottom: 1px solid #f1f3f5;
}
.sidebar-nav > li > a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    color: var(--secondary);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}
.sidebar-nav > li > a:hover,
.sidebar-nav > li > a.active {
    background: linear-gradient(90deg, rgba(46, 87, 167, 0.1), transparent);
    color: var(--primary);
    padding-left: 26px;
}
.sidebar-nav > li > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}
.sidebar-nav > li > a:hover::before,
.sidebar-nav > li > a.active::before {
    transform: scaleY(1);
}
.sidebar-nav > li > a i {
    width: 20px;
    text-align: center;
    color: var(--primary);
    font-size: 14px;
}

/* Sidebar dropdown */
.sidebar-dropdown-toggle {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}
.sidebar-dropdown-toggle > span {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-dropdown-toggle > span i {
    width: 20px;
    text-align: center;
    color: var(--primary);
    font-size: 14px;
}
.sidebar-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
    color: var(--gray);
}
.sidebar-dropdown.open .sidebar-arrow {
    transform: rotate(180deg);
}
.sidebar-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8f9fa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.sidebar-dropdown.open .sidebar-submenu {
    max-height: 300px;
}
.sidebar-submenu li a {
    display: block;
    padding: 11px 22px 11px 52px;
    color: var(--gray);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.sidebar-submenu li a:hover {
    background: rgba(46, 87, 167, 0.08);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 56px;
}

.sidebar-careers-link {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: #fff !important;
    margin: 10px 15px;
    border-radius: 50px;
    padding: 12px 22px !important;
    justify-content: center;
    animation: blink 1.5s infinite;
}
.sidebar-careers-link i { color: #fff !important; }
.sidebar-careers-link::before { display: none !important; }
.sidebar-careers-link:hover {
    transform: scale(1.02);
    padding-left: 22px !important;
}

.sidebar-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}
.sidebar-contact {
    display: block;
    font-size: 12px;
    color: var(--gray);
    padding: 6px 0;
    text-decoration: none;
}
.sidebar-contact i {
    color: var(--primary);
    margin-right: 6px;
    width: 16px;
}

/* ==========================================================
   HERO SECTION (No zoom)
   ========================================================== */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
    background: var(--secondary);
}
.hero-slider {
    position: relative;
    height: 100%;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 40, 72, 0.85), rgba(46, 87, 167, 0.7));
}
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    padding: 80px 15px 120px;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.15;
    animation: fadeUp 0.8s ease;
}
.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    animation: fadeUp 1s ease;
}
.hero-text {
    font-size: 1.1rem;
    max-width: 700px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeUp 1.2s ease;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeUp 1.4s ease;
    margin-bottom: 20px;
}
.hero-buttons .btn {
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 50px;
}
.hero-buttons .btn-primary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
}
.hero-buttons .btn-primary:hover {
    background: var(--primary);
    color: var(--white);
}
.hero-buttons .btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
}
.hero-buttons .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}
.hero-nav:hover { background: var(--primary); }
.hero-nav.prev { left: 30px; }
.hero-nav.next { right: 30px; }

.hero-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.hero-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}
.hero-dots span.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* ==========================================================
   STATS SECTION
   ========================================================== */
.stats-section {
    background: var(--secondary);
    padding: 60px 0;
    position: relative;
    margin-top: -60px;
    z-index: 3;
}
.stats-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.stat-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary-light));
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    color: var(--white);
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.stat-icon {
    font-size: 36px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
}
.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}
.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================
   SECTIONS (Common)
   ========================================================== */
.py-5 { padding: 80px 0; }
.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}
.section-desc {
    color: var(--gray);
    font-size: 1.05rem;
    max-width: 750px;
    margin: 0 auto;
}

/* ==========================================================
   SERVICES
   ========================================================== */
.services-section { background: var(--light); }
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    height: 100%;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--secondary);
}
.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(46, 87, 167, 0.1), rgba(11, 40, 72, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(360deg);
}
.service-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--secondary);
}
.service-desc {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}
.service-link i {
    margin-left: 5px;
    transition: var(--transition);
}
.service-link:hover i {
    transform: translateX(5px);
}

/* ==========================================================
   WHY US
   ========================================================== */
.why-us-section { background: var(--white); }
.value-item {
    display: flex;
    gap: 16px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--transition);
}
.value-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateX(5px);
}
.value-icon {
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.value-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.value-item p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* ==========================================================
   CLIENTS
   ========================================================== */
.clients-section { background: var(--light); }
.client-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.client-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.client-card img {
    max-height: 60px;
    max-width: 100%;
    filter: grayscale(1);
    transition: var(--transition);
}
.client-card:hover img { filter: grayscale(0); }
.client-placeholder {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
}

/* ==========================================================
   TEAM
   ========================================================== */
.team-section { background: var(--white); }
.team-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}
.team-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.team-photo {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.team-card:hover .team-photo img {
    transform: scale(1.1);
}
.team-info {
    padding: 20px;
    text-align: center;
}
.team-info h4 {
    font-size: 1.15rem;
    margin-bottom: 5px;
}
.team-position {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
}
.team-bio {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 10px 0;
}
.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}
.team-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.team-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.testimonials-section { background: var(--light); }
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(46, 87, 167, 0.1);
    line-height: 1;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.testimonial-rating {
    color: #f59e0b;
    margin-bottom: 15px;
}
.testimonial-message {
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.testimonial-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-author h5 {
    font-size: 1rem;
    margin-bottom: 3px;
}
.testimonial-author span {
    color: var(--gray);
    font-size: 0.85rem;
}

/* ==========================================================
   CTA
   ========================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--white);
}
.cta-box { padding: 20px; }
.cta-box h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 15px;
}
.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}
.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-buttons .btn {
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 50px;
}
.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
}
.cta-buttons .btn-primary:hover {
    background: transparent;
    color: var(--white);
}
.cta-buttons .btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
}
.cta-buttons .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.main-footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 20px;
}
.footer-logo {
    max-height: 50px;
    margin-bottom: 20px;
    background: var(--white);
    padding: 8px;
    border-radius: 6px;
}
.footer-about {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.footer-contact p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.footer-contact i {
    color: var(--primary);
    margin-right: 8px;
    width: 20px;
}
.main-footer h5 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}
.footer-subscribe-text {
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.subscribe-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 12px 16px;
}
.subscribe-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.subscribe-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    box-shadow: none;
    color: var(--white);
}
.subscribe-form .btn-primary {
    background: var(--primary);
    border: none;
    padding: 12px 20px;
}
.footer-divider {
    border-color: rgba(255, 255, 255, 0.15);
    margin: 40px 0 20px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
}
.footer-policy-links a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 20px;
}
.footer-policy-links a:hover { color: var(--white); }

/* ==========================================================
   BACK TO TOP
   ========================================================== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-hover);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#backToTop.show {
    opacity: 1;
    visibility: visible;
}
#backToTop:hover { transform: translateY(-5px); }
#backToTop .progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}
#backToTop .progress-ring-circle {
    stroke-dasharray: 150.8;
    stroke-dashoffset: 150.8;
    transition: stroke-dashoffset 0.1s linear;
}
#backToTop i {
    color: var(--primary);
    font-size: 18px;
    z-index: 2;
}
#backToTop .progress-text {
    position: absolute;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    bottom: 6px;
}

/* ==========================================================
   WHATSAPP
   ========================================================== */
.whatsapp-chat {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}
.whatsapp-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    border: none;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.whatsapp-toggle:hover { transform: scale(1.1); }
.whatsapp-toggle .flashlight {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: flashRing 1.5s infinite;
}
@keyframes flashRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-popup {
    position: absolute;
    bottom: 75px;
    left: 0;
    width: 300px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}
.whatsapp-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.wa-header {
    background: #075e54;
    color: var(--white);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.wa-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    padding: 3px;
}
.wa-header strong {
    display: block;
    font-size: 0.95rem;
}
.wa-header small {
    font-size: 0.75rem;
    opacity: 0.85;
}
.wa-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}
.wa-body { padding: 20px; }
.wa-body p {
    background: #dcf8c6;
    padding: 12px 15px;
    border-radius: 10px 10px 10px 0;
    font-size: 0.9rem;
    margin: 0;
}
.wa-btn {
    display: block;
    background: #25d366;
    color: var(--white);
    text-align: center;
    padding: 12px;
    font-weight: 600;
}
.wa-btn:hover {
    background: #1da851;
    color: var(--white);
}

/* ==========================================================
   RESPONSIVE - Tablet (991px and below)
   ========================================================== */
@media (max-width: 991px) {
    /* Mobile actions onyesha */
    .mobile-actions { display: flex; }
    .custom-toggler { display: flex !important; }
    #mainNavDesktop { display: none !important; }
    
    .navbar { padding: 10px 0; }
    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    .brand-logo { max-height: 42px; }
    
    /* Hero */
    .hero-section {
        height: 85vh;
        min-height: 550px;
    }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.4rem; }
    .hero-content { padding: 60px 15px 100px; }
    
    .stats-slider { grid-template-columns: repeat(2, 1fr); }
    .section-title { font-size: 2rem; }
    .topbar-left { font-size: 11px; }
}

/* ==========================================================
   RESPONSIVE - Mobile (767px and below)
   ========================================================== */
@media (max-width: 767px) {
    /* Hero */
    .hero-section {
        height: auto;
        min-height: 520px;
        padding-bottom: 0;
    }
    .hero-slider { height: 520px; }
    .hero-title {
        font-size: 1.9rem;
        line-height: 1.2;
    }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-text {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    /* Hero buttons - full width, stacked */
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-bottom: 70px;
    }
    .hero-buttons .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
        text-align: center;
    }
    
    .hero-nav { display: none; }
    .hero-dots { bottom: 15px; }
    
    /* STATS - MUHIMU: Ondoa negative margin kwenye mobile */
    .stats-section {
        margin-top: 0 !important;
        padding: 40px 0;
    }
    .stats-slider { grid-template-columns: 1fr; }
    
    .section-title { font-size: 1.7rem; }
    .py-5 { padding: 50px 0; }
    
    .topbar-left a:last-child,
    .topbar .divider { display: none; }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-policy-links a { margin: 0 10px; }
    
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
    .whatsapp-chat {
        bottom: 20px;
        left: 20px;
    }
    .whatsapp-toggle {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }
    .whatsapp-popup { width: 280px; }
}

/* ==========================================================
   RESPONSIVE - Small mobile (480px and below)
   ========================================================== */
@media (max-width: 480px) {
    .mobile-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
    .mobile-btn span { display: none; }
    .mobile-btn i { font-size: 14px; }
    .mobile-actions { gap: 6px; }
    
    .brand-logo { max-height: 38px; }
    .mobile-sidebar { width: 280px; }
    
    .hero-slider { height: 560px; }
    .hero-title { font-size: 1.7rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-content { padding: 50px 12px 90px; }
    .hero-buttons { margin-bottom: 80px; }
}