/* ========================================
   HOMEPAGE LAYOUT STYLES
   Mobile-first responsive design
   ======================================== */

:root {
  --section-spacing: 80px;
  --section-spacing-mobile: 50px;
  --content-max-width: 1200px;
  --card-gap: 30px;
  --card-gap-mobile: 20px;
}

/* ========================================
   BASE SECTION STYLES
   ======================================== */

.home-section {
  padding: var(--section-spacing) 0;
  position: relative;
}

.home-section-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--main-bg-accent);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--main-bg-secondary);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.125rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
  background: linear-gradient(135deg, #EC5454 0%, #d83c3c 100%);
  color: white;
  padding: 100px 0 80px;
  overflow: hidden;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,32L48,53.3C96,75,192,117,288,122.7C384,128,480,96,576,106.7C672,117,768,171,864,181.3C960,192,1056,160,1152,133.3C1248,107,1344,85,1392,74.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ========================================
   REVIEWS CAROUSEL SECTION
   ======================================== */

.reviews-carousel-section {
  padding: 60px 0;
}

.reviews-carousel-container {
  position: relative;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  padding: 20px 0;
}

.review-card {
  flex: 0 0 350px;
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: relative;
}

.review-card::before {
  content: "\201C";
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 3rem;
  color: var(--main-bg-secondary);
  opacity: 0.2;
}

.review-rating {
  color: #FFD700;
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.review-content {
  color: #464D66;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.review-author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--main-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
}

.review-author-info h4 {
  margin: 0;
  color: var(--main-bg-accent);
  font-weight: 600;
}

.review-author-info span {
  color: #999;
  font-size: 0.875rem;
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.carousel-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--main-bg-secondary);
  color: var(--main-bg-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.carousel-btn:hover {
  background: var(--main-bg-secondary);
  color: white;
  transform: scale(1.1);
}

/* ========================================
   SERVICES GRID SECTION
   ======================================== */

.services-section {
  padding: var(--section-spacing) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--card-gap);
  margin-top: 50px;
}

/* 4-column grid layout for services */
.services-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
  .services-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid-4 {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  position: relative;
  overflow: hidden;
}

.service-card h3 {
  font-weight: bolder;
  font-size: 1.5rem;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--main-bg-secondary), var(--main-bg-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: rgba(236, 84, 84, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--main-bg-color);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--main-bg-color);
  color: white;
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--main-bg-accent);
  margin-bottom: 15px;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--main-bg-accent-lighten);
}

.service-link {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
  font-size: 1.1rem;
  margin-left: auto;
  margin-right: auto;
  display: table;
}

.service-link:hover {
  gap: 12px;
  text-decoration: underline;
}

/* ========================================
   NETWORK COVERAGE SECTION
   ======================================== */

.network-section {
  padding: var(--section-spacing) 0;
  position: relative;
}

/* When network section has primary background */
.network-section.bg-primary {
  background: var(--main-bg-color, #EC5454);
}

.network-section.text-white,
.network-section.text-white h2,
.network-section.text-white p {
  color: white !important;
}

.network-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.network-info {
  flex: 1 1 auto;
  min-width: 350px;
}

.network-map {
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
}

.network-map img,
.network-map svg {
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
}

.network-info h2 {
  font-size: 2.5rem;
  color: inherit;
  margin-bottom: 20px;
  font-weight: bolder;
}

.network-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: 30px 0;
}

.network-regions {
  margin: 40px 0 30px 0;
}

.network-regions h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: white;
  font-weight: 600;
}

.regions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.region-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 15px 20px;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.region-card:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  color: white;
  text-decoration: none;
}

.region-card i {
  font-size: 1.25rem;
  color: #FFD700;
}

.region-card span {
  font-size: 0.95rem;
  font-weight: 500;
  flex: 1;
}

.network-stat {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.network-stat:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.network-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  display: block;
}

.network-stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin-top: 5px;
}

