:root {
  --primary-red: #d32f2f;
  --accent-yellow: #ffeb3b;
  --dark-bg: #0a0a0c;
  --light-text: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--dark-bg);
  color: var(--light-text);
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* Typography & Solid Colors */
h1,
h2,
h3,
h4,
.logo {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-weight: 800;
}
.text-left {
  text-align: left;
}

.text-red {
  color: var(--primary-red);
}
.text-yellow {
  color: var(--accent-yellow);
}

/* Ambient Glows */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
}
.glow-1 {
  width: 45vw;
  height: 45vw;
  background: rgba(211, 47, 47, 0.15);
  top: 5%;
  left: -10%;
}
.glow-2 {
  width: 40vw;
  height: 40vw;
  background: rgba(255, 235, 59, 0.1);
  bottom: 20%;
  right: -5%;
}

/* Universal Glassmorphism Class */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  border-radius: 16px;
}

/* Navbar */
nav.rounded-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 30px;
  position: fixed;
  width: 90%;
  top: 20px;
  left: 5%;
  z-index: 1000;
  transition: 0.3s;
  border-radius: 50px;
}
.logo {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}
.nav-links a {
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  color: white;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 1px;
  transition: 0.3s;
  font-weight: 700;
}
.nav-links a:hover {
  color: var(--accent-yellow);
}

/* Buttons */
.btn-red {
  font-family: "Montserrat", sans-serif;
  background: var(--primary-red);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
  letter-spacing: 1.5px;
}
.btn-red:hover {
  background: #b71c1c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(211, 47, 47, 0.4);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  padding: 150px 8% 50px;
  min-height: 80vh;
}
.hero-content {
  flex: 1;
  z-index: 2;
}
.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-stats {
  margin-top: 30px;
}
.stats-box {
  padding: 15px 25px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border-left: 5px solid var(--primary-red);
}
.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}
.circle-bg {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--primary-red);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.4;
  filter: blur(60px);
}
.hero-image img {
  filter: drop-shadow(10px 10px 30px rgba(0, 0, 0, 0.6));
  border-radius: 50px;
  height: 650px;
}

/* Section Defaults */
.section-title {
  font-size: 3rem;
  margin-bottom: 40px;
  text-align: center;
}

/* About Us Section */
.about-us {
  padding: 80px 8%;
}
.about-container {
  display: flex;
  gap: 60px;
  align-items: center;
}
.about-image {
  position: relative;
  flex: 1;
}
.about-image img {
  height: 600px;
  border-radius: 20px;
}
.about-text {
  flex: 1;
  padding: 40px;
}
.about-features {
  list-style: none;
  margin-top: 25px;
}
.about-features li {
  margin-bottom: 15px;
  font-size: 1.1rem;
}
.about-features i {
  color: var(--accent-yellow);
  margin-right: 15px;
  font-size: 1.2rem;
}

