/* =========================================
   BLINGON ACADEMY – GLOBAL STYLES
   ========================================= */

/* ---------- RESET / BASE ---------- */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-main: #fdf7f9;
  --bg-card: #fffafc;
  --bg-soft: #fffdf8;
  --text-main: #2a1b24;
  --text-soft: #7a5d6f;
  --accent: #e45a98;
  --accent-soft: #ff8fb7;
  --accent-deep: #b03070;
  --gold: #d5aa3f;
  --border-soft: #f3e0ea;
  --shadow-soft: 0 18px 45px rgba(161, 93, 126, 0.18);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --glass-bg: rgba(255, 255, 255, 0.82);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, #ffe5f1 0, transparent 50%),
    radial-gradient(circle at bottom right, #fff7d9 0, transparent 55%),
    var(--bg-main);
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
}

/* ---------- LAYOUT HELPERS ---------- */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* =========================================
   BUTTONS
   ========================================= */

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  background-image: linear-gradient(135deg, var(--accent), var(--accent-soft), #ffd6a0);
  color: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.55), transparent 45%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-1px) scale(1.01);
  filter: brightness(1.03);
  box-shadow: 0 22px 55px rgba(161, 93, 126, 0.3);
}

.btn:hover::after {
  opacity: 1;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--accent-deep);
  border-radius: 999px;
  border: 1px solid var(--accent-soft);
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  padding: 8px 18px;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--glass-bg);
  box-shadow: 0 12px 32px rgba(161, 93, 126, 0.16);
}

/* =========================================
   HEADER / TOPBAR / NAV
   ========================================= */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: linear-gradient(to right, rgba(255, 247, 252, 0.96), rgba(255, 253, 247, 0.96));
  border-bottom: 1px solid rgba(243, 196, 216, 0.5);
}

/* top contact bar (home page) */
.topbar {
  border-bottom: 1px solid rgba(243, 196, 216, 0.5);
  font-size: 0.75rem;
}

.topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.topbar-left {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-soft);
}

.topbar-left span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.topbar-left a {
  text-decoration: underline;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(243, 196, 216, 0.8);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.social-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(161, 93, 126, 0.25);
}

/* main nav */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  max-width: 1120px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, #fff0f5, #ffe5c2, #ffd2ee, #fff0f5);
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-deep);
  box-shadow: 0 6px 14px rgba(161, 93, 126, 0.3);
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: "";
  position: absolute;
  width: 40%;
  height: 40%;
  border-radius: 50%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.7), transparent 60%);
}

.logo-text-main {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-text-sub {
  font-size: 0.7rem;
  color: var(--text-soft);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.85rem;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.nav-links a {
  padding: 5px 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--accent-deep);
}

/* simple header variant (inner pages that don’t use .topbar) */
.simple-header {
  border-bottom: 1px solid var(--border-soft);
}

/* =========================================
   HERO (HOME)
   ========================================= */

.hero {
  padding: 40px 0 52px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px dashed rgba(232, 153, 196, 0.7);
}

.hero-tag span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--accent-soft), var(--accent-deep));
  box-shadow: 0 0 12px rgba(228, 90, 152, 0.8);
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.hero h1 strong {
  font-weight: 900;
  background: linear-gradient(120deg, var(--accent-deep), var(--accent-soft), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-soft);
  margin-bottom: 22px;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(243, 196, 216, 0.7);
}

.hero-meta span::before {
  content: "✦";
  font-size: 0.7rem;
  color: var(--gold);
}

.hero-badge-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.hero-badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(243, 196, 216, 0.9);
  box-shadow: 0 10px 20px rgba(215, 170, 63, 0.16);
}

/* hero media */

.hero-media {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 3px;
  background-image: linear-gradient(145deg, #ffeaf6, #ffe7c7, #fbd5ff);
  box-shadow: var(--shadow-soft);
}

.hero-media-inner {
  border-radius: calc(var(--radius-xl) - 2px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: radial-gradient(circle at top, #fffafc, #ffe9f3);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-pill {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(28, 16, 25, 0.84);
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #fcefff;
  backdrop-filter: blur(10px);
}

.hero-pill span {
  font-weight: 700;
  color: #ffe7ff;
}

.hero-pill::before {
  content: "◈";
  font-size: 0.6rem;
  color: #ffd88f;
}

/* =========================================
   GENERIC SECTIONS
   ========================================= */

section {
  padding: 42px 0;
  position: relative;
}

section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205, 142, 179, 0.8), transparent);
  opacity: 0.6;
}

