/* ============================================================
   HARSH CLEARING & FORWARDING PVT LTD — Shared Stylesheet
   ============================================================ */

:root {
  --blue:       #0080c1;
  --blue-dark:  #005f91;
  --blue-light: #e8f4fb;
  --navy:       #0d1b2a;
  --navy-mid:   #1a2d40;
  --white:      #ffffff;
  --gray:       #f5f7fa;
  --text:       #111111; /* Improved Contrast: Darker text */
  --text-muted: #3b4a5a; /* Improved Contrast: Darker muted text for readability */
  --border:     #d8e4ed;
  --gold:       #f0a500;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.98); /* Slightly darker for better contrast */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,128,193,0.3);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 45px; width: auto; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-text .brand { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 18px; color: var(--white); letter-spacing: 0.08em; text-transform: uppercase; }
.nav-logo-text .sub { font-size: 10px; color: var(--blue); letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a { color: rgba(255,255,255,0.9); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s; padding: 8px 0; display: flex; align-items: center; gap: 4px; }
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--blue); }
.has-dropdown > a::after { content: '▾'; font-size: 10px; transition: transform 0.2s; }
.has-dropdown:hover > a::after { transform: rotate(180deg); }

.dropdown { display: none; position: absolute; top: calc(100% + 10px); left: 0; background: var(--navy); border: 1px solid rgba(0,128,193,0.3); border-radius: 6px; min-width: 220px; box-shadow: 0 12px 36px rgba(0,0,0,0.5); overflow: hidden; z-index: 100; }
.has-dropdown:hover .dropdown { display: block; }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 13px 18px; color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 400; border-bottom: 1px solid rgba(255,255,255,0.1); transition: all 0.2s; }
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: rgba(0,128,193,0.2); color: var(--blue); padding-left: 24px; }
.dropdown a .dd-icon { font-size: 16px; flex-shrink: 0; }

.nav-cta { background: var(--blue) !important; color: var(--white) !important; padding: 9px 22px !important; border-radius: 3px !important; font-weight: 600 !important; }
.nav-cta:hover { background: var(--blue-dark) !important; color: var(--white) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.hamburger span { width: 24px; height: 2px; background: white; border-radius: 2px; }

.mobile-menu { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--navy); z-index: 999; padding: 10px 5% 20px; border-bottom: 1px solid rgba(0,128,193,0.3); max-height: calc(100vh - 70px); overflow-y: auto; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; color: rgba(255,255,255,0.9); padding: 13px 0; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); font-weight: 500; }
.mobile-menu a:hover { color: var(--blue); }
.mobile-menu .mob-sub { padding-left: 16px; font-size: 13px; color: rgba(255,255,255,0.7) !important; }

/* ===== SECTION COMMONS ===== */
section { padding: 90px 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag { display: inline-block; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 12px; position: relative; padding-left: 20px; }
.section-tag::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 12px; height: 2px; background: var(--blue); }
.section-tag.light { color: #8ad2ee; }
.section-tag.light::before { background: #8ad2ee; }
.section-title { font-size: clamp(28px, 4vw, 44px); color: var(--navy); margin-bottom: 16px; }
.section-title.light { color: white; }
.section-subtitle { font-size: 17px; color: var(--text-muted); max-width: 640px; line-height: 1.75; font-weight: 500;}
.section-subtitle.light { color: rgba(255,255,255,0.85); } /* Increased contrast */
.section-header { margin-bottom: 52px; }

/* ===== BUTTONS ===== */
.btn-primary { background: var(--blue); color: white; padding: 14px 32px; border-radius: 3px; font-weight: 600; font-size: 15px; letter-spacing: 0.05em; transition: all 0.25s; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,128,193,0.5); color: white; }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.6); color: white; padding: 14px 32px; border-radius: 3px; font-weight: 600; font-size: 15px; transition: all 0.25s; display: inline-flex; align-items: center; gap: 8px; }
.btn-outline:hover { border-color: var(--blue); background: var(--blue); color: white; }
.btn-outline-dark { border: 1.5px solid var(--blue); color: var(--blue); padding: 12px 28px; border-radius: 3px; font-weight: 600; font-size: 14px; transition: all 0.25s; display: inline-flex; align-items: center; gap: 8px; }
.btn-outline-dark:hover { background: var(--blue); color: white; }

/* ===== CARDS ===== */
.service-card { border: 1px solid var(--border); border-radius: 8px; padding: 36px 28px; transition: all 0.3s; position: relative; overflow: hidden; background: white; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { border-color: rgba(0,128,193,0.4); box-shadow: 0 12px 40px rgba(0,128,193,0.15); transform: translateY(-4px); }
.service-icon { width: 56px; height: 56px; background: var(--blue-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 20px; border: 1px solid rgba(0,128,193,0.1); }
.service-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.75; margin-bottom: 20px; font-weight: 500;}
.service-list { list-style: none; border-top: 1px solid var(--border); padding-top: 16px; }
.service-list li { font-size: 13.5px; color: var(--text-muted); padding: 4px 0 4px 16px; position: relative; font-weight: 500;}
.service-list li::before { content: '→'; position: absolute; left: 0; color: var(--blue); font-weight: bold;}

/* ===== WHY CARD ===== */
.why-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; padding: 32px 28px; transition: all 0.3s; display: flex; gap: 20px; }
.why-card:hover { background: rgba(0,128,193,0.15); border-color: rgba(0,128,193,0.4); }
.why-icon { width: 52px; height: 52px; background: rgba(0,128,193,0.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; border: 1px solid rgba(0,128,193,0.3);}
.why-card h3 { color: white; font-size: 20px; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,0.8); font-size: 14.5px; line-height: 1.7; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero { background: var(--navy); padding: 130px 5% 70px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy) 55%, rgba(0,128,193,0.2) 100%); }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.15; }
.page-hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); color: white; margin-bottom: 16px; }
.page-hero h1 span { color: var(--blue); }
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.85); max-width: 600px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13px; font-weight: 600;}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: var(--blue); }

