html, body {
    overflow-x: hidden;
    width: 100%;
}


:root {
    --site-header-height: 150px;
}



/* ===================== RESET ===================== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    
}

/* ===================== COMMON ===================== */
.container {
    width: 80%;
    max-width: 1400px;
    margin: auto;
    padding-left: 0;      /* FIXED */
    padding-right: 0px;
}

/* ===================== TOP BAR ===================== */
.top-bar {
    background: #d32f2f;
    color: #ffffff;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}

.top-left span {
    color: #ffffff;
    filter: brightness(0) invert(1); /* force white emoji */
}

.top-left .separator {
    margin: 0 10px;
}

/* SOCIAL ICONS */
.social-icon {
    width: 18px;
    height: 18px;
    margin-left: 12px;
}

/* ===================== HEADER ===================== */

.header-left {
    margin-right: 30px;
}

.main-header {
    background: #ffffff;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* DEFAULT (MOBILE FIRST) */
/* DEFAULT (MOBILE FIRST) */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;   /* ✅ FIXED */
    padding: 10px 15px;               /* small safe spacing */
}

/* LOGO */
.logo img {
    height: 60px;
}

/* MENU HIDDEN BY DEFAULT (mobile) */
.main-menu {
    display: none;
}

.main-menu a {
    margin: 0 15px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

.main-menu a:hover {
    color: #d32f2f;
}


/* ===================== DESKTOP HEADER ===================== */
@media (min-width: 992px) {

    .header-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-right: 20px;
    }

    /* LOGO */
    .header-left {
        flex: 0 0 auto;
    }

    /* MENU */
    .main-menu {
        display: flex;
        align-items: center;
        gap: 18px;
        white-space: nowrap;
    }

    .main-menu a {
        margin: 0;
        padding: 6px 0;
        font-weight: 600;
    }

    /* RIGHT SIDE */
    .header-right {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 0 0 auto;
    }

    .header-right img {
        height: 38px;
    }
}
   


/* HAMBURGER */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* CERTIFICATIONS */
.certifications img {
    height: 40px;
    margin-left: 15px;
}

/* ===================== BANNER ===================== */
.banner-slider {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.banner-slider img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}


/* =====================================
   MOBILE FORM CENTER FIX (GLOBAL)
   Applies to Login, Register, Contact
   ===================================== */

/* Common section padding */
.auth-page,
.contact-section {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

/* Center containers */
.auth-box,
.contact-right {
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Contact page grid fix (mobile) */
@media (max-width: 768px) {

    .contact-grid {
        display: block;
    }

    .contact-left {
        margin-bottom: 24px;
    }

    .contact-right {
        padding: 20px 16px;
    }
}

/* Inputs full width safety */
.auth-box input,
.auth-box select,
.auth-box textarea,
.contact-right input,
.contact-right textarea,
.contact-right select,
.contact-right button {
    width: 100%;
    box-sizing: border-box;
}


/* HOME INTRO NEW */
.home-intro-new {
    padding: 70px 0;
    background: #ffffff;
}

.home-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

/* TEXT */
.home-intro-text h1 {
    font-size: 34px;
    margin-bottom: 20px;
    color: #000;
}

.home-intro-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

/* IMAGE */
.home-intro-image img {
    width: 100%;
    max-width: 480px;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* RESPONSIVE */
@media (max-width: 768px) {

    /* HOME INTRO */
    .home-intro-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-intro-image {
        margin-top: 30px;
    }

    /* MOBILE MENU FIX */
    .menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 1100;
    }

    .main-menu {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        text-align: center;
        border-top: 1px solid #ddd;
        z-index: 1000;
    }

    .main-menu a {
        padding: 15px;
        border-bottom: 1px solid #eee;
        margin: 0;
    }

    .main-menu.show {
        display: flex;
    }
}




/* ABOUT PAGE */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 70px 0;
}

.about-text h1 {
    font-size: 34px;
    margin-bottom: 10px;
}

.about-tagline {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.about-image img {
    width: 100%;
    max-width: 480px;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* VALUES */
.about-values {
    background: #f8f9fb;
    padding: 60px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.value-box h2 {
    color: #0a5c9c;
    margin-bottom: 10px;
}

/* WHY */
.about-why {
    padding: 60px 0;
}

.about-why h2 {
    margin-bottom: 20px;
}

.why-list {
    padding-left: 20px;
}

.why-list li {
    margin-bottom: 10px;
    font-size: 16px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .about-grid,
    .values-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        margin-top: 30px;
    }
}


/* ===================== PRODUCTS (HORIZONTAL SCROLL) ===================== */

.products-section {
    padding: 60px 0;
    background: #ffffff;
    overflow: hidden;
}

/* VIEWPORT */
.products-viewport {
    width: 100%;
    overflow: hidden;
}

/* HORIZONTAL ROW */
.products-grid {
    display: flex;
    flex-direction: row;
    gap: 30px;
    width: max-content;
    animation: productScroll 30s linear infinite;
}

/* PAUSE ON HOVER */
.products-grid:hover {
    animation-play-state: paused;
}

/* PRODUCT CARD */
.product-card {
    width: 220px;
    flex-shrink: 0;
    text-align: center;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
}

/* IMAGE */
.product-card img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    border: 1px solid #e0e0e0;
    padding: 10px;
    background: #fff;
}

/* NAME */
.product-card p {
    margin-top: 12px;
    font-weight: 600;
    color: #000;
}

/* ANIMATION */
@keyframes productScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* PAGE TITLE – REDUCED HEIGHT */
.page-title {
    background: #f5f5f5;
    padding: 25px 0;   /* was probably 40px+ */
    text-align: center;
}

.page-title h1 {
    margin: 0;
    font-size: 28px;
}

.page-title p {
    margin-top: 6px;
    font-size: 15px;
    color: #555;
}


/* ===================== PRODUCT DETAIL ===================== */
.product-detail {
    padding: 60px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.product-image img {
    max-width: 450px;
    width: 100%;
    border: 1px solid #e0e0e0;
    padding: 20px;
}

.product-info h1 {
    font-size: 30px;
}

.product-tagline {
    color: #666;
}

.product-info h3 {
    color: #0a5c9c;
    margin-top: 25px;
}

/* WHATSAPP BUTTON */
.btn-enquiry {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #25D366;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
}

.btn-enquiry:hover {
    background: #1ebe5d;
}

/* ===================== FOOTER ===================== */
.footer-main {
    background: #0a5c9c;
    color: #ffffff;
    padding: 60px 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* FOOTER COLUMN */
.footer-col {
    width: 30%;
}

.footer-col h3 {
    color: #ffd700;
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 8px;
    text-transform: uppercase;
}

/* LINKS */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    position: relative;
    padding-left: 18px;
    transition: color 0.3s ease;
}

/* ARROW ICON */
.footer-links li a::before {
    content: "»";
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
}

/* HOVER EFFECT */
.footer-links li a:hover {
    color: #ffd700;
}

/* CONTACT TEXT */
.footer-contact {
    font-size: 15px;
    margin-bottom: 12px;
}

/* YELLOW STRIP */
.footer-yellow {
    background: #ffeb3b;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    color: #000;
}

/* RED STRIP */
.footer-red {
    background: #d32f2f;
    color: #ffffff;
    text-align: center;
    padding: 12px;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-col {
        width: 100%;
        margin-bottom: 35px;
        text-align: center;
    }

    .footer-links li a {
        padding-left: 0;
    }

    .footer-links li a::before {
        display: none;
    }
}


/* ===================== RESPONSIVE ===================== */
@media (max-width: 992px) {
    .product-card {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-menu {
        display: none;
        position: absolute;
        top: 75px;
        width: 100%;
        background: #fff;
        flex-direction: column;
        text-align: center;
    }

    .main-menu.show {
        display: flex;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .footer-col {
        width: 100%;
        text-align: center;
        margin-bottom: 25px;
    }
}

/* PRODUCT LINK FIX */
.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* FORCE FOOTER LINK COLORS (ALL PAGES) */
.footer-main a {
    color: #ffffff !important;
    text-decoration: none;
}

.footer-main a:hover {
    color: #ffd700 !important;
    text-decoration: underline;
}

/* ===================== CONTACT PAGE ===================== */
.contact-page {
    padding: 60px 0;
}

.contact-content {
    max-width: 700px;          /* Controls width */
    margin: 0 auto;            /* Centers horizontally */
    text-align: center;        /* Centers text */
}

.contact-content h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-subtitle {
    color: #555;
    margin-bottom: 30px;
}

.contact-content p {
    margin: 10px 0;
    font-size: 16px;
}

.contact-content a {
    color: #0a5c9c;
    text-decoration: none;
}

.contact-content a:hover {
    text-decoration: underline;
}

/* FORCE TOP BAR ICONS TO WHITE EVERYWHERE */
.top-bar,
.top-bar span,
.top-bar .phone,
.top-bar .email {
    color: #ffffff !important;
}

.top-bar span {
    filter: brightness(0) invert(1);
}

.btn-enquiry {
    color: #ffffff !important;
}


/* ===================== CONTACT PAGE ===================== */
.contact-section {
    padding: 70px 0;
    background: #f8f9fb;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

/* LEFT SIDE */
.contact-left h1 {
    font-size: 30px;
    margin-bottom: 10px;
}

.contact-subtext {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.contact-left p {
    font-size: 16px;
    margin-bottom: 10px;
}

.contact-left a {
    color: #0a5c9c;
    text-decoration: none;
}

/* WHATSAPP BUTTON */
.btn-whatsapp {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 22px;
    background: #25D366;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
}

/* RIGHT SIDE FORM */
.contact-right {
    background: #ffffff;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0a5c9c;
    outline: none;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: #0a5c9c;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

.btn-submit:hover {
    background: #084b82;
}

/* MOBILE */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================== INFO PAGES (TERMS, PRIVACY, FAQ ETC.) ===================== */

.info-page {
    padding: 50px 0;
    background: #f9f9f9;
}

.info-container {
    max-width: 900px;
    margin: auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.info-container h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #000;
}

.info-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.info-section {
    margin-bottom: 30px;
}

.info-section h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #0a5c9c;
    position: relative;
    padding-left: 12px;
}

.info-section h2::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #d32f2f;
    font-weight: bold;
}

.info-section p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

.info-section ul {
    padding-left: 20px;
}

.info-section ul li {
    margin-bottom: 8px;
    font-size: 15px;
    color: #444;
}

/* MOBILE */
@media (max-width: 768px) {
    .info-container {
        padding: 25px;
    }

    .info-container h1 {
        font-size: 26px;
    }
}

/* POPUP OVERLAY */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* POPUP BOX */
.popup-box {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 6px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.popup-box h2 {
    color: #0a5c9c;
    margin-bottom: 10px;
}

.popup-box p {
    font-size: 16px;
    margin-bottom: 20px;
}

.popup-box button {
    background: #25D366;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
}

.popup-box button:hover {
    background: #1ebe5d;
}

/* ===================== SITEMAP ===================== */
.sitemap-section {
    padding: 60px 0;
    background: #f7f9fc;
}

.sitemap-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: auto;
}

.sitemap-box h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 22px;
    color: #0a5c9c;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 6px;
}

.sitemap-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-box ul li {
    margin-bottom: 10px;
    padding-left: 22px;
    position: relative;
}

.sitemap-box ul li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #fbc02d;
    font-weight: bold;
}

.sitemap-box ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

.sitemap-box ul li a:hover {
    color: #0a5c9c;
    text-decoration: underline;
}

/* ===================== BREADCRUMB ===================== */
.breadcrumb-section {
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 0;
    margin-bottom: 40px;
}

.breadcrumb {
    font-size: 14px;
    color: #555;
}

.breadcrumb a {
    color: #0a5c9c;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 6px;
    color: #888;
}

.breadcrumb .current {
    color: #333;
    font-weight: 600;
}

.products-viewport {
    overflow: hidden;
    width: 100%;
}

.products-grid {
    display: flex;
    gap: 30px;
    transition: transform 0.1s linear;
}

/* ===================== FORCE HORIZONTAL PRODUCTS (FINAL FIX) ===================== */

.products-section .products-viewport {
    overflow: hidden !important;
    width: 100% !important;
}

.products-section .products-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;

    gap: 30px !important;
    width: max-content !important;

    animation: productScroll 30s linear infinite !important;
}

.products-section .products-grid:hover {
    animation-play-state: paused !important;
}

.products-section .product-card {
    flex: 0 0 220px !important;
    width: 220px !important;
}

/* Animation */
@keyframes productScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ===================== PRODUCTS DROPDOWN MENU ===================== */

.menu-dropdown {
    position: relative;
}

.menu-dropdown .dropdown-toggle {
    cursor: pointer;
}

/* Dropdown box */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 240px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 4px;
    z-index: 2000;
}

/* Links */
.dropdown-menu a {
    display: block;
    padding: 12px 18px;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
    color: #d32f2f;
}

/* Desktop hover */
.menu-dropdown:hover .dropdown-menu {
    display: block;
}

/* KEEP IN TOUCH – FORCE ICONS TO WHITE */
.footer-main .footer-col p {
    color: #ffffff;
}

.footer-main .footer-col p span,
.footer-main .footer-col p {
    filter: brightness(0) invert(1);
}

/* FLOATING WHATSAPP EMOJI BUTTON */
.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background: #25D366; /* WhatsApp green */
    color: #ffffff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .floating-whatsapp {
        width: 48px;
        height: 48px;
        font-size: 22px;
        bottom: 80px; /* above footer */
        right: 15px;
    }
}



/* HIDE CERTIFICATION LOGOS ON MOBILE */
@media (max-width: 768px) {
    .certifications {
        display: none !important;
    }
}

/* ===== FONT UPGRADE FOR PROGRAMME PAGES ===== */

/* Overall page text */
body {
    font-family: 'Poppins', sans-serif;
    color: #222;
    line-height: 1.7;
}

/* Main heading (MYP1 Physics) */
.product-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 700;
    color: #0a4fa3;
    margin-bottom: 10px;
}

