/* public/css/style.css */

:root {
    --primary-color: #2e7d32;
    --primary-light: #81c784;
    --primary-dark: #1b5e20;
    --secondary-color: #f5f5f5;
    --accent-color: #4caf50;
    --text-color: #333;
    --light-bg: #ffffff;
    --dark-text: #212121;
    --border-color: #e0e0e0;
}

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

body {
    font-family: "Anek Bangla", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
    scroll-behavior: smooth;
    /* --- Page transition animation --- */
    /* opacity: 0; */
    /* transition: opacity 0.5s ease-in-out; */
}

/* --- Class to fade-in after page load --- */
body.fade-in {
    opacity: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Anek Bangla", sans-serif;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.preloader-main {
    display: flex;
}

.preloader-main div {
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 50%;
    margin: 0 5px;
    animation: bounce 0.6s infinite alternate;
}

.preloader-main div:nth-child(2) {
    animation-delay: 0.2s;
}
.preloader-main div:nth-child(3) {
    animation-delay: 0.4s;
}
.preloader-main div:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes bounce {
    to {
        transform: translateY(-20px);
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 80px; /* Positioned above the back-to-top button */
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    color: #fff;
    background-color: #128c7e;
    transform: translateY(-3px) scale(1.1);
}

/* Back to Top */
.progress-wrap {
    position: fixed;
    right: 20px;
    bottom: 20px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(46, 125, 50, 0.2);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 200ms linear;
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap::after {
    position: absolute;
    content: "\f176";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    text-align: center;
    line-height: 46px;
    font-size: 18px;
    color: var(--primary-color);
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 1;
    transition: all 200ms linear;
}

.progress-wrap svg path {
    fill: none;
}

.progress-wrap svg.progress-circle path {
    stroke: var(--primary-color);
    stroke-width: 4;
    box-sizing: border-box;
    transition: all 200ms linear;
}

/* Header */
.header-area {
    background: var(--light-bg);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s;
}

.header-area.sticky {
    padding: 5px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-logo img {
    max-height: 50px;
    transition: all 0.3s;
}

.header-logo img:hover {
    transform: scale(1.05);
}

.header-menu-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: flex-end;
    /* MODIFICATION: Prevent wrapping */
    flex-wrap: nowrap;
}

.header-menu-list li {
    position: relative;
    margin: 0 3px;
}

.header-menu-list li a {
    color: var(--dark-text);
    font-weight: 500;
    padding: 8px 10px;
    transition: all 0.3s;
    display: block;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem; /* Slightly larger base font size */
    white-space: nowrap;
}

.header-menu-list li a:hover,
.header-menu-list li a.active {
    background: var(--primary-color);
    color: white;
}

.header-menu-list li .sub-menu {
    position: absolute;
    background: var(--light-bg);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    left: 0;
    top: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    border: 1px solid var(--border-color);
}

.header-menu-list li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.header-menu-list li .sub-menu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--border-color);
}

.header-menu-list li .sub-menu li:last-child {
    border-bottom: none;
}

.header-menu-list li .sub-menu li a {
    color: var(--dark-text);
    padding: 10px 15px;
    display: block;
    white-space: nowrap;
    font-size: 0.85rem;
}

.header-menu-list li .sub-menu li a:hover {
    background: var(--primary-color);
    color: white;
}

.language-toggle .form-select {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-size: 0.9rem;
    padding: 5px 10px;
    height: auto;
    cursor: pointer;
    min-width: 100px;
}

.language-toggle .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(46, 125, 50, 0.25);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
}

/* START: MODIFIED SECTION - CSS for one-line navbar on large screens */
@media (min-width: 1200px) {
    .header-menu-list {
        justify-content: space-between; /* Evenly space out menu items */
    }
    .header-menu-list > li > a {
        padding: 8px 7px; /* Reduced horizontal padding */
        font-size: 0.82rem; /* Slightly smaller font to fit all items */
    }
    .header-menu-list > li {
        margin: 0 1px; /* Reduced margin between items */
    }
}
/* END: MODIFIED SECTION */

@media (max-width: 1199.98px) {
    .header-menu-list {
        flex-wrap: wrap; /* Allow wrapping on medium-sized screens */
    }
    .header-menu-list li a {
        font-size: 0.8rem;
        padding: 8px 8px;
    }
}

