/* ============================================
   RESET / BASE STYLES
   ============================================ */

/* Universal Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body and text styling */
body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* Link styling */
a {
  text-decoration: none;
  color: inherit;
}

/* Heading styles */
h1, h2, h3 {
  margin-bottom: 20px;
  font-weight: 600;
}

/* ============================================
   HEADER / HERO SECTION
   ============================================ */

.hero-section {
  background-color: #0044cc;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-image img {
  max-width: 200px;
  height: auto;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin: 20px 0;
}

.hero-text p {
  font-size: 1.125rem;
  margin-bottom: 30px;
}

.hero-text .btn {
  background-color: #ffcc00;
  padding: 10px 20px;
  font-size: 1rem;
  color: #333;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-text .btn:hover {
  background-color: #e6b800;
}

/* ============================================
   MISSION SECTION
   ============================================ */

.mission-section {
  position: relative;
  padding: 60px 20px;
}

.mission-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.mission-content {
  text-align: center;
  color: white;
  padding: 40px;
  background: rgba(0, 0, 0, 0.5);
  max-width: 800px;
  margin: 0 auto;
}

.mission-content h2 {
  font-size: 2.5rem;
}

.mission-content h3 {
  font-size: 1.75rem;
  margin-top: 10px;
}

.mission-content p {
  font-size: 1.125rem;
  line-height: 1.6;
}

/* ============================================
   RESEARCH SECTION
   ============================================ */

.research-section {
  padding: 60px 20px;
  background-color: #f1f1f1;
}

.research-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.research-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
}

.research-text {
  flex: 1;
  max-width: 600px;
}

.research-text h2 {
  font-size: 2rem;
}

.research-text h3 {
  font-size: 1.5rem;
  margin-top: 10px;
}

.research-text p {
  font-size: 1rem;
  line-height: 1.6;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
  padding: 60px 20px;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-section p {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
  background-color: #0044cc;
  color: white;
  padding: 60px 20px;
}

.services-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-items: center;
}

.service-item {
  background-color: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-item p {
  font-size: 1rem;
  line-height: 1.6;
}

/* ============================================
   CONTACT FORM SECTION
   ============================================ */

.contact-section {
  padding: 60px 20px;
}

.contact-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
}

form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 0 auto;
}

form label {
  font-size: 1.125rem;
  margin-bottom: 10px;
}

form input, form textarea {
  padding: 10px;
  font-size: 1rem;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

form button {
  padding: 12px 20px;
  font-size: 1.125rem;
  background-color: #0044cc;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #003399;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 1rem;
}

.site-footer p {
  margin: 0;
}

/* ============================================
   MEDIA QUERIES (RESPONSIVENESS)
   ============================================ */

/* Mobile first (already mobile-friendly, but ensure layout is fine on small screens) */
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 20px;
  }

  .hero-text h1 {
    font-size: 1.75rem;
  }

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

  .research-container {
    flex-direction: column;
    text-align: center;
  }

  .research-image img {
    max-width: 100%;
  }

  .about-section p {
    font-size: 1rem;
  }

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

  .service-item {
    max-width: 100%;
  }
}
