/* Color Palette */
:root {
    --navy: #0B2C5D;
    --sky-blue: #00B6E6;
    --gold: #F4A024;
    --white: #FFFFFF;
    --light-gray: #f8f9fa;
    --dark-gray: #333;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--navy);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    box-shadow: 0 4px 12px rgba(11, 44, 93, 0.3);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.2));
}

.logo-text {
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.2;
    display: block;
}

.logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.2));
}

.logo span {
    font-size: 1.3rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.5px;
    display: none;
}

@media (max-width: 768px) {
    .logo span {
        display: inline;
    }
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.4rem;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    background-color: var(--white);
}

/* Sections */
section {
    padding: 3rem 0;
}

section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--navy);
    font-weight: 700;
}

section h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--sky-blue);
    font-weight: 600;
}

section h4 {
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--navy);
    font-weight: 600;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 44, 93, 0.4);
    z-index: 3;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: center;
    color: var(--white);
    z-index: 4;
}

.carousel-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4);
    font-weight: 800;
}

.carousel-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    font-weight: 600;
    color: var(--gold);
}

.cta-button {
    display: inline-block;
    background-color: var(--gold);
    color: var(--navy);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(244, 160, 36, 0.3);
    border: 2px solid var(--gold);
}

.cta-button:hover {
    background-color: var(--navy);
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(244, 160, 36, 0.5);
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 5;
}

.carousel-btn {
    background-color: rgba(244, 160, 36, 0.9);
    color: var(--navy);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.carousel-btn:hover {
    background-color: var(--gold);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(244, 160, 36, 0.4);
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 5;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--gold);
    border-color: var(--gold);
    width: 18px;
    height: 18px;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--navy) 100%);
    color: var(--white);
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="dots" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="1200" height="600" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.3rem;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

/* Welcome Section */
.welcome {
    background-color: var(--light-gray);
    text-align: center;
    border-top: 4px solid var(--gold);
}

.welcome p {
    font-size: 1.1rem;
    color: var(--dark-gray);
}

/* About Section */
.about-section {
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 8px;
    border-left: 4px solid var(--sky-blue);
    transition: all 0.3s ease;
}

.about-section:hover {
    box-shadow: 0 6px 20px rgba(0, 182, 230, 0.15);
    transform: translateY(-2px);
}

/* Admissions Section */
.admissions-section {
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 8px;
    border-left: 4px solid var(--gold);
    transition: all 0.3s ease;
}

.admissions-section:hover {
    box-shadow: 0 6px 20px rgba(244, 160, 36, 0.15);
    transform: translateY(-2px);
}

.admissions-section ol {
    margin-left: 2rem;
    margin-top: 1rem;
}

.admissions-section li {
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

/* News & Events */
.news-list {
    margin-top: 2rem;
}

.news-item {
    background-color: var(--light-gray);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--sky-blue);
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 6px 20px rgba(0, 182, 230, 0.15);
    transform: translateY(-2px);
}

.news-item small {
    color: var(--sky-blue);
    font-weight: 600;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(11, 44, 93, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--gold);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 182, 230, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-info {
    padding: 1.5rem;
    background-color: var(--light-gray);
}

.gallery-info h3 {
    color: var(--navy);
    margin-top: 0;
}

/* Contact Section */
.contact-info {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--sky-blue);
}

.contact-info strong {
    color: var(--navy);
}

.contact-form {
    background-color: var(--light-gray);
    padding: 2.5rem;
    border-radius: 8px;
    max-width: 600px;
    border: 2px solid var(--sky-blue);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--sky-blue);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 8px rgba(244, 160, 36, 0.4);
}

.contact-form button {
    background-color: var(--gold);
    color: var(--navy);
    padding: 0.85rem 2.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form button:hover {
    background-color: var(--navy);
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 160, 36, 0.3);
}

/* Alerts */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    border-left: 4px solid;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: var(--sky-blue);
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: var(--gold);
}

/* Footer */
footer {
    background-color: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 3rem;
    border-top: 4px solid var(--gold);
}

footer p {
    margin: 0;
    font-weight: 500;
}

/* Page Header */
.page-header {
    position: relative;
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--navy) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 4px solid var(--gold);
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 1;
    mask-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,1));
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,1));
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.header-subtitle {
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 1px;
}