@media (max-width: 991.98px) {
    .mobile-menu-btn {
        display: block;
        background: var(--primary-color);
        color: white !important;
    }

    .navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        z-index: 9999;
        padding: 20px;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s;
        overflow-y: auto;
    }

    .navigation.active {
        left: 0;
    }

    .header-menu-list {
        flex-direction: column;
    }

    .header-menu-list li {
        margin: 5px 0;
    }

    .header-menu-list li .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        border: none;
        width: 100%;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    color: white !important;
}

.btn-success {
    background-color: var(--primary-color);
    border-color: var(--primary-dark);
}

.btn-success:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.hero-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    border: 1px solid var(--primary-dark);
    font-weight: 500;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hero-btn:hover {
    background: var(--primary-dark);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.view-all-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    border: 1px solid var(--primary-dark);
    font-weight: 500;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.view-all-btn:hover {
    background: var(--primary-dark);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.read-more-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    border: 1px solid var(--primary-dark);
    font-weight: 500;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.read-more-btn:hover {
    background: var(--primary-dark);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.notice-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.notice-btn:hover {
    background: var(--primary-dark);
}

.teacher-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    border: 1px solid var(--primary-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.teacher-btn:hover {
    background: var(--primary-dark);
    color: white !important;
}

.download-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
}

.download-btn i {
    margin-right: 5px;
}

.download-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.muktopath-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
    margin-bottom: 10px;
}

.muktopath-btn i {
    margin-right: 8px;
}

.muktopath-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Top Bar */
.topbar-area {
    background: var(--primary-dark);
    padding: 8px 0;
    font-size: 0.9rem;
    color: white;
}

.notice-ticker {
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.scrolling-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 25s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.topbar-school-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.topbar-school-info-list li {
    margin-left: 20px;
    display: flex;
    align-items: center;
    color: white;
}

.topbar-school-info-list li span {
    font-weight: 600;
    color: white;
    margin-left: 5px;
}

/* Hero and Notice Container */
.hero-notice-container {
    display: flex;
    width: 100%;
    min-height: 500px;
    margin-top: 0;
}

/* Hero Section (75% width) */
.hero-area {
    width: 75%;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.hero-slider,
.hero-slider .owl-stage-outer,
.hero-slider .owl-stage,
.hero-slider .owl-item {
    height: 100%;
}

.hero-single-slide {
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-single-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.6); */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 40px;
    color: white;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    color: white;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    color: white;
}

.hero-btn-container {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Slider Navigation */
.hero-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 3;
}

.hero-slider .owl-nav button {
    background: rgba(255, 255, 255, 0.2) !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white !important;
    font-size: 24px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.hero-slider .owl-nav button:hover {
    background: var(--primary-color) !important;
    transform: scale(1.1);
}

/* Notice Section (25% width) */
.notice-section {
    width: 25%;
    padding: 0;
    background: #f8f9fa;
    height: 500px;
}

.notice-board {
    width: 100%;
    background: white;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-color);
}

.notice-header {
    padding: 15px;
    background: var(--primary-color);
    color: white;
}

.notice-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.notice-title i {
    margin-right: 10px;
    color: white;
}

.notice-content {
    padding: 15px;
    overflow-y: auto;
    height: calc(100% - 60px);
}

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    margin-bottom: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
    border-left: 4px solid var(--primary-color);
}

.notice-item:hover {
    background: rgba(129, 199, 132, 0.1);
    transform: translateX(5px);
}

.notice-info {
    display: flex;
    align-items: center;
}

.notice-icon {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.1rem;
}

.notice-text-wrapper {
    display: flex;
    flex-direction: column;
}

.notice-text {
    font-size: 0.95rem;
    color: #333;
}

.notice-date {
    font-size: 0.8rem;
    color: #777;
    margin-top: 4px;
}

.notice-footer {
    text-align: center;
    padding: 10px;
    border-top: 1px solid var(--border-color);
}

/* Quick Links and Leaders Container */
.quick-about-container {
    display: flex;
    width: 100%;
    padding: 40px 0;
    background: #f9f9f9;
}

/* Quick Links Section (75% width) */
.quick-links-section {
    width: 100%;
    padding: 0 20px;
}

/* Leaders Section (25% width) */
.leaders-section-standalone {
    width: 25%;
    padding: 0 20px;
}

.quick-link-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    height: 100%;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quick-link-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.box-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.quick-link-box h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
    font-size: 1.1rem;
}

.quick-link-box h4::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.box-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.box-links li {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--border-color);
}

