/* Top Bar Styling */
.top-bar {
    background-color: #2c2c2c !important;
    min-height: 30px;
    font-family: 'Arial', sans-serif;
    position: relative;
    z-index: 1000;
}

/* Top Header (Red Bar) Styling */
.top-header {
    background: #DD2027 !important;
    height: 30px !important;
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 15px !important;
    font-size: 14px !important;
    color: white !important;
    font-family: Arial, sans-serif !important;
    position: relative !important;
    z-index: 1001 !important;
    margin-bottom: 0 !important;
}

/* Main Header Styling */
.main-header {
    background-color: #ffffff !important;
    border-bottom: 2px solid #007bff;
    font-family: 'Arial', sans-serif;
    position: relative;
    z-index: 1000;
    margin-top: 0 !important;
}

/* Header Element Styling */
header {
    background: #fff6f7 !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
    border-bottom: 1px solid #dee2e6 !important;
    position: relative !important;
    z-index: 999 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Logo Styling */
.navbar-brand .fw-bold.fs-3 {
    font-family: 'Arial', sans-serif;
    letter-spacing: 1px;
}

/* Action Buttons Styling */
.main-header .btn-outline-secondary {
    border: 1px solid #6c757d;
    color: #6c757d;
    background-color: white;
    font-weight: 500;
    transition: all 0.2s ease;
    font-family: 'Arial', sans-serif;
}

.main-header .btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #6c757d;
    color: #6c757d;
}

.main-header .btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    font-weight: 600;
}

.main-header .btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Navigation Links */
.main-header .nav-link {
    color: #333 !important;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 12px;
    transition: color 0.2s ease;
}

.main-header .nav-link:hover {
    color: #dc3545 !important;
}

/* Dropdown Styling */
.main-header .dropdown-menu {
    min-width: 220px;
    padding: 0.5rem 0;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.main-header .dropdown-item {
    font-size: 14px;
    padding: 8px 16px;
    color: #333;
    transition: all 0.2s ease;
}

.main-header .dropdown-item:hover {
    background-color: #f5f5f5;
    color: #dc3545;
}

.main-header .nav-link.dropdown-toggle::after {
    margin-left: 4px;
    vertical-align: middle;
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-left: .3em solid transparent;
    content: "";
}

.main-header .nav-item.dropdown:hover>.dropdown-menu {
    display: block;
}

/* Language Selection */
.main-header .btn-link {
    text-decoration: none;
    font-weight: 600;
}

.main-header .btn-link.text-danger {
    color: #dc3545 !important;
}

.main-header .btn-link.text-primary {
    color: #007bff !important;
}

/* Phone Number */
.main-header .fa-phone {
    color: #6c757d;
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-header .dropdown-menu {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
    }

    .main-header .d-none.d-lg-flex {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .main-header .navbar-brand .fw-bold.fs-3 {
        font-size: 1.5rem !important;
    }

    .main-header .navbar-brand small {
        font-size: 0.7rem;
    }
}

header .nav-link {
    font-size: 14px;
    transition: color 0.2s ease;
}

header .nav-link:hover {
    color: #e11b22 !important;
}

header .dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #e11b22;
}


.kidba-menu-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 6px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    z-index: 9999;
    overflow-y: auto;
}

.kidba-menu-sidebar.active {
    right: 0;
}

.sidebar__close-btn {
    background: none;
    border: none;
    font-size: 16px;
    color: #e11b22;
    cursor: pointer;
    margin: 10px;
}

.kidba-menu-sidebar-bottom a {
    display: block;
    padding: 10px 15px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}


.kidba-menu-sidebar-bottom a:hover {
    background-color: #f8f9fa;
    color: #e11b22;
}

/* ? Hide sidebar on large screens */
@media (min-width: 992px) {
    .kidba-menu-sidebar {
        display: none !important;
    }
}

.about-section {
    background-color: #fff;
    text-align: center;
    padding: 80px 0;
}

.about-title {
    position: relative;
    display: inline-block;
    font-weight: 700;
    font-size: 30px;
    color: #333;
    text-transform: capitalize;
    margin-bottom: 30px;
}

/* ?? Mobile view adjustment */
@media (max-width: 576px) {
    .about-title {
        font-size: 18px;
    }
}

.about-title::before,
.about-title::after {
    content: "";
    display: inline-block;
    width: 50px;
    height: 3px;
    background-color: #eb8183;
    vertical-align: middle;
    margin: 0 15px;
    border-radius: 3px;
}

.about-description {
    /*    max-width: 900px;
*/
    color: #555;
    font-size: 17px;
    line-height: 1.9;
    text-align: center;
}

