body {
  width: 100%;
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f4f7f6;
  color: #222f3e;
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
nav {
  background: #fff;
  color: #31897e;
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(49, 137, 126, 0.07);
}
.nav-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(21, 101, 192, 0.2);
}
.logo img {
  height: 150px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: none;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #31897e;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  background: #e0f7fa;
  color: #222f3e;
}
.hero {
  background: linear-gradient(120deg, #e0f7fa 0%, #fff 100%);
  color: #222f3e;
  padding: 7rem 0 5rem 0;
  text-align: center;
  box-shadow: 0 8px 32px rgba(49, 137, 126, 0.07);
  position: relative;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
  color: #31897e;
  font-weight: 700;
}
.hero p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  color: #3c6e71;
}
.btn {
  background: linear-gradient(90deg, #31897e 60%, #3c6e71 100%);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(49, 137, 126, 0.1);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background: #f9b233;
  color: #222f3e;
  box-shadow: 0 4px 16px rgba(49, 137, 126, 0.18);
}
.services-preview {
  padding: 4rem 0 3rem 0;
  background: #e0f7fa;
}
.services-preview h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2rem;
  color: #31897e;
}
.services-list {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.service-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(49, 137, 126, 0.08);
  padding: 1.5rem 1.2rem;
  flex: 1 1 260px;
  max-width: 340px;
  min-width: 220px;
  text-align: center;
  border: 1.5px solid #e0f7fa;
  transition: box-shadow 0.01s, border 0.2s;
  min-height: 120px;
}
.service-item:hover {
  box-shadow: 0 8px 32px rgba(49, 137, 126, 0.18);
  border-color: #f9b233;
}
.service-item h3 {
  color: #31897e;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.service-item p {
  color: #3c6e71;
  font-size: 1.05rem;
}
footer {
  background: #222f3e;
  color: #fff;
  text-align: center;
  padding: 2rem 0 1rem 0;
  margin-top: 2rem;
  font-size: 1rem;
  letter-spacing: 1px;
  box-shadow: 0 -2px 8px rgba(49, 137, 126, 0.08);
}
/* Формуудын дизайн */
form {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(21, 101, 192, 0.08);
  max-width: 400px;
  margin: 1.5rem auto;
}
input,
select,
textarea {
  width: 100%;
  padding: 0.7rem;
  margin: 0.5rem 0 1rem 0;
  border: 1.5px solid #90caf9;
  border-radius: 7px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: border 0.2s;
}
input:focus,
select:focus,
textarea:focus {
  border: 1.5px solid #437e77;
  outline: none;
}
#registerMsg,
#contactMsg {
  color: #437e77;
  font-weight: bold;
  text-align: center;
  margin-top: 1rem;
  display: none;
}

