/* 🌈 MAX GREEN SKILL DEVELOPMENT ORGANIZATION STYLE */


/* GLOBAL RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* BODY — ANIMATED RAINBOW BACKGROUND */

html,
body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    background: linear-gradient( 130deg, #ff4d4d, #ff8a00, #ffd400, #31e981, #00d1ff, #6a5cff, #ff4dff, #ff4d4d);
    background-size: 1400% 1400%;
    animation: rainbowFlow 30s ease infinite;
    overflow-x: hidden;
}

@keyframes rainbowFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}


/* HEADER */

.subheader {
    text-align: center;
    padding: 40px 10px;
}

.logo {
    font-size: 3rem;
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, .5));
}

.lead {
    color: #f8fafc;
    font-weight: 600;
    margin-top: 6px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}


/* NAVBAR */

.navbar {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 12px;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 10px;
    transition: 0.3s;
}

.navbar a:hover,
.navbar a.active {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}


/* SECTION TITLES */

.section-title {
    font-size: 1.8rem;
    text-align: center;
    margin: 30px 0 10px;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}


/* INTRO */

.intro {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: #fefefe;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}


/* BUTTONS */

.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    margin: 8px;
    background: linear-gradient(90deg, #111827, #1f2937);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 25px rgba(0, 0, 0, 0.5);
}


/* FLOATING WHITE INFO CARDS */

.info {
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), 0 0 15px rgba(255, 255, 255, 0.4);
    transition: transform 0.3s, box-shadow 0.4s;
}

.info:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 255, 255, 0.6);
}

.info h4 {
    margin-bottom: 8px;
}

.info ul,
.info p {
    color: #111827;
    line-height: 1.6;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin: 20px 0 40px;
}


/* KPI CARDS */

.kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 20px 0 40px;
}

.kpi {
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 10px rgba(255, 255, 255, 0.4);
    transition: transform 0.3s;
}

.kpi:hover {
    transform: translateY(-4px);
}

.kpi b {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 4px;
}


/* 🌈 FLOATING GALLERY */

.gallery {
    margin-top: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.photo {
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.35), 0 0 15px rgba(255, 255, 255, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.photo img {
    width: 100%;
    height: 200px;
    /* ✅ fixed height */
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.photo:hover img {
    transform: scale(1.08);
}

.photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4), 0 0 18px rgba(255, 255, 255, 0.6);
}

.caption {
    text-align: center;
    font-weight: 700;
    background: linear-gradient(90deg, #16a34a, #3b82f6, #9333ea);
    color: white;
    padding: 8px;
}


/* FOOTER */

.footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.pill {
    display: inline-block;
    color: #fff;
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    margin: 4px;
}

.pill.whats {
    background: #25d366;
    color: #fff;
}


/* SCROLL REVEAL ANIMATION */

.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s ease;
}

.reveal-fade {
    opacity: 0;
    transition: 1s ease;
}

.visible.reveal-up {
    opacity: 1;
    transform: translateY(0);
}

.visible.reveal-fade {
    opacity: 1;
}