/* === CSS Variables for easy theming === */
:root {
  --primary-color: #005f73;
  --accent-color: #ee9b00;
  --light-bg: #f9f9f9;
  --dark-text: #333;
  --light-text: #fff;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --transition: 0.3s ease-in-out;
}

/* === Reset and base styles === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--light-bg);
}

a {
  transition: var(--transition);
  color: inherit;
  text-decoration: none;
}

/* === Utility Classes === */
.section {
  padding: 60px 20px;
}

.bg-light {
  background-color: var(--light-bg);
}

.bg-accent {
  background-color: var(--accent-color);
  color: var(--light-text);
  text-align: center;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

h1, h2, h3 {
  margin-bottom: 20px;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background: #007BFF;
  color: var(--light-text);
  border-radius: 4px;
  font-weight: bold;
  transition: background-color var(--transition), transform var(--transition);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  border: none;
}

.btn:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.btn-primary {
  background: #007BFF;
  color: var(--light-text);
}

.btn-light {
  background-color: var(--light-text);
  color: #007BFF;
  border: 2px solid #007BFF;
}

.btn-light:hover {
  background-color: #ddd;
}

/* === Navbar === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary-color);
  padding: 1rem 2rem;
  color: var(--light-text);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  gap: 0.5rem;
  color: var(--light-text);
}

.logo i {
  font-size: 1.6rem;
  color: var(--light-text);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--light-text);
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--accent-color);
}

/* === Hero Section === */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  background: url('https://storage.googleapis.com/workspace-0f70711f-8b4e-4d94-86f1-2a93ccde5887/image/79f7b18b-3a4d-4678-bd9c-83d3c9f9b059.png') center/cover no-repeat;
height: 100vh;
  color: var(--light-text);
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.hero-images img {
  position: absolute;
  width: 100%;
  animation: rotateImages 12s infinite;
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

.hero-images img:nth-child(1) { animation-delay: 0s; }
.hero-images img:nth-child(2) { animation-delay: 4s; }
.hero-images img:nth-child(3) { animation-delay: 8s; }

@keyframes rotateImages {
  0% { opacity: 0; }
  5% { opacity: 1; }
  30% { opacity: 1; }
  35% { opacity: 0; }
  100% { opacity: 0; }
}

/* === Grids and Cards === */
.features-grid, .services-grid, .projects-grid, .testimonial-grid, .impact-stats {
  display: grid;
  gap: 20px;
}

.features-grid, .services-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-card {
  background: var(--light-text);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* === About Preview === */
.about-preview p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: auto;
}

/* === Why Choose Us Section === */
.why-us .features {
  list-style: none;
  padding-left: 0;
  font-size: 1.1rem;
  max-width: 700px;
  margin: auto;
}

.why-us .features li {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.why-us .features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* === CTA === */
.cta p {
  margin: 1rem 0;
}

/* === Footer === */
.footer {
  background-color: var(--primary-color);
  color: var(--light-text);
  text-align: center;
  padding: 1.5rem;
  width: 100%;
}

/* === Hero About === */
.hero-about {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  background: linear-gradient(to right, #94d2bd, var(--accent-color));
  color: var(--light-text);
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

/* === Mission and Vision === */
.mission-vision .mv-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.mv-item {
  flex: 1;
  background: #f3f3f3;
  padding: 20px;
  border-left: 4px solid #007BFF;
}

.values-list {
  list-style: none;
  padding: 0;
}

.values-list li {
  margin-bottom: 10px;
  font-size: 18px;
}

/* === Approach Section === */
.approach-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.approach-card {
  flex: 1;
  background: #f3f3f3;
  padding: 20px;
  border-radius: 5px;
  min-width: 280px;
}

/* === Team Section === */
.team-container {
  max-width: 1140px;
  margin: 0 auto;
  max-height: 100%;
}

.team-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.team-member {
  text-align: center;
  max-width: 200px;
}

.team-member img {
  width: 100%;
  border-radius: 100px;
  margin-bottom: 10px;
}

/* === Counters Section === */
.counters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
}

.counter h3 {
  font-size: 36px;
  color: #007BFF;
}

/* === Contact Us Page Styling === */

.hero-contact{
 display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  background: linear-gradient(to right, #94d2bd, var(--accent-color));
  color: var(--light-text);
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.hero-contact h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
}

.hero-contact p {
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

/* === Contact Section === */
.contact-section {
  padding: 70px 15px 90px;
  background-color: #f9faff;
  font-family: 'Open Sans', sans-serif;
}

.contact-grid {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1 1 350px;
  background: var(--light-text);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  color: #222222;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #004085;
}

.contact-info p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
}

.contact-info ul li {
  margin-bottom: 14px;
  position: relative;
  padding-left: 22px;
}

.contact-info ul li::before {
  content: '•';
  color: #007BFF;
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  top: 2px;
}

.contact-info h3 {
  margin-top: 35px;
  font-weight: 600;
  color: #007BFF;
  font-size: 1.2rem;
}

.contact-info a {
  color: #007BFF;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* === Contact Form === */
.contact-form {
  flex: 1 1 400px;
  background: var(--light-text);
  padding: 45px 35px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  color: var(--dark-text);
  font-family: 'Open Sans', sans-serif;
}

.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #004085;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px 18px;
  font-size: 16px;
  border: 1.8px solid #ccc;
  border-radius: 8px;
  resize: vertical;
  transition: all 0.3s ease;
  font-family: inherit;
  color: #222;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #007BFF;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
  outline: none;
}

.contact-form button.btn {
  background-color: #007BFF;
  color: var(--light-text);
  padding: 16px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  transition: background-color 0.3s ease;
  box-shadow: 0 6px 12px rgba(0, 123, 255, 0.4);
}

.contact-form button.btn:hover {
  background-color: #0056b3;
  box-shadow: 0 8px 18px rgba(0, 86, 179, 0.5);
}

.form-message {
  margin-top: 12px;
  font-weight: 700;
  font-size: 1rem;
  color: green;
  text-align: center;
}

/* === Map Section === */
.map-section {
  margin: 60px auto 100px;
  max-width: 1200px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  height: 500px;
}

/* === Responsive Styles === */
@media (max-width: 992px) {
  .contact-grid {
    flex-direction: column;
  }
  
  .contact-info,
  .contact-form {
    max-width: 100%;
    flex: 1 1 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-contact h1 {
    font-size: 2.6rem;
  }

  .hero-contact p {
    font-size: 1.1rem;
  }

  .contact-form button.btn {
    font-size: 1rem;
  }
}
