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

body {
    font-family: 'Arial', sans-serif;
    /* overflow: hidden;  */
}

.landing-container {
    background: linear-gradient(160deg, rgba(30,15,5,0.6) 0%, rgba(180,80,20,0.35) 100%),
                url('img/africanbackground.jpg') no-repeat center 60% / cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(16px, 4vw, 40px) clamp(16px, 8vw, 100px) clamp(24px, 5vw, 50px);
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 20px;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 14px;
}

.logo-area img {
    height: auto; 
    width: clamp(180px, 18vw, 320px); 
    filter: drop-shadow(2px 4px 10px rgba(0,0,0,0.4));
    transition: transform 0.3s ease-in-out;
}

.nav-links {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: clamp(0.7rem, 1vw, 0.85rem);
    background: #ecd2a1; 
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: inset -2px -2px 4px rgba(0,0,0,0.2), 
                2px 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    white-space: nowrap;
}

.nav-links a:hover {
    background: #fdf5e6; /* Brightens slightly on hover */
    transform: scale(1.1); /* Subtle grow */
    color: #000;
    box-shadow: 0px 8px 15px rgba(0,0,0,0.2);
}

/* MAIN TEXT STYLE */
.hero-text {
    flex: 1;
    display: flex;
    align-items: center;
     max-width: 900px;
}

.hero-text h1 {
    font-family: 'Boogaloo', sans-serif;
    color: #ecd2a1; 
    font-size: clamp(2.4rem, 6.5vw, 5rem); 
    line-height: 0.95;
    letter-spacing: 2px;
    text-shadow: 1px 1px 0px #d4c4a8, 
                 2px 2px 0px #b8a98f, 
                 4px 8px 15px rgba(0,0,0,0.6);
}

/* APPLY BUTTON */
.footer-action {
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    padding-bottom: 4px;
}

.apply-btn {
    text-decoration: none;
    background: #ecd2a1;
    padding: clamp(12px, 2vw, 18px) clamp(28px, 5vw, 50px);
    border-radius: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 3px solid #b8a98f; 
    box-shadow: 
        0px 15px 35px rgba(0, 0, 0, 0.5),
        inset 0px -6px 10px rgba(0, 0, 0, 0.2),
        inset 0px 6px 10px rgba(255, 255, 255, 0.5),
        inset 0px 0px 0px 2px rgba(165, 142, 102, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.apply-btn:hover {
    transform: scale(1.05);
}

.sub-text {
    font-size: clamp(0.7rem, 1.2vw, 0.9rem);
    color: #444;
    font-weight: bold;
    font-family: 'Boogaloo', sans-serif;
}

.main-text {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: #1a1a1a;
    font-weight: 900;
    font-family: 'Boogaloo', sans-serif;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .landing-container {
        padding: 20px 20px 28px;
    }
    .navbar {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }
    .logo-area img {
        width: clamp(140px, 55vw, 220px);
    }
    .nav-links {
        justify-content: center;
        margin-top: 0;
    }
    .hero-text {
        justify-content: center;
    }
    .hero-text h1 {
        text-align: center;
    }
}

/* --- ABOUT SECTION STYLES --- */
.about-section {
    background-color: #f4eee0; /* Sahara Sand */
    padding: 120px 20px;
    font-family: 'Inter', sans-serif;
    color: #2d2d2d;
    
}

.section-container {
    max-width: 1000px;
    margin: 0 auto;
    
}

/* 1. Shield Header */
.shield-container {
    text-align: center;
    margin-bottom: 30px;
    justify-content: center;
}

.sahara-shield {
    width: 80px;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.1));
}

.responsive-img {
    max-width: 100%;  /* Prevents the image from overflowing the screen */
    height: auto;      /* Maintains the aspect ratio so it doesn't look squished */
    display: block;    /* Removes bottom whitespace common with images */
     margin: 0 auto; 
}

/* Optional: If you want the image to have a specific max size on desktop */
@media (min-width: 768px) {
    .responsive-img {
        width: 600px; /* Or whatever size you prefer for large screens */
    }
}

.about-header h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #c96236; /* Terracotta */
    margin-bottom: 10px;
    text-align: center;
}

.styled-heading {
    
    font-family: 'Boogaloo', serif;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 50px;
    text-align: center;
}

/* 2. Intro Text */
.intro-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 80px;
    font-weight: 300;
}

/* 3. The Friction Container (Portal + Reality) */
.friction-container {
    display: flex;
    align-items: center;
    gap: 60px;
    background: #eaddca; /* Deeper Sand */
    padding: 60px;
    border-radius: 40px;
    margin-bottom: 100px;
    box-shadow: inset 5px 5px 15px rgba(0,0,0,0.05);
}

