/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e88e5;
    --secondary-color: #1565c0;
    --accent-color: #ff6f00;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --dark: #212121;
    --gray: #757575;
    --success: #4caf50;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
    color: var(--accent-color);
}

.top-links {
    display: flex;
    gap: 15px;
}

.top-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.top-links a:hover {
    color: var(--accent-color);
}

/* Header */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 80px;
    width: auto;
}

.logo h1 {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 12px 15px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 15px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
    background: var(--light-bg);
}

.main-nav .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 200px;
    display: none;
    list-style: none;
    padding: 10px 0;
}

.main-nav > ul > li:hover .dropdown {
    display: block;
}

.dropdown li {
    width: 100%;
}

.dropdown a {
    padding: 10px 20px;
    border-bottom: 1px solid var(--light-bg);
}

.dropdown a:hover {
    background: var(--light-bg);
    padding-left: 25px;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* Slider Section */
.slider-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    padding: 0 !important;
    margin-top: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.2) 0%, rgba(21, 101, 192, 0.2) 100%);
    z-index: 1;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    position: relative;
}

.slide-content h2 {
    font-size: 52px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
    font-weight: 700;
}

.slide-content p {
    font-size: 26px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeInUp 1.2s ease;
    margin-bottom: 30px;
}

.btn-slider {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
    animation: fadeInUp 1.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.btn-slider:hover {
    background: #e65100;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.slider-nav button {
    background: rgba(255,255,255,0.3);
    border: none;
    color: var(--white);
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.slider-nav button:hover {
    background: rgba(255,255,255,0.5);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* Notice Board Section */
.notice-board-section {
    background: var(--dark);
    padding: 0;
    margin-top: -1px;
}

.notice-board {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.notice-label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.2);
    padding: 12px 25px;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
    border-right: 2px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.notice-label i {
    font-size: 20px;
    color: var(--accent-color);
}

.notice-scroll-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    margin-left: 20px;
}

.notice-scroll {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    white-space: nowrap;
    animation: scroll-notice 30s linear infinite;
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
}

.notice-scroll:hover {
    animation-play-state: paused;
}

.notice-item {
    display: inline-block;
    padding: 5px 0;
}

.notice-separator {
    color: rgba(255,255,255,0.6);
    font-size: 18px;
    font-weight: bold;
}

@keyframes scroll-notice {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Duplicate content for seamless loop */
.notice-scroll::after {
    content: attr(data-duplicate);
}

/* Section Styles */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

/* News Section */
.news-section {
    background: var(--light-bg);
    padding: 50px 0;
}

.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.news-item {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: transform 0.3s;
    border-left: 4px solid var(--primary-color);
}

.news-item.highlight {
    border-left-color: var(--success);
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.news-item i {
    font-size: 28px;
    color: var(--primary-color);
    margin-top: 5px;
    flex-shrink: 0;
}

.news-item.highlight i {
    color: var(--success);
}

.news-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 20px;
}

.news-content p {
    margin: 0;
    line-height: 1.6;
    color: var(--gray);
}

/* Welcome Section */
.welcome-section {
    background: var(--white);
}

.welcome-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.welcome-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--gray);
}

/* About Cards Section */
.about-cards-section {
    background: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 24px;
}

.about-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* Motto Section */
.motto-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
}

.motto-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.motto-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--white);
}

.motto-quote {
    font-size: 24px;
    font-style: italic;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.95);
    font-weight: 600;
}

.motto-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.9);
}

/* Principal's Message Section */
.principals-message-section {
    background: var(--white);
    padding: 80px 0;
}

.principals-message-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.principal-photo {
    flex-shrink: 0;
    width: 300px;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.principal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.principal-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 120px;
    opacity: 0.7;
}

.principals-quote {
    flex: 1;
    background: var(--light-bg);
    padding: 50px 40px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.principals-quote i.fa-quote-left {
    font-size: 48px;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 30px;
}

.principals-quote p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-align: justify;
}

.principals-signature {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--primary-color);
    text-align: right;
}

.signature-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.signature-title {
    font-size: 16px;
    color: var(--gray);
    font-style: italic;
}

/* Examination Pattern Section */
.examination-section {
    background: var(--light-bg);
}

.examination-content {
    max-width: 1200px;
    margin: 0 auto;
}

.examination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.examination-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s;
    border-top: 4px solid var(--primary-color);
}

.examination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.exam-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
}

.examination-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.examination-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* Our Teachers Section */
.teachers-section {
    background: var(--white);
}

.teachers-content {
    max-width: 1200px;
    margin: 0 auto;
}

.teachers-intro {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align: center;
}

