/* ========================================
   Global Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Slab', serif;
    /* Updated Font */
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #f9f9f9;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ========================================
   Top Header (Green Background)
   ======================================== */
.top-header {
    background: linear-gradient(90deg, #008834 0%, #006622 100%);
    /* Gradient */
    color: white;
    font-size: 14px;
    padding: 8px 0;
}

.top-header-left span {
    margin-right: 20px;
    display: inline-block;
}

.top-header-left i {
    margin-right: 5px;
    color: #FFEF6E;
    /* Yellow icon */
}

.marquee-container {
    text-align: center;
}

.marquee-container marquee {
    color: #FFEF6E;
    font-size: 15px;
    font-weight: 500;
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.social-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: transform 0.3s ease, background-color 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.2);
}

.social-icon.facebook {
    background-color: #3b5998;
}

.social-icon.twitter {
    background-color: #1da1f2;
}

.social-icon.youtube {
    background-color: #ff0000;
}

/* ========================================
   Main Header (Logo & Title)
   ======================================== */
.main-header {
    background-color: white;
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: center;
    margin-top: 7px;
    margin-bottom: 7px;
}

.school-logo {
    width: 100px;
    border-radius: 8px;
    object-fit: contain;
}

.school-title h1 {
    font-size: 32px;
    color: #008834;
    margin: 0;
    line-height: 1.2;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.school-title p {
    text-align: center;
    font-size: 28px;
    font-weight: 400;
    color: #F50505;
    margin-top: 5px;
    letter-spacing: 1px;
}

/* ========================================
   Navigation Menu
   ======================================== */
.main-navbar {
    background: linear-gradient(to right, #008834, #00a03e);
    border-top: 5px solid #E17474;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.main-navbar .navbar-nav {
    width: 100%;
    justify-content: center;
}

.main-navbar .nav-item {
    margin: 0 2px;
}

.main-navbar .navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 12px 20px !important;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 3px solid transparent;
}

.main-navbar .navbar-nav .nav-link:hover,
.main-navbar .navbar-nav .nav-link.active {
    color: #FFEF6E !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: 3px solid #FFEF6E;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
    padding: 0;
    margin-top: 0;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Dropdown for Desktop */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeIn 0.3s ease;
    }
}

.dropdown-item {
    padding: 12px 20px;
    border-bottom: 1px solid #f1f1f1;
    font-size: 16px;
    background-color: #d47570;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #008834;
    padding-left: 25px;
}

/* ========================================
   Hero Slider Section
   ======================================== */
.hero-slider .carousel-item {
    height: 500px;
    position: relative;
}

.hero-slider .carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(0, 0, 0, 0.3); */
    /* Dark overlay */
}

.hero-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0, 136, 52, 0.9);
    opacity: 1;
}

.carousel-control-prev {
    left: 40px;
}

.carousel-control-next {
    right: 40px;
}

/* ========================================
   Flash News Section
   ======================================== */
