/* --- GLOBAL VARIABLES --- */
:root {
    --primary-red: #dc2626;
    --primary-green: #059669;
    --black: #0f172a;
    --text-muted: #64748b;
    --bg-light: #ffffff;
    --footer-bg: #0a0f1a;
}

/* --- BASE STYLES --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Plus Jakarta Sans', sans-serif; 
}

html { 
    scroll-behavior: smooth; 
}

body { 
    background: var(--bg-light); 
    color: var(--black); 
    overflow-x: hidden; 
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 25px; 
}

/* --- NAVBAR & LOGO --- */
.navbar {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 12px 40px; 
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px); 
    border-radius: 50px;
    margin: 20px auto; 
    width: 95%; 
    max-width: 1100px;
    position: fixed; 
    left: 0; 
    right: 0; 
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.05); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.logo-container { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.site-logo { 
    height: 35px; 
    width: auto; 
}

.logo-text { 
    font-weight: 800; 
    font-size: 22px; 
    letter-spacing: -0.5px; 
}

.logo-text .red { color: var(--primary-red); }
.logo-text span:last-child { color: var(--primary-red); }

nav a { 
    margin-left: 25px; 
    text-decoration: none; 
    color: var(--black); 
    font-weight: 600; 
    font-size: 14px; 
    transition: 0.3s; 
    position: relative;
}

nav a.active {
    color: var(--primary-red);
}

nav a.active, nav a:hover { 
    color: var(--primary-red); 
}

.mobile-socials { 
    display: none; 
}

/* --- HAMBURGER MENU ANIMATION --- */
.hamburger { 
    display: none; 
    cursor: pointer; 
    z-index: 1100; 
    padding: 5px; 
}

.hamburger .line { 
    display: block; 
    width: 25px; 
    height: 3px; 
    background: var(--black); 
    margin: 5px 0; 
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    border-radius: 2px; 
}

.hamburger.active .line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active .line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- HERO SECTION --- */
.hero { 
    position: relative; 
    text-align: center; 
    padding: 200px 20px 120px; 
}

.shape { 
    position: absolute; 
    z-index: -1; 
    filter: blur(90px); 
    border-radius: 50%; 
    opacity: 0.35; 
}

.shape-1 { 
    width: 450px; height: 450px; 
    background: radial-gradient(circle, #fecaca, transparent); 
    top: -120px; left: -120px; 
}

.shape-2 { 
    width: 550px; height: 550px; 
    background: radial-gradient(circle, #dcfce7, transparent); 
    bottom: -120px; right: -120px; 
}

.dot-pattern { 
    position: absolute; 
    top: 150px; left: 50px; 
    width: 160px; height: 160px; 
    z-index: -1; 
    opacity: 0.12; 
    background-image: radial-gradient(#000 1px, transparent 1px); 
    background-size: 20px 20px; 
}

.badge { 
    background: var(--primary-red); 
    color: white; 
    padding: 8px 20px; 
    border-radius: 30px; 
    font-size: 12px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}

.hero h1 { 
    font-size: clamp(38px, 6vw, 68px); 
    margin: 30px 0; 
    font-weight: 800; 
    line-height: 1.05; 
    letter-spacing: -2.5px; 
}

.highlight { color: var(--primary-red); }

.hero p { 
    font-size: 18px; 
    color: var(--text-muted); 
    margin-bottom: 45px; 
    max-width: 750px; 
    margin-left: auto; 
    margin-right: auto; 
    line-height: 1.6; 
}

/* --- BUTTONS --- */
.buttons button { 
    padding: 16px 35px; 
    border-radius: 14px; 
    font-weight: 700; 
    cursor: pointer; 
    transition: 0.3s; 
    font-size: 15px; 
    margin: 8px; 
    border: none; 
}

.primary { 
    background: var(--primary-red); 
    color: white; 
    box-shadow: 0 12px 24px rgba(220, 38, 38, 0.2); 
}

.secondary { 
    background: white; 
    border: 1px solid #e2e8f0; 
    color: var(--black); 
}

button:hover { 
    transform: translateY(-4px); 
    opacity: 0.95; 
}

/* --- ABOUT SECTION --- */
.about {
    padding: 100px 25px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.about-images {
    position: relative;
    height: 500px;
}

.img-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-img {
    width: 80%;
    height: 400px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.sub-img {
    width: 60%;
    height: 300px;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 8px solid white;
}

.badge-outline {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--primary-red);
    color: var(--primary-red);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.about-text h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 35px;
    white-space: pre-line;
}

/* --- FEATURES SECTION --- */
.features { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    padding: 100px 0; 
    gap: 50px; 
}

.features .left { 
    flex: 1; 
    min-width: 320px; 
}

.features h2 { 
    font-size: 46px; 
    font-weight: 800; 
    letter-spacing: -1.5px; 
    line-height: 1.1; 
}

.features .right { 
    flex: 1.6; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: 25px; 
}

.card { 
    background: white; 
    padding: 40px 30px; 
    border-radius: 28px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.03); 
    border: 1px solid #f1f5f9; 
    transition: 0.4s; 
}

.card:hover { 
    transform: translateY(-12px); 
    box-shadow: 0 25px 50px rgba(0,0,0,0.08); 
    border-color: var(--primary-red); 
}

.card-icon { 
    font-size: 32px; 
    margin-bottom: 25px; 
    color: var(--primary-red); 
}

.card-icon.green { color: var(--primary-green); }

/* --- FOOTER --- */
.footer { 
    background: var(--footer-bg); 
    color: #94a3b8; 
    padding: 100px 0 40px; 
    margin-top: 60px; 
}

.footer-content { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr; 
    gap: 70px; 
}

.footer-brand .logo-text, .footer-brand .logo-text span { 
    color: white; 
}

.footer-brand p { 
    margin: 25px 0; 
    line-height: 1.7; 
    max-width: 340px; 
    font-size: 15px; 
}

.footer h4 { 
    color: white; 
    margin-bottom: 25px; 
    font-size: 19px; 
    font-weight: 700; 
}

.footer ul { 
    list-style: none; 
}

.footer ul li { 
    margin-bottom: 14px; 
}

.footer ul li a { 
    color: #94a3b8; 
    text-decoration: none; 
    transition: 0.3s; 
    font-size: 15px; 
}

.footer ul li a:hover { 
    color: var(--primary-red); 
    padding-left: 5px; 
}

.footer-contact p { 
    margin-bottom: 15px; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-size: 15px; 
}

.footer-contact i { 
    color: var(--primary-red); 
    width: 20px; 
}

.social-links { 
    display: flex; 
    gap: 18px; 
    margin-top: 30px; 
}

.social-links a { 
    width: 45px; height: 45px; 
    background: #1e293b; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    text-decoration: none; 
    transition: 0.4s; 
    font-size: 18px; 
}

.social-links a:hover { 
    background: var(--primary-red); 
    transform: translateY(-6px); 
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3); 
}

.footer-bottom { 
    text-align: center; 
    padding-top: 45px; 
    margin-top: 60px; 
    border-top: 1px solid #1e293b; 
    font-size: 14px; 
    letter-spacing: 0.5px; 
}

/* --- RESPONSIVENESS (Mobile/Tablet) --- */
@media (max-width: 992px) {
    /* Navbar Sidebar */
    .hamburger { display: block; }

    .nav-links {
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: 300px; 
        height: 100vh;
        background: white; 
        flex-direction: column; 
        padding: 110px 50px;
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1); 
        box-shadow: -15px 0 40px rgba(0,0,0,0.1);
        z-index: 1050;
    }

    .nav-links.active { right: 0; }

    .nav-links a { 
        margin: 18px 0; 
        font-size: 20px; 
        display: block; 
        margin-left: 0; 
    }

    .mobile-socials { 
        display: flex; 
        gap: 25px; 
        margin-top: 50px; 
        font-size: 24px; 
    }

    .mobile-socials a { 
        color: var(--black); 
        margin-left: 0; 
    }

    /* About Section Mobile */
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .about-images {
        height: auto;
        max-width: 500px;
        margin: 0 auto 40px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .main-img { 
        position: relative; 
        width: 100%; 
        height: 300px; 
    }

    .sub-img { display: none; }

    /* Footer Mobile */
    .footer-content { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 50px; 
    }

    .footer-brand p { margin: 25px auto; }
    .social-links { justify-content: center; }

    .no-scroll { overflow: hidden; }
}

/* ------------------------------------------------------------------ */
/* --- WORKSHOP SECTION STYLES --- */
.workshop {
    padding: 100px 25px;
    background: #fcfcfc; /* Subtle background change to separate sections */
}

.workshop-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.workshop-text h2 {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--black);
    letter-spacing: -1px;
}

.workshop-paragraph p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
    white-space: pre-line;
}

.workshop-images {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.workshop-img-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    z-index: 2;
}

.workshop-img-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.workshop-img-card:hover img {
    transform: scale(1.05);
}

.img-one {
    width: 90%;
    margin-right: auto;
}

.img-two {
    width: 90%;
    margin-left: auto;
    margin-top: -40px; /* Slight overlap effect */
}

/* Decorative box behind images */
.accent-box {
    position: absolute;
    top: 10%;
    right: -10%;
    width: 100%;
    height: 80%;
    background: var(--primary-red);
    opacity: 0.05;
    border-radius: 30px;
    z-index: 1;
}

/* --- WORKSHOP RESPONSIVENESS --- */
@media (max-width: 992px) {
    .workshop-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .workshop-text h2 {
        font-size: 28px;
    }

    .workshop-images {
        margin-top: 40px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .img-two {
        margin-top: 20px;
    }

    .accent-box {
        display: none;
    }
}

/**************************NEWS LETTER***************************/
/* --- NEWSLETTER SECTION STYLES --- */
.newsletter {
    padding: 60px 25px;
    margin-bottom: -50px; /* Overlaps slightly with footer for a modern look */
    position: relative;
    z-index: 5;
}

.newsletter-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 35px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Decorative Circles */
.news-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
}
.circle-1 {
    width: 200px;
    height: 200px;
    background: var(--primary-red);
    top: -100px;
    right: -50px;
    opacity: 0.15;
}
.circle-2 {
    width: 150px;
    height: 150px;
    background: var(--primary-green);
    bottom: -75px;
    left: -50px;
    opacity: 0.1;
}

.newsletter-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.news-icon {
    width: 70px;
    height: 70px;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-red);
    font-size: 28px;
    transform: rotate(-10deg);
}

