:root {
  --darkpink:#E94E77;
  --lighttan:#EEEBE6;
  --rose:#D68189;
  --tan:#C6A49A;
  --ivory:#E3CFB4;
}

/* ==========================
   RESET
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==========================
   BODY DEFAULT FONT
========================== */
body {
  font-family: "Roboto", sans-serif;
  background: white;
  color: black;
  line-height: 1.4;
}

/* ==========================
   HEADINGS
========================== */
h1 {
  font-family: "Aubrey", cursive;
}

h2, h3, h4 {
  font-family: "Roboto", sans-serif;
}

/* ==========================
   GLOBAL CONTAINER
========================== */
.container {
  width: 1100px;
  margin: 0 auto;
}

/* ==========================
   HEADER
========================== */
..site-header {
  background: white;
  padding: 25px 0;
}

/* supports BOTH .header-container and .header-flex */
.header-container,
.header-flex,
.header-inner {
  width: 1100px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* logo */
.brand {
  display: flex;
  align-items: center;
}

.brand img,
.brand-logo {
  height: 75px;
  width: auto;
  display: block;
}

/* ==========================
   NAV BUTTONS
========================== */
/* NAVIGATION */
.main-nav {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;      /* allow buttons to wrap on narrow screens */
  justify-content: center;
}

/* nav button */
.nav-btn {
  text-decoration: none;
  background: var(--rose);
  color: white;
  font-weight: bold;
  font-size: 0.75rem;
  padding: 10px 18px;
  border-radius: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: 0.3s ease;
  display: inline-block;
}

.nav-btn:hover {
  background: var(--darkpink);
  transform: translateY(-4px);
}

.nav-btn-active {
  background: var(--darkpink);
  box-shadow: 0 4px 8px rgba(233, 78, 119, 0.3);
}

/* ==========================
   HERO BAR (About/Lessons)
========================== */
.page-hero {
  background: var(--tan);
  padding: 50px 0;
}

.page-hero h1,
.page-hero h2 {
  text-align: left;
  font-size: 3rem;
  color: white;
  font-family: "Roboto", sans-serif;
  letter-spacing: 2px;
  margin-left: 50px;
}

/* ==========================
   HOME INTRO SECTION
========================== */
.intro {
  padding: 80px 0;
  background: white;
  text-align: center;
}

.intro h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.intro p {
  width: 850px;
  margin: 0 auto;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ==========================
   SECTION TITLES
========================== */
.section-title {
  text-align: center;
  font-family: "Roboto", sans-serif;
  letter-spacing: 10px;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  font-size: 0.85rem;
  margin-bottom: 30px;
}

/* ==========================
   FEATURED SECTION (HOME)
========================== */
.featured {
  background: var(--lighttan);
  padding: 80px 0;
}

.featured-img {
  width: 100%;
  max-width: 800px;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
}

.featured-flex {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
}

.featured-text {
  flex: 2;
  font-size: 0.9rem;
  line-height: 1.5;
}

.featured-text h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.featured-text ol {
  margin-left: 20px;
  margin-top: 10px;
}

/* ==========================
   ENROLL BOX (HOME)
========================== */
.enroll-box {
  flex: 1;
  background: var(--tan);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
}

.enroll-title {
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: white;
}

.enroll-subtitle {
  font-size: 0.8rem;
  margin-bottom: 20px;
  color: white;
}

.price-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--ivory);
  margin: 0 auto 15px auto;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 1.5rem;
  font-weight: bold;
  color: var(--darkpink);
}

.enroll-note {
  font-size: 0.75rem;
  margin-bottom: 15px;
  color: white;
}

/* ==========================
   BUTTONS
========================== */
.btn {
  display: inline-block;
  text-decoration: none;
  background: var(--darkpink);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 0.8rem;
  transition: 0.3s ease;
}

.btn:hover {
  background: black;
  transform: translateY(-3px);
}

.small-btn {
  margin-top: 10px;
  font-size: 0.75rem;
  padding: 8px 15px;
}

/* ==========================
   ABOUT PAGE (MASTERS)
========================== */
.origami-masters {
  padding: 80px 0;
  background: white;
}

.masters-flex {
  display: flex;
  justify-content: center;
  gap: 120px;
  margin-top: 50px;
}

.master-card {
  text-align: center;
}

.master-card img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.master-card h3 {
  font-size: 1rem;
}

.master-card p {
  font-size: 0.8rem;
}

/* ==========================
   ABOUT PAGE (HEADMASTER + FACULTY)
========================== */
.school-masters {
  background: var(--lighttan);
  padding: 80px 0;
}

.school-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-top: 50px;
}

