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

:root {
  --primary: #0f172a;
  --secondary: #3b82f6;
  --accent: #06b6d4;
  --highlight: #f59e0b;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
  --success: #10b981;
  --error: #ef4444;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: relative;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--secondary);
}

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

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

.hero {
  background: var(--primary);
  color: white;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  opacity: 0.1;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 500px;
  padding: 80px 20px;
}

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

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shape {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 8s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
}

@keyframes morph {
  0%, 100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.hero-highlight {
  color: var(--accent);
}

.hero p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.9;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  background: var(--secondary);
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--secondary);
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
  border: 2px solid var(--secondary);
}

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

section {
  padding: 50px 0;
}

h2 {
  font-size: 28px;
  margin-bottom: 32px;
  text-align: center;
  color: var(--text);
  font-weight: 700;
}

h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 600;
}

.features {
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-card {
  background: white;
  padding: 28px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.feature-card p {
  color: var(--text-light);
  font-size: 14px;
}

.about {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.course-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.course-card:hover {
  transform: translateY(-4px);
}

.course-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.course-card h3 {
  padding: 20px 20px 8px;
}

.course-card p {
  padding: 0 20px 20px;
  color: var(--text-light);
  font-size: 14px;
}

.course-card .btn-secondary {
  margin: 0 20px 20px;
}

.process {
  background: var(--bg-light);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.step {
  text-align: center;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 20px;
  font-weight: 700;
}

.step p {
  color: var(--text-light);
  font-size: 14px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.testimonial {
  background: white;
  padding: 28px;
  border-radius: 8px;
  border-left: 4px solid var(--secondary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.testimonial p {
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
}

.stats {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  opacity: 0.9;
}

.cta {
  background: var(--bg-light);
  text-align: center;
}

.cta p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.location-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  align-items: start;
}

.location-info p {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-light);
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border-radius: 8px;
}

.footer {
  background: var(--text);
  color: white;
  padding: 40px 0 20px;
  margin-top: 50px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-section h4 {
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-section p {
  font-size: 13px;
  opacity: 0.8;
  line-height: 1.6;
}

.footer-section a {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 8px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-section a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  opacity: 0.7;
}

.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 50px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 32px;
  margin-bottom: 12px;
  font-weight: 700;
}

.page-hero p {
  font-size: 16px;
  opacity: 0.95;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card h3 {
  padding: 20px 24px 8px;
}

.product-card > p {
  padding: 0 24px;
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 16px;
}

.product-features {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.product-features span {
  font-size: 13px;
  color: var(--text-light);
}

.product-price {
  padding: 0 24px;
  font-size: 26px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
}

.product-card .btn {
  margin: 0 24px 24px;
}

.course-benefits {
  background: var(--bg-light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.benefit-item {
  background: white;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.benefit-item p {
  color: var(--text-light);
  font-size: 14px;
}

.enrollment-process {
  text-align: center;
}

.enrollment-process p {
  max-width: 700px;
  margin: 0 auto 24px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.faq-item h3 {
  margin-bottom: 12px;
}

.faq-item p {
  color: var(--text-light);
  font-size: 14px;
}

.calendar-grid {
  display: grid;
  gap: 24px;
}

.calendar-item {
  background: white;
  border-radius: 8px;
  padding: 24px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  align-items: center;
}

.calendar-date {
  text-align: center;
  padding: 16px;
  background: var(--bg-light);
  border-radius: 8px;
}

.calendar-date .month {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
}

.calendar-date .day {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin: 4px 0;
}

.calendar-date .year {
  display: block;
  font-size: 13px;
  color: var(--text-light);
}

.calendar-details h3 {
  margin-bottom: 8px;
}

.calendar-details p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 12px;
}

.calendar-format {
  display: inline-block;
  background: var(--bg-light);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 12px;
}

.schedule-info {
  background: var(--bg-light);
}

.schedule-info p {
  max-width: 800px;
  margin: 0 auto 16px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

.registration-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.reg-step {
  background: white;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.reg-step p {
  color: var(--text-light);
  font-size: 14px;
}

.calendar-cta {
  background: var(--bg-light);
  text-align: center;
}

.calendar-cta p {
  max-width: 700px;
  margin: 0 auto 24px;
  color: var(--text-light);
  font-size: 15px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-details {
  margin-top: 24px;
}

.contact-item {
  margin-bottom: 24px;
}

.contact-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.contact-item p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 4px;
}

.contact-form {
  background: white;
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-label a {
  color: var(--secondary);
  text-decoration: underline;
}

.map-section {
  background: var(--bg-light);
}

.thankyou-page,
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  text-align: center;
  padding: 20px;
}

.thankyou-content,
.error-content {
  max-width: 600px;
}

.thankyou-icon {
  width: 80px;
  height: 80px;
  background: white;
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin: 0 auto 24px;
  font-weight: 700;
}

.thankyou-content h1,
.error-content h1 {
  font-size: 32px;
  margin-bottom: 16px;
}

.error-content h1 {
  font-size: 72px;
  margin-bottom: 8px;
}

.error-content h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: white;
}

.thankyou-content p,
.error-content p {
  font-size: 16px;
  margin-bottom: 32px;
  opacity: 0.95;
  line-height: 1.6;
}

.thankyou-content .btn,
.error-content .btn {
  margin: 0 8px 8px;
}

.policy-page {
  padding: 40px 0;
}

.policy-page h1 {
  font-size: 32px;
  margin-bottom: 8px;
  color: var(--text);
}

.policy-date {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 32px;
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
}

.policy-content h2 {
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 16px;
  text-align: left;
  color: var(--text);
}

.policy-content h3 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--text);
}

.policy-content p {
  margin-bottom: 16px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

.privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text);
  color: white;
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  display: none;
}

.privacy-popup.show {
  display: block;
}

.privacy-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.privacy-content p {
  font-size: 14px;
  margin: 0;
}

.privacy-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.privacy-buttons a {
  color: white;
  text-decoration: underline;
  font-size: 14px;
}

.privacy-buttons button {
  background: white;
  color: var(--text);
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}

.expertise {
  background: var(--bg-light);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.expertise-card {
  background: white;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s;
}

.expertise-card:hover {
  transform: translateY(-4px);
}

.expertise-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
}

.expertise-card h3 {
  margin-bottom: 12px;
  color: var(--text);
}

.expertise-card p {
  color: var(--text-light);
  font-size: 14px;
}

.instructor-section {
  background: white;
}

.instructor-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.instructor-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.instructor-image img {
  width: 100%;
  height: auto;
  display: block;
}

.instructor-text h2 {
  text-align: left;
  margin-bottom: 20px;
}

.instructor-text p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.success-metrics {
  background: var(--primary);
  color: white;
  text-align: center;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.metric-item {
  padding: 20px;
}

.metric-value {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--accent);
}

.metric-label {
  font-size: 15px;
  opacity: 0.9;
}

.certification {
  background: var(--bg-light);
  text-align: center;
}

.certification p {
  max-width: 800px;
  margin: 0 auto 32px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

.cert-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.cert-feature {
  background: white;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cert-feature h3 {
  color: var(--secondary);
  margin-bottom: 12px;
}

.cert-feature p {
  color: var(--text-light);
  font-size: 14px;
  margin: 0;
}

@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
    padding: 60px 20px;
  }

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

  .hero-visual {
    order: -1;
  }

  .hero-shape {
    max-width: 300px;
  }

  .instructor-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .instructor-text h2 {
    text-align: center;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 16px 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    gap: 12px;
  }

  .nav.active {
    display: flex;
    z-index: 999;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  h2 {
    font-size: 24px;
  }

  .calendar-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .calendar-date {
    margin: 0 auto;
    max-width: 120px;
  }

  .privacy-content {
    flex-direction: column;
    text-align: center;
  }

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

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

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-shape {
    max-width: 250px;
  }

  h2 {
    font-size: 22px;
    color: #cab6c2;
  }

  h3 {
    font-size: 17px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  section {
    padding: 40px 0;
  }

  .contact-form {
    padding: 24px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .hero-shape {
    max-width: 220px;
  }
}

@media (min-width: 320px) {
  .container {
    padding: 0 16px;
  }
}