/* =================================================================
   MOBILE RESPONSIVE CSS - CORRECTED VERSION v3
   Fixes: 
   - Hamburger X button visibility on mobile/tablet
   - Search bar positioning on tablet (above social icons)
   - Content sizing on tablet
   - Submenu arrows visibility and animation
   ================================================================= */

/* 1. RESETĂRI & GENERALE
   ================================================================= */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body, td {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Trebuchet MS", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}

/* --- FIX UP BUTTON (DREAPTA JOS) --- */
#scrollToTop {
    position: fixed !important;
    bottom: 25px !important;
    right: 20px !important;
    left: auto !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(0, 58, 231, 0.9) !important;
    z-index: 99999 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

/* Link-uri */
a:link, a:visited { color: #003ae7; transition: color 0.2s ease; }
a:hover { color: #0052ff; text-decoration: none; }

/* Imagini & Video */
img { max-width: 100%; height: auto; }
video { background: transparent; }

/* Butoane Generale */
input.button, button {
    background: linear-gradient(to bottom, #003ae7, #0052ff);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    touch-action: manipulation;
}

input.button:hover, button:hover {
    background: linear-gradient(to bottom, #0052ff, #0066ff);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 58, 231, 0.3);
}

/* Carduri / Module */
.moduletable, .module, table.contentpaneopen {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Container Social & Video */
.social-media-container {
    text-align: center;
    padding: 15px 10px;
    width: 100%;
    background: #ffffff;
    display: block;
    clear: both;
}
.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    background: #ffffff;
    clear: both;
    padding: 10px 0;
}
.video-container video {
    max-width: 100%;
    height: auto;
    display: block;
    background: transparent;
}

/* Social Media Icons - hover effect (culorile si dimensiunile sunt inline in HTML) */
.social-icon-link {
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.social-icon-link:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35) !important;
    text-decoration: none !important;
}
.social-icon-link i {
    pointer-events: none;
}

/* Blockquote scoala - stiluri de baza */
blockquote.school-intro {
    margin: 0;
    padding: 20px 30px;
    border-left: none;
    background: #ffffff;
    width: 100%;
}

.school-motto {
    text-align: center;
    margin-bottom: 8px;
}

.school-motto h1 {
    color: #003ae7 !important;
    font-style: italic !important;
    font-weight: normal !important;
    margin: 0;
    font-size: 26px;
    line-height: 1.3;
}

.school-welcome {
    text-align: center;
    margin-bottom: 12px;
}

.school-welcome h2 {
    color: #333 !important;
    margin: 0;
    font-size: 20px;
}

.school-description {
    text-align: left;
    line-height: 1.7;
    color: #333;
    font-weight: bold;
}

/* =================================================================
   2. DESKTOP DESIGN (min-width: 981px)
   ================================================================= */
@media screen and (min-width: 981px) {
    
    /* --- HIDE MOBILE/TABLET ELEMENTS --- */
    .mobile-menu-toggle,
    .mobile-header-bar,
    .tablet-header-bar,
    .mobile-search-container,
    .tablet-search-container,
    .menu-overlay,
    .submenu-arrow,
    #logo_image_container_clone {
        display: none !important;
    }
    
    /* --- SHOW ORIGINAL LOGO --- */
    #logo_image_container {
        display: block !important;
        position: absolute !important;
        top: 40px !important;
        left: 10px !important;
        z-index: 100 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    #logo_image_container img {
        width: 200px !important;
        height: auto !important;
    }
    
    /* --- DESKTOP SEARCH CONTAINER --- */
    #h_area {
        display: block !important;
    }
    
    .desktop-search-container {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px;
        background-color: transparent;
        border: none;
        margin-bottom: 10px;
    }

    .desktop-search-container form {
        display: flex;
        width: 100%;
        max-width: 800px;
        background: #fff;
        border-radius: 50px;
        padding: 5px 10px 5px 20px;
        box-shadow: 0 4px 15px rgba(0, 58, 231, 0.15);
        border: 1px solid #e0e0e0;
        align-items: center;
    }

    .desktop-search-input {
        flex: 1;
        padding: 12px 10px;
        border: none !important;
        background: transparent !important;
        font-size: 16px;
        outline: none;
        box-shadow: none !important;
    }

    .desktop-search-container .button {
        border-radius: 50px !important;
        padding: 8px 25px !important;
        margin-left: 10px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        flex-shrink: 0; /* Prevent button from shrinking */
    }
    
    /* Additional styling for search inputs in h_area */
    #h_area input[type="text"],
    #h_area .inputbox {
        min-width: 400px !important; /* Increased from 300px */
        padding: 12px 20px !important;
        font-size: 16px !important;
    }
    
    #h_area form {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* --- LAYOUT & COLUMNS --- */
    div#main_bg {
        width: 75% !important;
        max-width: 1600px !important;
        margin: 0 auto !important;
        background: #FFFFFF !important;
        background-color: #FFFFFF !important;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        /* overflow:hidden inlocuit cu clearfix::after in inline CSS */
    }
    
    /* Coloana Stânga */
    #leftcolumn {
        width: 18% !important;
        margin-right: 1% !important;
        min-height: 1px;
    }

    /* Coloana Centrală cu ambele sidebar-uri */
    #maincolumn {
        width: 60% !important;
        padding: 0 20px !important;
        /* float: left vine din custom-menu.css - OK cu sidebars */
    }

    /* Coloana Centrală cu un singur sidebar - centrata */
    #maincolumn_middle {
        float: none !important;
        width: 78% !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }

    /* Coloana Centrală fara sidebar - centrata */
    #maincolumn_big {
        float: none !important;
        width: 96% !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }

    /* Coloana Dreaptă */
    #rightcolumn {
        width: 18% !important;
        margin-left: 1% !important;
        text-align: right !important;
    }

    #rightcolumn .moduletable, 
    #rightcolumn .module {
        text-align: right !important;
    }

    #rightcolumn ul {
        list-style-position: inside !important;
        padding: 0 !important;
        text-align: right !important;
    }
    
    /* Video */
    .video-container { display: flex; justify-content: center; }
    .video-container video {
        width: 60% !important;
        max-width: 900px;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    }

    /* Blockquote desktop */
    blockquote.school-intro {
        padding: 25px 40px;
    }
    .school-motto h1 { font-size: 28px; }
    .school-welcome h2 { font-size: 22px; }

    .social-icon-link {
        width: 58px !important;
        height: 58px !important;
        margin: 10px !important;
    }
    .social-icon-link i { font-size: 26px !important; }
}

