/* ==========================================================================
   Ship Chandler Durban — Custom stylesheet
   Loaded after style.css — extends without breaking existing rules
   ========================================================================== */

/* ------------------------------------------------------------------
   1. FONTS
   Inter (body), Oswald (headings/nav – already in style.css),
   Playfair Display (italic accents)
   ------------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,600&display=swap');

body, p, li, td, input, textarea, select,
.navbar .dropdown-menu .dropdown-item {
    font-family: 'Inter', 'Didact Gothic', sans-serif;
}

.section-title2,
.port-eyebrow + h1,
.service-detail-subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #b19777;
}

/* ------------------------------------------------------------------
   2. LOGO — smaller in navbar
   ------------------------------------------------------------------ */
.logo-img {
    width: 64px !important;
    height: 64px !important;
    object-fit: contain;
    border-radius: 4px;
}
.logo {
    width: 64px !important;
}
.logo-wrapper {
    padding: 16px 40px !important;
}
.nav-scroll .logo-img {
    width: 52px !important;
    height: 52px !important;
}
.nav-scroll .logo-wrapper {
    padding: 10px 40px !important;
}
@media (max-width: 991px) {
    .logo-wrapper { padding: 12px 16px !important; }
    .logo-img { width: 52px !important; height: 52px !important; }
}

/* ------------------------------------------------------------------
   3. NAVBAR — Contact as plain link, Get a Quote as filled button
   ------------------------------------------------------------------ */

/* Increase font-weight for all nav links (not buttons) from 300 → 500 */
.navbar .navbar-nav .nav-link {
    font-weight: 500 !important;
}

/* Contact — plain nav link, no border */
.navbar .navbar-nav .nav-item.nav-btn-contact .nav-link {
    color: #fff !important;
    letter-spacing: 4px;
    transition: color .35s;
}
.navbar .navbar-nav .nav-item.nav-btn-contact .nav-link:hover,
.navbar .navbar-nav .nav-item.nav-btn-contact .nav-link.active {
    color: #c3252c !important;
}

/* Get a Quote — solid red pill */
.navbar .navbar-nav .nav-item.nav-btn-quote .nav-link {
    background: #c3252c;
    border: 1px solid #c3252c;
    border-radius: 30px;
    padding: 7px 22px !important;
    color: #fff !important;
    font-weight: 500;
    letter-spacing: 2px;
    transition: all .35s;
    margin-left: 0;
}
.navbar .navbar-nav .nav-item.nav-btn-quote .nav-link:hover {
    background: transparent;
    color: #c3252c !important;
}
.nav-scroll .navbar-nav .nav-item.nav-btn-quote .nav-link {
    padding: 5px 16px !important;
    font-size: 13px;
}

/* Ports & Services Dropdown Caret Icons — identical styling & rotation */
.nav-item.ports-dropdown > .nav-link i,
.nav-item.dropdown > .nav-link i,
.navbar .nav-link .ti-angle-down {
    font-size: 9px !important;
    margin-left: 5px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    display: inline-block !important;
    vertical-align: middle !important;
    transition: transform .3s ease, color .3s ease !important;
}
.nav-item.ports-dropdown:hover > .nav-link i,
.nav-item.dropdown:hover > .nav-link i,
.nav-item.ports-dropdown.is-open > .nav-link i,
.nav-item.dropdown.show > .nav-link i {
    transform: rotate(180deg) !important;
    color: #c3252c !important;
}

/* Ports label — not clickable */
.nav-item.ports-dropdown > a.nav-link {
    cursor: default !important;
}
.nav-item.ports-dropdown > a.nav-link:hover {
    color: #fff !important;
}

/* ------------------------------------------------------------------
   3b. THEME TOGGLE BUTTON — override global button styles
   ------------------------------------------------------------------ */
.theme-toggle-btn {
    background: none !important;
    background-color: transparent !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    border-radius: 20px !important;
    padding: 5px 12px !important;
    margin: 0 12px 0 8px !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75) !important;
    white-space: nowrap;
    vertical-align: middle;
    flex-shrink: 0;
    box-shadow: none !important;
    text-shadow: none !important;
    line-height: 1.5em !important;
    transition: all 0.3s ease;
}
.theme-toggle-btn:hover {
    background: none !important;
    background-color: transparent !important;
    border-color: #b19777 !important;
    color: #b19777 !important;
}

