/* =========================================================
   Ashwamedh Express Private Limited — front-end stylesheet
   Brand colours taken from the company logo.
   ========================================================= */

:root {
  --brand-orange: #f7941d;
  --brand-orange-dark: #e07d0a;
  --brand-navy: #1b3a5c;
  --brand-navy-dark: #12283f;
  --brand-light: #f7f9fb;
  --text-dark: #22303f;
  --text-muted: #64748b;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 600;
  color: var(--brand-navy);
}

a { text-decoration: none; }

.section-pad { padding: 72px 0; }
.bg-light-alt { background: var(--brand-light); }

.section-eyebrow {
  display: inline-block;
  color: var(--brand-orange);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .85rem;
  margin-bottom: .5rem;
}

.section-title { font-size: 2rem; margin-bottom: 1rem; }
.section-text { color: var(--text-muted); font-size: 1.05rem; }

/* ---------------- Buttons ---------------- */
.btn-brand-primary {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: .65rem 1.6rem;
  transition: all .2s ease;
}
.btn-brand-primary:hover { background: var(--brand-orange-dark); border-color: var(--brand-orange-dark); color: #fff; }

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

/* Outline button for use on dark backgrounds (e.g. the hero section) —
   btn-brand-outline's navy border/text is unreadable there. */
.btn-hero-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.85);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: .6rem 1.6rem;
  transition: all .2s ease;
}
.btn-hero-outline:hover { background: #fff; border-color: #fff; color: var(--brand-navy); }

.btn-brand-light {
  background: #fff;
  color: var(--brand-navy);
  font-weight: 600;
  border-radius: 8px;
  padding: .7rem 1.8rem;
}
.btn-brand-light:hover { background: var(--brand-orange); color: #fff; }

.btn-nav-login {
  background: var(--brand-navy);
  color: #fff !important;
  font-weight: 600;
  border-radius: 8px;
  padding: .5rem 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.btn-nav-login:hover { background: var(--brand-orange); }

/* ---------------- Top bar ---------------- */
.top-bar {
  background: var(--brand-navy-dark);
  color: #cfd9e6;
  font-size: .85rem;
  padding: 8px 0;
}
.top-bar a { color: #cfd9e6; margin-right: 1.2rem; }
.top-bar a:last-child { margin-right: 0; }
.top-bar a:hover { color: var(--brand-orange); }
.top-bar-social a { margin: 0 0 0 .8rem; }

/* ---------------- Navbar ---------------- */
.main-navbar {
  background: #fff;
  padding: 14px 0;
  transition: box-shadow .2s ease, padding .2s ease;
}
.main-navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); padding: 8px 0; }
.main-navbar .navbar-brand img { height: 52px; }
.main-navbar .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  margin: 0 .5rem;
  padding: .5rem 0 !important;
  border-bottom: 2px solid transparent;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active { color: var(--brand-orange); border-bottom-color: var(--brand-orange); }

/* ---------------- Hero ---------------- */
.hero-section {
  position: relative;
  background: linear-gradient(120deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
  color: #fff;
  padding: 110px 0 130px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(247,148,29,.25), transparent 45%);
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(247,148,29,.15);
  color: var(--brand-orange);
  padding: .35rem .9rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: 1rem;
}
.hero-title { color: #fff; font-size: 2.75rem; line-height: 1.2; margin-bottom: 1rem; }
.hero-subtitle { color: #cfd9e6; font-size: 1.1rem; max-width: 640px; }

/* ---------------- Page banner (inner pages) ---------------- */
.page-banner {
  background: linear-gradient(120deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
  color: #fff;
  padding: 60px 0;
}
.page-banner h1 { color: #fff; margin-bottom: .5rem; }
.page-banner .breadcrumb a { color: #cfd9e6; }
.page-banner .breadcrumb-item.active { color: var(--brand-orange); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: #cfd9e6; }

/* ---------------- Stat cards ---------------- */
.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(27,58,92,.08);
  height: 100%;
}
.stat-card i { font-size: 2.1rem; color: var(--brand-orange); margin-bottom: .6rem; }
.stat-card h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.stat-card p { color: var(--text-muted); margin-bottom: 0; font-size: .92rem; }

/* ---------------- Service cards ---------------- */
.service-card {
  background: #fff;
  border: 1px solid #edf0f4;
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(27,58,92,.12); }
.service-icon {
  width: 62px; height: 62px;
  background: rgba(247,148,29,.12);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.service-icon i { font-size: 1.7rem; color: var(--brand-orange); }
.service-icon img { max-width: 34px; max-height: 34px; object-fit: contain; }
.service-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.service-card p { color: var(--text-muted); font-size: .95rem; margin-bottom: 0; }

/* ---------------- Team ---------------- */
.team-card {
  background: #fff;
  border-radius: var(--radius);
  text-align: center;
  padding: 1.6rem 1rem;
  box-shadow: 0 10px 30px rgba(27,58,92,.08);
  height: 100%;
}
.team-photo {
  width: 130px; height: 130px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(247,148,29,.3);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-light); color: var(--brand-navy);
  font-size: 2.4rem;
}
.team-name { font-size: 1.05rem; margin-bottom: .1rem; }
.team-role { color: var(--text-muted); font-size: .88rem; margin-bottom: .6rem; }
.team-linkedin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand-navy); color: #fff !important;
  font-size: 1.05rem;
}
.team-linkedin:hover { background: var(--brand-orange); }

/* ---------------- Clients ---------------- */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}
.client-logo-box {
  background: #fff;
  border: 1px solid #edf0f4;
  border-radius: 10px;
  padding: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex: 0 1 160px;
  height: 90px;
  filter: grayscale(100%);
  opacity: .75;
  transition: all .2s ease;
}
.client-logo-box:hover { filter: grayscale(0%); opacity: 1; }
.client-logo-box img { max-width: 100%; max-height: 55px; object-fit: contain; }

/* ---------------- About page ---------------- */
.about-logo-img {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: 0 auto;
}
.about-intro-text { max-width: 820px; }
.about-content p { color: var(--text-muted); font-size: 1.02rem; line-height: 1.8; }
.about-content h3 { color: var(--brand-navy); font-size: 1.15rem; margin: 1.4rem 0 .6rem; }
.about-vision-mission {
  display: flex; flex-wrap: wrap; gap: 1.2rem;
  margin: 1.6rem 0;
}
.about-callout {
  flex: 1 1 260px;
  background: #fff;
  border: 1px solid #edf0f4;
  border-radius: var(--radius);
  padding: 1.4rem;
}
.about-callout h3 {
  display: flex; align-items: center; gap: .5rem;
  margin: 0 0 .6rem;
}
.about-callout h3 i { color: var(--brand-orange); }
.about-callout p { margin-bottom: 0; }
.about-tagline {
  font-weight: 600; font-style: italic; color: var(--brand-navy) !important;
  font-size: 1.1rem !important; margin-top: 1.4rem;
}

/* ---------------- Contact page ---------------- */
.contact-info-list { list-style: none; padding: 0; margin: 0; }
.contact-info-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.4rem;
}
.contact-info-list i {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(247,148,29,.12); color: var(--brand-orange);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-info-list strong { display: block; color: var(--brand-navy); }
.contact-info-list span { color: var(--text-muted); }
.contact-info-list a { color: var(--text-muted); }
.contact-info-list a:hover { color: var(--brand-orange); }

.contact-form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(27,58,92,.1);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.map-section iframe { display: block; }

/* ---------------- Tracking page ---------------- */
.tracking-card {
  max-width: 760px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(27,58,92,.1);
  padding: 2.5rem;
}
.tracking-hint { text-align: center; color: var(--text-muted); font-size: .88rem; margin-top: 1rem; margin-bottom: 0; }
.tracking-status-card {
  background: var(--brand-light);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.tracking-meta > div { font-weight: 500; }
.badge-status { padding: .4rem .9rem; border-radius: 30px; font-weight: 600; font-size: .85rem; color: #fff; }
.badge-success { background: #1f9d55; }
.badge-info { background: #2b7de9; }
.badge-warning { background: #e0a11c; }
.badge-danger { background: #d9463c; }
.badge-secondary { background: #64748b; }

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline-item {
  position: relative;
  padding: 0 0 1.4rem 1.6rem;
  border-left: 2px solid #dde4ec;
  margin-left: 6px;
}
.timeline-item:last-child { border-color: transparent; padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -7px; top: 2px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #cbd5e1;
}
.timeline-item.is-latest .timeline-dot { background: var(--brand-orange); box-shadow: 0 0 0 4px rgba(247,148,29,.2); }
.timeline-content { font-size: .93rem; }

/* ---------------- Gallery ---------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
}
.gallery-item {
  position: relative;
  display: block;
  border: none;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--brand-light);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(18,40,63,.85));
  color: #fff; text-align: left;
  padding: 1.4rem .9rem .7rem;
  font-size: .88rem;
  opacity: 0; transition: opacity .2s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-zoom-icon {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(18,40,63,.65); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s ease;
}
.gallery-item:hover .gallery-zoom-icon { opacity: 1; }

.gallery-modal-content { background: #000; border: none; }
.gallery-modal-content img { width: 100%; max-height: 78vh; object-fit: contain; display: block; }
.gallery-modal-caption { color: #fff; text-align: center; padding: 1rem 1.2rem; margin: 0; font-size: .95rem; }
.gallery-modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; opacity: 1; }

/* ---------------- Gallery folders ---------------- */
.gallery-folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem;
}
.gallery-folder-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(18,40,63,.08);
  box-shadow: 0 4px 18px rgba(18,40,63,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-folder-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(18,40,63,.14); }
.gallery-folder-thumb {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3;
  background: var(--brand-light);
  overflow: hidden;
}
.gallery-folder-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-folder-thumb i { font-size: 2.5rem; color: #c7d0da; }
.gallery-folder-info { display: block; padding: .9rem 1.1rem; }
.gallery-folder-name { display: block; font-weight: 700; color: var(--brand-navy); font-size: 1.02rem; }
.gallery-folder-count { display: block; font-size: .82rem; color: #6c7a89; margin-top: .15rem; }
.gallery-back-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; color: var(--brand-navy);
}
.gallery-back-link:hover { color: var(--brand-orange); }

/* ---------------- Branches (About Us) ---------------- */
.branch-filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem;
  margin-bottom: 1.6rem;
}
.branch-filter-bar label { font-weight: 600; color: var(--brand-navy); margin-bottom: 0; }
.branch-filter-bar select { max-width: 260px; }
.branch-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; text-align: center; }
.branch-item { flex: 1 1 280px; max-width: 340px; }
.branch-card {
  background: #fff;
  border: 1px solid #edf0f4;
  border-radius: var(--radius);
  padding: 1.4rem;
  height: 100%;
}
.branch-card-name { display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: 1rem; margin-bottom: .5rem; }
.branch-card-name i { color: var(--brand-orange); }
.branch-card-state { display: inline-block; background: rgba(247,148,29,.12); color: var(--brand-orange-dark); font-size: .75rem; font-weight: 600; padding: .15rem .6rem; border-radius: 20px; margin-bottom: .6rem; margin-right: .4rem; }
.branch-card-code { display: inline-block; background: rgba(15,40,80,.08); color: var(--text-dark, #17264a); font-size: .75rem; font-weight: 600; padding: .15rem .6rem; border-radius: 20px; margin-bottom: .6rem; margin-right: .4rem; }
.branch-card-address { color: var(--text-muted); font-size: .9rem; margin-bottom: .4rem; }
.branch-card-contact { font-size: .85rem; color: var(--text-muted); }
.branch-card-contact a { color: var(--text-muted); }
.branch-card-contact a:hover { color: var(--brand-orange); }
.branch-card-legal { font-size: .78rem; color: var(--text-muted); margin: .5rem 0 0; padding-top: .5rem; border-top: 1px dashed rgba(15,40,80,.12); display: flex; flex-wrap: wrap; gap: .1rem .8rem; }
.branch-show-all-wrap { text-align: center; margin-top: 2rem; }

/* ---------------- CTA ---------------- */
.cta-section {
  background: linear-gradient(120deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
  color: #fff;
  padding: 60px 0;
}
.cta-section h2 { color: #fff; margin-bottom: .5rem; }
.cta-section p { color: rgba(255,255,255,.9); margin-bottom: 1.5rem; }
.business-profile-cta-icon { display: block; font-size: 2.2rem; color: #fff; margin-bottom: .8rem; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--brand-navy-dark); color: #cfd9e6; padding: 60px 0 24px; }
.footer-logo { height: 56px; filter: brightness(0) invert(1); }
.footer-tagline { color: #9fb0c3; font-size: .92rem; }
.footer-legal-ids { color: #9fb0c3; font-size: .82rem; margin: -.4rem 0 1rem; }
.footer-legal-ids span:not(:last-child) { margin-right: 1rem; }
.footer-heading { color: #fff; margin-bottom: 1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: #cfd9e6; font-size: .93rem; }
.footer-links a:hover { color: var(--brand-orange); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .8rem; font-size: .9rem; color: #cfd9e6; }
.footer-contact a { color: #cfd9e6; }
.footer-contact a:hover { color: var(--brand-orange); }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff !important;
  margin-right: .5rem;
}
.footer-social a:hover { background: var(--brand-orange); }
.footer-divider { border-color: rgba(255,255,255,.12); margin: 2rem 0 1.2rem; }
.footer-bottom { font-size: .85rem; color: #9fb0c3; }
.admin-login-link { color: #9fb0c3 !important; }
.admin-login-link:hover { color: var(--brand-orange) !important; }
.footer-legal-links a { color: #9fb0c3; }
.footer-legal-links a:hover { color: var(--brand-orange); }
.footer-legal-sep { color: rgba(255,255,255,.25); margin: 0 .5rem; }

/* ---------------- Back to top ---------------- */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand-orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s ease;
  z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--brand-navy); color: #fff; }

@media (max-width: 991px) {
  .hero-title { font-size: 2.1rem; }
  .section-pad { padding: 52px 0; }
}