.section-header {
  text-align: center;
  margin-bottom: 24px;
}

.section-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.section-header h2 {
  font-size: 1.65rem;
  margin-bottom: 6px;
  position: relative;
  display: inline-block;
  padding: 0 12px;
}

.section-header h2::after {
  content: "✧";
  position: absolute;
  right: -4px;
  top: -8px;
  font-size: 0.7rem;
  color: var(--accent-soft);
}

.section-header p {
  font-size: 0.95rem;
  color: var(--text-soft);
  max-width: 540px;
  margin: 0.2rem auto 0;
}

/* =========================================
   ABOUT BLOCK / GRIDS
   ========================================= */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  font-size: 0.9rem;
  color: var(--text-main);
}

.about-text p + p {
  margin-top: 8px;
}

.about-points {
  margin-top: 12px;
  display: grid;
  gap: 6px;
}

.about-points li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.about-points li::before {
  content: "◇";
  font-size: 0.7rem;
  margin-top: 4px;
  color: var(--accent-deep);
}

.about-highlight {
  background: radial-gradient(circle at top, #fff9fd, #fff0f7);
  border-radius: var(--radius-lg);
  padding: 16px;
  font-size: 0.85rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 12px 32px rgba(199, 139, 173, 0.16);
}

/* generic card style (for about/courses/contact) */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 16px;
  box-shadow: 0 14px 40px rgba(161, 93, 126, 0.12);
}

/* =========================================
   COURSES
   ========================================= */

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.course-card {
  border-radius: var(--radius-lg);
  padding: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 250, 0.98));
  border: 1px solid rgba(243, 196, 216, 0.7);
  box-shadow: 0 16px 38px rgba(175, 109, 143, 0.12);
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.88rem;
  position: relative;
  overflow: hidden;
}

.course-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 216, 245, 0.9), transparent 60%);
  top: -70px;
  right: -60px;
  opacity: 0.7;
  pointer-events: none;
}

.course-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-soft);
}

