/* ============================================================
   YAAN – Brand Style Sheet
   3PL / E-Commerce Fulfillment
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --navy:       #003E6B;
  --orange:     #FF9100;
  --teal:       #0097A7;
  --amber:      #FFB300;
  --soft-bg:    #F4F7F9;
  --white:      #FFFFFF;
  --body-text:  #333333;
  --light-text: #6c757d;
  --border-clr: #dee2e6;
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}

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

img { max-width: 100%; height: auto; }

a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--amber); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--navy);
  font-weight: 700;
}
h1 { font-weight: 800; }
h2 { font-weight: 700; }
h3, h4, h5 { font-weight: 600; }

.text-teal { color: var(--teal) !important; }
.text-navy { color: var(--navy) !important; }
.text-orange { color: var(--orange) !important; }

/* ---------- Buttons ---------- */
.btn-yaan {
  background: var(--orange);
  color: #fff;
  border: 2px solid var(--orange);
  border-radius: 6px;
  font-weight: 600;
  padding: 0.6rem 1.6rem;
  transition: all .25s ease;
}
.btn-yaan:hover,
.btn-yaan:focus {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
}

.btn-yaan-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 6px;
  font-weight: 600;
  padding: 0.6rem 1.6rem;
  transition: all .25s ease;
}
.btn-yaan-outline:hover,
.btn-yaan-outline:focus {
  background: var(--navy);
  color: #fff;
}

.btn-yaan-white {
  background: #fff;
  color: var(--navy);
  border: 2px solid #fff;
  border-radius: 6px;
  font-weight: 600;
  padding: 0.6rem 1.6rem;
  transition: all .25s ease;
}
.btn-yaan-white:hover,
.btn-yaan-white:focus {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
}

/* ---------- Navbar ---------- */
.navbar-yaan {
  background: var(--navy);
  padding: 0.8rem 0;
  transition: box-shadow .3s;
}
.navbar-yaan.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.navbar-yaan .navbar-brand {
  font-weight: 800;
  font-size: 1.55rem;
  color: #fff !important;
  letter-spacing: .5px;
}
.navbar-yaan .navbar-brand span {
  color: var(--orange);
}
.navbar-yaan .nav-link {
  color: rgba(255,255,255,.85) !important;
  font-weight: 500;
  padding: .5rem 1rem !important;
  transition: color .2s;
}
.navbar-yaan .nav-link:hover,
.navbar-yaan .nav-link.active {
  color: var(--amber) !important;
}
.navbar-yaan .btn-yaan {
  padding: .45rem 1.2rem;
  font-size: .9rem;
}
.navbar-toggler {
  border-color: rgba(255,255,255,.3) !important;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ---------- Hero Sections ---------- */
.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero-section h1 {
  font-size: 2.65rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.hero-section .lead {
  font-size: 1.12rem;
  color: var(--light-text);
  margin-bottom: 1.5rem;
}
.hero-section .hero-bullets {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}
.hero-section .hero-bullets li {
  padding: .35rem 0;
  font-size: 1.05rem;
}
.hero-section .hero-bullets li i {
  color: var(--teal);
  margin-right: .5rem;
}

/* Hero illustration placeholder */
.hero-illustration {
  background: linear-gradient(135deg, var(--soft-bg) 0%, #dce6ef 100%);
  border-radius: 16px;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-illustration i {
  font-size: 6rem;
  color: var(--navy);
  opacity: .18;
}

/* ---------- Section Spacing ---------- */
.section-padding {
  padding: 5rem 0;
}
.section-soft {
  background: var(--soft-bg);
}

.section-heading {
  margin-bottom: .6rem;
}
.section-subtext {
  color: var(--light-text);
  font-size: 1.08rem;
  max-width: 680px;
}

/* ---------- Cards ---------- */
.card-yaan {
  background: var(--soft-bg);
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s;
  height: 100%;
}
.card-yaan:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
}
.card-yaan .card-body {
  padding: 2rem 1.5rem;
}
.card-yaan .card-icon {
  font-size: 2.4rem;
  color: var(--teal);
  margin-bottom: 1rem;
  display: inline-block;
}
.card-yaan .card-title {
  font-weight: 600;
  color: var(--navy);
}
.card-yaan .card-text {
  color: var(--body-text);
  font-size: .97rem;
}
.card-yaan .card-link {
  color: var(--teal);
  font-weight: 600;
  font-size: .95rem;
}
.card-yaan .card-link:hover {
  color: var(--amber);
}

/* Card on white background variant */
.card-yaan-white {
  background: var(--white);
}

/* ---------- Pricing Cards ---------- */
.pricing-card {
  border: 2px solid var(--border-clr);
  border-radius: 12px;
  background: #fff;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
  height: 100%;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
}
.pricing-card .card-body {
  padding: 2.5rem 1.8rem;
}
.pricing-card.featured {
  border-color: var(--orange);
  position: relative;
}
.pricing-card.featured::before {
  content: "Popular";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: .2rem 1rem;
  border-radius: 20px;
  letter-spacing: .5px;
}
.pricing-card .price-tag {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1rem 0;
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}
.pricing-card ul li {
  padding: .4rem 0;
  font-size: .95rem;
  border-bottom: 1px solid var(--soft-bg);
}
.pricing-card ul li i {
  color: var(--teal);
  margin-right: .45rem;
}

/* ---------- Timeline / Steps ---------- */
.timeline-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.timeline-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--border-clr);
  z-index: 0;
}
.timeline-step {
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
  padding: 0 .5rem;
}
.timeline-step .step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}
.timeline-step h5 {
  font-size: 1rem;
  margin-bottom: .35rem;
}
.timeline-step p {
  font-size: .88rem;
  color: var(--light-text);
}

