/* Body Reset */

body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fefae0;
}


/* Navbar general */


/* ===== Navbar General ===== */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    background: black;
    position: fixed;
    width: 100%;
    height: 15%;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
}


/* Logo */

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FFD700;
    font-weight: bold;
}

.navbar .logo img.nav-logo {
    height: 45px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: yellow;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-link:hover {
    opacity: 0.85;
    transform: scale(1.02);
}


/* Social Bar (desktop on right) */


/* Navigation Links */

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: #FDE047;
    font-weight: 500;
    font-size: 1rem;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #FFD700;
    text-shadow: 0 0 8px #FFD700;
}


/* Dropdown */

.nav-links li.dropdown {
    position: relative;
}

.nav-links li.dropdown>a::after {
    content: '▼';
    font-size: 0.6rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-links li.dropdown.active>a::after,
.nav-links li.dropdown:hover>a::after {
    transform: rotate(-180deg);
}

.nav-links li.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #111;
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.nav-links li.dropdown:hover .dropdown-menu,
.nav-links li.dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    transition: 0.3s;
}

.dropdown-menu li a:hover {
    background-color: #222;
    color: #FFD700;
}


/* Hamburger hidden on desktop */

.hamburger {
    display: none;
}


/* ===== Mobile Styles ===== */

@media screen and (max-width: 768px) {
    /* Navbar: logo left, hamburger right */
    .navbar {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        position: fixed;
        width: 100%;
        top: 0;
        background: #000;
        z-index: 1003;
    }
    /* Hamburger */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1007;
        /* on top of everything */
    }
    .hamburger span {
        height: 3px;
        width: 30px;
        background: #FFD700;
        border-radius: 2px;
        transition: 0.3s;
    }
    /* Sidebar nav links */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100%;
        width: 280px;
        background: #000;
        flex-direction: column;
        padding: 100px 25px 40px;
        gap: 28px;
        /* more breathing room */
        transition: right 0.35s ease;
        z-index: 1006;
        overflow-y: auto;
        justify-content: flex-start;
        align-items: stretch;
        box-shadow: -8px 0 20px rgba(0, 0, 0, 0.4);
    }
    .nav-links.active {
        right: 0;
    }
    /* Close button in sidebar */
    .nav-links .close-btn {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 1008;
        /* above sidebar */
    }
    .nav-links .close-btn span {
        font-size: 2rem;
        color: #FFD700;
        cursor: pointer;
        transition: 0.3s;
    }
    .nav-links .close-btn span:hover {
        color: #FF4500;
        transform: rotate(90deg);
    }
    /* Mobile dropdown menu */
    .nav-links li.dropdown .dropdown-menu {
        position: static;
        display: none;
        flex-direction: column;
        margin-top: 10px;
        padding-left: 15px;
        gap: 10px;
        border-left: 2px solid rgba(255, 215, 0, 0.4);
    }
    .nav-links li.dropdown.active .dropdown-menu {
        display: flex;
    }
    .nav-links li.dropdown .dropdown-menu a {
        font-size: 15px;
        padding: 10px 15px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 6px;
    }
    .nav-links li.dropdown .dropdown-menu a:hover {
        background: rgba(255, 215, 0, 0.25);
        color: #000;
    }
}


/*End of Nav */

.hero-advanced {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}


/* SLIDES */

.hero-advanced .slides .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    top: 0;
    left: 0;
}

.hero-advanced .slides .slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-advanced .slides .slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* shows full image */
    object-position: center;
    background-color: #000;
    /* optional background around image */
    filter: brightness(0.65);
}


/* CONTENT */

.hero-advanced .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    /* Gold text */
    text-align: center;
    z-index: 4;
    max-width: 90%;
}

.hero-advanced .content h1,
.hero-advanced .content h2,
.hero-advanced .content p {
    margin: 0.5rem 0;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    /* makes text stand out */
}


/* BUTTONS */

.hero-advanced .btn.primary {
    display: inline-block;
    background: yellow;
    /* Pan African colors */
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 1rem;
}

.hero-advanced .btn.primary:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #FFD700, 0 0 25px rgba(255, 0, 0, 0.5);
}


/* CURVE FIX */

.hero-advanced .curve {
    position: absolute;
    bottom: -1px;
    /* sits exactly at bottom */
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}

.hero-advanced .curve svg {
    width: 100%;
    height: 100px;
    /* reduced height */
}

.hero-advanced .curve .shape-fill {
    fill: #FDE047;
}


/* CONTROLS */

.hero-advanced .controls {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 5;
}

.hero-advanced .controls span {
    cursor: pointer;
    font-size: 2rem;
    color: #FFD700;
    user-select: none;
    transition: transform 0.3s;
}

.hero-advanced .controls span:hover {
    transform: scale(1.2);
}


/* ===== Contact Stack on the Left ===== */

.contact-stack {
    position: fixed;
    bottom: 20px;
    left: 20px;
    /* move to left */
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
    align-items: center;
}


/* Phone Button with better design */

.phone-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700, );
    border-radius: 50%;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.phone-button img {
    width: 28px;
    height: 28px;
}

.phone-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
}


/* WhatsApp Button */

.whatsapp-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    /* WhatsApp green */
    border-radius: 50%;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.whatsapp-button img {
    width: 28px;
    height: 28px;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
}


/* WhatsApp Popup */

.whatsapp-popup {
    position: fixed;
    bottom: 90px;
    left: 20px;
    /* align with left side */
    width: 280px;
    background-color: #008000;
    /* dark green */
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9998;
    font-family: 'Poppins', sans-serif;
}


/* WhatsApp Header */

.whatsapp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFD700;
    /* gold */
    color: #000;
    padding: 10px 15px;
    font-weight: bold;
}

