/* ============================================
   COASTLINE TRADING & LOGISTICS SDN. BHD.
   Modern redesign stylesheet
   ============================================ */

:root {
    --navy: #0B2544;
    --navy-2: #12365f;
    --navy-3: #1d4a81;
    --accent: #E8A33D;
    --accent-2: #f0b95c;
    --ink: #44566a;
    --heading: #0B2544;
    --bg-light: #F5F7FA;
    --bg-deep: #0B2544;
    --white: #ffffff;
    --gray-line: #e6eaf0;
    --radius: 10px;
    --shadow: 0 12px 40px rgba(11,37,68,.10);
    --shadow-sm: 0 6px 22px rgba(11,37,68,.08);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Noto Sans SC', "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.75;
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Noto Sans SC', "Microsoft YaHei", sans-serif;
    color: var(--heading);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
}

a { color: var(--navy-3); transition: all .25s ease; }
a:hover { color: var(--accent); text-decoration: none; }

img { max-width: 100%; }

/* ---------- Buttons ---------- */
.btn-cb {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .02em;
    border: 2px solid transparent;
    transition: all .3s ease;
}
.btn-cb.solid {
    background: var(--accent);
    color: #fff;
}
.btn-cb.solid:hover { background: var(--accent-2); color: #fff; box-shadow: 0 10px 24px rgba(232,163,61,.35); }
.btn-cb.navy {
    background: var(--navy);
    color: #fff;
}
.btn-cb.navy:hover { background: var(--navy-3); color: #fff; box-shadow: var(--shadow-sm); }
.btn-cb.outline {
    border-color: #fff;
    color: #fff;
}
.btn-cb.outline:hover { background: #fff; color: var(--navy); }
.btn-cb.ghost {
    border-color: var(--navy-3);
    color: var(--navy);
}
.btn-cb.ghost:hover { background: var(--navy-3); color: #fff; }

/* ---------- Layout helpers ---------- */
.section-pad { padding: 96px 0; }
.bg-light { background: var(--bg-light); }
.bg-navy { background: var(--bg-deep); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 13px;
    margin-bottom: 12px;
}
.section-head h2 { font-size: 38px; margin-bottom: 16px; }
.section-head p { font-size: 17px; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: rgba(255,255,255,.75); }

/* ---------- Top utility bar ---------- */
.topbar {
    background: var(--navy);
    color: rgba(255,255,255,.85);
    font-size: 14px;
    padding: 9px 0;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--accent); }
.topbar .tb-item { margin-right: 22px; }
.topbar .tb-item i { margin-right: 7px; color: var(--accent); }
.topbar .topbar-right { text-align: right; }
.topbar .tb-social a { margin-left: 14px; font-size: 15px; }
.topbar .lang-switch {
    margin-left: 26px;
    display: inline-block;
}
.lang-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,.35);
    color: rgba(255,255,255,.9);
    border-radius: 4px;
    padding: 3px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
    margin-left: 4px;
}
.lang-btn:hover { border-color: var(--accent); color: var(--accent); }
.lang-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Main navigation ---------- */
.cl-navbar {
    background: #fff;
    box-shadow: 0 2px 18px rgba(11,37,68,.06);
    position: relative;
    z-index: 1000;
}
.cl-nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: flex; align-items: center; }
.brand .brand-mark {
    width: 44px; height: 44px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--navy), var(--navy-3));
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-right: 12px;
    flex: none;
}
.brand .brand-name {
    font-weight: 800;
    font-size: 20px;
    color: var(--navy);
    letter-spacing: .04em;
    line-height: 1.15;
}
.brand .brand-sub {
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    display: block;
}
.cl-nav-menu { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.cl-nav-menu > li { margin-left: 34px; }
.cl-nav-menu > li > a {
    color: var(--navy);
    font-weight: 600;
    font-size: 15px;
    position: relative;
    padding: 28px 0;
    display: inline-block;
}
.cl-nav-menu > li > a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 20px;
    width: 0; height: 3px;
    border-radius: 2px;
    background: var(--accent);
    transition: width .3s ease;
}
.cl-nav-menu > li > a:hover,
.cl-nav-menu > li.active > a { color: var(--accent); }
.cl-nav-menu > li > a:hover::after,
.cl-nav-menu > li.active > a::after { width: 100%; }
.cl-nav-cta { margin-left: 34px; }
.cl-nav-cta .btn-cb { padding: 11px 26px; }

