/* =========================
   GLOBAL
========================= */

body {
    font-family: 'Poppins', sans-serif;
    background-color: #F8FAFC;
    color: #1F2937;
    margin: 0;
    padding: 0;
}

/* =========================
   NAVBAR (IMPROVED)
========================= */

.navbar {
    background: linear-gradient(135deg, #0f172a, #1e293b) !important;
    padding: 14px 0; /* more breathing space */
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

/* logo polish */
.navbar-brand img {
    border: 2px solid rgba(255,255,255,0.2);
}

/* nav items spacing */
.navbar-nav .nav-item {
    margin-left: 12px;
}

/* links */
.navbar .nav-link {
    position: relative;
    font-weight: 500;
    padding: 10px 14px;
    color: #CBD5E1 !important;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

/* hover */
.navbar .nav-link:hover {
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

/* underline animation */
.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    bottom: 4px;
    width: 0%;
    height: 2px;
    background: #6366F1;
    transition: 0.3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 60%;
}

/* active */
.navbar .nav-link.active {
    color: #FFFFFF !important;
}

/* icons */
.navbar .nav-link i {
    font-size: 14px;
    opacity: 0.75;
    transition: 0.3s;
}

.navbar .nav-link:hover i {
    opacity: 1;
}

/* =========================
   HERO (UPGRADED)
========================= */

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* image */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('hero.jpg') center/cover no-repeat;
    z-index: 1;
    animation: zoomHero 12s ease-in-out infinite alternate;
}

/* overlay */
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2;
}

/* content */
.hero-section > div {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

/* text */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-top: 15px;
    color: #e5e7eb;
}

/* animation */
@keyframes zoomHero {
    from { background-size: 100%; }
    to { background-size: 110%; }
}

/* =========================
   ABOUT HERO
========================= */

.about-hero {
    position: relative;
    height: 75vh;
    background: url('best-about-us-pages.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   SECTIONS
========================= */

.section-lg {
    padding: 100px 0;
}

.bg-soft {
    background: #f8f5ef;
}

/* =========================
   CARDS (BETTER)
========================= */

.card,
.benefit-card,
.spotlight-card {
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.card:hover,
.benefit-card:hover,
.spotlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

/* =========================
   SPOTLIGHT
========================= */

.spotlight-section {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 120px 0;
}

.spotlight-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
}

/* =========================
   FOOTER
========================= */

footer {
    background: #0F172A;
    color: #CBD5E1;
    padding: 25px 0;
    text-align: center;
}

/* =========================
   FIXES
========================= */

.navbar {
    position: relative;
    z-index: 9999;
}

.dropdown-menu {
    z-index: 9999 !important;
}
.stats-card {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 18px;
    padding: 50px 30px;
    max-width: 900px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
/* =========================
   FORCE VISIBILITY FIX
========================= */

.stat-item {
    color: #ffffff !important;
    opacity: 1 !important;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff !important;
}

.stat-item p {
    color: #cbd5e1 !important;
}

.stat-icon {
    color: #6366F1 !important;
}
/* =========================
   HERO FIX (NO OVERLAY BUG)
========================= */

.hero-section {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('hero.jpg') center/cover no-repeat;
    z-index: 1;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2;
    pointer-events: none; /* IMPORTANT */
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

/* =========================
   STATS FIX (VISIBLE + MODERN)
========================= */

.stats-section {
    position: relative;
    z-index: 5;
    padding: 80px 0;
    background: #F1F5F9;
}

.stats-card {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 20px;
    padding: 50px 30px;
    max-width: 900px;
    margin: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    color: white;
    position: relative;
    z-index: 10;
}

/* force visibility */
.stat-item {
    color: white !important;
    opacity: 1 !important;
}

.stat-icon {
    font-size: 28px;
    color: #6366F1;
    margin-bottom: 12px;
}

.stat-item h2 {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
}

.stat-item p {
    color: #cbd5e1;
    font-size: 14px;
}
.menu-group {
    display: flex;
    flex-direction: column;
}

.menu-toggle {
    cursor: pointer;
}

.submenu {
    display: none;
    flex-direction: column;
    padding-left: 30px;
}

.submenu a {
    font-size: 14px;
    padding: 8px 0;
    color: #94a3b8;
}

.submenu a:hover {
    color: white;
}

/* active submenu */
.menu-group.active .submenu {
    display: flex;
}