/* ========================================
   VEHICLES SHOWCASE SECTION
   ======================================== */

.vehicles-section {
  padding: var(--section-spacing) 0;
  background: white;
  overflow: visible;
}

.vehicles-section .home-section-inner {
  overflow: visible;
}

.vehicles-showcase {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 25px !important;
  gap: 25px !important;
  margin-top: 50px;
  width: 100%;
  box-sizing: border-box;
}

.vehicle-card {
  text-align: center;
  padding: 20px 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  background: var(--main-bg-grey);
  margin: 0 !important; /* Reset any inherited margins */
  min-height: 100%;
  position: relative;
}

.vehicle-card-featured {
  overflow: visible;
}

.vehicle-feature-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #21BE73;
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.vehicle-feature-badge i {
  font-size: 0.875rem;
}

.vehicle-card:hover {
  transform: translateY(-5px);
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Image container for consistent sizing */
.vehicle-image-container {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  padding: 5px;
  position: relative;
  overflow: hidden;
}

.vehicle-image {
  max-width: 85%;
  max-height: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.vehicle-name {
  font-size: 1.25rem;
  color: var(--main-bg-accent);
  margin-bottom: 15px;
  font-weight: 600;
}

.vehicle-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  width: 100%;
}

.vehicle-spec-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #666;
}