/* ------------------------------------------------------------------
   4. PORTS MEGA DROPDOWN — multi-column + search
   ------------------------------------------------------------------ */
.nav-item.ports-dropdown {
    position: static !important;    /* so the mega can span full width */
}

.ports-mega-menu {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 820px;
    max-width: 96vw;
    background: #161616;
    border: 1px solid #323232;
    border-top: 2px solid #c3252c;
    padding: 20px 24px 24px;
    z-index: 9999;
    box-shadow: 0 16px 48px rgba(0,0,0,.85);
    top: 100%;
    margin-top: 0;
}

/* Invisible bridge pseudo-element: prevents mouse hover dropoff between navbar and menu */
.ports-mega-menu::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    height: 25px;
    background: transparent;
}

@keyframes dropFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(8px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Show on hover (desktop) */
@media (min-width: 992px) {
    .nav-item.ports-dropdown:hover > .ports-mega-menu,
    .nav-item.ports-dropdown.is-open > .ports-mega-menu,
    .ports-mega-menu:hover {
        display: block !important;
        animation: dropFadeIn .22s ease both;
    }
}

/* Search bar inside mega */
.ports-search-wrap {
    margin-bottom: 16px;
    position: relative;
}
.ports-search-wrap input {
    width: 100%;
    background: #111;
    border: 1px solid #333 !important;
    border-bottom: 1px solid #333 !important;
    color: #ccc !important;
    padding: 8px 12px 8px 36px !important;
    font-size: 13px;
    border-radius: 4px;
    margin-bottom: 0 !important;
}
.ports-search-wrap input:focus {
    border-color: #b19777 !important;
    outline: none;
}
.ports-search-wrap .search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 12px;
    pointer-events: none;
}

/* Grid of port links */
.ports-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px 16px;
}
@media (min-width: 1100px) {
    .ports-mega-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
    .ports-mega-grid { grid-template-columns: repeat(2, 1fr); }
}

.ports-mega-grid a {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    color: #999 !important;
    padding: 5px 6px;
    border-radius: 3px;
    transition: background .2s, color .2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ports-mega-grid a:hover {
    background: rgba(195,37,44,.15);
    color: #fff !important;
}
.ports-mega-grid a.hidden-port {
    display: none;
}

/* ------------------------------------------------------------------
   5. SERVICES DROPDOWN — 2-column grid
   ------------------------------------------------------------------ */
@media (min-width: 992px) {
    .services-dropdown-2col {
        width: 380px !important;
        display: block;
    }
    .services-dropdown-2col .dropdown-inner-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 10px;
    }
}

/* ------------------------------------------------------------------
   6. MOBILE NAVBAR — full-screen overlay with dark backdrop & close btn
   ------------------------------------------------------------------ */
/* Backdrop overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    z-index: 98;
    animation: overlayIn .3s ease both;
}
@keyframes overlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.nav-overlay.active { display: block; }

/* Mobile close cross button (hidden on desktop) */
.mobile-nav-close {
    display: none;
}

