/*
 Theme Name:   Astra Child
 Theme URI:    https://astra.com/
 Description:  Child theme for Astra
 Author:       Umar Zai
 Author URI:   
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  astra-child
*/

/* Custom CSS goes below */
/* ✅ Transport Home Page Styles */

/* General */
.site-content .ast-container {
    display: block;
}

/* ===== Top Contact Bar ===== */
.top-contact {
    width: 100%;
    background: #d32f2f;
    color: #fff;
    font-size: 14px;
    padding: 10px 0;
}
.top-contact .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-contact p {
    margin: 0;
    display: flex;
    gap: 25px;
    align-items: center;
}
.top-contact p span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.top-contact i {
    color: #fff;
    font-size: 14px;
}
.top-contact a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}
.top-contact a:hover {
    color: #ffd700;
}
.social-icons {
    display: flex;
    gap: 15px;
}
.social-icons a {
    color: #fff;
    font-size: 16px;
    transition: 0.3s;
}
.social-icons a:hover {
    color: #ffd700;
}

/* ===== Hero Slider ===== */
.hero-slider {
  width: 100%;
  height: 90vh;
  position: relative;
  overflow: hidden;
}
.hero-slider .swiper,
.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide {
  width: 100%;
  height: 100%;
}
.hero-slider .swiper-slide {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center center;
  position: relative;
}
.hero-slider .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}
.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
.hero-content p {
  color: #eee;
  font-size: 1.2rem;
  margin-bottom: 30px;
}
.hero-content .btn {
  background: #d32f2f;
  color: #fff;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}
.hero-content .btn:hover {
  background: #b71c1c;
}
.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.8;
}
.swiper-pagination-bullet-active {
  background: #d32f2f;
}
.swiper-button-prev, 
.swiper-button-next {
  color: #fff;
}

/* ===== Why Choose Us ===== */
.why-choose-us {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, #f7f7f7 50%, #fff 50%);
  overflow: hidden;
}
.why-choose-us .section-title {
  font-size: 34px;
  font-weight: 700;
  color: #d32f2f;
  margin-bottom: 20px;
  text-align: center;
}
.why-choose-us .section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: #d32f2f;
  margin: 10px auto 0;
}
.why-choose-us .intro-text {
  max-width: 700px;
  margin: 0 auto 50px;
  text-align: center;
  color: #555;
}
.why-choose-us .bus-img {
  position: absolute;
  bottom: 366px;
  right: 2%;
  max-width: 320px;
  opacity: 0.9;
}
.why-choose-us .features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  z-index: 2;
  position: relative;
}
.why-choose-us .feature-card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 5px 18px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
.why-choose-us .feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
.why-choose-us .feature-icon {
  font-size: 40px;
  color: #d32f2f;
  margin-bottom: 15px;
}
.why-choose-us .feature-card h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.why-choose-us .feature-card p {
  font-size: 14px;
  color: #666;
}

/* ===== About Section ===== */
.about-section {
  padding: 80px 0;
}
.about-section .section-title {
  font-size: 32px;
  font-weight: 700;
  color: #d32f2f;
  margin-bottom: 20px;
  position: relative;
}
.about-section .section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #d32f2f;
  margin-top: 10px;
}
.about-section p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 16px;
}
.about-section .btn {
  border: 2px solid #d32f2f;
  color: #d32f2f;
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}
.about-section .btn:hover {
  background: #d32f2f;
  color: #fff;
}
.about-section img {
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ===== Fleet Cards ===== */
.fleet-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.fleet-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.fleet-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.card-title a {
  text-decoration: none;
}

/* ===== Service Cards ===== */
.service-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.service-img {
  position: relative;
  height: 220px;
  background-size: cover;
  background-position: center;
}
.service-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 15px;
  background: rgba(220,53,69,0.9);
  color: #fff;
  font