body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: #333;
  line-height: 1.6;
}

header {
  background: #004080;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #ffcc00;
}

.hero {
  position: relative;
  text-align: center;
  color: white;
}

.hero-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: brightness(70%);
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

h2 {
  margin-bottom: 20px;
  color: #004080;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  padding: 0 20px;
}

.service-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 64, 128, 0.15);
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.3rem;
  color: #004080;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 10px;
  line-height: 1.5;
}

.service-card strong {
  color: #004080;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 64, 128, 0.25);
  border-left: 5px solid #ffcc00;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 5px;
  background: linear-gradient(90deg, #004080, #ffcc00);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 30px;
  padding: 0 20px;
}

.team-member {
  background: #ffffff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 64, 128, 0.12);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #004080;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.team-member h3 {
  font-size: 1.2rem;
  color: #004080;
  margin-bottom: 5px;
}

.team-member p {
  font-size: 0.95rem;
  color: #555;
}

.expand-btn {
  background: #004080;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  margin-top: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.expand-btn:hover {
  background: #003366;
}

.member-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  margin-top: 10px;
  text-align: left;
}

.member-details p {
  margin: 5px 0;
  font-size: 0.9rem;
  color: #333;
}

.team-member.active .member-details {
  max-height: 200px;
  opacity: 1;
}

/* Partners Section */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 30px;
  padding: 0 20px;
}

.partner-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  font-weight: bold;
  color: #004080;
  box-shadow: 0 6px 15px rgba(0, 64, 128, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 64, 128, 0.2);
}

.partner-card h3 {
  margin-bottom: 10px;
}

.expand-partner {
  background: #004080;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.expand-partner:hover {
  background: #003366;
}

.partner-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.4;
}

.partner-card.active .partner-details {
  max-height: 150px;
  opacity: 1;
}

/* Contact Section */
.contact {
  background: #f4f7fb;
  border-radius: 12px;
  padding: 50px 20px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
  align-items: flex-start;
}

.contact-map {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.contact-map img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  margin-bottom: 15px;
}

.address-details {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-size: 0.95rem;
}

.contact-form {
  flex: 1;
  min-width: 350px;
}

.contact form {
  background: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 64, 128, 0.15);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact input,
.contact textarea {
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact input:focus,
.contact textarea:focus {
  border-color: #004080;
  outline: none;
  box-shadow: 0 0 6px rgba(0, 64, 128, 0.3);
}

.contact button {
  background: #004080;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact button:hover {
  background: #003366;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 64, 128, 0.25);
}

.success-message {
  display: none;
  background: #e6f7e6;
  color: #2d7a2d;
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
  font-weight: 600;
  text-align: center;
  border: 2px solid #2d7a2d;
  animation: fadeIn 0.6s ease-in-out;
}

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

footer {
  background: #004080;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 20px;
}