/* Mobile collapse panel */
@media (max-width: 991px) {
    .navbar {
        background: #000000 !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    .nav-scroll {
        background: #000000 !important;
    }
    .navbar .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-height: 100vh;
        overflow-y: auto;
        background: #000000 !important;
        z-index: 99;
        padding: 65px 24px 35px !important;
        transform: translateY(-100%);
        transition: transform .35s cubic-bezier(.4,0,.2,1);
        box-shadow: 0 10px 40px rgba(0,0,0,.95) !important;
    }
    .navbar .navbar-collapse.show {
        transform: translateY(0);
    }

    /* Cross icon at top right to close */
    .mobile-nav-close {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 16px;
        right: 18px;
        width: 38px;
        height: 38px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 50%;
        color: #fff;
        font-size: 16px;
        cursor: pointer;
        z-index: 105;
        transition: all 0.25s ease;
    }
    .mobile-nav-close:hover {
        background: #c3252c;
        border-color: #c3252c;
        color: #fff;
    }

    /* Align hamburger menu items + 1px separators */
    .navbar-nav {
        width: 100%;
        margin-top: 10px;
    }
    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 2px 0 !important;
        width: 100%;
    }
    .navbar-nav .nav-item:last-child {
        border-bottom: none !important;
    }
    .navbar-nav .nav-item .nav-link {
        padding: 12px 6px !important;
        font-size: 14px !important;
        letter-spacing: 3px !important;
        text-transform: uppercase;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        color: #eee !important;
    }
    .navbar-nav .nav-item .nav-link:hover,
    .navbar-nav .nav-item .nav-link.active {
        color: #c3252c !important;
    }

    /* Mobile ports search & dropdown accordion animation */
    .ports-mega-menu {
        position: static !important;
        width: 100% !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-top: 1px solid rgba(255,255,255,0.06) !important;
        background: #080808 !important;
        left: auto !important;
        top: auto !important;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        padding: 0 10px !important;
        margin-top: 4px;
        display: block !important;
        transition: max-height 0.4s ease, opacity 0.35s ease, padding 0.3s ease !important;
    }
    .ports-mega-menu.mega-open {
        max-height: 480px !important;
        opacity: 1 !important;
        overflow-y: auto !important;
        padding: 14px 10px !important;
    }
    .ports-mega-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2px 8px;
    }

    /* Mobile services dropdown accordion animation */
    .navbar .dropdown-menu.services-dropdown-2col {
        position: static !important;
        width: 100% !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-top: 1px solid rgba(255,255,255,0.06) !important;
        background: #080808 !important;
        padding: 0 6px !important;
        margin-top: 4px;
        /* Don't force display:block — let Bootstrap toggle display */
    }
    .navbar .dropdown-menu.services-dropdown-2col.show {
        padding: 12px 6px !important;
    }
    .services-dropdown-2col.show .dropdown-inner-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
    .services-dropdown-2col .dropdown-inner-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
    .navbar .dropdown-menu.services-dropdown-2col .dropdown-item {
        border-bottom: 1px solid rgba(255,255,255,0.04) !important;
        padding: 8px 10px !important;
        color: #bbb !important;
    }
    .navbar .navbar-nav .nav-item.nav-btn-quote .nav-link {
        margin-left: 0;
        margin-top: 14px;
        display: inline-block !important;
        text-align: center;
        width: 100%;
    }
}

/* ------------------------------------------------------------------
   7. HERO & BANNER HEADERS — full width, no left padding, rich titles
   ------------------------------------------------------------------ */
.left-panel {
    display: none !important;    /* remove left black strip everywhere */
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
}

.banner-header {
    width: 100% !important;
    min-height: 280px !important;
    height: auto !important;
    padding: 135px 20px 65px 20px !important;
    position: relative !important;
    background-size: cover !important;
    background-position: center center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.banner-header .container {
    position: relative !important;
    z-index: 3 !important;
}
.banner-header .banner-title-box {
    text-align: center;
    max-width: 840px;
    margin: 0 auto;
}
.banner-header .banner-eyebrow {
    font-family: 'Oswald', sans-serif;
    font-size: 11.5px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #b19777;
    display: inline-block;
    margin-bottom: 12px;
    background: rgba(0,0,0,0.5);
    padding: 4px 16px;
    border-radius: 20px;
    border: 1px solid rgba(177,151,119,0.35);
}
.banner-header h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff !important;
    margin-bottom: 10px;
    text-shadow: 0 3px 16px rgba(0,0,0,0.9);
    line-height: 1.2;
}
.banner-header .banner-subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

.header .slider-fade .item,
.header .slider .item {
    background-position: center center !important;
    background-size: cover !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}
/* Fix owl carousel stretching on hero */
.slider-fade .owl-carousel,
.header .owl-carousel {
    position: relative;
}

/* ------------------------------------------------------------------
   8. HERO TEXT — port label + tagline
   ------------------------------------------------------------------ */
.header .caption .hero-port-label {
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #b19777;
    display: block;
    margin-bottom: 14px;
}
.header .caption .hero-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 19px;
    color: rgba(255,255,255,.82);
    display: block;
    margin-bottom: 4px;
    letter-spacing: .5px;
}