#registerMsg:not(:empty),
#contactMsg:not(:empty) {
  display: block;
}
/* Responsive */
@media (max-width: 900px) {
  .services-list {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .nav-links {
    gap: 1rem;
  }
  .experience-stats {
    flex-direction: column;
    gap: 1rem;
  }
  .clients-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 600px) {
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
  }

  /* Hero section */
  .hero {
    padding: 4rem 0 3rem 0;
  }
  .hero h1 {
    font-size: 1.8rem !important;
    margin-bottom: 1rem;
  }
  .hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  /* Services preview */
  .services-preview {
    padding: 2rem 0 1.5rem 0;
  }
  .services-preview h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .services-list {
    flex-direction: column;
    gap: 1rem;
  }
  .service-item {
    padding: 1.2rem 1rem;
    max-width: 100%;
    min-height: 100px;
  }
  .service-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  .service-item p {
    font-size: 1rem;
  }

  /* Experience section */
  .experience-section {
    padding: 2.5rem 0;
  }
  .experience-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .experience-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .exp-stat {
    padding: 1.5rem 0.8rem;
  }
  .exp-number {
    font-size: 1.8rem;
  }
  .exp-label {
    font-size: 0.9rem;
  }

  /* Clients section */
  .clients-section {
    padding: 2.5rem 0;
  }
  .clients-section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }
  .clients-section p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .client-item {
    padding: 1.2rem 0.8rem;
  }
  .client-item i {
    font-size: 2rem;
  }
  .client-item h3 {
    font-size: 1rem;
  }
  .client-item p {
    font-size: 0.9rem;
  }

  /* Navigation */
  nav {
    padding: 0.5rem 0;
  }
  .logo img {
    height: 100px;
  }

  /* Buttons */
  .btn {
    font-size: 1rem !important;
    padding: 0.8rem 1.5rem !important;
  }
}
/* --- Үйлчилгээний картуудын шинэ загвар --- */
.services-cards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.service-card {
  background: linear-gradient(135deg, #fff 0%, #f8fffe 100%);
  border-radius: 25px;
  box-shadow: 0 10px 40px rgba(67, 126, 119, 0.2);
  padding: 3rem 2.2rem;
  max-width: 360px;
  min-width: 280px;
  flex: 1 1 300px;
  text-align: center;
  transition: all 0.2s ease;
  border: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
  transform: scaleX(0);
  transition: transform 0.1s ease;
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, #667eea, #4ba25e, #b7f0cf);
  border-radius: 25px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.1s ease;
}
.service-card:hover::after {
  opacity: 1;
}
.service-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 20px 60px rgba(67, 126, 119, 0.3);
  border-color: #fff;
}
.service-icon {
  font-size: 3.5rem;
  color: #388931;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  transition: all 0.1s ease;
}
.service-card:hover .service-icon {
  color: #fff;
  transform: scale(1.2) rotate(5deg);
}
.service-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  color: #388931;
  font-weight: 700;
  transition: color 0.1s ease;
}
.service-card:hover h2 {
  color: #fff;
}
.service-card ul {
  text-align: left;
  margin: 0 auto;
  padding-left: 1.5rem;
  color: #333;
  font-size: 1.05rem;
  line-height: 1.6;
  transition: color 0.1s ease;
}
.service-card:hover ul {
  color: rgba(255, 255, 255, 0.9);
}
.service-card ul li {
  list-style: none;
  margin-bottom: 0.8rem;
  position: relative;
}
.service-card ul li::before {
  content: "✓";
  color: #f6af3c;
  font-weight: bold;
  position: absolute;
  left: -1.2rem;
  top: 0;
  transition: color 0.1s ease;
}
.service-card:hover ul li::before {
  color: #fff;
}
.service-card p {
  color: #333;
  font-size: 1.05rem;
  margin: 0.5rem 0 0 0;
  line-height: 1.6;
  transition: color 0.1s ease;
}
.service-card:hover p {
  color: rgba(255, 255, 255, 0.9);
}