/* =================================================================
   3. TABLET DESIGN (481px - 980px) - HAMBURGER MENU
   ================================================================= */
@media screen and (min-width: 481px) and (max-width: 980px) {
    
    /* --- HIDE DESKTOP ELEMENTS --- */
    #h_area {
        display: none !important;
    }
    
    #logo_image_container {
        display: none !important;
    }
    
    /* --- BODY & CONTAINER --- */
    body { 
        width: 100%; 
        background: #ffcc69; 
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* --- TABLET HEADER BAR (TRANSPARENT BACKGROUND) --- */
    .mobile-header-bar {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        background: transparent !important;
        padding: 15px !important;
        box-shadow: none !important;
        position: relative !important;
        margin: 0 !important;
        min-height: 80px !important;
        z-index: 50 !important; /* Lower than hamburger and menu */
    }

    /* Logo (Centered, takes most space) */
    #logo_image_container_clone {
        display: block !important;
        text-align: center !important;
        flex: 1 !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 10px 0 !important;
        z-index: 50 !important;
    }

    #logo_image_container_clone img {
        width: 200px !important;
        height: auto !important;
        display: inline-block !important;
    }

    /* --- HAMBURGER BUTTON (FIXED POSITION ON TABLET) - HIGHEST Z-INDEX --- */
    .mobile-menu-toggle {
        display: block !important;
        position: fixed !important;
        top: 15px !important;
        right: 15px !important;
        width: 50px !important;
        height: 50px !important;
        background: #003ae7 !important;
        border-radius: 8px !important;
        z-index: 100003 !important; /* HIGHEST - above menu panel */
        padding: 10px !important;
        border: none !important;
        cursor: pointer !important;
        box-shadow: 0 2px 10px rgba(0, 58, 231, 0.3) !important;
        pointer-events: auto !important;
        transition: background 0.3s ease !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .mobile-menu-toggle span {
        display: block !important;
        width: 28px !important;
        height: 3px !important;
        background: white !important;
        margin: 5px auto !important;
        transition: all 0.3s ease !important;
        border-radius: 2px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-menu-toggle.active {
        background: #ff0000 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-menu-toggle.active span {
        visibility: visible !important;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) { 
        transform: rotate(45deg) translate(7px, 7px) !important;
        opacity: 1 !important;
    }
    
    .mobile-menu-toggle.active span:nth-child(2) { 
        opacity: 0 !important;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) { 
        transform: rotate(-45deg) translate(7px, -7px) !important;
        opacity: 1 !important;
    }

    /* --- TABLET SEARCH BAR (TOP OF MAINCOLUMN - ABOVE SOCIAL ICONS) --- */
    .tablet-search-container {
        display: block !important;
        padding: 15px !important;
        background: #f4f4f4 !important;
        text-align: center !important;
        margin: 0 0 20px 0 !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
        order: 1 !important; /* Appears first */
    }
    
    .tablet-search-container input[type="text"], 
    .tablet-search-container .inputbox {
        width: 100% !important;
        max-width: 500px !important;
        padding: 12px 20px !important;
        border-radius: 30px !important;
        border: 1px solid #ddd !important;
        margin-bottom: 10px !important;
        font-size: 16px !important;
        background: #fff !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
    }
    
    .tablet-search-container .button { 
        width: 100% !important;
        max-width: 400px !important;
        margin-top: 10px !important;
        border-radius: 30px !important;
        margin-left: 0 !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
        font-weight: bold !important;
    }
    
    /* --- MAIN CONTENT CONTAINER (PROPER SIZING FOR TABLET) --- */
    div#main_bg { 
        width: 95% !important;
        max-width: 900px !important;
        margin: 0 auto 20px auto !important;
        background: #FFFFFF !important;
        padding: 20px !important;
        min-height: 600px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        border-radius: 8px;
        position: relative !important;
        z-index: 1 !important; /* Below menu and hamburger */
    }

    /* --- COLUMNS (Full Width, Stacked, Properly Sized Content) --- */
    #leftcolumn, 
    #rightcolumn, 
    #maincolumn, 
    .maincolumn_middle, 
    .maincolumn_big {
        width: 100% !important;
        float: none !important;
        padding: 0 !important;
        margin: 0 auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    
    /* Hide leftcolumn and rightcolumn on tablet to prevent duplication */
    #leftcolumn,
    #rightcolumn {
        display: none !important;
    }
    
    /* Also hide any search modules that might appear elsewhere */
    #rightcolumn .moduletable,
    #rightcolumn .module,
    #leftcolumn .moduletable,
    #leftcolumn .module {
        display: none !important;
    }
    
    /* Hide user4 position if it contains search */
    #user4 {
        display: none !important;
    }
    
    /* Hide sidebars on tablet to prevent duplication */
    #leftcolumn,
    #rightcolumn {
        display: none !important;
    }
    
    /* Fix content overflow and sizing in main column */
    #maincolumn *, 
    .maincolumn_middle *, 
    .maincolumn_big * {
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    #maincolumn img,
    .maincolumn_middle img,
    .maincolumn_big img {
        height: auto !important;
        max-width: 100% !important;
    }
    
    #maincolumn table,
    .maincolumn_middle table,
    .maincolumn_big table {
        width: 100% !important;
        table-layout: auto !important;
        font-size: 13px !important;
    }
    
    /* Scale down text content slightly on tablet */
    #maincolumn,
    .maincolumn_middle,
    .maincolumn_big {
        font-size: 15px !important;
    }
    
    #maincolumn h1, .maincolumn_middle h1, .maincolumn_big h1 {
        font-size: 26px !important;
    }
    
    #maincolumn h2, .maincolumn_middle h2, .maincolumn_big h2 {
        font-size: 22px !important;
    }
    
    #maincolumn h3, .maincolumn_middle h3, .maincolumn_big h3 {
        font-size: 18px !important;
    }
    
    /* --- SIDEBARS --- */
    #leftcolumn, #rightcolumn { 
        display: none !important; 
    }
    
    .mobile-sidebar-container { 
        display: none !important; 
    }

    /* --- MENU OVERLAY --- */
    .menu-overlay {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.6) !important;
        z-index: 100000 !important; /* Between content and menu */
    }
    
    .menu-overlay.active {
        display: block !important;
    }

    /* --- MENU PANEL --- */
    div#top_menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 85% !important;
        max-width: 350px !important;
        height: 100vh !important;
        background: #003ae7 !important;
        z-index: 100001 !important; /* Above overlay, below hamburger */
        transition: right 0.3s ease !important;
        overflow-y: auto !important;
        padding-top: 80px !important;
        box-shadow: -5px 0 20px rgba(0,0,0,0.3) !important;
    }
    
    div#top_menu.active {
        right: 0 !important;
    }

    /* --- SOCIAL ICONS (BELOW SEARCH BAR) --- */
    .social-media-container {
        order: 2 !important; /* Appears after search */
        padding: 20px 0 !important;
    }

    .social-icon-link {
        width: 55px !important;
        height: 55px !important;
        margin: 8px !important;
    }
    .social-icon-link i { font-size: 28px !important; }

    .video-container video {
        width: 90% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        display: block;
    }

    /* Blockquote tablet */
    blockquote.school-intro {
        padding: 20px !important;
    }
    .school-motto h1 { font-size: 22px !important; }
    .school-welcome h2 { font-size: 18px !important; }
    .school-description { font-size: 14px !important; }
}