/* ------------------------------------------------------------------
   9. SERVICES CARDS — uniform image height + smooth hover
   ------------------------------------------------------------------ */
.services2 {
    overflow: hidden;
    position: relative;
}
.services2 .services2-img {
    overflow: hidden;
    position: relative;
}
.services2 .services2-img img {
    height: 240px !important;
    width: 100%;
    object-fit: cover;
    transition: transform .55s ease, filter .55s ease !important;
    display: block;
}
.services2:hover .services2-img img {
    transform: scale(1.05);
    filter: brightness(.78);
}

/* Title box — fade transition */
.services2 .title-box {
    transition: background .4s ease;
    position: relative;
    z-index: 2;
}
.services2 .title-box h3 {
    transition: color .4s ease;
}
.services2:hover .title-box {
    background: #c3252c;
}
.services2:hover .title-box h3 {
    color: #fff;
}

/* Services content button area */
.services2 .services2-content .butn-dark {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .4s ease, transform .4s ease;
}
.services2:hover .services2-content .butn-dark {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------------------------------------------
   10. VESSELS WE SUPPORT — grid cards
   ------------------------------------------------------------------ */
.vessels-section {
    padding: 90px 0;
    background: #0d0d0d;
}
.vessels-section .section-title {
    margin-bottom: 14px;
}
.vessels-section .section-intro {
    max-width: 680px;
    margin-bottom: 50px;
    color: #888;
}
.vessel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    border: 1px solid #232323;
}
@media (max-width: 991px) {
    .vessel-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .vessel-grid { grid-template-columns: repeat(2, 1fr); }
}
.vessel-card {
    background: #111;
    padding: 28px 20px 24px;
    text-align: center;
    border: 1px solid #1a1a1a;
    transition: background .35s, border-color .35s, transform .35s;
    cursor: default;
}
.vessel-card:hover {
    background: #1a1a1a;
    border-color: #c3252c;
    transform: translateY(-3px);
}
.vessel-card .vc-icon {
    font-size: 28px;
    color: #c3252c;
    margin-bottom: 12px;
    display: block;
    transition: color .35s;
}
.vessel-card:hover .vc-icon { color: #b19777; }
.vessel-card h5 {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ccc;
    margin: 0;
    font-weight: 400;
    transition: color .35s;
}
.vessel-card:hover h5 { color: #fff; }

/* ------------------------------------------------------------------
   11. WHATSAPP FIXED BUTTON
   ------------------------------------------------------------------ */
.wa-fixed {
    position: fixed !important;
    bottom: 28px !important;
    left: 28px !important;
    z-index: 999 !important;
    width: 56px !important;
    height: 56px !important;
    background: #25d366 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 18px rgba(37,211,102,.45) !important;
    transition: transform .3s ease, box-shadow .3s ease !important;
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.wa-fixed:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 26px rgba(37,211,102,.6) !important;
    text-decoration: none !important;
    outline: none !important;
}
.wa-fixed:focus {
    outline: none !important;
    box-shadow: 0 4px 18px rgba(37,211,102,.45) !important;
}
.wa-fixed i {
    font-size: 26px !important;
    color: #fff !important;
    display: block !important;
}
/* Tooltip */
.wa-fixed::before {
    content: "Chat on WhatsApp" !important;
    position: absolute !important;
    left: 68px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: #1a1a1a !important;
    color: #fff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity .25s !important;
    border: 1px solid #333 !important;
}
.wa-fixed:hover::before { 
    opacity: 1 !important; 
}
@media (max-width: 600px) {
    .wa-fixed { 
        bottom: 18px !important; 
        left: 18px !important; 
        width: 50px !important; 
        height: 50px !important; 
    }
    .wa-fixed i { font-size: 22px !important; }
    .wa-fixed::before { display: none !important; }
}

/* ------------------------------------------------------------------
   12. FOOTER — richer layout
   ------------------------------------------------------------------ */
.main-footer .footer-logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 14px;
    border-radius: 4px;
}
.footer-col-title {
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #b19777;
    margin-bottom: 16px;
    display: block;
}
.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-nav-list li {
    margin-bottom: 8px;
}
.footer-nav-list a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #777;
    transition: color .3s;
}
.footer-nav-list a:hover { color: #b19777; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}
.footer-contact-item .fci-icon {
    color: #c3252c;
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-contact-item p,
.footer-contact-item a {
    font-size: 13.5px;
    color: #777;
    margin: 0;
    line-height: 1.5;
    transition: color .3s;
}
.footer-contact-item a:hover { color: #b19777; }
.footer-wa-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37,211,102,.12);
    border: 1px solid rgba(37,211,102,.3);
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 11px;
    color: #25d366;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Social icons */
.social-icon a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #323232;
    font-size: 14px;
    color: #777;
    margin: 0 3px 6px;
    transition: all .35s;
    text-decoration: none;
}
.social-icon a:hover {
    border-color: #b19777;
    color: #b19777;
    transform: translateY(-3px);
}

/* ------------------------------------------------------------------
   13. CONTACT PAGE — info cards
   ------------------------------------------------------------------ */
.contact-info-card {
    background: #111;
    border: 1px solid #323232;
    padding: 30px 24px;
    margin-bottom: 24px;
    transition: border-color .3s, transform .3s;
}
.contact-info-card:hover {
    border-color: #b19777;
    transform: translateY(-4px);
}
.contact-info-card .ci-icon {
    font-size: 26px;
    color: #c3252c;
    margin-bottom: 14px;
    display: block;
}
.contact-info-card h5 {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 8px;
}
.contact-info-card p,
.contact-info-card a {
    font-size: 15px;
    color: #999;
    margin-bottom: 0;
}
.contact-info-card a:hover { color: #b19777; }

/* ------------------------------------------------------------------
   14. ABOUT PAGE — stats + why-choose
   ------------------------------------------------------------------ */
.about-stats {
    display: flex;
    gap: 0;
    border-top: 1px solid #323232;
    border-left: 1px solid #323232;
    margin: 40px 0;
}
.about-stat {
    flex: 1;
    text-align: center;
    padding: 28px 16px;
    border-right: 1px solid #323232;
    border-bottom: 1px solid #323232;
    transition: background .3s;
}
.about-stat:hover { background: #111; }
.about-stat .stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: 40px;
    font-weight: 500;
    color: #c3252c;
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}
.about-stat .stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #777;
}
@media (max-width: 767px) {
    .about-stats { flex-wrap: wrap; }
    .about-stat { flex: 0 0 50%; }
}

/* Why choose us list */
.why-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}
.why-list li {
    position: relative;
    padding: 10px 0 10px 24px;
    border-bottom: 1px solid #1e1e1e;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #999;
    line-height: 1.6;
    transition: color .3s;
}
.why-list li:last-child { border-bottom: none; }
.why-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 19px;
    width: 10px;
    height: 1px;
    background: #c3252c;
}
.why-list li:hover { color: #ccc; }

/* ------------------------------------------------------------------
   15. SERVICE DETAIL PAGES
   ------------------------------------------------------------------ */
.service-detail-section { padding: 60px 0 90px; }
.service-detail-hero-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    margin-bottom: 40px;
    animation: fadeInUp .7s ease both;
}
.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 30px;
}
.service-list li {
    position: relative;
    padding-left: 18px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #999;
    line-height: 1.6;
}
.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #b19777;
}
@media (max-width: 767px) {
    .service-list { grid-template-columns: 1fr; }
    .service-detail-hero-img { height: 220px; }
}

