/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(rgba(18, 18, 18, 0.5), rgba(18, 18, 18, 0.5)),
    url('../images/hero.webp') center/cover no-repeat;
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffd54f;
  width: 100%;
  padding: 0 0 1rem;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0; /* Remove hero gap */
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 600;
  max-width: 700px;
  margin-bottom: 1rem;
  line-height: 1.1;
  text-shadow: 0 0 15px #ffd54f88;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
  color: #fff9c4;
  text-shadow: 0 0 8px #000;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  padding: 0.9rem 2.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  box-shadow: 0 0 10px #ffd54f88;
}

.btn-primary {
  background-color: #ffd54f;
  color: #121212;
}

.btn-primary:hover {
  background-color: #fff176;
  box-shadow: 0 0 20px #fff176aa;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #ffd54f;
  color: #ffd54f;
}

.btn-secondary:hover {
  background-color: #ffd54f;
  color: #121212;
  box-shadow: 0 0 15px #ffd54fbb;
}

/* Services Section */
.services {
  display: grid; /* Using grid for better control over wrapping */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem; /* Adjusted for cleaner layout */
}

.service-card {
  background-color: #1c1c1c;
  width: 300px; /* Fixed width */
  min-height: 250px; /* Ensures a consistent minimum height */
  /* OR: height: 300px; for an exact fixed height */
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  color: #ffd54f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Add these for consistent content handling if height is fixed: */
  display: flex; /* Helps align content vertically */
  flex-direction: column; /* Stack content vertically */
  justify-content: center; /* Center content vertically */
  align-items: center; /* Center content horizontally */
  overflow: hidden; /* Hides content that exceeds the card's height */
}


.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 8px 24px #ffd54faa;
}

.service-card h3 {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.5;
  color: #fff9c4;
}

/* Specific Homepage Section Layouts */
.about-box {
  background-color: #1A1A1A;
  border: 2px solid #ffd54f;
  padding: 2rem;
  max-width: 900px;
  margin: 4rem auto;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  color: #fff;
}

.about-box h2 {
  color: #ffd54f;
  text-align: center;
  margin-bottom: 1.5rem;
}

.about-box p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #fff9c4;
  margin-bottom: 1rem;
}

.why-choose {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
  background-color: #1A1A1A;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: center;
}

.why-choose h2 {
  font-size: 2.5rem;
  color: #ffd54f;
  margin-bottom: 2rem;
}

/* Styles for the new dual panel section */
.dual-panel-container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically center the panels */
    gap: 3rem; /* Creates space between the two panels */
}

.why-choose-panel, .contact-panel {
    flex: 1; /* Makes both panels take up equal space */
}

.why-choose-panel h2, .contact-panel h2 {
    text-align: center;
}

.contact-panel {
    text-align: center;
}

.contact-panel img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 1rem auto 0.5rem; /* Adjusted margins */
    display: block;
    border: 3px solid #ffd54f;
}

.contact-panel .contact-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-top: 0.5rem; /* Adjusted margins */
    margin-bottom: 1rem;
}

.contact-panel .contact-quote {
    font-style: italic;
    color: #ffd54f;
    margin: 0 0 1rem; /* Adjusted margins */
    padding: 0 1rem;
}

.contact-panel .contact-info {
    font-size: 1.1rem;
    color: #fff9c4;
    line-height: 1.8;
}

.contact-panel .contact-info p {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping on very small screens */
    gap: 0.5rem; /* Adds a small gap between items if they wrap */
}

.contact-panel .contact-info a {
    color: #fff176;
    text-decoration: none;
    font-weight: 600;
}

.contact-panel .contact-info a:hover {
    text-decoration: underline;
}

.contact-panel .contact-info .info-separator {
    color: #ffd54f;
    margin: 0 0.25rem;
}

.inner-section {
  background-color: #1A1A1A;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  padding: 2rem;
  margin: 2rem auto;
  max-width: 900px;
  text-align: center;
}

.inner-section h2 {
  color: #ffd54f;
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

.inner-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #fff9c4;
}

/* Homepage specific spacing adjustments */
.main-page-box {
  margin-top: -2rem; /* Pulls the main content box up towards the hero */
}

/* Clean up spacing under hero */
.hero + .content-section {
  margin-top: -2rem; /* Removes the gap between hero and first content section */
}

/* Fix bottom margin on section titles */
.content-section h2 {
  margin-bottom: 1.25rem;
}

/* Responsive Fixes (Homepage specific) */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .services {
    gap: 1rem;
  }
  .service-card {
    max-width: 100%;
  }

  /* Stack the panels on smaller screens */
  .dual-panel-container {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }
  
  .why-choose-panel, .contact-panel {
    width: 100%;
    max-width: 500px; /* Limit width on smaller screens */
  }

  .why-choose-panel {
    text-align: left; /* Keep list left-aligned */
  }
  .why-choose-panel h2 {
    text-align:center;
  }
}

@media (max-width: 500px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 1rem 0;
  }
  .hero {
    margin-top: 100px; /* Adjust for shorter nav on small screens */
  }
}

body {

color: #1A1A1A;

}
