* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #18255b;
  --primary-light: #f0f4ff;
  --primary-dark: #0f1835;
  --white: #ffffff;
  --gray-100: #f9fafb;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --blue-50: #eff6ff;
  --yellow-400: #facc15;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-700);
  line-height: 1.6;
  background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--primary);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Classes */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.w-full {
  width: 100%;
}

/* Header */
.header {
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: all 0.3s ease-out;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.125rem;
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--gray-700);
  font-weight: 500;
  transition: all 0.3s ease-out;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
}

.nav-mobile.active {
  display: flex;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease-out;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease-out;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background: linear-gradient(to bottom, #f0f4ff, var(--white));
}

.hero .section-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-content {
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  height: auto;
}

/* Section Styles */
.section-padding {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  font-size: 1.125rem;
  margin-bottom: 4rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* Vision & Mission */
.vision-mission {
  background-color: var(--white);
  padding: 4rem 0;
}

.vision-mission .section-title {
  margin-bottom: 4rem;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  gap: 2rem;
}

.cards-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cards-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s ease-out;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.card-vision,
.card-mission {
  background: linear-gradient(135deg, #f0f4ff, var(--white));
  border: 2px solid rgba(24, 37, 91, 0.1);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card-icon-bg {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(24, 37, 91, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease-out;
}

.feature-card:hover .card-icon-bg {
  background-color: var(--primary);
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Why Choose Section */
.why-choose {
  background-color: var(--gray-100);
  padding: 4rem 0;
}

.why-choose .section-title {
  margin-bottom: 4rem;
}

/* Courses Section */
.courses {
  background-color: var(--white);
  padding: 4rem 0;
}

.courses .section-title {
  margin-bottom: 1rem;
}

.course-card {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--gray-200);
}

.course-header {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.course-card p {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.course-duration {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.course-card .btn {
  margin-top: auto;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--gray-100);
  padding: 4rem 0;
}

.testimonials .section-title {
  margin-bottom: 4rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #4a6fa5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.testimonial-header h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
}

.stars {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.testimonial-text {
  color: var(--gray-600);
  font-style: italic;
  line-height: 1.6;
}

/* FAQ Section */
.faq {
  background-color: var(--white);
  padding: 4rem 0;
}

.faq .section-title {
  margin-bottom: 4rem;
}

.faq-container {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease-out;
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-button {
  width: 100%;
  padding: 1.5rem;
  background-color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: all 0.3s ease-out;
}

.faq-button:hover {
  background-color: var(--gray-100);
}

.faq-icon {
  color: var(--primary);
  font-size: 1.5rem;
  transition: all 0.3s ease-out;
}

.faq-button.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-out;
  background-color: var(--gray-100);
  border-top: 1px solid var(--gray-200);
}

.faq-answer.active {
  max-height: 500px;
  padding: 1.5rem;
}

.faq-answer p {
  color: var(--gray-700);
  line-height: 1.6;
}

/* About Section */
.about {
  background: linear-gradient(135deg, #f0f4ff, var(--white), #f0f4ff);
  padding: 4rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-image {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Join Form Section */
.join-form {
  background-color: var(--gray-100);
  padding: 4rem 0;
}

.join-form .section-title {
  margin-bottom: 1rem;
}

.form {
  max-width: 42rem;
  margin: 0 auto;
  background-color: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--gray-700);
  transition: all 0.3s ease-out;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
}

/* Contact Section */
.contact {
  background-color: var(--white);
  padding: 4rem 0;
}

.contact .section-title {
  margin-bottom: 4rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(24, 37, 91, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.contact-map {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-map iframe {
  border: none;
  border-radius: 0.75rem;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-top: 1rem;
}

.footer-links h4,
.footer-courses h4,
.footer-social h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-links a,
.footer-courses a,
.footer-social a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease-out;
}

.footer-links a:hover,
.footer-courses a:hover {
  color: var(--white);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease-out;
}

.social-icon:hover {
  background-color: var(--white);
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-links-bottom {
  display: flex;
  gap: 1.5rem;
}

.footer-links-bottom a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease-out;
}

.footer-links-bottom a:hover {
  color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .cards-2,
  .cards-3 {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.875rem;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .form {
    padding: 1.5rem;
  }

  .section-padding {
    padding: 2rem 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}