.whatsapp-header .close-chat {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #000;
}


/* WhatsApp Body */

.whatsapp-body {
    padding: 15px;
}

.whatsapp-body p {
    margin: 0 0 10px 0;
}


/* Start Chat Button */

.whatsapp-body .start-chat {
    display: block;
    text-align: center;
    background-color: #FFD700;
    /* gold */
    color: #000;
    font-weight: bold;
    padding: 10px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-body .start-chat:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}


/*Content in the body */


/* Container */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}


/* Section Titles */

h2 {
    color: gray;
    /* Green */
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
}


/* Vision & Mission Grid */


/* =======================
   Vision & Mission Section
   ======================= */

.vision-mission {
    background: #ffffff;
    /* White background */
    color: #000;
    /* Black text */
    padding: 60px 20px;
    font-family: Arial, sans-serif;
    transition: background 0.3s;
}

.vision-mission .container {
    max-width: 1000px;
    margin: 0 auto;
}

.vision-mission h2 {
    font-size: 28px;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.vision-mission h2::after {
    content: '';
    display: block;
    height: 3px;
    width: 60px;
    background: #FFD700;
    /* Gold underline */
    margin-top: 5px;
    border-radius: 2px;
    transition: width 0.3s;
}

.vision-mission h2:hover::after {
    width: 100px;
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.vm-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.vm-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #000;
}

.vm-card p {
    font-size: 20px;
    line-height: 1.7;
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    background: yellow;
    /* Slight yellow tint on hover */
}


/* Optional button inside VM cards */

.vm-card .btn {
    display: inline-block;
    background-color: #FFD700;
    color: #000;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.vm-card .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}


/* =======================
   Goals & Values Section
   ======================= */

.goals-values {
    background: #f9f9f9;
    color: #000;
    /* Black text */
    padding: 60px 20px;
    font-family: Arial, sans-serif;
    transition: background 0.3s;
}

.goals-values .container {
    max-width: 1000px;
    margin: 0 auto;
}

.goals-values h2 {
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.goals-values h2::after {
    content: '';
    display: block;
    height: 3px;
    width: 60px;
    background: #FFD700;
    /* Gold underline */
    margin-top: 5px;
    border-radius: 2px;
    transition: width 0.3s;
}

.goals-values h2:hover::after {
    width: 100px;
    /* Slight expansion on hover */
}

.goals-values ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 40px;
}

.goals-values ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 20px;
    transition: transform 0.3s, color 0.3s;
}

.goals-values ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #FFD700;
    /* Gold check mark */
    font-weight: bold;
}

.goals-values ul li:hover {
    color: gray;
    /* Red on hover */
    transform: translateX(5px);
}

.goals-values p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 40px;
}


/* Optional button styling inside section */

.goals-values .btn {
    display: inline-block;
    background-color: #FFD700;
    color: #000;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.goals-values .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}


/* =======================
   Services Section
   ======================= */

.services {
    background: #ffffff;
    color: #000;
    padding: 60px 20px;
    font-family: Arial, sans-serif;
}

.services h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.services h2::after {
    content: '';
    display: block;
    height: 3px;
    width: 60px;
    background: #FFD700;
    /* Gold underline */
    margin: 5px auto 0;
    border-radius: 2px;
    transition: width 0.3s;
}

.services h2:hover::after {
    width: 100px;
}


/* Cards Grid */

.services .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}


/* Individual Card Styling */

.services .card {
    background: #f9f9f9;
    color: #000;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s, box-shadow 0.4s, background 0.3s;
    position: relative;
    overflow: hidden;
}

.services .card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.services .card p {
    font-size: 16px;
    line-height: 1.6;
}


/* Card Hover Effect */

.services .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
    background: yellow;
    /* Slight yellow tint on hover */
}


/* Optional Hover Overlay Animation */

.services .card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 215, 0, 0.08);
    transition: all 0.5s ease;
    z-index: 0;
}

.services .card:hover::after {
    left: 0;
}


/* Button Styling */

.btn.small {
    display: inline-block;
    background-color: #FFD700;
    color: #000;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn.small:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}


/* =======================
   News Section
   ======================= */

.news {
    background: #ffffff;
    color: #000;
    padding: 70px 20px;
    font-family: Arial, sans-serif;
}

.news h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.news h2::after {
    content: '';
    display: block;
    height: 3px;
    width: 60px;
    background: #FFD700;
    margin: 6px auto 0;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.news h2:hover::after {
    width: 100px;
}

.news-list {
    max-width: 900px;
    margin: auto;
}


/* Article Card */

.news article {
    background: #f9f9f9;
    padding: 35px 30px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.news article::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 215, 0, 0.07);
    transition: left 0.5s ease;
}

.news article:hover::before {
    left: 0;
}

.news article:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2);
}

.news article h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.news article p {
    line-height: 1.7;
    font-size: 16px;
}


/* Learn More Button */

.news .btn {
    display: inline-block;
    margin-top: 30px;
    background: #FFD700;
    color: #000;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news .btn:hover {
    background: #000;
    color: #FFD700;
    transform: scale(1.07);
}


/* =========================
   PARTNERS SECTION
========================= */

.partnership {
    background: #f7f7f7;
    color: #000;
    padding: 70px 20px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.partnership h2 {
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.partnership h2::after {
    content: '';
    display: block;
    height: 3px;
    width: 60px;
    background: #FFD700;
    margin: 6px auto 0;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.partnership h2:hover::after {
    width: 100px;
}

.partnership p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 16px;
    line-height: 1.6;
}


/* Partner Logos */

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.partner-logo {
    background: #fff;
    padding: 20px;
    max-width: 200px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.partner-logo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 215, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-logo:hover::after {
    opacity: 1;
}

.partner-logo:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
}