/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  color: #1C1C1C;
  background-color: #ffffff;
  line-height: 1.6;
}


/* Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  background-color: #0D2242;
  padding: 1rem 0;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}
.logo {
  height: 100px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}
.nav-links a:hover {
  color: #C4332E; /* Change backgound color */
  transition: color 0.3s ease;
}
.btn {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}
.red-btn {
  background-color: #C4332E;
  color: #ffffff;
  border: 2px solid #C4332E;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.red-btn:hover {
  background-color: #ffffff;
  color: #C4332E;
  transform: scale(1.08);
}
.outline-btn {
  border: 2px solid #C4332E;
  color: #C4332E;
  background-color: #ffffff;
}
.outline-btn:hover {
  background-color: #C4332E;
  color: #ffffff;
  transition: 0.3s ease;
  transform: scale(1.08);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
}

/* Hero Section */
.hero {
  background: linear-gradient(to bottom right, #0D2242);
  color: #ffffff;
  padding: 4rem 1.5rem;
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.hero-buttons .btn {
  margin: 0 0.5rem;
}

/* Intro */
.intro {
  padding: 4rem 1.5rem;
  text-align: center;
}
/* Split Intro Section */
.split-intro {
  background-color: #ffffff;
  padding: 4rem 1.5rem;
}
.intro-grid {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.intro-text {
  flex: 1;
  min-width: 300px;
}
.intro-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0D2242;
}
.intro-text p {
  margin-bottom: 1.2rem;
  color: #1C1C1C;
  font-size: 1.05rem;
  line-height: 1.8;
}
.intro-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}
.intro-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Responsive: Stack vertically on mobile */
@media (max-width: 768px) {
  .intro-grid {
    flex-direction: column-reverse;
    text-align: center;
  }
  .intro-text h2 {
    font-size: 1.6rem;
  }
}

/* Who We Serve */
.serve {
  background-color: #F7F1E5;
  padding: 4rem 1.5rem;
}
.serve-grid {
  display: flex;
  justify-content: space-between;
  text-align: center;
  gap: 2rem;
}
.serve-item .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Courses */
.courses {
  padding: 4rem 1.5rem;
}
.course-grid {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
}
.course-card {
  background-color: #F7F1E5;
  flex: 1;
  padding: 2rem;
  text-align: center;
  font-weight: bold;
}
.course-card.coming-soon span {
  display: block;
  font-weight: normal;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
.center-button {
  text-align: center;
  margin-top: 2rem;
}

/* Resources */
.resources {
  background-color: #F7F1E5;
  padding: 4rem 1.5rem;
}
.resource-grid {
  display: flex;
  justify-content: space-between;
  text-align: center;
  gap: 2rem;
}
.resource-item .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* SMALL HERO (training page) */
.small-hero {
  background: #F7F1E5;
  color: #1C1C1C;
  padding: 3rem 1rem;
  text-align: center;
}
.small-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}
.small-hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* PHILOSOPHY SPLIT SECTION */
.split-intro {
  background-color: #ffffff;
  padding: 4rem 1.5rem;
}
.intro-grid {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.intro-text {
  flex: 1;
  min-width: 300px;
}
.intro-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0D2242;
}
.intro-text p {
  margin-bottom: 1.2rem;
  color: #1C1C1C;
  font-size: 1.05rem;
  line-height: 1.8;
}
.intro-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}
.intro-image img {
  max-width: 100%;
  border-radius: 8px;
  height: auto;
}

/* FEATURED CLASS SPLIT */
.split-feature {
  background-color: #F7F1E5;
  padding: 4rem 1.5rem;
}
.feature-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.feature-grid .course-card {
  flex: 0 0 300px;
  background-color: #0D2242; /* Dark Blue */
  color: #ffffff; /* Invert text to white */
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}
.feature-grid .feature-text {
  flex: 1;
  min-width: 280px;
}
.feature-grid .feature-text h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #0D2242;
}
.feature-grid .feature-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
/* POPULAR BADGE STYLE */
.tag.popular {
  display: inline-block;
  background-color: #FFD965; /* Soft yellow */
  color: #1C1C1C;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.tag.popular:hover {
  background-color: #FFCC33;
  cursor: default;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .intro-grid,
  .feature-grid {
    flex-direction: column;
  }
  .intro-text h2,
  .feature-text h2 {
    font-size: 1.6rem;
  }
}

