/* =========================================================
   MELAKI ACADEMY — COURSES PAGE
   ========================================================= */


/* =========================================================
   1. RESET & GLOBAL STYLES
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #102f24;
  background-color: var(--cream);
  line-height: 1.6;
}

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

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

button {
  font-family: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}


/* =========================================================
   2. COLOURS
   ========================================================= */

:root {
  /* =========================================================
     MELAKI ACADEMY — APPROVED BRAND COLOURS
     ========================================================= */

  --jungle-green: #6B7A52;
  --jungle-green-dark: #4F5A3A;
  --jungle-green-light: #8FA070;

  --gold: #C9A24A;
  --gold-light: #E4C778;
  --gold-pale: #F5EAD0;

  --white: #FFFFFF;
  --cream: #FAF8F2;
  --cream-dark: #F3EEE2;

  --text-dark: #18251F;
  --text-light: #65706B;

  --border: #E5DCC9;

  --shadow: 0 12px 35px rgba(20, 50, 40, 0.09);

  --container-width: 1180px;

  /* Compatibility aliases for the existing Courses CSS */
  --dark-green: var(--jungle-green);
  --green: var(--jungle-green);
  --light-green: var(--jungle-green-light);

  --light-gold: var(--gold-light);

  /* Footer stays intentionally dark */
  --footer-dark: #172016;
}


/* =========================================================
   3. TOP BAR
   ========================================================= */

.top-bar {
  background-color: var(--dark-green);
  color: white;
  font-size: 12px;
}

.top-bar__content {
  min-height: 28px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar__contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar a {
  transition: color 0.25s ease;
}

.top-bar a:hover {
  color: var(--light-gold);
}


/* =========================================================
   4. HEADER
   ========================================================= */

.site-header {
  background-color: white;
  border-bottom: 1px solid #eee9df;

  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  min-height: 70px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
}

.site-logo {
  width: 145px;
  height: auto;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  position: relative;

  color: #19362b;
  font-size: 13px;
  font-weight: 500;

  padding: 25px 0;

  transition: color 0.25s ease;
}

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

.nav-link--active {
  color: var(--gold);
}

.nav-link--active::after {
  content: "";

  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;

  height: 2px;

  background-color: var(--gold);
}


/* Header actions */

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}


/* =========================================================
   5. BUTTONS
   ========================================================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 42px;

  padding: 0 22px;

  border-radius: 25px;

  font-size: 12px;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 0.5px;

  border: none;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--green {
  background-color: var(--dark-green);
  color: white;
}

.button--green:hover {
  background-color: var(--jungle-green-dark);
  box-shadow: 0 8px 20px rgba(7, 59, 42, 0.2);
}

.button--gold {
  background-color: var(--gold);
  color: white;
}

.button--gold:hover {
  background-color: var(--jungle-green-dark);
}


/* Mobile menu button */

.menu-toggle {
  display: none;

  width: 42px;
  height: 42px;

  border: 1px solid var(--border);
  border-radius: 5px;

  background-color: white;

  cursor: pointer;

  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 21px;
  height: 2px;

  background-color: var(--dark-green);
}


/* =========================================================
   6. COURSES HERO
   ========================================================= */

.courses-hero {
  min-height: 450px;

  position: relative;

  display: flex;
  align-items: center;

  overflow: hidden;

  background-color: var(--dark-green);
}

.courses-hero-image {
  position: absolute;
  inset: 0;

  z-index: 0;
}

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

  object-fit: cover;
  object-position: center;
}

.courses-hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(79, 90, 58, 0.92) 0%,
      rgba(79, 90, 58, 0.72) 40%,
      rgba(79, 90, 58, 0.18) 100%
    );

  z-index: 1;
}

.courses-hero-content {
  position: relative;
  z-index: 2;

  color: white;

  padding: 100px 0;
  max-width: 700px;
}

.section-label {
  display: inline-block;

  color: var(--light-gold);

  font-size: 12px;
  font-weight: 600;

  letter-spacing: 3px;

  margin-bottom: 12px;
}

.courses-hero h1 {
  font-family: 'Cormorant Garamond', serif;

  font-size: clamp(44px, 6vw, 76px);

  line-height: 0.95;

  font-weight: 600;

  margin-bottom: 25px;
}