/* Sticky on scroll */
.cl-navbar.is-sticky {
    position: fixed;
    top: 0; left: 0; right: 0;
    box-shadow: 0 6px 30px rgba(11,37,68,.14);
    animation: navIn .35s ease;
}
@keyframes navIn { from { transform: translateY(-100%); } to { transform: translateY(0); } }
body.has-sticky-nav .cl-navbar.is-sticky { }

/* Mobile toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 26px; height: 3px;
    background: var(--navy);
    border-radius: 2px;
    margin: 5px 0;
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); overflow: hidden; }
.hero-slide { position: relative; min-height: 620px; display: flex; align-items: center; }
.hero-slide::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(7,25,47,.92) 0%, rgba(11,37,68,.68) 48%, rgba(11,37,68,.25) 100%);
    z-index: 1;
}
.hero-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 660px; padding: 120px 0; }
.hero-content .hero-eyebrow {
    display: inline-block;
    background: rgba(232,163,61,.18);
    border: 1px solid rgba(232,163,61,.5);
    color: var(--accent-2);
    font-size: 13px; font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    border-radius: 30px;
    padding: 6px 18px;
    margin-bottom: 22px;
}
.hero-content h1 { color: #fff; font-size: 50px; line-height: 1.22; margin-bottom: 20px; }
.hero-content p { color: rgba(255,255,255,.85); font-size: 18px; margin-bottom: 34px; }
.hero-content .btn-cb { margin-right: 14px; }
.hero-owl .owl-dots { position: absolute; bottom: 34px; left: 0; right: 0; z-index: 5; text-align: center; }
.hero-owl .owl-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.4); margin: 0 6px; transition: all .3s ease; }
.hero-owl .owl-dot.active { background: var(--accent); width: 30px; border-radius: 8px; }

/* ---------- Trust strip ---------- */
.truststrip { background: #fff; border-bottom: 1px solid var(--gray-line); }
.truststrip .container { position: relative; }
.trust-card-row { display: flex; flex-wrap: wrap; }
.trust-card {
    flex: 1 1 25%;
    min-width: 220px;
    display: flex;
    align-items: center;
    padding: 30px 22px;
    border-right: 1px solid var(--gray-line);
}
.trust-card:last-child { border-right: none; }
.trust-card i {
    font-size: 34px;
    color: var(--accent);
    margin-right: 16px;
    flex: none;
}
.trust-card h4 { font-size: 15px; margin: 0 0 3px; }
.trust-card p { font-size: 13px; color: var(--ink); margin: 0; }

/* ---------- Quick service icons (3 core) ---------- */
.services { }
.service-card {
    background: #fff;
    border: 1px solid var(--gray-line);
    border-radius: var(--radius);
    padding: 38px 30px;
    min-height: 320px;
    transition: all .35s ease;
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0);
    transition: transform .35s ease;
    transform-origin: left;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card .sc-icon {
    width: 78px; height: 78px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--bg-light), #eef3f9);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
}
.service-card .sc-icon img { width: 44px; }
.service-card h3 { font-size: 21px; margin-bottom: 12px; }
.service-card .link { font-weight: 700; color: var(--navy-3); font-size: 14px; }
.service-card:hover .link { color: var(--accent); }