/* Vertical timeline for smaller screens */
@media (max-width: 767.98px) {
  .timeline-steps {
    flex-direction: column;
    gap: 1.5rem;
  }
  .timeline-steps::before {
    top: 0;
    bottom: 0;
    left: 28px;
    right: auto;
    width: 3px;
    height: auto;
  }
  .timeline-step {
    display: flex;
    text-align: left;
    gap: 1rem;
    align-items: flex-start;
  }
  .timeline-step .step-circle {
    flex-shrink: 0;
    margin: 0;
  }
}

/* Long vertical timeline (pricing page) */
.timeline-vertical {
  position: relative;
  padding-left: 50px;
}
.timeline-vertical::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--border-clr);
}
.timeline-vertical .tv-step {
  position: relative;
  margin-bottom: 2.5rem;
}
.timeline-vertical .tv-step .tv-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  position: absolute;
  left: -50px;
  top: 0;
}
.timeline-vertical .tv-step h5 {
  margin-bottom: .25rem;
}
.timeline-vertical .tv-step p {
  color: var(--light-text);
  font-size: .96rem;
}

/* ---------- CTA Band ---------- */
.cta-band {
  background: var(--navy);
  padding: 4rem 0;
  text-align: center;
}
.cta-band h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1.25rem;
}
.cta-band p {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* ---------- Trusted / Logos Row ---------- */
.logo-placeholder {
  width: 120px;
  height: 50px;
  background: var(--soft-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: .8rem;
  font-weight: 600;
}

/* ---------- Locations Cards ---------- */
.location-card .card-icon {
  color: var(--orange);
}

/* ---------- Footer ---------- */
.footer-yaan {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  padding: 3.5rem 0 1.5rem;
}
.footer-yaan h5 {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.footer-yaan a {
  color: rgba(255,255,255,.75);
  transition: color .2s;
}
.footer-yaan a:hover {
  color: var(--amber);
}
.footer-yaan .footer-brand {
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
}
.footer-yaan .footer-brand span {
  color: var(--orange);
}
.footer-yaan .footer-tagline {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  margin-top: .3rem;
}
.footer-yaan .footer-links {
  list-style: none;
  padding: 0;
}
.footer-yaan .footer-links li {
  margin-bottom: .45rem;
}
.footer-yaan .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 2rem;
  padding-top: 1.2rem;
  font-size: .88rem;
  color: rgba(255,255,255,.5);
}

/* ---------- Contact Form ---------- */
.contact-card {
  background: var(--soft-bg);
  border-radius: 12px;
  padding: 2.5rem;
}
.contact-info-card {
  background: var(--navy);
  border-radius: 12px;
  padding: 2.5rem;
  color: #fff;
}
.contact-info-card h5 {
  color: #fff;
}
.contact-info-card a {
  color: var(--amber);
}
.contact-info-card i {
  color: var(--orange);
  margin-right: .5rem;
}

/* ---------- Value / Icon blocks ---------- */
.icon-block {
  text-align: center;
  padding: 1.5rem 1rem;
}
.icon-block .ib-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0,151,167,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.icon-block .ib-icon i {
  font-size: 1.8rem;
  color: var(--teal);
}
.icon-block h5 {
  font-size: 1.05rem;
}
.icon-block p {
  font-size: .93rem;
  color: var(--light-text);
}

/* ---------- Use-case rows ---------- */
.use-case-row {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-clr);
}
.use-case-row:last-child {
  border-bottom: none;
}
.use-case-row i {
  font-size: 2rem;
  color: var(--teal);
}

/* ---------- Alerts ---------- */
.alert-yaan-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
}
.alert-yaan-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
}

/* ---------- Misc ---------- */
.fw-semibold { font-weight: 600; }
.bg-navy { background: var(--navy) !important; }
.bg-soft { background: var(--soft-bg) !important; }

/* Callout box */
.callout-box {
  background: var(--soft-bg);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 1.5rem 1.8rem;
}
.callout-box p {
  margin-bottom: 0;
  color: var(--body-text);
}

/* ---------- Responsive Helpers ---------- */
@media (max-width: 991.98px) {
  .hero-section h1 { font-size: 2.1rem; }
  .hero-section { padding: 3.5rem 0 3rem; }
  .section-padding { padding: 3.5rem 0; }
}

@media (max-width: 767.98px) {
  .hero-section h1 { font-size: 1.75rem; }
  .hero-illustration { min-height: 220px; margin-top: 2rem; }
  .btn-yaan, .btn-yaan-outline, .btn-yaan-white {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: .5rem;
  }
  .logo-placeholder { width: 90px; height: 40px; font-size: .7rem; }
}

@media (max-width: 575.98px) {
  .hero-section h1 { font-size: 1.5rem; }
  .contact-card, .contact-info-card { padding: 1.5rem; }
}
