/* ================= Global ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #fff;
    color: #222;
    overflow-x: hidden;
    position: relative;
}

/* ================= Header ================= */
header {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: #000e06;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar {
    max-width: 1100px;
    margin: auto;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
}

/* ================= Desktop Menu ================= */
.nav-links {
    display: flex;
    gap: 22px;
    list-style: none;
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 0.95rem;
    transition: color 0.3s;
    padding: 6px 10px;
    border-radius: 4px;
}

.nav-links a:hover {
    color: #0ea960;
    background: rgba(255, 255, 255, 0.05);
}

/* Highlight Signup/Login as buttons */
.nav-links li:last-child a,
.nav-links li:nth-last-child(2) a {
    background: #0ea960;
    color: #fff;
    font-weight: 500;
    transition: background 0.3s;
}

.nav-links li:last-child a:hover,
.nav-links li:nth-last-child(2) a:hover {
    background: #0c8b4b;
}

/* ================= Mobile Menu Button ================= */
.menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #fff;
}

/* ================= Mobile Menu ================= */
.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 12px 18px;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    list-style: none;
}

.mobile-menu li {
    margin: 8px 0;
}

.mobile-menu a {
    text-decoration: none;
    color: #222;
    font-size: 0.95rem;
}

/* ================= Floating Bubbles ================= */
.bubble {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    z-index: 0;
    opacity: 0.3;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0.9); }
    100% { transform: translateY(-10vh) scale(1.4); }
}

/* ================= Hero Slider (Subtle Crossfade) ================= */
.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 50px 50px;
    z-index: 1;
    padding: 80px 20px;
    background-color: rgba(14, 90, 43, 0.85);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-text {
    color: #fff;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    line-height: 1.6rem;
    color: #f0f0f0;
}

.hero-text, .hero-image img {
    transition: opacity 1s ease;
}

.hero-text.hidden, .hero-image.hidden {
    opacity: 0;
}

.hero-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* CTA Buttons */
.cta-buttons a {
    display: inline-block;
    padding: 12px 30px;
    margin-right: 12px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.cta-buttons a.primary {
    background-color: #0ea960;
    color: #fff;
}

.cta-buttons a.primary:hover {
    background-color: #0c8b4b;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

.cta-buttons a.secondary {
    background-color: rgba(255,255,255,0.2);
    color: #fff;
}

.cta-buttons a.secondary:hover {
    background-color: rgba(255,255,255,0.35);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

/* Hero slider navigation dots */
.hero-dots {
    text-align: center;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.hero-dots span {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    display: inline-block;
    background-color: rgba(255,255,255,0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.hero-dots span.active {
    background-color: #0ea960;
    transform: scale(1.2);
}

/* ================= Hero Mobile Optimization ================= */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    /* Text above image */
    .hero-text {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    /* Buttons below image */
    .cta-buttons {
        order: 3;
        display: flex;
        justify-content: center;
        margin-top: 15px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1rem;
        line-height: 1.4rem;
    }

    .hero-image img {
        width: 90%;
        margin: 0 auto;
    }
}


/* ================= Sections ================= */
section {
    padding: 60px 18px;
}

.semi-transparent {
    background-color: rgba(14,90,43,0.85);
    color: #fff;
    border-radius: 16px;
    padding: 30px;
}

/* Section Headings */
h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 2rem;
}

p {
    color: #555;
    line-height: 1.7rem;
    text-align: center;
    margin-bottom: 25px;
}

/* Grid Cards */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.grid-cards div {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    background: #fff;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.grid-cards div:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.grid-cards img {
    width: 100%;
    border-radius: 10px;
}

/* Two-column sections */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.two-column img {
    width: 100%;
    border-radius: 14px;
}

.two-column div {
    padding: 0 10px;
}

/* Leadership */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 20px;
    text-align: center;
}

.leadership-grid img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s;
}

.leadership-grid div:hover img {
    transform: scale(1.05);
}

/* ================= Responsive ================= */
/* Tablet */
@media (max-width: 1100px) {
    .nav-links a {
        font-size: 0.9rem;
        padding: 5px 8px;
    }

    .logo img {
        height: 45px;
    }

    .grid-cards {
        grid-template-columns: repeat(2,1fr);
    }

    .leadership-grid {
        grid-template-columns: repeat(3,1fr);
    }
}

/* Small tablets & mobiles */
@media (max-width: 900px) {
    .hero-slide {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 60px 15px;
    }

    .hero-slide .cta-buttons a {
        margin-bottom: 10px;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .grid-cards {
        grid-template-columns: 1fr;
    }

    .leadership-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

/* Small mobiles */
@media (max-width: 600px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }
}

/* Hide nav links on small devices and show menu button */
@media (max-width: 800px) {
    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
    }
}