/* ---------- About intro ---------- */
.about-intro { }
.ai-media { position: relative; }
.ai-media .ai-img-main {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%; object-fit: cover;
}
.ai-media .ai-box {
    position: absolute;
    right: -14px; bottom: -26px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius);
    padding: 20px 28px;
    box-shadow: 0 14px 34px rgba(232,163,61,.4);
}
.ai-box strong { font-size: 42px; font-weight: 800; display: block; line-height: 1; }
.ai-box span { font-size: 14px; }
.ai-copy h2 { font-size: 36px; margin-bottom: 18px; }
.ai-copy .lead { font-size: 18px; color: var(--navy-3); font-weight: 600; margin-bottom: 16px; }
.ai-list { list-style: none; margin: 26px 0; padding: 0; }
.ai-list li { padding: 6px 0; font-size: 16px; }
.ai-list li i { color: var(--accent); margin-right: 10px; }
.ai-feats { display: flex; flex-wrap: wrap; margin-top: 26px; }
.ai-feat {
    flex: 1 1 33%; min-width: 150px;
    border-left: 3px solid var(--accent);
    padding: 0 16px 0 18px; margin: 14px 0;
}
.ai-feat h4 { font-size: 26px; margin-bottom: 2px; color: var(--navy); }
.ai-feat p { font-size: 13px; margin: 0; }

/* ---------- Why choose us ---------- */
.why { background: var(--bg-light); position: relative; }
.why-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 34px 28px;
    height: 100%;
    border-bottom: 3px solid transparent;
    transition: all .3s ease;
    box-shadow: var(--shadow-sm);
}
.why-card:hover { border-bottom-color: var(--accent); transform: translateY(-5px); }
.why-card .wc-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    background: rgba(232,163,61,.14);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 26px;
}
.why-card h4 { font-size: 18px; margin-bottom: 8px; }
.why-card p { font-size: 14.5px; margin: 0; }

/* ---------- Process ---------- */
.step-card { text-align: center; position: relative; padding: 20px 18px; }
.step-num {
    width: 66px; height: 66px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-size: 24px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    border: 5px solid #e4ecf7;
}
.step-card h4 { font-size: 19px; margin-bottom: 8px; }
.step-card p { font-size: 14.5px; }
.step-link { display: none; }

/* ---------- Mission / Vision ---------- */
.mv-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.mv-card .mv-img { height: 260px; overflow: hidden; }
.mv-card .mv-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mv-card:hover .mv-img img { transform: scale(1.06); }
.mv-card .mv-body { padding: 30px 30px 34px; }
.mv-body .mv-tag {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 10px;
}
.mv-body h3 { font-size: 24px; margin-bottom: 10px; }

