/* =========================
   SPROUTS INTRO SECTION
========================= */

.sprouts-intro {
    background: #ffffff;
}

/* Top white header */
.sprouts-header {
    text-align: center;
    padding: 120px 40px 80px;
}

.sprouts-header h1 {
    font-family: 'Fraunces', serif;
    font-size: 40px;
    font-weight: 200;
    margin-bottom: 20px;
    font-variation-settings: "wght" 200, "opsz" 60;
}

.sprouts-subtitle {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 200;
    font-variation-settings: "wght" 200, "opsz" 60;
}


/* =========================
   GREY VERTICAL BAND
========================= */

.sprouts-band {
    background: #f4f4f4;
    width: 1200px;
    margin: 0 auto;          /* Center horizontally */
    min-height: 2000px;
    position: relative;
    padding-top: 200px;      /* Space for icon */
    margin: 80px auto 0; 
}


/* =========================
   BLUE ICON BOX
========================= */

.sprouts-icon-box {
    width: 200px;
    height: 200px;
    background: #32beff;

    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    top: -65px;             /* Controls overlap */
    left: 50%;
    transform: translateX(-50%);
}

.sprouts-icon-box img {
    width: 130px;
}


/* =========================
   MILESTONE SECTION
========================= */

.milestone-section {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 600px;
    top: 70px;
}


/* Text block */

.milestone-text {
    background: #ffffff;     /* slightly darker than band */
    width: 520px;
    height: 520px;           /* makes it square */
    padding: 90px;
    
    display: flex;
    flex-direction: column;
    justify-content: center;

    margin-left: 10px;       /* ⬅ move text slightly RIGHT */
}



.milestone-text h2 {
    font-family: 'Fraunces', serif;
    font-size: 34px;
    font-weight: 200;
    line-height: 1.2;
    margin-bottom: 25px;
    margin-top: -235px;
    font-variation-settings: "wght" 200, "opsz" 60;
    color: rgb(82, 81, 81);
}

.milestone-text p {
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a4a;
    font-weight: 200;
    font-variation-settings: "wght" 200;
    color: rgb(82, 81, 81);
}


/* Overlapping image */

.milestone-image {
    position: absolute;
    right: 10px;
    top: 80px;
}

.milestone-image img {
    width: 520px;
    height: 520px;     /* makes image square */
    object-fit: cover; /* keeps image nicely cropped */
    display: block;
}

/* =========================
   SPROUTS – CONTENT SECTION
========================= */

.sprouts-content {
    max-width: 1000px;
    margin: 120px auto 160px;  /* space from milestone */
    padding: 0 40px;
}

/* Main title */
.content-main-title {
    font-family: 'Lexend', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 60px;
}

/* Block spacing */
.content-block {
    margin-bottom: 80px;
}

/* Section headings */
.content-block h4 {
    font-family: 'Lexend', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 30px;
}

/* Bullet styling */
.content-block ul {
    padding-left: 20px;
}

.content-block li {
    font-family: 'Lexend', sans-serif;
    font-size: 18px;
    line-height: 1.9;
    font-weight: 300;
    margin-bottom: 18px;
    color: #4a4a4a;   /* slightly lighter base */
}

.content-block li strong {
    font-weight: 500;
    color: #000;      /* darker heading */
}

.li-desc {
    font-weight: 300;
    font-variation-settings: "wght" 300, "opsz" 60;
    color: #000;  /* darker than base text */
}

/* =========================
   OTHER COURSES SECTION
========================= */

.other-courses {
    margin-top: 180px;
    text-align: center;
    position: relative;
}

/* Title */
.other-title {
    font-family: 'Lexend', sans-serif;
    font-size: 18px;
    font-weight: 300;
    font-variation-settings: "wght" 300, "opsz" 60;
    margin-bottom: -120px;
}

/* Grid */
.course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* 🔥 4 cards */
    gap: 30px;

    max-width: 1200px;
    margin: 0 auto;

    position: relative;
    top: 160px;
}


