/* ==========================================================================
   Aakash Bhoomi Carrier Pvt. Ltd. - Exact Match Design System
   Modeled after https://aakashbhoomicarrier.com/
   ========================================================================== */

:root {
  --color-brand-teal: #276B8A;
  --color-brand-teal-hover: #1e5670;
  --color-brand-navy: #1A2A36;
  --color-brand-navy-dark: #121E27;
  --color-bg-light: #EAF6FB;
  --color-bg-white: #FFFFFF;
  --color-text-main: #0F172A;
  --color-text-body: #56585E;
  --color-text-muted: #727586;
  --color-text-light: #FFFFFF;
  --color-border-gray: #DADCE0;
  --color-input-bg: #FFFFFF;
  --color-input-border: #B8C0CC;
  --color-star-gold: #FFCD35;

  /* Typography: User Specified System Font Stack */
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --container-max: 1240px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  background-color: var(--color-bg-white);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button, input, select, textarea {
  font-family: var(--font-main);
  border: none;
  outline: none;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.2;
}

h1 { 
  font-size: clamp(2.4rem, 4.8vw, 56px); 
  font-weight: 700; 
  letter-spacing: -0.03em;
  line-height: 1.15; 
}

h2 { 
  font-size: clamp(2rem, 3.6vw, 44px); 
  font-weight: 700; 
  letter-spacing: -0.025em; 
  line-height: 1.2; 
}

h3 { 
  font-size: clamp(1.35rem, 2.4vw, 24px); 
  font-weight: 700; 
  letter-spacing: -0.015em; 
  line-height: 1.3; 
}

h4 { 
  font-size: 20px; 
  font-weight: 700; 
  letter-spacing: -0.01em; 
  line-height: 1.4; 
}

p { 
  font-family: var(--font-body);
  color: var(--color-text-body); 
  font-size: 16px; 
  font-weight: 400; 
  line-height: 1.65; 
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-bg-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 88px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 32px;
  color: #0F172A;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 400;
  color: #334155;
  line-height: 24px;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #0F172A;
}

.nav-link.active {
  color: #0F172A;
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #0F172A;
}

.mobile-menu-btn {
  display: none;
  background: none;
  cursor: pointer;
  padding: 6px;
}

/* Buttons */
.btn-teal {
  display: inline-block;
  font-family: var(--font-heading);
  background-color: var(--color-brand-teal);
  color: #FFFFFF;
  padding: 13px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.15s ease;
  border: none;
}

.btn-teal:hover {
  background-color: var(--color-brand-teal-hover);
  transform: translateY(-1px);
}

.btn-hero-primary {
  display: inline-block;
  font-family: var(--font-heading);
  background-color: var(--color-brand-teal);
  color: #FFFFFF;
  padding: 14px 34px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.15s ease;
  border: none;
}

.btn-hero-primary:hover {
  background-color: var(--color-brand-teal-hover);
  transform: translateY(-1px);
}

.btn-outline-dark {
  display: inline-block;
  font-family: var(--font-heading);
  background-color: transparent;
  color: #0F172A;
  border: 1px solid #0F172A;
  padding: 11px 30px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-outline-dark:hover {
  background-color: #0F172A;
  color: #FFFFFF;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-banner,
.hero-video-wrap {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #1A2A36;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.65) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(13, 20, 26, 0.4) 0%, rgba(13, 20, 26, 0.75) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
  padding: 40px 20px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  color: #FFFFFF;
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-content p {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  margin-bottom: 32px;
}

.hero-rating {
  margin-top: 36px;
}

.stars {
  color: #FFFFFF;
  font-size: 1.25rem;
  letter-spacing: 4px;
  margin-bottom: 4px;
}

.rating-text {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ==========================================================================
   Section 2: Trusted Logistics Experts (2 Columns)
   ========================================================================== */

.section-experts {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.experts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.experts-left h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 24px;
}

.experts-left p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-body);
  margin-bottom: 45px;
}

.experts-stats {
  display: flex;
  gap: 70px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-big {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-brand-teal);
  line-height: 1.15;
  margin-bottom: 6px;
}

.stat-sub {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-body);
}

.experts-image-wrap {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.experts-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* ==========================================================================
   Section 3: Our Services (Ice Blue Background)
   ========================================================================== */

.section-services {
  background-color: var(--color-bg-light);
  padding: 100px 0 120px 0;
}

.services-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px auto;
}

.services-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 16px;
}

.services-header p {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--color-text-body);
  line-height: 1.6;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-item-card {
  display: flex;
  flex-direction: column;
}

.service-item-img {
  border-radius: 20px;
  overflow: hidden;
  height: 270px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.service-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-item-card:hover .service-item-img img {
  transform: scale(1.04);
}

.service-item-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #0F172A;
}

.service-item-card p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-body);
  line-height: 1.6;
}