/* ===== LICENSED BY BANNER ===== */
.licensed-banner { background: var(--gray); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 48px 5%; }
.licensed-banner-inner { max-width: 1200px; margin: 0 auto; }
.licensed-banner h3 { text-align: center; font-size: 13px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 36px; position: relative; }
.licensed-banner h3::before, .licensed-banner h3::after { content: ''; position: absolute; top: 50%; width: 30%; height: 1px; background: #c2d1dd; }
.licensed-banner h3::before { left: 0; }
.licensed-banner h3::after { right: 0; }
.licensed-logos { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.licensed-logo-item { flex: 1; min-width: 180px; max-width: 280px; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px 28px; border-right: 1px solid var(--border); text-align: center; transition: all 0.3s; }
.licensed-logo-item:last-child { border-right: none; }
.licensed-logo-item:hover { background: white; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-radius: 8px;}
.logo-emblem { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; border-radius: 50%; overflow: hidden; }
.logo-emblem img { width: 80px; height: 80px; object-fit: contain; }
.licensed-logo-item .logo-name { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700; color: var(--navy); letter-spacing: 0.05em; line-height: 1.2; }
.licensed-logo-item .logo-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; font-weight: 500;}

/* ===== FOOTER & SOCIAL ICONS ===== */
footer { background: #060f18; padding: 56px 5% 24px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; max-width: 1200px; margin: 0 auto 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.footer-brand p { color: rgba(255,255,255,0.75); font-size: 14.5px; line-height: 1.7; margin-top: 16px; max-width: 320px; }

/* Social Icons Styling */
.social-links { display: flex; gap: 12px; margin-top: 24px; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: rgba(255,255,255,0.1); color: white; border-radius: 50%; transition: all 0.3s ease; text-decoration: none; font-size: 16px; font-weight: bold; border: 1px solid rgba(255,255,255,0.2);}
.social-links a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,128,193,0.4); }

.footer-col h4 { color: white; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 20px; font-family: 'Barlow', sans-serif; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: rgba(255,255,255,0.75); font-size: 14.5px; transition: color 0.2s; font-weight: 500;}
.footer-col ul li a:hover { color: var(--blue); }
.footer-bottom { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 13.5px; }
.footer-bottom a { color: var(--blue); font-weight: 600;}

/* ===== CONTACT FORM ===== */
.contact-form { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); border-radius: 10px; padding: 36px; }
.contact-form h3 { color: white; font-size: 22px; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; color: rgba(255,255,255,0.8); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); border-radius: 5px; padding: 12px 16px; color: white; font-size: 15px; font-family: 'Barlow', sans-serif; transition: border-color 0.2s; outline: none; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-group select option { background: var(--navy); color: white; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--blue); background: rgba(255,255,255,0.12);}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.submit-btn { width: 100%; background: var(--blue); color: white; border: none; padding: 14px; border-radius: 5px; font-size: 15px; font-weight: 700; font-family: 'Barlow', sans-serif; cursor: pointer; letter-spacing: 0.05em; transition: all 0.25s; margin-top: 8px; }
.submit-btn:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,128,193,0.5); }

/* ===== CONTACT INFO ===== */
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 46px; height: 46px; background: rgba(0,128,193,0.25); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; border: 1px solid rgba(0,128,193,0.4); }
.contact-item-text .label { font-size: 11px; color: var(--blue); text-transform: uppercase; letter-spacing: 0.15em; font-weight: 700; display: block; margin-bottom: 4px; }
.contact-item-text a, .contact-item-text span { color: rgba(255,255,255,0.95); font-size: 15px; line-height: 1.5; display: block; }
.contact-item-text a:hover { color: var(--blue); }

/* ===== FADE IN ANIMATION ===== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ===== BACK TO TOP ===== */
.back-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; background: var(--blue); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 0.3s; text-decoration: none; box-shadow: 0 4px 16px rgba(0,128,193,0.5); z-index: 500; }
.back-top.show { opacity: 1; pointer-events: all; }

/* ===== STAT BOX ===== */
.stat-box { text-align: center; padding: 32px 20px; background: rgba(13,27,42,0.8); backdrop-filter: blur(5px); }
.stat-box .num { font-family: 'Barlow Condensed', sans-serif; font-size: 42px; font-weight: 800; color: var(--blue); display: block; line-height: 1; margin-bottom: 6px; }
.stat-box .lbl { font-size: 12px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;}

/* ===== CTA STRIP ===== */
.cta-strip { background: var(--blue); padding: 56px 5%; text-align: center; }
.cta-strip h2 { color: white; font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.cta-strip p { color: rgba(255,255,255,0.9); font-size: 17px; margin-bottom: 32px; font-weight: 500;}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .licensed-logo-item { border-right: none; border-bottom: 1px solid var(--border); }
  .licensed-logo-item:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
  section { padding: 60px 5%; }
  .licensed-logos { flex-direction: column; }
}