.headmaster {
  flex: 1;
  text-align: center;
}

.headmaster img {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  margin-bottom: 15px;
}

.faculty-grid {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.faculty-card {
  width: 45%;
  text-align: center;
}

.faculty-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.faculty-card h3 {
  font-size: 0.9rem;
}

.faculty-card p {
  font-size: 0.75rem;
}

/* ==========================
   LESSONS PAGE MASTERCLASS
========================== */
.masterclass-section {
  background: var(--lighttan);
  padding: 80px 0;
}

.masterclass-section .container {
  width: 1100px;
  margin: 0 auto;
}

.masterclass-title {
  text-align: center;
  letter-spacing: 8px;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.masterclass-subtitle {
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 50px;
}

/* MAIN FLEX GRID FIX */
.masterclass-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

/* FORCE 4 PER ROW */
.masterclass-flex .lesson-card {
  width: 23%;
  background: var(--ivory);
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 35px;

  /* this prevents flex rules from breaking layout */
  flex: none;
}

.masterclass-flex .lesson-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.masterclass-flex .lesson-card h3 {
  margin: 15px 0 12px 0;
  font-size: 0.9rem;
  font-weight: bold;
}

/* ENROLL BUTTON */
.btn-enroll {
  display: inline-block;
  background: var(--darkpink);
  color: white;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 1px;
  transition: 0.3s ease;
}

.btn-enroll:hover {
  background: black;
  transform: translateY(-3px);
}

/* ==========================
   VIDEO LESSONS SECTION (IF USED)
========================== */
.video-lessons {
  background: var(--lighttan);
  padding: 80px 0;
}

.video-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.video-card {
  flex: 1;
  background: white;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
}

.video-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.video-card h3 {
  font-size: 1rem;
}

/* ==========================
   FOOTER
========================== */
.site-footer {
  background: var(--tan);
  padding: 30px 0;
  color: white;
  font-size: 0.75rem;
}

.footer-container,
.footer-flex {
  width: 1100px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-left {
  display: flex;
  gap: 20px;
  align-items: center;
  flex: 1;
}

.footer-left img {
  height: 70px;
  width: auto;
}

.footer-left p {
  line-height: 1.5;
}

.footer-mid {
  flex: 1;
  text-align: center;
  line-height: 1.5;
}

.footer-right {
  flex: 1;
  text-align: right;
  font-weight: bold;
}
/* VIDEO LESSONS SECTION */
.video-lessons-section {
  background-color: #f5f5f5;
  padding: 60px 0;
}

.video-lessons-title {
  text-align: center;
  font-family: 'Aubrey', serif;
  font-size: 2.5rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.video-lessons-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
}

.video-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.video-card {
  flex: 0 1 calc(33.333% - 20px);
  min-width: 280px;
  text-align: center;
}

.video-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 15px;
}

.video-card h3 {
  font-size: 1.3rem;
  margin: 0;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .video-card {
    width: 100%;
  }
}

/* ==========================
   CONTACT FORM + LAYOUT
   (Appended)
========================== */

.site-header {
  background: white;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.site-logo {
  font-family: "Aubrey", cursive;
  font-size: 1.6rem;
  color: var(--darkpink);
  text-decoration: none;
  display: inline-block;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 14px;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
}

.site-nav a:hover {
  background: rgba(0,0,0,0.04);
}

/* Hero map */
.hero-map {
  width: 100%;
  background: #f8f8f8;
}

.map-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* Contact layout: two-column on desktop */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  padding: 60px 0;
  align-items: start;
}

/* Contact form area */
.contact-form-area h1 {
  font-size: 1.8rem;
  margin-bottom: 18px;
  color: var(--darkpink);
}

/* Form basics */
.contact-form {
  background: transparent;
}

.form-row {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
}

.form-row label {
  font-size: 0.85rem;
  margin-bottom: 6px;
  font-weight: 700;
  color: #333;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="number"],
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: white;
  color: #222;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

/* Fieldsets */
.form-fieldset {
  margin: 14px 0;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fafafa;
}

.form-fieldset legend {
  font-weight: 700;
  padding: 0 6px;
}

.form-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-controls label {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}

/* Submit button */
.btn-submit {
  background: var(--darkpink);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 22px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.btn-submit:hover {
  transform: translateY(-3px);
  background: #bf3d63;
}

/* Contact details aside */
.contact-details {
  background: var(--lighttan);
  padding: 18px;
  border-radius: 10px;
  font-size: 0.95rem;
}

.contact-details h2 {
  margin-bottom: 10px;
  color: var(--rose);
}

.contact-details address {
  font-style: normal;
  line-height: 1.5;
  margin-bottom: 12px;
  color: #222;
}

.contact-details a {
  color: #333;
  text-decoration: none;
  font-weight: 700;
}

.social-links ul {
  list-style: none;
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding-left: 0;
}

.social-links a {
  display: inline-block;
  padding: 6px;
  border-radius: 6px;
  background: rgba(0,0,0,0.04);
  color: #333;
  text-decoration: none;
  font-size: 0.85rem;
}

/* Footer spacing tweak */
.site-footer .container {
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .container {
    width: 92%;
  }

  .contact-layout {
    grid-template-columns: 1fr 320px;
    gap: 30px;
    padding: 40px 0;
  }

  .map-image {
    height: 240px;
  }

  /* allow headers and footer to stack nicely */
  .header-flex,
  .footer-container,
  .footer-flex {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .intro p {
    width: 100%;
  }

  .featured-flex,
  .masters-flex,
  .school-flex,
  .video-flex {
    flex-wrap: wrap;
    gap: 20px;
  }

  .featured-text,
  .enroll-box,
  .lesson-card,
  .master-card,
  .faculty-card {
    flex: 1 1 100%;
  }

  .masterclass-flex .lesson-card {
    width: 48%;
  }
}

@media (max-width: 800px) {
  .site-nav ul {
    gap: 8px;
    font-size: 0.95rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 0;
  }

  .map-image {
    height: 200px;
  }

  /* further scaling for smaller screens */
  .page-hero h2 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .section-subtitle {
    font-size: 0.75rem;
  }

  .nav-btn {
    padding: 8px 14px;
    font-size: 0.7rem;
  }

  .footer-left,
  .footer-right,
  .footer-mid {
    text-align: center;
    width: 100%;
  }

  /* Paragraph optimization: 8 lines max */
  p {
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* extremely small phones */
@media (max-width: 428px) {
  /* Container adjustments */
  .container {
    width: 95%;
    padding: 0 10px;
  }

  /* Header and navigation */
  .header-flex,
  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-evenly;
    gap: 8px;
  }

  .nav-btn {
    padding: 8px 12px;
    font-size: 0.65rem;
    flex: 1 1 auto;
    text-align: center;
  }

  /* Hero map iframe */
  .hero-map iframe {
    width: 100% !important;
    height: 250px !important;
  }

  /* Images responsive */
  .brand img,
  .footer-left img {
    height: 50px;
  }

  .featured-img,
  .master-card img,
  .headmaster img,
  .faculty-card img,
  .video-wrapper img,
  .lesson-card img {
    max-width: 100%;
    height: auto;
  }

  .featured-img {
    max-width: 90%;
  }

  /* Flexbox optimizations */
  .featured-flex,
  .masters-flex,
  .school-flex,
  .video-flex,
  .masterclass-flex {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .featured-text,
  .enroll-box,
  .headmaster,
  .faculty-grid {
    width: 100%;
  }

  .faculty-grid {
    flex-direction: column;
    align-items: center;
  }

  .faculty-card {
    width: 100%;
  }

  .masterclass-flex .lesson-card {
    width: 100%;
  }

  .video-card {
    width: 100%;
  }

  .video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
  }

  .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  /* Masterclass section */
  .masterclass-section .container {
    width: 95%;
  }

  .masterclass-title {
    font-size: 1.2rem;
    letter-spacing: 4px;
  }

  .masterclass-subtitle {
    font-size: 0.8rem;
  }

  .lesson-card {
    text-align: center;
  }

  .lesson-card h3 {
    font-size: 0.9rem;
    margin: 12px 0 8px 0;
  }

  /* Video lessons section */
  .video-lessons-section .container {
    width: 95%;
  }

  .video-lessons-title {
    font-size: 1.2rem;
    letter-spacing: 4px;
  }

  .video-lessons-subtitle {
    font-size: 0.8rem;
    margin-bottom: 20px;
  }

  .video-card h3 {
    font-size: 0.9rem;
    margin-top: 10px;
  }

  /* Contact layout */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 0;
  }

  .contact-form-area h1 {
    font-size: 1.5rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .contact-details {
    padding: 15px;
    font-size: 0.85rem;
  }

  .social-links ul {
    flex-direction: column;
    align-items: center;
  }

  /* Footer */
  .footer-container,
  .footer-flex {
    flex-direction: column;
    gap: 15px;
  }

  .footer-left,
  .footer-mid,
  .footer-right {
    text-align: center;
    width: 100%;
  }

  /* Typography */
  .intro h1 {
    font-size: 1.4rem;
  }

  .page-hero h2 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.1rem;
  }

  /* Paragraph optimization: 8 lines max */
  p {
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

