/* ==========================================================================
   TKGAC - Modern Standard Responsive Design System
   File: css/responsive.css
   Calibrated for clean, normal, professional web proportions on both PC and Phone.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GLOBAL RESET & BASELINE (Normal Web Standards)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 15px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    color: #333333;
    background: #f4f7fc;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    transition: color 0.25s ease, background 0.25s ease;
}

p {
    margin-top: 0;
    margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   2. DESKTOP BASELINE (> 992px)
   -------------------------------------------------------------------------- */
@media (min-width: 993px) {
    .nav-toggle,
    #navToggle,
    #menuToggle {
        display: none !important;
    }

    .navbar #navMenu {
        display: flex !important;
    }

    .navbar .menu#simpleMenu {
        display: flex !important;
    }
}

/* --------------------------------------------------------------------------
   3. TOPBAR & HEADER BRANDING (Clean, Normal Proportions)
   -------------------------------------------------------------------------- */
.topbar {
    background: #001f5c !important;
    color: #ffffff !important;
    padding: 7px 4% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 12.5px !important;
    line-height: 1.4 !important;
}

.top-left,
.top-right {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 18px !important;
}

.topbar i {
    color: #ffcc00 !important;
    margin-right: 5px !important;
}

/* HEADER TITLES - EXACT EQUAL SIZES & PROFESSIONAL PROPORTIONS */
.header {
    background: #ffffff !important;
    padding: 12px 4% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 2px solid #eef2f8 !important;
}

.header img {
    width: 75px !important;
    height: auto !important;
    object-fit: contain !important;
}

.header-center {
    text-align: center !important;
    flex: 1 !important;
    padding: 0 15px !important;
}

.header-center h1,
.header-center h2 {
    font-size: 20px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    color: #001f5c !important;
}

.header-center p {
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
    color: #555555 !important;
    margin: 0 !important;
}

/* ROLLING QUOTE MARQUEE */
.quote-text {
    font-size: 13px !important;
    line-height: 22px !important;
    font-weight: 600 !important;
}

/* --------------------------------------------------------------------------
   4. NAVIGATION BAR & DROPDOWNS (Normal Dimensions)
   -------------------------------------------------------------------------- */
.navbar {
    background: #0b0d63 !important;
    padding: 0 4% !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12) !important;
}

.navbar ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.navbar ul li {
    position: relative !important;
}

.navbar ul li a {
    display: block !important;
    padding: 11px 14px !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0.2px !important;
    transition: background 0.2s ease, color 0.2s ease !important;
}

.navbar ul li a:hover {
    background: #ff9800 !important;
    color: #ffffff !important;
}

/* DROPDOWN MENU */
.dropdown-content {
    display: none;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: #081048 !important;
    min-width: 250px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4) !important;
    border: 1px solid rgba(255, 215, 0, 0.35) !important;
    border-radius: 0 0 8px 8px !important;
    z-index: 1000 !important;
    padding: 4px 0 !important;
}

.dropdown:hover > .dropdown-content {
    display: block !important;
}

.navbar ul li .dropdown-content a,
.navbar ul li .sub-dropdown-content a,
.dropdown-content a,
.sub-dropdown-content a {
    color: #ffffff !important;
    background: #081048 !important;
    padding: 11px 18px !important;
    display: block !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-decoration: none !important;
    text-align: left !important;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease !important;
}

.navbar ul li .dropdown-content a:hover,
.navbar ul li .sub-dropdown-content a:hover,
.dropdown-content a:hover,
.sub-dropdown-content a:hover {
    background: #ff9800 !important;
    color: #ffffff !important;
    padding-left: 22px !important;
}

/* SUB DROPDOWN */
.sub-dropdown {
    position: relative !important;
}

.sub-dropdown-content {
    display: none;
    position: absolute !important;
    left: 100% !important;
    top: 0 !important;
    background: #050a30 !important;
    min-width: 230px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4) !important;
    border: 1px solid rgba(255, 215, 0, 0.35) !important;
    border-radius: 6px !important;
    z-index: 1001 !important;
    padding: 4px 0 !important;
}