.about-btn {
    background-color: #00aeef;
    color: #fff;
    font-weight: 500;
    padding: 8px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-btn:hover {
    background-color: #008ecc;
    color: #fff;
}

/* Course Card Styling */
.course-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Image Styling */
.course-img-link img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 10px 10px 0 0;
    transition: transform 0.3s ease;
}

.course-img-link:hover img {
    transform: scale(1.05);
}

.course-title {
    text-decoration: none !important;
    /* Removes underline */
    color: #333;
    /* Optional: sets text color */
    font-weight: 600;
    /* Optional: makes it bold */
    transition: color 0.2s ease;
    /* Optional: smooth hover color */
}

.course-title:hover {
    color: #e11b22;
    /* Optional: hover color */
}

/* Card Text */
.course-card .card-text {
    font-size: 0.9rem;
    color: #555;
    margin-top: 8px;
}

/* View More Button */
.tl-def-btn.tl-4-def-btn {
    padding: 10px 25px;
    background-color: #e11b22;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.tl-def-btn.tl-4-def-btn:hover {
    background-color: #c71a1f;
    text-decoration: none;
}

.program:hover .program-img {
    transform: scale(1.05);
}

.program-name {
    position: relative;
    font-weight: 600;
    font-size: 1rem;
    color: #222;
    display: inline-block;
    cursor: pointer;
}

/* underline effect on hover */
.program-name::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -3px;
    background-color: #dd2027;
    /* red underline */
    transition: width 0.3s ease-in-out;
}

.program-name:hover::after {
    width: 100%;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Gradient text style */
.gradient-text {
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    text-align: center;
}

/* Style for centered text */
.centered-text {
    display: block;
    /* Make it block-level to take up full width */
    text-align: center;
    /* Center the text */
    font-size: 36px;
}

/* Style for the paragraph text */
.grid-text {
    font-size: 20px;
    color: #333;
    margin-top: 10px;
}





/* Style for images inside grid items */
.grid-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

/* Style for the text inside grid items */
.grid-text {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
    color: #11519c;
}


/* Style for the title inside the grid item */
.grid-title {
    border: 2px solid #00072D;
    /* Border color and thickness */
    padding: 15px;
    /* Padding inside the border */
    border-radius: 8px;
    /* Rounded corners */
    background-color: #fefaf2;
    /* Optional: background color for the title box */
    margin: 10px 0;
    /* Margin to separate it from other elements */
    display: inline-block;
    /* Keeps the title box in line with the content */
}

/* Title Text Styling */
.grid-title h3 {
    font-size: 24px;
    font-weight: bold;
    color: #00072D;
    /* Title text color */
    margin: 0;
}

/* --- Mentor Card Styling --- */
.mentor-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
}

.mentor-card:hover {
    transform: translateY(-5px);
}