/* --- Нүүр хуудасны нэмэлт хэсгүүд --- */
.experience-section {
  background: #31897e;
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.experience-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}
.experience-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  width: 100%;
  margin: 0 auto;
}
.exp-stat {
  margin-right: auto;
  margin-left: auto;
  width: 80%;
  background: #fff;
  color: #31897e;
  padding: 2rem 1rem;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(49, 137, 126, 0.08);
  border: 1.5px solid #e0f7fa;
  font-weight: 600;
  text-align: center;
}
.exp-number {
  font-size: 2.2rem;
  font-weight: bold;
  color: #f9b233;
  margin-bottom: 0.5rem;
}
.exp-label {
  font-size: 1.1rem;
  color: #3c6e71;
}
.clients-section {
  background: #f4f7f6;
  padding: 4rem 0;
}
.clients-section h2 {
  color: #31897e;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}
.clients-section p {
  color: #3c6e71;
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 3rem;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.client-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(49, 137, 126, 0.08);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1.5px solid #e0f7fa;
  transition: box-shadow 0.1s, border 0.2s;
}
.client-item:hover {
  box-shadow: 0 8px 28px rgba(49, 137, 126, 0.18);
  border-color: #f9b233;
}
.client-item i {
  font-size: 2.5rem;
  color: #31897e;
  margin-bottom: 1rem;
}
.client-item h3 {
  color: #31897e;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}
.client-item p {
  color: #3c6e71;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

/* --- FAQ хуудасны загвар --- */
.faq-main {
  background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 50%, #f0fff0 100%);
  border-radius: 20px;
  margin: 2rem auto;
  padding: 3rem 2rem !important;
  box-shadow: 0 8px 32px rgba(67, 126, 119, 0.08);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}
.faq-header h1 {
  background: linear-gradient(90deg, #437e77, #6bae5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 2.3rem;
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.3s ease-out;
}
.faq-header p {
  color: #437e77;
  font-weight: 500;
  font-size: 1.2rem;
  animation: fadeInUp 0.3s ease-out 0.3s both;
}
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(67, 126, 119, 0.1);
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid #e8f5e8;
}
.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.1s;
}
.faq-question:hover {
  background: #f8fffe;
}
.faq-question h3 {
  color: #437e77;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.1s ease;
}
.faq-question h3 i {
  color: #6bae5e;
}
.faq-question i.fa-chevron-down {
  color: #437e77;
  transition: transform 0.1s;
}
.faq-item.active .faq-question i.fa-chevron-down {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: #333;
  line-height: 1.6;
  display: none;
}
.faq-item.active .faq-answer {
  display: block;
}

/* --- About хуудасны загвар --- */
.about-main {
  background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 50%, #f0fff0 100%);
  border-radius: 20px;
  margin: 2rem auto;
  padding: 3rem 2rem !important;
  box-shadow: 0 8px 32px rgba(67, 126, 119, 0.08);
}
.about-header {
  text-align: center;
  margin-bottom: 3rem;
}
.about-header h1 {
  background: linear-gradient(90deg, #437e77, #6bae5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 2.3rem;
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.3s ease-out;
}
.about-header p {
  color: #437e77;
  font-weight: 500;
  font-size: 1.2rem;
  animation: fadeInUp 0.3s ease-out 0.3s both;
}
.company-intro {
  margin-bottom: 3rem;
}
.company-intro h2 {
  color: #437e77;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.company-intro p {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.company-stats {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(67, 126, 119, 0.12);
  flex: 1 1 150px;
  min-width: 120px;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #437e77;
  margin-bottom: 0.5rem;
}
.stat-label {
  color: #333;
  font-size: 1rem;
  font-weight: 500;
}
.team-section {
  margin-bottom: 2rem;
}
.team-section h2 {
  color: #437e77;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}
.team-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.team-card {
  background: linear-gradient(135deg, #fff 0%, #f8fffe 100%);
  border-radius: 18px;
  box-shadow: 0 6px 28px rgba(67, 126, 119, 0.15);
  padding: 2.5rem 2rem;
  max-width: 320px;
  min-width: 280px;
  flex: 1 1 300px;
  text-align: center;
  transition: all 0.1s ease;
  border: 2px solid #e8f5e8;
  position: relative;
  overflow: hidden;
}
.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #437e77, #6bae5e);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.team-card:hover::before {
  transform: scaleX(1);
}
.team-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 36px rgba(67, 126, 119, 0.22);
  border-color: #6bae5e;
}
.team-photo {
  font-size: 3.5rem;
  color: #437e77;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  transition: all 0.2s ease;
}
.team-card:hover .team-photo {
  color: #6bae5e;
  transform: scale(1.1);
}
.team-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #437e77;
  font-weight: 600;
  transition: color 0.2s ease;
}
.team-position {
  color: #6bae5e;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.team-experience {
  color: #437e77;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 500;
}
.team-card p {
  color: #333;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.team-contact {
  color: #437e77;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* --- Сургалтын хуудасны загвар --- */
.training-main {
  background: #f4f7f6;
  border-radius: 20px;
  margin: 2rem auto;
  padding: 3rem 2rem !important;
  box-shadow: 0 8px 32px rgba(49, 137, 126, 0.07);
}
.training-header {
  text-align: center;
  margin-bottom: 3rem;
}
.training-header h1 {
  color: #31897e;
  font-weight: 700;
  font-size: 2.3rem;
  margin-bottom: 0.5rem;
}
.training-header p {
  color: #3c6e71;
  font-weight: 500;
  font-size: 1.2rem;
}
.training-sections {
  margin-bottom: 3rem;
  height: fit-content;
}
.training-section {
  margin-bottom: 3rem;
}
.training-section h2 {
  color: #31897e;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.training-section h2 i {
  color: #f9b233;
}
.training-cards {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
  gap: 2rem;
}
.training-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(49, 137, 126, 0.1);
  padding: 2.5rem 2rem;
  max-width: 320px;
  min-width: 260px;
  flex: 1 1 300px;
  text-align: center;
  border: 1.5px solid #e0f7fa;
  transition: box-shadow 0.2s, border 0.2s;
  position: relative;
  overflow: hidden;
  min-height: 250px;
}
.training-card.current {
  border-color: #31897e;
}
.training-card.future {
  border-color: #f9b233;
}
.training-card:hover {
  box-shadow: 0 8px 32px rgba(49, 137, 126, 0.18);
  border-color: #f9b233;
}
.training-icon {
  font-size: 2.5rem;
  color: #31897e;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  transition: color 0.2s, transform 0.2s;
}
.training-card:hover .training-icon {
  color: #f9b233;
  transform: scale(1.1);
}
.training-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: #31897e;
  font-weight: 600;
}
.training-date {
  background: #e0f7fa;
  color: #31897e;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1rem;
  display: inline-block;
}
.training-card p {
  color: #3c6e71;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}
.registration-section {
  background: #fff;
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(49, 137, 126, 0.1);
  max-width: 500px;
  margin: 0 auto;
}
.registration-section h2 {
  color: #31897e;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.registration-section h2 i {
  color: #f9b233;
}
.registration-form {
  background: none;
  padding: 0;
  box-shadow: none;
  max-width: none;
  margin: 0;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #31897e;
  font-weight: 500;
  font-size: 1rem;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e0f7fa;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: border 0.2s;
  background: #f4f7f6;
}
.form-group input:focus,
.form-group select:focus {
  border: 2px solid #31897e;
  outline: none;
  background: #fff;
}
.registration-form .btn {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
  font-size: 1.1rem;
}
#registerMsg {
  color: #31897e;
  font-weight: bold;
  text-align: center;
  margin-top: 1rem;
  padding: 0.8rem;
  background: #e0f7fa;
  border-radius: 8px;
  border: 1px solid #31897e;
  display: none;
}

#registerMsg:not(:empty) {
  display: block;
}
@media (max-width: 900px) {
  .training-main {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .training-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .training-card {
    max-width: 100%;
    min-width: auto;
    max-height: 200px;
    padding: 2rem 1.5rem;
  }
  .training-main {
    margin: 1rem;
    padding: 2rem 1rem !important;
  }
  .registration-section {
    padding: 1.5rem;
  }
}

/* --- Холбоо барих хуудасны загвар --- */
.contact-main {
  background: #f4f7f6;
  border-radius: 20px;
  margin: 2rem auto;
  padding: 3rem 2rem !important;
  box-shadow: 0 8px 32px rgba(49, 137, 126, 0.07);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}
.contact-header h1 {
  color: #31897e;
  font-weight: 700;
  font-size: 2.3rem;
  margin-bottom: 0.5rem;
}
.contact-header p {
  color: #3c6e71;
  font-weight: 500;
  font-size: 1.2rem;
}
.contact-content {
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}
.contact-form-section,
.contact-info-section {
  min-width: 0;
  box-sizing: border-box;
  flex: 1 1 300px;
}
.contact-info-section h2,
.contact-form-section h2 {
  color: #31897e;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-info-section h2 i,
.contact-form-section h2 i {
  color: #f9b233;
}
.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.contact-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(49, 137, 126, 0.1);
  padding: 1.5rem 1.2rem;
  flex: 1 1 180px;
  min-width: 180px;
  text-align: center;
  border: 1.5px solid #e0f7fa;
  transition: box-shadow 0.2s, border 0.2s;
  position: relative;
}
.contact-card:hover {
  box-shadow: 0 8px 32px rgba(49, 137, 126, 0.18);
  border-color: #f9b233;
}
.contact-icon {
  font-size: 2rem;
  color: #31897e;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  transition: color 0.2s, transform 0.2s;
}
.contact-card:hover .contact-icon {
  color: #f9b233;
  transform: scale(1.1);
}
.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: #31897e;
  font-weight: 600;
}
.contact-card p {
  color: #3c6e71;
  font-size: 0.98rem;
  margin: 0.2rem 0;
}
.contact-form-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(49, 137, 126, 0.1);
  padding: 2rem 1.5rem;
  margin-top: 0;
}
.contact-form {
  background: none;
  padding: 0;
  box-shadow: none;
  max-width: none;
  margin: 0;
}
.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #31897e;
  font-weight: 500;
  font-size: 1rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e0f7fa;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: border 0.2s;
  background: #f4f7f6;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border: 2px solid #31897e;
  outline: none;
  background: #fff;
}
.contact-form .btn {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
  font-size: 1.1rem;
}
#contactMsg {
  color: #31897e;
  font-weight: bold;
  text-align: center;
  margin-top: 1rem;
  padding: 0.8rem;
  background: #e0f7fa;
  border-radius: 8px;
  border: 1px solid #31897e;
  display: none;
}

