/* ========= Base ========= */
:root {
  --primary: #0f766e;      /* Keltron-ish green */
  --primary-dark: #115e59;
  --accent: #0077b6;       /* Blue accent */
  --bg-page: #f3f4f6;
  --bg-soft: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius-lg: 10px;
  --radius-md: 6px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --max-width: 1120px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(to bottom, #f4f9ff 0%, #e6effa 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ========= Header (Bright & Bigger) ========= */
.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Top strip */
.header-top {
  background: linear-gradient(90deg, #004e42, #0fa88d, #00b4f0);
  color: #ffffff;
  padding: 0.45rem 0;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: 0.8rem;
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.header-top-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-top-pill {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 0.15rem 0.8rem;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.header-top-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.header-top-right span {
  opacity: 0.95;
}

/* Main header background */
.site-header {
  background: linear-gradient(90deg, #00a18a, #02c3ff);
  box-shadow: 0 6px 18px rgba(0, 65, 55, 0.25);
  border-bottom: 3px solid rgba(255, 255, 255, 0.25);
}

/* Bigger height */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  gap: 1.5rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark img {
  height: 60px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
}

.logo-text strong {
  font-size: 1.1rem;
  color: #ffffff;
  letter-spacing: 0.03em;
}

.logo-text span {
  font-size: 0.85rem;
  color: #e9faff;
  letter-spacing: 0.01em;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 1rem;
  font-weight: 600;
}

.main-nav a {
  color: #ffffff;
  padding-bottom: 3px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* underline hover */
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 3px;
  border-radius: 5px;
  background: #ffffff;
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: #003d40;
}

.main-nav a:hover::after {
  width: 100%;
}

/* CTA button */
.header-cta {
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  background: #ffffff;
  color: #006d5d;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid rgba(0, 52, 46, 0.3);
  box-shadow: 0 6px 20px rgba(0, 73, 61, 0.25);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.header-cta:hover {
  background: #003d40;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Mobile tweak for header */
@media (max-width: 820px) {
  .main-nav {
    display: none;
  }
  .header-top-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========= Hero ========= */
.hero {
  background: radial-gradient(circle at top left, #ecfdf5, #e0f2fe);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0 3.2rem;
}

.hero-inner {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
  padding: 1.8rem 1.7rem;
  display: grid;
  grid-template-columns: minmax(0, 3.1fr) minmax(0, 2.1fr);
  gap: 2rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.4rem 1.3rem;
  }
}

.hero-main {
  padding-right: 1.5rem;
}

@media (max-width: 900px) {
  .hero-main {
    padding-right: 0;
  }
}

.hero-eyebrow {
  font-size: 0.78rem;
  color: var(--primary-dark);
  background: #e0f2f1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

.hero-eyebrow span.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary-dark);
}

.hero-title {
  font-size: 2rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.hero-title span {
  color: var(--primary-dark);
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 1.25rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.85rem;
  margin-bottom: 1.4rem;
}

.hero-meta span {
  background: #f3f4f6;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  color: #374151;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.btn-primary {
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #f9fafb;
  color: #374151;
  font-size: 0.85rem;
  cursor: pointer;
}

.btn-outline:hover {
  background: #e5f6ff;
  border-color: #bfdbfe;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-side {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #f9fafb;
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow);
}

.hero-side h2 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.hero-side p {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.hero-side-list {
  list-style: none;
  font-size: 0.86rem;
  margin-bottom: 0.9rem;
}

.hero-side-list li {
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.3rem;
  color: #374151;
}

.hero-side-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
}

.hero-side-info {
  font-size: 0.8rem;
  color: #4b5563;
  border-top: 1px solid var(--border);
  padding-top: 0.8rem;
}

/* ========= New: Image Carousel ========= */
/* ========= New: Image Carousel (taller than wide) ========= */
/* ========= Image Carousel (portrait-style, fixed height) ========= */
.carousel-section {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 1.8rem 0 2.2rem;
}

.carousel-heading {
  font-size: 1rem;
  margin-bottom: 0.7rem;
  color: #111827;
}

.carousel-subheading {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* Main carousel box – tall portrait card */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.18);
  max-width: 500px;           /* narrower than page */
  height: 520px;              /* taller height */
  margin: 0 auto;             /* centered */
  background: #000;           /* behind images */
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

/* each slide must be exactly 100% width */
.carousel-slide {
  flex: 0 0 100%;             /* key: 1 slide = full width */
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;           /* or #f3f4f6 */
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;        /* no stretching, full photo visible */
}

/* caption stays at bottom */
.carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.7rem 1rem;
  font-size: 0.8rem;
  color: #e5e7eb;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0));
}

/* controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(15, 23, 42, 0.55);
  color: #e5e7eb;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
}

.carousel-control:hover {
  background: rgba(15, 23, 42, 0.8);
}

.carousel-control.prev {
  left: 10px;
}

.carousel-control.next {
  right: 10px;
}

/* dots */
.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: rgba(15, 23, 42, 0.4);
  cursor: pointer;
}

.carousel-dot.active {
  background: #f97316;
  border-color: #fed7aa;
}

/* Mobile: keep portrait feel but a bit smaller */
@media (max-width: 480px) {
  .carousel-wrapper {
    max-width: 320px;
    height: 420px;
  }
}

/* ========= Features ========= */
/* ========= Features (improved) ========= */
.features {
  background: #f9fafb;
  padding: 2.4rem 0 2.8rem;
  border-bottom: 1px solid var(--border);
}

.features-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 1.8rem;
}

.features-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.18rem 0.75rem;
  border-radius: 999px;
  background: #e0f2fe;
  color: #1d4ed8;
  margin-bottom: 0.5rem;
}

.features-title {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.features-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
}

/* layout */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* cards */
/* --- Improved Feature Card --- */
.feature-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1.6rem 1.4rem 1.7rem;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  cursor: default;
}

/* top accent bar */
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #0ea5e9, #3b82f6);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

/* glowing gradient border hover effect */
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(90deg, #0ea5e9 0%, #3b82f6 50%, #0ea5e9 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover animation */
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.15);
  border-color: transparent;
}

.feature-card:hover::after {
  opacity: 1;
}

/* Icon improvements */
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #1d4ed81a; /* light tech-blue background */
  color: #1d4ed8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
}

/* Typography polish */
.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.4rem;
}

