/* Style Start */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Arial", sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #cc0000;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #990000;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

/* Responsive Base */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
}

/* Style End */

/* Topbar Start */
.topbar {
    background-color: #900;
    color: #fff;
    font-size: 14px;
    padding: 10px 0;
}

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

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 8px;
}

.social-icons a {
    color: #fff;
    margin-left: 15px;
    font-size: 16px;
    transition: color 0.3s;
}

.social-icons a:hover,
.social-icons .fa-facebook-f:hover,
.social-icons .fa-instagram:hover,
.social-icons .fa-tiktok:hover,
.social-icons .fa-youtube:hover {
    transition: 0.3s;
    transform: scale(1.2);
}

/* Topbar Mobile Styles */
@media (max-width: 576px) {
    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 10px !important;
    }

    .topbar-content {
        display: flex;
        align-items: center;
        width: 100%;
        /* Ensure full width */
        padding: 5px 0;
    }

    .contact-info {
        display: flex;
        flex: 1 1 auto;
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
    }

    .contact-info span {
        font-size: 12px;
        overflow: hidden;
        /* text-overflow: ellipsis; */
        white-space: nowrap;
    }

    /* Smart sizing: give email more room */
    .contact-info span:nth-child(1) {
        flex: 1 1 20%;
        /* address */
    }

    .contact-info span:nth-child(2) {
        flex: 2 1 50%;
        /* email: more room to grow */
    }

    .contact-info span:nth-child(3) {
        flex: 0 0 auto;
        /* phone: just what it needs */
        white-space: nowrap;
        padding-left: 5px;
    }

    .social-icons {
        display: none;
    }
}



/* Topbar End */

/* Navbar Start */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.navbar .container {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    padding: 15px;


    gap: 30px
}

.logo-img {
    max-height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-buttons {
    display: flex;
    gap: 10px;
    /* space between buttons */
}

.nav-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

.nav-link:hover {
    color: #990000;
}

/* Submenu Styles */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    z-index: 1000;
}

.submenu li {
    padding: 0;
}