/* Tagline */
.product-tagline {
    font-size: 16px;
    font-weight: 500;
    color: #555;
    margin-bottom: 18px;
}

/* Description text */
.product-description {
    font-size: 15.5px;
    color: #444;
    margin-bottom: 20px;
}

/* Section headings (Key Features, Applications) */
.product-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0a4fa3;
    margin-top: 25px;
    margin-bottom: 10px;
}

/* Bullet points */
.product-info ul li {
    font-size: 15px;
    margin-bottom: 6px;
}

/* WhatsApp button */
.btn-enquiry {
    font-size: 15px;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 6px;
}

.social-icon {
    font-size: 16px;
    color: #ffffff;
    margin-left: 12px;
}

.social-icon:hover {
    color: #ffd700;
}

/* Programme image centering */
.product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #ffffff;
}

.product-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile fix: center programme image properly */
@media (max-width: 768px) {
    .product-image {
        width: 100%;
        text-align: center;
        padding: 15px 0;
    }

    .product-image img {
        margin: 0 auto;
        max-width: 90%;
    }
}

/* Mobile: keep phone & email in single line */
@media (max-width: 768px) {
    .top-left {
        flex-wrap: nowrap;
        white-space: nowrap;
        font-size: 13px;
    }

    .top-left span {
        white-space: nowrap;
    }
}