.teachers-intro p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--gray);
    max-width: 900px;
    margin: 0 auto;
}

.teachers-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.teacher-feature {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
}

.teacher-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: var(--white);
}

.teacher-feature i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.teacher-feature h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.teacher-feature p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 15px;
}

/* Facilities Section */
.facilities-section {
    background: var(--white);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.facility-card {
    text-align: center;
    padding: 0;
    background: var(--light-bg);
    border-radius: 10px;
    transition: all 0.3s;
    overflow: hidden;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    background: var(--white);
}

.facility-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.facility-card:hover .facility-image img {
    transform: scale(1.1);
}

.facility-image .facility-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
    position: absolute;
}

.facility-card h3,
.facility-card p {
    padding: 0 20px;
}

.facility-card h3 {
    margin-top: 20px;
    margin-bottom: 15px;
}

.facility-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.facility-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* Events Section */
.events-section {
    background: var(--light-bg);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: flex;
    gap: 20px;
    transition: all 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.event-date {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
    height: fit-content;
}

.event-date .day {
    display: block;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    margin-top: 5px;
}

.event-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 20px;
}

.event-content p {
    color: var(--gray);
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 136, 229, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 32px;
}

.gallery-view-all {
    text-align: center;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Gallery Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 24px;
    padding: 20px 25px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 10001;
    backdrop-filter: blur(5px);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    z-index: 10001;
}

/* Contact Section */
.contact-section {
    background: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
}

.contact-info-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.contact-info-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 5px;
}

/* Google Map Section */
.map-section {
    background: var(--white);
    padding: 60px 0;
}

.map-wrapper {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

/* Footer */
.main-footer {
    background: var(--dark);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p {
    line-height: 1.8;
    color: #b0b0b0;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #b0b0b0;
}

.contact-list i {
    color: var(--accent-color);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #424242;
    color: #b0b0b0;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .contact-info span {
        margin-right: 0;
    }

    .top-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-nav.active {
        max-height: 500px;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 20px 0;
    }

    .main-nav > ul > li {
        width: 100%;
    }

    .main-nav a {
        padding: 15px 20px;
        border-bottom: 1px solid var(--light-bg);
    }

    .main-nav .dropdown {
        position: static;
        display: none;
        box-shadow: none;
        background: var(--light-bg);
        padding: 0;
    }

    .main-nav > ul > li:hover .dropdown,
    .main-nav > ul > li:active .dropdown {
        display: block;
    }

    .dropdown a {
        padding-left: 40px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .slider-section {
        height: 450px;
    }

    .slide-content h2 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .news-container,
    .facilities-grid,
    .about-grid,
    .events-grid,
    .contact-grid,
    .examination-grid,
    .teachers-features {
        grid-template-columns: 1fr;
    }

    .principals-message-content {
        flex-direction: column;
        gap: 30px;
    }

    .principal-photo {
        width: 100%;
        max-width: 300px;
        height: 350px;
        margin: 0 auto;
    }

    .principal-photo-placeholder {
        font-size: 80px;
    }

    .principals-quote {
        padding: 30px 20px;
    }

    .principals-quote i.fa-quote-left {
        font-size: 36px;
        top: 15px;
        left: 20px;
    }

    .principals-quote p {
        font-size: 15px;
    }

    .teachers-intro {
        padding: 30px 20px;
    }

    .teachers-intro p {
        font-size: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .motto-content h2 {
        font-size: 32px;
    }

    .motto-quote {
        font-size: 20px;
    }

    .notice-board {
        flex-direction: column;
        padding: 15px 0;
    }

    .notice-label {
        width: 100%;
        justify-content: center;
        border-right: none;
        border-bottom: 2px solid rgba(255,255,255,0.3);
        margin-bottom: 10px;
        padding: 10px 20px;
    }

    .notice-scroll-wrapper {
        margin-left: 0;
        padding: 0 20px;
    }

    .notice-scroll {
        font-size: 14px;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .slider-section {
        height: 350px;
    }

    .slide-content h2 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .btn-slider {
        padding: 12px 30px;
        font-size: 16px;
    }

    .logo h1 {
        font-size: 20px;
    }

    .logo img {
        height: 65px;
    }

    .section-title {
        font-size: 28px;
    }

    /* Lightbox Mobile Styles */
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 15px 20px;
        font-size: 20px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 85%;
    }

    .lightbox-content img {
        max-height: 85vh;
    }

    .lightbox-counter {
        bottom: 15px;
        padding: 8px 15px;
        font-size: 14px;
    }

    /* Map Section Mobile Styles */
    .map-section {
        padding: 40px 0;
    }

    .map-wrapper iframe {
        height: 350px;
    }
}
