/* =============================================
   Dadasaheb Gaikwad School - Main Stylesheet
   ============================================= */

:root {
    --primary: #1a237e;
    --primary-light: #3949ab;
    --secondary: #ffc107;
    --accent: #ff6b6b;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --text: #505050;
    --text-light: #777;
    --white: #ffffff;
    --shadow: 0 5px 30px rgba(0,0,0,0.08);
    --shadow-hover: 0 10px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--dark);
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
}

.section-padding {
    padding: 80px 0;
}

.section-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary);
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================
   Top Bar
   ============================================= */
.top-bar {
    background: var(--dark);
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
}

.top-info li {
    margin-right: 20px;
}

.top-info i {
    color: var(--secondary);
    margin-right: 5px;
}

.social-links a {
    color: #fff;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--dark);
}

/* =============================================
   Navbar
   ============================================= */
.navbar {
    background: var(--white);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.logo-text strong {
    display: block;
    font-size: 18px;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.logo-text small {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    padding: 8px 16px !important;
    font-size: 15px;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-hover);
    border-radius: var(--radius);
    padding: 10px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
}

.dropdown-item:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-admission {
    background: var(--secondary);
    color: var(--dark);
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 50px;
    border: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-admission:hover {
    background: #e6ac00;
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,193,7,0.4);
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,193,7,0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255,193,7,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,193,7,0); }
}

/* Side Buttons */
.side-buttons {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    flex-direction: column;
    gap: 5px;
}

.side-btn {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 15px 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px 0 0 8px;
    transition: var(--transition);
}

.enquire-btn {
    background: var(--secondary);
    color: var(--dark);
}

.apply-btn {
    background: var(--primary);
    color: var(--white);
}

.side-btn:hover {
    padding-right: 18px;
    color: var(--dark);
}

.enquire-btn:hover { background: #e6ac00; }
.apply-btn:hover { background: var(--primary-light); color: #fff; }

/* =============================================
   Hero Section
   ============================================= */
.hero-section {
    position: relative;
}

.hero-slide {
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    color: #fff;
    padding: 40px 0;
}

.hero-badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--dark);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 .highlight {
    color: var(--secondary);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: #fff;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary);
    bottom: 50px;
    right: 200px;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: #fff;
    bottom: -50px;
    left: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    background-size: 40%;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* =============================================
   Stats Section
   ============================================= */
.stats-section {
    background: var(--primary);
    padding: 50px 0;
    margin-top: -5px;
}

.stat-card {
    color: #fff;
    padding: 20px;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.stat-card h3 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    font-family: 'Roboto', sans-serif;
}

.stat-card h3::after {
    content: '+';
}

.stat-card p {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    margin: 0;
}

/* =============================================
   About Section
   ============================================= */
.about-image-wrapper {
    position: relative;
}

.about-img-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
}

.about-img-placeholder span {
    font-size: 16px;
    margin-top: 10px;
    color: var(--text-light);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary);
    color: var(--dark);
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-hover);
}

.experience-badge h3 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

.experience-badge p {
    font-size: 12px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.about-feature i {
    color: var(--primary);
    font-size: 1.2rem;
}

.about-feature span {
    font-weight: 500;
}

/* =============================================
   Mission Section
   ============================================= */
.mission-section {
    background: var(--light);
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.value-card h4 {
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* =============================================
   Programs Section
   ============================================= */
.program-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border-bottom: 3px solid transparent;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--primary);
}

.program-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.program-grades {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 8px;
}

.program-card h4 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.program-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.program-link {
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
}

.program-link:hover {
    color: var(--primary-light);
}

.program-link i {
    transition: var(--transition);
    margin-left: 5px;
}

.program-link:hover i {
    transform: translateX(5px);
}

/* =============================================
   Features Section
   ============================================= */
.features-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
}

.feature-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
    height: 100%;
}

.feature-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 15px;
}

.feature-card h5 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    margin: 0;
}

/* =============================================
   Principal Section
   ============================================= */
.principal-img-placeholder {
    width: 250px;
    height: 300px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
    margin: 0 auto;
}

.principal-img-placeholder span {
    font-size: 14px;
    margin-top: 10px;
    color: var(--text-light);
}

.staff-photo {
    width: 280px;
    height: 340px;
    border-radius: var(--radius);
    overflow: hidden;
    margin: 0 auto;
    background: #f5f5f5;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    box-sizing: border-box;
}