/* COURSE LIBRARY GRID */
.section-heading {
  font-size: 1.8rem;
  color: #0D2242;
  margin-bottom: 2rem;
  text-align: center;
}
.course-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.course-card {
  background-color: #F7F1E5;
  padding: 2rem;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.course-card:hover {
  transform: translateY(-4px);
}
.course-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.course-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.status {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  font-weight: bold;
}
.status.available {
  color: #0D2242;
}
.status.coming-soon {
  color: #C4332E;
}

/* GROUP TRAINING CTA */
.group-training {
  background-color: #F7F1E5;
  text-align: center;
  padding: 4rem 1.5rem;
}
.group-training h2 {
  font-size: 1.8rem;
  color: #0D2242;
  margin-bottom: 1rem;
}
.group-training p {
  max-width: 750px;
  margin: 0 auto 2rem auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Stylish Group Request Form */
.contact-form {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  max-width: 900px;
  margin: 2rem auto 0 auto;
}

.contact-form h2 {
  text-align: center;
  color: #0D2242;
  margin-bottom: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1C1C1C;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #C4332E;
  box-shadow: 0 0 0 3px rgba(196, 51, 46, 0.15);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  margin-top: 2rem;
  width: 100%;
  max-width: 200px;
  align-self: center;
  justify-self: center;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  .highlight-grid {
    flex-direction: column;
  }
  .highlight-text h2 {
    font-size: 1.6rem;
  }
  .course-grid {
    grid-template-columns: 1fr;
  }
}

/* --- COURSE DETAIL PAGE STYLES --- */

.course-overview {
  background-color: #ffffff;
  padding: 4rem 1.5rem;
}
.course-overview h2 {
  font-size: 1.9rem;
  color: #0D2242;
  margin-bottom: 1rem;
  text-align: center;
}
.course-overview p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1C1CPCB; /* adjust if needed */
}

/* Outcomes List */
.course-outcomes {
  background-color: #F7F1E5;
  padding: 4rem 1.5rem;
}
.course-outcomes h3 {
  font-size: 1.7rem;
  color: #0D2242;
  margin-bottom: 1rem;
  text-align: center;
}
  .mini-card-grid.v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
/* Styled mini card with icon/title/desc */
.mini-card.styled {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 1.2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  transition: 0.3s ease;
}
.mini-card.styled:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
/* Icon + Title section */
.card-icon-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}
.card-icon-title .icon {
  font-size: 2rem;
  margin-bottom: 0.3rem;
}
.card-icon-title h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #C4332E;
  margin: 0;
}
/* Description */
.mini-card.styled p {
  font-size: 1rem;
  color: #1C1C1C;
  line-height: 1.5;
}
.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

/* Course Formats (Blended / In-Person) */
.course-formats {
  background-color: #ffffff;
  padding: 4rem 1.5rem;
}
.formats-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.format-card {
  background-color: #F7F1E5;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  flex: 1 1 300px;
  min-width: 280px;
}
.format-card h4 {
  font-size: 1.3rem;
  color: #0D2242;
  margin-bottom: 0.75rem;
}
.format-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.format-buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* FAQ Section */
.course-faq {
  background-color: #ffffff;
  padding: 4rem 1.5rem;
}
.course-faq h3 {
  font-size: 1.7rem;
  color: #0D2242;
  margin-bottom: 1.5rem;
  text-align: center;
}
.course-faq details {
  margin-bottom: 1rem;
  border: 1px solid #DDD;
  border-radius: 4px;
  padding: 0.5rem 1rem;
}
.course-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: #0D2242;
  outline: none;
}
.course-faq summary::-webkit-details-marker {
  display: none;
}
.course-faq summary::before {
  content: '▶ ';
  font-size: 0.9rem;
  color: #C4332E;
  margin-right: 0.5rem; /* Add this line */
}
.course-faq details[open] summary::before {
  content: '▼ ';
}
.course-faq summary {
  list-style: none;           /* removes the marker */
  display: flex;              /* required for marker override */
  align-items: center;
}

.course-faq summary::marker {
  content: none;              /* fully disables the default triangle */
}
.faq-answer {
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #1C1C1C;
}

