﻿@charset "UTF-8";

/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    --primary-color: #003366; /* Navy Blue */
    --secondary-color: #ffd700; /* Gold */
    --accent-color: #cc0000; /* Red - Used sparingly */
    --text-color: #333333;
    --light-bg: #f4f4f4;
    --white: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-primary: 'Poppins', sans-serif; /* Modern, clean font */
    --font-heading: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   2. TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px; /* Rounded pill shape */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-text {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    margin-top: 10px;
}

.btn-text:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.section-title-left {
    text-align: left;
    font-size: 2.2rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* Helper Classes */
.lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.w-100 { width: 100%; }
.grid-col-full { grid-column: 1 / -1; }

.rounded-shadow {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ==========================================================================
   3. HEADER & NAVIGATION
   ========================================================================== */
/* Social Links */
.social-link {
    color: inherit;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--secondary-color);
}

/* Top Bar - Modernized */
.top-bar {
    background: linear-gradient(90deg, var(--primary-color) 0%, #004080 100%);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.campus-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.campus-info .info-item {
    display: flex;
    align-items: center;
    position: relative;
}

.campus-info .info-item:not(:last-child)::after {
    /* Separator for left side items only if needed, but gap is cleaner */
    content: '';
}

/* Left Side Contact Info */
.campus-name {
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: 1px;
    font-size: 0.8rem;
    text-transform: uppercase;
    background: rgba(255, 215, 0, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}

.campus-info i {
    margin-right: 8px;
    color: var(--secondary-color);
}

/* Social Icons - Modern Circular Style */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--white);
    font-size: 0.9rem;
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px) rotate(360deg);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.social-link i {
    margin-right: 0; /* Override default margin */
    color: inherit;
}

/* News Ticker */
.news-ticker-bar {
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    height: 40px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.ticker-label {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
    text-transform: uppercase;
}

.ticker-label i {
    margin-right: 8px;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    padding: 0 10px;
    display: flex;
    align-items: center;
    line-height: 40px; /* Vertically align marquee text */
}

.ticker-item {
    margin-right: 50px;
    display: inline-block;
}

.news-date-ticker {
    color: var(--secondary-color);
    font-size: 0.8rem;
    margin-left: 5px;
}

.ticker-date {
    background-color: rgba(0,0,0,0.2);
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.ticker-date i {
    margin-right: 8px;
    color: var(--secondary-color);
}

/* Main Header */
header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    padding: 0; /* Let inner container handle padding */
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    max-width: 1240px;
    margin: 0 auto;
}

.logo {
    margin-bottom: 15px;
    text-align: center;
}

.logo a {
    display: flex;
    align-items: center;
    justify-content: center; /* Center content */
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 70px; /* Slightly larger for centered layout */
    margin-right: 15px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center text */
}

.logo-text h1 {
    font-size: 1.6rem;
    margin-bottom: 5px;
    line-height: 1.1;
    color: var(--primary-color);
    text-align: center;
}

.slogan {
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation */
nav ul {
    display: flex;
    align-items: center;
    justify-content: center; /* Center navigation */
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px; /* Equal spacing */
    position: relative; /* For dropdown positioning */
    list-style: none;
}

nav ul li a {
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    padding: 10px 0;
    display: block;
    white-space: nowrap; /* Prevent wrapping */
    font-size: 0.95rem; /* Slightly smaller for better fit */
}

nav ul li a i {
    margin-left: 4px; /* Space for dropdown arrow */
    font-size: 0.8rem;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    min-width: 220px;
    display: none;
    flex-direction: column;
    padding: 10px 0;
    z-index: 1000;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    border-top: 3px solid var(--secondary-color);
}

.has-dropdown:hover .dropdown {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.dropdown li {
    margin: 0;
    width: 100%;
}

.dropdown li a {
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
    display: block;
    border-bottom: 1px solid #eee;
}

.dropdown li:last-child a {
    border-bottom: none;
}

.dropdown li a::after {
    display: none; /* Remove underline effect for dropdown items */
}

.dropdown li a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding-left: 25px; /* Slight slide effect */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Logo Icon Fallback */
.logo-icon {
    font-size: 2rem;
    margin-right: 10px;
    color: var(--secondary-color);
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero-slider {
    height: 80vh; /* Full viewport height minus header roughly */
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.6); /* Blue overlay */
}

.slide-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
    padding: 20px;
}

.slide-content h2 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Page Hero (Inner Pages) */
.page-hero {
    height: 40vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.7);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    font-size: 0.9rem;
    color: #ddd;
}

.breadcrumb li {
    margin: 0 5px;
}

.breadcrumb li::after {
    content: '/';
    margin-left: 10px;
    color: #aaa;
}

.breadcrumb li:last-child::after {
    display: none;
}

.breadcrumb a {
    color: var(--white);
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}


/* ==========================================================================
   5. FEATURED / CARDS SECTIONS
   ========================================================================== */
.features-grid, .programs-grid, .news-grid, .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.news-grid, .programs-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
    .news-grid, .programs-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.feature-card, .program-card, .news-card, .testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-card:hover, .program-card:hover, .news-card:hover, .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.feature-card {
    padding: 40px 30px;
    text-align: center;
    border-top: none; 
    border-bottom: 3px solid transparent;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom-color: var(--secondary-color);
}

.feature-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: rgba(0, 51, 102, 0.05);
    color: var(--primary-color);
    font-size: 2rem;
    border-radius: 50%;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.feature-card:hover i {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotateY(360deg);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

.program-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.program-content {
    padding: 25px;
}

.news-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content-preview {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary-color);
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.news-date::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin-right: 8px;
}

.news-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.news-card:hover h3 {
    color: var(--secondary-color);
}

.news-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-card {
    padding: 30px;
    text-align: center;
    border-bottom: 4px solid var(--secondary-color);
}

.quote-icon {
    font-size: 2rem;
    color: #ddd;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: #777;
}

/* ==========================================================================
   6. ABOUT PAGE SPECIFICS
   ========================================================================== */
/* Vision & Mission - Redesigned Modern Cards */
.vm-clean-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.vm-item {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border-left: none; /* Remove old border */
    position: relative;
    overflow: hidden;
    height: 100%;
    border-top: 4px solid var(--secondary-color); /* Top accent instead */
}

.vm-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.vm-item h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--primary-color);
}