.vehicle-spec-item i {
  color: var(--main-bg-secondary);
  font-size: 1rem;
  width: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vehicle-spec-item strong {
  color: var(--main-bg-accent);
  font-weight: 600;
}


.vehicle-dimensions {
  background: var(--main-bg-secondary);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.825rem;
  color: var(--main-bg-white);
  text-align: center;
  margin: 10px auto;
  font-weight: bold;
  display: inline-block;
  width: auto;
}

.vehicle-card:hover .vehicle-dimensions {
  background: var(--main-bg-secondary-darken);
}

/* ========================================
   INDUSTRIES SECTION
   ======================================== */

.industries-section {
  padding: var(--section-spacing) 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.industries-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(236,84,84,0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(33,190,115,0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(236,84,84,0.02) 0%, transparent 50%);
  pointer-events: none;
}

.industries-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

.industry-card {
  background: white;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  cursor: default;
}

.industry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(236,84,84,0.02) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.industry-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.08),
    0 10px 20px rgba(236,84,84,0.08);
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-icon-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.industry-icon {
  width: 65px;
  height: 65px;
  margin: 0 auto;
  background: rgba(236, 84, 84, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--main-bg-color);
  transition: all 0.3s ease;
}

.industry-card:hover .industry-icon {
  background: var(--main-bg-color);
  color: white;
  transform: scale(1.1);
}

.industry-card h3 {
  font-size: 1.25rem;
  color: var(--main-bg-accent);
  margin-bottom: 12px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.industry-card:hover h3 {
  color: var(--main-bg-color);
}

.industry-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.industries-footer {
  text-align: center;
  margin-top: 50px;
}

.industries-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: rgba(33,190,115,0.1);
  border-radius: 50px;
  color: #21BE73;
  font-weight: 500;
  font-size: 1rem;
}

.industries-note i {
  font-size: 1.25rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .industries-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .industries-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .industry-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .industries-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .industry-card {
    padding: 25px 20px;
  }
  
  .industry-icon {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }
  
  .industry-card h3 {
    font-size: 1.125rem;
  }
  
  .industries-note {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* ========================================
   CREDIT ACCOUNT SECTION
   ======================================== */

.credit-account-section {
  padding: var(--section-spacing) 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.credit-account-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(236,84,84,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.credit-account-container {
  position: relative;
  z-index: 1;
}

.credit-account-content {
  text-align: center;
}

.credit-account-badge {
  display: table;
  background: var(--main-bg-secondary);
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 auto 18px auto;
}

.credit-account-badge i {
  margin-right: 6px;
  font-size: 1rem;
}

.credit-account-content h2 {
  font-size: 2.5rem;
  color: var(--main-bg-accent);
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.credit-account-content h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--main-bg-secondary);
  border-radius: 2px;
}

.credit-account-subtitle {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.credit-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.credit-benefit {
  text-align: center;
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: rgba(236, 84, 84, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--main-bg-color);
  transition: all 0.3s ease;
}

.credit-benefit:hover .benefit-icon {
  background: var(--main-bg-color);
  color: white;
  transform: scale(1.1);
}

.credit-benefit h3 {
  font-size: 1.125rem;
  color: var(--main-bg-accent);
  margin-bottom: 10px;
  font-weight: 600;
}

.credit-benefit p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

.credit-account-cta {
  margin-top: 40px;
}

.credit-account-cta .btn-lg {
  padding: 18px 40px;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 8px;
  background: var(--main-bg-color);
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  border: none;
}

.credit-account-cta .btn-lg:hover {
  background: var(--main-bg-color-darken);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(236,84,84,0.3);
}

.cta-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #888;
}

@media (max-width: 1200px) {
  .credit-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .regions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .credit-account-section {
    padding: var(--section-spacing-mobile) 0;
  }
  
  .credit-benefits-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .credit-account-content h2 {
    font-size: 2rem;
  }
  
  .credit-account-subtitle {
    font-size: 1.125rem;
    margin-bottom: 30px;
  }
  
  .benefit-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .credit-account-cta .btn-lg {
    padding: 15px 30px;
    font-size: 1rem;
  }
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
  padding: var(--section-spacing) 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--main-bg-accent);
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--main-bg-grey);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--main-bg-secondary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-section .faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-section .faq-item.active .faq-answer {
  padding: 0 30px 25px;
  max-height: 500px;
}

.faq-section .faq-answer p {
  color: #666;
  font-size: 1rem;
  line-height: 1.7;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  background: linear-gradient(180deg, #d83c3c 0%, #dd4242 25%, #e24848 50%, #e74e4e 70%, #EC5454 90%, #EC5454 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--main-bg-white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 18px 40px;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
}

.cta-btn-primary {
  background: var(--main-bg-accent);
  color: white;
}

.cta-btn-primary:hover {
  background: var(--main-bg-accent-darken);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(236,84,84,0.3);
}

.cta-btn-secondary {
  background: transparent;
  color: var(--main-bg-white);
  border: 2px solid var(--main-bg-white);
}

.cta-btn-secondary:hover {
  background: var(--main-bg-white);
  color: var(--main-bg-color);
}

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

/* Tablet (768px and below) */
@media (max-width: 768px) {
  :root {
    --section-spacing: 60px;
    --card-gap: 20px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  /* Hero */
  .hero-section {
    padding: 60px 0 50px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.25rem;
  }

  .hero-cta-group {
    justify-content: center;
  }

  /* Reviews Carousel */
  .review-card {
    flex: 0 0 300px;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  /* Network Coverage */
  .network-content {
    flex-direction: column;
    gap: 40px;
  }

  .network-info {
    flex: 1 1 100%;
    text-align: center;
    min-width: unset;
  }

  .network-map {
    flex: 1 1 100%;
    min-width: unset;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Vehicles */
  .vehicles-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  /* CTA */
  .cta-content h2 {
    font-size: 2rem;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  :root {
    --section-spacing: 40px;
  }

  .home-section-inner {
    padding: 0 15px;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  /* Hero */
  .hero-text h1 {
    font-size: 1.875rem;
  }

  .hero-text p {
    font-size: 1.25rem;
  }

  /* Reviews Carousel */
  .review-card {
    flex: 0 0 280px;
    padding: 20px;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 30px 20px;
  }

  /* Network Stats */
  .network-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  /* Network Regions */
  .regions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .region-card {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
  
  .region-card i {
    font-size: 1.1rem;
  }

  /* Vehicles */
  .vehicles-showcase {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* FAQ */
  .faq-question {
    padding: 20px;
    font-size: 1.0625rem;
  }

  /* CTA */
  .cta-section {
    padding: 60px 0;
  }

  .cta-content h2 {
    font-size: 1.75rem;
  }

  .cta-content p {
    font-size: 1.125rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--main-bg-secondary) 0%, var(--main-bg-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Skeleton Loading States */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-text {
  height: 20px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.skeleton-card {
  height: 300px;
  border-radius: 12px;
}

/* ========================================
   ACCOUNT TYPE MODAL
   ======================================== */

.account-type-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
}

.account-type-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 50px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 5px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  color: var(--main-bg-color);
  background: rgba(0,0,0,0.05);
}

.modal-content h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--main-bg-accent);
  margin-bottom: 10px;
}

.modal-subtitle {
  text-align: center;
  color: #666;
  font-size: 1.125rem;
  margin-bottom: 40px;
}

.account-type-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.account-type-card {
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.account-type-card:hover {
  border-color: var(--main-bg-secondary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.account-type-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.customer-icon {
  background: rgba(236, 84, 84, 0.1);
  color: var(--main-bg-color);
}

.courier-icon {
  background: rgba(33, 190, 115, 0.1);
  color: #21BE73;
}

.account-type-card h3 {
  font-size: 1.5rem;
  color: var(--main-bg-accent);
  margin-bottom: 10px;
}

.account-type-card p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 20px;
}

.account-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  text-align: left;
}

.account-features li {
  padding: 8px 0;
  color: #666;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-features li i {
  color: #21BE73;
  font-size: 0.875rem;
}

.account-notice {
  background: #FFF9E6;
  border: 1px solid #FFD700;
  border-radius: 8px;
  padding: 12px;
  margin: 20px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  font-size: 0.875rem;
  color: #856404;
}

.account-notice i {
  color: #FFB800;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.account-notice strong {
  color: #856404;
  font-weight: 600;
}

.account-type-card .btn {
  width: 100%;
  padding: 12px 20px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.account-type-card .btn-primary {
  background: var(--main-bg-color);
  color: white;
}

.account-type-card .btn-primary:hover {
  background: var(--main-bg-color-darken);
}

.account-type-card .btn-secondary {
  background: #21BE73;
  color: white;
}

.account-type-card .btn-secondary:hover {
  background: #1aa868;
}

@media (max-width: 768px) {
  .account-type-modal.active {
    padding: 10px;
  }
  
  .modal-content {
    padding: 30px 20px;
    width: 95%;
    max-width: 100%;
    margin: 10px;
    border-radius: 15px;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .modal-close {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 1.25rem;
  }
  
  .account-type-options {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .account-type-card {
    padding: 25px 20px;
  }
  
  .account-type-icon {
    width: 70px;
    height: 70px;
    font-size: 1.75rem;
    margin-bottom: 15px;
  }
  
  .modal-content h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
  }
  
  .modal-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  
  .account-type-card h3 {
    font-size: 1.25rem;
  }
  
  .account-type-card p {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
  
  .account-features {
    margin-bottom: 20px;
  }
  
  .account-features li {
    padding: 6px 0;
    font-size: 0.9rem;
  }
  
  .account-type-card .btn {
    padding: 14px 20px;
    font-size: 1rem;
  }
  
  .account-notice {
    padding: 10px;
    font-size: 0.825rem;
    margin: 15px 0;
  }
}

/* Very small screens - fullscreen modal */
@media (max-width: 480px) {
  .modal-content {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
    margin: 0;
    padding: 25px 15px;
    padding-top: 50px;
  }
  
  .modal-close {
    position: fixed;
    top: 10px;
    right: 10px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .modal-content h2 {
    font-size: 1.5rem;
  }
  
  .modal-subtitle {
    font-size: 0.95rem;
  }
  
  .account-type-card {
    padding: 20px 15px;
  }
  
  .account-type-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Legacy */
.homepage-main .mainFooter {
  border-top: unset !important;
}