@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&display=swap');

:root {
  --primary-color: #F7D060;
  --secondary-color: #98D8AA;
  --accent-color: #FF9E79;
  --bg-color: #FFFDF7;
  --text-main: #5C5446;
  --text-light: #8A8174;
  --blob-peach: #FFE5D9;
  --blob-green: #D4E2D9;
  --blob-blue: #E0F4F7;
  --box-shadow: 0 8px 24px rgba(169, 155, 142, 0.15);
  --border-radius-lg: 32px;
  --border-radius-blob: 40% 60% 70% 30% / 40% 50% 60% 50%;
  --transition: all 0.3s ease;
  --card-padding-sp: 1.5rem;
  --card-padding-pc: 2.5rem;
}

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

body {
  font-family: 'Zen Maru Gothic', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.8;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

/* Visibility Utilities */
.sp,
.tab,
.pc {
  display: none !important;
}

@media (max-width: 767px) {
  .sp {
    display: block !important;
  }

  br.sp {
    display: inline !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .tab {
    display: block !important;
  }

  br.tab {
    display: inline !important;
  }
}

@media (min-width: 1024px) {
  .pc {
    display: block !important;
  }

  br.pc {
    display: inline !important;
  }
}

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

h1,
h2,
h3,
h4 {
  font-weight: 700;
  color: #4A4238;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(2deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes blob-morph {
  0% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }

  34% {
    border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
  }

  67% {
    border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
  }

  100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.8rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  background: rgba(255, 253, 247, 0.9);
  backdrop-filter: blur(10px);
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  max-width: calc(100% - 100px);
}

/* CSS-based crop for the sign */
.logo-img {
  width: auto;
  max-width: 100%;
  height: 70px;
  object-fit: contain;
  border-radius: 0;
}

.logo-img-small {
  width: 150px;
  height: 30px;
  object-fit: cover;
  object-position: center 10%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.hamburger {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: var(--bg-color);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 4rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95);
  transition: opacity 0.4s ease, visibility 0.4s, transform 0.4s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.menu-rabbit {
  width: 100px;
  max-width: 30%;
  margin-bottom: 0.5rem;
  animation: float 4s ease-in-out infinite;
}

.mobile-nav ul {
  list-style: none;
  text-align: center;
  margin-bottom: 1.5rem;
}

.mobile-nav ul li {
  margin-bottom: 1rem;
}

.mobile-nav ul li a {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
}

.nav-contact {
  margin-top: 0;
}

/* Helper for subpages */
.pt-top {
  padding-top: 110px;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 9rem 1.5rem 4rem;
  text-align: center;
  overflow: hidden;
  z-index: 5;
  /* Create stacking context for bubbles */
}

.hero h1,
.hero p,
.hero-image {
  position: relative;
  z-index: 10;
  /* Ensure content is above bubbles */
}

.hero-bg-blob {
  position: absolute;
  top: -50px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--blob-peach);
  border-radius: 50%;
  opacity: 0.8;
  z-index: 1;
  animation: blob-morph 10s infinite alternate;
}

.hero-bg-blob-2 {
  position: absolute;
  bottom: 0;
  left: -80px;
  width: 250px;
  height: 250px;
  background: var(--blob-green);
  border-radius: 50%;
  opacity: 0.8;
  z-index: 1;
  animation: blob-morph 12s infinite alternate-reverse;
}

.hero-image {
  position: relative;
  width: 100%;
  max-width: 550px;
  animation: float 6s ease-in-out infinite;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  position: relative;
  z-index: 10;
}

.hero h1 span {
  display: block;
  color: var(--secondary-color);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  color: var(--text-light);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--border-radius-blob);
  box-shadow: var(--box-shadow);
  border: 8px solid white;
  position: relative;
  z-index: 11;
  /* Combine animations: fadeIn for opacity, blob-morph for shape */
  animation: fadeIn 0.8s ease-out forwards, blob-morph 15s infinite alternate;
}

.hero-image img.hero-img-exterior {
  object-position: center 30%;
  /* Shift image content downwards to show sign */
}

/* Wavy Section Separators using SVG background */
.wave-top,
.wave-bottom {
  width: 100%;
  height: 40px;
  /* Adjust height */
  background-repeat: no-repeat;
  background-size: 100% 100%;
  /* Ensure the wave stretches to full width/height */
  background-position: bottom;
}

.wave-top {
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V120H0V0C54.43,26.5,108.57,59.34,163.66,74.72,216.59,89.47,270.78,66.86,321.39,56.44Z" fill="%23fff" /></svg>');
  height: 80px;
  /* 40px wave + 40px white space */
  background-size: 100% 40px;
  background-position: top;
  border-bottom: 40px solid #fff;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 5;
  pointer-events: none;
  /* Make clicking/scrolling pass through */
}

/* Sections */
section {
  padding: 1.5rem 0.75rem;
  position: relative;
  scroll-margin-top: 110px;
}

@media (min-width: 480px) {
  section {
    padding: 2rem 1.5rem;
  }
}