.sub-dropdown:hover > .sub-dropdown-content {
    display: block !important;
}

.navbar ul li .sub-dropdown-content a,
.sub-dropdown-content a {
    background: #050a30 !important;
    color: #ffffff !important;
}

/* SIMPLE NAVBAR (courses.php, gallery.php) */
.navbar .menu a {
    font-size: 13.5px !important;
    font-weight: 500 !important;
    padding: 8px 12px !important;
    margin-left: 10px !important;
}

/* --------------------------------------------------------------------------
   5. PAGE BANNERS & HERO SECTIONS (Calibrated Normal Heights)
   -------------------------------------------------------------------------- */
.banner,
.hero {
    height: 200px !important;
    min-height: 200px !important;
    max-height: 230px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding: 20px 4% !important;
    color: #ffffff !important;
    background-size: cover !important;
    background-position: center !important;
}

.banner h1,
.banner-content h1,
.hero h1 {
    font-size: 30px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
}

.banner p,
.banner-content p,
.hero p {
    font-size: 14.5px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    margin: 0 !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5) !important;
}

/* --------------------------------------------------------------------------
   6. SECTION HEADINGS & PADDINGS (Standard Normal Sizes)
   -------------------------------------------------------------------------- */
.section,
.about,
.about-section,
.courses,
.gallery-section,
.events,
.contact-section {
    padding: 40px 4% !important;
}

.section-title {
    text-align: center !important;
    margin-bottom: 30px !important;
}

.section-title h2 {
    font-size: 26px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #001f5c !important;
    margin-bottom: 8px !important;
    position: relative !important;
    display: inline-block !important;
}

