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

/* Colors */
:root {
  --dark-blue: #2C3E50;
  --light-gray: #F4F4F4;
  --white: #FFFFFF;
  --bright-blue: #3498DB;
  --medium-blue: #2980B9;
}


body {
    font-family: sans-serif ;
    line-height: 1.6;
    color: #333;
}

main div {
    margin-top: 10px;
}

main {
    margin-top: 20px;
    min-width: 120vh;
    flex-grow: 1 ;
}

/* Core Principles Section */
.mission-vision-section {
    padding: 60px 0; 
    background-color: #f8faff; 
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px; 
    margin-top: 30px;
    text-decoration:dotted;
}

/* This is our Flexbox container */
.principles-grid {
    display: flex;
    justify-content: center; 
    gap: 2rem; 
    flex-wrap: wrap; 
}

/* This is each individual card */
.principle-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1; 
    min-width: 280px;
}

.principle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--bright-blue) ;
}

.principle-card i {
    font-size: 3rem;
    color: var(--medium-blue);
    margin-bottom: 1rem;
}

.principle-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.principle-card p {
    color: #666;
    line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}



/*
====================================
    Stats Counter Section
====================================
*/

.stats-section {
    background-color: #f8faff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before,
.stats-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(41, 128, 185, 0.2); 
    z-index: 1;
}
.stats-section::before {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}
.stats-section::after {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -150px;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    color: var(--medium-blue);
    flex: 1;
    min-width: 180px;
}

.stat-item i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--dark-blue);
    opacity: 0.8;
    margin-top: 0.5rem;
}


/* ======================= MAP STYLES ======================= */
.map-section {
    padding: 60px 0;
    text-align: center;
}

.map-section h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
}
.map-subtitle {
    margin-bottom: 30px;
    color: #666;
    font-size: 1.1rem;
}

#student-map {
    height: 500px; 
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    z-index: 1; 
}


/* ======================= TIMELINE STYLES ======================= */
.timeline-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.timeline-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--dark-blue);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--bright-blue);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}


.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}


.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid var(--bright-blue);
    border-radius: 50%;
    top: 20px;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}


.timeline-content {
    padding: 20px 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--bright-blue); 
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-content h3 {
    color: var(--bright-blue);
    margin-bottom: 0.5rem;
}

/* Responsive styles for smaller screens */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 15px;
        left: 0 !important; /* Override positioning */
    }
    .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
        left: 10px;
    }
     .timeline-item:nth-child(odd) .timeline-content {
        text-align: left;
    }
}

/* =================================== */
/*   RESPONSIVE STYLES    */
/* =================================== */


main {
    margin-top: 20px;
    min-width: auto; 
    width: 100%;
    flex-grow: 1;
    overflow-x: hidden; 
}