/* ---------- Stats band ---------- */
.stats-band { background: linear-gradient(120deg, var(--navy), var(--navy-3)); position: relative; }
.stats-band::before {
    content: '';
    position: absolute; inset: 0;
    background: url('../img/footer-bg.jpg') center / cover no-repeat;
    opacity: .08;
}
.stats-item { text-align: center; padding: 24px 10px; position: relative; z-index: 1; }
.stats-item strong { display: block; font-size: 46px; color: var(--accent); font-weight: 800; line-height: 1.1; }
.stats-item span { color: rgba(255,255,255,.85); font-size: 15px; letter-spacing: .04em; }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(120deg, var(--accent), var(--accent-2)); border-radius: 16px; padding: 54px 60px; color: #fff; }
.cta-banner h2 { color: #fff; margin-bottom: 12px; font-size: 32px; }
.cta-banner p { color: rgba(255,255,255,.92); font-size: 17px; margin: 0; }

/* ---------- Contact section ---------- */
.getin .gi-info-card {
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius);
    padding: 38px 34px;
    height: 100%;
}
.gi-info-card h3 { color: #fff; font-size: 22px; margin-bottom: 18px; }
.gi-info-card .gi-row { display: flex; align-items: flex-start; margin: 22px 0; }
.gi-info-card .gi-row i {
    width: 48px; height: 48px;
    flex: none;
    background: rgba(232,163,61,.18);
    border: 1px solid rgba(232,163,61,.4);
    border-radius: 12px;
    color: var(--accent);
    font-size: 19px;
    display: flex; align-items: center; justify-content: center;
    margin-right: 16px;
}
.gi-info-card .gi-row h5 { color: #fff; margin: 0 0 3px; font-size: 15px; }
.gi-info-card .gi-row p { margin: 0; color: rgba(255,255,255,.8); font-size: 14.5px; }
.contact-form {
    background: #fff;
    border: 1px solid var(--gray-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 40px;
}
.contact-form h3 { font-size: 24px; margin-bottom: 26px; }
.gi-img { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); min-height: 440px; }
.gi-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 992px) {
    .getin .row { display: flex; align-items: stretch; }
    .getin .row > [class*="col-"] { display: flex; }
    .getin .row > [class*="col-"] > * { width: 100%; }
    .gi-info-card { min-height: 420px; }
}
.form-control-cb {
    width: 100%;
    border: 1px solid var(--gray-line);
    border-radius: 8px;
    padding: 13px 16px;
    font-size: 15px;
    color: var(--navy);
    background: var(--bg-light);
    transition: all .25s ease;
    outline: none;
}
.form-control-cb:focus { border-color: var(--navy-3); background: #fff; box-shadow: 0 0 0 3px rgba(29,74,129,.12); }
.form-control-cb::placeholder { color: #9aa7b8; }
.form-group-cb { margin-bottom: 18px; }
label.form-label { font-weight: 600; color: var(--navy); font-size: 14px; margin-bottom: 8px; display: block; }
.form-result { font-size: 14px; font-weight: 600; margin-bottom: 14px; display: none; }
.form-result.ok { display: block; color: #1e8e4e; background: rgba(30,142,78,.08); border: 1px solid rgba(30,142,78,.3); padding: 10px 14px; border-radius: 8px; }
.form-result.err { display: block; color: #c0392b; background: rgba(192,57,43,.08); border: 1px solid rgba(192,57,43,.3); padding: 10px 14px; border-radius: 8px; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
    background: linear-gradient(100deg, var(--navy), var(--navy-3));
    position: relative;
    padding: 76px 0;
    text-align: center;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute; inset: 0;
    background: url('../img/footer-bg.jpg') center / cover no-repeat;
    opacity: .1;
}
.page-banner .inner { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-size: 42px; margin-bottom: 6px; }
.page-banner .crumb a { color: rgba(255,255,255,.75); }
.page-banner .crumb a:hover { color: var(--accent); }
.page-banner .crumb span { color: var(--accent); padding: 0 6px; }

/* ---------- Company detail boxes ---------- */
.cd-table { width: 100%; }
.cd-table tr { border-bottom: 1px solid var(--gray-line); }
.cd-table tr:last-child { border-bottom: none; }
.cd-table td { padding: 13px 8px; font-size: 15px; vertical-align: top; }
.cd-table td:first-child { color: var(--navy); font-weight: 600; width: 38%; white-space: nowrap; }
.cd-box {
    background: #fff;
    border: 1px solid var(--gray-line);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}
.cd-box h3 { font-size: 20px; margin-bottom: 16px; display: flex; align-items: center; }
.cd-box h3 i { color: var(--accent); margin-right: 12px; }

/* ---------- Company info strip ---------- */
.company-strip { background: #fff; border-bottom: 1px solid var(--gray-line); padding: 30px 0; }
.cs-row { display: flex; justify-content: center; flex-wrap: wrap; margin: 0 -12px; }
.cs-col { flex: 0 0 252px; max-width: 252px; padding: 0 12px; box-sizing: border-box; }
.cs-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 0; }
.cs-item > i { color: var(--accent); font-size: 28px; width: 44px; flex: none; margin-bottom: 10px; }
.cs-label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #8a97a8; font-weight: 600; margin-bottom: 3px; display: block; }
.cs-value { font-weight: 600; color: var(--navy); font-size: 15px; line-height: 1.55; display: block; }
.cs-value a { color: var(--navy); }
.cs-value a:hover { color: var(--accent); }
.cs-item .cs-sep { height: 44px; width: 1px; background: var(--gray-line); margin: 0 18px; flex: none; }

/* ---------- Footer ---------- */
.footer {
    background: #071a33;
    color: rgba(255,255,255,.72);
    font-size: 15px;
}
.footer .f-top { padding: 70px 0 40px; }
.footer h4.f-title { color: #fff; font-size: 19px; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer h4.f-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; background: var(--accent); border-radius: 2px; }
.footer .f-brand .brand-name { color: #fff; }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: var(--accent); }
.footer .f-links { list-style: none; padding: 0; margin: 0; }
.footer .f-links li { padding: 6px 0; }
.footer .f-links li i { color: var(--accent); margin-right: 8px; font-size: 12px; }
.footer .f-contact li { list-style: none; display: flex; margin-bottom: 16px; }
.footer .f-contact i { color: var(--accent); margin-right: 12px; margin-top: 4px; width: 16px; }
.footer .f-contact span { display: block; }
.footer .f-social { margin-top: 22px; }
.footer .f-social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25);
    display: inline-flex; align-items: center; justify-content: center;
    margin-right: 8px;
}
.footer .f-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer .f-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}
.footer .f-bottom a { color: var(--accent); }

/* ---------- Back to top ---------- */
.cb-scroll {
    position: fixed;
    right: 22px; bottom: 22px;
    width: 46px; height: 46px;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    box-shadow: 0 10px 26px rgba(232,163,61,.45);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: all .3s ease;
}
.cb-scroll.show { opacity: 1; visibility: visible; transform: translateY(0); }
.cb-scroll:hover { background: var(--navy); color: #fff; }

/* ---------- Mobile menu plugin overrides ---------- */
#sm_menu_ham { top: 22px !important; right: 24px !important; }
#sm_menu_ham span { background-color: var(--navy); }
.sm_menu_outer { background-color: var(--navy); }
.sm_menu_outer.slide .mobile_menu .submenu { background-color: #0d2d55; }
.sm_menu_outer .mobile_menu a { color: #fff; }
.sm_menu_outer .mobile_menu li { border-color: rgba(255,255,255,.08); }
.sm_menu_outer .mobile_menu li.hasChild > a,
.sm_menu_outer .mobile_menu li.back a { background-image: none; }
.sm_menu_outer .mobile_menu li.back a::before {
    content: '\f104';
    font-family: 'FontAwesome';
    color: var(--accent);
    margin-right: 10px;
}
.sm_menu_outer .mobile_menu li.back a { padding-left: 15px; }
.sm_menu_outer .mobile_menu li.hasChild > a::after {
    content: '\f105';
    font-family: 'FontAwesome';
    color: var(--accent);
    float: right;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .section-pad { padding: 64px 0; }
    .hero-slide { min-height: 520px; }
    .hero-content { padding: 90px 0; }
    .hero-content h1 { font-size: 36px; }
    .section-head h2 { font-size: 30px; }
    .cl-nav-menu { display: none; }
    .nav-toggle { display: block; }
    .trust-card { flex: 1 1 50%; border-bottom: 1px solid var(--gray-line); }
    .ai-box { right: 0; }
    .topbar .tb-sm-hide { display: none; }
    .cta-banner { padding: 40px 30px; }
}
@media (max-width: 767px) {
    .trust-card { flex: 1 1 100%; text-align: left; }
    .hero-content h1 { font-size: 30px; }
    .stats-item strong { font-size: 36px; }
    .contact-form { padding: 26px; }
    .page-banner h1 { font-size: 32px; }
    .cs-item .cs-sep { display: none; }
    .cs-col { flex: 0 0 100%; max-width: 100%; }
    .gi-img { min-height: 280px; }
}