/* ================================================================
   SPRINGBOARD ACADEMY — Global Stylesheet
   Covers: CSS variables · reset · header · footer · social widget
           enquire drawer · language toggle · startup popup
   ================================================================ */

/* ----------------------------------------------------------------
   1. DESIGN TOKENS
   ---------------------------------------------------------------- */
:root {
    --primary:        #EC1D24;
    --primary-dark:   #b5141a;
    --primary-light:  #fef2f2;
    --navy:           #0f172a;
    --navy-mid:       #1e293b;
    --bg:             #f8fafc;
    --bg-warm:        #fff8f8;
    --surface:        #ffffff;
    --border:         #e2e8f0;
    --border-warm:    #f0d0d0;
    --text:           #0f172a;
    --text-muted:     #64748b;
    --text-light:     #94a3b8;
    --font-heading:   'Merriweather', Georgia, serif;
    --font-body:      'Inter', 'Segoe UI', system-ui, sans-serif;
    --radius-sm:      6px;
    --radius:         10px;
    --radius-lg:      16px;
    --shadow-sm:      0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow:         0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg:      0 8px 32px rgba(0,0,0,0.14);
    --transition:     0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----------------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 78px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: var(--font-body); }

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    background: var(--primary);
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* --- Logo --- */
.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.header-brand img {
    height: 58px;
    width: auto;
    object-fit: contain;
}

/* --- Mobile toggle --- */
.nav-toggle {
    display: none;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 8px 12px;
    margin-left: auto;
    flex-shrink: 0;
    transition: background var(--transition);
    color: #fff;
}

.nav-toggle:hover { background: rgba(255,255,255,0.25); }

.toggle-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
}

.toggle-bars { display: flex; flex-direction: column; gap: 4px; }
.toggle-bars span {
    display: block;
    width: 20px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.25s;
}

/* --- Desktop right area --- */
.header-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: flex-end;
}

.header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 10px;
    flex-shrink: 0;
}

.header-contact a,
.header-contact span {
    font-size: 12px;
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.6;
}

.header-contact a:hover { color: #fff; }

/* --- Desktop nav --- */
.main-nav {
    display: flex;
    align-items: center;
    list-style: none;
}

.main-nav > li { position: relative; }

.main-nav > li > a {
    display: block;
    padding: 12px 11px;
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: color var(--transition);
    position: relative;
    white-space: nowrap;
    letter-spacing: 0.1px;
}

.main-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: rgba(255,255,255,0.85);
    transition: width var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.main-nav > li > a:hover { color: #fff; }
.main-nav > li > a:hover::after { width: 70%; }

/* Dropdown arrow */
.dropdown > a .nav-arrow {
    display: inline-block;
    font-size: 9px;
    margin-left: 3px;
    transition: transform var(--transition);
    vertical-align: middle;
}
.dropdown:hover > a .nav-arrow { transform: rotate(180deg); }

/* Dropdown panel */
.dropdown-menu {
    position: absolute;
    top: 100%; left: 0;
    background: var(--surface);
    min-width: 230px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.18s ease;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
    border-top: 3px solid var(--primary);
    z-index: 200;
}

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

.dropdown-menu li a {
    display: block;
    padding: 9px 16px;
    color: var(--navy-mid);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background var(--transition), color var(--transition), padding-left var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-menu li a:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 22px;
}

/* Download App button */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 12.5px;
    border: 1.5px solid rgba(255,255,255,0.4);
    transition: all var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 6px;
    letter-spacing: 0.2px;
}

.download-btn:hover {
    background: rgba(255,255,255,0.26);
    border-color: rgba(255,255,255,0.75);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

/* --- Language toggle --- */
.lang-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
    margin-left: 8px;
}

.lang-toggle-btn {
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    border: 1.5px solid rgba(255,255,255,0.45);
    background: transparent;
    color: rgba(255,255,255,0.75);
    font-family: var(--font-body);
    transition: all var(--transition);
    white-space: nowrap;
    line-height: 1.4;
}

.lang-toggle-btn:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.lang-toggle-btn.lang-btn--active {
    background: rgba(255,255,255,0.22);
    color: #fff;
    border-color: rgba(255,255,255,0.85);
}

.lang-toggle-sep {
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    user-select: none;
}

.lang-toggle-note {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    margin-left: 4px;
    display: none;
}

/* ================================================================
   NAV OVERLAY (mobile backdrop)
   ================================================================ */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-overlay.open { display: block; opacity: 1; }

/* ================================================================
   OFF-CANVAS PANEL (mobile menu)
   ================================================================ */
.offcanvas-panel {
    position: fixed;
    top: 0; left: -82%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: var(--surface);
    z-index: 10001;
    overflow-y: auto;
    transition: left 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0,0,0,0.16);
    display: flex;
    flex-direction: column;
}