/* ==========================================================================
   Section 4 & 5: Stay Connected & Dark Footer
   ========================================================================== */

.site-footer {
  background-color: var(--color-brand-navy);
  color: #FFFFFF;
  padding: 80px 0 40px 0;
}

.stay-connected-box {
  max-width: 520px;
  margin: 0 auto 70px auto;
  text-align: center;
}

.stay-connected-box label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.input-rounded {
  width: 100%;
  padding: 14px 20px;
  background-color: #FFFFFF;
  border-radius: 12px;
  font-size: 15px;
  color: #000000;
  margin-bottom: 18px;
}

.input-rounded::placeholder {
  color: #9E9E9E;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 60px;
}

.footer-col h3 {
  font-family: var(--font-heading);
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.footer-col p {
  font-family: var(--font-body);
  color: #CBD5E1;
  font-size: 15px;
  line-height: 1.6;
}

.footer-social-icons {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-icon-link {
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.social-icon-link:hover {
  opacity: 0.75;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  color: #CBD5E1;
}

.footer-contact-info a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-copyright {
  text-align: left;
  font-size: 14px;
  color: #94A3B8;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   WhatsApp Floating Bubble
   ========================================================================== */

.whats-app-bubble {
  position: fixed;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 20px;
  bottom: 24px;
  cursor: pointer;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 100px;
  box-shadow: #00000026 0 4px 12px;
  color: white;
  transition: transform 0.2s ease;
}

.whats-app-bubble:hover {
  transform: scale(1.08);
}

/* ==========================================================================
   Live Tracking Modal
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 20, 26, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-dialog {
  background: #FFFFFF;
  border-radius: 20px;
  max-width: 650px;
  width: 100%;
  padding: 35px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transition: max-width 0.3s ease;
}

.modal-dialog.modal-tracking-expanded {
  max-width: 960px;
  width: 96%;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: #727586;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: #0F172A;
}

/* Tracking Form & Iframe Integration */
.track-by-group {
  margin-bottom: 16px;
}

.track-by-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.track-by-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.track-by-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.track-by-pill:hover {
  background: #EFF6FF;
  border-color: #CBD5E1;
}

.track-by-pill.active {
  background: #EAF6FB;
  border-color: #276B8A;
  color: #276B8A;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(39, 107, 138, 0.15);
}

.track-by-pill input[type="radio"] {
  accent-color: #276B8A;
  margin: 0;
  cursor: pointer;
}

.track-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.track-input-row .input-rounded {
  flex: 1;
  margin-bottom: 0;
  border: 1.5px solid #CBD5E1;
  font-size: 0.98rem;
}

.track-input-row .input-rounded:focus {
  border-color: #276B8A;
  box-shadow: 0 0 0 3px rgba(39, 107, 138, 0.15);
}

.tracking-page-section {
  padding: 50px 0 90px 0;
  background: #F8FAFC;
  min-height: 85vh;
}

.tracking-card-container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid #E2E8F0;
  transition: all 0.3s ease;
}

.tracking-header {
  text-align: center;
  margin-bottom: 28px;
}

.tracking-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}

.tracking-header p {
  font-family: var(--font-body);
  color: #56585E;
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

.tracking-quick-samples {
  font-size: 0.88rem;
  color: #727586;
  margin-top: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tracking-quick-samples .sample-label {
  font-weight: 500;
  color: #64748B;
}

.tracking-quick-samples a {
  color: var(--color-brand-teal);
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease;
}

.tracking-quick-samples a:hover {
  color: var(--color-brand-teal-hover);
}

.tracking-iframe-card {
  margin-top: 20px;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.tracking-iframe-wrapper {
  position: relative;
  width: 100%;
  min-height: 540px;
  background: #F8FAFC;
}

.tracking-iframe-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #FFFFFF;
  z-index: 2;
  color: #64748B;
  font-size: 0.92rem;
  font-weight: 500;
}

.tracking-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #E2E8F0;
  border-top-color: #276B8A;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.tracking-iframe {
  position: relative;
  width: 100%;
  height: 560px;
  border: none;
  background: #FFFFFF;
  z-index: 1;
}

/* ==========================================================================
   Responsive Rules
   ========================================================================== */

@media (max-width: 960px) {
  .experts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-cards-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .tracking-card-container {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .tracking-header {
    margin-bottom: 22px;
  }

  .track-input-row {
    flex-direction: column;
    gap: 12px;
  }

  .track-input-row .btn-teal {
    width: 100%;
    padding: 14px 24px;
  }

  .tracking-iframe-wrapper {
    min-height: 480px;
  }

  .tracking-iframe {
    height: 500px;
  }
}