.portal-wrapper {
    position: relative;
    flex-shrink: 0;
}

.portal-cutout {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.3);
    border: 10px solid #f4eee0;
}

.portal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(20%);
}

.rainbow-ring {
    position: absolute;
    top: -8px; left: -8px; right: -8px; bottom: -8px;
    background: linear-gradient(45deg, #e03e2d, #f1c40f, #2ecc71, #3498db);
    border-radius: 50%;
    z-index: 1;
}

.friction-text {
    text-align: left;
}

.skill-content,
.cert-content,
.friction-text p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.friction-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.friction-list li {
    font-family: 'Boogaloo', sans-serif;
    
    font-size: 2.1rem;
    margin-bottom: 10px;
    color: #444;
}

.friction-list span {
    color: #c96236;
    margin-right: 10px;
}

/* 4. The Gravity Footer */
.gravity-card {
    border-top: 1px solid #d4c3a3;
    padding-top: 60px;
}

.final-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.6rem;
    line-height: 1.5;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px;
}

.movement-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #c96236;
}

.m-divider {
    color: #d4c3a3;
}

/* Responsive */
@media (max-width: 850px) {
    .friction-container {
        flex-direction: column;
        padding: 40px 20px;
    }
    .styled-heading { font-size: 2.5rem; }
    .movement-bar { flex-direction: column; gap: 10px; }
    .m-divider { display: none; }
}