.box-links li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.box-links li a {
    color: var(--text-color);
    transition: color 0.3s;
    display: block;
    padding: 5px 0;
    font-size: 0.9rem;
}

.box-links li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* About Section */
.about-section {
    padding: 60px 0;
    background: white;
}

.about-content-wrapper {
    display: flex;
    align-items: center;
}

.about-content {
    flex: 1;
    padding-right: 40px;
}

.about-image {
    flex: 1;
    max-width: 50%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    height: 300px;
    margin-top: -20px;
}

.about-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-text {
    margin-bottom: 20px;
    text-align: justify;
    font-size: 1rem;
    line-height: 1.8;
}

/* Academic Calendar Section */
.calendar-section {
    padding: 40px 0;
    background: #f9f9f9;
}

.calendar-container {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header h3 {
    color: var(--primary-dark);
    margin: 0;
}

.calendar-table {
    overflow-x: auto;
}

.calendar-table table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-table th,
.calendar-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.calendar-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 500;
}

.calendar-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.calendar-table tr:hover {
    background-color: rgba(129, 199, 132, 0.1);
}

/* Muktopath Section */
.muktopath-section {
    padding: 40px 0;
    background: white;
}

.muktopath-container {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.muktopath-content {
    display: flex;
    align-items: center;
}

.muktopath-image {
    flex: 0 0 200px;
    margin-right: 30px;
}

.muktopath-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.muktopath-info {
    flex: 1;
}

.muktopath-info h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.muktopath-info p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.muktopath-links {
    display: flex;
    flex-wrap: wrap;
}

/* Section Styling */
.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.section-footer {
    text-align: center;
    margin-top: 30px;
}

/* Box Shadow Effect */
.box-shadow-effect {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

/* Teachers Area */
.teachers-section {
    padding: 40px 0;
    background: #f9f9f9;
}

.teachers-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.teachers-slider .owl-nav button {
    background: rgba(46, 125, 50, 0.3) !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white !important;
    font-size: 24px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.teachers-slider .owl-nav button:hover {
    background: var(--primary-color) !important;
}

.teacher-card {
    background: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    margin: 15px;
}

.teacher-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.teacher-card:hover .teacher-image img {
    transform: scale(1.1);
}

.teacher-info {
    padding: 20px;
    text-align: center;
}

.teacher-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.teacher-subject {
    color: #666;
    margin-bottom: 15px;
    font-size: 1rem;
}

.teacher-social {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 20px 0;
    justify-content: center;
}

.teacher-social a {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.teacher-social a:hover {
    color: var(--primary-dark);
}

/* School Committee Area */
.committee-section {
    padding: 40px 0;
    background: white;
}

.committee-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.committee-slider .owl-nav button {
    background: rgba(46, 125, 50, 0.3) !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white !important;
    font-size: 24px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.committee-slider .owl-nav button:hover {
    background: var(--primary-color) !important;
}

.committee-card {
    background: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    margin: 15px;
}

.committee-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.committee-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.committee-card:hover .committee-image img {
    transform: scale(1.1);
}

.committee-info {
    padding: 20px;
    text-align: center;
}

.member-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.member-position {
    color: #666;
    margin-bottom: 15px;
    font-size: 1rem;
}

.member-details {
    margin-bottom: 15px;
    text-align: left;
}

.member-details p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
}

.member-details i {
    margin-right: 8px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.member-social {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    justify-content: center;
}

.member-social a {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.member-social a:hover {
    color: var(--primary-dark);
}

/* Parent Recommendation Section */
.parents-section {
    padding: 40px 0;
    background: #f9f9f9;
}

.parents-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.parents-slider .owl-nav button {
    background: rgba(46, 125, 50, 0.3) !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white !important;
    font-size: 24px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.parents-slider .owl-nav button:hover {
    background: var(--primary-color) !important;
}

.parent-card {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s;
    margin: 15px;
}

.parent-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid var(--primary-light);
}

.parent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.parent-info {
    text-align: center;
}

.parent-name {
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.parent-details {
    color: #666;
    font-size: 1rem;
    margin-bottom: 15px;
}

.parent-rating {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.parent-message {
    position: relative;
    padding: 20px;
    font-size: 1rem;
    line-height: 1.8;
    background: #f9f9f9;
    border-radius: 5px;
}

.parent-message::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-light);
    position: absolute;
    top: -15px;
    left: 10px;
    line-height: 1;
    opacity: 0.3;
}

/* Gallery Section --- REDESIGNED */
.gallery-section {
    padding: 40px 0;
    background: white;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 250px;
}

.gallery-item .gallery-link {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(46, 125, 50, 0.85);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.gallery-content h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

/* Student Counter Section */
.counter-section {
    padding: 40px 0;
    background: transparent;
}

.counter-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
}

.counter-item {
    text-align: center;
    padding: 15px;
    flex: 1;
    min-width: 150px;
    margin: 10px;
}

.counter-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.counter-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.counter-label {
    font-size: 1rem;
    color: var(--text-color);
}

/* Students Area */
.students-section {
    padding: 40px 0;
    background: #f9f9f9;
}

.students-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.students-slider .owl-nav button {
    background: rgba(46, 125, 50, 0.3) !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white !important;
    font-size: 24px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.students-slider .owl-nav button:hover {
    background: var(--primary-color) !important;
}

.student-card {
    background: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    margin: 15px;
}

.student-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.student-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.student-card:hover .student-image img {
    transform: scale(1.1);
}

.student-info {
    padding: 20px;
    text-align: center;
}

.student-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.student-class {
    color: #666;
    margin-bottom: 15px;
    font-size: 1rem;
}

.student-details {
    text-align: left;
}

.student-details p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
}

.student-details i {
    margin-right: 8px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* Footer Area */
.footer-section {
    background: var(--primary-dark);
    padding: 60px 0 0;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column {
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    color: white;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-light);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.footer-links li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links li a i {
    margin-right: 8px;
    color: var(--primary-light);
}

.contact-info {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-item i {
    margin-right: 15px;
    color: var(--primary-light);
    font-size: 1.2rem;
    margin-top: 3px;
}

.contact-item p,
.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.contact-item a:hover {
    color: white;
}

.phone-numbers,
.emails {
    display: flex;
    flex-direction: column;
}

.school-info p {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.school-info span {
    font-weight: 600;
    color: white;
}

.social-media {
    display: flex;
    margin-bottom: 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.newsletter {
    margin-bottom: 30px;
}

.newsletter h5 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: white;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--primary-color);
    color: white !important;
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: var(--primary-light);
}

.copyright-section {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.developer-credit {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.developer-credit a {
    color: var(--primary-light);
    transition: color 0.3s;
}

.developer-credit a:hover {
    color: white;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-notice-container {
        flex-direction: column;
    }

    .hero-area,
    .notice-section {
        width: 100%;
    }

    .hero-area {
        height: 400px;
    }

    .notice-section {
        height: auto;
    }

    .quick-about-container {
        flex-direction: column;
    }

    .quick-links-section,
    .leaders-section-standalone {
        width: 100%;
    }

    .about-content-wrapper {
        flex-direction: column;
    }

    .about-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .about-image {
        max-width: 100%;
    }

    .muktopath-content {
        flex-direction: column;
    }

    .muktopath-image {
        margin-right: 0;
        margin-bottom: 20px;
        flex: 0 0 auto;
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .counter-item {
        min-width: 120px;
    }

    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .calendar-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .calendar-header .download-btn {
        margin-top: 10px;
    }
}

@media (max-width: 575.98px) {
    h1 {
        font-size: 1.75rem;
    }

    .hero-area {
        height: 300px;
    }

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

    .notice-item {
        flex-direction: column;
        text-align: center;
    }

    .notice-text {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .counter-item {
        min-width: 100px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: 5px;
        margin-bottom: 10px;
    }

    .newsletter-form button {
        border-radius: 5px;
        padding: 10px;
    }

    .gallery-container {
        grid-template-columns: 1fr;
    }

    .calendar-table th,
    .calendar-table td {
        padding: 8px;
        font-size: 0.9rem;
    }
}
