* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
	
}


/* Sticky Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #1a365d; /* Dark Blue */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
	font-size:0.8rem;
}


.logo-area { display: flex; align-items: center; }
.logo { width: 40px; margin-right: 15px; }

nav ul { display: flex; list-style: none; }
nav ul li a { color: white; text-decoration: none; padding: 0 15px; font-weight: 500;
				font-size:1rem;}
			
/*--- STATS SECTION STYLES conuter---- */
.stats-section {
    padding: 60px 8%;
    background-color: #ffffff; /* Clean white background for the section */
}

.stats-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap; /* Stacks items on mobile */
}

.stat-item {
    background-color: rgba(0, 0, 128, 0.05); 
    flex: 1;
    min-width: 200px;
    padding: 40px 20px;
    text-align: center;
    border-radius: 4px; /* Slight rounding */
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

/* Icons */
.stat-item i {
    font-size: 2.5rem;
    color: #800000; /* Maroon color */
    margin-bottom: 20px;
}

/* Numbers */
.stat-item h2 {
    font-size: 2.5rem;
    color: #1a365d; /* Dark Blue from your theme */
    margin-bottom: 10px;
    font-weight: 700;
}

/* Text label */
.stat-item p {
    font-size: 1rem;
    color: #1a365d;
    font-weight: 600;
}
/*--- end of the counter ----*/
/* Hero Banner */
.welcome-text {
    display: block;       /* THIS IS THE KEY: It takes up the full width, forcing the next text down */
    font-size: 1.5rem;    /* Makes 'Welcome to' smaller */
    font-weight: 400;     /* Makes it look lighter than the school name */
    margin-bottom: 0px;  /* Adds a gap between 'Welcome to' and the School Name */
    text-transform: none; /* Keeps it from being all caps */
	
}
.hero-banner {
    /* Replace the color with your image */
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('banner.jpg');
    
    /* Background formatting */
    background-size: cover;       /* Makes image fill the whole area */
    background-position: center;  /* Centers the image */
    background-repeat: no-repeat;
    
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.6rem;
    text-align: center;
	display:block;
	text-align:center;
    /* REDUCE THIS: A smaller number (like 1.0 or 0.9) brings lines closer together */
    line-height: 0.9;
	display: flex;             /* Enables Flexbox */
    flex-direction: column;    /* Stacks "Welcome to" and "School Name" vertically */
   
}


/* Cards Section */
.content-section {
    padding: 50px 5%;
    background-color: #FFFFFF; /* Light Gray-Blue */
    text-align: center;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* FULL CARD CLASS */
.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth animation */
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

/* ENLARGED IMAGE CLASS */
.card img {
    width: 100%;
    height: 400px; /* ENLARGED: Increased from 200px/250px to 300px */
    object-fit: cover; /* Prevents stretching */
    display: block;
}

/* CARD CONTENT AREA */
.card-body {
    padding: 20px;
    text-align: left;
}

/* INTERACTIVE HOVER EFFECT (Optional but recommended) */
.card:hover {
    transform: translateY(-5px); /* Lifts the card slightly */
    box-shadow: 0 8px 25px rgba(0,0,0,0.2); /* Deepens the shadow */
}
.more-btn {
    margin-top: 30px;
    padding: 12px 25px;
    background-color: #718096;
    color: white;
    border: none;
    cursor: pointer;
}
/* --- Sport activites section --- */
        .sp-section {
            padding: 80px 8%;
            background-color: #ffffff;
        }
        .sp-container {
            display: flex;
            gap: 40px;
            align-items: flex-start;
            flex-wrap: wrap;
        }

        /* 3-Column Image Grid */
        .sp-gallery {
            flex: 1.2;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-auto-rows: 140px;
            gap: 8px;
            min-width: 350px;
        }
        .gallery-item img { width: 100%; height: 100%; object-fit: cover; }
        .gallery-item.tall { grid-row: span 2; } /* Large vertical image */
        .gallery-item.wide { grid-column: span 2; } /* Horizontal image */

        .sp-content { flex: 1; min-width: 300px; padding-top: 10px; }
        .tagline { color: #800000; font-weight: bold; font-size: 0.85rem; letter-spacing: 1px; margin-bottom: 8px; display: block; }
        .sp-title { font-size: 2.4rem; color: #1a365d; margin-bottom: 20px; line-height: 1.1; }
        .sp-content p { margin-bottom: 15px; color: #555; font-size: 0.95rem; }

        .btn-explore {
            background-color:#718096;;
            color: white;
            border: none;
            padding: 14px 28px;
            font-weight: bold;
            text-transform: uppercase;
            cursor: pointer;
            margin-top: 10px;
            transition: 0.3s;
        }
        .btn-explore:hover { background-color: #5a0000; }
/*--- clubs and socites---*/
/* CLUBS SECTION STYLES */
.clubs-section {
    padding: 80px 8%;
    background-color: #ffffff;
    text-align: center;
}

.section-main-title {
    font-size: 2.2rem;
    color: #1a365d; /* Navy Blue */
    margin-bottom: 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.clubs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; 
    grid-template-rows: 250px 250px;
    gap: 15px;
}

/* The Link Wrapper */
.club-item {
    position: relative;
    display: block; /* Important for links */
    overflow: hidden; /* Clips the image when it zooms */
    border-radius: 8px;
    text-decoration: none; /* Removes underline from links */
}

/* The Zoom Effect */
.club-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* This makes the zoom smooth (0.5 seconds) */
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.club-item:hover img {
    /* 1.1 means 110% zoom. Adjust to 1.2 for more zoom. */
    transform: scale(1.15); 
}

/* The White Label */
.club-label {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #ffffff;
    color: #1a365d;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 2;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Optional: Change label color on hover */
.club-item:hover .club-label {
    background-color: #1a365d;
    color: #ffffff;
}

/* Grid Layout Assignments */
.club-item.media { grid-column: span 2; }
.club-item.tall { grid-row: span 2; }

/* Responsive adjustments */
@media (max-width: 900px) {
    .clubs-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .club-item.media, .club-item.tall {
        grid-column: span 1;
        grid-row: span 1;
        height: 250px;
    }
}
/* Footer */
.main-footer {
    background-color: #800000; /* Maroon */
    color: white;
    padding: 50px 5%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h3 { margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 10px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 0.9rem; opacity: 0.8; }
.status { color: #48bb78; font-size: 0.8rem; }