/* =================================================================
   4. MOBILE DESIGN (max 480px)
   ================================================================= */
@media screen and (max-width: 480px) {
    
    /* --- HIDE DESKTOP ELEMENTS --- */
    #h_area {
        display: none !important;
    }
    
    #logo_image_container {
        display: none !important;
    }
    
    /* Resetări & Fundal Mobile */
    html, body { 
        width: 100vw; 
        max-width: 100vw; 
        overflow-x: hidden; 
        margin: 0; 
        padding: 0; 
        background: #ffcc69; 
    }
    
    div#main_bg { 
        width: 100% !important; 
        max-width: 100% !important; 
        margin: 0 !important; 
        background: #FFFFFF !important;
        padding: 15px !important;
        position: relative !important;
        z-index: 1 !important; /* Below menu and hamburger */
    }
    
    #maincolumn, 
    .maincolumn_middle, 
    .maincolumn_big { 
        padding: 15px !important; 
        width: 100% !important;
        margin: 0 auto !important;
    }

    /* --- HEADER BAR (Logo + Hamburger) --- */
    .mobile-header-bar {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        background: #ffcc69;
        padding: 10px 15px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        position: sticky;
        top: 0;
        z-index: 100 !important; /* Below hamburger and menu */
        min-height: 70px;
        margin: -15px -15px 0 -15px;
    }

    /* Logo (Cloned, Visible) */
    #logo_image_container_clone {
        display: block !important;
        text-align: center !important;
        flex: 1 !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 100 !important;
    }
    
    #logo_image_container_clone img {
        width: 160px !important;
        height: auto !important;
        display: inline-block !important;
    }

    /* --- HAMBURGER BUTTON (FIXED POSITION, HIGHEST Z-INDEX) --- */
    .mobile-menu-toggle {
        display: block !important;
        position: fixed !important;
        top: 15px !important;
        right: 15px !important;
        width: 50px !important;
        height: 50px !important;
        background: #003ae7 !important;
        border-radius: 8px !important;
        z-index: 100003 !important; /* HIGHEST - above everything */
        padding: 10px !important;
        border: none !important;
        cursor: pointer !important;
        box-shadow: 0 4px 15px rgba(0, 58, 231, 0.4) !important;
        flex-shrink: 0 !important;
        pointer-events: auto !important;
        transition: background 0.3s ease !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .mobile-menu-toggle span {
        display: block !important;
        width: 28px !important;
        height: 3px !important;
        background: white !important;
        margin: 5px auto !important;
        transition: all 0.3s ease !important;
        border-radius: 2px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-menu-toggle.active {
        background: #ff0000 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-menu-toggle.active span {
        visibility: visible !important;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) { 
        transform: rotate(45deg) translate(7px, 7px) !important;
        opacity: 1 !important;
    }
    
    .mobile-menu-toggle.active span:nth-child(2) { 
        opacity: 0 !important;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) { 
        transform: rotate(-45deg) translate(7px, -7px) !important;
        opacity: 1 !important;
    }

    /* --- MOBILE SEARCH BAR (TOP OF MAINCOLUMN - ABOVE SOCIAL ICONS) --- */
    .mobile-search-container { 
        display: block !important;
        padding: 15px !important;
        background: #f4f4f4 !important;
        text-align: center !important;
        margin: 0 0 20px 0 !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
        order: 1 !important; /* Appears first */
    }
    
    .mobile-search-container .inputbox {
        width: 100% !important;
        padding: 12px 20px !important;
        border-radius: 30px !important;
        border: 1px solid #ddd !important;
        margin-bottom: 10px !important;
        font-size: 16px !important;
        background: #fff !important;
    }
    
    .mobile-search-container .button { 
        width: 100% !important;
        margin-top: 10px !important;
        border-radius: 30px !important;
        font-size: 18px !important;
        padding: 12px !important;
    }

    /* --- MENIU LATERAL --- */
    div#top_menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 85% !important;
        max-width: 320px !important;
        height: 100vh !important;
        background: #003ae7 !important;
        z-index: 100001 !important; /* Above overlay, below hamburger */
        transition: right 0.3s ease !important;
        overflow-y: auto !important;
        padding-top: 80px !important;
        box-shadow: -5px 0 20px rgba(0,0,0,0.3) !important;
    }
    
    div#top_menu.active { 
        right: 0 !important;
    }
    
    .menu-overlay {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0,0,0,0.6) !important;
        z-index: 100000 !important; /* Between content and menu */
    }
    
    .menu-overlay.active { 
        display: block !important;
    }
    
    body.menu-open { 
        overflow: hidden !important;
    }

    /* Stiluri Link-uri Meniu */
    #topnav ul { 
        padding: 0 !important; 
        margin: 0 !important; 
    }
    
    #topnav ul li { 
        display: block; 
        width: 100%; 
        border-bottom: 1px solid rgba(255,255,255,0.1); 
        position: relative;
    }
    
    #topnav ul li a { 
        color: white; 
        padding: 15px 20px; 
        display: block; 
        font-size: 16px;
    }

    /* Submeniuri */
    #topnav ul li ul { 
        max-height: 0; 
        overflow: hidden; 
        background: rgba(0,0,0,0.2); 
        transition: max-height 0.3s ease; 
        position: static !important;
    }
    
    #topnav ul li.submenu-open > ul { 
        max-height: 1500px; 
    }
    
    #topnav ul li ul li a { 
        padding-left: 35px; 
        font-size: 14px; 
    }
    
    /* Hide CSS-based arrows (controlled by JS now) */
    #topnav ul li.has-submenu > a::after,
    #topnav li.has-submenu > a::after {
        display: none !important;
        content: none !important;
    }
    
    /* Visible submenu arrows (added by JS) */
    .submenu-arrow {
        position: absolute !important;
        right: 0 !important;
        top: 0 !important;
        width: 55px !important;
        height: 55px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: white !important;
        font-size: 20px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        cursor: pointer !important;
        z-index: 10 !important;
        border-left: 1px solid rgba(255,255,255,0.1) !important;
        transition: transform 0.3s ease !important;
    }
    
    .submenu-arrow.active {
        transform: rotate(90deg) !important;
    }
    
    /* --- SIDEBARS --- */
    #leftcolumn, #rightcolumn { 
        display: none; 
    }
    
    /* Social icons BELOW search */
    .social-media-container {
        padding: 20px 0 !important;
        order: 2 !important; /* Appears after search */
    }
    
    .mobile-sidebar-container { 
        margin-top: 20px; 
        padding: 10px; 
        order: 15 !important;
    }
    
    .mobile-sidebar-section { 
        background: white; 
        margin-bottom: 15px; 
        border-radius: 8px; 
        box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
    }
    
    .mobile-sidebar-header {
        background: #003ae7; 
        color: white; 
        padding: 15px; 
        font-weight: bold; 
        cursor: pointer;
        display: flex; 
        justify-content: space-between; 
        align-items: center;
    }
    
    .mobile-sidebar-header::after { 
        content: '▼'; 
        font-size: 14px; 
    }
    
    .mobile-sidebar-header.active::after { 
        transform: rotate(180deg); 
    }
    
    .mobile-sidebar-content { 
        max-height: 0; 
        overflow: hidden; 
        padding: 0 15px; 
        transition: all 0.3s ease; 
    }
    
    .mobile-sidebar-content.active { 
        max-height: 2000px; 
        padding: 15px; 
    }

    /* --- SOCIAL ICONS (ENLARGED pe mobil) --- */
    .social-icon-link {
        width: 60px !important;
        height: 60px !important;
        margin: 10px !important;
    }
    .social-icon-link i { font-size: 32px !important; }

    /* Blockquote mobil */
    blockquote.school-intro {
        padding: 15px !important;
    }
    .school-motto h1 { font-size: 18px !important; }
    .school-welcome h2 { font-size: 16px !important; }
    .school-description { font-size: 13px !important; line-height: 1.6 !important; }
}