/* About Intro Section */
.about-intro {
    padding: 4rem 0;
    background-color: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.lead-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

/* Vision & Mission Section */
.vision-mission {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--light-gray), var(--white));
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(11, 44, 93, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 182, 230, 0.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.vision-icon {
    background-color: rgba(0, 182, 230, 0.1);
    color: var(--sky-blue);
}

.mission-icon {
    background-color: rgba(244, 160, 36, 0.1);
    color: var(--gold);
}

.card h3 {
    color: var(--navy);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.card p {
    color: var(--dark-gray);
    line-height: 1.8;
    font-size: 1rem;
}

/* School History Section */
.school-history {
    padding: 4rem 0;
    background-color: var(--white);
}

.school-history h2 {
    color: var(--navy);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.history-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--dark-gray);
    font-size: 1.05rem;
}

.history-highlights {
    list-style: none;
    margin-top: 2rem;
}

.history-highlights li {
    padding: 0.8rem 0;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
}

.history-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(11, 44, 93, 0.15);
    border: 4px solid var(--gold);
}

.image-placeholder svg {
    width: 100%;
    height: 100%;
}

/* YouTube Video Section */
.history-video {
    position: relative;
}

.video-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(11, 44, 93, 0.15);
    border: 4px solid var(--gold);
}

.video-container iframe {
    display: block;
    border-radius: 8px;
}

.video-caption {
    text-align: center;
    margin-top: 1rem;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Core Values Section */
.core-values {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--white), var(--light-gray));
}

.core-values h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--navy);
    font-size: 2.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(11, 44, 93, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--sky-blue);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 182, 230, 0.15);
    border-top-color: var(--gold);
}

.value-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.value-card h3 {
    color: var(--navy);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.value-card p {
    color: var(--dark-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Accordion Section */
.accordion-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.accordion-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--navy);
}

.accordion-container {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--white);
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(11, 44, 93, 0.08);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 6px 20px rgba(0, 182, 230, 0.12);
}

.accordion-item.active {
    box-shadow: 0 8px 25px rgba(0, 182, 230, 0.15);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background-color: var(--white);
    border: 2px solid var(--light-gray);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    text-align: left;
}

.accordion-item.active .accordion-header {
    background-color: rgba(0, 182, 230, 0.05);
    border-color: var(--sky-blue);
    color: var(--sky-blue);
}

.accordion-header:hover {
    background-color: rgba(0, 182, 230, 0.02);
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.accordion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-icon {
    background-color: var(--sky-blue);
    color: var(--white);
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 1.5rem;
    position: relative;
}

.accordion-item.active .accordion-content {
    padding: 1.5rem;
}

/* Accordion Background Image */
.accordion-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 1;
    border-radius: 8px;
    mask-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,1));
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,1));
}

/* Info Tables */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    position: relative;
    z-index: 2;
}

.info-table tbody tr {
    border-bottom: 1px solid var(--light-gray);
    transition: background-color 0.2s ease;
}

.info-table tbody tr:last-child {
    border-bottom: none;
}

.info-table tbody tr:hover {
    background-color: rgba(0, 182, 230, 0.03);
}

.table-label {
    padding: 1rem 0;
    color: var(--navy);
    font-weight: 700;
    width: 35%;
    vertical-align: top;
}

.table-value {
    padding: 1rem 0;
    padding-left: 1.5rem;
    color: var(--dark-gray);
    line-height: 1.5;
}

/* Staff Carousel */
.staff-carousel-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
}

.staff-carousel-title {
    text-align: center;
    color: var(--navy);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.staff-carousel {
    position: relative;
    padding: 0 3rem;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.carousel-btn {
    pointer-events: all;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--sky-blue);
    color: var(--white);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: var(--navy);
    transform: scale(1.1);
}

.staff-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    overflow: hidden;
}

.staff-card {
    flex: 0 0 calc(33.333% - 13.33px);
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(11, 44, 93, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(11, 44, 93, 0.15);
}

.staff-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--light-gray);
}

