* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body, html {
  height: 100%;
}

.wrapper {
  height: 100vh;
}
.home {
  height: 100vh;
  background: url('img/bg.jpg') no-repeat center center/cover;
}
/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  background: transparent;
}
.navbar {
  background: transparent; /* keep transparent initially */
  transition: background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 64, 128, 0.9); /* example colored background */
  /* You can change the color & opacity as you like */
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
}

.brand-text {
  font-size: 18px;
  font-weight: 700;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.navlist {
  display: flex;
  gap: 20px;
  align-items: center;
}

.navlist a {
  color: white;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.navlist a:hover {
  color: #ffd700;
}
/* Navbar base */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  background: transparent;
  transition: background 0.3s ease;
}

/* Navbar when scrolled */
.navbar.scrolled {
  background: rgba(0, 64, 128, 0.9); /* dark blue, semi-transparent */
}

/* Logo and brand text */
.brand-text {
  font-size: 18px;
  font-weight: 700;
  color: #f0f0f0; /* slightly lighter than pure white */
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8); /* stronger shadow */
}

/* Nav links */
.navlist a {
  color: #f0f0f0; /* slightly lighter */
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8); /* stronger shadow */
}

.navlist a:hover {
  color: #ffd700;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.95);
  min-width: 250px;
  flex-direction: column;
  z-index: 1001;
}

.dropdown-content a {
  padding: 10px 15px;
  color: white;
  text-decoration: none;
  display: block;
  transition: background 0.3s;
}

.dropdown-content a:hover {
  background: #004080;
}

.dropdown:hover .dropdown-content {
  display: flex;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .navlist {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    position: absolute;
    top: 60px;
    right: 40px;
    padding: 10px 20px;
  }

  .navlist.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .dropdown-content {
    position: static;
    background: none;
    padding-left: 20px;
  }
}

/* Hero Section */
.home {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.home-content h1 {
  font-size: 3em;
  font-weight: 800;
  margin-bottom: 10px;
}

.typing-text {
  font-size: 1.3em;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #fff;
  width: fit-content;
  height: 1.5em;
  display: inline-block;
}

/* About Section */
.about-section {
  background: #f8f9fa;
  padding: 80px 20px;
  color: #333;
}

.about-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5em;
  font-weight: 800;
  margin-bottom: 20px;
  color: #004080;
}

.about-text p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.experience-box {
  background: #dc3545;
  color: white;
  padding: 20px;
  width: fit-content;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.experience-box .years {
  display: block;
  font-size: 2em;
  font-weight: bold;
}

.experience-box .label {
  font-size: 1em;
}

.highlight-grid {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.highlight-item:hover {
  transform: translateY(-5px);
}

.highlight-item h3 {
  font-size: 2em;
  color: #004080;
  margin-bottom: 10px;
}

.highlight-item p {
  font-size: 1em;
  color: #333;
}

.mission-vision-section {
  background: #fff;
  padding: 60px 20px;
}

.mission-vision-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mission-box, .vision-box {
  background: #f1f5f9;
  border-left: 6px solid #004080;
  padding: 25px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.mission-box h3, .vision-box h3 {
  font-size: 1.8em;
  color: #004080;
  margin-bottom: 10px;
}

.mission-box p, .vision-box p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
}
.mission-vision-section {
  background: linear-gradient(to right, #e9f1ff, #f5faff);
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.mission-vision-card.split {
  background: #fff;
  display: flex;
  gap: 40px;
  padding: 40px;
  max-width: 1100px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 64, 128, 0.08);
  align-items: center;
  flex-wrap: wrap;
}

.text-content {
  flex: 1;
}

.image-content {
  flex: 1;
  text-align: center;
}

.image-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.entry {
  margin-bottom: 30px;
}

.label {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.2em;
  color: #004080;
  margin-bottom: 8px;
  gap: 10px;
}

.label .icon {
  width: 24px;
  height: 24px;
}

.entry p {
  font-size: 1.05em;
  color: #333;
  line-height: 1.6;
}

/* new */
/* Section Base */
section {
  padding: 80px 20px;
  background-color: #f8f9fa;
}

.section-title {
  text-align: center;
  font-size: 2.5em;
  font-weight: bold;
  color: #004080;
  margin-bottom: 40px;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 50px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #004080;
}

/* Why Choose Us Section */
.why-choose-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  gap: 30px;
  justify-content: center;
}

.why-box {
  flex: 1 1 220px;
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
}

.why-box h4 {
  color: #004080;
  margin-bottom: 10px;
  padding: 1rem;
  /* margin: 0.5rem; */
  background: #f9f9f9;
  border-radius: 8px;
  flex: 1 1 200px; /* makes them responsive */
  height: auto;     /* allow height to fit content */
  box-sizing: border-box;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Testimonials */
.testimonials {
  background-color: #eef2f5;
  padding: 80px 20px;
}

.testimonial-card {
  background: white;
  border-left: 5px solid #004080;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  max-width: 700px;
  margin: 20px auto;
}

.testimonial-card p {
  font-style: italic;
}

.testimonial-card strong {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  color: #004080;
}

/* Call to Action */
.cta {
  background-color: #004080;
  color: white;
  text-align: center;
  padding: 60px 0;
}

.cta h2 {
  font-size: 2.2em;
  margin-bottom: 25px;
  font-weight: 700;
  animation: pulse 2s infinite alternate;
}

.cta-button {
  display: inline-block;
  background-color: #ffd700;
  color: #004080;
  padding: 15px 35px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.5);
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  font-size: 1.15em;
}

.cta-button:hover,
.cta-button:focus {
  background-color: #ffc300;
  transform: scale(1.08);
  box-shadow: 0 6px 14px rgba(255, 195, 0, 0.7);
}

/* Optional pulse animation if you want to define it */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.05);
    opacity: 0.85;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .why-choose-container {
    flex-direction: column;
    align-items: center;
  }
}


/* Responsive: Mission & Vision Section */
@media (max-width: 768px) {
  .mission-vision-card.split {
    flex-direction: column;
    padding: 20px;
  }

  .text-content,
  .image-content {
    flex: 1 1 100%;
    text-align: center;
  }

  .text-content {
    order: 2;
  }

  .image-content {
    order: 1;
  }

  .label {
    justify-content: center;
  }
}

/* Responsive: Why Choose Us Section */
@media (max-width: 768px) {
  .why-choose-container {
    flex-direction: column;
    align-items: center;
  }

  .why-box {
    width: 100%;
    max-width: 400px;
  }
}




.mission-vision-section {
  padding: 2rem 1rem;
  box-sizing: border-box;
  width: 100%;
}

.mission-vision-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap; /* Allows wrap on smaller screens */
}

.text-content,
.image-content {
  flex: 1 1 45%; /* Allows resizing */
  min-width: 300px; /* Prevents too small boxes */
}

.image-content img {
  width: 100%;
  height: 100%;
  display: block;
}

/* ✅ Responsive layout for mobile */
@media (max-width: 768px) {
  .mission-vision-card {
    flex-direction: column; /* Stack vertically */
    align-items: flex-start;
  }

  .text-content,
  .image-content {
    width: 100%;
    flex: unset;
  }

  .mission-vision-section {
    padding: 1rem;
  }
}