.courses-hero h1 span {
  display: block;

  color: var(--light-gold);
}

.courses-hero p {
  max-width: 600px;

  font-size: 15px;

  line-height: 1.9;

  color: rgba(255, 255, 255, 0.9);
}


/* =========================================================
   7. SECTION HEADINGS
   ========================================================= */

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 18px;

  margin-bottom: 45px;
}

.section-heading h2 {
  font-family: 'Cormorant Garamond', serif;

  color: var(--dark-green);

  font-size: clamp(32px, 4vw, 46px);

  line-height: 1;

  text-align: center;
}

.heading-line {
  width: 65px;
  height: 1px;

  background-color: var(--gold);
}


/* =========================================================
   8. TRAINING CATEGORIES
   ========================================================= */

.training-categories {
  padding: 90px 0;

  background-color: var(--cream);
}

.category-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 25px;
}

.category-card {
  background-color: white;

  border: 1px solid #eee7db;

  border-radius: 10px;

  overflow: hidden;

  box-shadow: var(--shadow);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-7px);

  box-shadow:
    0 18px 45px rgba(20, 50, 40, 0.14);
}

.category-image {
  height: 245px;

  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
  transform: scale(1.04);
}

.category-content {
  min-height: 180px;

  padding: 25px;

  display: grid;

  grid-template-columns: auto 1fr;
  column-gap: 15px;

  align-items: center;
}

.category-icon {
  width: 42px;
  height: 42px;

  border-radius: 50%;

  background-color: var(--light-green);

  color: var(--gold);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
}

.category-content h3 {
  font-family: 'Cormorant Garamond', serif;

  color: var(--dark-green);

  font-size: 27px;

  line-height: 1.1;
}

.category-content p {
  color: var(--text-light);

  font-size: 12px;

  margin-top: 3px;
}

.category-content .button {
  grid-column: 1 / -1;

  justify-self: start;

  margin-top: 15px;
}


/* =========================================================
   9. SPECIAL OFFERS
   ========================================================= */

.special-offers,
.special-offer {
  background-color: var(--dark-green);
  color: white;
  padding: 35px 0;
}

.special-offers-content,
.special-offer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.offer-card {
  min-height: 150px;
  padding: 24px;

  display: flex;
  align-items: center;
  gap: 17px;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;

  background: rgba(255, 255, 255, 0.045);

  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.offer-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(231, 200, 120, 0.55);
}

.offer-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--gold);
  border-radius: 50%;

  color: var(--light-gold);
  font-size: 21px;
}

.offer-content {
  min-width: 0;
}

.offer-label {
  display: block;

  color: var(--light-gold);

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.7px;
  line-height: 1.3;

  margin-bottom: 5px;
}

.offer-content h2 {
  font-family: 'Cormorant Garamond', serif;

  color: white;

  font-size: 25px;
  line-height: 1.05;

  margin-bottom: 7px;
}

.offer-content p {
  color: rgba(255, 255, 255, 0.82);

  font-size: 10px;
  line-height: 1.6;
}

.offer-content strong {
  color: var(--light-gold);
}

.offer-content small {
  display: block;

  color: rgba(255, 255, 255, 0.52);

  font-size: 8px;
  line-height: 1.5;

  margin-top: 5px;
}

.offer-card--early-booking {
  border-color: rgba(231, 200, 120, 0.45);
}

.offer-card--combination {
  border-color: rgba(255, 255, 255, 0.20);
}

.offer-card--starter {
  border-color: rgba(255, 255, 255, 0.16);
}








/* =========================================================
   SPECIAL OFFERS — SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {
  .offer-card {
    padding: 17px;
    gap: 12px;
  }

  .offer-icon {
    width: 42px;
    height: 42px;
    font-size: 17px;
  }

  .offer-label {
    font-size: 8px;
    letter-spacing: 1.3px;
  }

  .offer-content h2 {
    font-size: 21px;
  }

  .offer-content p {
    font-size: 9px;
  }
}


/* =========================================================
   10. COURSE SECTIONS
   ========================================================= */

.course-section {
  padding: 95px 0;

  background-color: var(--cream);
}

.course-section--cream {
  background-color: var(--cream);
}

.course-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;

  margin-bottom: 40px;
}

