/* ============================================================
   Mahadev Logistic — Global Styles
   ============================================================ */

:root {
  --green-dark:  #1a6b1a;
  --green-mid:   #2d8a2d;
  --green-light: #4caf50;
  --gold:        #f5c518;
  --text-dark:   #1a1a1a;
  --text-muted:  #555;
  --bg-light:    #f9f9f9;
  --bg-white:    #ffffff;
  --border:      #d4d4d4;
  --shadow:      0 4px 20px rgba(0,0,0,.08);
  --radius:      10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ---- HEADER / NAV ---- */
header {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  color: #fff;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.nav-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .5px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
}

nav a {
  font-size: .93rem;
  font-weight: 500;
  opacity: .9;
  transition: opacity .2s;
}
nav a:hover { opacity: 1; color: var(--gold); }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green-mid) 60%, var(--green-light) 100%);
  color: #fff;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--gold);
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.hero p {
  margin-top: .8rem;
  font-size: 1.1rem;
  opacity: .9;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badges {
  margin-top: 1.6rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .7rem;
}

.badge {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50px;
  padding: .35rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .4px;
}

.cta-btn {
  display: inline-block;
  margin-top: 2rem;
  background: var(--gold);
  color: var(--green-dark);
  font-weight: 700;
  padding: .75rem 2.2rem;
  border-radius: 50px;
  font-size: 1rem;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.28); }

/* ---- SECTION WRAPPER ---- */
.section { padding: 4rem 1.5rem; }
.section-inner { max-width: 1100px; margin: auto; }

.section-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 2.5rem;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: .5rem auto 0;
  border-radius: 2px;
}

/* ---- ABOUT ---- */
#about { background: var(--bg-white); }
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.about-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.about-card .icon { font-size: 2rem; }
.about-card h3 { font-size: 1rem; font-weight: 700; color: var(--green-dark); }
.about-card p  { font-size: .9rem; color: var(--text-muted); }

/* ---- SERVICES ---- */
#services { background: var(--bg-light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
  border-top: 4px solid var(--green-mid);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.service-card .icon { font-size: 2.4rem; margin-bottom: .8rem; }
.service-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--green-dark); margin-bottom: .4rem; }
.service-card p  { font-size: .86rem; color: var(--text-muted); }

/* ---- REGISTRATION / DETAILS ---- */
#details { background: var(--bg-white); }
.detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}
.detail-table th {
  background: var(--green-dark);
  color: #fff;
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 600;
}
.detail-table td {
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.detail-table tr:last-child td { border-bottom: none; }
.detail-table tr:nth-child(even) td { background: #f4faf4; }
.detail-label { font-weight: 600; color: var(--green-dark); white-space: nowrap; }

/* ---- CONTACT ---- */
#contact { background: var(--bg-light); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.contact-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-card .icon-wrap {
  width: 44px;
  height: 44px;
  background: #e8f5e9;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-card h4 { font-size: .82rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.contact-card p  { font-size: .95rem; font-weight: 600; color: var(--text-dark); margin-top: .2rem; }
.contact-card a  { color: var(--green-dark); }
.contact-card a:hover { text-decoration: underline; }

/* ---- FOOTER ---- */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,.85);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: .88rem;
}
footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: .8rem;
  flex-wrap: wrap;
}
footer a { color: var(--gold); font-weight: 600; }
footer a:hover { text-decoration: underline; }

/* ---- INNER PAGE (privacy / terms) ---- */
.inner-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: #fff;
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}
.inner-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; color: var(--gold); }
.inner-hero p  { margin-top: .5rem; opacity: .85; }

.prose {
  max-width: 820px;
  margin: 3rem auto;
  padding: 0 1.5rem 4rem;
}
.prose h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 2rem 0 .5rem;
  padding-bottom: .3rem;
  border-bottom: 2px solid #e0ede0;
}
.prose p, .prose ul { font-size: .95rem; color: var(--text-muted); margin-bottom: .8rem; }
.prose ul { padding-left: 1.4rem; }
.prose ul li { margin-bottom: .4rem; }
.prose a { color: var(--green-dark); text-decoration: underline; }

/* ---- RESPONSIVE ---- */
@media (max-width: 600px) {
  .nav-inner { height: auto; padding: .8rem 0; flex-direction: column; align-items: flex-start; }
  nav ul { gap: 1rem; flex-wrap: wrap; }
}