.submenu a {
    display: block;
    padding: 8px 15px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.submenu a:hover {
    background-color: #f8f9fa;
    color: #990000;
}

.nav-item:hover .submenu {
    display: block;
}

/* Apply Now Button */
.apply-now-btn {
    display: inline-block;
    padding: 8px 10px;
    background-color: #cc0000;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.apply-now-btn:hover {
    background-color: #990000;
}

.login-btn {
    display: inline-block;
    padding: 8px 10px;
    background-color: #cc0000;
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.apply-now-btn:hover {
    background-color: #990000;
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    background: #c00;
    height: 3px;
    width: 80%;
    position: absolute;
    left: 0;
    transition: all 0.3s;
}

.nav-toggle-label span {
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle-label span::before {
    content: "";
    top: -10px;
}

.nav-toggle-label span::after {
    content: "";
    top: 10px;
}

.nav-toggle:checked~.nav-toggle-label span {
    background: transparent;
}

.nav-toggle:checked~.nav-toggle-label span::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle:checked~.nav-toggle-label span::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Navbar Mobile Styles */
@media (max-width: 991px) {
    .nav-toggle-label {
        order: 1;
        display: block;
        margin-left:0px;
    }
    .logo{
        display: flex;
        order: 2;

    }

    .nav-menu {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 15px;
    }

    .nav-toggle:checked~.nav-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 10px 0;
    }

    .submenu {
        position: static;
        display: none;
        box-shadow: none;
        background-color: #f8f9fa;
        padding: 10px 15px;
    }

    .nav-item.active .submenu {
        display: block;
    }

    .apply-now-btn {
        margin-top: 15px;
        width: 100%;
        text-align: center;
        padding: 10px;
    }

    .nav-buttons {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 15px;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 9999;
    }
}

/* Navbar End */

/* Hero Start */
.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    text-align: left;
    color: #fff;
    padding: 20px;
    max-width: 550px;
}

.slide-content h2 {
    font-size: 40px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slide-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #cc0000;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.slide-btn:hover {
    background-color: #990000;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.dot {
    width: 14px;
    height: 14px;
    background-color: #fff;
    border: 2px solid #cc0000;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.dot.active {
    background-color: #cc0000;
    transform: scale(1.2);
}

.dot:hover {
    background-color: #990000;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #cc0000;
    color: #fff;
    border: none;
    font-size: 28px;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.slider-arrow:hover {
    background-color: #990000;
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* Hero Mobile Styles */
@media (max-width: 991px) {
    .hero {
        height: 80vh;
    }

    .slide-content {
        left: 5%;
        max-width: 400px;
    }

    .slide-content h2 {
        font-size: 28px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .slide-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 60vh;
    }

    .slide-content {
        left: 5%;
        max-width: 300px;
        padding: 10px;
    }

    .slide-content h2 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .slide-btn {
        padding: 6px 15px;
        font-size: 12px;
    }

    .slider-nav {
        bottom: 15px;
        gap: 10px;
    }

    .dot {
        width: 12px;
        height: 12px;
    }

    .slider-arrow {
        display: none !important;
    }
}

/* Hero End */

/* Welcome Start */
.welcome {
    padding: 50px 0;
    background-color: #fff;
}

.welcome-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.welcome-text {
    flex: 1;
}

.welcome-text h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

.welcome-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    text-align: justify;
}

.welcome-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #cc0000;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.welcome-btn:hover {
    background-color: #990000;
}

.welcome-img {
    flex: 1;
}

.welcome-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Welcome Mobile Styles */
@media (max-width: 991px) {
    .welcome-content {
        flex-direction: column;
        gap: 20px;
    }

    .welcome-text,
    .welcome-img {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .welcome {
        padding: 30px 0;
    }

    .welcome-text h2 {
        font-size: 24px;
    }

    .welcome-text p {
        font-size: 14px;
    }

    .welcome-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}

/* Welcome End */

/* Stat Start */
.stats {
    padding: 50px 0;
    background-color: #900;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item h3 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 16px;
    color: #fff;
}

/* Stats Mobile Styles */
@media (max-width: 991px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats {
        padding: 30px 0;
    }

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

    .stat-item h3 {
        font-size: 28px;
    }

    .stat-item p {
        font-size: 14px;
    }
}

/* Stat End */

/* Principal Start */
.principal-message {
    padding: 50px 0;
    background-color: #fff;
}

.principal-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.principal-img {
    flex: 1;
}

.principal-img img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.principal-text {
    flex: 2;
}

.principal-text h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

.principal-text span {
    color: #cc0000;
}

.principal-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    text-align: justify;
}

.principal-signature h3 {
    /* font-size: 16px; */
    color: #cc0000;
    margin: 5px 0;
}

.principal-signature p {
    font-size: 16px;
    color: #333;
    margin: 5px 0;
}

.principal-signature p:first-child {
    font-weight: bold;
}

/* Responsive Design Updates for Principal Message */
@media (max-width: 991px) {
    .principal-content {
        flex-direction: column;
        gap: 20px;
    }

    .principal-img,
    .principal-text {
        flex: none;
        width: 100%;
    }

    .principal-img img {
        max-width: 250px;
        margin: 0 auto;
        display: block;
    }

    .principal-text h2 {
        font-size: 24px;
    }

    .principal-text p,
    .principal-signature p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .principal-message {
        padding: 30px 0;
    }

    .principal-img img {
        max-width: 200px;
    }
}

/* Principal End */

/* Program Start */
.programs {
    padding: 60px 0;
    background-color: #f9f9f9;
}

/* Container */
.programs .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Section Title */
.programs h2 {
    font-family: "Roboto", sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

/* Program Slider */
.program-slider {
    position: relative;
    overflow: hidden;
}

/* Program Slides */
.program-slides {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* 12 cards total */
    gap: 30px;
    transition: transform 0.5s ease-in-out;
    width: calc(100% * 3);
    /* 3 slides */
}

/* Program Card */
.program-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.program-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.program-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 15px 20px 10px;
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.program-card p {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0 20px 15px;
    line-height: 1.5;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.program-card .program-btn {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background-color: #c00;
    padding: 8px 12px;
    gap: 4px;
    border-radius: 4px;
    text-decoration: none;
    margin: 0 20px 20px;
    transition: background-color 0.3s ease;
}

.program-card .program-btn:hover {
    background-color: #900;
}

.program-btn i {
    margin-left: 5px;
    transition: transform 0.3s;
}

/* Program Dots */
.program-dots {
    text-align: center;
    margin-top: 20px;
}

.program-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.program-dot.active {
    background-color: #c00;
}

.program-dot:hover {
    background-color: #900;
}

/* Responsive Design */
@media (max-width: 992px) {
   .program-slides {
        display: flex;
        flex-direction: column;
        gap: 15px;
        transform: none !important;
        transition: none !important;
         width: 100% !important;
        overflow: hidden;
    }
    .program-slider {
        overflow: visible !important;
    }

    .program-card {
        /* 1 card per row in visible area */
        width: 100% !important;
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .program-card img {
        max-width: 100%;
        height: 220px;
        /* maintains aspect ratio */
        display: block;
        object-fit: cover;
        /* optional: cover container nicely */
    }

    .programs h2 {
        font-size: 28px;
    }

    .program-card h3 {
        font-size: 20px;
    }

    .program-card p {
        font-size: 14px;
    }
     .program-dots {
        display: none;
    }
}

@media (max-width: 576px) {
    .program-slides {
        display: flex;
        flex-direction: column;
        gap: 15px;
        transform: none !important;
        transition: none !important;
         width: 100% !important;
        overflow: hidden;
    }
    .program-slider {
        overflow: visible !important;
    }

    .program-card {
        /* 1 card per row in visible area */
        width: 100% !important;
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .program-card img {
        max-width: 100%;
        height: 220px;
        /* maintains aspect ratio */
        display: block;
        object-fit: cover;
        /* optional: cover container nicely */
    }

    .programs h2 {
        font-size: 28px;
    }

    .program-card h3 {
        font-size: 20px;
    }

    .program-card p {
        font-size: 14px;
    }
     .program-dots {
        display: none;
    }
}

/* Program End */

/* News Start */
.news-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.news-events {
    padding: 4rem 0;
    background-color: #fff;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin-bottom: 60px;
}

/* News Articles */
.news-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 cards per row */
    gap: 30px;
}

.news-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-date {
    font-size: 14px;
    font-weight: 600;
    color: #718096;
    text-align: left;
}

.news-category {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    text-align: right;
}

.category-academics {
    background-color: #ffe5e5;
    color: #c00;
}

.category-sports {
    background-color: #d1fae5;
    color: #059669;
}

.category-events {
    background-color: #fef3c7;
    color: #d97706;
}

.category-announcements {
    background-color: #fee2e2;
    color: #dc2626;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    text-align: left;
    line-height: 1.4;
    /*height: 2.8em;*/
    /* 2 lines at line-height 1.4 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-excerpt {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    padding: 8px 12px;
    background-color: #c00;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.read-more:hover {
    background-color: #900;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Search and Filter */
.news-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.search-box {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.search-input:focus {
    outline: none;
    border-color: #c00;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #718096;
}

.filter-dropdown {
    min-width: 200px;
}

.filter-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.filter-select:focus {
    outline: none;
    border-color: #c00;
}

/* Loading Animation */
.loading {
    display: none;
    text-align: center;
    padding: 30px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ffe5e5;
    border-top-color: #c00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* No Results */
.no-results {
    display: none;
    text-align: center;
    padding: 50px 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.no-results-icon {
    font-size: 50px;
    color: #a0aec0;
    margin-bottom: 20px;
}

.no-results-text {
    font-size: 18px;
    color: #4a5568;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .news-articles {
        grid-template-columns: repeat(2,
                1fr);
        /* 2 cards per row on medium screens */
    }
}

@media (max-width: 576px) {
    .news-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .news-articles {
        grid-template-columns: 1fr;
        /* 1 card per row on small screens */
        gap: 20px;
    }

    .news-image {
        height: 150px;
    }

    .news-content {
        padding: 15px;
    }

    .news-title {
        font-size: 18px;
        height: 2.8em;
        /* Maintain 2-line height */
    }

    .news-excerpt {
        font-size: 13px;
    }

    .read-more {
        padding: 5px 10px;
        /* Slightly smaller padding for mobile */
        font-size: 14px;
    }

    .search-input,
    .filter-select {
        padding: 10px;
    }
}

/* News End */

/* Register Start */
.register-now {
    position: relative;
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.register-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.465)),
        url("/images/register.jpg") no-repeat center center/cover;
    background-color: #333;
    /* Fallback color if image fails to load */
    padding: 4rem 0;
}

.register-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.register-text {
    flex: 1;
    color: #fff;
}

.register-subheading {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #ccc;
    margin-bottom: 0.5rem;
}

.register-text h2 {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.countdown-timer {
    display: flex;
    gap: 1.5rem;
}

.timer-box {
    text-align: center;
}

.timer-box span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    line-height: 60px;
}

.timer-box p {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: #ccc;
}

.register-form {
    flex: 0 0 400px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.form-header {
    background: #c00;
    color: #fff;
    padding: 1.5rem;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
}

.form-header h3 {
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0;
}

.register-form form {
    padding: 1.5rem;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.95rem;
    color: #333;
}

.form-group select {
    appearance: none;
    background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDZMNCAxMkw0IDQiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+") no-repeat right 0.75rem center/12px 12px;
}

.form-group input::placeholder,
.form-group select:invalid {
    color: #999;
}

.submit-btn {
    width: 100%;
    padding: 0.8rem;
    background: #c00;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #900;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .register-content {
        flex-direction: column;
        align-items: center;
    }

    .register-text {
        text-align: center;
        margin-bottom: 2rem;
    }

    .countdown-timer {
        justify-content: center;
    }

    .register-form {
        flex: 0 0 100%;
        max-width: 400px;
    }
}

@media (max-width: 576px) {
    .register-bg {
        padding: 2rem 0;
    }

    .register-text h2 {
        font-size: 2rem;
    }

    .register-subheading {
        font-size: 0.8rem;
    }

    .timer-box span {
        font-size: 1.5rem;
        width: 50px;
        height: 50px;
        line-height: 50px;
    }

    .timer-box p {
        font-size: 0.8rem;
    }

    .form-header p {
        font-size: 0.9rem;
    }

    .form-buttons a {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }

    .form-group input,
    .form-group select {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}

/* Register End */

/* Why choose us Start  */
.why-choose-us {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.why-choose-us h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    color: #000;
}

.why-choose-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.why-choose-card {
    flex: 0 0 calc(25% - 1.5rem);
    /* 4 cards per row (25% width minus gap) */
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.why-choose-icon {
    font-size: 2.5rem;
    /* Equivalent to 60px height/width */
    color: #c00;
    /* Red accent to match Aadim's theme */
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.why-choose-card h3 {
    margin: 0.5rem 0;
    color: #2c3e50;
    font-size: 1.4rem;
}

.why-choose-card p {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .why-choose-card {
        flex: 0 0 calc(50% - 1.5rem);
        /* 2 cards per row */
    }
}

@media (max-width: 576px) {
    .why-choose-card {
        flex: 0 0 100%;
        /* 1 card per row */
    }

    .why-choose-grid {
        padding: 0 2rem;
    }

    .why-choose-icon {
        font-size: 2rem;
        /* Slightly smaller on mobile */
    }
}

/* Why choose us End  */

/* Footer Start */
.footer {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.465));
    background-color: #333;
    /* Fallback color if image fails to load */
    color: #fff;
    padding: 4rem 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-column {
    flex: 0 0 calc(25% - 2rem);
    /* 4 columns (25% width minus gap) */
}

.footer-column h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.footer-column p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-column i {
    margin-right: 0.5rem;
}

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

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #c00;
}

/* Toggle Button Styles */
.footer-btn.toggle-grades {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: #c00;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-family: "Roboto", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-btn.toggle-grades:hover {
    background-color: #900;
}

/* Hidden Grades Styles */
.hidden-grades {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hidden-grades.visible {
    opacity: 1;
    transform: translateY(0);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #c00;
}

.footer-btn {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: #c00;
    color: #fff;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.footer-btn:hover {
    background-color: #900;
    color: #fff !important;
}

.footer-bottom {
    text-align: center;
    padding: 1rem 0;
    background-color: #900;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .footer-column {
        flex: 0 0 calc(50% - 2rem);
        /* 2 columns per row */
    }
}

@media (max-width: 576px) {
    .footer-column {
        flex: 0 0 100%;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-column p i {
        margin-right: 0.3rem;
    }

    .footer-btn.toggle-grades {
        font-size: 0.9rem;
    }
}

/* Footer End */

/* Header Start */
.about-header {
    background-color: #900;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 6rem 1rem;
    text-align: center;
    color: #fff;
}

.about-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.about-header .subtitle {
    font-size: 1rem;
    color: #fff;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-header {
        padding: 4rem 1rem;
    }

    .about-header h1 {
        font-size: 2rem;
    }

    .about-header .subtitle {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .about-header h1 {
        font-size: 1.6rem;
    }

    .about-header .subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Header End */

/* breadcrumb Start */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 1.5rem 0;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    font-size: 0.95rem;
    color: #000;
}

.breadcrumb-item a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #c00;
}

.breadcrumb-item.active {
    color: #c00;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
    margin: 0 0.5rem;
    color: #000;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .breadcrumb {
        padding: 1rem 0;
    }

    .breadcrumb-item {
        font-size: 0.9rem;
    }

    .breadcrumb-item+.breadcrumb-item::before {
        margin: 0 0.4rem;
    }
}

@media (max-width: 576px) {
    .breadcrumb {
        padding: 0.75rem 0;
    }

    .breadcrumb-item {
        font-size: 0.85rem;
    }

    .breadcrumb-item+.breadcrumb-item::before {
        margin: 0 0.3rem;
    }
}

/* breadcrumb End */

/* history Start */
.school-history {
    padding: 4rem 0;
    background-color: #fff;
}

/* Container for consistent spacing */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section Title */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 3rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: #c00;
    transform: translateX(-50%);
}

/* Timeline Items */
.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

.timeline-item.left {
    animation-delay: 0.2s;
}

.timeline-item.right {
    animation-delay: 0.4s;
}

/* Year Badge */
.timeline-year {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    background-color: #c00;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Timeline Content */
.timeline-content {
    flex: 1;
    background-color: #fff;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content h3 {
    font-family: "Roboto", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #7f8c8d;
    line-height: 1.6;
}

/* Alternating Layout */
.timeline-item.left .timeline-year {
    order: 1;
}

.timeline-item.left .timeline-content {
    order: 2;
    margin-left: 2rem;
    margin-right: 0;
}

.timeline-item.right .timeline-year {
    order: 2;
}

.timeline-item.right .timeline-content {
    order: 1;
    margin-right: 2rem;
    margin-left: 0;
}

/* Fade-In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .school-history {
        padding: 3rem 0;
    }

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

@media (max-width: 768px) {
    .timeline::before {
        left: 50px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-year {
        flex: none;
        width: 80px;
        height: 80px;
        font-size: 1.3rem;
        margin-bottom: 1rem;
        margin-left: 1rem;
    }

    .timeline-content {
        margin: 0 1rem;
        width: calc(100% - 2rem);
    }

    .timeline-item.left .timeline-year,
    .timeline-item.right .timeline-year {
        order: 1;
    }

    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        order: 2;
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

@media (max-width: 576px) {
    .school-history {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .timeline::before {
        left: 40px;
    }

    .timeline-year {
        width: 70px;
        height: 70px;
        font-size: 1.2rem;
        margin-left: 0.5rem;
    }

    .timeline-content h3 {
        font-size: 1.3rem;
    }

    .timeline-content p {
        font-size: 0.95rem;
    }
}

/* history End */

/* achievements Start */
.key-achievements {
    padding: 4rem 0 !important;
    background-color: #f8f9fa;
}

/* Container for consistent spacing */
.key-achievements {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section Title */
.key-achievements .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 3rem;
}

/* Achievements Grid */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Achievement Item */
.achievement-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Icon */
.achievement-item i {
    font-size: 2.5rem;
    color: #c00;
    margin-bottom: 1rem;
}

/* Achievement Title */
.achievement-item h3 {
    font-family: "Roboto", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Achievement Description */
.achievement-item p {
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

/* Highlighted Year */
.achievement-item p strong {
    color: #c00;
    font-weight: 700;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .key-achievements {
        padding: 3rem 0;
    }

    .key-achievements .section-title {
        font-size: 2rem;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .key-achievements {
        padding: 2rem 0;
    }

    .key-achievements .section-title {
        font-size: 1.8rem;
    }

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

    .achievement-item {
        padding: 1.5rem;
    }

    .achievement-item i {
        font-size: 2rem;
    }

    .achievement-item h3 {
        font-size: 1.3rem;
    }

    .achievement-item p {
        font-size: 0.95rem;
    }
}

/* achievements End */

/* About Start */
.about-content {
    padding: 4rem 0;
    background-color: #fff;
}

/* Container for consistent spacing */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Row and Column for Grid Layout */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Text Content */
.about-content h2 {
    font-family: "Roboto", sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #7f8c8d;
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: justify;
}

.about-content .btn-primary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #c00;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.about-content .btn-primary:hover {
    background-color: #900;
}

/* Image */
.about-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about-content {
        padding: 3rem 0;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .about-img {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .about-img {
        margin-top: 1.5rem;
    }
}

@media (max-width: 576px) {
    .about-content {
        padding: 2rem 0;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .about-content p {
        font-size: 0.95rem;
    }

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

/* About End */

/* mission-vision Start */
.mission-vision-values {
    padding: 4rem 0;
    background-color: #fff;
}

/* Container for consistent spacing */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section Title */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 2rem;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-item {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: justify;
}

.mission-block h3,
.vision-block h3,
.values-block h3 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 1rem;
}

.grid-item p {
    font-size: 1rem;
    font-weight: 300;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.quote-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 8rem;
    color: #c00;
    /* Blue color for quotation marks */
    line-height: 1;
}

.mission-block h3,
.vision-block h3,
.values-block h3 {
    padding-left: 3rem;
    /* Space for the quotation mark */
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .mission-vision-values {
        padding: 3rem 0;
    }

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

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

    .grid-item {
        margin-bottom: 1rem;
    }

    .mission-block h3,
    .vision-block h3,
    .values-block h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .mission-vision-values {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .mission-block h3,
    .vision-block h3,
    .values-block h3 {
        font-size: 1.4rem;
    }

    .grid-item p {
        font-size: 0.95rem;
    }

    .quote-icon {
        font-size: 2.5rem;
        top: 0.5rem;
        left: 0.5rem;
    }

    .mission-block h3,
    .vision-block h3 {
        padding-left: 2.5rem;
    }
}

/* mission-vision End */

/* team Start */
/* Our Team Section Styles */
.our-team {
    padding: 4rem 0;
    background-color: #fff;
}

/* Container for consistent spacing */
.our-team .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section Title */
.our-team .section-title {
    font-family: "Roboto", sans-serif;
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    color: #2c3e50;
}

/* Team Grid */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Team Card */
.team-card {
    flex: 0 0 calc(33.33% - 1.5rem);
    /* 3 cards per row */
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect */
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Team Photo */
.team-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    transition: border 0.3s ease;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card:hover .team-photo {
    border: 3px solid #c00;
}

/* Team Name */
.team-card h3 {
    font-family: "Roboto", sans-serif;
    margin: 0.5rem 0;
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 700;
}

/* Team Role */
.team-card .team-role {
    font-family: "Roboto", sans-serif;
    color: #c00;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* Team Description */
.team-card .team-desc {
    font-family: "Roboto", sans-serif;
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Social Icons */
.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    color: #c00;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: #900;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .team-card {
        flex: 0 0 calc(50% - 1.5rem);
        /* 2 cards per row */
    }
}

@media (max-width: 576px) {
    .team-card {
        flex: 0 0 100%;
        /* 1 card per row */
    }

    .team-grid {
        padding: 0 2rem;
    }

    .team-photo {
        width: 100px;
        height: 100px;
    }

    .team-card h3 {
        font-size: 1.3rem;
    }

    .team-card .team-role {
        font-size: 0.9rem;
    }

    .team-card .team-desc {
        font-size: 0.9rem;
    }
}

/* team End */
/* academic start */
.tabs-container {
    display: flex;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.sidebar {
    width: 250px;
    background-color: #fff;
    border-right: 1px solid #e2e8f0;
    padding: 16px 0;
    position: sticky;
    top: 0;
    height: calc(100vh - 200px);
    overflow-y: auto;
}

.content-area {
    flex: 1;
    padding: 0 16px;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .tabs-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 0;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        position: static;
        -webkit-overflow-scrolling: touch;
        /* Smooth scrolling on iOS */
        white-space: nowrap;
    }

    .content-area {
        padding: 0;
    }

    .tab-btn {
        flex: 0 0 auto;
        padding: 12px 16px;
        font-size: 14px;
        text-align: center;
        display: inline-block;
    }

    .tab-btn.tab-active::after {
        left: 0;
        width: 100%;
    }

    /* Hide scrollbar but keep functionality */
    .sidebar::-webkit-scrollbar {
        display: none;
    }

    .sidebar {
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }
}

.tab-btn {
    display: block;
    padding: 16px 24px;
    background: none;
    border: none;
    font-weight: 500;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 16px;
    text-align: left;
}

.tab-btn:hover {
    color: #c00;
}

.tab-btn.tab-active {
    color: #c00;
}

.tab-btn.tab-active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 24px;
    width: calc(100% - 48px);
    height: 3px;
    background-color: #c00;
}

/* Main Content Area */
.content-section {
    padding: 48px 0;
    min-height: calc(100vh - 200px);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

/* Overview Tab */
.overview-card {
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    padding: 32px;
}

.overview-flex {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .overview-flex {
        flex-direction: row;
    }
}

.overview-img-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .overview-img-container {
        width: 33.333%;
        margin-bottom: 0;
    }
}

.overview-img {
    width: 192px;
    height: 192px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #e0e7ff;
}

.overview-content {
    width: 100%;
}

@media (min-width: 768px) {
    .overview-content {
        width: 66.666%;
        padding-left: 32px;
    }
}

.overview-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
}

.overview-text {
    color: #4a5568;
    margin-bottom: 16px;
    line-height: 1.8;
    text-align: justify;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 10px 16px;
    border-radius: 50px;
}

.feature-icon {
    padding: 8px;
    border-radius: 50%;
    margin-right: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    color: #c00;
    font-size: 16px;
}

/* Curriculum Tab */
.curriculum-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin-bottom: 48px;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .curriculum-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .curriculum-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.curriculum-card {
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.curriculum-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    background-color: #f8f9fa;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.card-icon i {
    font-size: 24px;
    color: #c00;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a202c;
    text-align: center;
    margin-bottom: 12px;
}

.card-text {
    color: #4a5568;
    text-align: center;
    line-height: 1.6;
}

/* Methodology Tab */
.methodology-container {
    margin: 0 auto;
}

.methodology-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin-bottom: 48px;
}

.methodology-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    padding: 32px;
}

.methodology-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .methodology-item {
        flex-direction: row;
    }
}

.methodology-icon-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .methodology-icon-container {
        width: 25%;
        margin-bottom: 0;
    }
}

.methodology-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.methodology-icon i {
    font-size: 32px;
    color: #c00;
}

.methodology-content {
    width: 100%;
}

@media (min-width: 768px) {
    .methodology-content {
        width: 75%;
        padding-left: 24px;
    }
}

.methodology-item-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 8px;
}

.methodology-item p {
    color: #4a5568;
    line-height: 1.8;
}

/* Activities Tab */
.activities-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin-bottom: 48px;
}

.activities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .activities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.activity-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.activity-header {
    height: 192px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-header i {
    font-size: 64px;
    color: #c00;
}

.activity-body {
    padding: 24px;
}

.activity-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 12px;
}

.activity-text {
    color: #4a5568;
    margin-bottom: 16px;
    line-height: 1.6;
}

.activity-time {
    display: flex;
    align-items: center;
    color: #c00;
    font-size: 14px;
    font-weight: 500;
}

.activity-time i {
    margin-right: 8px;
}

/* Assessment Tab */
.assessment-card {
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    padding: 32px;
}

.assessment-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin-bottom: 32px;
}

.assessment-item {
    display: flex;
    margin-bottom: 24px;
}

.assessment-icon {
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 50%;
    margin-right: 16px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.assessment-icon i {
    font-size: 20px;
    color: #c00;
}

.assessment-content {
    flex: 1;
}

.assessment-item-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 8px;
}

.assessment-item p {
    color: #4a5568;
    line-height: 1.6;
}

.assessment-philosophy {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    margin-top: 40px;
}

.philosophy-title {
    font-size: 20px;
    font-weight: 600;
    color: #c00;
    margin-bottom: 12px;
}

.philosophy-text {
    color: #4a5568;
    line-height: 1.8;
}

/* academic end */

/* photo start */
.photo-gallery {
    padding: 4rem 0;
    background-color: #fff;
}

.section-title {
    font-family: "Roboto", sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin-bottom: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    background-color: #c00;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.gallery-caption {
    padding: 1rem;
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
    text-align: center;
    margin: 0;
}

/* Popup Styles */
.gallery-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-popup.show {
    opacity: 1;
}

.popup-content {
    position: relative;
    max-width: 80%;
    max-height: 80vh;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    background: #fff;
}

.popup-img {
    max-width: 100%;
    max-height: 70vh;
    display: block;
    border-radius: 12px;
    object-fit: contain;
    border: 2px solid #fff;
    border-radius: 8px;
}

.popup-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
    padding: 1rem;
    background: #c00;
    margin: 0;
}

.popup-close,
.popup-prev,
.popup-next {
    position: fixed;
    font-size: 1.8rem;
    color: #fff;
    background: #c00;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.popup-close:hover,
.popup-prev:hover,
.popup-next:hover {
    background-color: #900;
    transform: scale(1.1);
}

.popup-close {
    top: 19px;
    right: 20px;
    font-size: 2rem;
}

.popup-prev {
    left: 20px;
    top: 50%;
}

.popup-next {
    right: 20px;
    top: 50%;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.pagination-btn {
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background-color: #c00;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 0.5rem;
    transition: background-color 0.3s ease;
}

.pagination-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.pagination-btn:hover:not(:disabled) {
    background-color: #a00;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    color: #333;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination-number.active {
    background-color: #c00;
    color: #fff;
    border-color: #c00;
}

.pagination-number:hover:not(.active) {
    background-color: #f0f0f0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .popup-img {
        max-height: 60vh;
    }

    .popup-caption {
        font-size: 1rem;
    }

    .popup-close,
    .popup-prev,
    .popup-next {
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .photo-gallery {
        padding: 2rem 0;
    }

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

    .gallery-caption {
        font-size: 0.95rem;
    }

    .popup-img {
        max-height: 50vh;
    }

    .popup-caption {
        font-size: 0.9rem;
    }

    .popup-close,
    .popup-prev,
    .popup-next {
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }

    .popup-close {
        top: 15px;
        right: 15px;
    }

    .popup-prev {
        left: 15px;
    }

    .popup-next {
        right: 15px;
    }
}

/* photo end */

/* Video Gallery Styles start */
.video-gallery {
    padding: 4rem 0;
    background-color: #fff;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin-bottom: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.gallery-video {
    width: 100%;
    height: 200px;
    /* Fixed height for consistent layout */
    border: none;
}

.gallery-caption {
    padding: 1rem;
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #7f8c8d;
    text-align: center;
    margin: 0;
}

/* Reuse Pagination Styles from Photo Gallery */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e50;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background-color: #c00;
    color: #fff;
    border-color: #c00;
}

.pagination-btn:disabled {
    background-color: #e0e0e0;
    color: #7f8c8d;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    padding: 0.5rem 1rem;
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e50;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination-number:hover:not(.active) {
    background-color: #c00;
    color: #fff;
    border-color: #c00;
}

.pagination-number.active {
    background-color: #c00;
    color: #fff;
    border-color: #c00;
    cursor: default;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .video-gallery {
        padding: 2rem 0;
    }

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

    .gallery-video {
        height: 180px;
    }

    .gallery-caption {
        font-size: 0.95rem;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .pagination-btn,
    .pagination-number {
        padding: 0.4rem 0.8rem;
        font-size: 0.95rem;
    }
}

/* video gallery style end */

/* contact section style start */
.contact-section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin-bottom: 60px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info-div {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.contact-info-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.contact-info-title i {
    margin-right: 12px;
    color: #c00;
}

.contact-item {
    display: flex;
    margin-bottom: 24px;
}

.contact-icon {
    background-color: #f8f9fa;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.contact-icon i {
    color: #c00;
    font-size: 20px;
}

.contact-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 4px;
}

.contact-details p {
    color: #4a5568;
    line-height: 1.6;
}

.social-icon-links {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.social-icon-links a {
    color: white;
    background-color: #c00;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon-links a:hover {
    transition: 0.3s;
    transform: scale(1.2);
}

/* Contact Form */
.contact-form {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #1a202c;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #4f46e5;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: #c00;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: #900;
}

/* Map Section */
.map-section {
    padding: 0 0 80px;
}

.map-container {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #f0f4f8;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question i {
    color: #000;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    background-color: #c00;
    color: #fff;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    padding: 10px 20px 20px;
    max-height: 500px;
}

/* contact section style end */




.news-container { max-width: 1320px; margin: 0 auto; padding: 0 15px; }
.news-row { display: flex; flex-wrap: wrap; margin: -1.5rem; }
.news-col-main { flex: 0 0 66.666%; max-width: 66.666%; padding: 1.5rem; }
.news-col-sidebar { flex: 0 0 33.333%; max-width: 33.333%; padding: 1.5rem; }

@media (max-width: 992px) {
    .news-col-main, .news-col-sidebar { flex: 0 0 100%; max-width: 100%; }
}

.news-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0 0 1.5rem 0;
    list-style: none;
    font-size: 0.9rem;
    color: #6c757d;
}
.news-breadcrumb-item + .news-breadcrumb-item::before {
    content: "/"; padding: 0 0.5rem; color: #6c757d;
}
.news-breadcrumb-item a {
    color: #6c757d; text-decoration: none;
}
.news-breadcrumb-item a:hover {
    color: #0d6efd; text-decoration: underline;
}
.news-breadcrumb-item.active { color: #212529; }

.news-title {
    font-size: 2.5rem; font-weight: 700; line-height: 1.2; margin: 0 0 1.5rem 0;
}

.news-meta {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-size: 0.9rem;
    /*margin-bottom: 1.5rem;*/
}
.news-meta span { margin: 0 1rem; }

.news-featured-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.08);
}
.news-featured-wrapper::before {
    content: '';
    display: block;
    padding-bottom: 56.25%; /* 16:9 */
}
.news-featured-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
}

.news-lead {
    font-size: 1.25rem;
    color: #6c757d;
    /*margin-bottom: 2rem;*/
    line-height: 1.6;
}

.news-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #212529;
}
.news-content img {
    max-width: 100%; height: auto; border-radius: 0.5rem; margin: 1.5rem 0;
}

.news-social {
    padding-top: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid #dee2e6;
}
.news-social a {
    color: inherit;
    margin-right: 1rem;
    font-size: 1.5rem;
    transition: opacity 0.2s;
}
.news-social a:hover { opacity: 0.7; }

.news-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.news-card-header {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 1px solid #dee2e6;
}
.news-card-body { padding: 0; }

.news-latest-item {
    display: flex;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
}
.news-latest-item:last-child { border-bottom: none; }

.news-latest-thumb {
    width: 100px;
    flex-shrink: 0;
    margin-right: 1rem;
    border-radius: 0.35rem;
    overflow: hidden;
}
.news-latest-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.news-latest-content {
    flex: 1;
    min-width: 0;
}
.news-latest-title {
    font-weight: 600;
    color: #212529;
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.news-latest-title:hover { color: #0d6efd; }

.news-related-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: #212529;
    border-radius: 0.35rem;
    margin-bottom: 0.5rem;
    transition: background 0.2s;
}
.news-related-item:hover {
    background: #f8f9fa;
}
.news-related-item i {
    font-size: 1.5rem;
    color: #0d6efd;
    margin-right: 1rem;
    flex-shrink: 0;
}
.news-related-title {
    font-weight: 500;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-py-5 { padding-top: 3rem; padding-bottom: 3rem; }


.notice-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.notice-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}

.notice-table th,
.notice-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.notice-table th {
    background-color: #cc0000;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1;
}

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

.notice-table tr:hover {
    background-color: #f1f8ff;
}

.notice-table-download-btn {
    display: inline-block;
    padding: 8px 14px;
    background-color: #cc0000;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.notice-table-download-btn:hover {
    background-color: #cc0000;
}

.notice-table-remarks p,
.notice-table-remarks div {
    margin: 0;
}

@media (max-width: 768px) {
    .notice-table th,
    .notice-table td {
        min-width: 120px;
        font-size: 14px;
    }
}