.course-category-label {
  display: block;

  color: var(--gold);

  font-size: 11px;

  font-weight: 600;

  letter-spacing: 2px;

  margin-bottom: 5px;
}

.course-section-heading h2 {
  font-family: 'Cormorant Garamond', serif;

  color: var(--dark-green);

  font-size: 46px;

  line-height: 1;
}

.view-all-link {
  color: var(--dark-green);

  font-size: 12px;

  font-weight: 600;

  border-bottom: 1px solid var(--gold);

  padding-bottom: 4px;
}


/* =========================================================
   11. NAIL COURSE GRID
   ========================================================= */

.course-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 25px;
}

.course-card {
  background-color: white;

  border: 1px solid #e8e1d5;

  border-radius: 10px;

  overflow: hidden;

  box-shadow: var(--shadow);
}

.course-card--large {
  grid-column: span 1;
}

.course-card-image {
  height: 250px;

  overflow: hidden;
}

.course-card-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.course-card-content {
  padding: 30px;
}

.course-card-content h3 {
  font-family: 'Cormorant Garamond', serif;

  color: var(--dark-green);

  font-size: 29px;

  line-height: 1.1;

  margin-bottom: 10px;
}

.course-price {
  color: var(--gold);

  font-size: 25px;

  font-weight: 700;

  margin-bottom: 4px;
}

.course-duration,
.training-format {
  display: inline-block;

  color: var(--dark-green);

  background-color: var(--light-green);

  padding: 5px 10px;

  border-radius: 3px;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 1px;
}


/* Course highlights */

.course-highlights {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 15px;

  margin: 22px 0;
}

.course-highlights ul,
.course-details ul,
.mini-course-content ul,
.pmu-details ul {
  list-style: none;
}

.course-highlights li,
.course-details li,
.mini-course-content li,
.pmu-details li {
  position: relative;

  padding-left: 18px;

  margin-bottom: 7px;

  color: var(--text-light);

  font-size: 12px;
}

.course-highlights li::before,
.course-details li::before,
.mini-course-content li::before,
.pmu-details li::before {
  content: "✓";

  position: absolute;

  left: 0;
  top: 0;

  color: #579173;

  font-weight: 700;
}


/* Course benefits */

.course-benefits {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin: 18px 0;
}

.course-benefits span {
  color: var(--dark-green);

  background-color: #f5f0e6;

  padding: 7px 10px;

  border-radius: 4px;

  font-size: 10px;

  font-weight: 600;
}


/* Details button */

.course-details-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 42px;

  padding: 0 18px;

  border: 1px solid var(--gold);

  border-radius: 23px;

  background-color: transparent;

  color: var(--dark-green);

  font-size: 11px;

  font-weight: 600;

  text-transform: uppercase;

  cursor: pointer;

  margin-right: 7px;

  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.course-details-button:hover {
  background-color: var(--gold);

  color: white;
}


/* =========================================================
   12. EXPANDABLE COURSE DETAILS
   ========================================================= */

.course-details {
  display: none;

  margin-top: 25px;

  padding-top: 25px;

  border-top: 1px solid #e8e1d5;

  animation: detailsOpen 0.3s ease;
}

.course-details.is-open {
  display: block;
}

@keyframes detailsOpen {

  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

.course-details h4 {
  color: var(--dark-green);

  font-family: 'Cormorant Garamond', serif;

  font-size: 24px;

  margin-bottom: 15px;
}

.course-details h5 {
  color: var(--green);

  font-size: 12px;

  text-transform: uppercase;

  letter-spacing: 0.5px;

  margin: 20px 0 8px;
}


/* =========================================================
   13. LASH GRID
   ========================================================= */

.lash-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 22px;
}

.mini-course-card {
  background-color: white;

  border: 1px solid #e8e1d5;

  border-radius: 10px;

  overflow: hidden;

  box-shadow: var(--shadow);

  display: flex;
  flex-direction: column;
}

.mini-course-image {
  height: 190px;

  overflow: hidden;
}

.mini-course-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.mini-course-content {
  padding: 24px;

  display: flex;
  flex-direction: column;

  flex: 1;
}

.mini-course-content h3 {
  font-family: 'Cormorant Garamond', serif;

  color: var(--dark-green);

  font-size: 25px;

  line-height: 1.05;

  margin-bottom: 10px;
}

