/* ===============================
   Progressive Transportation
   Full CSS Reset & Theme
   =============================== */

/* ---------- Reset / Base ---------- */
:root{
  --bg: #0f1720;           /* header/footer dark */
  --text: #233042;         /* main text */
  --muted: #6b7280;        /* secondary text */
  --white: #ffffff;
  --panel: #f7f9fc;        /* soft card bg */
  --accent: #ff7a1a;       /* orange */
  --accent-dark: #e56e12;
  --accent-ghost: rgba(255,122,26,.12);
  --link: #0ea5a4;         /* teal/blue accent */
  --border: #e6edf7;
  --shadow: 0 8px 22px rgba(15,23,32,.06);

  /* New subtle colors just for Levels cards */
  --lvl-a: linear-gradient(135deg, #fff5ee, #ffe7d6);
  --lvl-b: linear-gradient(135deg, #eefcf9, #d8f8f0);
  --lvl-c: linear-gradient(135deg, #eef4ff, #dee9ff);
  --lvl-d: linear-gradient(135deg, #fff3f6, #ffe2ea);
  --lvl-e: linear-gradient(135deg, #f3fff0, #e0ffd9);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Poppins,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial,'Noto Sans',sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.65;
}
img{max-width:100%;display:block;height:auto}
a{color:var(--link);text-decoration:none}
a:hover{opacity:.9}
.container{max-width:1180px;margin:0 auto;padding:0 20px}

/* ===============================
   Header / Navbar (Sticky + Mobile)
   =============================== */

/* Header */
/* Header */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #222; /* same as footer */
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px; /* slightly reduced padding */
}

/* Logo */
.logo {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.logo img {
  height: 30px;   /* controls logo size */
  width: auto;    /* keeps proportions */
  display: block; /* removes inline spacing */
}

/* Navigation */
.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #fff; /* white text */
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #ff6600; /* orange highlight */
}


/* Buttons (fix for orange buttons sitewide) */
.btn {
  display: inline-block;
  background: #ff6600;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease;
}
.btn:hover {
  background: #e65c00;
}

/* Hamburger (hidden desktop, shown mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

/* Mobile view */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #222;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border-radius: 8px;
    align-items: center;
    text-align: center;
    min-width: 180px;
  }

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

  .hamburger {
    display: flex;
  }
}


/* ===============================
   Buttons
   =============================== */
.btn{
  display:inline-block; border-radius:999px; padding:12px 22px;
  font-weight:800; letter-spacing:.2px;
  border:2px solid transparent; text-align:center;
  transition:transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn-accent{background:var(--accent); color:#fff; border-color:var(--accent)}
.btn-accent:hover{background:var(--accent-dark); border-color:var(--accent-dark)}
.btn-light{background:#fff; color:var(--text); border-color:#fff}
.btn.light-outline{background:transparent; color:#fff; border-color:#fff}
.btn.full{display:block; width:100%}

/* ===============================
   Hero Slider (3 slides)
   =============================== */
.hero{position:relative; height:88vh; min-height:520px; overflow:hidden}
.slider{height:100%; position:relative}
.slide{
  position:absolute; inset:0; background-size:cover; background-position:center;
  opacity:0; transform:scale(1.04);
  transition:opacity 800ms ease, transform 1200ms ease;
}
.slide.is-active{opacity:1; transform:scale(1)}

.hero-overlay{
  position:absolute; inset:0;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; color:#fff;
  background:linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.45) 100%);
  padding:20px;
}
.hero-title{font-size:clamp(1.75rem, 3.5vw, 3rem); margin:0 0 10px}
.hero-sub{opacity:.95; margin:0 0 18px}
.hero-cta{display:flex; gap:12px; flex-wrap:wrap; justify-content:center}

.slider-dots{
  position:absolute; left:50%; bottom:18px; transform:translateX(-50%);
  display:flex; gap:10px; z-index:5;
}
.dot{
  width:12px; height:12px; border-radius:999px; background:#fff; opacity:.65; border:0; cursor:pointer;
}
.dot.is-active{background:var(--accent); opacity:1}

/* Keep overlay centered on mobile too */
@media (max-width: 640px){
  .hero{height:80vh; min-height:460px}
  .hero-cta .btn{padding:10px 18px}
}

/* ===============================
   Sections / Grid
   =============================== */
.section{padding:80px 0; background:#fff}
.section-title{font-size:clamp(1.6rem, 3vw, 2.2rem); margin:0 0 12px; color:var(--bg)}
.section-intro{max-width:820px; margin:0 auto 32px; color:var(--muted)}
.center{text-align:center}

.grid.two-col{display:grid; grid-template-columns:1.1fr 1fr; gap:40px}
@media (max-width: 960px){ .grid.two-col{grid-template-columns:1fr; gap:28px} }

/* About */
/* =========================
   Fix for about-highlights
   (keeps card text inside on mobile)
   ========================= */

.about .about-highlights{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  align-items: start; /* ensure items align top */
}

/* Make the card layout robust: icon + text, allow wrapping and shrinking */
.about .about-highlights div{
  background:var(--panel);
  border:1px solid var(--border);
  padding:12px 14px;
  border-radius:12px;
  font-weight:700;

  display:flex;           /* inline icon + text layout */
  align-items:center;     /* vertically center icon and text */
  gap:10px;               /* space between icon and text */
  min-width:0;            /* allow flex children to shrink properly */
  word-break:break-word;  /* break long words if needed */
  overflow-wrap:break-word;
  white-space:normal;     /* ensure wrapping is allowed */
}

/* Keep the icon small and non-growing */
.about .about-highlights i{
  color:var(--accent);
  margin:0;               /* remove extra margin; gap already handles spacing */
  flex:0 0 20px;          /* fixed icon width so it won't push the text */
  text-align:center;
  font-size:18px;         /* adjust if you want larger/smaller icon */
}

/* Responsive column counts */
@media (max-width: 960px) {
  .about .about-highlights{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 640px) {
  .about .about-highlights{
    grid-template-columns:1fr;  /* stack cards on mobile */
  }

  .about .about-highlights div{
    padding:14px;               /* slightly larger touch area on mobile */
    font-size:0.95rem;          /* scale text a touch */
  }
}



/* Services */
.services{background:linear-gradient(180deg,#fff 0,#f7fbff 100%)}
.card-grid{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:22px}
@media (max-width: 960px){ .card-grid{grid-template-columns:repeat(2, minmax(0,1fr))} }
@media (max-width: 640px){ .card-grid{grid-template-columns:1fr} }

.card{
  background:#fff; border:1px solid var(--border); border-radius:16px; padding:22px;
  box-shadow:var(--shadow);
  transition:transform .2s ease, box-shadow .2s ease;
}
.card:hover{transform:translateY(-4px); box-shadow:0 16px 30px rgba(15,23,32,.10)}
.card .icon{
  width:48px; height:48px; display:grid; place-items:center;
  border-radius:12px; background:var(--accent-ghost); color:var(--accent); margin-bottom:10px; font-size:22px;
}
.card h3{margin:.25rem 0 .35rem; color:var(--bg)}
.card p{margin:0; color:var(--text)}

/* Service Levels (more colorful but on-brand) */
.levels-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:18px}
@media (max-width: 960px){ .levels-grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width: 640px){ .levels-grid{grid-template-columns:1fr} }

.level-card{
  padding:18px; border-radius:14px; border:1px solid var(--border);
  box-shadow:var(--shadow);
  transition:transform .2s ease, box-shadow .2s ease;
}
.level-card h4{margin:0 0 8px; color:var(--bg)}
.level-card p{margin:0; color:var(--text)}
.level-card:hover{transform:translateY(-3px); box-shadow:0 16px 30px rgba(15,23,32,.10)}

.level-a{ background: var(--lvl-a); }
.level-b{ background: var(--lvl-b); }
.level-c{ background: var(--lvl-c); }
.level-d{ background: var(--lvl-d); }
.level-e{ background: var(--lvl-e); }
.level-card i{ color: var(--accent); margin-right:8px }

/* Returns blurb integrated into Levels */
.returns-blurb{
  margin-top:22px; padding:16px 18px;
  border-radius:14px; border:1px dashed var(--accent); background:#fff5ee;
}
.returns-blurb h4{margin:0 0 6px; color:var(--bg)}
.returns-blurb p{margin:0}

/* How it works */
.steps-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px}
@media (max-width: 960px){ .steps-grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width: 640px){ .steps-grid{grid-template-columns:1fr} }
.step{background:var(--panel); padding:18px; border-radius:12px; text-align:center; border:1px solid var(--border)}
.step-num{width:44px;height:44px;border-radius:50%;background:var(--accent);color:#fff;margin:0 auto 10px;display:grid;place-items:center;font-weight:800}

/* Why Us (unchanged visuals) */
.why{background:#fff}
.why .media{position:relative}
.why .media img{
  border-radius:16px; box-shadow:0 10px 24px rgba(0,0,0,.12);
}
.why .media .stacked{
  position:absolute; right:-14px; bottom:-14px; width:55%;
  border:6px solid #fff;
}
@media (max-width: 960px){ .why .media .stacked{position:static; width:100%; margin-top:16px; border-width:0} }

.why-list{list-style:none; padding:0; margin:14px 0 22px}
.why-list li{margin:10px 0; color:var(--text)}
.why-list i{color:var(--accent); margin-right:10px}
.callout{
  background:#fff5ee; border:1px dashed var(--accent); border-radius:14px; padding:18px;
}
.callout .callout-text{margin:0 0 12px}

/* FAQ (side scroll with arrows) */
.faq-carousel{
  display:flex; align-items:center; gap:12px;
}
.faq-arrow{
  background:#fff; border:1px solid var(--border); width:40px; height:40px;
  border-radius:999px; display:grid; place-items:center; cursor:pointer;
  box-shadow:var(--shadow);
}
.faq-arrow:hover{transform:translateY(-1px)}
.faq-track{
  display:flex; overflow-x:auto; scroll-behavior:smooth; gap:16px; padding:8px;
}
.faq-track::-webkit-scrollbar{height:8px}
.faq-track::-webkit-scrollbar-thumb{background:#d7e3f5; border-radius:999px}
.faq-item{
  flex:0 0 320px; background:var(--panel); border:1px solid var(--border);
  border-radius:12px; padding:16px; box-shadow:var(--shadow);
}
.faq-item h4{margin:0 0 8px; color:var(--bg)}
.faq-item p{margin:0; color:var(--text)}

/* Testimonials (fresh look, still compatible with existing JS) */
/* Testimonials Section */
/* Testimonials Section */
.testimonials {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.testimonial-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
}

.testimonial-text {
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 15px;
  color: #555;
}

.testimonial-name {
  font-weight: bold;
  margin-bottom: 5px;
  color: #222;
}

.testimonial-role {
  font-size: 0.9rem;
  color: #777;
}


/* Contact */
.contact .contact-grid{
  display:grid; grid-template-columns:1fr 1.05fr; gap:24px; align-items:start;
}
@media (max-width: 960px){ .contact .contact-grid{grid-template-columns:1fr} }

.contact-card{
  background:#fff; border:1px solid var(--border); border-radius:16px; padding:22px; box-shadow:var(--shadow);
}
.contact-card h3{margin-top:0; color:var(--bg)}
.contact-card p{margin:8px 0}
.contact-card i{color:var(--accent); margin-right:10px}
.map-wrap{margin-top:12px; border-radius:12px; overflow:hidden; border:1px solid var(--border)}
.map-wrap iframe{display:block; width:100%; height:240px; border:0}

/* Contact Form Styles */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px; /* space between fields */
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button[type="submit"] {
  display: inline-block;
  padding: 12px 25px;
  background: #4CAF50;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;

  margin-top: 20px; /* 👈 this creates breathing space */
}

.contact-form button[type="submit"]:hover {
  background: #45a049;
}


.form-row{display:grid; grid-template-columns:1fr 1fr; gap:16px}
@media (max-width: 640px){ .form-row{grid-template-columns:1fr} }
.field{display:flex; flex-direction:column; gap:8px}
label{font-weight:700}
input, textarea{
  font:inherit; padding:12px 12px; border:1px solid #cfd9ea; border-radius:10px; outline:none;
  background:#fff; transition:border-color .2s, box-shadow .2s;
}
textarea{resize:vertical}
input:focus, textarea:focus{border-color:var(--accent); box-shadow:0 0 0 3px rgba(255,122,26,.18)}
.form-note{margin:.75rem 0 0; color:var(--muted); font-size:.95rem}

/* Footer */
.site-footer{
  color:#dbeafe; padding:24px 0; 
}
.site-footer .small{color:#a4b8d6; margin:.4rem 0 0}

/* ===============================
   Reveal Animations (subtle)
   =============================== */
.reveal{opacity:0; transform:translateY(22px); transition:opacity 700ms ease, transform 700ms ease}
.reveal.is-visible{opacity:1; transform:translateY(0)}

/* Responsive Nav Font Sizes */
@media (max-width: 1100px) {
  .nav-links li a {
    font-size: 0.95rem;
  }
}

@media (max-width: 992px) {
  .nav-links li a {
    font-size: 0.9rem;
    gap: 15px;
  }
}

@media (max-width: 850px) {
  .nav-links li a {
    font-size: 0.85rem;
  }
}