.back-to-services {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #b19777;
    border: 1px solid #323232;
    padding: 8px 18px;
    margin-bottom: 36px;
    transition: all .3s;
}
.back-to-services:hover {
    border-color: #b19777;
    color: #fff;
    background: #b19777;
}

/* ------------------------------------------------------------------
   16. PORTS PAGES
   ------------------------------------------------------------------ */
.port-intro-section { padding: 70px 0 50px; }
.port-eyebrow {
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #b19777;
    display: block;
    margin-bottom: 12px;
}
.port-supply-section { padding: 0 0 90px; }
.port-supply-section h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 36px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #232323;
}
.port-supply-section h3 span { color: #c3252c; }
.port-why-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}
.port-why-list li {
    position: relative;
    padding: 4px 0 4px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    color: #999;
    line-height: 1.65;
}
.port-why-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 1px;
    background: #b19777;
}

/* ------------------------------------------------------------------
   17. QUOTE PAGE
   ------------------------------------------------------------------ */
.quote-page-section { padding: 70px 0 90px; }
.quote-form-wrapper {
    background: #111;
    border: 1px solid #323232;
    padding: 48px 40px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: border-color .3s ease;
}
.quote-form-wrapper:hover {
    border-color: rgba(195,37,44,0.4);
}
@media (max-width: 767px) {
    .quote-form-wrapper { padding: 28px 18px; }
}
.quote-form label {
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #888;
    display: block;
    margin-bottom: 6px;
}
.quote-form textarea { height: 130px; resize: vertical; }