.vm-item h3 i {
    width: 60px;
    height: 60px;
    background: rgba(255, 215, 0, 0.1); /* Light gold background */
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.4s ease;
}

.vm-item:hover h3 i {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: rotateY(360deg);
}

.vm-item p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.8;
}

/* Core Values - Modern Card Design */
.values-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.values-intro p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-bottom-color: var(--secondary-color);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 51, 102, 0.05); /* Light primary color bg */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.value-item i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.value-item:hover .value-icon {
    background: var(--primary-color);
    transform: rotateY(180deg);
}

.value-item:hover i {
    color: var(--secondary-color);
}

.value-item h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.value-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Leadership - Modern Split Design */
.leadership-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-top: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.leadership-image {
    position: relative;
    border-radius: var(--border-radius);
    height: auto;
    /* Decorative offset border effect */
}

.leadership-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--secondary-color);
    border-radius: var(--border-radius);
    z-index: 0;
    transition: transform 0.3s ease;
}

.leadership-image:hover::before {
    transform: translate(10px, 10px);
}

.leadership-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
}

.leadership-content {
    padding: 10px;
}

.leadership-content h3 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    line-height: 1.2;
}

.leadership-content blockquote {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.5;
    padding: 25px 30px;
    border-left: 5px solid var(--secondary-color);
    background: rgba(255, 215, 0, 0.1); /* Light gold bg */
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-style: italic;
    position: relative;
}

.leadership-content blockquote::before {
    content: '\201C'; /* Large quote mark */
    font-family: serif;
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: 10px;
}

.leadership-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
}

/* Timeline - Modern Design */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #e0e0e0;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 50px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 40px;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: var(--secondary-color);
    border: 4px solid var(--white);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.2);
}

.timeline-item.left::after {
    right: -16px;
}

.timeline-item.right::after {
    left: -16px;
}

.timeline-item .content {
    padding: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    position: relative;
}

.timeline-item:hover .content {
    transform: translateY(-5px);
}

/* Facilities - Modern Gallery Grid */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.facility-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.facility-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.facility-card:hover img {
    transform: scale(1.05);
}

.facility-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-bottom: 4px solid transparent;
    transition: border-color 0.3s ease;
}

.facility-card:hover .facility-content {
    border-bottom-color: var(--secondary-color);
}

.facility-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.facility-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 1rem;
}