/* Desktop ONLY – fix About page image alignment */
@media (min-width: 992px) {

    .about-grid {
        align-items: flex-start; /* keep text natural */
    }

    .about-image {
        margin-top: 320px;   /* FORCE image down */
    }

    .about-image img {
        max-width: 85%;     /* slightly smaller for balance */
        height: auto;
    }
}

/* ===== FORCE SAME HEADER BEHAVIOR ON LOGIN PAGE ===== */
.main-header {
    position: sticky !important;
    width: 100% !important;
}

.header-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}



/* ===================== MOBILE HEADER FIX ===================== */
@media (max-width: 768px) {

    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        flex: 0 0 auto;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;   /* pushes it to right */
        font-size: 28px;
    }

    /* Make sure certifications stay hidden */
    .certifications {
        display: none !important;
    }
}

/* ================= CONSULTATION PAGE (FINAL CLEAN VERSION) ================= */

.consult-wrapper {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    box-sizing: border-box;
}

/* LEFT SIDE */
.mentor-section {
    flex: 1;
    max-width: 480px;
    text-align: center;
}

.mentor-section img {
    width: 280px;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin: 0 auto 20px auto;
}

/* RIGHT SIDE FORM */
.consult-box {
    flex: 1;
    max-width: 420px;
    width: 100%;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.08);
}

.consult-box h1 {
    text-align: center;
    margin-bottom: 20px;
}

.consult-box input,
.consult-box select {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.consult-box button {
    width: 100%;
    padding: 12px;
    background: #d32f2f;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

/* ===== FINAL CONSULTATION MOBILE OVERFLOW FIX ===== */

.consult-wrapper {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

@media (max-width: 768px) {

    .consult-wrapper {
        flex-direction: column;
        gap: 30px;              /* reduce large gap */
        padding: 20px 15px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .mentor-section,
    .consult-box {
        width: 100%;
        max-width: 100%;
    }

    .consult-box {
        box-sizing: border-box;
    }

}



/* ===== MOBILE MENU FINAL FIX ===== */
@media (max-width: 991px) {

    .menu-toggle {
        display: block !important;
        font-size: 26px;
        cursor: pointer;
        z-index: 1100;
    }

    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        text-align: center;
        z-index: 1000;
    }

    .main-menu.show {
        display: flex !important;
    }

    .header-content {
        position: relative;
    }
}

.top-right {
    display: flex;
    align-items: center;
    gap: 12px;
}