/* Programs Section */
.programs {
  padding: 80px 8%;
}
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.program-card {
  padding: 40px 25px;
  text-align: center;
  transition: 0.4s;
  border-bottom: 4px solid transparent;
}
.program-icon {
  font-size: 3.5rem;
  color: var(--primary-red);
  margin-bottom: 20px;
}
.program-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}
.program-card p {
  color: #bbb;
  font-size: 1rem;
  line-height: 1.6;
}
.program-card:hover {
  transform: translateY(-10px);
  border-bottom: 4px solid var(--accent-yellow);
  background: rgba(255, 255, 255, 0.05);
}
/* =========================================
   KEY ROLES & EXPERTISE SECTION
========================================= */
.roles-section {
  padding: 80px 8%;
  /* Adds a very subtle gradient background to separate it from other sections */
  background: linear-gradient(
    180deg,
    rgba(10, 10, 12, 1) 0%,
    rgba(18, 18, 22, 1) 100%
  );
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.role-card {
  padding: 40px 30px;
  text-align: center;
  transition: 0.4s ease-in-out;
  border-top: 4px solid transparent; /* Hidden border for hover effect */
}

.role-card:hover {
  transform: translateY(-10px);
  border-top: 4px solid var(--primary-red);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.role-card.highlight-card {
  border-top: 4px solid var(--accent-yellow);
  background: rgba(255, 235, 59, 0.03);
}

.role-card.highlight-card:hover {
  border-color: var(--accent-yellow);
}

.role-icon {
  font-size: 3.5rem;
  color: var(--primary-red);
  margin-bottom: 25px;
}

.role-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.role-card p {
  color: #bbb;
  font-size: 1rem;
  line-height: 1.6;
}
/* =========================================
   CLASS SCHEDULE SECTION
========================================= */
.schedule-section {
  padding: 80px 8%;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.schedule-card {
  padding: 40px 30px;
  text-align: center;
  transition: 0.3s;
}

.schedule-card:hover {
  transform: translateY(-5px);
  border-bottom: 4px solid var(--primary-red);
}

.schedule-card.highlight-card {
  background: rgba(255, 235, 59, 0.05); /* Slight yellow tint */
}

.schedule-card.highlight-card:hover {
  border-color: var(--accent-yellow);
}

.schedule-icon {
  font-size: 3rem;
  color: var(--primary-red);
  margin-bottom: 20px;
}

.schedule-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.schedule-card .days {
  color: #fff;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.05rem;
  letter-spacing: 1px;
}

.schedule-card .times {
  list-style: none;
  padding: 0;
  color: #bbb;
}

.schedule-card .times li {
  margin-bottom: 12px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.schedule-card .times i {
  color: var(--accent-yellow);
}
/* Infinite Scroll Logic */
.gallery {
  padding: 80px 0;
  overflow: hidden;
}
.testimonials {
  padding: 80px 0;
  overflow: hidden;
  text-align: center;
}
.scrolling-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}
.scrolling-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll-left 30s linear infinite;
}
.right-scroll {
  animation: scroll-right 30s linear infinite;
}
.scrolling-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Glass Testimonials & Gallery */
.test-box {
  width: 450px;
  padding: 35px;
  text-align: left;
  border-left: 4px solid var(--accent-yellow);
  white-space: normal;
}
.test-box p {
  font-style: italic;
  margin-bottom: 20px;
  color: #eee;
  font-size: 1.1rem;
  line-height: 1.6;
}
.test-box h4 {
  font-size: 1.1rem;
  color: var(--primary-red);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  text-transform: none;
}

.glass-image {
  width: 350px;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
  transition: 0.3s;
  opacity: 0.8;
}
.glass-image:hover {
  opacity: 1;
  transform: scale(1.03);
  border: 2px solid var(--accent-yellow);
}

/* =========================================
   CTA SECTION & PROFESSIONAL CONTACT GRID
========================================= */

/* CTA Section */
.cta-section {
  padding: 40px 8% 20px;
}
.cta-banner {
  padding: 40px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(211, 47, 47, 0.1);
  border: 1px solid rgba(211, 47, 47, 0.3);
  border-radius: 16px;
  flex-wrap: wrap;
  gap: 30px;
}
.cta-banner p {
  color: #ccc;
  margin-top: 10px;
  font-size: 1.1rem;
}

/* Professional Contact Section */
.contact-section {
  padding: 60px 8% 80px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.contact-card {
  padding: 40px 30px;
  text-align: center;
  background: #111;
  border: 1px solid #222;
  border-radius: 16px;
  transition: 0.3s;
}
.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-red);
}

/* Highlighted Center Card */
.highlight-card {
  border-top: 4px solid var(--accent-yellow);
  background: #141414;
}
.highlight-card:hover {
  border-color: var(--accent-yellow);
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--primary-red);
  margin-bottom: 20px;
}
.contact-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  letter-spacing: 1px;
}
.contact-card p {
  font-size: 1.05rem;
  color: #ddd;
  line-height: 1.6;
  margin-bottom: 8px;
}

/* Contact Links without hover underline */
.contact-card a {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
  transition: 0.3s;
}
.contact-card a:hover {
  color: var(--accent-yellow);
  text-decoration: none;
}

.sub-text {
  font-size: 0.85rem;
  color: #888;
  font-style: italic;
  margin-top: 15px;
  display: block;
}

/* =========================================
   MODERN FOOTER (Map & Info Only)
========================================= */
.modern-footer {
  padding: 60px 8% 20px;
  background: #050505;
  border-top: 1px solid rgba(211, 47, 47, 0.3);
}