/* Responsive adjustments for Timeline and Facilities */
@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item.left, .timeline-item.right {
        left: 0;
        text-align: left;
    }
    
    .timeline-item.left::after, .timeline-item.right::after {
        left: 15px;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   8. ADMISSIONS PAGE SPECIFICS
   ========================================================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    counter-reset: step-counter; /* Initialize counter */
}

.process-step {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border-bottom: 3px solid transparent;
    height: 100%;
    z-index: 1;
    counter-increment: step-counter;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-bottom-color: var(--secondary-color);
}

.step-number {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 6rem;
    font-weight: 800;
    color: rgba(0, 51, 102, 0.05); /* Very faint primary color */
    line-height: 1;
    z-index: -1;
    transition: all 0.4s ease;
}

.step-number::before {
    content: counter(step-counter, decimal-leading-zero);
}

.process-step:hover .step-number {
    color: rgba(255, 215, 0, 0.15); /* Faint gold on hover */
    transform: scale(1.1);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.3);
    transition: all 0.4s ease;
}

.process-step:hover .step-icon {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: rotateY(360deg);
}

.process-step h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.process-step p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Documents Grid */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.doc-card {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.doc-icon {
    font-size: 2.5rem;
    color: #e74c3c; /* PDF Red */
    margin-right: 20px;
}

.doc-info {
    flex: 1;
}

.doc-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.doc-info span {
    font-size: 0.85rem;
    color: #888;
}

.doc-download {
    width: 40px;
    height: 40px;
    background: #f4f4f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.doc-card:hover .doc-download {
    background: var(--primary-color);
    color: var(--white);
}

/* Fee Cards */
.fee-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.fee-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    color: var(--text-color);
}

.fee-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--secondary-color);
    position: relative;
    z-index: 1;
}

.fee-card:hover {
    transform: translateY(-10px);
}

.fee-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.fee-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.fee-card .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.fee-card ul {
    margin-bottom: 30px;
    text-align: left;
    padding-left: 20px;
}

.fee-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    list-style: none;
}

.fee-card ul li::before {
    content: '\f00c'; /* FontAwesome check */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f9f9f9;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--primary-color);
}

.faq-question i {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(45deg); /* Turn plus to x */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #f9f9f9;
}

.faq-answer p {
    padding: 20px 25px;
    margin: 0;
    color: #555;
    font-size: 0.95rem;
    border-top: 1px solid #eee;
}

/* ==========================================================================
   9. ACADEMICS PAGE SPECIFICS
   ========================================================================== */

/* Overview Section */
.curriculum-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.badge-item {
    background: rgba(0, 51, 102, 0.1);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-item i {
    color: var(--secondary-color);
}

/* Academic Stages */
.stages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stage-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border-bottom: 3px solid transparent;
    height: 100%;
}

.stage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-bottom-color: var(--secondary-color);
}

.stage-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.stage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.stage-card:hover .stage-image img {
    transform: scale(1.1);
}

.stage-icon {
    position: absolute;
    bottom: -25px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 2;
}

.stage-content {
    padding: 35px 30px 30px;
}

.stage-content h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.age-range {
    display: inline-block;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stage-features {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.stage-features li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #555;
    display: flex;
    align-items: center;
}

.stage-features li::before {
    content: '\f058'; /* fa-check-circle */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1rem;
}

/* Departments / Subjects - Modernized */
.subjects-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.subject-level-block {
    background: var(--white);
    padding: 0; /* Remove padding to allow header to stretch */
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden; /* For header clipping */
    transition: transform 0.3s ease;
}

.subject-level-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.level-title {
    font-size: 1.5rem;
    margin: 0;
    padding: 25px 40px;
    background: var(--primary-color);
    color: var(--white);
    border-bottom: 4px solid var(--secondary-color);
}

.subjects-grid-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0; /* Split view */
}

@media (max-width: 768px) {
    .subjects-grid-layout {
        grid-template-columns: 1fr;
    }
}

.examinable-subjects {
    padding: 40px;
}

.non-examinable-subjects {
    padding: 40px;
    background-color: #f8f9fa; /* Light grey background for contrast */
    border-left: 1px solid #eee;
}

.examinable-subjects h4, .non-examinable-subjects h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.examinable-subjects h4 i, .non-examinable-subjects h4 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

/* Modern List Styling */
ol.subject-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Two columns if space permits */
    gap: 15px;
}

ol.subject-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 0;
    color: #444;
    font-weight: 500;
    display: flex;
    align-items: center;
}