.section-title h2::after {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: -6px !important;
    width: 60px !important;
    height: 3px !important;
    border-radius: 4px !important;
    background: linear-gradient(to right, #ff9800, #ffeb3b) !important;
}

.section-title p {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #666666 !important;
    margin-top: 12px !important;
    margin-bottom: 0 !important;
}

/* --------------------------------------------------------------------------
   7. HOMEPAGE MAIN 3-COLUMN SECTION (Equalized Height & Professional Alignment)
   -------------------------------------------------------------------------- */
.main-section {
    display: grid !important;
    grid-template-columns: 24% 49% 27% !important;
    gap: 18px !important;
    padding: 22px 4% 12px !important;
    align-items: stretch !important;
}

.left-box {
    background: #ffffff !important;
    padding: 15px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

.left-box img {
    width: 100% !important;
    height: 175px !important;
    object-fit: cover !important;
    object-position: top center !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important;
}

.quote-title {
    color: #9c0000 !important;
    text-align: center !important;
    margin: 6px 0 8px !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.left-box marquee {
    flex: 1 !important;
    height: 185px !important;
}

.quote-text {
    color: #001f5c !important;
    font-size: 13.5px !important;
    line-height: 23px !important;
    text-align: center !important;
    font-weight: 600 !important;
}

.slider {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07) !important;
    height: 100% !important;
    min-height: 450px !important;
    display: flex !important;
    flex-direction: column !important;
}

.slides {
    height: 100% !important;
    width: 100% !important;
}

.slides img {
    width: 100% !important;
    height: 100% !important;
    min-height: 450px !important;
    max-height: 460px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
}

.prev, .next {
    cursor: pointer !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    padding: 10px 14px !important;
    color: #ffffff !important;
    font-weight: bold !important;
    font-size: 18px !important;
    background: rgba(0,0,0,0.45) !important;
    border-radius: 50% !important;
    transition: 0.25s !important;
    user-select: none !important;
    z-index: 10 !important;
}

.prev { left: 12px !important; }
.next { right: 12px !important; }

.prev:hover, .next:hover {
    background: #ff9800 !important;
}

.notice-panel {
    background: #ffffff !important;
    padding: 15px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

.notice-title {
    background: #0b0d63 !important;
    color: #ffffff !important;
    text-align: center !important;
    padding: 10px 14px !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
}

.notice-panel marquee {
    flex: 1 !important;
    height: 375px !important;
}

.notice-box {
    border-bottom: 1px solid #eeeeee !important;
    padding: 10px 0 !important;
}

.notice-box h3 {
    margin: 0 0 5px 0 !important;
}

.notice-box h3 a {
    color: #001f5c !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.notice-box p {
    color: #555555 !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    margin-bottom: 6px !important;
}

.notice-link {
    color: #d32f2f !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* --------------------------------------------------------------------------
   8. ABOUT CONTENT BOXES (Clean Normal Text Sizing)
   -------------------------------------------------------------------------- */
.about-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.about-content,
.about-box {
    width: 100% !important;
    max-width: 1100px !important;
    background: linear-gradient(135deg, #001f5c, #004aad, #00b4db) !important;
    padding: 30px 35px !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.18) !important;
    border: 2px solid rgba(255,255,255,0.15) !important;
}

.about-content p,
.about-box p {
    color: #ffffff !important;
    font-size: 14.5px !important;
    line-height: 1.7 !important;
    text-align: justify !important;
    margin-bottom: 16px !important;
    font-weight: 400 !important;
}

.about-content p:last-child,
.about-box p:last-child {
    margin-bottom: 0 !important;
}

/* --------------------------------------------------------------------------
   9. COURSE CARDS & GRIDS (Standard Normal Sized Boxes)
   -------------------------------------------------------------------------- */
.course-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)) !important;
    gap: 18px !important;
}

/* HORIZONTAL CARDS (ugcourses.php, pgcourses.php, researchprogrammes.php) */
.course-card {
    background: #ffffff !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 12px 14px !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06) !important;
    border: 1px solid #e9edf5 !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.course-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12) !important;
}

.course-card img {
    width: 85px !important;
    height: 75px !important;
    min-width: 85px !important;
    max-width: 85px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
}

.course-content {
    flex: 1 !important;
    min-width: 0 !important;
}

.course-content h3 {
    color: #001f5c !important;
    font-size: 15.5px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin-top: 0 !important;
    margin-bottom: 4px !important;
}

.course-content p {
    color: #666666 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

/* VERTICAL CARDS (courses.php) */
.courses .course-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 !important;
}

.courses .course-card img {
    width: 100% !important;
    height: 150px !important;
    min-width: 100% !important;
    max-width: 100% !important;
    border-radius: 10px 10px 0 0 !important;
}

.courses .course-card .course-content {
    padding: 14px 16px !important;
}

.courses .course-card .course-info {
    font-size: 12.5px !important;
    color: #777777 !important;
    margin-top: 8px !important;
}

.course-category {
    margin-bottom: 35px !important;
}

.category-title {
    font-size: 20px !important;
    color: #001f5c !important;
    margin-bottom: 18px !important;
    border-left: 5px solid #ff9800 !important;
    padding-left: 12px !important;
    font-weight: 600 !important;
}

/* --------------------------------------------------------------------------
   10. TKGAC AT A GLANCE (Stat Counter Normalization)
   -------------------------------------------------------------------------- */
.glance {
    background: linear-gradient(135deg, #0b0d63, #1e3c72) !important;
    padding: 35px 4% !important;
    text-align: center !important;
    color: #ffffff !important;
}

.glance-heading {
    font-size: 24px !important;
    line-height: 1.3 !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
    font-weight: 700 !important;
}

.glance-box {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 16px !important;
}

.glance-item {
    background: #ffffff !important;
    color: #111111 !important;
    padding: 18px 14px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08) !important;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease !important;
}

.glance-item:hover {
    transform: translateY(-4px) !important;
    background: #ff9800 !important;
    color: #ffffff !important;
}

.glance-item h1 {
    font-size: 32px !important;
    line-height: 1.1 !important;
    color: #001f5c !important;
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    font-weight: 700 !important;
}

.glance-item:hover h1 {
    color: #ffffff !important;
}

.glance-item p {
    font-size: 13.5px !important;
    line-height: 1.3 !important;
    color: #3949ab !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

.glance-item:hover p {
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   11. PROGRAMMES TABLES (programmes.php)
   -------------------------------------------------------------------------- */
.programme-category {
    background: #ffffff !important;
    padding: 18px 22px !important;
    border-radius: 10px !important;
    margin-bottom: 22px !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06) !important;
}

.programme-category .category-title {
    background: #0b0d63 !important;
    color: #ffffff !important;
    padding: 10px 16px !important;
    border-radius: 6px !important;
    margin-bottom: 14px !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    text-align: center !important;
    border-left: none !important;
}

.table-responsive {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin-bottom: 10px !important;
}

table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 13.5px !important;
}

table th {
    background: #001f5c !important;
    color: #ffffff !important;
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-align: left !important;
}

table td {
    padding: 8px 14px !important;
    border-bottom: 1px solid #eef2f8 !important;
    font-size: 13px !important;
    color: #444444 !important;
}

table tr:hover {
    background: #f8fafd !important;
}

/* --------------------------------------------------------------------------
   12. CONTACT PAGE (contact.php)
   -------------------------------------------------------------------------- */
.contact-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 22px !important;
    align-items: start !important;
}