/* Extra Info Section */
.course-extra {
  background-color: #F7F1E5;
  padding: 3rem 1.5rem;
  text-align: center;
}
.course-extra h3 {
  font-size: 1.5rem;
  color: #0D2242;
  margin-bottom: 1rem;
}
.course-extra p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.03rem;
  line-height: 1.6;
  color: #1C1C1C;
}
.course-extra a {
  color: #C4332E;
  text-decoration: none;
  font-weight: 600;
}
.course-extra a:hover {
  text-decoration: underline;
}

/* Buttons inside course detail sections */
.course-formats .btn,
.course-overview .btn,
.course-extra .btn {
  margin-top: 0.5rem;
}

.schedule-intro-left {
  text-align: left;
  padding: 1rem 1rem 2rem 1rem;
}

/* Footer */
.site-footer {
  background-color: #0D2242;
  color: #ffffff;
  padding: 2rem 1.5rem;
  text-align: center;
}
.footer-logo {
  height: 70px;
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
}
small {
  display: block;
  margin-top: 1rem;
  font-size: 0.75rem;
}

.class-card {
  background: #f9f9f9;
  padding: 20px;
  margin-bottom: 25px;
  border-left: 6px solid #e94e3d;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* New for elevation */
  transition: box-shadow 0.3s ease;
}

.class-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Slight lift on hover */
}

.toggle-form-btn {
  margin-top: 10px;
  padding: 10px 15px;
  background-color: #e94e3d;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.toggle-form-btn:hover {
  background-color: #c43e30;
}

.registration-form {
  margin-top: 15px;
  background: #fefefe;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.registration-form.hidden {
  display: none;
}

.registration-form form {
  display: flex;
  flex-direction: column;
}

.registration-form label {
  font-weight: 500;
  margin-top: 10px;
}

.registration-form input[type="text"],
.registration-form input[type="email"] {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.registration-form input[readonly] {
  background-color: #f1f1f1;
  cursor: not-allowed;
}

.registration-form .btn {
  margin-top: 15px;
  padding: 12px;
  background-color: #e94e3d;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.registration-form .btn:hover {
  background-color: #c43e30;
}

.hidden {
  display: none;
}

.alert-success {
  background-color: #dff0d8;
  color: #3c763d;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #d6e9c6;
  border-radius: 4px;
  font-weight: bold;
}

.schedule-intro {
  margin-bottom: 1.6rem;
  font-size: 1.05rem;
  line-height: 2;
  color: #333;
}

.schedule-split .intro-grid {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.schedule-split .intro-text {
  flex: 1;
  min-width: 320px;
}
.schedule-split .class-card {
  margin-bottom: 2rem;
}

.split-schedule {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.schedule-column {
  flex: 1 1 48%;
  background: #fdfdfd;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.class-card {
  margin-bottom: 2rem;
  padding: 1rem;
  background: #f9f9f9;
  border-left: 5px solid #e74c3c;
  border-radius: 4px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 3rem;
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
}

.schedule-table th {
  background-color: #2d3e50;
  color: #fff;
  text-align: left;
  padding: 1rem;
  font-size: 1rem;
}

.schedule-table td {
  padding: 1rem;
  vertical-align: top;
  border-top: 1px solid #eee;
  font-size: 0.95rem;
}

.schedule-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

h3 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: #2d3e50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

h3::before {
  content: "📅";
  font-size: 1.2rem;
}

.toggle-form-btn {
  background-color: #e63946;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background-color 0.3s ease;
}

.toggle-form-btn:hover {
  background-color: #c62828;
}

.registration-form {
  padding: 1rem;
  background-color: #f3f6f9;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 0.75rem;
}

.registration-form label {
  display: block;
  margin-top: 0.75rem;
  font-weight: bold;
}

.registration-form input {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.25rem;
  border: 1px solid #bbb;
  border-radius: 4px;
}

.registration-form .btn {
  margin-top: 1rem;
  background-color: #2d3e50;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.registration-form .btn:hover {
  background-color: #1b2d3a;
}

.text-center {
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #0D2242;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    text-align: right;
    padding: 1rem;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .serve-grid, .course-grid, .resource-grid {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .schedule-intro-left {
    padding: 1.5rem;
    text-align: left;
  }

  .schedule-intro-left p {
    margin-bottom: 1rem;
  }
}