/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #222;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ================= LOGO (NO CROPPING) ================= */
.logo {
  max-height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* ================= BUTTONS ================= */
.btn-primary {
  background: #e63946;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}

.btn-outline {
  border: 2px solid #e63946;
  color: #e63946;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}

.text-link {
  color: #e63946;
  text-decoration: none;
  font-weight: 500;
}

/* ================= HEADER ================= */
.header {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.nav-links a {
  margin-left: 24px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
}

/* ================= HERO ================= */
.hero {
  background: linear-gradient(to right, #111, #1c1c1c);
  color: #fff;
  padding: 80px 0;
}

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

.hero img {
  width: 100%;
  border-radius: 14px;
}

.hero-text {
  display: flex;
  flex-direction: column;
}

.hero-text h1 {
  margin-bottom: 20px;
}

.hero-text p {
  margin-bottom: 30px;
  max-width: 520px;
}

.hero-text .btn-primary {
  align-self: flex-start;
  width: auto;
}


/* ================= SERVICES ================= */
.services {
  padding: 80px 0;
  text-align: center;
}

.section-desc {
  margin-top: 12px;
  color: #666;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.card {
  background: #fff;
  padding: 32px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.card i {
  font-size: 32px;
  color: #e63946;
  margin-bottom: 16px;
}

/* ================= INDUSTRIES ================= */
.industries {
  background: #f6f6f6;
  padding: 80px 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.industries-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.industry {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
}

/* ================= CTA ================= */
.cta {
  background: #111;
  color: #fff;
  padding: 70px 0;
  text-align: center;
}

.cta-box p {
  margin: 12px 0 24px;
}

/* ================= TESTIMONIAL ================= */
.testimonial {
  padding: 70px 0;
  text-align: center;
  background: #fff;
}

.quote {
  font-size: 18px;
  font-style: italic;
}

.client {
  display: block;
  margin-top: 12px;
  color: #777;
}

/* ================= INSIGHTS ================= */
.insights {
  padding: 80px 0;
}

.insights-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.insight-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.insight {
  background: #fff;
  padding: 26px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}

/* ================= FOOTER ================= */
.footer {
  background: #000;
  color: #ccc;
  padding: 70px 0 25px;
}

.footer-logo {
  max-height: 50px;
  margin-bottom: 12px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer h4 {
  color: #fff;
}

.footer a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin-top: 8px;
}

.footer .copyright {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: #999;
}


/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero-grid,
  .industries-grid,
  .service-cards,
  .insight-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links a {
    margin-left: 0;
    margin-right: 16px;
  }
}

@media (max-width: 600px) {
  .logo {
    max-height: 48px;
  }
}

/* Modal base styles */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  overflow-y: auto;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 10px;
  max-width: 500px;
  width: 100%;
  padding: 30px 30px 40px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.3);
  position: relative;
  font-family: 'Poppins', sans-serif;
}

.modal-content h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #d13b2f;
}

.modal-content label {
  display: block;
  margin: 15px 0 6px;
  font-weight: 600;
  font-size: 0.95rem;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 1rem;
  border: 1.8px solid #ddd;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  resize: vertical;
}

.modal-content textarea {
  min-height: 100px;
}

.btn-submit {
  margin-top: 28px;
  background-color: #d13b2f;
  color: white;
  border: none;
  padding: 14px 28px;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #a83127;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #555;
  font-weight: 700;
}

.modal-close:hover {
  color: #d13b2f;
}

/* Responsive modal */
@media (max-width: 480px) {
  .modal-content {
    padding: 20px;
  }
}