.offcanvas-panel.open { left: 0; }

.offcanvas-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--primary);
    flex-shrink: 0;
}

.offcanvas-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.offcanvas-logo img { height: 40px; width: auto; }

.offcanvas-logo-name {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.offcanvas-close {
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    flex-shrink: 0;
    color: #fff;
    font-size: 18px;
}

.offcanvas-close:hover {
    background: rgba(255,255,255,0.35);
    transform: rotate(90deg);
}

.offcanvas-contact {
    padding: 10px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--border-warm);
    font-size: 12.5px;
    color: var(--text-muted);
}

.offcanvas-contact a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Off-canvas nav list */
.offcanvas-nav-list {
    list-style: none;
    flex: 1;
    overflow-y: auto;
}

.offcanvas-nav-list > li {
    border-bottom: 1px solid var(--border);
}

.offcanvas-nav-list > li > a {
    display: block;
    padding: 13px 18px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background var(--transition), color var(--transition), padding-left var(--transition);
}

.offcanvas-nav-list > li > a:hover {
    background: var(--primary-light);
    color: var(--primary);
    padding-left: 24px;
}

/* Accordion toggle */
.offcanvas-sub-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 13px 18px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    transition: background var(--transition), color var(--transition);
    text-align: left;
}

.offcanvas-sub-toggle:hover { background: var(--primary-light); color: var(--primary); }
.offcanvas-sub-toggle.active { color: var(--primary); background: var(--primary-light); }

.sub-arrow {
    font-size: 11px;
    color: var(--text-muted);
    transition: transform var(--transition);
    flex-shrink: 0;
}

.offcanvas-sub-toggle.active .sub-arrow { transform: rotate(180deg); }

/* Submenu */
.offcanvas-sub {
    list-style: none;
    background: var(--bg);
    border-left: 3px solid var(--primary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
}

.offcanvas-sub.open { max-height: 600px; }

.offcanvas-sub li a {
    display: block;
    padding: 9px 18px 9px 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: background var(--transition), color var(--transition), padding-left var(--transition);
}

.offcanvas-sub li a:hover {
    background: var(--primary-light);
    color: var(--primary);
    padding-left: 28px;
}

/* Off-canvas Download App button */
.offcanvas-app-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px;
    padding: 13px 20px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    flex-shrink: 0;
    letter-spacing: 0.2px;
}

.offcanvas-app-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(236,29,36,0.35);
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer-wrapper {
    width: 100%;
    font-family: var(--font-body);
    margin-top: 0;
}

.footer-top {
    background: var(--navy);
    padding: 48px 20px 32px;
    color: rgba(255,255,255,0.80);
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 10px; }

.footer-column ul li a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition), transform var(--transition);
    display: inline-block;
}