ol.subject-list li::before {
    content: counter(item); /* Needs counter-reset on parent if used, but we'll use custom icons */
    counter-increment: item;
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: rgba(0, 51, 102, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

ol.subject-list {
    counter-reset: item;
}

/* Tag/Pill Style for Non-Examinable */
ul.subject-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

ul.subject-list li {
    background: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #555;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

ul.subject-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

ul.subject-list li::before {
    content: '\f111'; /* fa-circle */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 6px;
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Enrichment Section */
.facility-list {
    margin-top: 25px;
}

.facility-list li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

.facility-list li i {
    color: var(--secondary-color);
    margin-right: 12px;
    background: rgba(255, 255, 255, 0.1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* Utilities used in Academics */
.bg-blue {
    background-color: var(--primary-color);
    color: var(--white);
}

.col-text-white {
    flex: 1;
    color: var(--white);
}

.col-text-white h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* ==========================================================================
   11. STUDENT LIFE PAGE SPECIFICS
   ========================================================================== */

/* Clubs & Societies */
.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.club-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border-bottom: 3px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.club-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-bottom-color: var(--secondary-color);
}

.club-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 51, 102, 0.05);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    transition: all 0.4s ease;
}

.club-card:hover .club-icon {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: rotateY(360deg);
}

.club-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.club-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Sports Gallery */
.sports-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.sports-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sports-gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Student Leadership */
.leadership-section .subject-level-block {
    border-left-color: var(--secondary-color); /* Gold border for leadership */
}

.leadership-section .level-title {
    color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
}

/* Timeline Enhancements */
.timeline-date {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.event-description {
    color: #666;
    font-size: 0.95rem;
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: #ddd;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.footer-contact .contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.footer-contact i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    background: rgba(255, 215, 0, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.footer-contact strong {
    color: var(--white);
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.footer-socials a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: inherit;
}

.newsletter-form button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #e6c200;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    background-color: #128c7e;
    color: #fff;
}

/* ==========================================================================
   8. EXTRA SECTIONS (Welcome, CTA, etc)
   ========================================================================== */
.row-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.col-text, .col-image {
    flex: 1;
}

.col-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.cta-section {
    background-color: var(--primary-color);
    /* Use a gradient if image not available, or keep it simple */
    background: linear-gradient(rgba(0,51,102,0.9), rgba(0,51,102,0.9)); 
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-white:hover {
    background-color: transparent;
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* ==========================================================================
   12. CONTACT PAGE SPECIFICS
   ========================================================================== */

/* Overlap Section */
.contact-info-section {
    position: relative;
    z-index: 20;
    margin-top: -80px; /* Pull up over hero */
    padding-top: 0;
}

/* Info Cards Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.4s ease;
    border-bottom: 3px solid transparent;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-bottom-color: var(--secondary-color);
}

.contact-card .icon-box {
    width: 70px;
    height: 70px;
    background: rgba(0, 51, 102, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

.contact-card .icon-box i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.contact-card:hover .icon-box {
    background: var(--primary-color);
    transform: rotateY(360deg);
}

.contact-card:hover .icon-box i {
    color: var(--white);
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Main Contact Section */
.contact-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: stretch;
}

@media (max-width: 992px) {
    .contact-row {
        grid-template-columns: 1fr;
    }
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
}

.modern-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 576px) {
    .modern-form .form-row {
        grid-template-columns: 1fr;
    }
}

.modern-form .form-group {
    margin-bottom: 20px;
}

.modern-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9rem;
}

.modern-form input,
.modern-form select,
.modern-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.contact-map-wrapper {
    height: 100%;
    min-height: 450px;
}

.map-frame {
    height: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 5px solid var(--white);
}

/* ==========================================================================
   13. GALLERY & VIDEO PAGES
   ========================================================================== */

/* Gallery Filters */
.gallery-filter {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background: transparent;
    border: 2px solid #e0e0e0;
    padding: 8px 25px;
    border-radius: 50px;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.2);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: var(--white);
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
    padding: 20px;
}

.gallery-item:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.overlay-content p {
    font-size: 0.9rem;
    color: #ddd;
    margin-bottom: 15px;
}

.overlay-content i {
    font-size: 1.5rem;
    background: var(--white);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.gallery-item:hover .overlay-content i:hover {
    transform: rotate(90deg) scale(1.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 5px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 20px 0;
    font-size: 1.1rem;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10001;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--secondary-color);
    text-decoration: none;
    cursor: pointer;
}

/* Video Gallery Styles */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.video-item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.video-container {
    position: relative;
    width: 100%;
    background: #000;
}

/* 16:9 Aspect Ratio */
.video-container.ratio-16-9 {
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 25px;
}

.video-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    line-height: 1.4;
}

.video-info p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.video-date {
    display: block;
    font-size: 0.85rem;
    color: #999;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.video-date i {
    margin-right: 5px;
    color: var(--secondary-color);
}

/* TikTok Specific */
.video-item.tiktok-video {
    max-width: 400px;
    margin: 0 auto;
}

.video-container.tiktok-container {
    min-height: 600px;
    display: flex;
    justify-content: center;
    background: #fff;
    padding: 10px;
}

/* ==========================================================================
   9. RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: row; /* Row for mobile */
        justify-content: space-between;
        padding: 15px 20px;
    }

    .logo {
        margin-bottom: 0;
        text-align: left;
    }

    .logo a {
        justify-content: flex-start;
    }
    
    .logo-text {
        align-items: flex-start;
    }
    
    .logo-text h1 {
        font-size: 1.1rem; /* Smaller for mobile */
        text-align: left;
    }
    
    .slogan {
        font-size: 0.65rem;
    }

    .top-bar { display: none; }
    
    .mobile-menu-toggle { display: block; }
    
    nav ul {
        display: none; /* Hide for now, JS toggle needed */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px 0;
        align-items: stretch; /* Stretch items to full width */
    }
    
    nav ul.active, nav.active ul { display: flex; }
    
    nav ul li {
        margin: 0;
        text-align: left; /* Reset text align */
    }
    
    nav ul li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }

    nav ul li:last-child a {
        border-bottom: none;
    }
    
    .dropdown {
        position: static;
        box-shadow: none;
        border-top: none;
        background-color: #f8f9fa;
        min-width: 100%;
        animation: none;
        display: none;
    }

    .has-dropdown:hover .dropdown {
        display: block;
    }

    .dropdown li a {
        padding-left: 40px;
        font-size: 0.85rem;
    }
    
    .slide-content h2 { font-size: 2.5rem; }
    
    .timeline::after { left: 31px; }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item.right { left: 0; }
    
    .timeline-item.left::after, .timeline-item.right::after {
        left: 21px;
    }
    
    /* Layout Adjustments */
    .row-flex {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-padding {
        padding: 50px 0;
    }
}