.section-title {
  text-align: center;
  font-size: clamp(1.4rem, 6vw, 1.8rem);
  margin: 1.5rem auto 2.5rem;
  position: relative;
  display: block;
  width: fit-content;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 15%;
  width: 70%;
  height: 6px;
  background: var(--primary-color);
  border-radius: 4px;
}


/* Instagram Special Decoration */
.insta-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.insta-title-main {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
  padding: 0.4rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#eapps-instagram-feed-1 {
  margin: 0 auto;
}

/* Force 4 columns for Instagram widget on mobile */
@media (max-width: 767px) {

  div[class*="elfsight-app"] div[class*="GridInner"],
  div[class*="elfsight-app"] div[class*="PostsGrid__Inner"],
  div[class*="elfsight-app"] div[class*="Layout__Inner"] {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 4px !important;
  }

  /* Adjust image ratio/size if necessary */
  div[class*="elfsight-app"] div[class*="Post__Media"] {
    padding-top: 100% !important;
  }
}

.news-list-container {
  max-height: 200px;
  overflow-y: auto;
  padding-right: 10px;
  text-align: left;
}


/* News & Instagram */
.news-insta {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: var(--card-padding-sp);
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
  position: relative;
}

@media (min-width: 480px) {
  .news-insta {
    padding: var(--card-padding-pc);
  }
}

.news-item {
  display: flex;
  flex-direction: column;
  border-bottom: 2px dashed #eee;
  padding: 1rem 0;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-size: 0.85rem;
  color: var(--accent-color);
  font-weight: 700;
}

.news-title {
  font-size: 1rem;
}

.news-list-container::-webkit-scrollbar {
  width: 6px;
}

.news-list-container::-webkit-scrollbar-track {
  background: var(--bg-color);
  border-radius: 4px;
}

.news-list-container::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  margin-bottom: 1.5rem;
  gap: 8px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

/* About Section */
.about {
  background: var(--blob-peach);
  border-radius: var(--border-radius-lg);
  margin: 2rem 1.5rem;
  padding: var(--card-padding-sp);
}

@media (min-width: 480px) {
  .about {
    padding: var(--card-padding-pc);
  }
}

.manager-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
}

.manager-avatar {
  width: 15rem;
  height: 15rem;
  border-radius: var(--border-radius-blob);
  box-shadow: var(--box-shadow);
  border: 4px solid white;
  margin-bottom: 1.5rem;
  object-fit: cover;
  transition: var(--transition);
}

.manager-avatar:hover {
  transform: scale(1.05) rotate(2deg);
}

.profile-flex {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .profile-flex {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    padding: 1rem 0;
  }

  .profile-flex.reverse {
    flex-direction: row-reverse;
  }

  .manager-avatar {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .manager-profile-content {
    flex: 1;
  }
}

/* Daily Life & Admission */
.card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: var(--card-padding-sp);
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
  margin-left: 0.75rem;
  margin-right: 0.75rem;
  text-align: left;
}

@media (min-width: 480px) {
  .card {
    padding: var(--card-padding-pc);
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }
}

.card-title {
  font-size: clamp(1.1rem, 4vw, 1.25rem);
  margin-bottom: 1.25rem;
  color: var(--primary-color);
  border-bottom: 2px solid var(--blob-peach);
  padding-bottom: 0.5rem;
  text-align: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* Profiles & Signatures */
.profile-signature {
  text-align: right;
  border-top: 1px solid #f0f0f0;
  padding-top: 1rem;
  margin-top: 1rem;
}

.profile-signature small {
  color: var(--text-light);
  display: block;
  margin-bottom: 0.5rem;
}

.profile-signature p {
  font-weight: 700;
  margin: 0;
}

.profile-meta {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.profile-name {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

/* Info Lists & Tables */
.philosophy-list {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-main);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: center;
}

.philosophy-list li {
  margin-bottom: 0.5rem;
  position: relative;
}

.philosophy-list li::before {
  content: '\f4d8'; /* Font Awesome seedling icon */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--secondary-color);
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.policy-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
}

.policy-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: left;
}

.policy-list li:last-child {
  margin-bottom: 0;
}

.policy-list li::before {
  content: '\f4d8'; /* Font Awesome seedling icon */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.info-table {
  width: 100%;
  font-size: 0.9rem;
  text-align: left;
  border-collapse: collapse;
  margin-top: 0;
  margin-bottom: 1rem;
}

.info-table tr {
  border-bottom: 1px dashed #ddd;
}

.info-table th {
  padding: 0.75rem 0;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.info-table td {
  padding: 0.75rem 0;
  text-align: right;
}

#facility-info .info-table th {
  width: 30%;
  text-align: left;
}

#facility-info .info-table td {
  text-align: left;
}