.course-title {
  font-weight: 800;
  font-size: 1.02rem;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.course-meta span {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(243, 196, 216, 0.7);
}

.course-price {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  z-index: 1;
}

.course-price strong {
  font-size: 0.97rem;
  color: var(--accent-deep);
}

/* =========================================
   GALLERY (HOME + gallery.html)
   ========================================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.gallery-item,
.item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(243, 196, 216, 0.8);
  background: #fff;
  transform: translateY(0) scale(1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 10px 24px rgba(148, 88, 122, 0.1);
}

.gallery-item img,
.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item span,
.tag {
  position: absolute;
  bottom: 7px;
  left: 7px;
  background: rgba(15, 8, 13, 0.76);
  color: #fff;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  backdrop-filter: blur(7px);
}

.gallery-item:hover,
.item:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 16px 36px rgba(132, 77, 111, 0.28);
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.stat-pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(243, 196, 216, 0.9);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 24px rgba(199, 139, 173, 0.16);
}

/* =========================================
   VIDEO
   ========================================= */

.video-wrapper {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(243, 196, 216, 0.9);
  box-shadow: var(--shadow-soft);
  background: radial-gradient(circle at top, #1a0f19, #4c223d);
  max-width: 860px;
  margin: 0 auto 10px;
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 4px;
}

/* =========================================
   TESTIMONIALS
   ========================================= */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  font-size: 0.85rem;
}

.testimonial-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(243, 196, 216, 0.7);
  padding: 14px;
  background: linear-gradient(145deg, #fffafc, #fff4fa);
  box-shadow: 0 14px 32px rgba(175, 109, 143, 0.16);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  font-size: 3rem;
  opacity: 0.12;
  top: -18px;
  left: 8px;
  color: var(--accent-soft);
}

.testimonial-name {
  font-weight: 700;
  margin-top: 10px;
  font-size: 0.9rem;
}

.testimonial-tag {
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* =========================================
   FAQ
   ========================================= */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
  font-size: 0.88rem;
}

.faq-item {
  border-radius: 18px;
  border: 1px solid rgba(243, 196, 216, 0.7);
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.faq-question {
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
}

.faq-question span {
  font-weight: 600;
}

.faq-answer {
  padding: 0 14px 10px;
  display: none;
  color: var(--text-soft);
}

.faq-item.open .faq-answer {
  display: block;
}

/* =========================================
   CONTACT / ENQUIRY
   ========================================= */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 22px;
  font-size: 0.9rem;
}

.contact-box {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(243, 196, 216, 0.9);
  padding: 16px;
  background: linear-gradient(145deg, #fff9fd, #fffdf9);
  box-shadow: 0 14px 32px rgba(199, 139, 173, 0.18);
}

.contact-row {
  margin-bottom: 8px;
}

.contact-row strong {
  display: block;
  font-size: 0.86rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.contact-form label {
  font-size: 0.78rem;
  color: var(--text-soft);
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-form input,
.contact-form textarea,
.contact-form select,
form input,
form textarea,
form select {
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(222, 183, 207, 0.9);
  margin-bottom: 10px;
  font-size: 0.85rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.95);
}

.contact-form textarea,
form textarea {
  resize: vertical;
  min-height: 80px;
}

/* =========================================
   FOOTER
   ========================================= */

footer {
  border-top: 1px solid rgba(243, 196, 216, 0.6);
  padding: 18px 0 26px;
  font-size: 0.8rem;
  color: var(--text-soft);
  background: rgba(255, 249, 253, 0.95);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 2fr 1.3fr 1.5fr;
  gap: 18px;
  align-items: flex-start;
}

.footer-brand {
  font-size: 0.84rem;
}

.footer-brand-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-links,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links a {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-tag {
  font-size: 0.75rem;
  margin-top: 6px;
}

.footer-bottom-row {
  max-width: 1120px;
  margin: 12px auto 0;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.75rem;
}

/* HERO SLIDER */

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border-radius: 18px;
  padding: 8px 12px;
  background: rgba(17, 8, 16, 0.78);
  color: #fff;
  font-size: 0.8rem;
  max-width: 80%;
  backdrop-filter: blur(8px);
}

.hero-caption h3 {
  margin: 0 0 2px;
  font-size: 0.92rem;
}

.hero-caption p {
  margin: 0;
  font-size: 0.78rem;
  color: #fbe9ff;
}

.hero-dots {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 6px;
  z-index: 3;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.15);
  padding: 0;
  cursor: pointer;
}

.hero-dot.active {
  background: #ffffff;
}


/* =========================================
   SOCIAL-LINKS PAGE (yellow card)
   ========================================= */

.wrap {
  max-width: 720px;
  margin: 24px auto;
  padding: 16px;
}

.social-card {
  background: #ffe9b8;
  border-radius: 24px;
  border: 1px solid #f3d39b;
  box-shadow: 0 18px 40px rgba(204, 140, 61, 0.22);
  padding: 20px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.social-tile {
  background: #fff7de;
  border-radius: 18px;
  padding: 10px;
  border: 1px solid #f3d39b;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.86rem;
}

.social-icon {
  font-size: 1.2rem;
}

.social-label {
  font-weight: 600;
}

.social-sub {
  font-size: 0.8rem;
  color: #82571a;
}

.whatsapp-tile {
  margin-top: 10px;
  background: #ffffff;
  border-radius: 18px;
  padding: 12px;
  border: 1px solid #bee3b6;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
}

.whatsapp-tile strong {
  color: #1b5e20;
}

.tarot {
  margin-top: 10px;
  background: #ffecc9;
  border-radius: 18px;
  padding: 10px;
  border: 1px solid #f3cfa4;
  font-size: 0.9rem;
}

/* =========================================
   RESPONSIVE BREAKPOINTS
   ========================================= */

@media (max-width: 900px) {
  .hero-inner,
  .about-grid,
  .course-grid,
  .gallery-grid,
  .testimonials,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 16px;
    background: rgba(255, 249, 253, 0.98);
    border-radius: 18px;
    border: 1px solid rgba(243, 196, 216, 0.9);
    box-shadow: 0 18px 48px rgba(161, 93, 126, 0.35);
    padding: 12px 18px;
    flex-direction: column;
    min-width: 200px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero-inner {
    gap: 24px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .course-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .social-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