.news-text h2 {
    color: white;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.news-text p {
    color: #94a3b8;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* FORM STYLES */
.subscribe-form {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.input-group {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.input-group i {
    color: #64748b;
    margin-right: 12px;
}

.input-group input {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    outline: none;
}

.input-group input::placeholder {
    color: #64748b;
}

.subscribe-btn {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.4s;
}

.subscribe-btn:hover {
    background: #b91c1c;
    transform: translateX(5px);
}

.privacy-note {
    margin-top: 20px;
    font-size: 13px;
    color: #475569;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 768px) {
    .subscribe-form {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
    }
    
    .input-group {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        margin-bottom: 10px;
        padding: 15px 20px;
    }
    
    .subscribe-btn {
        width: 100%;
        justify-content: center;
        padding: 18px;
    }
    
    .news-text h2 {
        font-size: 28px;
    }
}

/************************Empowerment Section*********************************/
/* --- EMPOWERMENT SECTION (SLEEK OVERLAY) --- */
.empowerment {
    padding: 120px 25px;
}

.empowerment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.empowerment-visuals {
    position: relative;
    height: 550px; /* Constrains the stack height */
}

.visual-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Feature Image: The Background Piece */
.main-feature-img {
    width: 75%;
    height: 480px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

/* Accent Images: The Overlapping Pieces */
.accent-img-top, .accent-img-bottom {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    border: 8px solid white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    z-index: 2;
}

.accent-img-top {
    width: 45%;
    height: 180px;
    top: -30px;
    right: 0;
}

.accent-img-bottom {
    width: 50%;
    height: 220px;
    bottom: 20px;
    right: -20px;
}

.main-feature-img img, .accent-img-top img, .accent-img-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Decorative Dot Pattern */
.floating-dots {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--primary-red) 2px, transparent 2px);
    background-size: 15px 15px;
    z-index: -1;
    opacity: 0.3;
}

/* Text Refinement */
.empowerment-text h2 {
    font-size: 32px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--black);
    letter-spacing: -1.5px;
}

.text-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1100px) {
    .empowerment-grid { gap: 50px; }
    .empowerment-text h2 { font-size: 28px; }
}

@media (max-width: 992px) {
    .empowerment-grid {
        grid-template-columns: 1fr;
    }

    .empowerment-visuals {
        height: 450px;
        max-width: 500px;
        margin: 0 auto;
    }

    .main-feature-img { width: 85%; height: 350px; }
    .accent-img-top { width: 40%; height: 140px; top: -20px; }
    .accent-img-bottom { width: 45%; height: 160px; right: 0; }

    .empowerment-text {
        text-align: center;
        order: -1; /* Heading stays at the top on mobile */
    }
}

/* --- SWEAT AFRICA SECTION --- */
.sweat-africa {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: #fff;
}

/* Diagonal Background Decoration */
.sweat-bg-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: #f8fafc;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 0;
}

