/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Top Info Bar */
.top-info-bar {
    background: #054451;
    color: #dae4db;
    padding: 6px 0;
    font-size: 0.85rem;
}

.top-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.top-links a {
    color: #dae4db;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-links a:hover {
    color: white;
}

/* School Branding */
.school-branding {
    background: white;
    padding: 0.7rem 0;
    border-bottom: 1px solid #e9ecef;
}

.brand-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.school-logo .logo-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 0;
}

.school-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #054451;
    margin: 0;
    letter-spacing: 1px;
}

.school-address {
    color: #003d24;
    margin: 0.2rem 0;
    font-size: 1rem;
}

.accreditation {
    color: #cfab6d;
    font-weight: 600;
    margin: 0;
    font-size: 0.8rem;
}

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

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

/* Navigation */
.navbar {
    background: #054451;
    padding: 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 0.8rem 1rem;
    text-decoration: none;
    color: #dae4db;
    font-weight: 600;
    font-size: 0.85rem;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    border-bottom-color: #dae4db;
    color: white;
}



/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.7rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background 0.3s ease;
}

.dropdown-menu li a:hover {
    background: #054451;
    color: #dae4db;
}

/* Help Desk Button */
.help-desk {
    margin-left: auto;
}

.help-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.help-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section with Slider and Notice Board */
.hero {
    padding: 2rem 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.hero-slider {
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dot.active {
    background: white;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.1;
    z-index: -1;
}

.hero-content {
    width: 100%;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Quick Action Buttons */
.quick-actions {
    background: #f8f9fa;
    padding: 2rem 0;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-width: 260px;
}

.action-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.action-btn i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.action-btn.fees i { color: #28a745; }
.action-btn.circulars i { color: #ffc107; }
.action-btn.events i { color: #17a2b8; }
.action-btn.transfer i { color: #6f42c1; }
.action-btn.admission i { color: #dc3545; }

.action-btn span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Notice Board */
.notice-board {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 400px;
    overflow: hidden;
}

.notice-header {
    background: #054451;
    color: #dae4db;
    padding: 1rem;
    text-align: center;
}

.notice-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #dae4db;
}

.notice-content {
    padding: 0;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.notice-marquee {
    display: flex;
    flex-direction: column;
    animation: marqueeUp 20s linear infinite;
}

.notice-marquee:hover {
    animation-play-state: paused;
}

.notice-list {
    padding: 1rem;
    flex-shrink: 0;
}

@keyframes marqueeUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.notice-item {
    background: transparent;
    padding: 1.6rem 0;
    border-bottom: 1px solid #eee;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-item h4 {
    color: #054451;
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 0 0.3rem 0;
    line-height: 1.2;
}

.notice-bar {
    display: flex;
    align-items: center;
    background: #ef946c;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

.notice-bar:hover {
    background: #e07d4f;
}

.notice-date {
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
}

.notice-separator {
    color: white;
    margin: 0 0.8rem;
    font-weight: 300;
}

.notice-action {
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
}

.new-badge {
    position: absolute;
    right: 1rem;
    background: #dc3545;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-weight: 600;
}

.notice-footer {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.view-all {
    color: #054451;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.view-all:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-outline {
    border: 2px solid #667eea;
    color: #667eea;
    background: transparent;
}

.btn-outline:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #054451;
}

.section-header p {
    font-size: 1.1rem;
    color: #003d24;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #054451;
}

.about-text p {
    margin-bottom: 1rem;
    color: #003d24;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 2rem;
    font-weight: 700;
    color: #054451;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #003d24;
    font-size: 0.9rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    opacity: 0.8;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

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

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

/* Portfolio Section */
.portfolio {
    background: #f8f9fa;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.8;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.portfolio-content p {
    color: #666;
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content p {
    font-style: italic;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
}

.author-info h4 {
    color: #333;
    margin-bottom: 0.2rem;
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-item h4 {
    color: #333;
    margin-bottom: 0.2rem;
}

.contact-item p {
    color: #666;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

/* Footer */
.footer {
    background: #14181b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.school-strength {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    border-radius: 5px;
    margin-top: 1rem;
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
}

.footer-links li a:hover {
    color: white;
    padding-left: 0.5rem;
}

.footer-links li a i {
    width: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.contact-item i {
    color: white;
    margin-top: 0.2rem;
    width: 16px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-links-bottom {
    display: flex;
    gap: 1.5rem;
}

.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
    color: white;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 200px;
    border: 0;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links-bottom {
        justify-content: center;
    }
    
    .map-container iframe {
        height: 200px;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
body {
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.loaded {
    opacity: 1;
}

/* Hover effects */
.service-card,
.portfolio-item,
.testimonial-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Inside School Section - Tabs */
.inside-school {
    background: #f8f9fa;
    padding: 4rem 0;
}

.tabs-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
    background: white;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn.active {
    background: #054451;
    color: #dae4db;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(5, 68, 81, 0.3);
}

.tab-btn:hover:not(.active) {
    color: #054451;
    background: rgba(5, 68, 81, 0.1);
}

.tab-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.content-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.content-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.content-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Event Images */
.independence-img {
    background-image: url('../images/gallery/1658556502_G1.jpg');
}

.christmas-img {
    background-image: url('../images/gallery/1658556495_G2.jpg');
}

.janmashtami-img {
    background-image: url('../images/gallery/1658556489_G3.jpg');
}

/* Achievement Images */
.yoga-img {
    background-image: url('../images/gallery/1658556482_G4.jpg');
}

.sports-img {
    background-image: url('../images/gallery/1658556476_G5.jpg');
}

.academic-img {
    background-image: url('../images/gallery/1658556469_G6.jpg');
}

/* Social Awareness Images */
.republic-img {
    background-image: url('../images/gallery/1658556462_G7.jpg');
}

.environment-img {
    background-image: url('../images/gallery/1658556442_G8.jpg');
}

.community-img {
    background-image: url('../images/gallery/1658556502_G1.jpg');
}

.content-text {
    padding: 1.5rem;
}

.content-text h4 {
    color: #054451;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.content-text p {
    color: #003d24;
    line-height: 1.6;
    font-size: 0.9rem;
}

.read-more-section {
    text-align: center;
    margin-top: 3rem;
}

.read-more-btn {
    display: inline-block;
    background: #ef946c;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 148, 108, 0.3);
    background: #e07d4f;
}

/* School Intro Section */
.school-intro {
    padding: 4rem 0;
    background: white;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.intro-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.intro-card:hover .card-img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    color: #054451;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card-content p {
    color: #003d24;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-content .read-more-btn {
    background: #ef946c;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.card-content .read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 148, 108, 0.3);
    background: #e07d4f;
}

/* Photo Gallery Section */
.photo-gallery {
    padding: 4rem 0;
    background: #f8f9fa;
}

.gallery-slider {
    overflow: hidden;
    margin: 2rem 0;
}

.gallery-track {
    display: flex;
    gap: 1rem;
    animation: gallerySlide 20s linear infinite;
}

.gallery-slide {
    flex: 0 0 300px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-slide:hover .gallery-image {
    transform: scale(1.05);
}

@keyframes gallerySlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.gallery-view-more {
    text-align: center;
    margin-top: 2rem;
}

.view-more-btn {
    display: inline-block;
    background: #ef946c;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 148, 108, 0.3);
    background: #e07d4f;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-info-bar {
        display: none;
    }
    
    .header {
        top: 0;
    }
    
    .hero {
        padding: 1rem 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-slider {
        height: 250px;
    }
    
    .school-branding {
        padding: 0.5rem 0;
    }
    
    .brand-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .school-name {
        font-size: 1.5rem;
    }
    
    .school-logo .logo-img {
        width: 70px;
        height: 70px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 140px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        max-height: calc(100vh - 140px);
        overflow-y: auto;
        z-index: 9999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 1rem;
        border-bottom: 1px solid #eee;
        color: #333 !important;
    }
    
    .nav-link:hover {
        color: #054451 !important;
        background: rgba(5, 68, 81, 0.1);
    }
    
    .nav-link.active {
        color: #054451 !important;
        background: rgba(5, 68, 81, 0.1);
    }

    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 10000;
        background: rgba(5, 68, 81, 0.1);
        padding: 0.8rem;
        border-radius: 5px;
    }
    
    .nav-toggle span {
        background: #054451;
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background: #054451;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background: #054451;
    }
    
    .notice-board {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        margin: 2rem 0;
    }
    
    .action-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
    }
    
    .highlights-carousel {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-buttons {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
        border-radius: 15px;
    }
    
    .tab-btn {
        padding: 0.8rem 1rem;
        border-radius: 10px;
        width: 100%;
    }
    
    .tab-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-track {
        animation-duration: 15s;
    }
    
    .gallery-slide {
        flex: 0 0 250px;
        height: 180px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats {
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stats {
        flex-direction: column;
        gap: 1rem;
    }

    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
}