.staff-photo img,
.staff-photo > img.principal-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
}

.principal-image {
    display: inline-block;
    width: 280px;
    max-width: 100%;
}

@media (max-width: 992px) {
    .staff-photo {
        width: 240px;
        height: 290px;
    }
    .principal-image {
        width: 240px;
    }
}

@media (max-width: 576px) {
    .staff-photo {
        width: 220px;
        height: 270px;
    }
    .principal-image {
        width: 220px;
    }
}

.principal-name-card {
    background: var(--primary);
    color: #fff;
    padding: 15px 25px;
    border-radius: var(--radius);
    text-align: center;
    margin-top: -30px;
    position: relative;
    z-index: 2;
    display: block;
    width: 240px;
    margin-left: auto;
    margin-right: auto;
    min-height: 70px;
}

.principal-name-card h5 {
    color: #fff;
    margin: 0;
    font-size: 1.1rem;
}

.principal-name-card p {
    color: var(--secondary);
    font-size: 13px;
    margin: 0;
}

.principal-quote {
    position: relative;
    padding: 20px 25px;
    background: var(--light);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 20px;
}

.principal-quote i {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
}

.principal-quote p {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--dark);
    margin: 0;
}

/* =============================================
   Testimonials Section
   ============================================= */
.testimonials-section {
    background: var(--light);
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 10px 5px 40px;
}

.testimonial-rating {
    color: var(--secondary);
    font-size: 14px;
    margin-bottom: 15px;
}

.testimonial-rating i {
    margin-right: 2px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-author h6 {
    margin: 0;
    font-size: 15px;
}

.testimonial-author small {
    color: var(--text-light);
    font-size: 13px;
}

.swiper-pagination-bullet-active {
    background: var(--primary) !important;
}

/* =============================================
   Awards Section
   ============================================= */
.award-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.award-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.award-card h5 {
    margin-bottom: 5px;
}

.award-card p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

/* =============================================
   Gallery Section
   ============================================= */
.gallery-section {
    background: var(--light);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background: var(--white);
    border: 2px solid #e0e0e0;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.gallery-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}

.gallery-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    transition: var(--transition);
}

.gallery-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-card:hover .gallery-photo {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px 15px 15px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-card:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-card:hover .gallery-placeholder {
    transform: scale(1.1);
}

.gallery-overlay h6 {
    color: #fff;
    margin: 0;
    font-size: 14px;
}

.gallery-overlay span {
    color: var(--secondary);
    font-size: 12px;
}

.gallery-item {
    transition: var(--transition);
}

.gallery-item.hidden {
    display: none;
}

/* =============================================
   Enquiry Section
   ============================================= */
.enquiry-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
}

.enquiry-form .form-control,
.enquiry-form .form-select {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.enquiry-form .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.enquiry-form .form-control:focus,
.enquiry-form .form-select:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(255,193,7,0.15);
    color: #fff;
}

.enquiry-form .form-select {
    color: rgba(255,255,255,0.5);
}

.enquiry-form .form-select option {
    color: var(--dark);
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255,255,255,0.08);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--secondary);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-card h5 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-card p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin: 0;
}

.map-placeholder {
    width: 100%;
    height: 180px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 2rem;
}

.map-placeholder p {
    font-size: 14px;
    margin-top: 8px;
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
}

.footer-logo strong {
    display: block;
    color: #fff;
    font-size: 16px;
    font-family: 'Playfair Display', serif;
}

.footer-logo small {
    display: block;
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-widget h5 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 4px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    font-size: 13px;
}

/* =============================================
   Back to Top
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-5px);
}

/* =============================================
   Modal
   ============================================= */
.modal-content {
    border: none;
    border-radius: var(--radius);
}

.modal-header {
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius) var(--radius) 0 0;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-title i {
    color: var(--secondary);
    margin-right: 8px;
}

/* =============================================
   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);
}

/* =============================================
   Responsive Design
   ============================================= */