.footer-column ul li a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-bottom {
    background: var(--navy-mid);
    padding: 16px 20px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom-content {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.footer-links { margin-bottom: 10px; }

.footer-links a {
    color: rgba(255,255,255,0.60);
    text-decoration: none;
    font-weight: 600;
    margin: 0 12px;
    font-size: 13px;
    transition: color var(--transition);
}

.footer-links a:hover { color: #fff; }

.copyright {
    font-size: 12px;
    color: rgba(255,255,255,0.38);
    margin-top: 6px;
}

/* ================================================================
   SOCIAL WIDGET — collapsible fixed sidebar
   ================================================================ */
.social-widget {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 8000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.social-toggle-btn {
    width: 34px;
    padding: 14px 0;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 2px 2px 14px rgba(0,0,0,0.25);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.social-toggle-btn:hover {
    background: var(--primary-dark);
    transform: translateX(4px);
    box-shadow: 4px 4px 18px rgba(0,0,0,0.3);
}

.social-toggle-btn i { pointer-events: none; font-size: 15px; }

.soc-btn-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    line-height: 1;
}

.social-links-panel {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.38s cubic-bezier(0.4,0,0.2,1), opacity 0.28s ease, padding 0.3s;
    padding: 0;
    align-items: flex-start;
}

.social-links-panel.open {
    max-height: 420px;
    opacity: 1;
    padding: 7px 0 0;
}

.soc-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    color: #fff;
    text-decoration: none;
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.18);
    transition: width 0.22s ease, transform 0.22s ease, box-shadow 0.22s;
    font-size: 19px;
    font-weight: bold;
}

.soc-link:hover {
    width: 58px;
    transform: translateX(4px);
    box-shadow: 4px 3px 12px rgba(0,0,0,0.25);
}

.soc-link i { pointer-events: none; }

.soc-link.x         { background: linear-gradient(135deg, #000 0%, #2c2c2c 100%); font-size: 17px; letter-spacing: -1px; }
.soc-link.instagram { background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%); }
.soc-link.facebook  { background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%); }
.soc-link.youtube   { background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%); }
.soc-link.telegram  { background: linear-gradient(135deg, #0088cc 0%, #006699 100%); }
.soc-link.whatsapp  { background: linear-gradient(135deg, #25d366 0%, #1ebe57 100%); }

/* ================================================================
   ENQUIRE NOW DRAWER
   ================================================================ */
.eq-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.eq-overlay.open {
    opacity: 1;
    visibility: visible;
}

.eq-drawer {
    position: fixed;
    top: 0;
    right: -460px;
    width: 440px;
    max-width: 100vw;
    height: 100%;
    background: var(--surface);
    z-index: 9100;
    display: flex;
    flex-direction: column;
    box-shadow: -6px 0 32px rgba(0,0,0,0.18);
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
}

.eq-drawer.open { right: 0; }

.eq-drawer-head {
    background: linear-gradient(130deg, #5c060b 0%, #9e1218 45%, var(--primary-dark) 100%);
    padding: 16px 18px 14px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 10;
    overflow: hidden;
}

.eq-drawer-head::before {
    content: '';
    position: absolute;
    top: -40px; right: -30px;
    width: 160px; height: 160px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    pointer-events: none;
}

.eq-drawer-head-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.eq-drawer-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.3;
}

.eq-drawer-subtitle {
    font-size: 12.5px;
    color: rgba(255,255,255,0.72);
    line-height: 1.4;
}

.eq-drawer-close {
    background: rgba(255,255,255,0.18);
    border: none;
    border-radius: 50%;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
    transition: background var(--transition), transform var(--transition);
}

.eq-drawer-close:hover {
    background: rgba(255,255,255,0.32);
    transform: rotate(90deg);
}

.eq-drawer-body {
    flex: 1;
    padding: 20px 22px 28px;
    position: relative;
}

.eq-form-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px; height: 36px;
    background: var(--surface);
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 15px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(236,29,36,0.18);
    transition: background var(--transition), color var(--transition), transform var(--transition);
    flex-shrink: 0;
}

.eq-form-close:hover {
    background: var(--primary);
    color: #fff;
    transform: rotate(90deg);
    box-shadow: 0 4px 14px rgba(236,29,36,0.35);
}

.eq-msg {
    display: none;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

.eq-msg.success {
    background: #d4f4e2;
    color: #155724;
    border: 1px solid #a3d9b8;
    display: block;
}

.eq-msg.error {
    background: #fde8e8;
    color: #7c1b1b;
    border: 1px solid #f5b8b8;
    display: block;
}

.eq-form-group {
    margin-bottom: 16px;
    position: relative;
}

.eq-form-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #444;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.eq-form-label span { color: var(--primary); }

.eq-input,
.eq-select,
.eq-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    outline: none;
    box-sizing: border-box;
}

.eq-input:focus,
.eq-select:focus,
.eq-textarea:focus {
    border-color: var(--primary);
    background: var(--surface);
    box-shadow: 0 0 0 3px rgba(236,29,36,0.10);
}

.eq-input::placeholder,
.eq-textarea::placeholder { color: var(--text-light); }

.eq-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.eq-textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.55;
}

/* Hide reCAPTCHA floating badge */
.grecaptcha-badge { visibility: hidden !important; }

.eq-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(130deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 3px 14px rgba(236,29,36,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.eq-submit-btn:hover:not(:disabled) {
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236,29,36,0.4);
}

.eq-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.eq-spinner {
    display: none;
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: eq-spin 0.7s linear infinite;
}

@keyframes eq-spin { to { transform: rotate(360deg); } }

.eq-submit-btn.loading .eq-spinner { display: block; }
.eq-submit-btn.loading .eq-btn-text { display: none; }

.eq-contact-strip {
    margin-top: 20px;
    padding: 14px 16px;
    background: var(--bg-warm);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-warm);
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.8;
}

.eq-contact-strip strong { color: var(--text); }

.eq-contact-strip a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* ================================================================
   STARTUP POPUP
   ================================================================ */
.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 19999;
    opacity: 0;
    animation: popupFadeIn 0.3s forwards;
}

@keyframes popupFadeIn { to { opacity: 1; } }
@keyframes popupFadeOut { to { opacity: 0; } }

.popup {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--primary);
    max-width: 560px;
    width: 92%;
    position: relative;
    overflow: hidden;
    transform: scale(0.85) translateY(12px);
    animation: popupPopIn 0.3s 0.15s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes popupPopIn { to { transform: scale(1) translateY(0); } }

.popup-header {
    padding: 14px 18px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-warm);
    background: var(--bg-warm);
}

.close-btn {
    background: none;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    font-size: 20px;
    width: 34px; height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    font-weight: bold;
    line-height: 1;
    flex-shrink: 0;
}

.close-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: rotate(90deg);
}

