/* =========================================
   RSSM Base Styles & Variables
   ========================================= */
:root {
    /* Color Palette */
    --primary-color: #0d2e5a;
    /* Deep Academic Blue */
    --secondary-color: #fca311;
    /* Gold/Accent */
    --accent-color: #e63946;
    /* Red for alerts/highlights */
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --text-color: #333333;
    --text-muted: #666666;
    --white: #ffffff;

    /* Typography */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;

    /* Effects */
    --transition: all 0.3s ease-in-out;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.section-padding {
    padding: 80px 0;
}

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

.color-accent {
    color: var(--secondary-color);
}

.bg-light {
    background-color: var(--light-bg);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(252, 163, 17, 0.2);
}

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

/* Section Header */
.section-header {
    margin-bottom: 50px;
}

.section-header .sub-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-header .title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header .line {
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 0 auto;
    border-radius: 5px;
}

/* =========================================
   1. Header & Navigation (nei.org.in style)
   ========================================= */

/* Topbar */
.topbar {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

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

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar a {
    color: #e0e0e0;
    font-weight: 400;
}

.topbar a:hover {
    color: var(--white);
}

.topbar i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.topbar-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar-links a {
    font-weight: 500;
}

.btn-admission {
    background: var(--secondary-color);
    color: var(--white) !important;
    padding: 5px 15px;
    border-radius: 3px;
}

.btn-admission i {
    color: inherit !important;
}

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

/* Main Header */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 15px 0;
}

.logo-area {
    margin-bottom: 15px;
    width: 100%;
}

.logo-area a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

@media (min-width: 992px) {
    .logo-area a {
        flex-direction: row;
        justify-content: center;
        text-align: left;
    }
}

.logo-img {
    height: 100px;
    width: auto;
    border-radius: 50%;

    background-color: var(--white);
    padding: 2px;
}

@media (min-width: 992px) {
    .logo-img {
        height: 130px;
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 992px) {
    .logo-text {
        align-items: flex-start;
    }
}

.logo-text h1 {
    font-size: 1.4rem;
    margin: 0;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

@media (min-width: 992px) {
    .logo-text h1 {
        font-size: 2.2rem;
    }
}

.logo-text .hindi-title {
    font-size: 1.1rem;
    margin: 3px 0 8px;
    color: var(--primary-color);
    font-weight: 600;
}

@media (min-width: 992px) {
    .logo-text .hindi-title {
        font-size: 1.8rem;
    }
}

.logo-text .affiliation-text {
    font-size: 0.85rem;
    margin: 0;
    font-weight: 600;
    display: inline-block;
    background: rgba(252, 163, 17, 0.1);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 20px;
    border-left: 3px solid var(--secondary-color);
}

@media (min-width: 992px) {
    .logo-text .affiliation-text {
        font-size: 1rem;
    }
}

.logo-text .affiliation-text i {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* Navbar Wrapper (Full Width) */
.navbar-wrapper {
    background: var(--primary-color);
    width: 100%;
}

/* Navigation Links */
.main-nav {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    padding: 10px 0;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links>li {
    position: relative;
    margin: 0;
}

.nav-links>li>a {
    display: block;
    padding: 20px 12px;
    color: var(--white);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    position: relative;
}

.nav-links>li>a.active,
.nav-links>li>a:hover {
    color: var(--secondary-color);
}

.nav-links .dropdown>a i {
    font-size: 10px;
    margin-left: 5px;
    transition: var(--transition);
}

.nav-links .dropdown:hover>a i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-top: 3px solid var(--secondary-color);
    border-radius: 0 0 5px 5px;
}

.nav-links .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #f1f1f1;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    padding-left: 25px;
    color: var(--secondary-color);
    background: #fdfdfd;
}

/* =========================================
   2. News Ticker
   ========================================= */
.news-ticker {
    display: flex;
    background: #e9ecef;
    /* Slightly darker than light-bg but not primary */
    color: var(--primary-color);
    height: 40px;
    overflow: hidden;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
}

.ticker-title {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
    white-space: nowrap;
}

.ticker-title::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    border-left: 10px solid var(--secondary-color);
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
}

.ticker-wrap {
    flex-grow: 1;
    padding-left: 20px;
    overflow: hidden;
}

.ticker-move {
    display: flex;
    white-space: nowrap;
    animation: ticker 25s linear infinite;
}

.ticker-move:hover {
    animation-play-state: paused;
}

@keyframes ticker {
    0% {
        transform: translate3d(100%, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

.ticker-item {
    margin-right: 50px;
    font-size: 14px;
    font-weight: 400;
}

.ticker-item i {
    margin-right: 8px;
}

/* =========================================
   3. Hero Slider
   ========================================= */
.hero-slider {
    position: relative;
    height: calc(100vh - 120px);
    /* Adjust based on header height */
    min-height: 500px;
    overflow: hidden;
    background: #000;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 20s linear infinite alternate;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: var(--white);
    z-index: 10;
    max-width: 600px;
}

.slide-content h2 {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .slide-content h2 {
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .slide-content p {
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.slide-content .btn {
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .slide-content .btn {
    animation: fadeInUp 0.8s ease forwards 0.9s;
}

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

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 30px;
    pointer-events: none;
}

.slider-controls button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--white);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    pointer-events: auto;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.slider-controls button:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background: var(--secondary-color);
    transform: scale(1.2);
}

/* =========================================
   4. Leadership Section
   ========================================= */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.leader-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid #f0f0f0;
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.leader-img {
    height: 280px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #e9ecef;
}

.leader-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.leader-card:hover .leader-img img {
    transform: scale(1.05);
}

.user-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), #2c5282);
    color: var(--white);
    font-size: 5rem;
}

.leader-info {
    padding: 25px 20px;
}

.leader-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.leader-info .designation {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.leader-info .short-bio {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* =========================================
   5. Courses Section
   ========================================= */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.course-card {
    background: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-color);
    transition: var(--transition);
    z-index: -1;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.course-card:hover::before {
    width: 100%;
    opacity: 0.03;
}

.course-icon {
    width: 70px;
    height: 70px;
    background: rgba(252, 163, 17, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.course-card:hover .course-icon {
    background: var(--secondary-color);
    color: var(--white);
    transform: rotateY(360deg);
}

.course-title {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.course-details .duration {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.course-desc {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.subjects h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.subjects ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.subjects li {
    font-size: 0.95rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.subjects li i {
    color: var(--secondary-color);
    margin-right: 8px;
    font-size: 0.8rem;
}

/* =========================================
   6. Gallery Section
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 46, 90, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

.gallery-item:hover .gallery-overlay span {
    transform: scale(1);
}

/* =========================================
   7. Footer
   ========================================= */
.site-footer {
    background: var(--dark-bg);
    color: #cccccc;
}

.footer-top {
    padding: 70px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;

    padding: 10px;
    border-radius: 5px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

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

.footer-col.links ul a {
    color: #cccccc;
}

.footer-col.links ul a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    margin-bottom: 20px;
}

.contact-list .icon {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 3px;
}

.contact-list.text,
.contact-list a {
    color: #cccccc;
}

.contact-list a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    background: #111111;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* =========================================
   About Us Section
   ========================================= */
.about-section {
    position: relative;
    background: var(--white);
    overflow: hidden;
}

.about-container {
    display: flex;
    align-items: stretch;
    gap: 60px;
}

.about-content {
    flex: 1.2;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
}



.about-image-wrapper {
    flex: 0.8;
}

.image-box {
    position: relative;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-hover);
    height: 100%;
}

.main-about-img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 4px solid var(--secondary-color);
}

.experience-badge .number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    font-family: var(--heading-font);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   8. Responsive Design
   ========================================= */
@media (max-width: 1200px) {
    .about-container {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .section-header .line {
        margin: 0 auto !important;
    }

    .about-features {
        justify-content: center;
    }

    .about-btn-group {
        justify-content: center;
    }

    .about-image-wrapper {
        margin-top: 50px;
        width: 100%;
        max-width: 500px;
    }

    .experience-badge {
        left: 20px;
    }

    .image-box {
        height: 350px;
    }
}

@media (max-width: 1200px) {
    .nav-links>li>a {
        padding: 20px 6px;
        font-size: 11px;
    }
}

@media (max-width: 991px) {
    .hide-mobile {
        display: none !important;
    }

    .topbar-contact,
    .topbar-links {
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }

    .topbar-links {
        margin-bottom: 0;
    }

    .topbar-inner {
        flex-direction: column;
    }

    .header-inner {
        padding: 10px 15px;
    }

    .logo-area {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0;
    }

    .logo-area a {
        flex-direction: column;
        text-align: center;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .logo-text .hindi-title {
        font-size: 0.9rem;
    }

    .logo-text .affiliation-text {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .navbar-wrapper {
        padding: 5px 15px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav {
        width: 100%;
        border-top: none;
        justify-content: flex-end;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--white);
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 15px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links>li {
        width: 100%;
    }

    .nav-links>li>a {
        padding: 12px 20px;
        color: var(--primary-color);
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links>li>a::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: #f9f9f9;
        border-top: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding-left: 40px;
    }

    .slide-content h2 {
        font-size: 2.5rem;
    }

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

@media (max-width: 768px) {

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

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

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

    .logo-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo-area a {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .logo-text h1 {
        font-size: 1.1rem;
        line-height: 1.2;
    }

    .logo-text .hindi-title {
        font-size: 1rem;
    }

    .logo-text .affiliation-text {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .logo-img {
        max-width: 70px;
        height: auto;
    }

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

@media (max-width: 480px) {
    .topbar-inner {
        flex-direction: column;
        gap: 12px;
        padding: 10px 5px;
    }

    .topbar-contact,
    .topbar-links {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
        gap: 10px;
    }

    .topbar-links a {
        font-size: 12px;
    }

    .btn-admission {
        width: 100%;
        text-align: center;
    }

    .logo-area a {
        flex-direction: column;
        text-align: center;
    }

    .logo-img {
        margin-bottom: 5px;
    }
}