/* Quote submit button themed */
.quote-form input[type="submit"],
.quote-submit-btn {
    background: #c3252c !important;
    color: #ffffff !important;
    border: 1px solid #c3252c !important;
    padding: 14px 42px !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 14px !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
    border-radius: 30px !important;
    cursor: pointer !important;
    transition: all 0.35s ease !important;
    display: inline-block !important;
    box-shadow: 0 4px 18px rgba(195, 37, 44, 0.4) !important;
}
.quote-form input[type="submit"]:hover,
.quote-submit-btn:hover {
    background: #a51c22 !important;
    border-color: #a51c22 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 24px rgba(195, 37, 44, 0.65) !important;
}

.req-star {
    color: #c3252c !important;
    font-weight: 700;
    margin-left: 2px;
}

.quote-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(195,37,44,0.12);
    border: 1px solid rgba(195,37,44,0.3);
    color: #ff6b6b;
    font-family: 'Oswald', sans-serif;
    font-size: 11.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 22px;
}
.quote-live-pill .live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 0 10px #25d366;
    animation: livePulse 1.8s infinite;
}
@keyframes livePulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* ---- Input & Select base styling (override style.css bottom-only border) ---- */
.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form textarea,
.quote-form select {
    width: 100% !important;
    background: #0e0e0e !important;
    background-image: none !important;
    color: #ccc !important;
    border: 1px solid #2e2e2e !important;
    border-bottom: 1px solid #2e2e2e !important;
    border-width: 1px !important;
    border-radius: 4px !important;
    padding: 11px 14px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    height: auto !important;
    margin-bottom: 0 !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.4) !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    display: block !important;
}

/* Readonly port of delivery field */
.quote-form input[readonly] {
    background: #0a0a0a !important;
    color: #666 !important;
    border-color: #222 !important;
    cursor: default !important;
}

/* Placeholder colour */
.quote-form input::placeholder,
.quote-form textarea::placeholder {
    color: #555 !important;
    opacity: 1 !important;
}

/* Select — custom arrow using SVG data URI */
.quote-form select {
    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='%23b19777' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px 8px !important;
    padding-right: 38px !important;
    cursor: pointer !important;
}

/* Select option colours (browser-permitting) */
.quote-form select option {
    background: #111;
    color: #ccc;
}

/* Focus state — red accent ring */
.quote-form input[type="text"]:focus,
.quote-form input[type="email"]:focus,
.quote-form input[type="tel"]:focus,
.quote-form textarea:focus,
.quote-form select:focus {
    border-color: #c3252c !important;
    box-shadow: 0 0 0 3px rgba(195,37,44,0.18), inset 0 1px 3px rgba(0,0,0,0.4) !important;
    outline: none !important;
    color: #eee !important;
}

/* Checkbox custom styling */
.quote-form input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    border: 1px solid #444 !important;
    border-radius: 3px !important;
    background: #0e0e0e !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    accent-color: #c3252c;
    box-shadow: none !important;
    flex-shrink: 0;
}

/* Label spacing */
.quote-form label {
    margin-bottom: 7px !important;
}

/* Column spacing between label and input */
.quote-form .col-md-6,
.quote-form .col-md-12 {
    display: flex;
    flex-direction: column;
}

/* Textarea */
.quote-form textarea {
    height: 160px !important;
    resize: vertical !important;
}

/* ------------------------------------------------------------------
   18. ANIMATE HELPERS
   ------------------------------------------------------------------ */
