/*
Theme Name: BSC Greenline Global
Theme URI: https://bsc-gg.com
Author: BSC Greenline Global
Description: Official WordPress theme for BSC Greenline Global — supply chain & logistics solutions.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: bsc
Tags: business, logistics, supply-chain, corporate, blue, green
*/

/* =============================================
   ROOT VARIABLES
   ============================================= */
:root {
  --blue:        #2563EB;
  --blue-dark:   #1D4ED8;
  --blue-light:  #EFF6FF;
  --green:       #22C55E;
  --green-dark:  #16A34A;
  --green-light: #F0FDF4;
  --navy:        #0F172A;
  --navy-mid:    #1E293B;
  --text:        #1E293B;
  --text-muted:  #64748B;
  --border:      #E2E8F0;
  --bg:          #F8FAFC;
  --white:       #FFFFFF;
  --shadow:      0 2px 16px rgba(0,0,0,0.07);
  --shadow-md:   0 4px 24px rgba(0,0,0,0.10);
  --radius:      12px;
  --radius-sm:   8px;
  --max:         1200px;
  --font:        'Inter', 'Segoe UI', sans-serif;
  --t:           0.25s ease;
}

/* =============================================
   RESET
   ============================================= */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:var(--font);color:var(--text);background:var(--white);line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none}
button{font-family:var(--font)}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1{font-size:clamp(2.2rem,5vw,3.5rem);font-weight:800;line-height:1.15;letter-spacing:-0.02em}
h2{font-size:clamp(1.8rem,3.5vw,2.6rem);font-weight:800;line-height:1.2;letter-spacing:-0.02em}
h3{font-size:clamp(1.1rem,2vw,1.4rem);font-weight:700;line-height:1.3}
h4{font-size:1.05rem;font-weight:700}
p{color:var(--text-muted);line-height:1.7}

/* =============================================
   LAYOUT
   ============================================= */
.container{max-width:var(--max);margin:0 auto;padding:0 2rem}
.section{padding:5rem 0}
.section--bg{background:var(--bg)}
.section--white{background:var(--white)}
.section--navy{background:var(--navy)}
.section--blue{background:var(--blue)}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:2rem}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}
.text-center{text-align:center}
.section-title{margin-bottom:3.5rem}
.section-title h2{color:var(--text);margin-bottom:.75rem}
.section-title p{font-size:1rem;color:var(--text-muted);max-width:600px;margin:0 auto}