.mini-course-content strong {
  color: var(--gold);

  font-size: 21px;

  margin-bottom: 3px;
}

.mini-course-content > span {
  align-self: flex-start;

  background-color: var(--light-green);

  color: var(--dark-green);

  padding: 5px 9px;

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 1px;

  border-radius: 3px;

  margin-bottom: 16px;
}

.mini-course-content ul {
  margin-bottom: 10px;
}

.mini-course-content small {
  color: var(--text-light);

  font-size: 10px;

  margin: 4px 0 15px;
}

.mini-course-content .course-details-button {
  margin-top: auto;

  align-self: flex-start;
}

.mini-course-content .button {
  align-self: flex-start;

  margin-top: 10px;
}


/* =========================================================
   14. CONSULTATION BAR
   ========================================================= */

.consultation-bar {
  margin-top: 35px;

  padding: 25px;

  border-radius: 8px;

  background-color: var(--dark-green);

  color: white;
}

.consultation-bar strong {
  display: block;

  color: var(--light-gold);

  font-family: 'Cormorant Garamond', serif;

  font-size: 25px;

  margin-bottom: 15px;
}

.consultation-items {
  display: flex;

  flex-wrap: wrap;

  gap: 15px 25px;
}

.consultation-items span {
  font-size: 11px;

  color: rgba(255, 255, 255, 0.85);
}


/* =========================================================
   15. PERMANENT MAKEUP
   ========================================================= */

.pmu-section {
  background-color: var(--cream);
}

.pmu-card {
  display: grid;

  grid-template-columns: 0.9fr 1.1fr;

  background-color: white;

  border: 1px solid #e5ddcf;

  border-radius: 12px;

  overflow: hidden;

  box-shadow: var(--shadow);
}

.pmu-image {
  height: 500px;
  min-height: 500px;
  overflow: hidden;
}

.pmu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pmu-main {
  padding: 50px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pmu-main h3 {
  font-family: 'Cormorant Garamond', serif;

  color: var(--dark-green);

  font-size: 38px;

  line-height: 1.05;

  margin-bottom: 15px;
}

.pmu-main .course-price {
  font-size: 31px;

  margin-bottom: 8px;
}

.training-format {
  margin-bottom: 30px;
}

.pmu-skills {
  width: 100%;

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 15px;

  margin-bottom: 35px;
}

.pmu-skills ul {
  list-style: none;
}

.pmu-skills li {
  padding: 11px 0;

  border-bottom: 1px solid #eee7dc;

  color: var(--text-light);

  font-size: 13px;
}

.pmu-skills li::before {
  content: "✓";

  color: #579173;

  font-weight: 700;

  margin-right: 8px;
}


/* PMU details */

.pmu-details {
  grid-column: 1 / -1;

  padding: 40px 50px;

  background-color: var(--cream);

  border-top: 1px solid #e7dfd1;
}

.pmu-details h4 {
  font-family: 'Cormorant Garamond', serif;

  font-size: 29px;

  color: var(--dark-green);

  margin-bottom: 20px;
}

.pmu-details ul {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 8px 30px;
}


/* Certification */

.pmu-certification {
  grid-column: 1 / -1;

  padding: 30px 50px;

  background-color: var(--dark-green);

  color: white;

  display: flex;

  align-items: center;

  gap: 20px;
}

.certificate-icon {
  width: 50px;
  height: 50px;

  border: 1px solid var(--gold);

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 22px;

  flex-shrink: 0;
}

.pmu-certification h4 {
  color: var(--light-gold);

  font-family: 'Cormorant Garamond', serif;

  font-size: 24px;
}

.pmu-certification p {
  color: rgba(255, 255, 255, 0.8);

  font-size: 11px;

  max-width: 650px;
}


/* =========================================================
   16. WHY TRAIN WITH MELAKI
   ========================================================= */

.course-benefits-section {
  padding: 90px 0;

  background-color: var(--cream);
}

.benefits-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
}