/* --- Image Styling --- */
.mentor-img-wrapper {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mentor-img {
    max-height: 100%;
    object-fit: contain;
}

/* --- Info Section --- */
.mentor-info {
    background-color: #dd2027;
    padding: 10px 0;
    border-top: 1px solid #fff;
}

.mentor-info h5 {
    font-size: 1.1rem;
}

.mentor-info small {
    font-size: 0.85rem;
    display: block;
}

/* --- Owl Carousel Arrows (Optional Customization) --- */
.owl-nav button.owl-prev,
.owl-nav button.owl-next {
    background: none;
    border: 2px solid red;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 22px;
    line-height: 1;
    color: red;
    margin: 0 5px;
}

.owl-nav button span {
    font-weight: bold;
    font-size: 1.5rem;
    color: red;
}

/* FAQ Accordion Styling */
.faq .card {
    border: 1px solid #e0f2f7;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.faq .card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq .card-header {
    background: #e0f2f7;
    border: none;
    padding: 15px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq .card-header:hover {
    background: #d1ecf1;
}

.faq .card-header[aria-expanded="true"] {
    background: #d1ecf1;
}

/* Dark blue accent bar for active items */
.faq .card-header[aria-expanded="true"]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #1976d2;
}

.faq .faq-title {
    color: #333;
    font-weight: 500;
    cursor: pointer;
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.faq .card-body {
    background: white;
    padding: 20px;
    border-top: 1px solid #e0f2f7;
}

.faq .card-body p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Chevron rotation animation */
.faq .fas.fa-chevron-down {
    transition: transform 0.3s ease;
}

.faq .card-header[aria-expanded="true"] .fas.fa-chevron-down {
    transform: rotate(180deg);
}

/* Triangle icon styling */
.faq .fas.fa-play {
    color: #333;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.faq .card-header[aria-expanded="true"] .fas.fa-play {
    transform: rotate(90deg);
}

/* HOD Card Styling */
.hod-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.hod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hod-image-wrapper {
    background: white;
    padding: 30px 20px 20px 20px;
}

.hod-image-portrait {
    width: 140px;
    /* narrower than height */
    height: 200px;
    /* taller portrait rectangle */
    border-radius: 12px;
    /* softly rounded corners */
    overflow: hidden;
    border: 3px solid #f8f9fa;
    margin: 0 auto;
}

.hod-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hod-card:hover .hod-image {
    transform: scale(1.05);
}

/* HOD Carousel Navigation */
.hod-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.hod-carousel .owl-nav button {
    background: #dd2027 !important;
    border: none !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    color: white !important;
    font-size: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: all;
    transition: all 0.3s ease;
}

.hod-carousel .owl-nav button:hover {
    background: #c71a1f !important;
    transform: scale(1.1);
}

.hod-carousel .owl-nav button.owl-prev {
    margin-left: -20px;
}

.hod-carousel .owl-nav button.owl-next {
    margin-right: -20px;
}

/* HOD Carousel Dots */
.hod-carousel .owl-dots {
    margin-top: 20px;
}

.hod-carousel .owl-dots .owl-dot span {
    background: #ccc;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hod-carousel .owl-dots .owl-dot.active span {
    background: #dd2027;
    transform: scale(1.2);
}

.accordion-button:not(.collapsed) {
    color: #dd2027 !important;
    background-color: #fff6f7 !important;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

.accordion-body {
    padding: var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x);
    text-align: start !important;
    /*    background: #7c9fc9 !important;
*/
}

.accordion-item:first-of-type .accordion-button {
    border-top-left-radius: var(--bs-accordion-inner-border-radius);
    border-top-right-radius: var(--bs-accordion-inner-border-radius);
    background: #fff6f7 !important;
}

.navbar-brand img {
    height: 50px;
}

/* ?? Mobile view adjustment */
@media (max-width: 576px) {
    .navbar-brand img {
        height: 30px;
    }
}

header {
    background: #fff6f7;
    /*    height: 110px;
*/
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-bottom: 1px solid #dee2e6;
}

/* Mobile view adjustment */
@media (max-width: 576px) {
    header {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .top-header {
        display: none !important;
    }
}


/* Section Title */
.gallery-section h2 {
    color: #0d3b66;
    font-size: 2rem;
    letter-spacing: 0.5px;
}

/* Gallery Card */
.gallery-card {
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Image Wrapper */
.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.1);
}

/* Overlay */
.overlay {
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .overlay {
    opacity: 1;
}

.overlay i {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.gallery-card:hover .overlay i {
    opacity: 1;
    transform: scale(1);
}

/* Modal Styling */
.modal-content img {
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
}

.btn-close-white {
    filter: invert(1);
}

.stats-section {
    background: #fff6f7 !important;
    position: relative;
    overflow: hidden;
}

.stats-section .overlay {
    background: rgba(0, 0, 0, 0.55);
    position: absolute;
    inset: 0;
}

/* ===== Counter Cards ===== */
.counter-card {
    background: #fff;
    border: none;
    transition: all 0.4s ease;
    overflow: hidden;
}

.counter-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ===== Shining Hover Effect ===== */
.counter-card .shine {
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: all 0.75s;
}

.counter-card:hover .shine {
    left: 125%;
}

/* ===== Icon Circle ===== */
.icon-circle {
    width: 100px;
    height: 100px;
    background: #007bff;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.counter-card:hover .icon-circle {
    background: #0056d2;
    transform: scale(1.05);
}

/* ===== Counter Number ===== */
.counter-number {
    font-size: 2rem;
}

/* ===== Counter Title ===== */
.counter-title {
    font-weight: 500;
    font-size: 1rem;
}

.testimonial-section {
    background: #b2dbf3;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.testimonial-box {
    transition: all 0.5s ease;
    border: 2px solid transparent;
    background: #fff;
    position: relative;
    overflow: hidden;
}

/* Hover effect with shine animation */
.testimonial-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.3) 100%);
    transform: skewX(-25deg);
    transition: 0.7s;
}

.testimonial-box:hover::before {
    left: 130%;
}

.testimonial-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    /* optional: initial box-shadow */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-box:hover {
    transform: translateY(-12px);
    /* slightly more lift */
    border-color: #ff7e5f;
    background: #fff6f7;
    color: black;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    /* deeper shadow on hover */
}

.testimonial-box:hover .testimonial-text,
.testimonial-box:hover h6 {
    color: black !important;
}


/* Text and icon styles */
.testimonial-text {
    /*    font-size: 0.95rem;*/
    font-size: 24px;
    line-height: 1.7;
    color: #333;
}

.quote-icon {
    font-size: 24px;
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 20px;
}

/* Center alignment for image and name */
.testimonial-user {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-user img {
    transition: transform 0.4s ease;
}

.testimonial-box:hover .testimonial-user img {
    transform: scale(1.05);
}

/* Carousel dots */
.owl-dots {
    text-align: center;
    margin-top: 25px;
}

.owl-dot span {
    width: 12px;
    height: 12px;
    background: #ddd !important;
    border-radius: 50%;
    margin: 4px;
    transition: all 0.3s;
}

.owl-dot.active span {
    background: #ff7e5f !important;
    width: 25px;
    border-radius: 10px;
}

/* Fix for overlapping header issue */
body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Ensure proper header stacking */
.top-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1050 !important;
}

header.shadow-sm {
    position: sticky !important;
    top: 30px !important;
    z-index: 1040 !important;
}

@media (max-width: 576px) {
    header.shadow-sm {
        top: 0px !important;
    }
}

/* Container fluid adjustments */
.container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Prevent navbar brand image from being too large */
.navbar-brand img {
    max-height: 45px !important;
    width: auto !important;
}

/* Header Container - Flexible Layout to Prevent Overlapping */
.header-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    /* Reduced gap to fit more */
    padding: 8px 0 !important;
    min-height: 60px !important;
    width: 100% !important;
}