.feature-text {
  font-size: 0.87rem;
  color: #475569;
  margin-bottom: 0.9rem;
}

/* Cleaner bullet list */
.feature-points {
  list-style: none;
  padding-left: 0;
}

.feature-points li {
  font-size: 0.83rem;
  color: #334155;
  margin-bottom: 0.3rem;
  padding-left: 1.1rem;
  position: relative;
}

.feature-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: #0e7490;
}
.feature-card:hover .feature-icon {
  transform: scale(1.15);
  transition: transform 0.25s ease;
}

/* small gradient line at top of each card */
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  opacity: 0.85;
}

/* icon circle */
.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  background: #ecfeff;
  border: 1px solid #bae6fd;
}

/* text styles */
.feature-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #111827;
}

.feature-text {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.feature-points {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.82rem;
  color: #4b5563;
}

.feature-points li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.25rem;
}

.feature-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
}

.course-stats {
  background: linear-gradient(90deg, #0f766e, #0ea5e9);
  color: #ecfeff;
  padding: 0.9rem 0;
}

.course-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  font-size: 0.9rem;
}

.course-stats-inner .label {
  display: block;
  font-size: 0.75rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.course-stats-inner strong {
  font-size: 0.95rem;
}

@media (max-width: 800px) {
  .course-stats-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ========= Main content + contact form ========= */
.section {
  padding: 2.5rem 0;
}

.section-title {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.3rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.6fr);
  gap: 1.8rem;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.5rem 1.7rem;
}

.card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.simple-list {
  list-style: none;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.simple-list li {
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.35rem;
  color: #374151;
}

.simple-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: var(--primary);
}

/* ========= Forms ========= */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}

.form-grid.full {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.85rem;
}

label {
  font-size: 0.82rem;
  font-weight: 500;
  color: #374151;
}

.required {
  color: #dc2626;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.55rem 0.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #f9fafb;
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.22);
  background: #ffffff;
}

::placeholder {
  color: #9ca3af;
  font-size: 0.85rem;
}

.helper-text {
  font-size: 0.77rem;
  color: var(--muted);
}

.form-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.form-actions .hint {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ========= Enrollment section ========= */
.enroll-section {
  padding: 2.8rem 0 3.4rem;
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ========= Footer ========= */

/* ========= Footer (Refreshed & Cleaner) ========= */
footer {
  background: #003d40; /* dark teal for strong contrast */
  color: #e2f7f8;
  margin-top: auto;
  padding-top: 2.2rem;
  padding-bottom: 1rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 2rem;
  font-size: 0.88rem;
  line-height: 1.5;
  padding-bottom: 1.4rem;
}

@media (max-width: 820px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Contact sections */
.footer-contact {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 1.2rem;
}

@media (max-width: 600px) {
  .footer-contact {
    grid-template-columns: minmax(0,1fr);
  }
}

.footer-contact-box p {
  opacity: 0.95;
  font-size: 0.86rem;
}

/* Headings uniform */
.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: #ffffff;
}

/* Support links */
.footer-links {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-links a {
  color: #c7f9fb;
  font-size: 0.85rem;
  position: relative;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Bottom strip */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 0.9rem;
  font-size: 0.78rem;
  text-align: center;
  color: #c8f7f9;
  letter-spacing: 0.3px;
}
