* {
    padding: 0;
    margin: 0px;
}

/* hero-image */
.hero-img {
    width: 100%;
    height: clamp(250px, 40vw, 550px);
    background-image: url('../../pics/gallery/schoolPicture.webp');
    background-size: cover;
    background-position: center;
}

/* hero-section */
.hero {
    padding: clamp(40px, 8vw, 80px) clamp(20px, 5vw, 50px);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.hero .hero-txt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    height: auto; /* Changed from fixed 400px so text never overflows on mobile */
}

#label {
    font-size: 14px;
    color: #B71502;
    font-weight: 600;
}

.hero h2 {
    font-size: clamp(28px, 4vw, 32px);
    font-weight: 700;
}

.hero .text {
    font-size: 17px;
    line-height: 25px;
    color: #44474D;
    max-width: 650px;
}

.hero .hero-img {
    width: 100%;
    height: clamp(300px, 40vw, 500px);
    background-image: url('../../pics/gallery/principal.webp');
    background-size: cover;
    background-position: center;
    border-radius: 5px;
}

/* Journey section */
.journey {
    padding: clamp(40px, 8vw, 80px) clamp(20px, 5vw, 50px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border-top: 1px solid #C4C6CE;
    border-bottom: 1px solid #C4C6CE;
}

.journey h2 {
    font-size: clamp(32px, 5vw, 40px);
    font-weight: bold;
    text-align: center;
}

.journey > p {
    font-size: 19px;
    color: #44474D;
    text-align: center;
}

.journey-cards {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    max-width: 1200px;
}

.journey-cards .card {
    border: 1px solid #C4C6CE;
    width: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    text-align: center;
}

.journey-cards .card .circle {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background-color: #B71502;
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, -50%); /* Fixed horizontal centering for the dot */
}

.card h3 {
    font-size: 24px;
}

.card .red {
    color: #B71502;
    font-size: 14px;
}

.card .red + p {
    color: #44474D;
    font-size: 14px;
    line-height: 20px;
    max-width: 400px;
}

/* goals section */
.goals {
    padding: clamp(40px, 8vw, 80px) clamp(20px, 5vw, 50px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 50px);
    max-width: 1200px;
    margin: 0 auto;
}

.goals .vision, .goals .mission {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: clamp(20px, 4vw, 30px) clamp(20px, 4vw, 50px);
    border: 1px solid #C4C6CE;
    border-radius: 5px;
}

.goals h2 {
    font-size: 24px;
    line-height: 30px;
}

.goals p {
    color: #44474D;
    font-size: 17px;
    line-height: 25px;
}

.goals .mission ul {
    list-style: none; /* Removed 'disc' because you are using custom checkmarks */
    padding-left: 0px;
    color: #44474D;
    font-size: 17px;
    line-height: 25px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mission li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.mission li::before {
    content: "✓";
    width: 20px;
    height: 20px;
    border: 2px solid #dc331c;
    border-radius: 50%;
    color: #dc331c;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

/* director message section */
.director-message {
    padding: clamp(40px, 8vw, 80px) clamp(20px, 5vw, 50px);
    border-top: 1px solid #C4C6CE;
    border-bottom: 1px solid #C4C6CE;
}

.director-message .text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: clamp(30px, 5vw, 5%) clamp(20px, 5vw, 10%);
    background-color: #000615;
    color: #fff;
    border-radius: 8px; /* Added subtle corner rounding for consistency */
}

.director-message .text p {
    font-size: clamp(20px, 4vw, 30px);
    line-height: clamp(30px, 5vw, 40px);
    text-align: center;
}

.director-message .text cite {
    font-size: 18px;
    font-weight: 500;
    font-style: normal;
}

/* ==============================================================
   RESPONSIVE MEDIA QUERIES (TABLET & MOBILE) 
============================================================== */

@media (max-width: 1023px) {
    /* Stack Hero section vertically */
    .hero {
        grid-template-columns: 1fr;
    }

    /* Stack Goals vertically */
    .goals {
        grid-template-columns: 1fr;
    }

    /* Drop Journey cards to 2 columns on tablet */
    .journey-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE ONLY */
@media (max-width: 767px) {
    /* Drop Journey cards to 1 column */
    .journey-cards {
        grid-template-columns: 1fr;
    }
}