.js .animate-box { opacity: 0; }   /* reset — custom.js handles reveal */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------------------------------
   19. FOOTER CLICKABILITY & INTERACTIVITY (Point 3)
   ------------------------------------------------------------------ */
.content-lines-wrapper,
.content-lines-inner,
.content-lines {
    pointer-events: none !important;
}

.main-footer {
    position: relative !important;
    z-index: 10 !important;
    pointer-events: auto !important;
}
.main-footer a,
.main-footer .footer-logo-img,
.main-footer .footer-contact-item a,
.main-footer .footer-nav-list a {
    position: relative !important;
    z-index: 12 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}
.main-footer .footer-logo-img {
    cursor: pointer;
    transition: transform .3s ease;
}
.main-footer .footer-logo-img:hover {
    transform: scale(1.04);
}

/* ------------------------------------------------------------------
   20. RESPONSIVE HORIZONTAL PADDING (Point 5)
   ------------------------------------------------------------------ */
@media (max-width: 767px) {
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .content-wrapper {
        overflow-x: hidden;
    }
    .section-padding {
        padding: 60px 0 !important;
    }
    .section-padding2 {
        padding: 0 0 60px 0 !important;
    }
    .content-lines-wrapper { display: none; }
    .left-panel { display: none !important; }
}



/* ==================================================================
   USER FIXES: SERVICES CARDS, HERO OVERLAY, FOOTER & INDEX IMAGES
   ================================================================== */

/* 1. INDEX PAGE SERVICES CARDS EQUAL HEIGHTS */
.projects .item img,
.projects .item .position-re.o-hidden img {
    height: 260px !important;
    width: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* 2. SERVICES PAGE CARDS - HOVER SMOOTH, TITLE CENTERED, READ MORE CENTERED, NO FOOTER SHIFT */
.services2 {
    position: relative !important;
    overflow: hidden !important;
    text-align: center !important;
    padding-bottom: 0 !important;
    margin-bottom: 40px !important;
    background: #141414 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 4px !important;
}

.services2 .services2-img {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 260px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.services2 .services2-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.6s ease, filter 0.6s ease !important;
}

.services2:hover .services2-img img {
    transform: scale(1.08) !important;
    filter: brightness(0.55) !important;
}

.services2 .services2-img:before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.4s ease, visibility 0.4s ease !important;
    z-index: 1 !important;
}

.services2:hover .services2-img:before {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Title box: absolutely positioned at bottom, centered title, smooth upward fade on hover */
.services2 .title-box {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: rgba(20, 20, 20, 0.95) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 18px 15px !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    text-align: center !important;
    z-index: 2 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease !important;
}

.services2 .title-box h3 {
    text-align: center !important;
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    letter-spacing: 4px !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
}

.services2:hover .title-box {
    transform: translateY(-30px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    margin-bottom: 0 !important;
}

/* Read More Button: centered dead-center in the image */
.services2 .services2-content {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -40%) !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    z-index: 3 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease !important;
}

.services2:hover .services2-content {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, -50%) !important;
}

.services2 .services2-content .butn-dark {
    margin: 0 !important;
    padding: 0 !important;
}

.services2 .services2-content .butn-dark a {
    border-radius: 0px !important;
    display: inline-block !important;
    padding: 9px 24px !important;
    background: #c3252c !important;
    border: 1px solid #c3252c !important;
    
    color: #fff !important;
    font-size: 13px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
    transition: background 0.3s ease !important;

}

.services2 .services2-content .butn-dark a:hover {
    background: #9e1b21 !important;
    border-color: #9e1b21 !important;
}