.staff-card h4 {
    color: var(--navy);
    margin: 1.5rem 1rem 0.5rem 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.staff-title {
    color: var(--sky-blue);
    margin: 0 1rem 1.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Accordion CTA Buttons */
.accordion-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-icon {
    font-size: 1.3rem;
}

.cta-brochure {
    background-color: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.cta-brochure:hover {
    background-color: var(--sky-blue);
    border-color: var(--sky-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 182, 230, 0.3);
}

.cta-inquire {
    background-color: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.cta-inquire:hover {
    background-color: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(11, 44, 93, 0.3);
}

/* Floating Buttons */
.whatsapp-btn {
    position: fixed;
    left: 2rem;
    bottom: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp-btn:hover {
    background-color: #1fa857;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
}

.back-to-top-btn {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--sky-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 182, 230, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background-color: var(--navy);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(11, 44, 93, 0.4);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(11, 44, 93, 0.95);
    color: var(--white);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 998;
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cookie-accept {
    background-color: var(--gold);
    color: var(--navy);
}

.cookie-accept:hover {
    background-color: #e6941f;
    transform: translateY(-2px);
}

.cookie-decline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cookie-decline:hover {
    background-color: var(--white);
    color: var(--navy);
}

/* Responsive Design */
@media (max-width: 768px) {
    .accordion-section {
        padding: 2rem 0;
    }

    .accordion-header {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
    }

    .accordion-content {
        padding: 0 1.2rem !important;
    }

    .accordion-item.active .accordion-content {
        padding: 1rem 1.2rem !important;
    }

    .table-label {
        width: 40%;
        font-size: 0.9rem;
        padding: 0.75rem 0;
    }

    .table-value {
        font-size: 0.85rem;
        padding: 0.75rem 0;
        padding-left: 1rem;
    }

    .accordion-icon {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header {
        padding: 2rem 0;
    }

    .about-intro {
        padding: 2rem 0;
    }

    .vision-mission {
        padding: 2rem 0;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card {
        padding: 1.5rem;
    }

    .school-history {
        padding: 2rem 0;
    }

    .history-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .school-history h2 {
        font-size: 1.8rem;
    }

    .core-values {
        padding: 2rem 0;
    }

    .core-values h2 {
        font-size: 1.8rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-number {
        font-size: 2.5rem;
    }

    .hero-carousel {
        height: 400px;
    }

    .carousel-content h2 {
        font-size: 2rem;
    }

    .carousel-content p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .accordion-cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    .carousel-controls {
        bottom: 70px;
        gap: 0.5rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-dots {
        bottom: 10px;
        gap: 0.5rem;
    }

    .dot {
        width: 12px;
        height: 12px;
    }

    .dot.active {
        width: 14px;
        height: 14px;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 1rem;
        background-color: var(--navy);
        padding: 1.5rem 1rem;
        display: flex !important;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    .nav-links.active {
        max-height: 500px;
        opacity: 1;
    }

    .hamburger {
        display: flex;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .contact-form {
        max-width: 100%;
    }

    .staff-carousel {
        padding: 0 1rem;
    }

    .staff-card {
        flex: 0 0 calc(50% - 10px);
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .whatsapp-btn,
    .back-to-top-btn {
        width: 50px;
        height: 50px;
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }

    .cookie-consent {
        padding: 1rem;
    }

    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cookie-content p {
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-events-container {
        grid-template-columns: 1fr;
    }

    .events-sidebar {
        position: static;
    }

    .events-list {
        max-height: 400px;
    }
}

/* News & Events Styling */
.news-events-section {
    padding: 3rem 0;
    background-color: var(--light-gray);
}

.news-events-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.news-main h2 {
    margin-bottom: 2rem;
    color: var(--navy);
    font-size: 2rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.news-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(11, 44, 93, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(11, 44, 93, 0.15);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--gold);
    color: var(--navy);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.news-author {
    color: var(--sky-blue);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.news-excerpt {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--sky-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.read-more:hover {
    color: var(--gold);
    transform: translateX(4px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 2rem 0;
    flex-wrap: wrap;
}

.pagination-link {
    padding: 0.6rem 1rem;
    background-color: var(--navy);
    color: var(--white);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.pagination-link:hover {
    background-color: var(--sky-blue);
    transform: translateY(-2px);
}

.pagination-info {
    color: var(--navy);
    font-weight: 600;
}

/* Events Sidebar */
.events-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.events-panel {
    background: linear-gradient(135deg, var(--navy) 0%, var(--sky-blue) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(11, 44, 93, 0.2);
}

.events-title {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem;
}

.events-list::-webkit-scrollbar {
    width: 6px;
}

.events-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.events-list::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

.event-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.event-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--gold);
    color: var(--navy);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    min-width: 60px;
    font-weight: 700;
}

.event-month {
    font-size: 0.75rem;
    font-weight: 600;
}

.event-day {
    font-size: 1.3rem;
}

.event-details h4 {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.3;
}

.event-time {
    margin: 0.25rem 0 0 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.no-content,
.no-events {
    text-align: center;
    padding: 2rem;
    color: var(--dark-gray);
}

.no-events {
    color: var(--white);
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .news-events-container {
        grid-template-columns: 1fr;
        grid-auto-flow: dense;
    }

    .events-sidebar {
        position: static;
        order: -1;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-list {
        max-height: 500px;
        overflow-y: auto;
    }
}

@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card {
        display: flex;
        flex-direction: column;
    }

    .news-image {
        height: 150px;
    }
}