.contact-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.info-box {
    background: #ffffff !important;
    padding: 18px 20px !important;
    border-radius: 10px !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06) !important;
    transition: transform 0.25s ease !important;
}

.info-box:hover {
    transform: translateY(-3px) !important;
}

.info-box i {
    font-size: 24px !important;
    color: #ff9800 !important;
    margin-bottom: 8px !important;
}

.info-box h2 {
    color: #001f5c !important;
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    font-size: 16.5px !important;
    font-weight: 600 !important;
}

.info-box p {
    color: #555555 !important;
    line-height: 1.55 !important;
    font-size: 13.5px !important;
    margin: 0 !important;
}

.contact-form {
    background: #ffffff !important;
    padding: 22px 26px !important;
    border-radius: 10px !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06) !important;
}

.contact-form h2 {
    color: #001f5c !important;
    font-size: 19px !important;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    font-weight: 600 !important;
}

.contact-form input,
.contact-form textarea,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
textarea,
select {
    width: 100% !important;
    padding: 9px 12px !important;
    margin-bottom: 12px !important;
    border: 1px solid #dcdfe6 !important;
    border-radius: 6px !important;
    background: #fdfdfd !important;
    font-size: 13.5px !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    color: #333333 !important;
    outline: none !important;
    transition: border-color 0.2s ease !important;
}

.contact-form input:focus,
.contact-form textarea:focus,
input:focus,
textarea:focus {
    border-color: #ff9800 !important;
    background: #ffffff !important;
}

.contact-form textarea {
    height: 110px !important;
    resize: vertical !important;
}

.contact-form button,
.btn,
.submit-btn {
    background: #ff9800 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 9px 22px !important;
    border-radius: 20px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: 0.25s !important;
}

.contact-form button:hover,
.btn:hover,
.submit-btn:hover {
    background: #001f5c !important;
}

/* --------------------------------------------------------------------------
   13. GALLERY PAGE (gallery.php)
   -------------------------------------------------------------------------- */
.gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 16px !important;
}

.gallery-item {
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08) !important;
}

.gallery-item img {
    width: 100% !important;
    height: 190px !important;
    object-fit: cover !important;
}

.overlay h3 {
    font-size: 16px !important;
    margin-bottom: 4px !important;
    color: #ffffff !important;
}

.overlay p {
    font-size: 12.5px !important;
    color: #e0e0e0 !important;
}

.event-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 16px !important;
}