/* 3. HERO & BANNER OVERLAY - ZERO TOP GAP, SEAMLESS DARK OVERLAY */
.navbar {
    background: transparent !important;
}
.nav-scroll {
    background: #000000 !important;
}
.content-wrapper {
    position: relative !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.banner-header {
    margin-top: 0 !important;
    position: relative !important;
    background-position: center top !important;
}
.banner-header::before,
[data-overlay-darkgray]:before,
[data-overlay-dark]:before {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(10, 10, 10, 0.72) !important;
    z-index: 1 !important;
}
.banner-img:after {
    display: none !important;
}

/* 4. FOOTER - DARK BLACK */
.main-footer,
.main-footer.dark {
    background: #090909 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.sub-footer,
.sub-footer.dark {
    background: #040404 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
}
.sub-footer p {
    margin-bottom: 0 !important;
}



/* Sharp 90-degree corners for Read More button on services cards */
.services2 .services2-content .butn-dark a,
.services2 .services2-content .butn-dark,
.services2 .services2-content a {
    border-radius: 0px !important;
}



/* ------------------------------------------------------------------
   IMAGE OPTIMIZATION — Constrain large service images
   ------------------------------------------------------------------ */

/* Services carousel on index page — constrain rendering size */
.projects .owl-carousel .item img {
    max-width: 800px;
    max-height: 600px;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Services grid on services.html page */
.services2 .services2-img img {
    max-width: 600px;
    max-height: 450px;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Service detail hero images */
.service-detail-hero-img {
    max-width: 100%;
    max-height: 500px;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

/* About page images */
.about-img .img img {
    max-width: 100%;
    max-height: 600px;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* General image optimization for all img tags */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Lazy loading hint for browsers */
img[loading="lazy"] {
    content-visibility: auto;
}

/* ------------------------------------------------------------------
   QUOTE FORM — section labels, checkbox grid, file upload
   ------------------------------------------------------------------ */

/* Section divider labels inside the form */
.form-section-label {
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #b19777;
    margin: 0 0 4px;
    padding-bottom: 8px;
    border-bottom: 1px solid #232323;
    width: 100%;
    display: block;
}

/* Checkbox grid — inherits theme overrides from durban-light.css */
.quote-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 10px;
    background: #141414;
    padding: 16px;
    border: 1px solid #2b2b2b;
    border-radius: 4px;
}
.quote-checkbox-label {
    color: #bbb;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.4;
}
.quote-checkbox-label:hover { color: #eee; }

/* File upload field */
.quote-file-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.quote-file-wrap input[type="file"] {
    width: 100% !important;
    background: #0e0e0e !important;
    border: 1px dashed #3a3a3a !important;
    border-bottom: 1px dashed #3a3a3a !important;
    border-radius: 4px !important;
    padding: 12px 14px !important;
    color: #999 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
    transition: border-color 0.25s ease !important;
}
.quote-file-wrap input[type="file"]:hover,
.quote-file-wrap input[type="file"]:focus {
    border-color: #b19777 !important;
    outline: none !important;
}
.quote-file-hint {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

/* Light theme overrides for new elements */
body.light-theme .form-section-label {
    color: #b19777;
    border-bottom-color: #e0e0e0;
}
body.light-theme .quote-checkbox-grid {
    background: #f0f0ee;
    border-color: #ddd;
}
body.light-theme .quote-checkbox-label {
    color: #444;
}
body.light-theme .quote-checkbox-label:hover { color: #1a1a1a; }
body.light-theme .quote-file-wrap input[type="file"] {
    background: #f7f7f7 !important;
    border-color: #ccc !important;
    color: #666 !important;
}
body.light-theme .quote-file-hint { color: #999; }
body.light-theme .quote-form input[readonly] {
    background: #efefef !important;
    color: #888 !important;
    border-color: #ddd !important;
}

/* Footer WhatsApp Button */
/* Footer WhatsApp Link - Simple & Clean */
        .footer-whatsapp-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #25d366 !important;
            font-size: 14px;
            font-weight: 500;
            margin-top: 15px;
            padding: 8px 16px;
            border: 1px solid rgba(37, 211, 102, 0.3);
            border-radius: 50px;
            text-decoration: none !important;
            transition: all 0.35s ease;
            background: transparent;
        }

        .footer-whatsapp-link:hover {
            color: #fff !important;
            background: #25d366;
            border-color: #25d366;
            text-decoration: none !important;
            box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
        }

        .footer-whatsapp-link i {
            font-size: 18px;
            transition: transform 0.35s ease;
        }

        .footer-whatsapp-link:hover i {
            transform: scale(1.1);
        }

        .footer-whatsapp-link span {
            white-space: nowrap;
        }

/* Footer Responsive - Earlier Column Breakpoint */
@media (max-width: 992px) {
    .main-footer .row > div[class*="col-md-3"] {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .main-footer .row > div[class*="col-md-3"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}