/* Logo Section - Flexible but limited */
.header-container>div:first-child {
    flex: 0 0 auto !important;
    width: 140px !important;
    order: 1 !important;
}

/* Navigation Section - Flexible */
.header-container nav {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.15rem !important;
    /* Tight gaps for zoom */
    order: 2 !important;
    min-width: 0 !important;
    /* Crucial for shrinking */
}

/* Right Section (Login) - Fixed Width */
.header-right-section {
    flex: 0 0 auto !important;
    min-width: 120px !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 0.75rem !important;
    order: 3 !important;
}

/* Navigation Links - Compact Spacing */
header nav .nav-link {
    margin: 0 0.05rem !important;
    padding: 0.4rem 0.35rem !important;
    font-size: 0.9rem !important;
    white-space: nowrap !important;
}

/* Removed the 1200px wrap-to-second-line logic to strictly maintain single row as requested */

/* Fine-tune for intermediate sizes/high zoom (992px - 1300px) */
@media screen and (max-width: 1300px) and (min-width: 992px) {
    .header-container {
        gap: 0.15rem !important;
    }

    .header-container>div:first-child {
        width: 120px !important;
    }

    .navbar-brand img {
        max-height: 32px !important;
    }

    header nav .nav-link {
        font-size: 0.78rem !important;
        padding: 0.3rem 0.15rem !important;
        letter-spacing: -0.2px !important;
    }

    .header-right-section {
        min-width: 95px !important;
        gap: 0.5rem !important;
    }

    .header-right-section .btn {
        font-size: 0.8rem !important;
        padding: 0.25rem 0.45rem !important;
    }
}

/* Large screens - show navigation */
@media (min-width: 992px) {
    .header-container nav {
        display: flex !important;
        order: 2 !important;
        flex-basis: auto !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: none !important;
    }

    .navbar-toggler {
        display: none !important;
    }
}

/* Medium screens - show hamburger earlier */
@media (max-width: 991px) {
    .header-container nav {
        display: none !important;
    }

    .navbar-toggler {
        display: block !important;
        margin-right: 10px;
    }

    .header-container {
        min-height: 60px !important;
    }
}

/* Small screens */
@media (max-width: 768px) {
    .header-container>div:first-child {
        min-width: 150px !important;
    }

    .header-right-section {
        min-width: 100px !important;
    }

    .navbar-brand img {
        max-height: 40px !important;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .top-header {
        font-size: 12px !important;
        padding: 0 10px !important;
    }

    .top-header .d-flex {
        gap: 1rem !important;
    }

    .navbar-brand img {
        max-height: 35px !important;
    }

    .header-container {
        padding: 4px 0 !important;
        gap: 0.5rem !important;
    }

    .header-container>div:first-child {
        min-width: 120px !important;
    }

    .header-right-section {
        min-width: 80px !important;
    }

    .header-right-section .btn {
        font-size: 0.8rem !important;
        padding: 0.25rem 0.5rem !important;
    }
}

/* Zoom-specific styles removed to maintain single row layout as requested */
/* (Previous styles caused logo centering and two-row layout on zoom) */