/* =============================================
   BUTTONS
   ============================================= */
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.75rem;font-size:.9rem;font-weight:600;border-radius:8px;border:2px solid transparent;cursor:pointer;transition:all var(--t);white-space:nowrap}
.btn-white{background:var(--white);color:var(--text);border-color:var(--white)}
.btn-white:hover{background:rgba(255,255,255,0.9);transform:translateY(-1px)}
.btn-outline-white{background:transparent;color:var(--white);border-color:rgba(255,255,255,0.6)}
.btn-outline-white:hover{background:rgba(255,255,255,0.1)}
.btn-dark{background:var(--navy);color:var(--white);border-color:var(--navy)}
.btn-dark:hover{background:#1a2c4a;transform:translateY(-1px);box-shadow:0 6px 20px rgba(0,0,0,0.2)}
.btn-blue{background:var(--blue);color:var(--white);border-color:var(--blue)}
.btn-blue:hover{background:var(--blue-dark);transform:translateY(-1px)}

/* =============================================
   HEADER
   ============================================= */
.site-header{background:var(--white);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:200;padding:.9rem 0}
.header-inner{display:flex;align-items:center;justify-content:space-between}

/* Logo */
.site-logo{display:flex;align-items:center;gap:.5rem;font-weight:800;font-size:1.5rem;line-height:1}
.site-logo img{height:48px;width:auto}
.logo-bsc{color:var(--blue);font-size:1.8rem;font-weight:900}
.logo-greenline{color:var(--green);font-size:.95rem;font-weight:700;line-height:1.1}
.logo-global{color:var(--green);font-size:.95rem;font-weight:700;line-height:1.1}
.logo-text-wrap{display:flex;flex-direction:column;margin-left:.3rem}

/* Nav */
.main-nav ul{display:flex;align-items:center;gap:.25rem}
.main-nav a{padding:.5rem 1rem;font-size:.9rem;font-weight:500;color:var(--text-muted);border-radius:6px;transition:color var(--t)}
.main-nav a:hover,.main-nav a.current-menu-item{color:var(--blue);font-weight:600}
.menu-toggle{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:4px}
.menu-toggle span{display:block;width:24px;height:2px;background:var(--text);border-radius:2px;transition:all var(--t)}
.menu-toggle.open span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.menu-toggle.open span:nth-child(2){opacity:0}
.menu-toggle.open span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* =============================================
   HERO GRADIENT BANNER (used on all page tops)
   ============================================= */
.hero-banner{
  background:linear-gradient(135deg,#2563EB 0%,#1D9E6A 60%,#22C55E 100%);
  position:relative;
  overflow:hidden;
}
/* subtle dot texture like screenshots */
.hero-banner::after{
  content:'';position:absolute;inset:0;
  background-image:radial-gradient(circle,rgba(255,255,255,0.06) 1px,transparent 1px);
  background-size:28px 28px;
}

/* ── HOME HERO ── */
.home-hero{padding:5rem 0 6rem}
.home-hero .container{position:relative;z-index:1}
.home-hero h1{color:#fff;max-width:660px;margin-bottom:1.25rem}
.home-hero .hero-sub{font-size:1.05rem;color:rgba(255,255,255,0.82);max-width:560px;margin-bottom:2rem}
.hero-actions{display:flex;gap:1rem;flex-wrap:wrap}

/* ── PAGE HERO (inner pages) ── */
.page-hero{padding:3.5rem 0 3rem}
.page-hero .container{position:relative;z-index:1}
.page-hero h1{color:#fff;font-size:clamp(1.8rem,4vw,2.8rem);margin-bottom:.75rem}
.page-hero p{color:rgba(255,255,255,0.8);font-size:1rem;max-width:620px}

/* =============================================
   STATS ROW (homepage below hero)
   ============================================= */
.stats-row{background:var(--bg);padding:3rem 0;border-bottom:1px solid var(--border)}
.stats-inner{display:grid;grid-template-columns:repeat(4,1fr);text-align:center;gap:1rem}
.stat-num{font-size:2.2rem;font-weight:800;color:var(--blue);line-height:1;margin-bottom:.35rem}
.stat-label{font-size:.88rem;color:var(--text-muted);font-weight:500}

/* =============================================
   SERVICE CARDS (home — green icons, 4 col)
   ============================================= */
.svc-card{background:var(--white);border-radius:var(--radius);padding:1.75rem;box-shadow:var(--shadow);transition:all var(--t)}
.svc-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px)}
.svc-icon{width:48px;height:48px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.25rem;margin-bottom:1rem;color:#fff}
.svc-icon--green{background:var(--green)}
.svc-icon--blue{background:var(--blue)}
.svc-card h4{color:var(--text);margin-bottom:.5rem;font-size:1rem}
.svc-card p{font-size:.9rem}
.section-cta{text-align:center;margin-top:2.5rem}

/* =============================================
   WHY CHOOSE US (3 blue circles)
   ============================================= */
.why-section{background:var(--bg)}
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;text-align:center}
.why-icon-wrap{width:72px;height:72px;border-radius:50%;background:var(--blue);display:flex;align-items:center;justify-content:center;margin:0 auto 1.25rem;color:#fff;font-size:1.4rem}
.why-item h4{color:var(--text);margin-bottom:.5rem}
.why-item p{font-size:.9rem}

/* =============================================
   HOW WE WORK (numbered steps)
   ============================================= */
.steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;text-align:center;margin-top:3rem}
.step-num{width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.1rem;font-weight:800;color:#fff;margin:0 auto 1.25rem}
/* gradient matching screenshots */
.step-1{background:linear-gradient(135deg,#3B82F6,#22C55E)}
.step-2{background:linear-gradient(135deg,#2563EB,#1D9E6A)}
.step-3{background:linear-gradient(135deg,#1D4ED8,#16A34A)}
.step-4{background:linear-gradient(135deg,#1E40AF,#0F8A3A)}
.step-item h4{color:var(--text);margin-bottom:.5rem}
.step-item p{font-size:.88rem}

/* =============================================
   CTA BAND (blue full-width)
   ============================================= */
.cta-band{background:var(--blue);text-align:center;padding:3.5rem 0}
.cta-band h2{color:#fff;margin-bottom:.75rem}
.cta-band p{color:rgba(255,255,255,0.8);margin-bottom:2rem;font-size:1rem}

/* =============================================
   ABOUT PAGE — WHO WE ARE
   ============================================= */
.who-grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:start}
.who-text h2{margin-bottom:1rem;color:var(--text)}
.who-text p{margin-bottom:1rem}
.stat-cards{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.stat-card{border-radius:var(--radius);padding:1.5rem 1.75rem}
.stat-card--blue{background:var(--blue)}
.stat-card--green{background:var(--green)}
.stat-card .sc-num{font-size:2.2rem;font-weight:800;color:#fff;line-height:1;margin-bottom:.3rem}
.stat-card .sc-label{font-size:.88rem;color:rgba(255,255,255,0.85);font-weight:500}

/* =============================================
   MISSION / VISION CARDS
   ============================================= */
.mv-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.mv-card{background:var(--white);border-radius:var(--radius);padding:2rem;box-shadow:var(--shadow)}
.mv-icon{width:52px;height:52px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.3rem;color:#fff;margin-bottom:1.25rem}
.mv-icon--blue{background:var(--blue)}
.mv-icon--green{background:var(--green)}
.mv-card h3{color:var(--text);margin-bottom:.75rem}
.mv-card p{font-size:.95rem}

/* =============================================
   CORE VALUES (4 cards)
   ============================================= */
.values-section{background:var(--white)}
.value-card{background:var(--white);border-radius:var(--radius);padding:1.75rem;box-shadow:var(--shadow);text-align:center;transition:all var(--t)}
.value-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px)}
.val-icon{width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.25rem;font-size:1.3rem;color:#fff;background:linear-gradient(135deg,#3B82F6,#22C55E)}
.value-card h4{color:var(--text);margin-bottom:.5rem}
.value-card p{font-size:.88rem}

/* =============================================
   SERVICES PAGE — detailed cards (2 col)
   ============================================= */
.service-detail-card{background:var(--white);border-radius:var(--radius);padding:2rem;box-shadow:var(--shadow);transition:all var(--t)}
.service-detail-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px)}
.sd-icon{width:52px;height:52px;border-radius:var(--radius-sm);background:var(--green);display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.2rem;margin-bottom:1.25rem}
.service-detail-card h3{color:var(--text);margin-bottom:.75rem;font-size:1.15rem}
.service-detail-card>p{margin-bottom:1rem;font-size:.93rem}
.service-detail-card ul{padding-left:0}
.service-detail-card ul li{display:flex;align-items:flex-start;gap:.5rem;font-size:.88rem;color:var(--text-muted);padding:.3rem 0}
.service-detail-card ul li::before{content:'•';color:var(--blue);font-weight:700;flex-shrink:0;margin-top:.05rem}

/* Additional services (blue icons, 4 col) */
.addl-card{background:var(--white);border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow);text-align:center;transition:all var(--t)}
.addl-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px)}
.addl-icon{width:56px;height:56px;border-radius:50%;background:var(--blue);display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;color:#fff;font-size:1.2rem}
.addl-card h4{color:var(--text);margin-bottom:.5rem;font-size:.95rem}
.addl-card p{font-size:.85rem}

/* =============================================
   CONTACT PAGE — info cards (4 col)
   ============================================= */
.contact-info-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin-top:3rem}
.ci-card{background:var(--white);border-radius:var(--radius);padding:1.75rem;box-shadow:var(--shadow);text-align:center;transition:all var(--t)}
.ci-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px)}
.ci-card-icon{width:56px;height:56px;border-radius:50%;background:var(--blue);display:flex;align-items:center;justify-content:center;margin:0 auto 1.25rem;color:#fff;font-size:1.2rem}
.ci-card h3{color:var(--text);margin-bottom:.75rem;font-size:1rem;font-weight:700}
.ci-card p{font-size:.88rem;line-height:1.6}

/* Map + Get in touch row */
.contact-lower{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;margin-top:3rem;align-items:start}
.map-placeholder{background:linear-gradient(135deg,#2563EB 0%,#1D9E6A 60%,#22C55E 100%);border-radius:var(--radius);height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;text-align:center;padding:2rem}
.map-placeholder i{font-size:2.5rem;margin-bottom:1rem;opacity:.9}
.map-placeholder h4{font-size:1.05rem;margin-bottom:.5rem}
.map-placeholder p{color:rgba(255,255,255,0.8);font-size:.88rem}

.get-in-touch-card{background:var(--white);border-radius:var(--radius);padding:2rem;box-shadow:var(--shadow)}
.get-in-touch-card h2{color:var(--text);margin-bottom:1rem;font-size:1.5rem}
.get-in-touch-card>p{margin-bottom:1.5rem;font-size:.95rem}
.git-list{display:flex;flex-direction:column;gap:.75rem}
.git-list li{display:flex;align-items:center;gap:.6rem;font-size:.93rem;color:var(--text)}
.git-list li::before{content:'•';color:var(--blue);font-size:1.2rem;line-height:1;flex-shrink:0}

/* Why choose us card (contact page) */
.why-choose-card{background:var(--white);border-radius:var(--radius);padding:2rem;box-shadow:var(--shadow);margin-top:2.5rem}
.why-choose-card h3{color:var(--text);margin-bottom:1.25rem;font-size:1.1rem}
.why-choose-list{display:flex;flex-direction:column;gap:.65rem}
.why-choose-list li{display:flex;align-items:center;gap:.6rem;font-size:.92rem;color:var(--text-muted)}
.why-choose-list li::before{content:'•';color:var(--green-dark);font-size:1.1rem;flex-shrink:0}

/* =============================================
   FOOTER
   ============================================= */
.site-footer{background:var(--navy)}
.footer-body{padding:3.5rem 0 2.5rem}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1.5fr;gap:3rem;padding-bottom:2.5rem;border-bottom:1px solid rgba(255,255,255,0.08)}
.footer-logo{display:flex;align-items:center;gap:.4rem;margin-bottom:1rem}
.footer-logo .logo-bsc{color:#fff;font-size:1.6rem;font-weight:900}
.footer-logo .logo-greenline,.footer-logo .logo-global{color:#93C5FD;font-size:.85rem;font-weight:700}
.footer-about{font-size:.88rem;color:rgba(255,255,255,0.55);max-width:300px;line-height:1.7;margin-bottom:1.25rem}
.footer-social{display:flex;gap:.75rem}
.fsoc{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.12);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,0.6);font-size:.9rem;transition:all var(--t)}
.fsoc:hover{background:var(--blue);border-color:var(--blue);color:#fff}

.footer-col h5{font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#fff;margin-bottom:1.25rem}
.footer-col ul li{margin-bottom:.55rem}
.footer-col ul a{font-size:.88rem;color:rgba(255,255,255,0.55);transition:color var(--t)}
.footer-col ul a:hover{color:#fff}

.footer-contact-list{display:flex;flex-direction:column;gap:.8rem}
.fci{display:flex;gap:.75rem;align-items:flex-start}
.fci-icon{color:rgba(255,255,255,0.5);font-size:.9rem;margin-top:.15rem;flex-shrink:0}
.fci-text{font-size:.85rem;color:rgba(255,255,255,0.55);line-height:1.5}
.fci-text a{color:rgba(255,255,255,0.55);transition:color var(--t)}
.fci-text a:hover{color:#fff}

.footer-bottom{padding:1.25rem 0;text-align:center;font-size:.82rem;color:rgba(255,255,255,0.35)}

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb{display:flex;gap:.5rem;align-items:center;font-size:.82rem;color:rgba(255,255,255,0.6);margin-top:.5rem}
.breadcrumb a{color:rgba(255,255,255,0.7)}
.breadcrumb a:hover{color:#fff}
.breadcrumb-sep{opacity:.5}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
.fade-in{opacity:0}
.fade-in.visible{animation:fadeUp .55s ease forwards}

/* =============================================
   RESPONSIVE
   ============================================= */
@media(max-width:1024px){
  .grid-4,.steps-grid,.stats-inner,.contact-info-cards{grid-template-columns:repeat(2,1fr)}
  .who-grid,.contact-lower{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .why-grid{grid-template-columns:1fr}
}
@media(max-width:768px){
  .grid-2,.grid-3,.mv-grid,.stat-cards{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .menu-toggle{display:flex}
  .main-nav{
    display:none;position:fixed;top:72px;left:0;right:0;bottom:0;
    background:#fff;flex-direction:column;padding:2rem;z-index:190;overflow-y:auto
  }
  .main-nav.open{display:flex}
  .main-nav ul{flex-direction:column;gap:0}
  .main-nav ul li{border-bottom:1px solid var(--border)}
  .main-nav a{display:block;padding:1rem .5rem;font-size:1rem}
  .hero-actions{flex-direction:column}
  .stats-inner,.steps-grid,.contact-info-cards{grid-template-columns:1fr}
}
