/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Header ===== */
header {
  background: #c20000;
  color: #fff;
  text-align: center;
  padding: 24px 20px 16px;
}

header .logo {
  width: 100px;
  height: auto;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
}

header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

header .slogan {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 16px;
  font-style: italic;
}

/* ===== Navigation ===== */
nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 16px;
  border-radius: 4px;
  transition: background 0.25s, color 0.25s;
}

nav a:hover,
nav a.active {
  background: rgba(255, 255, 255, 0.2);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  max-height: 420px;
}

.hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.55));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.hero-overlay h2 {
  font-size: 2.2rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  margin-bottom: 12px;
}

.hero-overlay p {
  font-size: 1.15rem;
  max-width: 550px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  margin-bottom: 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: #c20000;
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 1rem;
  transition: background 0.25s, transform 0.15s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #a00000;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
}

/* ===== Content Sections ===== */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 32px;
  margin: 24px auto;
  max-width: 960px;
}

.section h2 {
  color: #c20000;
  font-size: 1.6rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: #c20000;
  border-radius: 2px;
}

.section.text-center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

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

/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.service-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

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

.service-card h3 {
  color: #c20000;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
}

/* ===== Features / Why Choose Us ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.feature {
  text-align: center;
  padding: 20px 12px;
}

.feature .icon {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #222;
}

.feature p {
  font-size: 0.9rem;
  color: #666;
}

/* ===== About ===== */
.about-content {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.about-content .about-text {
  flex: 1;
  min-width: 280px;
}

.about-content .about-text p {
  margin-bottom: 12px;
  color: #555;
}

/* ===== Contact / Form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 16px;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

input,
textarea {
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.25s;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #c20000;
  box-shadow: 0 0 0 3px rgba(194, 0, 0, 0.1);
}

form .btn {
  margin-top: 18px;
  font-size: 1rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-item .icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  margin-bottom: 2px;
}

.contact-item span {
  color: #555;
  font-size: 0.95rem;
}

/* ===== Thank You ===== */
.thankyou-content {
  text-align: center;
  padding: 48px 20px;
}

.thankyou-content .checkmark {
  font-size: 4rem;
  margin-bottom: 16px;
}

.thankyou-content h2 {
  margin-bottom: 12px;
}

.thankyou-content h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.thankyou-content p {
  color: #555;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.thankyou-content .btn {
  margin-top: 24px;
}

/* ===== Footer ===== */
footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 24px 20px;
  margin-top: 40px;
  font-size: 0.9rem;
}

footer p {
  margin-bottom: 4px;
}

footer a {
  color: #fff;
  text-decoration: underline;
}

footer a:hover {
  color: #f88;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.4rem;
  }

  .hero img {
    height: 280px;
  }

  .hero-overlay h2 {
    font-size: 1.5rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }

  .section {
    padding: 24px 20px;
    margin: 16px 12px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  nav {
    gap: 4px;
  }

  nav a {
    padding: 6px 10px;
    font-size: 0.85rem;
  }

  .hero-overlay h2 {
    font-size: 1.25rem;
  }
}