/* Card wrapper */
.course-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    perspective: 1000px;
}



/* Inner flip container */
.course-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

/* Flip on hover */
.course-card:hover .course-inner {
    transform: rotateY(180deg);
}

/* Front + Back */
.course-front,
.course-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Front colors */
.yellow {
    background: #ffe600;
}

.orange {
    background: #f5a600;
}

.course-front img {
    width: 120px;
}

/* Back side */
.course-back {
    background: #ffffff;
    transform: rotateY(180deg);
    flex-direction: column;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: stretch;   /* 🔥 instead of center */
    text-align: center;
    
}

.course-back h3 {
    font-family: 'Fraunces', serif;
    
    font-weight: 400;   /* 🔥 increase from 200 → 400 */
    font-variation-settings: "wght" 400, "opsz" 60;

    width: 100%;
    text-align: center;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.course-back p {
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    line-height: 1.8;
    color: #4a4a4a;
    font-weight: 200;
    font-variation-settings: "wght" 200;
    color: rgb(82, 81, 81);
    margin-bottom: 24px;   /* 🔥 controls space */
    white-space: nowrap;      /* 🔥 keeps in one line */
}

/* Button */
.know-more-btn {
    text-decoration: none;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    padding: 12px 28px;
    background: #000;
    color: #fff;
    transition: 0.3s ease;
}

.know-more-btn:hover {
    background: #333;
}

.contact-section {
    padding: 350px 40px;
    background: #ffffff;
    margin-top: -100px;
    margin-bottom: -10px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 120px;
}

/* Mobile */

@media (max-width: 768px) {

/* =========================
   HEADER SECTION
========================= */

.sprouts-header {
    padding: 60px 20px 40px;
}

.sprouts-header h1 {
    font-size: 28px;
}

.sprouts-subtitle {
    font-size: 16px;
}


/* =========================
   GREY BAND
========================= */

.sprouts-band {
    width: 100%;
    margin: 40px 0 0;
    padding-top: 80px;
    min-height: auto;
}


/* =========================
   ICON BOX
========================= */

.sprouts-icon-box {
    width: 120px;
    height: 120px;
    top: -40px;
}

.sprouts-icon-box img {
    width: 70px;
}


/* =========================
   MILESTONE SECTION
========================= */

.milestone-section {
    position: static;
    top: auto;
    min-height: auto;
    padding: 40px 20px;
}

/* STACK TEXT + IMAGE */

.milestone-text {
    width: 100%;
    height: auto;
    padding: 30px;
    margin: 0;
}

.milestone-text h2 {
    font-size: 24px;
    margin: 0 0 16px 0;
}

.milestone-text p {
    font-size: 14px;
}

/* IMAGE BELOW TEXT */

.milestone-image {
    position: static;
    margin-top: 20px;
    text-align: center;
}

.milestone-image img {
    width: 100%;
    height: auto;
}


/* =========================
   CONTENT SECTION
========================= */

.sprouts-content {
    margin: 60px auto 80px;
    padding: 0 20px;
}

.content-main-title {
    font-size: 16px;
    margin-bottom: 30px;
}

.content-block {
    margin-bottom: 50px;
}

.content-block h4 {
    font-size: 16px;
    margin-bottom: 16px;
}

.content-block li {
    font-size: 14px;
    line-height: 1.6;
}


/* =========================
   OTHER COURSES
========================= */

.other-courses {
    margin-top: 80px;
    margin-bottom: -50px;
}

.other-title {
    margin-bottom: 30px;
}

/* GRID → 2 CARDS */

.course-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    top: 0;
    
}

.course-front img {
    width: 70px;
}

.course-back {
    padding: 20px;
}

.course-back h3 {
    font-size: 14px;
}

.course-back p {
    font-size: 11px;
}


/* =========================
   CONTACT + FOOTER
========================= */

.contact-section {
    padding: 60px 20px;
    margin-top: 0;
}

.footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
}

}