/* ============================================================
   HOMEPAGE STYLES — CONSTRAINED WIDTH, NON-CONFLICTING
   ============================================================ */

/* Wrapper that limits width for the whole homepage content */
.home-wrapper {
  background: #ffffff;
}

.home-inner {
  max-width: 1200px;          /* overall width between your red lines */
  margin: 0 auto;
  padding: 40px 24px 80px;    /* top / sides / bottom */
}

/* -------------------------
   HERO SECTION
   ------------------------- */
.home-inner .hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 0 60px;       /* no side padding – width controlled by .home-inner */
}

.home-inner .hero-content {
  flex: 1;
  max-width: 520px;
}

.home-inner .hero-content h1 {
  font-size: 2.4rem;
  margin-bottom: 18px;
  color: #222;
  line-height: 1.15;
}

.home-inner .hero-content h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #666;
}

.home-inner .hero-content p {
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.home-inner .hero-content .btn,
.home-inner .btn-primary {
  background: #ff4d4d;
  color: #fff;
  padding: 11px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}

.home-inner .hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;  /* keeps the guy on the right */
}

.home-inner .hero-image img {
  max-width: 380px;
  width: 100%;
  border-radius: 10px;
}

/* -------------------------
   SECTION TITLES
   ------------------------- */
.home-inner .services > h2,
.home-inner .faq-home > h2,
.home-inner .about-home h2 {
  text-align: center;
  margin-bottom: 35px;
  color: #8B0000;
  font-size: 2rem;
}

/* ============================================================
   SERVICE CARDS (HOMEPAGE)
   ============================================================ */

.home-inner .services {
  padding: 60px 0;            /* vertical only – width from .home-inner */
  background: #f9f9f9;
}

/* primary + secondary grids share same layout */
.home-inner .services .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.home-inner .services .service-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.home-inner .services .service-card:hover {
  transform: translateY(-5px);
}

/* Consistent icons, centered */
.home-inner .services .service-card img {
  display: block;
  margin: 0 auto 15px auto;
  max-width: 110px;
  object-fit: contain;
}

.home-inner .services .service-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  color: #ad0101;
}

.home-inner .services .service-card h3 a {
  color: #ad0101;
  text-decoration: none;
}

.home-inner .services .service-card h3 a:hover {
  text-decoration: underline;
}

.home-inner .services .service-card p {
  color: #333;
  font-size: 0.97rem;
  line-height: 1.6;
}

/* Second row styling (Why choose us) */
.home-inner .services .service-grid.second-row {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.home-inner .services .service-card.second {
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ============================================================
   ABOUT HOME SECTION (Company Overview)
   ============================================================ */

.home-inner .about-home {
  padding: 60px 0;
  background: #fff;
}

.home-inner .about-home .about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

/* Slightly refined typography */
.home-inner .about-home h3 {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8B0000;
  margin-bottom: 8px;
}

.home-inner .about-home h2 {
  font-size: 2.1rem;
  margin-bottom: 16px;
  color: #222;
}

.home-inner .about-home p {
  margin-bottom: 14px;
  font-size: 0.98rem;
  line-height: 1.7;
}

.home-inner .about-home .about-text .btn {
  background: #ff4d4d;
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  display: inline-block;
}

.home-inner .about-home .about-image img {
  width: 100%;
  border-radius: 12px;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */

.home-inner .faq-home {
  padding: 60px 0;
}

.home-inner .faq-home > h2 {
  margin-bottom: 20px;
}

.home-inner .faq-home .faq-container {
  background: #f3e2e2;
  padding: 30px 20px;
  border-radius: 10px;
}

.home-inner .faq-container .faq-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  overflow: hidden;
}

.home-inner .faq-container .faq-question {
  width: 100%;
  padding: 16px 20px;
  font-size: 0.98rem;
  background: #fff;
  color: #333;
  font-weight: 600;
  border: none;
  cursor: pointer;
  position: relative;
  padding-right: 50px;
}

/* plus / minus indicator */
.home-inner .faq-container .faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #8B0000;
}

.home-inner .faq-container .faq-item.active .faq-question::after {
  content: '–';
}

.home-inner .faq-container .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.home-inner .faq-container .faq-answer p {
  margin: 14px 0 18px;
}

/* ============================================================
   RESPONSIVE FIXES
   ============================================================ */

@media (max-width: 992px) {
  .home-inner {
    padding: 30px 18px 60px;
  }

  .home-inner .hero {
    padding-top: 20px;
    gap: 24px;
  }

  .home-inner .hero-image img {
    max-width: 320px;
  }

  .home-inner .about-home .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-inner .hero {
    flex-direction: column;
    text-align: center;
  }

  .home-inner .hero-image {
    justify-content: center;
  }

  .home-inner .services .service-grid,
  .home-inner .services .service-grid.second-row {
    grid-template-columns: 1fr;
  }

  .home-inner .about-home .about-grid {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .home-inner .hero-content h1 {
    font-size: 2rem;
  }

  .home-inner .services .service-card img {
    max-width: 80px;
  }
}