.benefit-card {
  background-color: white;

  padding: 30px 22px;

  text-align: center;

  border: 1px solid #ebe4d8;

  border-radius: 8px;

  transition: transform 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-card > div {
  width: 55px;
  height: 55px;

  margin: 0 auto 18px;

  border-radius: 50%;

  background-color: var(--light-green);

  color: var(--gold);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 22px;
}

.benefit-card h3 {
  font-family: 'Cormorant Garamond', serif;

  color: var(--dark-green);

  font-size: 24px;

  margin-bottom: 8px;
}

.benefit-card p {
  color: var(--text-light);

  font-size: 11px;

  line-height: 1.7;
}


/* =========================================================
   17. REQUIREMENTS
   ========================================================= */

.requirements-section {
  padding: 90px 0;

  background-color: var(--cream);
}

.requirements-grid {
  display: grid;

  grid-template-columns: 0.75fr 1.25fr;

  gap: 40px;

  align-items: start;
}

.requirements-intro {
  padding: 40px;

  background-color: var(--dark-green);

  color: white;

  border-radius: 10px;

  position: sticky;

  top: 100px;
}

.requirements-intro > span {
  color: var(--light-gold);

  font-size: 11px;

  letter-spacing: 2px;

  font-weight: 600;
}

.requirements-intro h2 {
  font-family: 'Cormorant Garamond', serif;

  font-size: 55px;

  color: var(--light-gold);

  line-height: 1;

  margin: 15px 0;
}

.requirements-intro p {
  color: rgba(255, 255, 255, 0.82);

  font-size: 12px;

  margin-bottom: 25px;
}

.requirements-list {
  display: none;

  background-color: white;

  border: 1px solid #e5ded1;

  border-radius: 10px;

  overflow: hidden;

  box-shadow: var(--shadow);
}

.requirements-list.is-open {
  display: block;
}

.requirements-list h3 {
  padding: 20px 25px;

  background-color: var(--dark-green);

  color: white;

  font-family: 'Cormorant Garamond', serif;

  font-size: 25px;
}

.requirement-row {
  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 12px 25px;

  border-bottom: 1px solid #eee9df;

  font-size: 12px;
}

.requirement-row strong {
  color: var(--dark-green);
}

.requirement-total {
  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 20px 25px;

  background-color: #f0e7d4;

  color: var(--dark-green);

  font-family: 'Cormorant Garamond', serif;

  font-size: 24px;
}


/* =========================================================
   18. WHO CAN JOIN
   ========================================================= */

.who-can-join {
  padding: 90px 0;

  background-color: var(--cream);
}

.join-grid {
  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 15px;
}

.join-card {
  min-height: 145px;

  padding: 20px;

  border: 1px solid #e4dccf;

  background-color: white;

  border-radius: 8px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.join-card:hover {
  transform: translateY(-5px);

  border-color: var(--gold);
}

.join-card span {
  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: var(--light-green);

  border-radius: 50%;

  color: var(--gold);

  margin-bottom: 10px;
}

.join-card p {
  color: var(--dark-green);

  font-size: 11px;

  font-weight: 600;
}


/* =========================================================
   19. FINAL CTA
   ========================================================= */

.courses-cta {
  background-color: var(--dark-green);

  color: white;
}

.courses-cta-content {
  min-height: 280px;

  display: grid;

  grid-template-columns: 220px 1fr auto;

  align-items: center;

  gap: 45px;
}

.cta-image {
  height: 280px;

  overflow: hidden;

  align-self: end;
}

.cta-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.cta-text > span {
  color: var(--light-gold);

  font-size: 11px;

  letter-spacing: 2px;

  font-weight: 600;
}

.cta-text h2 {
  font-family: 'Cormorant Garamond', serif;

  font-size: 40px;

  line-height: 1.05;

  margin: 8px 0 12px;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.8);

  font-size: 12px;
}

.cta-action {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: 12px;
}

.cta-action > a:last-child {
  color: rgba(255, 255, 255, 0.7);

  font-size: 10px;

  max-width: 220px;

  line-height: 1.5;
}


/* =========================================================
   20. FOOTER
   ========================================================= */

.site-footer {
  background-color: var(--footer-dark);

  color: white;

  padding-top: 60px;
}

.footer-grid {
  display: grid;

  grid-template-columns: 1.5fr 1fr 1.4fr 1.2fr 1fr;

  gap: 35px;

  padding-bottom: 45px;
}

.footer-logo {
  width: 150px;
  height: auto;
  margin-bottom: 12px;

  /* Approved Melaki gold */
  filter:
    brightness(0)
    saturate(100%)
    invert(72%)
    sepia(34%)
    saturate(750%)
    hue-rotate(2deg)
    brightness(90%)
    contrast(88%);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);

  font-size: 10px;

  line-height: 1.7;
}

