/* ===================================================
   Mine Bus Services — Main Stylesheet
   Brand colour: #014C8F
   =================================================== */

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

html { scroll-behavior: smooth; }

body {
  font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #666;
  background: #242424;
}

a { color: #014C8F; text-decoration: none; }
a:hover { color: #014C8F; text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 100;
  font-style: normal;
  color: #333;
}
h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }

p { margin-bottom: 12px; line-height: 1.6; }
ul { list-style: none; }

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

/* ===================================================
   LAYOUT
   =================================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.clearfix::after { content: ""; display: table; clear: both; }

/* ===================================================
   HEADER
   =================================================== */

#header-wrap {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 1000;
}

#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

#logo a { display: block; }
#logo img { height: 60px; width: auto; }

/* ===================================================
   NAVIGATION
   =================================================== */

#navigation ul {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

#navigation ul li {
  position: relative;
}

#navigation ul li a {
  display: block;
  padding: 10px 14px;
  color: #4a4a4a;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  font-weight: normal;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s;
}

#navigation ul li a:hover,
#navigation ul li.active a,
#navigation ul li.current a {
  color: #014C8F;
  text-decoration: none;
}

/* Dropdown */
#navigation ul li ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(1, 76, 143, 0.95);
  min-width: 220px;
  border-top: 2px solid #014C8F;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 999;
}

#navigation ul li:hover ul.sub-menu {
  display: block;
}

#navigation ul li ul.sub-menu li a {
  color: #fff;
  font-size: 12px;
  text-transform: capitalize;
  padding: 10px 16px;
}

#navigation ul li ul.sub-menu li a:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ===================================================
   MOBILE MENU
   =================================================== */

.mm-trigger {
  display: none;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: bold;
  color: #4a4a4a;
  text-transform: uppercase;
}

.mm-button {
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

.mm-button span {
  display: block;
  height: 3px;
  background: #4a4a4a;
  border-radius: 2px;
  transition: all 0.3s;
}

#mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid #e5e5e5;
}

#mobile-nav.open { display: block; }

#mobile-nav ul { list-style: none; }

#mobile-nav ul li a {
  display: block;
  padding: 12px 20px;
  color: #4a4a4a;
  font-size: 13px;
  text-transform: uppercase;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
}

#mobile-nav ul li a:hover { color: #014C8F; }

#mobile-nav ul li ul.sub-menu li a {
  padding-left: 36px;
  text-transform: capitalize;
  font-size: 12px;
  background: #f8f8f8;
}

/* ===================================================
   SLIDERS — shared markup, different heights
   =================================================== */

/* Slider — constrained to content width */
#page-slider-outer {
  background: #e9e9e9;
  padding: 0;
}

#page-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  background: #111;
}

.slide {
  display: none;
  position: relative;
  width: 100%;
}

.slide.active { display: block; }

#page-slider .slide img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.slide-caption {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
}

.slide-caption h2 {
  font-size: 32px;
  font-weight: 300;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.slide-caption p {
  font-size: 16px;
  color: #ddd;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(1, 76, 143, 0.7);
  color: #fff;
  border: none;
  padding: 14px 18px;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
  line-height: 1;
}
.slider-btn:hover { background: rgba(1, 76, 143, 1); }
.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.slider-dot.active { background: #014C8F; }

/* ===================================================
   PAGE TITLE BAR (inner pages — sits below page-slider)
   =================================================== */

#page-title-bar {
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  padding: 14px 0;
}

#page-title-bar h1 {
  font-size: 22px;
  font-weight: 300;
  color: #333;
  margin: 0;
}

/* ===================================================
   MAIN CONTENT AREA
   =================================================== */

#main-wrap {
  background: #fff;
  padding: 40px 0;
}

#content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================================
   HOME PAGE CONTENT
   =================================================== */

.home-intro {
  text-align: left;
  padding: 20px 0;
  font-size: 14px;
  line-height: 1.8;
}

.home-intro strong {
  color: #333;
}

/* ===================================================
   ABOUT PAGE
   =================================================== */

.about-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-text p { margin-bottom: 14px; line-height: 1.7; }

/* ===================================================
   TESTIMONIAL CAROUSEL (About page sidebar)
   =================================================== */

.testimonial-carousel {
  background: #f9f9f9;
  border-left: 3px solid #014C8F;
  padding: 20px;
}

.testimonial-carousel h3 {
  font-size: 14px;
  text-transform: uppercase;
  color: #014C8F;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.tc-slide { display: none; }
.tc-slide.active { display: block; }

.tc-quote {
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  font-style: italic;
  margin-bottom: 14px;
}

.tc-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tc-author-row img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.tc-name {
  font-size: 12px;
  color: #333;
  font-weight: bold;
}

.tc-company {
  font-size: 11px;
  color: #014C8F;
}

.tc-controls {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  justify-content: flex-end;
}

.tc-btn {
  background: #014C8F;
  color: #fff;
  border: none;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
  border-radius: 2px;
}
.tc-btn:hover { background: #013a6e; }

/* ===================================================
   SERVICES PAGE — Vertical Tabs
   =================================================== */

.vtabs-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  border: 1px solid #e5e5e5;
  min-height: 300px;
}

.vtabs-nav {
  border-right: 1px solid #e5e5e5;
  background: #f7f7f7;
}

.vtabs-nav li {
  border-bottom: 1px solid #e5e5e5;
  cursor: pointer;
}

.vtabs-nav li h3 {
  font-size: 13px;
  font-weight: normal;
  color: #444;
  padding: 14px 16px;
  line-height: 1.4;
  transition: all 0.2s;
}

.vtabs-nav li:hover h3,
.vtabs-nav li.active h3 {
  background: #014C8F;
  color: #fff;
}

.vtab-panel { display: none; padding: 24px; }
.vtab-panel.active { display: block; }

.vtab-panel ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}

