/* ============================================================
   MES B2B — new-theme.css v3
   Colour: Soft Sky Blue + Deep Navy + Steel Teal
   NO orange anywhere. Brighter social icons. Bigger navbar.
   ============================================================ */

/* ── 1. ROOT COLOUR OVERRIDES ─────────────────────────────── */
:root {
    --navy:         #1b3a6b;   /* Softer, lighter deep navy */
    --navy-light:   #2756a0;   /* Medium blue */
    --navy-dark:    #0d2347;   /* Darkest navy */
    --accent:       #1a7fa0;   /* Steel blue-teal accent */
    --accent-dark:  #135f78;
    --accent-light: #4db8d4;
    --sky:          #e8f4fb;   /* Very light sky blue background */
    --steel:        #4a6080;
    --border:       #cdd8e8;
    --text:         #1e2d45;
    --text-muted:   #5a7295;
    /* Map ALL orange references to accent */
    --orange:       #1a7fa0;
    --orange-dark:  #135f78;
}

/* ── 2. BODY ──────────────────────────────────────────────── */
body { background: #f2f6fb; color: #1e2d45; }

/* ── 3. TOPBAR ────────────────────────────────────────────── */
.topbar { background: #0d2347 !important; }
.topbar .iso-badge { background: #1a7fa0 !important; }
.topbar a { color: rgba(255,255,255,0.82) !important; }
.topbar a:hover { color: #4db8d4 !important; }

/* ── 4. NAVBAR — BIGGER ───────────────────────────────────── */
.navbar-mes {
    background: linear-gradient(90deg, #0d2347 0%, #1b3a6b 60%, #1f4580 100%) !important;
    min-height: 80px !important;
    padding: 0 !important;
    box-shadow: 0 3px 16px rgba(13,35,71,0.3) !important;
}
.navbar-mes .container { min-height: 80px; }
.navbar-mes .navbar-brand { padding: 10px 0 !important; }

/* Logo */
.navbar-mes .logo-img {
    height: 60px !important;
    width: auto !important;
    max-width: 220px !important;
    object-fit: contain;
}
.navbar-mes .brand-name,
.navbar-mes .brand-sub { display: none !important; }

/* Nav links */
.navbar-mes .nav-link {
    color: rgba(255,255,255,0.88) !important;
    font-family: 'Barlow', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 28px 16px !important;
    letter-spacing: 0.2px;
    position: relative;
    transition: color 0.2s, background 0.2s !important;
}
/* Animated underline on hover & active */
.navbar-mes .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 3px;
    background: #4db8d4;
    transition: left 0.25s ease, right 0.25s ease;
    border-radius: 2px 2px 0 0;
}
.navbar-mes .nav-link:hover,
.navbar-mes .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,0.07) !important;
}
.navbar-mes .nav-link:hover::after,
.navbar-mes .nav-link.active::after { left: 0; right: 0; }
.navbar-mes .nav-link.active::after { background: #4db8d4; }

/* Dropdown */
.navbar-mes .dropdown-menu {
    border: none !important;
    border-radius: 0 0 8px 8px !important;
    border-top: 3px solid #1a7fa0 !important;
    box-shadow: 0 10px 32px rgba(13,35,71,0.18) !important;
    margin-top: 0 !important;
    min-width: 210px;
    background: #fff;
    padding: 6px 0;
}
.navbar-mes .dropdown-item {
    color: #1b3a6b !important;
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 20px;
    border-left: 3px solid transparent;
    transition: all 0.18s;
}
.navbar-mes .dropdown-item:hover {
    background: #e8f4fb !important;
    color: #1a7fa0 !important;
    border-left-color: #1a7fa0;
    padding-left: 26px;
}

/* Cart button */
.navbar-mes .cart-btn {
    background: #1a7fa0 !important;
    color: #fff !important;
    border-radius: 4px !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
}
.navbar-mes .cart-btn:hover { background: #135f78 !important; }
.navbar-mes .cart-btn::after { display: none !important; }
.cart-count-badge {
    background: #fff !important;
    color: #1a7fa0 !important;
}

/* Search input in navbar */
.navbar-mes input.form-control {
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.2) !important;
    color: #fff !important;
}
.navbar-mes input.form-control::placeholder { color: rgba(255,255,255,0.55) !important; }
.navbar-mes input.form-control:focus {
    background: rgba(255,255,255,0.2) !important;
    box-shadow: none !important;
}

/* ── 5. HERO / VIDEO SECTION ──────────────────────────────── */
.hero-section, .video-hero {
    background: linear-gradient(135deg, #0d2347 0%, #1b3a6b 55%, #1f4580 100%) !important;
}
.hero-cta, .cta-btn-primary {
    background: #1a7fa0 !important;
    color: #fff !important;
}
.hero-cta:hover, .cta-btn-primary:hover {
    background: #135f78 !important;
    color: #fff !important;
}
.hero-cta-secondary, .cta-btn-secondary {
    border-color: rgba(255,255,255,0.35) !important;
    color: rgba(255,255,255,0.9) !important;
}
.iso-pill {
    background: rgba(26,127,160,0.2) !important;
    border-color: rgba(77,184,212,0.4) !important;
    color: #a8dff0 !important;
}
.video-scroll-indicator { color: rgba(255,255,255,0.65); }

/* ── 6. STATS BAR ─────────────────────────────────────────── */
.stats-bar { background: #1a7fa0 !important; }
.stats-bar .stat-number { color: #fff !important; }
.stats-bar .stat-label  { color: rgba(255,255,255,0.9) !important; }
.stat-item { border-right-color: rgba(255,255,255,0.2) !important; }

/* ── 7. SECTION TITLES ────────────────────────────────────── */
.section-title { color: #1b3a6b !important; }
.section-title .accent { color: #1a7fa0 !important; }
.section-divider { background: #1a7fa0 !important; }
.ab-label { color: #1a7fa0 !important; }
.ab-divider { background: #1a7fa0 !important; }

/* ── 8. PAGE HEADER ───────────────────────────────────────── */
.page-header {
    background: linear-gradient(135deg, #0d2347, #1b3a6b) !important;
}
.page-header h1 { color: #fff !important; }

/* ── 9. SECTION HERO (inner pages) ───────────────────────── */
.section-hero {
    background: linear-gradient(135deg, #0d2347 0%, #1b3a6b 100%);
    min-height: 300px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.section-hero img.hero-bg {
    position: absolute;
    inset: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.3;
}
.section-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,35,71,0.7) 0%, rgba(27,58,107,0.5) 100%);
}
.section-hero .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 56px 0;
    color: #fff;
}
.section-hero h1 {
    color: #fff !important;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 700;
    margin: 0 0 10px;
}
.section-hero p {
    color: rgba(255,255,255,0.82) !important;
    font-size: 16px;
    max-width: 580px;
    margin: 0;
}
.section-hero .breadcrumb-item a { color: rgba(255,255,255,0.7) !important; }
.section-hero .breadcrumb-item.active { color: rgba(255,255,255,0.9) !important; }
.section-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4) !important; }

/* ── 10. BUTTONS — no orange ──────────────────────────────── */
.btn-orange,
.btn-orange:visited {
    background: #1a7fa0 !important;
    color: #fff !important;
    border-color: #1a7fa0 !important;
}
.btn-orange:hover {
    background: #135f78 !important;
    color: #fff !important;
}
.btn-primary-mes { background: #1b3a6b !important; color: #fff !important; }
.btn-primary-mes:hover { background: #2756a0 !important; color: #fff !important; }
.btn-outline-mes { color: #1b3a6b !important; border-color: #1b3a6b !important; }
.btn-outline-mes:hover { background: #1b3a6b !important; color: #fff !important; }

/* Bootstrap buttons */
.btn-primary { background: #1b3a6b !important; border-color: #1b3a6b !important; }
.btn-primary:hover { background: #2756a0 !important; border-color: #2756a0 !important; }
.btn-info { background: #1a7fa0 !important; border-color: #1a7fa0 !important; color: #fff !important; }

/* ── 11. PRODUCT CARDS ────────────────────────────────────── */
.product-price { color: #1a7fa0 !important; }
.product-card:hover { box-shadow: 0 8px 28px rgba(27,58,107,0.14) !important; }
.product-card .card-img-wrap { background: #f2f6fb; }

/* ── 12. MES CARD HEADERS ─────────────────────────────────── */
.mes-card .mes-card-header {
    background: linear-gradient(90deg, #0d2347, #1b3a6b) !important;
    color: #fff !important;
}
.mes-card .mes-card-header * { color: #fff !important; }

/* ── 13. TABLE HEADERS ────────────────────────────────────── */
.mes-table th { background: #1b3a6b !important; color: #fff !important; }
.mes-table td { color: #1e2d45 !important; }
.mes-table tr:hover td { background: #e8f4fb !important; }

/* ── 14. SIDEBAR NAV ──────────────────────────────────────── */
.sidebar-nav .nav-header {
    background: linear-gradient(90deg, #0d2347, #1b3a6b) !important;
    color: #fff !important;
}
.sidebar-nav .nav-link { color: #1e2d45 !important; }
.sidebar-nav .nav-link:hover { background: #e8f4fb !important; color: #1b3a6b !important; }
.sidebar-nav .nav-link.active {
    border-left-color: #1a7fa0 !important;
    color: #1b3a6b !important;
    background: rgba(26,127,160,0.08) !important;
}
.sidebar-nav .nav-link.active .bi { color: #1a7fa0 !important; }

/* ── 15. DASH STAT ICONS ──────────────────────────────────── */
.dash-stat-icon.navy   { background: rgba(27,58,107,0.1) !important; color: #1b3a6b !important; }
.dash-stat-icon.orange { background: rgba(26,127,160,0.1) !important; color: #1a7fa0 !important; }
.dash-stat-number { color: #1b3a6b !important; }

/* ── 16. FOOTER ───────────────────────────────────────────── */
.site-footer { background: #0a1e40 !important; }
.footer-bottom { background: #081830 !important; border-top: 1px solid rgba(255,255,255,0.07) !important; }
.site-footer h5 { color: #fff !important; }
.site-footer a { color: rgba(255,255,255,0.72) !important; }
.site-footer a:hover { color: #4db8d4 !important; }
.cert-badge {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.15) !important;
    color: rgba(255,255,255,0.82) !important;
}

/* ── 17. SOCIAL MEDIA ICONS — BRIGHT ─────────────────────── */
.social-links { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.social-link {
    width: 40px; height: 40px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none !important;
    border: none;
}
.social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
/* Each platform has its real brand colour */
.social-link.facebook  { background: #1877f2 !important; color: #fff !important; }
.social-link.instagram { background: linear-gradient(45deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%) !important; color: #fff !important; }
.social-link.youtube   { background: #ff0000 !important; color: #fff !important; }
.social-link.twitter   { background: #000 !important; color: #fff !important; }
.social-link.whatsapp  { background: #25d366 !important; color: #fff !important; }
.social-link i         { color: #fff !important; font-size: 18px; }

/* ── 18. ADMIN SIDEBAR ────────────────────────────────────── */
.admin-sidebar { background: linear-gradient(180deg, #0d2347 0%, #1b3a6b 100%) !important; }
.sidebar-link { color: rgba(255,255,255,0.75) !important; }
.sidebar-link:hover { background: rgba(255,255,255,0.07) !important; color: #fff !important; }
.sidebar-link.active {
    background: rgba(26,127,160,0.2) !important;
    border-left-color: #1a7fa0 !important;
    color: #fff !important;
}
.sidebar-link.active .bi { color: #4db8d4 !important; }
.admin-stat-card { border-left-color: #1b3a6b !important; }
.admin-stat-card.orange { border-left-color: #1a7fa0 !important; }
.admin-stat-card.green  { border-left-color: #2d7d46 !important; }
.admin-stat-card.yellow { border-left-color: #b7791f !important; }

/* ── 19. BADGES ───────────────────────────────────────────── */
.badge.bg-warning { color: #1e2d45 !important; }

/* ── 20. ALERTS ───────────────────────────────────────────── */
.alert-info { border-left-color: #1a7fa0 !important; background: #e8f4fb !important; color: #0d4a63 !important; }
.alert-success { background: #f0faf4 !important; color: #1a4731 !important; }
.alert-danger  { background: #fff5f5 !important; color: #742a2a !important; }

/* ── 21. FORMS ────────────────────────────────────────────── */
.form-control:focus, .form-select:focus {
    border-color: #1a7fa0 !important;
    box-shadow: 0 0 0 3px rgba(26,127,160,0.15) !important;
}

/* ── 22. PAGINATION ───────────────────────────────────────── */
.page-link { color: #1b3a6b !important; }
.page-item.active .page-link { background: #1b3a6b !important; border-color: #1b3a6b !important; color: #fff !important; }

/* ── 23. ABOUT PAGE ───────────────────────────────────────── */
.about-hero { background: linear-gradient(135deg, #081830 0%, #0d2347 50%, #1b3a6b 100%) !important; }
.stats-strip { background: #1a7fa0 !important; }
.about-cta   { background: linear-gradient(135deg, #081830, #1b3a6b) !important; }

/* ── 24. PRODUCT IMAGE ZOOM ───────────────────────────────── */
.product-img-zoom-wrap {
    position: relative; overflow: hidden; cursor: zoom-in;
    background: #f2f6fb;
}
.product-img-zoom-wrap img { transition: transform 0.45s ease; display: block; width: 100%; }
.product-img-zoom-wrap:hover img { transform: scale(1.55); }
.zoom-icon {
    position: absolute; top: 8px; right: 8px;
    background: rgba(27,58,107,0.7); color: #fff !important;
    border-radius: 4px; padding: 3px 8px; font-size: 12px;
    opacity: 0; transition: opacity 0.2s; pointer-events: none;
}
.product-img-zoom-wrap:hover .zoom-icon { opacity: 1; }

/* ── 25. VIDEO HERO ───────────────────────────────────────── */
.video-hero {
    position: relative; width: 100%;
    height: 90vh; min-height: 520px; max-height: 800px;
    overflow: hidden; background: #0d2347;
    display: flex; align-items: center;
}
.video-hero video, .video-hero iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; border: none;
    pointer-events: none;
}
.video-hero .video-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(8,24,48,0.78) 0%, rgba(27,58,107,0.55) 100%);
    z-index: 1;
}
.video-hero .video-content {
    position: relative; z-index: 2;
    width: 100%; color: #fff;
}
.video-hero h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(38px, 6vw, 74px);
    font-weight: 700; color: #fff !important;
    line-height: 1.05; letter-spacing: -1px;
}
.video-hero h1 span { color: #4db8d4; }
.video-hero p { font-size: 18px; opacity: 0.88; max-width: 560px; line-height: 1.7; color: rgba(255,255,255,0.88) !important; }
.video-scroll-indicator {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%); z-index: 3;
    color: rgba(255,255,255,0.7); font-size: 11px;
    text-align: center; letter-spacing: 2px; text-transform: uppercase;
    animation: scrollBounce 2s infinite;
}
.video-scroll-indicator i { font-size: 22px; display: block; }
@keyframes scrollBounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(9px); }
}

/* ── 26. LEADERSHIP CARDS ─────────────────────────────────── */
.leadership-card {
    background: #fff;
    border: 1px solid #cdd8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;
}
.leadership-card:hover {
    box-shadow: 0 12px 36px rgba(27,58,107,0.14);
    transform: translateY(-4px);
}
.leadership-card .lc-img {
    width: 100%; height: 240px;
    object-fit: cover; object-position: center top;
    background: linear-gradient(135deg, #0d2347, #1b3a6b);
}
.leadership-card .lc-initials {
    width: 100%; height: 240px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0d2347, #1b3a6b);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 60px; font-weight: 700; color: rgba(255,255,255,0.4);
    letter-spacing: 4px;
}
.leadership-card .lc-body { padding: 20px; }
.leadership-card .lc-name {
    font-family: 'Barlow', sans-serif;
    font-weight: 700; font-size: 18px; color: #1b3a6b;
    margin: 0 0 4px;
}
.leadership-card .lc-role {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: #1a7fa0; margin-bottom: 10px;
}
.leadership-card .lc-bio {
    font-size: 13px; color: #5a7295; line-height: 1.7; margin-bottom: 14px;
}
.leadership-card .lc-contact a {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; color: #1b3a6b !important;
    text-decoration: none; margin-right: 12px; margin-bottom: 6px;
    transition: color 0.2s;
}
.leadership-card .lc-contact a:hover { color: #1a7fa0 !important; }
.leadership-card .lc-dept-badge {
    display: inline-block;
    background: #e8f4fb; color: #1b3a6b;
    font-size: 11px; font-weight: 600;
    padding: 3px 10px; border-radius: 12px;
    margin-top: 8px;
}

/* ── 27. MILESTONE TIMELINE ───────────────────────────────── */
.milestone-line {
    position: relative;
    padding: 20px 0;
}
.milestone-line::before {
    content: '';
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #1a7fa0, #1b3a6b);
    transform: translateX(-50%);
}
.milestone-item {
    display: grid;
    grid-template-columns: 1fr 48px 1fr;
    gap: 24px;
    margin-bottom: 48px;
    align-items: start;
}
.milestone-content {
    background: #fff;
    border: 1px solid #cdd8e8;
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 4px 16px rgba(27,58,107,0.07);
    transition: box-shadow 0.2s;
}
.milestone-content:hover { box-shadow: 0 8px 28px rgba(27,58,107,0.14); }
.milestone-item:nth-child(odd)  .milestone-left  { order: 1; }
.milestone-item:nth-child(odd)  .milestone-dot   { order: 2; }
.milestone-item:nth-child(odd)  .milestone-right { order: 3; }
.milestone-item:nth-child(even) .milestone-left  { order: 3; }
.milestone-item:nth-child(even) .milestone-dot   { order: 2; }
.milestone-item:nth-child(even) .milestone-right { order: 1; }
.milestone-item:nth-child(odd)  .milestone-content { text-align: right; }
.milestone-item:nth-child(even) .milestone-content { text-align: left; }
.milestone-dot-wrap {
    display: flex; align-items: center; justify-content: center;
    padding-top: 24px; position: relative; z-index: 1;
}
.milestone-dot {
    width: 20px; height: 20px;
    background: #1a7fa0;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px #1a7fa0;
}
.milestone-year {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 44px; font-weight: 700;
    color: #1b3a6b; line-height: 1;
    margin-bottom: 4px;
}
.milestone-year span { color: #1a7fa0; }
.milestone-title {
    font-family: 'Barlow', sans-serif;
    font-weight: 700; font-size: 16px;
    color: #1b3a6b; margin-bottom: 8px;
}
.milestone-desc {
    font-size: 14px; color: #5a7295;
    line-height: 1.7; margin: 0;
}
.milestone-empty { /* placeholder for layout */ }
@media (max-width: 768px) {
    .milestone-line::before { left: 20px; }
    .milestone-item {
        grid-template-columns: 48px 1fr;
        grid-template-rows: auto;
    }
    .milestone-item:nth-child(odd)  .milestone-left,
    .milestone-item:nth-child(odd)  .milestone-right,
    .milestone-item:nth-child(even) .milestone-left,
    .milestone-item:nth-child(even) .milestone-right { order: 2; grid-column: 2; }
    .milestone-item:nth-child(odd)  .milestone-dot,
    .milestone-item:nth-child(even) .milestone-dot   { order: 1; grid-column: 1; }
    .milestone-item:nth-child(odd)  .milestone-content,
    .milestone-item:nth-child(even) .milestone-content { text-align: left; }
    .milestone-empty { display: none; }
}

/* ── 28. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 991px) {
    .navbar-mes .nav-link { padding: 12px 16px !important; }
    .navbar-mes .logo-img { height: 48px !important; }
    .video-hero { height: 75vh; }
}
@media (max-width: 576px) {
    .video-hero { height: 100vh; }
    .video-hero h1 { font-size: 36px; }
}
