/* ============================================
   Rabbit DANCE COMPANY - Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700&family=Roboto:wght@300;400;500;700&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #1a237e;
  --primary-blue-light: #283593;
  --accent-blue: #3949ab;
  --dark-blue: #0d1042;
  --white: #ffffff;
  --text-dark: #333333;
  --text-gray: #666666;
  --text-light: #999999;
  --bg-light: #f5f5f5;
  --border-color: #e0e0e0;
  --header-height: 70px;
  --section-accent: #1a237e;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', 'Roboto', sans-serif;
  color: var(--text-dark);
  line-height: 1.8;
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

ul, ol {
  list-style: none;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(13, 16, 66, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-blue);
  position: relative;
}

.logo-icon::after {
  content: '02';
  position: absolute;
  bottom: 2px;
  right: 2px;
  font-size: 8px;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.logo-icon.has-image {
  background: none;
}

.logo-icon.has-image::after {
  display: none;
}

.logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 2px;
}

.logo-sub {
  font-size: 10px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  display: block;
  letter-spacing: 1px;
}

/* Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-menu a {
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  padding: 0 15px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background 0.3s ease;
}

.nav-menu a:hover {
  background: rgba(255,255,255,0.1);
}

.nav-menu a.contact-btn {
  background: var(--primary-blue);
  margin-left: 10px;
  padding: 0 25px;
  font-weight: 500;
}

.nav-menu a.contact-btn:hover {
  background: var(--accent-blue);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark-blue);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d1042 0%, #1a237e 30%, #0d1042 60%, #1a237e 100%);
  z-index: 1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="g" cx="50%" cy="30%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.05"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><rect fill="url(%23g)" width="100" height="100"/></svg>');
  background-size: cover;
}

/* Particle effect for hero */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  animation: float-up linear infinite;
}

@keyframes float-up {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
}

.hero-content h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 72px;
  font-weight: 700;
  letter-spacing: 8px;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.hero-content p {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 4px;
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s ease infinite;
}

.scroll-indicator::before {
  content: '';
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  animation: scroll-dot 2s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scroll-dot {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 20px; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Page Hero (sub pages) --- */
.page-hero {
  position: relative;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark-blue);
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13,16,66,0.85), rgba(26,35,126,0.85)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400"><rect fill="%231a237e" width="400" height="400"/><circle cx="200" cy="100" r="150" fill="%23283593" opacity="0.3"/><circle cx="100" cy="300" r="100" fill="%230d47a1" opacity="0.2"/></svg>');
  background-size: cover;
}

/* Stage lights effect */
.page-hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 30%;
  width: 200px;
  height: 300%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.15), transparent 70%);
  transform: rotate(15deg);
  pointer-events: none;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  top: -50%;
  right: 25%;
  width: 150px;
  height: 300%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.1), transparent 60%);
  transform: rotate(-10deg);
  pointer-events: none;
}

.page-hero h1 {
  position: relative;
  z-index: 2;
  font-family: 'Oswald', sans-serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 6px;
}

/* --- Section Styles --- */
.section {
  padding: 80px 20px;
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
  padding-left: 15px;
  border-left: 4px solid var(--section-accent);
  color: var(--text-dark);
  letter-spacing: 2px;
}

/* --- News Page --- */
.news-list {
  border-top: 1px solid var(--border-color);
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s ease;
}

.news-item:hover {
  background: rgba(26,35,126,0.03);
  padding-left: 10px;
}

.news-date {
  font-size: 14px;
  color: var(--text-gray);
  white-space: nowrap;
  min-width: 100px;
}

.news-title {
  font-size: 15px;
  color: var(--text-dark);
}

.news-title a:hover {
  color: var(--accent-blue);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 40px;
}

.pagination-info {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 10px;
  text-align: center;
}

