:root {
/* Required colours (kept) */
--brand-soft: #d8e0d0; /* background / panels */
--brand-accent: #d2b7dd; /* highlights only */


/* Accessibility-tuned colours */
--primary: #6f3f86; /* high-contrast purple */
--primary-dark: #4f2a63;
--tec-dark: #3b2a55;
--tec-darker: #1f1429;


--text-main: #1f1429;
--text-muted: #4f4f4f;
--white: #ffffff;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--brand-soft);
    color: var(--text-main);
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: 'Fredoka One', cursive;
    color: var(--tec-dark);
}

.navbar-brand {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    color: var(--primary);
}

/* ---------- Background helpers ---------- */

.bg-primary {
    background-color: var(--primary) !important;
    color: var(--white);
}

.bg-secondary {
    background-color: var(--brand-soft) !important;
}

.bg-light {
    background-color: var(--white) !important;
}

/* ---------- Buttons ---------- */

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--tec-dark);
    border-color: var(--tec-dark);
    color: var(--white);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--tec-darker);
    border-color: var(--tec-darker);
}

/* ---------- Text helpers ---------- */

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--tec-dark) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* ---------- Hero ---------- */

.hero-section {
    background:
        linear-gradient(
            rgba(31, 20, 41, 0.238),
            rgba(31, 20, 41, 0.386)
        ),
        url('../images/hero3.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0;
}

.hero-section h1 {
    color: var(--white);
    font-size: 3.5rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

/* ---------- Section titles ---------- */

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
}

/* ---------- Feature boxes ---------- */

.feature-box {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px 20px;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--brand-accent);
    color: var(--tec-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

/* ---------- Cards ---------- */

.school-info-card {
    background-color: var(--white);
    border-left: 6px solid var(--primary);
    border-radius: 8px;
}

.classroom-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.classroom-card:hover {
    transform: translateY(-5px);
}

.classroom-card img {
    height: 200px;
    object-fit: cover;
}

/* ---------- News & calendar ---------- */

.news-item {
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.news-date {
    color: var(--primary);
    font-weight: bold;
}

.calendar-event {
    background-color: var(--white);
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-left: 5px solid var(--primary);
}

/* ---------- Badges ---------- */

.badge-school {
    background-color: var(--primary);
    color: var(--white);
}

/* ---------- Lists ---------- */

.school-values li {
    margin-bottom: 10px;
    padding-left: 10px;
}

.school-values li i {
    color: var(--primary);
    margin-right: 10px;
}

/* ---------- Footer ---------- */

.footer {
    background-color: var(--tec-darker);
    color: var(--white);
}

.footer h3, .footer h4{
      color: var(--white);
}


.footer a {
    color: var(--brand-accent);
    text-decoration: underline;
}

.footer a:hover,
.footer a:focus {
    color: var(--white);
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section {
        padding: 80px 0;
    }
}



/* * {
    outline: 1px solid red !important;
} */