/* Container */
.containerX {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography used in section */
.section-labelX {
    font-family: 'Boogaloo',sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #c96236; /* Terracotta */
    margin-bottom: 10px;
}

.section-titleX {
    font-family: 'Boogaloo', serif;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 50px;
}

/* Button */
.cta-buttonA {
      background-color: #f9b233;
      color: #333;
      border: none;
      padding: 1rem 2rem;
      font-size: 1rem;
      font-weight: bold;
      letter-spacing: 1px;
      cursor: pointer;
      align-self: flex-start;
      transition: background-color 0.3s ease, transform 0.2s ease;
      margin-top: 1rem;
    }

.cta-buttonX {
    background-color: #F0B323;
    color: black;
    padding: 14px 32px;
    border: none;
    font-size: 1.5rem;
    font-family: 'Arial', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}


.cta-buttonX:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* STORIES SECTION */

.storiesX {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.stories-contentX {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.stories-visualX {
    position: relative;
    height: 500px;
}

.story-image-mainX {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.story-image-mainX img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* 1. Force high-quality downsampling */
    image-rendering: -webkit-optimize-contrast; 
    image-rendering: high-quality;

    /* 2. Hardware acceleration: Shifts rendering to the GPU */
    transform: translateZ(0);
    backface-visibility: hidden;

    /* 3. Sub-pixel smoothing */
    -webkit-font-smoothing: antialiased;
}

.story-image-smallX {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #faf8f5;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.story-image-smallX img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-image-1X {
    top: 15%;
    right: 10%;
}

.story-image-2X {
    bottom: 15%;
    left: 5%;
}

.dotX {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    opacity: 0.8;
}

.dot-5X {
    background-color: #D4A574;
    top: 25%;
    left: 8%;
    width: 12px;
    height: 12px;
}

.dot-6X {
    background-color: #E8B87D;
    bottom: 15%;
    right: 12%;
}

.dots-patternX {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 5%;
    left: 10%;
    background-image: radial-gradient(circle, #D4A574 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.3;
}

.stories-textX {
    text-align: left;
}

.stories-descriptionX {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stories-actionsX {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Tablet */
@media (max-width: 968px) {

    .stories-contentX {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .section-titleX {
        font-size: 2rem;
    }

    .stories-visualX {
        height: 400px;
    }

    .story-image-mainX {
        width: 280px;
        height: 280px;
    }

    .story-image-smallX {
        width: 100px;
        height: 100px;
    }

    .stories-actionsX {
        flex-direction: column;
    }

}

/* Mobile */
@media (max-width: 640px) {

    .storiesX {
        padding: 60px 0;
    }

    .section-titleX {
        font-size: 1.8rem;
    }

    .stories-visualX {
        height: 350px;
    }

    .story-image-mainX {
        width: 240px;
        height: 240px;
    }

    .story-image-smallX {
        width: 80px;
        height: 80px;
    }

    .cta-buttonX {
        width: 100%;
    }

}

/* TRAINING PAGE SPECIFICS */
.training-page {
    background-color: #f4eee0; /* Sahara Sand */
    color: #2d2d2d;
}

/* 1. Hero with Image Overlay */
.training-hero {
    width: 100%;
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('img/woven\ kente.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.training-hero h1 {
    font-family: 'Boogaloo', serif;
    font-size: 3.5rem;
    color: #ecd2a1;
}

/* 2. Program Grid (Card Style) */
.structure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 60px 10%;
}

.structure-card {
    background: #eaddca;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.05);
    transition: transform 0.3s;

    display: flex;
    align-items: center;
    gap: 20px;
}
.structure-card h3{
    font-family: 'Boogaloo', serif;
    font-size: 1.5rem;
}

.structure-card:hover {
    transform: translateY(-10px);
}

.card-icon { width: 130px;
    height: 130px;
    object-fit: contain;
    flex-shrink: 0; }

/* 3. Skillset Flow (Rainbow Path) */
.skillset-flow {
    position: relative;
    padding: 100px 0;
    max-width: 800px;
    margin: 0 auto;
}

/* The winding rainbow trail connector */
.rainbow-connector {
    position: absolute;
    top: 0; left: 50%;
    width: 6px; height: 100%;
    background: linear-gradient(#e03e2d, #f1c40f, #2ecc71, #3498db);
    z-index: 1;
}

.skill-block {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.skill-block.reverse { flex-direction: row-reverse; }

.skill-marker {
    width: 60px; height: 60px;
    background: white;
    border: 4px solid #c96236;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.skill-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 45%;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.05);
}


/* 4. Outcomes Footer (Minimalist) */
.outcomes-footer {
    padding: 100px 10%;
    background: #2d2d2d;
    color: #f4eee0;
    text-align: center;
}


/* --- DESTINATION SECTION --- */
.destination-wrap {
    background-color: #f4eee0; /* Sahara Sand */
    padding: 100px 5%;
    font-family: 'Inter', sans-serif;
}

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

/* Practicum Split */
.practicum-split {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.practicum-text { flex: 1; text-align: left; }
.practicum-image { flex: 1; }

.rounded-paper-shadow {
    width: 100%;
    border-radius: 30px;
    box-shadow: 15px 15px 0px #eaddca; /* Matches paper-cut theme */
}

.portfolio-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.portfolio-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.portfolio-list span {
    color: #c96236;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Certification Banner */
.certification-badge {
    background: #C1A7E2;
    color: #333333;
    padding: 40px;
    margin-bottom: 80px;
    text-align: center;
}

.certification-badge h3 {
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    color: #333333; /* Gold accent for the diploma */
}

/* Outcomes Grid */
.outcomes-grid {
    text-align: left;
    margin-bottom: 80px;
}

.outcomes-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.outcome-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #c96236;
    font-weight: 500;
}

/* Final Call to Action */
.final-call {
    text-align: center;
    border-top: 1px solid #d4c3a3;
    padding-top: 60px;
}

.final-call p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #555;
}

.movement-btn {
    display: inline-block;
    padding: 20px 50px;
    background: #c96236;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    text-transform: uppercase;
    transition: background 0.3s;
}

.movement-btn:hover { background: #e03e2d; }

/* Responsive */
@media (max-width: 800px) {
    .practicum-split { flex-direction: column; }
    .outcomes-list { grid-template-columns: 1fr; }
}


/* ─── SITE FOOTER ─────────────────────────────────────────── */
.site-footer {
    background-color: #eaddca;
    border-top: 1px solid #d4c3a3;
    padding: 48px 10% 28px;
    font-family: Arial, Helvetica, sans-serif;
}

.site-footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.site-footer-logo {
    height: auto;
    width: clamp(100px, 12vw, 160px);
    
}

.site-footer-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.site-footer-nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 0.78rem;
    background: #f4eee0;
    padding: 7px 18px;
    border-radius: 50px;
    box-shadow: inset -1px -1px 3px rgba(0,0,0,0.15),
                1px 2px 5px rgba(0,0,0,0.12);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    white-space: nowrap;
}

.site-footer-nav a:hover {
    background: #fff;
    transform: scale(1.08);
    color: #000;
}

.site-footer-divider {
    width: 60px;
    height: 1px;
    background: #d4c3a3;
}

.site-footer-copy {
    font-size: 1.2rem;
    color: #888;
    text-align: center;
    line-height: 1.6;
}

.site-footer-credit {
    font-size: 0.9rem;
    color: #bbb;
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #e0d5c3;
    width: 100%;
}

.site-footer-credit a {
    color: #c96236;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.2s;
}

.site-footer-credit a:hover {
    opacity: 0.7;
}