/* Tablets */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-slide {
        min-height: 500px;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-slide {
        min-height: 450px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 11px;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    .about-img-placeholder {
        height: 300px;
    }

    .experience-badge {
        width: 100px;
        height: 100px;
        bottom: -10px;
        right: -10px;
    }

    .experience-badge h3 {
        font-size: 1.8rem;
    }

    .gallery-placeholder {
        height: 150px;
    }

    .side-buttons {
        display: none !important;
    }

    .principal-img-placeholder {
        width: 200px;
        height: 250px;
    }
}

/* Mobile Portrait */
@media (max-width: 576px) {
    .section-padding {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-desc {
        font-size: 0.95rem;
    }

    .hero-slide {
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .hero-buttons .btn {
        padding: 8px 18px;
        font-size: 13px;
    }

    .stat-card h3 {
        font-size: 1.6rem;
    }

    .stat-card p {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .value-card {
        padding: 25px 20px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .contact-card {
        padding: 15px;
    }

    .footer-top {
        padding: 40px 0 30px;
    }

    .navbar-brand .logo-text strong {
        font-size: 15px;
    }

    .navbar-brand .logo-text small {
        font-size: 9px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .filter-btn {
        padding: 6px 16px;
        font-size: 12px;
    }
}

/* =============================================
   Info Blocks (Calendar & Co-Curricular)
   ============================================= */
.info-blocks {
    background: var(--white);
}

/* =============================================
   Navbar Admin Login Button
   ============================================= */
.btn-nav-login {
    background: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-nav-login:hover {
    background: var(--primary);
    color: var(--white) !important;
}

/* =============================================
   School Life & Community (About page)
   ============================================= */
.school-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #eef2ff 100%);
}

.school-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.school-info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--secondary);
}

.school-info-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.school-info-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark);
}

.school-info-card p {
    color: var(--text);
    margin: 0;
    font-size: 15px;
}

.school-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.school-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 15px;
    color: var(--text);
    border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}

.school-info-list li:last-child {
    border-bottom: 0;
}

.school-info-list li i {
    color: var(--secondary);
    background: rgba(255, 193, 7, 0.15);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex: 0 0 22px;
    margin-top: 3px;
}

.blue-card {
    background: #0a2a5e;
    border-radius: 14px;
    padding: 24px 28px;
    color: var(--white);
    width: 100%;
    box-shadow: 0 6px 24px rgba(10, 42, 94, 0.2);
    transition: var(--transition);
    border: 1px solid #0a2a5e;
}

.blue-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(10, 42, 94, 0.3);
}

.blue-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4dd0e1;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(77, 208, 225, 0.18);
}

.blue-card-head i {
    font-size: 20px;
}

.blue-card-head h4 {
    color: #4dd0e1;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.blue-card-list {
    list-style: disc;
    padding-left: 22px;
    margin: 0;
}

.blue-card-list li {
    color: var(--white);
    padding: 6px 0;
    font-size: 15px;
    line-height: 1.5;
}

.blue-card-list li::marker {
    color: #4dd0e1;
}

.blue-card-list a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.blue-card-list a:hover {
    color: #4dd0e1;
    text-decoration: underline;
}

.info-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.info-card-head h4 {
    margin: 0;
    font-size: 22px;
}

.info-card-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 4px;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text);
    border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
    font-size: 15px;
}

.info-list li:last-child {
    border-bottom: 0;
}

.info-list li i {
    color: var(--secondary);
    background: rgba(255, 193, 7, 0.15);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex: 0 0 22px;
}

/* =============================================
   Admission Process Steps
   ============================================= */
.admission-process {
    background: linear-gradient(135deg, #f8f9fa 0%, #eef2ff 100%);
}

.step-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    padding: 50px 28px 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    overflow: hidden;
}

.step-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    color: rgba(26, 35, 126, 0.08);
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(26, 35, 126, 0.08);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.step-card h5 {
    font-size: 19px;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 0;
}

/* =============================================
   Inner Page Banner
   ============================================= */
.page-banner {
    position: relative;
    padding: 110px 0 90px;
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 60%, #01579b 100%);
    color: var(--white);
    overflow: hidden;
    text-align: center;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 193, 7, 0.18), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.12), transparent 45%);
    pointer-events: none;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    color: var(--white);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
    margin: 0 auto 18px;
    font-size: 17px;
}

.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 14px;
    backdrop-filter: blur(6px);
}

.page-breadcrumb a {
    color: var(--secondary);
    font-weight: 500;
}

.page-breadcrumb a:hover {
    color: var(--white);
}

.page-breadcrumb .sep {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .page-banner {
        padding: 80px 0 60px;
    }
    .page-banner h1 {
        font-size: 32px;
    }
}

