/* ============================================
   Services Page - services.css
   Cordova Courier
   ============================================ */

/* Standalone .btn (used in hero and CTA sections) */
.btn {
  background-color: #ff6600;
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background-color: #cc5200;
  transform: translateY(-2px);
}

/* Secondary (outlined) button variant — used on dark backgrounds */
.btn-secondary {
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: white;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: white;
  transform: translateY(-2px);
}

/* ============================
   CORE SERVICES DETAIL SECTION
============================ */
.services-detail-section {
  padding: 70px 20px;
  background-color: #ffffff;
  text-align: center;
}

.services-detail-section h2 {
  font-size: 2.2rem;
  color: #003366;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin: 0 auto 40px;
  max-width: 720px;
  line-height: 1.6;
}

/* 3-column grid, collapses gracefully */
.service-expanded-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.service-expanded-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-expanded-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

/* Teal header strip */
.service-card-header {
  background-color: #156082;
  color: white;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  line-height: 1;
}

.service-card-header h3 {
  font-size: 1.35rem;
  margin: 0;
  color: white;
  line-height: 1.3;
}

/* White body */
.service-card-body {
  padding: 24px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body > p {
  font-size: 1rem;
  color: #444;
  line-height: 1.65;
  margin-bottom: 16px;
}

/* Feature checklist */
.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex: 1;
}

.service-features li {
  padding: 5px 0 5px 26px;
  position: relative;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff6600;
  font-weight: bold;
}

/* Button row at bottom of each card */
.service-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: auto;
}

/* Orange "Get a Quote" button */
.service-card-cta {
  display: inline-block;
  background-color: #ff6600;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.92rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.service-card-cta:hover {
  background-color: #cc5200;
  transform: translateY(-2px);
}

/* Blue "Learn More" button */
.service-card-learn {
  display: inline-block;
  background-color: #1a6db3;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.92rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.service-card-learn:hover {
  background-color: #145a96;
  transform: translateY(-2px);
}

/* ============================
   INDUSTRIES SECTION
============================ */
.industries-section {
  padding: 70px 20px;
  background-color: #ffffff;
  text-align: center;
}

.industries-section h2 {
  font-size: 2.2rem;
  color: #003366;
  margin-bottom: 10px;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.industry-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 30px 16px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #156082;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

.industry-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: block;
}

.industry-card h3 {
  font-size: 1rem;
  color: #003366;
  margin: 0;
  font-weight: 700;
  line-height: 1.4;
}

/* ============================
   CTA SECTION
============================ */
.services-cta-section {
  background: linear-gradient(135deg, #156082 0%, #003366 100%);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.services-cta-section h2 {
  font-size: 2.4rem;
  margin-bottom: 14px;
  color: white;
}

.services-cta-section p {
  font-size: 1.15rem;
  margin: 0 auto 36px;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.services-cta-section .cta-buttons {
  margin-bottom: 28px;
}

.services-cta-contact {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
}

.services-cta-contact a {
  color: #FFA94D;
  font-weight: bold;
  text-decoration: none;
}

.services-cta-contact a:hover {
  text-decoration: underline;
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 900px) {
  .service-expanded-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 600px) {
  .service-expanded-grid {
    grid-template-columns: 1fr;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-detail-section h2,
  .industries-section h2,
  .services-cta-section h2 {
    font-size: 1.8rem;
  }

  .service-card-header h3 {
    font-size: 1.15rem;
  }

  .services-cta-section h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 400px) {
  .industry-grid {
    grid-template-columns: 1fr;
  }
}