.event-box {
    background: #ffffff !important;
    padding: 16px 18px !important;
    border-radius: 8px !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06) !important;
}

.event-box h3 {
    font-size: 15.5px !important;
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    color: #001f5c !important;
}

.event-box p {
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #666666 !important;
    margin: 0 !important;
}

/* --------------------------------------------------------------------------
   14. FOOTER (Clean Proportions)
   -------------------------------------------------------------------------- */
.footer {
    background: #07113f !important;
    color: #ffffff !important;
    padding: 35px 4% 16px !important;
}

.footer-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 22px !important;
}

.footer h3 {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    color: #ffd700 !important;
}

.footer p,
.footer li {
    font-size: 13px !important;
    line-height: 22px !important;
    color: #cfd6e4 !important;
    margin-bottom: 6px !important;
}

.footer ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12) !important;
    margin-top: 22px !important;
    padding-top: 12px !important;
    font-size: 12.5px !important;
    color: #a0aec0 !important;
    display: flex !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
}

/* --------------------------------------------------------------------------
   15. TABLET RESPONSIVE BREAKPOINT (max-width: 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    /* TOPBAR */
    .topbar {
        padding: 8px 4% !important;
        flex-direction: column !important;
        gap: 6px !important;
        text-align: center !important;
    }

    .top-left,
    .top-right {
        justify-content: center !important;
        gap: 12px !important;
        font-size: 12px !important;
    }

    /* HEADER */
    .header {
        padding: 12px 4% !important;
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
    }

    .header img {
        width: 65px !important;
    }

    .header-center h1,
    .header-center h2 {
        font-size: 17px !important;
        line-height: 1.35 !important;
        margin-bottom: 4px !important;
    }

    .header-center p {
        font-size: 12px !important;
    }

    /* NAVIGATION HAMBURGER */
    .navbar {
        position: relative !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .nav-toggle {
        display: flex !important;
        width: 100% !important;
        padding: 11px 16px !important;
        background: #0b0d63 !important;
        color: #ffffff !important;
        border: none !important;
        outline: none !important;
        cursor: pointer !important;
        font-family: inherit !important;
        font-size: 14.5px !important;
        font-weight: 600 !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-bottom: 1px solid rgba(255, 215, 0, 0.4) !important;
    }

    .nav-toggle span {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    #menuToggle {
        display: flex !important;
        background: #0b0d63 !important;
        color: #ffd700 !important;
        border: none !important;
        font-size: 18px !important;
        padding: 8px 14px !important;
        cursor: pointer !important;
        border-radius: 4px !important;
    }

    .navbar .menu#simpleMenu {
        display: none;
        flex-direction: column !important;
        width: 100% !important;
        background: #0b0d63 !important;
        padding: 6px 0 !important;
        border-top: 1px solid rgba(255, 215, 0, 0.3) !important;
    }

    .navbar .menu#simpleMenu.menu-active {
        display: flex !important;
    }

    .navbar .menu#simpleMenu a {
        display: block !important;
        padding: 10px 18px !important;
        color: #ffffff !important;
        font-size: 13.5px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        margin: 0 !important;
    }

    .navbar ul#navMenu,
    .navbar ul {
        display: none !important;
        flex-direction: column !important;
        width: 100% !important;
        background: #0b0d63 !important;
        padding: 0 !important;
        margin: 0 !important;
        border-bottom: 2px solid gold !important;
    }

    .navbar ul#navMenu.nav-active,
    .navbar ul.nav-active {
        display: flex !important;
    }

    .navbar ul li {
        width: 100% !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .navbar ul li a {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 11px 16px !important;
        font-size: 13.5px !important;
        width: 100% !important;
    }

    /* DROPDOWNS ON MOBILE */
    .dropdown-content {
        display: none !important;
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        background: #070942 !important;
        border-left: 3px solid gold !important;
        padding: 0 !important;
    }

    .dropdown.dropdown-open > .dropdown-content {
        display: block !important;
    }

    .dropdown-content a {
        color: #e3e8f8 !important;
        padding: 10px 20px !important;
        font-size: 13px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    }

    .sub-dropdown-content {
        display: none !important;
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        background: #040528 !important;
        border-left: 3px solid #ff9800 !important;
        padding: 0 !important;
    }

    .sub-dropdown.sub-dropdown-open > .sub-dropdown-content {
        display: block !important;
    }

    .sub-dropdown-content a {
        color: #c9d2f0 !important;
        padding: 9px 28px !important;
        font-size: 12.5px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    }

    /* MAIN HOMEPAGE SECTION */
    .main-section {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 16px 4% !important;
    }

    .slider {
        order: -1 !important;
    }

    .slides img {
        height: 280px !important;
    }

    .notice-panel marquee {
        height: 250px !important;
    }

    /* SECTION PADDINGS & GRIDS */
    .section,
    .about,
    .about-section,
    .courses,
    .gallery-section,
    .events,
    .contact-section {
        padding: 28px 4% !important;
    }

    .section-title h2 {
        font-size: 22px !important;
    }

    .course-grid,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }

    .glance-box {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

/* --------------------------------------------------------------------------
   16. SMALL MOBILE SCREENS (max-width: 600px - Phone Standard)
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
    /* TOPBAR */
    .topbar {
        font-size: 11.5px !important;
        padding: 6px 3% !important;
    }

    /* HEADER */
    .header img {
        width: 55px !important;
    }

    .header-center h1,
    .header-center h2 {
        font-size: 14px !important;
        line-height: 1.3 !important;
        margin-bottom: 3px !important;
    }

    .header-center p {
        font-size: 11.5px !important;
    }

    .quote-text {
        font-size: 12px !important;
        line-height: 20px !important;
    }

    /* BANNER */
    .banner,
    .hero {
        height: 150px !important;
        min-height: 150px !important;
        padding: 15px 3% !important;
    }

    .banner h1,
    .banner-content h1,
    .hero h1 {
        font-size: 22px !important;
    }

    .banner p,
    .banner-content p,
    .hero p {
        font-size: 12.5px !important;
    }

    /* SLIDER */
    .slides img {
        height: 200px !important;
    }

    /* GRIDS TO SINGLE COLUMN ON PHONE */
    .course-grid,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .glance-box {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .glance-item {
        padding: 14px 10px !important;
    }

    .glance-item h1 {
        font-size: 26px !important;
    }

    .glance-item p {
        font-size: 12px !important;
    }

    /* COURSE CARD ON MOBILE */
    .course-card {
        padding: 10px 12px !important;
        gap: 12px !important;
    }

    .course-card img {
        width: 75px !important;
        height: 68px !important;
        min-width: 75px !important;
        max-width: 75px !important;
    }

    .course-content h3 {
        font-size: 14px !important;
        margin-bottom: 3px !important;
    }

    .course-content p {
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    /* ABOUT CONTENT ON MOBILE */
    .about-content,
    .about-box {
        padding: 18px 20px !important;
        border-radius: 10px !important;
    }

    .about-content p,
    .about-box p {
        font-size: 13px !important;
        line-height: 1.55 !important;
        margin-bottom: 12px !important;
    }

    /* TABLES ON MOBILE */
    table {
        font-size: 12px !important;
    }

    table th,
    table td {
        padding: 7px 9px !important;
    }

    /* FORMS ON MOBILE */
    .contact-form {
        padding: 18px 18px !important;
    }

    .contact-form input,
    .contact-form textarea,
    input[type="text"],
    input[type="email"],
    input[type="url"],
    input[type="password"],
    textarea,
    select {
        font-size: 14px !important;
        padding: 9px 11px !important;
    }

    .contact-form button,
    .btn,
    .submit-btn {
        width: 100% !important;
        padding: 10px !important;
        font-size: 14px !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
    }
}