.footer-top {
  display: grid;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-top.dual-col {
  grid-template-columns: 1fr 1fr;
}

.footer-col p {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #aaa;
  line-height: 1.6;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}
.glass-icon {
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: white;
  transition: 0.3s;
  font-size: 1.2rem;
  text-decoration: none;
}
.glass-icon:hover {
  background: #25d366;
  transform: translateY(-5px);
  border-color: transparent;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #666;
  font-size: 0.9rem;
}
/* --- FULL WIDTH BOOKING SECTION --- */
.booking-section-full {
  width: 100vw;
  margin-left: calc(
    -50vw + 50%
  ); /* Forces absolute full-width if inside container */
  margin-bottom: 0;
  padding-bottom: 0;
  background: rgba(255, 255, 255, 0.02);
}

.booking-content-wrapper {
  width: 100%;
  border-radius: 0 !important; /* Removes rounding so it flushes with footer */
  border-left: none;
  border-right: none;
  border-bottom: none;
  padding: 80px 10%;
  box-sizing: border-box;
}

.booking-header {
  text-align: center;
  margin-bottom: 50px;
}

.form-title {
  font-size: 3.5rem; /* Increased font size */
  margin-bottom: 10px;
}

.form-subtitle {
  font-size: 1.2rem; /* Increased font size */
  color: #bbb;
}

/* Form Layout */
.form-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.field-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.full-span {
  grid-column: span 2;
}

.field-box label {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem; /* Larger font */
  font-weight: 700;
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.field-box input,
.field-box textarea {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  padding: 18px; /* Larger padding */
  border-radius: 10px;
  color: white;
  font-size: 1.1rem; /* Larger font */
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

.field-box input:focus,
.field-box textarea:focus {
  outline: none;
  border-color: var(--primary-red);
  background: rgba(211, 47, 47, 0.05);
}

.submit-area {
  text-align: center;
  margin-top: 40px;
}

.large-btn {
  padding: 20px 60px !important;
  font-size: 1.2rem !important;
  cursor: pointer;
}

.form-status {
  margin-top: 20px;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Remove spacing from footer */
.modern-footer {
  margin-top: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .form-grid-layout {
    grid-template-columns: 1fr;
  }
  .full-span {
    grid-column: span 1;
  }
  .form-title {
    font-size: 2.5rem;
  }
  .booking-content-wrapper {
    padding: 60px 5%;
  }
}
/* =========================================
   MEDIA QUERIES FOR RESPONSIVENESS
========================================= */

/* Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .about-text {
    padding: 30px;
  }
  .about-text h2.text-left {
    text-align: center;
  }
  .about-features {
    display: inline-block;
    text-align: left;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  nav.rounded-nav {
    padding: 8px 15px;
    width: 90%;
    left: 5%;
  }
  .logo {
    font-size: 1.4rem;
  }
  .nav-links {
    display: none;
  }
  .nav-btn-wrapper {
    margin-left: auto;
  }
  .nav-btn-wrapper .btn-red {
    padding: 8px 18px;
    font-size: 0.8rem;
    letter-spacing: 1px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero-stats {
    justify-content: center;
    display: flex;
  }
  .circle-bg {
    width: 280px;
    height: 280px;
  }
  .hero-image {
    margin-top: 40px;
  }

  .section-title {
    font-size: 2.5rem;
  }
  .programs {
    padding: 60px 5%;
  }

  .cta-section,
  .contact-section {
    padding-left: 5%;
    padding-right: 5%;
  }
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .footer-top.dual-col {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
}

/* Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
  .logo {
    font-size: 1.2rem;
  }
  .nav-btn-wrapper .btn-red {
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .stats-box {
    flex-direction: column;
    text-align: center;
    border-left: none;
    border-top: 5px solid var(--primary-red);
    padding: 20px;
  }
  .btn-red {
    width: 100%;
    font-size: 0.9rem;
    padding: 12px 20px;
  }

  .test-box {
    width: 300px;
    padding: 25px;
  }
  .glass-image {
    width: 250px;
    height: 180px;
  }
}
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .about-container {
    /* Changed to column-reverse so text comes first, then image */
    flex-direction: column-reverse;
    text-align: center;
    gap: 30px;
  }

  .about-text {
    padding: 30px;
    width: 100%;
  }

  .about-image {
    width: 100%;
  }

  .about-text h2.text-left {
    text-align: center;
  }

  .about-features {
    display: inline-block;
    text-align: left;
  }
}

/* Ensure no gaps before footer */
.booking-section-full {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.modern-footer {
  margin-top: 0 !important;
}
/* --- MOBILE FULL-WIDTH FIX --- */
@media (max-width: 768px) {
  /* ... existing mobile styles ... */

  .form-title {
    font-size: 2.2rem; /* Reduced from 2.5rem */
    margin-bottom: 5px;
  }

  .form-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  /* Reduces the gap between input fields */
  .form-grid-layout {
    grid-template-columns: 1fr;
    gap: 15px; /* Reduced from 30px */
  }

  .field-box {
    gap: 6px; /* Reduced from 12px */
  }

  .field-box label {
    font-size: 0.9rem; /* Reduced from 1.1rem */
  }

  /* Reduces the actual size of the input boxes */
  .field-box input,
  .field-box textarea {
    padding: 12px 15px; /* Reduced from 18px */
    font-size: 0.95rem; /* Reduced from 1.1rem */
    border-radius: 8px;
  }

  .large-btn {
    padding: 15px 40px !important; /* Made the button slightly smaller */
    font-size: 1rem !important;
  }

  .booking-content-wrapper {
    padding: 40px 5%; /* Reduced top/bottom padding of the section */
  }
}
html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevents any accidental horizontal scrolling */
  position: relative;
}
/* =========================================
   RESPONSIVE IMAGE FIXES FOR MOBILE
========================================= */

@media (max-width: 1024px) {
  /* Scale down slightly for tablets */
  .hero-image img {
    height: 500px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .about-image img {
    height: 450px;
    width: auto;
    max-width: 100%;
    object-fit: cover;
  }
}

@media (max-width: 768px) {
  /* Full responsive scaling for mobile phones */
  .hero-image img {
    height: auto;
    width: 100%;
    max-width: 400px; /* Prevents it from getting too wide */
    margin: 0 auto;
    display: block;
  }

  .about-image img {
    height: auto;
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
    margin: 0 auto;
    display: block;
  }

  /* Make sure the background blur circle doesn't overflow */
  .circle-bg {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 480px) {
  /* Extra adjustments for very small screens */
  .hero-image img,
  .about-image img {
    max-width: 90%; /* Leaves a small margin on the sides */
  }
}
