/* =====================
   GLOBAL RESET & VARIABLES
===================== */
:root {
    --primary: #f5c542;
    --dark: #0b0f14;
    --dark-soft: #141a22;
    --light: #ffffff;
    --muted: #b8c1cc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background: linear-gradient(135deg, #0b0f14, #141a22);
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
}

/* =====================
   HEADER
===================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 15, 20, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 6%;
}

.logo img {
    height: 42px;
}

nav ul {
    display: flex;
    gap: 26px;
    list-style: none;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    left: 0;
    bottom: -6px;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* =====================
   ABOUT SECTION
===================== */
.about-us {
    max-width: 1200px;
    margin: auto;
    padding: 90px 6% 70px;
    position: relative;
}

/* Dynamic background glow */
.about-us::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(245,197,66,0.08), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(245,197,66,0.06), transparent 45%);
    z-index: -1;
}

.about-us h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin-bottom: 20px;
    color: var(--primary);
}

.about-us h3 {
    margin-top: 55px;
    margin-bottom: 15px;
    font-size: 1.6rem;
    color: var(--primary);
}

.about-us p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 900px;
}

/* =====================
   TEAM SECTION
===================== */
.team {
    margin-top: 35px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 35px;
}

.team-member {
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}

.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary);
    margin-bottom: 15px;
}

.team-member h4 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.team-member p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* =====================
   CERTIFICATIONS
===================== */
.about-us ul {
    margin-top: 15px;
    list-style: none;
    padding-left: 0;
}

.about-us ul li {
    padding: 10px 0 10px 28px;
    position: relative;
    color: var(--muted);
}

.about-us ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* =====================
   FOOTER
===================== */
footer {
    background: #080b10;
    text-align: center;
    padding: 30px 6%;
    margin-top: 80px;
    font-size: 0.9rem;
}

footer a {
    color: var(--primary);
    text-decoration: none;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
    nav ul {
        gap: 18px;
        font-size: 0.9rem;
    }

    .about-us {
        padding-top: 70px;
    }

    .team {
        gap: 25px;
    }
}

@media (max-width: 480px) {
    header {
        flex-direction: column;
        gap: 12px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* =====================
   SCROLL REVEAL
===================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =====================
   STATS COUNTER
===================== */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 35px;
    margin: 80px 0;
    text-align: center;
}

.stat {
    background: rgba(255,255,255,0.04);
    padding: 35px;
    border-radius: 18px;
    backdrop-filter: blur(8px);
}

.stat span {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
}

.stat p {
    margin-top: 10px;
    color: var(--muted);
}

/* =====================
   THEME TOGGLE
===================== */
#themeToggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--primary);
}

/* LIGHT MODE */
body.light {
    --dark: #f7f7f7;
    --dark-soft: #ffffff;
    --light: #111;
    --muted: #555;
    background: linear-gradient(135deg, #ffffff, #f1f1f1);
}

/* =====================
   CTA SECTION
===================== */
.cta {
    background: linear-gradient(135deg, #f5c542, #d9a91e);
    color: #111;
    padding: 60px;
    border-radius: 24px;
    text-align: center;
    margin-top: 80px;
}

.btn-primary {
    display: inline-block;
    margin-top: 20px;
    background: #111;
    color: #fff;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
}