.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-color);
  font-size: 14px;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.pagination a:hover {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

.pagination .current {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

/* --- Schedule Page --- */
.schedule-day {
  margin-bottom: 60px;
}

.day-title {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 600;
  padding-left: 15px;
  border-left: 4px solid var(--section-accent);
  margin-bottom: 25px;
  letter-spacing: 2px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.schedule-card {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.schedule-card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.schedule-card-img {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.schedule-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.schedule-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary-blue);
  color: var(--white);
  padding: 3px 12px;
  font-size: 12px;
  border-radius: 3px;
}

.schedule-badge.kids { background: #e91e63; }
.schedule-badge.general { background: var(--primary-blue); }
.schedule-badge.junior { background: #ff9800; }

.schedule-card-body {
  padding: 15px;
}

.schedule-card-body p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-gray);
}

.schedule-card-body p strong {
  color: var(--text-dark);
}

/* --- Price Page --- */
.price-intro {
  margin-bottom: 10px;
}

.price-intro .enrollment {
  font-size: 16px;
  margin-bottom: 30px;
}

.price-intro .enrollment .amount {
  color: #d32f2f;
  font-size: 22px;
  font-weight: 700;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.price-table-header {
  text-align: right;
  font-size: 14px;
  color: var(--text-gray);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.price-table tr {
  border-bottom: 1px solid var(--border-color);
}

.price-table td {
  padding: 20px 10px;
  font-size: 15px;
  vertical-align: middle;
}

.price-table td:first-child {
  font-weight: 500;
}

.price-table td:nth-child(2) {
  color: var(--text-gray);
  text-align: center;
}

.price-table td:last-child {
  text-align: right;
  font-weight: 500;
  white-space: nowrap;
}

.discount-section {
  margin-top: 60px;
}

.discount-box {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.discount-label h3 {
  color: var(--primary-blue);
  font-size: 18px;
  font-weight: 600;
}

.discount-label p {
  font-size: 12px;
  color: var(--text-gray);
}

.discount-values p {
  font-size: 16px;
  font-weight: 500;
}

.discount-values .red {
  color: #d32f2f;
  font-weight: 700;
}

/* --- Teachers Page --- */
.teachers-category {
  margin-bottom: 60px;
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.teacher-card {
  text-align: center;
  transition: transform 0.3s ease;
}

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

.teacher-photo {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #e0e0e0, #bdbdbd);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-name {
  font-size: 14px;
  font-weight: 500;
  margin-top: 8px;
}

/* --- Contact Page --- */
.contact-phone {
  background: var(--dark-blue);
  color: var(--white);
  padding: 30px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 15px;
}

.phone-icon {
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}

.phone-info p:first-child {
  font-size: 14px;
  margin-bottom: 5px;
}

.phone-number {
  font-family: 'Oswald', sans-serif;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 2px;
}

.contact-note {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 50px;
}

.contact-form-section {
  margin-top: 50px;
}

.form-note {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 25px;
}

.contact-form table {
  width: 100%;
  border-collapse: collapse;
}

.contact-form tr {
  border-top: 1px solid var(--border-color);
}

.contact-form tr:last-child {
  border-bottom: 1px solid var(--border-color);
}

.contact-form th {
  padding: 20px 15px;
  text-align: left;
  font-weight: 500;
  font-size: 14px;
  width: 180px;
  vertical-align: top;
  background: #fafafa;
}

.contact-form td {
  padding: 15px;
}

.required-badge {
  display: inline-block;
  background: #d32f2f;
  color: var(--white);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.contact-form textarea {
  height: 180px;
  resize: vertical;
}

.postal-code {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.postal-code input {
  width: 120px !important;
}

.postal-code button {
  padding: 8px 16px;
  background: #757575;
  color: var(--white);
  border: none;
  border-radius: 3px;
  font-size: 13px;
  cursor: pointer;
}

.submit-btn {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.submit-btn button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn button:hover {
  background: var(--accent-blue);
}

/* --- Privacy Policy --- */
.privacy-section {
  margin-top: 60px;
  padding: 30px;
  background: #fafafa;
  border-radius: 4px;
}

.privacy-section h3 {
  font-size: 18px;
  padding-left: 12px;
  border-left: 3px solid var(--section-accent);
  margin-bottom: 20px;
}

.privacy-content {
  font-size: 13px;
  line-height: 2;
  color: var(--text-gray);
  max-height: 300px;
  overflow-y: auto;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 3px;
}

.privacy-content h4 {
  color: var(--primary-blue);
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 8px;
}

/* --- Social Bar --- */
.social-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 60px 0 0;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.social-link:hover {
  opacity: 0.85;
}

.social-link.instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.social-link.dance-challenge {
  background: #455a64;
}

.social-link.line {
  background: #06c755;
}

.social-link.facebook {
  background: #1877f2;
}

.social-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.social-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.social-text small {
  font-size: 11px;
  opacity: 0.8;
}

/* --- Bottom Banners --- */
.bottom-banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.banner-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 16/10;
  background: var(--dark-blue);
}

.banner-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.banner-card:hover .banner-card-bg {
  transform: scale(1.05);
}

.banner-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 20px;
}

.banner-card-overlay h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
}

.banner-card-overlay p {
  font-size: 14px;
  margin-top: 5px;
}

.banner-desc {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-top: 10px;
  text-align: center;
}

/* --- Footer --- */
.footer {
  background: var(--white);
  border-top: 1px solid var(--border-color);
}

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

.footer-nav a {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  color: var(--text-gray);
  letter-spacing: 1px;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--primary-blue);
}

.footer-copyright {
  text-align: center;
  padding: 20px;
  background: var(--dark-blue);
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  letter-spacing: 1px;
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-blue);
}

/* --- Access Page (Map) --- */
.access-map {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 4px;
  margin-bottom: 30px;
}

.access-info {
  line-height: 2;
}

.access-info dt {
  font-weight: 600;
  display: inline;
}

.access-info dd {
  display: inline;
  margin-left: 10px;
}

/* --- Home Sections --- */
.home-section {
  padding: 100px 20px;
}

.home-section.dark {
  background: var(--dark-blue);
  color: var(--white);
}

.home-concept {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.home-concept h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 4px;
  margin-bottom: 30px;
}

.home-concept p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-gray);
}

.home-section.dark .home-concept p {
  color: rgba(255,255,255,0.7);
}

/* --- Mobile Menu Overlay --- */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13,16,66,0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.mobile-overlay.active {
  display: flex;
}

.mobile-overlay a {
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  padding: 10px 20px;
  transition: opacity 0.3s ease;
}

.mobile-overlay a:hover {
  opacity: 0.7;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .teachers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .hamburger {
    display: flex;
  }

  .hero-content h1 {
    font-size: 42px;
    letter-spacing: 4px;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .section {
    padding: 50px 15px;
  }

  .section-title {
    font-size: 22px;
  }

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

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

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

  .bottom-banners {
    grid-template-columns: 1fr;
  }

  .contact-form th {
    display: block;
    width: 100%;
    background: transparent;
    padding-bottom: 5px;
  }

  .contact-form td {
    display: block;
    padding-left: 0;
    padding-top: 0;
  }

  .contact-phone {
    flex-direction: column;
    text-align: center;
  }

  .phone-number {
    font-size: 28px;
  }

  .news-item {
    flex-direction: column;
    gap: 5px;
  }

  .discount-box {
    flex-direction: column;
    gap: 15px;
  }

  .footer-nav {
    gap: 15px;
  }

  .price-table td {
    padding: 12px 5px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .social-bar {
    grid-template-columns: 1fr;
  }

  .teachers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
