* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #333;
  background: #f5f5f5;
  font-family: "Segoe UI", "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: #2d6b4f;
  text-decoration: none;
  font-weight: 600;
}

a:hover,
a:focus {
  color: #1f4d38;
  text-decoration: underline;
}

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

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
}

.skip-link:focus {
  left: 10px;
  z-index: 1000;
  padding: 8px 12px;
  background: #fff;
}

.site-header {
  background: #fff;
  border-bottom: 3px solid #72bb95;
}

.header-inner {
  display: flex;
  align-items: center;
  padding: 18px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #2d6b4f;
}

.brand-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 14px;
  color: #666;
  font-weight: 400;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.nav-toggle {
  display: none;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font-weight: 700;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.nav-menu a,
.nav-dropdown-toggle {
  padding: 9px 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.nav-menu a:hover,
.nav-menu a:focus,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus {
  background: #e8f5ef;
  text-decoration: none;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  padding: 8px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 30;
}

.nav-dropdown.is-open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  border-radius: 6px;
}

.site-main {
  min-height: 60vh;
}

.page-header {
  padding: 40px 0 28px;
  background: linear-gradient(180deg, #e8f5ef 0%, #f5f5f5 100%);
  border-bottom: 1px solid #e0e0e0;
}

.page-header--home {
  padding: 0;
  border-bottom: 0;
  background: transparent;
}

.eyebrow {
  margin: 0 0 8px;
  color: #72bb95;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #2d6b4f;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
}

.content-section {
  padding: 36px 0 56px;
}

.romlicontainer {
  padding: 28px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.section-title {
  margin: 0 0 24px;
  color: #2d6b4f;
  font-size: 1.5rem;
}
.hero-home {
  background: #2d6b4f url("/asset-v1-EOI-PCI01-2016-type-asset-block-01.jpg") center center / cover no-repeat;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  position: relative;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(45, 107, 79, 0.75) 100%);
}

.hero-home .container {
  position: relative;
  padding: 48px 16px 40px;
  color: #fff;
}

.hero-home h1 {
  color: #fff;
  margin-bottom: 12px;
}

.hero-home .hero-subtitle {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 400;
  opacity: 0.95;
  max-width: 640px;
}

/* Course grid */
.courses-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}

.course-card {
  flex: 1 1 280px;
  max-width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.course-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.course-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.course-card a:hover {
  text-decoration: none;
}

.course-card-image {
  background: #e8f5ef;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

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

.course-card-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #72bb95;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}

.course-card-body {
  padding: 16px;
}

.course-org {
  display: block;
  font-size: 12px;
  color: #72bb95;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.course-card-body h2 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #333;
  line-height: 1.35;
}

.course-date {
  font-size: 13px;
  color: #666;
}

/* About page tabs */
.about-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e8f5ef;
}

.about-tabs a {
  padding: 10px 16px;
  border-radius: 6px;
  background: #f0f0f0;
  color: #333;
  font-weight: 600;
}

.about-tabs a.active,
.about-tabs a:hover {
  background: #72bb95;
  color: #fff;
  text-decoration: none;
}

.about-panel {
  display: none;
}

.about-panel.is-active {
  display: block;
}

.about-panel h2 {
  color: #2d6b4f;
  margin-top: 0;
}

.about-panel h3 {
  color: #444;
  font-size: 1rem;
  margin: 20px 0 4px;
}

/* Forms */
.form-section {
  max-width: 480px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border: 0;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: #72bb95;
  color: #fff;
}

.btn-primary:hover {
  background: #5fa882;
  color: #fff;
  text-decoration: none;
}

.btn-block {
  width: 100%;
}

.form-note {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

/* Course about page */
.course-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e0e0e0;
}

.course-hero-text {
  flex: 1 1 300px;
}

.course-hero-image {
  flex: 0 1 320px;
}

.course-hero-image img {
  border-radius: 8px;
  width: 100%;
}

/* Blog */
.blog-container {
  width: 100%;
}

.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.blog-card {
  flex: 1 1 280px;
  padding: 20px;
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.blog-title {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.blog-title a {
  color: #2d6b4f;
}

.blog-preview p {
  margin: 0;
  color: #555;
  font-size: 14px;
}

/* Footer */
.site-footer {
  background: #f0f0f0;
  border-top: 3px solid #72bb95;
  padding: 32px 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
}

.footer-nav a {
  color: #72bb95;
  font-weight: 600;
}

.footer-partner {
  margin: 0;
  font-size: 14px;
  color: #666;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid #ddd;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 100;
  padding: 14px 0;
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 240px;
  font-size: 14px;
}

/* Video embed */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 640px;
  margin: 24px auto;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 8px 0;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-inner {
    flex-wrap: wrap;
  }

  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: 0;
    padding-left: 12px;
  }

  .romlicontainer {
    padding: 18px;
  }
}