.footer-column {
  display: flex;

  flex-direction: column;

  gap: 9px;
}

.footer-column h3 {
  color: var(--light-gold);

  font-family: 'Cormorant Garamond', serif;

  font-size: 20px;

  margin-bottom: 5px;
}

.footer-column a,
.footer-column p {
  color: rgba(255, 255, 255, 0.65);

  font-size: 10px;

  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--light-gold);
}

.social-links {
  display: flex;

  gap: 8px;

  margin-top: 18px;
}

.social-links a {
  width: 30px;
  height: 30px;

  border: 1px solid rgba(255, 255, 255, 0.3);

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.social-links a:hover {
  background-color: var(--gold);

  color: white;
}

.footer-apply-link {
  color: var(--light-gold) !important;

  font-weight: 600;
}

.footer-developer {
  border-left: 1px solid rgba(255, 255, 255, 0.15);

  padding-left: 25px;
}

.footer-developer p {
  color: rgba(255, 255, 255, 0.5);

  font-size: 8px;

  letter-spacing: 1.5px;
}

.footer-developer h3 {
  color: white;

  font-size: 12px;

  margin: 4px 0;
}

.footer-developer a {
  color: var(--light-gold);

  font-size: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);

  padding: 18px 0;

  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.45);

  font-size: 9px;
}


/* =========================================================
   21. LARGE TABLETS
   ========================================================= */

@media (max-width: 1000px) {

  .main-navigation {
    gap: 20px;
  }

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

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

  .offer-divider {
    display: none;
  }

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

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

  .join-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

}