.sweat-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Slanted Visuals */
.sweat-visuals {
    position: relative;
    display: flex;
    gap: 20px;
    height: 500px;
}

.slanted-frame {
    width: 250px;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    transform: skewY(-5deg); /* The "Slant" effect */
    transition: 0.5s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.frame-1 { margin-top: 40px; }
.frame-2 { margin-top: -20px; }

.slanted-frame img {
    width: 100%;
    height: 110%; /* Extra height to account for the skew */
    object-fit: cover;
    transform: skewY(5deg) scale(1.1); /* Un-skews the image so it looks normal */
    transition: 0.5s ease;
}

.slanted-frame:hover {
    transform: skewY(0deg) translateY(-10px);
}

.slanted-frame:hover img {
    transform: skewY(0deg) scale(1);
}

/* Circular Stamp Badge */
.sweat-stamp {
    position: absolute;
    bottom: 20px;
    left: 40%;
    width: 100px;
    height: 100px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 10px;
    font-weight: 800;
    padding: 15px;
    box-shadow: 0 10px 20px rgba(5, 150, 105, 0.3);
    z-index: 3;
}

/* Text Content Styling */
.sweat-text h2 {
    font-size: 42px;
    line-height: 1.1;
    margin: 20px 0;
    font-weight: 800;
}

.sweat-description p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Highlighted Impact Box */
.impact-box {
    background: white;
    padding: 30px;
    border-left: 5px solid var(--primary-red);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 0 20px 20px 0;
    margin-bottom: 35px;
}

.impact-box p {
    margin-bottom: 0;
    color: var(--black);
    font-weight: 500;
    font-style: italic;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 992px) {
    .sweat-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .sweat-bg-accent { display: none; }

    .sweat-visuals {
        justify-content: center;
        height: auto;
        margin-bottom: 40px;
    }

    .slanted-frame {
        width: 180px;
        height: 300px;
    }

    .impact-box {
        border-left: none;
        border-top: 5px solid var(--primary-red);
        border-radius: 20px;
    }

    .sweat-stamp {
        left: 50%;
        transform: translateX(-50%);
    }
}