.flash-news-wrapper {
    background: #D58A8E;
    color: #fff;
    /* border-bottom: 4px solid #ffef6e; */
    position: relative;
    z-index: 900;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.flash-news-container {
    display: flex;
    align-items: stretch;
    height: 50px;
}

.flash-news-label {
    background: #ffef6e;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    font-weight: 700;
    font-size: 16px;
    position: relative;
    transform: skewX(-20deg);
    margin-left: -15px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.flash-news-label span {
    transform: skewX(20deg);
    display: flex;
    align-items: center;
    gap: 8px;
}

.flash-news-label i {
    animation: flash 1.5s infinite;
}

@keyframes flash {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0.5;
    }
}

.flash-news-content {
    flex: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-left: 20px;
    background: #D58A8E;
}

.news-item {
    margin-right: 50px;
    font-size: 19px;
    font-weight: 500;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.news-item i {
    color: #fff;
}

/* ========================================
   Common Section Styles
   ======================================== */
section {
    position: relative;
}

.section-title {
    font-size: 38px;
    color: #fff;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.section-title-one {
    font-size: 38px;
    color: #008834;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #F50505, #FFEF6E);
    border-radius: 2px;
}

.section-title-one::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #F50505, #FFEF6E);
    border-radius: 2px;
}

/* ========================================
   About Us Section
   ======================================== */
.about-section {
    padding: 80px 0;
    background-color: white;
}

.about-img-wrapper {
    position: relative;
    padding: 10px;
    background: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
}

.about-img-wrapper:hover {
    transform: rotate(0);
}

.about-section p {
    margin-bottom: 20px;
    text-align: justify;
    font-size: 16px;
    color: #555;
}

.about-section .lead {
    font-weight: 500;
    color: #008834;
    font-size: 20px;
    border-left: 4px solid #F50505;
    padding-left: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, #008834 0%, #00a03e 100%);
    border: none;
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 136, 52, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 136, 52, 0.4);
    background: linear-gradient(135deg, #00a03e 0%, #008834 100%);
}

.list-icon {
    font-size: 12px;
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.btn:hover .list-icon {
    margin-left: 10px;
}

/* ========================================
   Highlights Section
   ======================================== */
.bg-light-one {
    background: linear-gradient(rgb(0 0 0 / 81%), rgb(0 0 0 / 72%)), url(/frontend/images/about/about-us.jpg);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #f5f5f5;
}

.highlight-box {
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 300px;
}

.highlight-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.highlight-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.highlight-icon.building {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.highlight-icon.language {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.highlight-icon.coaching {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.highlight-icon.education {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.highlight-icon.development {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.highlight-icon.library {
    background: linear-gradient(135deg, #8baaaa 0%, #ae8b9c 100%);
}

.highlight-box h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #222;
}

.highlight-box p {
    color: #000;
    font-size: 15px;
}

/* ========================================
   News Section
   ======================================== */
.news-section {
    background-color: white;
}

.news-box {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #eee;
}

.news-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.news-img-wrapper {
    position: relative;
    /* height: 180px; */
    overflow: hidden;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-box:hover .news-img-wrapper img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #008834;
    color: white;
    padding: 8px 15px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.news-date span:first-child {
    font-size: 20px;
    line-height: 1;
}

.news-date span:last-child {
    font-size: 12px;
}

.news-content {
    padding: 25px;
}

.news-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #222;
}

.read-more {
    color: #008834;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.read-more:hover {
    color: #F50505;
    gap: 8px;
}

/* ========================================
   Clubs & Activities Section
   ======================================== */
.club-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 320px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.club-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.club-box:hover img {
    transform: scale(1.15);
}

.club-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgb(0 0 0 / 12%) 0%, rgba(0, 0, 0, 0.5) 70%, transparent 100%);
    padding: 30px 20px;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.club-box:hover .club-overlay {
    transform: translateY(0);
}

.club-overlay h4 {
    font-size: 24px;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.club-overlay p {
    font-size: 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
    margin: 0;
}

.club-box:hover .club-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Gallery Section
   ======================================== */
.gallery-item {
    display: block;
    /* Added for anchor tag */
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    height: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 136, 52, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 40px;
    color: white;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* ========================================
   Footer Section
   ======================================== */
.footer-section {
    background: #008834;
    padding: 80px 0 0;
    color: #aaa;
}

.footer-section h5 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 18px;
    border-bottom: 2px solid #F50505;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    display: flex;
    color: #fff !important;
}

.footer-section p i {
    font-size: 14px;
    line-height: 1.8;
    display: flex;
    margin-top: 2px;
    color: #ffef6e;
}

.footer-links a {
    color: #fff;
    display: block;
    padding: 5px 0;
    font-size: 14px;
    /* border-bottom: 1px solid #F50505; */
}

.footer-links a:hover {
    color: #F50505;
    padding-left: 10px;
    border-color: #333;
}

.footer-social .social-icon {
    width: 35px;
    height: 35px;
    background: #222;
    border-radius: 4px;
}

.footer-social .social-icon:hover {
    transform: translateY(-3px);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    /* border: 2px solid #333; */
}

.copyright-bar {
    background: #008834;
    border-top: 1px solid #fff;
    margin-top: 50px;
    padding: 20px 0;
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 991px) {
    .school-logo {
        width: 80px;
    }

    .school-title h1 {
        font-size: 24px;
    }

    .school-title p {
        font-size: 10px;
    }

    .main-navbar .navbar-nav .nav-link {
        padding: 10px 15px !important;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .top-header {
        display: none;
    }

    /* Hide top header on mobile (optional) or stack it */

    .school-title h1 {
        font-size: 11px;
    }

    .flash-news-label {
        padding: 0 15px;
        font-size: 14px;
        transform: none;
        margin-left: 0;
    }

    .flash-news-label span {
        transform: none;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-slider .carousel-item {
        height: 400px;
    }
}

.bg-dark {
    --bs-bg-opacity: 1;
    background-color: #008834 !important;
}

.footer-section img {
    width: 30%;
}

.footer-social a {
    font-size: 18px;
    color: #fff;
    background: #198754;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.footer-social a:hover {
    background: #145c32;
}

.footer-social .social-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: 0.3s;
    text-decoration: none;
}

/* Individual colors */
.footer-social .facebook {
    background: #3b5998;
}

.footer-social .twitter {
    background: #1da1f2;
}

.footer-social .youtube {
    background: #ff0000;
}

/* active menu */

/* Main Navbar Active Color (Main Menu) */
.main-navbar .nav-link.active {
    background-color: #f8f9fa;
    /* Light background for active state */
    color: #ffc107 !important;
    /* Yellow highlight color - Change as per your logo */
    font-weight: bold;
    border-bottom: 2px solid #ffc107;
}

/* Dropdown Menu Styling */
.dropdown-menu {
    border-radius: 0;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Sub-menu Item Active State (Dropdown Item) */
.dropdown-item.active,
.dropdown-item:active {
    color: #fff !important;
    text-decoration: none;
    background-color: #52d699 !important;
    /* Green background for active sub-item */
}

/* Hover effect for better UX */
.main-navbar .nav-link:hover {
    color: #ffc107 !important;
}
.text-white{
    color:#ffef6e !important;
    font-size: 16px;
}
.text-white-one{
    color:#ffef6e !important;
    font-size: 16px;
}

.top-header-left a{
    color: #fff !important;
}
.album-info h3{
    font-size: 25px;
    text-align: center;
    color: #009d3d;
}
.album-count{
    font-size: 15px;
    text-align: center;
    color: #009d3d;
}
.album-info{
    text-align: center;
}
.copy-text{
    color: #ffef6e;
}
.copy-text-one{
    color: #ffef6e;
}
.copy-text:hover{
    color: #fff !important;
}
.breadcrumb-item a{
    color: #fff;
}
.breadcrumb-item+.breadcrumb-item::before {
    float: left;
    padding-right: var(--bs-breadcrumb-item-padding-x);
    color: #fff !important;
    content: var(--bs-breadcrumb-divider, "/");
}
.breadcrumb-item+.breadcrumb-item {
    padding-left: var(--bs-breadcrumb-item-padding-x);
    color: #fff !important;
}
.subpage h3{
    font-size: 25px;
    margin-bottom: 20px;
    font-weight: 400;
    color: #008834;
}
.filament-tiptap-grid-builder h5 {
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
    color: #008834;
}
.footer-section p a{
    color: #fff !important;
}
.tiptap-content ul li p{
    margin-bottom: 5px;
}
.history-content h1{
    font-size: 30px;
    margin-bottom: -21px;
}
.post-content-blocks{
    font-size: 25px;
    margin-top: 30px;
    color: #009d3d;
}
.clubs-section p{
    color: #fff;
}

