.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
    font-weight: 500;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
.marquee span:hover {
    animation-play-state: paused;
}

/* FULL BACKGROUND */
.school-info-wrapper {
    background: linear-gradient(135deg, #f4f7ff, #ffffff);
    padding: 80px 0;
}

/* CALENDAR */
.calendar-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.calendar-box h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #c5054e;
}

.calendar-item {
    padding: 14px;
    border-radius: 14px;
    margin-bottom: 14px;
}

.calendar-item .date {
    font-weight: 600;
    font-size: 14px;
}

.calendar-item p {
    margin: 0;
    font-size: 14px;
}

.bg-blue { background: #e4e9ff; }
.bg-sky { background: #e9f6ff; }
.bg-green { background: #e0f8dc; }

.view-more {
    font-weight: 600;
    color: #c5054e;
    text-decoration: none;
    display: inline-block;
    margin-top: 5px;
}

/* QUICK LINKS GRID */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

/* SMALLER CARDS */
.quick-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px 10px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.quick-card i {
    font-size: 30px;
    margin-bottom: 6px;
    display: block;
}

.quick-card span {
    font-size: 13px;
    font-weight: 500;
}

/* HOVER */
.quick-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

/* ICON COLORS */
.icon-red { color: #e74c3c; }
.icon-blue { color: #3498db; }
.icon-green { color: #2ecc71; }
.icon-purple { color: #9b59b6; }
.icon-pink { color: #e84393; }
.icon-orange { color: #e67e22; }
.icon-sky { color: #00bcd4; }
.icon-violet { color: #6c5ce7; }
.icon-gold { color: #f1c40f; }
.icon-teal { color: #1abc9c; }

/* RESPONSIVE GRID */
@media (max-width: 1200px) {
    .quick-links-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .quick-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Gallery Area */
.school-gallery-area {
    background-color: #f9f9f9;
}

.section-title span {
    color: #0d6efd;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 10px 0;
}

.section-title p {
    color: #555;
    max-width: 600px;
    margin: auto;
}

/* Gallery Card */
.gallery-card {
    background: #f1f1f1;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Image */
.gallery-image {
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    transition: transform 0.4s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

/* Content */
.gallery-content {
    padding: 15px;
    text-align: center;
}

.gallery-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

/* Popup Overlay */
.image-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.image-popup-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.popup-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 575px) {
    .section-title h2 {
        font-size: 26px;
    }
}
/* About School Area */
.about-school-area {
    background-color: #f9fbff;
}

.about-school-content .sub-title {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.about-school-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1b1b1b;
}

.about-school-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.about-school-content .intro {
    font-size: 17px;
    font-weight: 500;
    color: #333;
}

/* Points */
.about-points {
    margin-top: 30px;
}

.point-box {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.point-box i {
    font-size: 28px;
    color: #0d6efd;
    flex-shrink: 0;
}

.point-box h4 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
}

/* Image */
.about-school-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Vision Boxes */
.vision-box {
    background: #ffffff;
    padding: 30px 25px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.vision-box i {
    font-size: 35px;
    color: #0d6efd;
    margin-bottom: 15px;
}

.vision-box h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.vision-box p {
    font-size: 15px;
    color: #555;
}

.vision-box:hover {
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 991px) {
    .about-school-content h2 {
        font-size: 30px;
    }
    .about-school-image {
        margin-top: 40px;
    }
}

@media (max-width: 575px) {
    .about-school-content h2 {
        font-size: 26px;
    }
    .point-box {
        flex-direction: column;
    }
}

.principal-message-area {
    padding: 50px 0;
    margin-bottom: 70px;
    font-family: 'Poppins', sans-serif;
}

/* Title */
.principal-title {
    text-align: center;
    margin-bottom: 45px;
}

.principal-title h2 {
    font-size: 34px;
    font-weight: 600;
    color: #2d7147;
    margin-bottom: 10px;
}

.title-line {
    width: 70px;
    height: 3px;
    background: #2d7147;
    display: inline-block;
    border-radius: 4px;
}

/* Image */
.principal-image img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Content */
.principal-content blockquote {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    border-left: 4px solid #ff5722;
    padding-left: 20px;
    margin-bottom: 22px;
    font-style: italic;
}

.principal-content blockquote span {
    display: block;
    margin-top: 8px;
    font-size: 15px;
    color: #555;
    font-weight: 500;
}

.principal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

/* Read More */
.read-more {
    color: #ff5722;
    font-weight: 500;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* Mobile Fix */
@media (max-width: 767px) {
    .principal-content {
        margin-top: 30px;
    }

    .principal-content blockquote {
        border-left: none;
        border-top: 4px solid #ff5722;
        padding-left: 0;
        padding-top: 15px;
    }
}


.teachers-area {
    padding: 80px 0;
    background: linear-gradient(180deg,#f7f9fc,#eef2f7);
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title h2 {
    font-size: 34px;
    font-weight: 700;
}

.section-title p {
    color: #666;
}

/* Teacher Card */
.teacher-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: 0.35s ease;
}

.teacher-card:hover {
    transform: translateY(-10px);
}

.teacher-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.teacher-info {
    padding: 18px 15px;
    text-align: center;
}

.teacher-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.teacher-info span {
    font-size: 14px;
    color: #555;
}

/* 🔥 LEFT & RIGHT NAVIGATION */
.teachers-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none; /* allow clicks only on buttons */
}

.teachers-carousel .owl-nav button {
    position: absolute;
    pointer-events: all;
    width: 48px;
    height: 48px;
    background: rgba(0,0,0,0.6) !important;
    color: #fff !important;
    border-radius: 50%;
    border: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.teachers-carousel .owl-nav button:hover {
    background: #0d6efd !important;
}

.teachers-carousel .owl-nav .owl-prev {
    left: -22px;
}

.teachers-carousel .owl-nav .owl-next {
    right: -22px;
}

.teachers-carousel .owl-nav button span {
    font-size: 28px;
    line-height: 1;
}

/* Mobile adjustment */
@media(max-width:768px){
    .teacher-img img {
        height: 240px;
    }

    .teachers-carousel .owl-nav .owl-prev {
        left: -10px;
    }

    .teachers-carousel .owl-nav .owl-next {
        right: -10px;
    }
}
.gallery_file{
    max-width: 100%;
    height: 260px;
}

.privacy-policy-area {
    background: #f9fafc;
}

/* Main Content */
.privacy-content h2 {
    font-size: 34px;
    font-weight: 700;
    color: #0b2c3d;
    margin-bottom: 15px;
}

.privacy-content .intro-text {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.privacy-content h4 {
    margin-top: 30px;
    font-size: 22px;
    font-weight: 600;
    color: #0b2c3d;
}

.privacy-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-top: 10px;
}

.privacy-content .list ul {
    padding-left: 0;
    margin-top: 15px;
}

.privacy-content .list ul li {
    list-style: none;
    font-size: 16px;
    margin-bottom: 10px;
    color: #444;
}

.privacy-content .list ul li i {
    color: #0d6efd;
    margin-right: 8px;
}

/* Sidebar */
.privacy-left-content {
    border-left: 1px solid #e3e6ea;
}

.school-info-box,
.school-contact-box {
    margin-bottom: 40px;
}

.school-info-box h3,
.school-contact-box h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #0b2c3d;
}

.school-info-box ul {
    padding-left: 0;
}

.school-info-box ul li {
    list-style: none;
    margin-bottom: 10px;
    font-size: 15px;
    color: #444;
}

.school-contact-box p {
    font-size: 15px;
    color: #444;
    margin-bottom: 8px;
}

.school-contact-box i {
    color: #0d6efd;
    margin-right: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .privacy-content h2 {
        font-size: 28px;
    }

    .privacy-left-content {
        border-left: none;
        margin-top: 40px;
        padding-left: 0;
    }
}

    /* Terms & Conditions */
.condition-content h2 {
    font-size: 34px;
    font-weight: 700;
    color: #0b2c3d;
    margin-bottom: 15px;
}

.condition-content .intro-text {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.condition-content h4 {
    margin-top: 30px;
    font-size: 22px;
    font-weight: 600;
    color: #0b2c3d;
}

.condition-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-top: 10px;
}

.condition-content .list ul {
    padding-left: 0;
    margin-top: 15px;
}

.condition-content .list ul li {
    list-style: none;
    font-size: 16px;
    margin-bottom: 10px;
    color: #444;
}

.condition-content .list ul li i {
    color: #0d6efd;
    margin-right: 8px;
}

/* Sidebar */
.condition-right-content {
    border-left: 1px solid #e3e6ea;
}

.school-policy-box,
.school-contact-box {
    margin-bottom: 40px;
}

.school-policy-box h3,
.school-contact-box h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #0b2c3d;
}

.school-policy-box ul {
    padding-left: 0;
}

.school-policy-box ul li {
    list-style: none;
    margin-bottom: 10px;
    font-size: 15px;
    color: #444;
}

.school-contact-box p {
    font-size: 15px;
    color: #444;
    margin-bottom: 8px;
}

.school-contact-box i {
    color: #0d6efd;
    margin-right: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .condition-content h2 {
        font-size: 28px;
    }

    .condition-right-content {
        border-left: none;
        margin-top: 40px;
        padding-left: 0;
    }
}
    /* Search Box */

.gallery-search-input {
    width: 220px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    font-size: 14px;
}

.gallery-search-btn {
    padding: 8px 14px;
    border: none;
    background: #e32845;
    color: #fff;
    border-radius: 4px;
    margin-left: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-search-btn:hover {
    background: #2d7147;
}

@media(max-width: 576px) {
    .gallery-search-input {
        width: 160px;
    }
}


/* Pagination */
.gallery-pagination {
    margin-top: 40px;
    text-align: center;
}

.gallery-pagination a {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 14px;
    border: 1px solid #ddd;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}

.gallery-pagination a.active,
.gallery-pagination a:hover {
    background: #e32845;
    color: #fff;
    border-color: #e32845;
}

@media(max-width: 576px){
    .gallery-search input{
        width: 160px;
    }
}
.ft_widg{
    margin-left: 50px;
}
@media(max-width: 576px){
    .ft_widg{
        margin-left: 0px;
    }
}
@media (max-width: 768px) {
    .ft_widg{
        margin-left: 0px;
    }
}

/* Our Vission */

    .vision-mission-area {
    background-color: #f9fbff;
}

/* Headings */
.sub-title {
    font-size: 14px;
    font-weight: 600;
    color: #0d6efd;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.vision-mission-area h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1b1b1b;
}

.page-intro {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

/* Image */
.vm-image img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

/* Content */
.vm-content {
    padding-left: 20px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #0d6efd;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.vm-content h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

.vm-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* Focus Boxes */
.vm-focus {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.focus-box {
    background: #ffffff;
    padding: 30px 25px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.focus-box i {
    font-size: 35px;
    color: #0d6efd;
    margin-bottom: 12px;
}

.focus-box h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.focus-box p {
    font-size: 15px;
    color: #555;
}

.focus-box:hover {
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 991px) {
    .vision-mission-area h2 {
        font-size: 30px;
    }
    .vm-content {
        padding-left: 0;
        margin-top: 30px;
    }
    .vm-focus {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .vision-mission-area h2 {
        font-size: 26px;
    }
}

/* Important Information */

.important-info-area {
    background: #f9fbff;
}

/* Heading */
.sub-title {
    font-size: 14px;
    font-weight: 600;
    color: #0d6efd;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.important-info-area h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1b1b1b;
    margin-bottom: 15px;
}

.page-intro {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

/* Info Cards */
.info-card {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 15px;
    height: 100%;
    text-align: center;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.info-card i {
    font-size: 36px;
    color: #0d6efd;
    margin-bottom: 15px;
}

.info-card h4 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.info-card:hover {
    transform: translateY(-6px);
}

/* Note */
.info-note {
    background: #0d6efd;
    color: #ffffff;
    padding: 35px 30px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(13,110,253,0.3);
}

.info-note i {
    font-size: 40px;
    opacity: 0.4;
}

.info-note p {
    font-size: 17px;
    margin-top: 10px;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 991px) {
    .important-info-area h2 {
        font-size: 30px;
    }
}

@media (max-width: 575px) {
    .important-info-area h2 {
        font-size: 26px;
    }
}

/* Event Section */

    /* ===== EVENT CARD BASE ===== */
.single-events-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ===== IMAGE WRAPPER ===== */
.events-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Fixed aspect ratio (responsive) */
.events-image::before {
    content: "";
    display: block;
    padding-top: 65%; /* Aspect ratio (adjust if needed) */
}

/* Image responsive & uniform */
.events-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures same size for all images */
}

/* ===== CONTENT AREA ===== */
.events-content {
    display: flex;
    flex-direction: column;
    padding: 15px;
    flex-grow: 1;
}

/* ===== TITLE FIX (LONG TEXT) ===== */
.events-content h3 {
    font-size: 16px;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    margin-bottom: 10px;
}

/* ===== PLACE / DATE TEXT ===== */
.admin-and-date p {
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* ===== ICON + TEXT ALIGNMENT ===== */
.admin-and-date i {
    margin-right: 6px;
}

/* ===== FLEX FIX FOR LIST ===== */
.admin-and-date ul {
    flex-wrap: wrap;
    gap: 8px;
}

/* Each item full width on small screens */
.admin-and-date ul li {
    width: 48%;
}

/* ===== MOBILE ===== */
@media (max-width: 767px) {
    .events-content h3 {
        font-size: 15px;
    }

    .admin-and-date ul li {
        width: 100%;
    }

    .events-content {
        padding: 12px;
    }
}

/* ===== TABLET ===== */
@media (min-width: 768px) and (max-width: 991px) {
    .events-content h3 {
        font-size: 16px;
    }

    .admin-and-date ul li {
        width: 48%;
    }
}

/* ===== DESKTOP ===== */
@media (min-width: 992px) {
    .events-content h3 {
        font-size: 17px;
    }
}


.owl-carousel .single-events-card {
    width: 100%;
}