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

html, body {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  padding-top: 60px; /* offset for fixed header */
}

/* =============================
   HEADER
============================= */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  cursor: pointer;
}

.nav a {
  margin-left: 20px;
  color: #1c3faa;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #162e7a;
}

/* =============================
   HERO SECTION
============================= */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(9, 10, 12, 0.65), rgba(16, 17, 21, 0.65)),
              url("../images/hero.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 20px;
  margin-top: -60px; /* cancel header offset for hero only */
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 400;
}

.btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background: #1c3faa;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background 0.3s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background: #162e7a;
}

/* =============================
   SECTIONS
============================= */
.section {
  width: 100%;
  padding: 80px 40px;
  text-align: center;
}

.section:nth-of-type(even) {
  background: #f9f9f9;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: 600;
}

/* =============================
   COMPANY SECTION
============================= */
.company-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.company-image picture,
.company-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.company-image img {
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  object-fit: contain;
  object-position: center;
}

.company-text {
  flex: 1;
  text-align: left;
}

.company-text p {
  max-width: 500px;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* =============================
   SERVICES SECTION
============================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  position: relative;
  border-radius: 10px;
  height: 250px;
  cursor: pointer;
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.service-card:hover img {
  transform: scale(1.05);
  filter: brightness(70%);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  transition: background 0.3s ease;
}

.service-card:hover::after {
  background: rgba(0,0,0,0.6);
}

.service-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  color: white;
  text-align: left;
}

.service-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

/* =============================
   CONTACT SECTION
============================= */
#contact .contact-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

#contact .contact-info,
#contact .contact-map {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

#contact .contact-info {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

#contact .contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

#contact .contact-info p {
  margin-bottom: 12px;
  line-height: 1.6;
}

#contact .contact-map iframe {
  width: 100%;
  max-width: 600px;
  height: 320px;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

/* =============================
   FORM ELEMENTS
============================= */
label {
  font-weight: 500;
  margin-bottom: 5px;
  display: block;
}

input, select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  margin: 15px 0 20px;
  color: #555;
}

.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

button {
  background: #1c3faa;
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  min-width: 180px;
  margin: 0 auto;
  display: block;
  transition: all 0.3s ease;
}

button:hover {
  background: #162e7a;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* =============================
   MODALS
============================= */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.7);
}

.modal-content {
  background: #fff;
  margin: 8% auto;
  padding: 30px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  text-align: left;
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content h2 {
  margin-bottom: 20px;
  font-size: 1.6rem;
  font-weight: 600;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =============================
   FOOTER
============================= */
.footer {
  background: #111;
  color: white;
  padding: 40px 20px;
  text-align: center;
  margin-top: auto;
}

.footer-banner {
  font-size: clamp(2.5rem, 10vw, 5rem);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.footer-links {
  margin-bottom: 15px;
}

.footer-links a {
  color: #aaa;
  margin: 0 8px;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

/* =============================
   POLICY PAGES
============================= */
.policy-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.policy-section {
  padding: 120px 20px 60px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex: 1;
}

.policy-box {
  max-width: 800px;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: left;
}

.policy-box h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1c3faa;
}

.policy-box h2 {
  font-size: 1.3rem;
  margin: 20px 0 10px;
  color: #333;
}

.policy-box p, 
.policy-box ul {
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.7;
}

.policy-box ul {
  padding-left: 20px;
  list-style-type: disc;
}

/* =============================
   MOBILE RESPONSIVENESS
============================= */
@media (max-width: 768px) {
  .nav { display: none; }

  .hero {
    text-align: center;
    padding: 0 15px;
  }

  .hero h1 {
    font-size: 1.9rem;
    line-height: 1.3;
    max-width: 90%;
    margin: 0 auto 15px;
  }

  .hero p {
    font-size: 1rem;
    max-width: 85%;
    margin: 0 auto 25px;
  }

  .btn-primary { margin: 0 auto; }

  .company-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .company-image img {
    max-width: 90%;
    height: auto;
  }

  .company-text {
    text-align: center;
    max-width: 90%;
  }

  .services-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .service-card {
    width: 90%;
    height: 240px;
  }

  #contact .contact-container {
    padding: 0 15px;
    gap: 25px;
  }

  #contact .contact-info,
  #contact .contact-map {
    max-width: 90%;
  }

  #contact .contact-map iframe {
    height: 260px;
  }

  .footer-banner {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .footer-links a {
    display: inline-block;
    margin: 5px 8px;
  }
}

/* =============================
   UTILITY CLASSES
============================= */
.hidden {
  display: none;
  visibility: hidden;
  height: 0;
}