#contactMsg:not(:empty) {
  display: block;
}
.location-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(49, 137, 126, 0.1);
  padding: 2rem 1.5rem;
  margin: 2rem 0 0 0;
}
.location-section h2 {
  color: #31897e;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.location-section h2 i {
  color: #f9b233;
}
.map-placeholder {
  background: #e0f7fa;
  border-radius: 12px;
  padding: 2rem 1rem;
  text-align: center;
  color: #3c6e71;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}
.map-placeholder i {
  font-size: 2.2rem;
  color: #31897e;
  margin-bottom: 0.5rem;
}
@media (max-width: 900px) {
  .contact-content {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }
  .contact-main {
    padding: 1rem !important;
    margin: 1rem;
    width: 100%;
    max-width: 100%;
  }
  .contact-info-section,
  .contact-form-section {
    padding: 1.2rem 0.5rem;
    width: 100%;
  }
  .location-section {
    margin: 10px auto;
    padding: 1.2rem 0.5rem;
    width: 95%;
  }
}

/* Google Maps embed responsive style */
.map-embed {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}
.map-embed iframe {
  width: 100%;
  min-height: 320px;
  max-height: 400px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(49, 137, 126, 0.1);
  display: block;
}
@media (max-width: 400px) {
  .map-embed iframe {
    min-height: 200px;
    max-height: 250px;
  }
}

/* --- Mobile Navigation --- */
.nav-toggle,
.nav-close {
  padding-right: 20px;
  font-size: 20px;
  cursor: pointer;
  color: #31897e;
  transition: color 0.2s;
  z-index: 1300;
  position: relative;
}
.nav-toggle:hover,
.nav-close:hover {
  color: #f9b233;
}
.nav-toggle {
  display: none;
}
.nav-close {
  display: none;
}
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
    margin-left: auto;
  }
  .nav-close {
    display: none;
    margin-left: auto;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 80%;
    max-width: 320px;
    background: #fff;
    box-shadow: -2px 0 24px rgba(49, 137, 126, 0.1);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2.5rem 2rem 2rem 2rem;
    gap: 1.2rem;
    transform: translateX(100%);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1200;
    display: flex;
  }
  .nav-links.open {
    width: 80%;
    transform: translateX(0);
  }
  .nav-container {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  nav::after {
    content: "";
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
  }
  .nav-links.open ~ .nav-overlay {
    display: block;
    z-index: 29;
  }
  .nav-links li {
    width: 100%;
    text-align: left;
    border-bottom: solid 1px rgba(25, 27, 27, 0.1);
  }
  .nav-links li a {
    font-size: 1.15rem;
    padding: 0.7rem 0;
    display: block;
  }
  .nav-links li a:hover {
    background-color: none;
    color: #667eea;
  }
  .hero {
    margin: 0;
    padding: 20px;
  }
  .service-item {
    max-height: 100px;
  }
}
@media (max-width: 600px) {
  .nav-links {
    width: 100vw;
    max-width: 100vw;
    padding: 2.5rem 1rem 2rem 1rem;
  }
  html,
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 1.5rem !important;
  }
  h2 {
    font-size: 1.15rem !important;
  }
  h3 {
    font-size: 1rem !important;
  }
  .container {
    padding: 0.5rem !important;
  }
  nav {
    padding: 0.5rem 0 !important;
  }
  main,
  section,
  footer {
    padding: 0.5rem 0.2rem !important;
  }
  .btn {
    font-size: 0.95rem !important;
    padding: 0.6rem 1.1rem !important;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 0.95rem;
    padding: 0.6rem;
  }
  .service-card,
  .training-card,
  .contact-card,
  .faq-item,
  .about-main {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 1.2rem 0.7rem !important;
    font-size: 0.98rem;
  }
  .registration-section,
  .contact-form-section,
  .location-section {
    padding: 1rem 0.5rem !important;
  }
  .service-card h2,
  .training-card h3,
  .contact-card h3 {
    font-size: 1rem !important;
  }
  .service-icon,
  .training-icon,
  .contact-icon {
    font-size: 1.5rem !important;
    height: 40px !important;
  }
  .faq-header h1,
  .about-header h1 {
    font-size: 1.3rem !important;
  }
}