.vtab-panel ul li {
  padding: 4px 0;
  line-height: 1.6;
  color: #555;
  list-style: disc;
}

.bus-interior-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.bus-interior-grid a img {
  width: 100%;
  aspect-ratio: 215/150;
  object-fit: cover;
  border: 1px solid #e0e0e0;
}

.bus-interior-grid figcaption {
  font-size: 11px;
  color: #777;
  text-align: center;
  margin-top: 4px;
}

/* ===================================================
   OUR CLIENTS
   =================================================== */

.clients-intro {
  font-size: 15px;
  color: #444;
  margin-bottom: 30px;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.clients-grid li {
  flex: 0 0 auto;
}

.clients-grid li img {
  max-height: 80px;
  max-width: 180px;
  width: auto;
  filter: grayscale(20%);
  transition: filter 0.2s;
}

.clients-grid li img:hover { filter: none; }

/* ===================================================
   TESTIMONIALS PAGE
   =================================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.testi-card {
  background: #f9f9f9;
  border: 1px solid #e5e5e5;
  padding: 24px;
}

.testi-card.dark { background: #f0f4f8; border-color: #c8d8ea; }

.testi-text {
  font-size: 13px;
  line-height: 1.8;
  color: #555;
  font-style: italic;
  margin-bottom: 18px;
  white-space: pre-line;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testi-author .name {
  font-weight: bold;
  font-size: 13px;
  color: #333;
}

.testi-author .company {
  font-size: 12px;
  color: #014C8F;
}

/* ===================================================
   GALLERY PAGE
   =================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  position: relative;
}

.gallery-grid a img {
  width: 100%;
  aspect-ratio: 215/150;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-grid a:hover img { transform: scale(1.05); }

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

#lightbox.open { display: flex; }

#lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

#lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

#lightbox-prev,
#lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(1,76,143,0.7);
  color: #fff;
  border: none;
  padding: 16px 20px;
  font-size: 22px;
  cursor: pointer;
}
#lightbox-prev { left: 0; }
#lightbox-next { right: 0; }
#lightbox-prev:hover,
#lightbox-next:hover { background: rgba(1,76,143,1); }

/* ===================================================
   NEWS PAGE
   =================================================== */

.news-list { display: flex; flex-direction: column; gap: 0; }

.news-card {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 30px;
  margin-bottom: 30px;
  overflow: hidden;
}

.news-card h2 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 6px;
}

.news-card h2 a { color: #333; text-decoration: none; }
.news-card h2 a:hover { color: #014C8F; }

.news-meta {
  font-size: 12px;
  color: #999;
  margin-bottom: 12px;
}

.news-body { overflow: hidden; }

.news-thumb {
  float: left;
  margin: 0 20px 10px 0;
  width: 260px;
}

.news-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.news-body p {
  font-size: 13px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 14px;
}

.read-more {
  display: inline-block;
  font-size: 12px;
  color: #014C8F;
  border: 1px solid #014C8F;
  padding: 5px 14px;
  border-radius: 2px;
  transition: all 0.2s;
  text-decoration: none;
}
.read-more:hover {
  background: #014C8F;
  color: #fff;
  text-decoration: none;
}

/* ===================================================
   CONTACT PAGE
   =================================================== */

.contact-layout {
  max-width: 680px;
}

.contact-layout p {
  font-size: 14px;
  margin-bottom: 24px;
  color: #555;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: #444;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #ccc;
  font-size: 13px;
  font-family: inherit;
  color: #333;
  background: #fff;
  border-radius: 2px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #014C8F;
  outline: none;
}

.form-group textarea { height: 140px; resize: vertical; }

.btn-submit {
  background: #014C8F;
  color: #fff;
  border: none;
  padding: 11px 32px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 2px;
  font-family: inherit;
  transition: background 0.2s;
}
.btn-submit:hover { background: #013a6e; }
.btn-submit:disabled { background: #888; cursor: not-allowed; }

#form-message {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: bold;
  display: none;
}

#form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border-left: 4px solid #2e7d32;
  display: block;
}

#form-message.error {
  background: #fdecea;
  color: #c62828;
  border-left: 4px solid #c62828;
  display: block;
}

/* ===================================================
   FOOTER
   =================================================== */

#footer-wrap {
  background: #242424 url('../images/wg_dark_background1.jpg') center top;
  background-size: cover;
  padding: 30px 0;
  color: #aaa;
  font-size: 12px;
  text-align: center;
}

#footer-wrap a { color: #ccc; }
#footer-wrap a:hover { color: #fff; }

/* ===================================================
   UTILITY
   =================================================== */

.page-intro {
  font-size: 15px;
  color: #555;
  margin-bottom: 30px;
}

/* ===================================================
   RESPONSIVE
   =================================================== */

@media (max-width: 900px) {
  #navigation { display: none; }
  .mm-trigger { display: flex; }

  .about-layout { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .vtabs-wrap { grid-template-columns: 1fr; }
  .vtabs-nav { border-right: none; border-bottom: 1px solid #e5e5e5; }
  .news-thumb { float: none; width: 100%; margin: 0 0 12px 0; }
  .bus-interior-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  #page-slider .slide img { height: 200px; }
  .slide-caption h2 { font-size: 20px; }
  #page-title-bar h1 { font-size: 18px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid li img { max-height: 55px; }
}