.popup-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    font-family: var(--font-body);
}

.secondary-button {
    background: var(--surface);
    color: var(--primary);
}

.secondary-button:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(236,29,36,0.3);
}

.popup-content { padding: 20px; }

.popup-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    display: block;
    border: 1px solid var(--border-warm);
}

.hidden { display: none !important; }

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* --- Header breakpoints --- */
@media (max-width: 1024px) {
    .main-nav > li > a { padding: 12px 8px; font-size: 12.5px; }
    .header-contact { display: none; }
}

@media (max-width: 768px) {
    body { padding-top: 64px; }
    .header-inner { height: 64px; padding: 0 14px; }
    .header-brand img { height: 46px; }
    .header-right { display: none; }
    .nav-toggle { display: flex; }

    /* Social widget — mobile bottom pill */
    .social-widget {
        left: 24px;
        right: auto;
        top: auto;
        bottom: 28px;
        transform: none;
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .social-toggle-btn {
        width: auto;
        height: auto;
        padding: 13px 22px;
        flex-direction: row;
        gap: 8px;
        border-radius: 50px;
        font-size: 14px;
        font-weight: 700;
        box-shadow: 0 4px 20px rgba(236,29,36,0.45);
    }

    .social-toggle-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 28px rgba(236,29,36,0.5);
    }

    .social-toggle-btn i { font-size: 15px; }

    .soc-btn-text {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.2px;
    }

    .social-links-panel {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        max-width: 140px;
        padding: 0;
        gap: 6px;
    }

    .social-links-panel.open { padding: 0 0 10px; }

    .soc-link {
        border-radius: 50%;
        width: 42px; height: 42px;
        font-size: 17px;
    }

    .soc-link:hover {
        width: 42px;
        transform: translateY(-3px);
        box-shadow: 0 5px 14px rgba(0,0,0,0.22);
    }

    /* Footer */
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }

    /* Enquire drawer */
    .eq-drawer { width: 100vw; }
    .eq-drawer-body { padding: 18px 16px 24px; }
    .eq-drawer-close { width: 40px; height: 40px; font-size: 18px; background: rgba(255,255,255,0.28); }
    .eq-drawer-title { font-size: 1rem; }

    /* Popup */
    .popup { width: 95%; }
    .popup-content { padding: 14px; }
    .popup-header { padding: 10px 14px 8px; }
    .popup-button { font-size: 13px; padding: 8px 16px; }
}

@media (max-width: 480px) {
    .social-widget { left: 14px; bottom: 18px; }
    .social-toggle-btn { padding: 11px 18px; font-size: 13px; }
    .soc-btn-text { font-size: 13px; }
    .social-links-panel { max-width: 130px; }
    .soc-link { width: 38px; height: 38px; font-size: 15px; }

    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-top { padding: 32px 16px 24px; }
    .footer-bottom { padding: 20px 16px; }
    .footer-links { display: flex; flex-direction: column; gap: 8px; }
    .footer-links a { margin: 0; }
}

@media (max-width: 420px) {
    body { padding-top: 58px; }
    .header-inner { height: 58px; }
    .header-brand img { height: 40px; }
}

/* ================================================================
   ENQUIRE NOW — Floating trigger button (sidebar CTA)
   ================================================================ */
.sb-enquire-btn {
    display: block;
    width: 100%;
    padding: 12px 18px;
    background: linear-gradient(130deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 3px 12px rgba(236,29,36,0.3);
    font-family: var(--font-body);
}

.sb-enquire-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(236,29,36,0.38);
    color: #fff;
}