/* Search Widget */
.widget-search .search-form {
    position: relative;
}

.widget-search .input-group {
    display: flex;
    width: 100%;
}

.widget-search .form-control {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 5px 0 0 5px;
    outline: none;
    transition: border-color 0.3s ease;
}

.widget-search .form-control:focus {
    border-color: var(--primary-color);
}

.widget-search .btn {
    padding: 0 15px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.widget-search .btn:hover {
    background: var(--secondary-color);
}



/* News Detail Page Styles */
.news-single {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.news-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.news-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.3;
}

.news-meta {
    font-size: 0.95rem;
    color: #777;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.news-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.news-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.news-content p {
    margin-bottom: 20px;
}

.news-footer {
    padding-top: 10px;
}

.share-buttons .social-icon {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #f1f1f1;
    color: var(--secondary-color);
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.share-buttons .social-icon:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Sidebar Styles */
.sidebar {
    padding-left: 20px;
}

.widget {
    margin-bottom: 40px;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
}

/* Categories Widget */
.widget-categories ul li {
    margin-bottom: 10px;
}

.widget-categories ul li a {
    display: block;
    padding: 10px 15px;
    background: #f8f9fa;
    color: #555;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.widget-categories ul li a:hover {
    background: var(--primary-color);
    color: #fff;
    padding-left: 20px;
}

.widget-categories ul li a i {
    font-size: 0.8rem;
    margin-top: 4px;
}

/* Events Widget */
.event-item {
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    display: flex;
}

.event-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.event-date-box {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-right: 15px;
}

.event-date-box .day {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.event-date-box .month {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 500;
}

.event-info h5 {
    font-size: 1rem;
    margin-bottom: 5px;
    line-height: 1.4;
    margin-top: 0;
}

.event-info h5 a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-info h5 a:hover {
    color: var(--primary-color);
}

.event-info .time {
    font-size: 0.85rem;
    color: #888;
}

@media (max-width: 991px) {
    .sidebar {
        padding-left: 0;
        margin-top: 50px;
    }
}