/* Associated Facilities */
.associated-desc {
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.associated-card {
  font-size: 0.85rem;
  text-align: left;
  margin-bottom: 1rem;
  background: #fafafa;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: var(--transition);
}

.associated-card:hover {
  background: white;
  border-color: var(--primary-color);
  box-shadow: var(--box-shadow);
  transform: translateY(-2px);
}

.associated-card:last-child {
  margin-bottom: 0;
}

/* Utils */
.mb-lg {
  margin-bottom: 2.5rem !important;
}

.mb-md {
  margin-bottom: 1.5rem !important;
}

.mb-sm {
  margin-bottom: 1rem !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.text-left {
  text-align: left !important;
}

.text-center {
  text-align: center !important;
}

.text-right {
  text-align: right !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.card p {
  font-size: clamp(0.85rem, 3.8vw, 0.95rem);
  line-height: 1.6;
}

.admission-alert {
  background: var(--blob-blue);
  border: 2px dashed var(--secondary-color);
  box-shadow: none;
  /* Special alert look without card shadow */
}

/* Specialized Card for Contact/Call-to-Action */
.card-contact {
  text-align: center;
  background: white !important;
  border: 2px solid #FEF5D4 !important;
  box-shadow: none !important;
}

.btn-secondary-outline {
  background: white !important;
  border: 2px solid var(--secondary-color) !important;
  color: var(--secondary-color) !important;
}

.btn-secondary-outline:hover {
  background: var(--secondary-color) !important;
  color: white !important;
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-q {
  padding: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: white;
  text-align: left;
}

.faq-q::before {
  content: 'Q.';
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-right: 8px;
}

.faq-a {
  padding: 0 1.2rem 1.2rem 2.8rem;
  display: none;
  color: var(--text-light);
  border-top: 1px dashed #eee;
  text-align: left;
}

.faq-item.active .faq-a {
  display: block;
  padding-top: 1.2rem;
}

/* Footer */
footer {
  background: white;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  border-top: 4px solid var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
}

.footer-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-nav a:not(:last-child)::after {
  content: '|';
  color: #ddd;
  font-weight: 400;
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Helper classes for home/access */
.access-address {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  text-align: center;
}

.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 1rem;
  aspect-ratio: 1 / 1;
  width: 100%;
}

/* Specific centering for home page cards */
#news,
#instagram,
#access {
  text-align: center;
}


/* Contact Form Styles */
.contact-form {
  text-align: left;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.required {
  font-size: 0.7rem;
  background-color: #ff6b6b;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background-color: #fafafa;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: #fff;
}

/* Download List Styles */
.download-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.download-list li {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px dashed #ddd;
}

.download-list li:last-child {
  border-bottom: none;
}

.dl-info strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.dl-info p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

/* Desktop Navigation Items */
.desktop-nav {
  display: none;
}

/* Multi-column Grid Utility */
.grid-2 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Media Queries for Tablet/Desktop */
@media (min-width: 768px) {
  body {
    background: #fdfaf5;
  }

  .container {
    max-width: 740px;
    margin: 0 auto;
    background: var(--bg-color);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    /* Prevent blobs from spilling out */
  }

  header {
    max-width: 740px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem 1rem 1rem;
    justify-content: center;
    background: rgba(255, 253, 247, 0.95);
  }

  .hamburger {
    display: none;
  }

  .desktop-nav {
    display: flex;
    flex-direction: row;
    /* Horizontal for menu + button */
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    margin: 0;
  }

  .desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 1.25rem;
    padding: 0;
    margin: 0;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .desktop-nav li a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
  }

  .desktop-nav li a:hover,
  .desktop-nav li a.active {
    color: var(--accent-color);
  }

  .desktop-nav li a.active {
    position: relative;
    pointer-events: none;
    cursor: default;
  }

  .desktop-nav li a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
  }

  .nav-contact-desktop {
    margin-left: 0.5rem;
  }

  .nav-contact-desktop .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    margin-bottom: 0;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero {
    padding-top: 15rem;
  }

  .pt-top {
    padding-top: 10rem;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1000px;
  }

  header {
    max-width: 1000px !important;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
    align-items: center;
  }

  .desktop-nav {
    width: 100%;
    justify-content: center;
    gap: 1.5rem;
  }

  .desktop-nav ul {
    gap: 1.25rem;
  }

  .nav-contact-desktop {
    margin-left: 1rem;
    flex-shrink: 0;
  }

  .hero {
    padding-top: 17rem;
  }

  .pt-top {
    padding-top: 12rem;
  }

  /* Restore and enlarge blobs for PC */
  .hero-bg-blob {
    width: 600px;
    height: 600px;
    top: -100px;
    right: -150px;
  }

  .hero-bg-blob-2 {
    width: 500px;
    height: 500px;
    bottom: -50px;
    left: -150px;
  }
}

/* School Tour Section Layout */
.tour-flex-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tour-illustration {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.tour-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}

.tour-content {
  flex: 1;
}

@media (min-width: 1024px) {
  .tour-flex-container {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    padding: 0.5rem;
  }

  .tour-illustration {
    width: 42%;
    margin: 0;
  }

  .tour-content {
    width: 58%;
  }

}