/* =========================================================
   22. TABLETS / MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 800px) {

  .top-bar__content {
    justify-content: center;
  }

  .top-bar__content > p {
    display: none;
  }

  .main-navigation {
    display: none;

    position: absolute;

    top: 100%;

    left: 0;
    right: 0;

    background-color: white;

    padding: 20px 6%;

    flex-direction: column;

    align-items: stretch;

    gap: 0;

    border-bottom: 1px solid #e5dfd5;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  }

  .main-navigation.is-open {
    display: flex;
  }

  .nav-link {
    padding: 14px 0;

    border-bottom: 1px solid #eee9df;
  }

  .nav-link--active::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions .button {
    display: none;
  }

  .courses-hero {
    min-height: 430px;
  }

  .courses-hero-content {
    padding: 80px 0;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .pmu-card {
    grid-template-columns: 1fr;
  }

  .pmu-image {
    min-height: 420px;
  }

  .pmu-details,
  .pmu-certification {
    grid-column: auto;
  }

  .requirements-grid {
    grid-template-columns: 1fr;
  }

  .requirements-intro {
    position: static;
  }

  .courses-cta-content {
    grid-template-columns: 180px 1fr;
  }

  .cta-action {
    grid-column: 2;
  }

}


/* =========================================================
   23. MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .container {
    width: min(92%, 500px);
  }


  /* Top bar */

  .top-bar__contact {
    gap: 12px;
  }

  .top-bar {
    font-size: 10px;
  }


  /* Header */

  .site-logo {
    width: 125px;
  }


  /* Hero */

  .courses-hero {
    min-height: 420px;
  }

  .courses-hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(79, 90, 58, 0.92),
        rgba(79, 90, 58, 0.58)
      );
  }

  .courses-hero-content {
    padding: 70px 0;
  }

  .courses-hero h1 {
    font-size: 48px;
  }

  .courses-hero p {
    font-size: 12px;

    line-height: 1.7;
  }


  /* Headings */

  .section-heading {
    gap: 10px;

    margin-bottom: 30px;
  }

  .heading-line {
    width: 35px;
  }

  .section-heading h2 {
    font-size: 31px;
  }


  /* Categories */

  .training-categories {
    padding: 65px 0;
  }

  .category-grid {
    grid-template-columns: 1fr;

    gap: 18px;
  }

  .category-image {
    height: 220px;
  }


  /* Offer */

  .special-offer-content {
    grid-template-columns: 1fr;

    gap: 22px;
  }

  .offer-divider {
    display: none;
  }

  .offer-block h2 {
    font-size: 27px;
  }


  /* Course sections */

  .course-section {
    padding: 65px 0;
  }

  .course-section-heading {
    align-items: flex-start;

    flex-direction: column;

    gap: 12px;
  }

  .course-section-heading h2 {
    font-size: 37px;
  }


  /* Course cards */

  .course-card-image {
    height: 220px;
  }

  .course-card-content {
    padding: 22px;
  }

  .course-card-content h3 {
    font-size: 27px;
  }

  .course-highlights {
    grid-template-columns: 1fr;
  }

  .course-details-button,
  .course-card-content .button {
    width: 100%;

    margin: 5px 0 0;
  }


  /* Lash */

  .lash-grid {
    grid-template-columns: 1fr;
  }

  .mini-course-image {
    height: 220px;
  }

  .mini-course-content {
    padding: 22px;
  }

  .mini-course-content .course-details-button,
  .mini-course-content .button {
    width: 100%;

    margin: 5px 0 0;
  }


  /* Consultation */

  .consultation-items {
    flex-direction: column;

    gap: 8px;
  }


  /* PMU */

  .pmu-image {
    min-height: 350px;
  }

  .pmu-main {
    padding: 30px 22px;
  }

  .pmu-main h3 {
    font-size: 32px;
  }

  .pmu-skills {
    grid-template-columns: 1fr;

    gap: 0;
  }

  .pmu-details {
    padding: 30px 22px;
  }

  .pmu-details ul {
    grid-template-columns: 1fr;
  }

  .pmu-certification {
    padding: 25px 22px;

    align-items: flex-start;
  }


  /* Benefits */

  .course-benefits-section {
    padding: 65px 0;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }


  /* Requirements */

  .requirements-section {
    padding: 65px 0;
  }

  .requirements-intro {
    padding: 30px 22px;
  }

  .requirements-intro h2 {
    font-size: 45px;
  }

  .requirement-row {
    padding: 11px 16px;

    font-size: 11px;

    gap: 15px;
  }

  .requirement-total {
    padding: 17px 16px;

    font-size: 22px;
  }


  /* Who can join */

  .who-can-join {
    padding: 65px 0;
  }

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

  .join-card {
    min-height: 120px;
  }


  /* CTA */

  .courses-cta-content {
    grid-template-columns: 1fr;

    padding: 45px 0;

    gap: 25px;
  }

  .cta-image {
    height: 250px;

    width: 100%;
  }

  .cta-text h2 {
    font-size: 35px;
  }

  .cta-action {
    grid-column: auto;

    width: 100%;
  }

  .cta-action .button {
    width: 100%;
  }


  /* Footer */

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

    gap: 35px;
  }

  .footer-developer {
    border-left: none;

    border-top: 1px solid rgba(255, 255, 255, 0.15);

    padding-left: 0;

    padding-top: 25px;
  }

}


/* =========================================================
   24. SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {

  .top-bar__contact {
    flex-direction: column;

    gap: 2px;

    padding: 5px 0;
  }

  .courses-hero h1 {
    font-size: 41px;
  }

  .course-price {
    font-size: 22px;
  }

  .join-grid {
    grid-template-columns: 1fr;
  }

  .pmu-image {
    min-height: 300px;
  }

}
/* =====================================================
   MOBILE APPLY LINK
===================================================== */

.nav-link--mobile-apply {
  display: none;
}

@media (max-width: 800px) {

  .nav-link--mobile-apply {
    display: block;
    color: var(--green) !important;
    font-weight: 700 !important;
    border-top: 1px solid var(--border);
    margin-top: 5px;
    padding-top: 16px !important;
  }

  .nav-link--mobile-apply:hover {
    color: var(--gold) !important;
  }

}


/* =========================================================
   FOOTER LOGO — GOLD
   ========================================================= */

.footer-logo {
  width: 150px;
  height: auto;
  margin-bottom: 12px;

  filter:
    brightness(0)
    saturate(100%)
    invert(72%)
    sepia(34%)
    saturate(750%)
    hue-rotate(2deg)
    brightness(90%)
    contrast(88%);
}
