@font-face {
  font-family: "Plain";
  src:
    url("../fonts/Plain-Regular.woff2") format("woff2"),
    url("../fonts/Plain-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Plain";
  src:
    url("../fonts/Plain-Light.woff2") format("woff2"),
    url("../fonts/Plain-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Plain";
  src:
    url("../fonts/Plain-Bold.woff2") format("woff2"),
    url("../fonts/Plain-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}

:root {
  --primary-color: #25477a;
  --secondary-color: #1e3a63;
  --accent-color: #f13a11;
  --white-color: #ffffff;
  --dark-color: #171819;
  --about-bg-color: #f9f9f9;

  --gray-color: #909090;
  --link-color: #404040;
  --p-color: #000000;

  --base-font-family: "Inter", sans-serif;
  --font-weight-bold: 700;
  --font-weight-normal: 400;
  --font-weight-light: 300;
  --font-weight-thin: 100;

  --h1-font-size: 56px;
  --h2-font-size: 42px;
  --h3-font-size: 32px;
  --h4-font-size: 26px;
  --h5-font-size: 24px;
  --h6-font-size: 22px;
  --p-font-size: 20px;
  --base-font-size: 16px;
  --menu-font-size: 14px;

  --border-radius-large: 30px;
  --border-radius-small: 8px;
  --shadow-primary: 0 10px 30px rgba(37, 71, 122, 0.15);
  --shadow-hover: 0 20px 40px rgba(37, 71, 122, 0.2);
}

html,
body {
  background: var(--white-color);
  font-family: var(--base-font-family);
  overflow-x: hidden;
  width: 100%;
}

/*
   TYPOGRAPHY              
  */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", sans-serif;
  font-weight: var(--font-weight-bold);
  line-height: normal;
}

h1 {
  font-family: "Inter", sans-serif;
  font-size: var(--h2-font-size);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-transform: none;
  margin: 20px 0;
}

h2 {
  font-size: var(--h2-font-size);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--h3-font-size);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.01em;
  margin: 0;
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  color: var(--gray-color);
  font-size: var(--h6-font-size);
  line-height: inherit;
  margin: 0;
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
  line-height: 1.5em;
}

b,
strong {
  font-weight: var(--font-weight-bold);
  letter-spacing: 0;
}

.section {
  padding: 4.5rem 0;
}

/* BUTTON */

.custom-btn {
  background: transparent;
  border-radius: 50px;
  padding: 16px 32px;
  color: var(--white-color);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.bg-color {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--white-color) !important;
  border: none;
}

.bordered {
  border: 2px solid var(--primary-color);
  color: var(--primary-color) !important;
}

/*
     GENERAL               
  */

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  color: var(--link-color);
  font-weight: normal;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover,
a:active,
a:focus {
  color: var(--primary-color);
  outline: none;
  text-decoration: none;
}

/* BG OVERLAY */

.bg-overlay {
  display: none;
}
.bg-overlaynew {
  background: var(--dark-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}
/*
     MODAL              
*/

.modal-content {
  padding: 2rem 3rem;
}

.modal-header,
.modal-body,
.modal-footer {
  border: 0;
  padding: 0;
}

.membership-form a {
  color: var(--primary-color);
}

/*
    FEATURE          
*/

.feature {
  background: var(--dark-color);
  padding: 5rem 0;
}

/*
     MENU             
  */

/* HERO ENHANCEMENTS */
.hero {
  position: relative;
  padding: 140px 0 60px;
  background: #ffffff;
  overflow: hidden;
}

.hero .bg-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(37, 71, 122, 0.03) 0%,
    rgba(37, 71, 122, 0.08) 100%
  );
  z-index: 0;
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a63 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.hero-img-container {
  position: relative;
  display: inline-block;
}

.hero-image {
  border-radius: 40px;
  z-index: 2;
  position: relative;
  border: 10px solid #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.hero-img-badge {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: var(--accent-color);
  color: white;
  padding: 20px 30px;
  border-radius: 20px;
  z-index: 3;
  box-shadow: 0 15px 30px rgba(241, 58, 17, 0.3);
}

/* SECTION TITLES */
.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* FEATURE CARDS */
.feature-card {
  background: #fff;
  padding: 3rem;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.01);
  transition: all 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-hover);
}

.icon-box {
  width: 80px;
  height: 80px;
  background: rgba(37, 71, 122, 0.05);
  color: var(--primary-color);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto;
}

.custom-list li {
  margin-bottom: 12px;
  font-size: 16px;
  color: #4b5563;
}

.custom-list i {
  color: var(--primary-color);
}

/* COURSE CARDS */
.course-card {
  transition: all 0.4s ease;
  border: none;
  overflow: hidden;
  background: #fff;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
}

.course-icon-wrapper {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border-radius: 15px;
  margin: 24px 24px 0;
}

/* PROMO CARD */
.promo-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.promo-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  z-index: -1;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.bg-accent {
  background-color: var(--accent-color) !important;
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.custom-list-2 li {
  display: flex;
  align-items: center;
}

/* GALLERY ENHANCEMENTS */
.gallery-wrapper {
  position: relative;
  cursor: pointer;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(37, 71, 122, 0.8);
  opacity: 0;
  transition: all 0.4s ease;
}

.gallery-wrapper:hover .gallery-overlay {
  opacity: 1;
}

/* CONTACT & FORM ENHANCEMENTS */
.contact-card {
  border-top-width: 5px !important;
}

.form-control-modern {
  border: 2px solid #f1f5f9;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 15px;
  background: #f8fafc;
  transition: all 0.3s ease;
}

.form-control-modern:focus {
  border-color: var(--primary-color);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 71, 122, 0.1);
  outline: none;
}

.icon-box-small {
  width: 45px;
  height: 45px;
  background: rgba(37, 71, 122, 0.1);
  color: var(--primary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item:hover .icon-box-small {
  background: var(--primary-color);
  color: #fff;
  transform: rotate(10deg);
}

/* BENEFIT ITEMS */
.benefit-item {
  background: #fff;
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.icon-circle {
  width: 50px;
  height: 50px;
  background: #f8fafc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.benefit-item:hover .icon-circle {
  background: var(--primary-color);
}

.benefit-item:hover .icon-circle i {
  color: #fff !important;
}

.navbar {
  background: var(--white-color);
  padding: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.navbar-brand {
  color: var(--white-color);
  font-size: var(--h3-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  padding-top: 0;
}

.nav-item .nav-link {
  display: block;
  color: var(--dark-color);
  font-size: var(--menu-font-size);
  font-weight: 500;
  text-transform: uppercase;
  padding: 2px 6px;
}

.nav-item .nav-link.active,
.nav-item .nav-link:hover {
  color: var(--primary-color);
}

.navbar .social-icon li a {
  color: var(--primary-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0 10px 0 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none !important;
  box-shadow: none !important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transition:
    top 300ms 50ms ease,
    -webkit-transform 300ms 350ms ease;
  transition:
    top 300ms 50ms ease,
    transform 300ms 350ms ease;
  transition:
    top 300ms 50ms ease,
    transform 300ms 350ms ease,
    -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--primary-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon::before,
.navbar-toggler .navbar-toggler-icon::after {
  transition:
    top 300ms 350ms ease,
    -webkit-transform 300ms 50ms ease;
  transition:
    top 300ms 350ms ease,
    transform 300ms 50ms ease;
  transition:
    top 300ms 350ms ease,
    transform 300ms 50ms ease,
    -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--primary-color);
  width: 30px;
  height: 2px;
  content: "";
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}

/*
     HERO              
  */

.hero {
  background: var(--white-color);
  background-image: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
  vertical-align: middle;
  min-height: 80vh;
  position: relative;
  padding: 100px 0;
}

.hero-image {
  max-width: 100%;
  height: auto;
}

/*
     CLASS               
  */

.class-info {
  background: var(--white-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  transition: transform 0.3s ease;
}

.class-info:hover {
  transform: translateY(-10px);
}

.class-info img {
  border-radius: 2px 2px 0 0;
}

.class-info strong {
  color: var(--gray-color);
}
.class-price {
  background: var(--primary-color);
  border-radius: 10px;
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
  display: flex;
  position: absolute;
  top: -30px;
  right: 13px;
  width: 81px;
  height: 50px;
  /* line-height: 3.5rem; */
  text-align: center;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}
/* .class-price {
  background: var(--primary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
  display: block;
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  line-height: 3.5rem;
  text-align: center;
} */

/*
     SCHEDULE             
  */

.schedule {
  background: var(--dark-color);
}

.schedule-table {
  display: table;
  border: 0;
  text-align: center;
}

.schedule-table strong,
.schedule-table span {
  display: block;
  text-align: center;
}

.schedule-table strong {
  color: var(--white-color);
}

.schedule-table span {
  color: var(--gray-color);
}

.schedule-table span,
.schedule-table small {
  font-size: var(--menu-font-size);
  text-transform: uppercase;
}

.schedule-table small {
  position: relative;
  top: 10px;
}

.table .thead-light th,
.schedule-table tr td:first-child {
  background: var(--primary-color);
  border: 1px solid #212122;
  color: var(--white-color);
}

.schedule-table .thead-light th {
  border-bottom: 0;
  text-transform: uppercase;
}

.table-bordered td,
.table-bordered th {
  border: 1px solid #212122;
}

.table-bordered td {
  padding-bottom: 22px;
}

.table td,
.table th {
  padding: 1rem;
}

/*
      ABOUT & TEAM            
  */

.about {
  background: var(--about-bg-color);
}

.about-working-hours {
  border-left: 2px solid;
  padding-left: 3.5rem;
}

.about-working-hours strong {
  color: var(--white-color);
  opacity: 0.85;
}

.team-thumb {
  position: relative;
}

.team-info {
  background: var(--white-color);
  border-radius: 0 0 2px 2px;
  box-shadow: 6px 0 38px rgba(20, 20, 20, 0.1);
  padding: 20px;
  position: relative;
}

.team-info span {
  font-weight: var(--font-weight-light);
  opacity: 0.85;
}

.team-info .social-icon {
  position: absolute;
  top: 10px;
  right: 20px;
}

.team-info .social-icon li {
  display: block;
}

/*
     CONTACT              
  */

.webform input,
button#submit-button {
  height: calc(2.25rem + 20px);
}

.form-control {
  border-radius: var(--border-radius-small);
  margin: 1.3rem 0;
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--dark-color);
}

button#submit-button {
  background: var(--dark-color);
  border-color: transparent;
  color: var(--white-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

button#submit-button:hover {
  background: var(--primary-color);
}

.contact h2 + p {
  max-width: 90%;
}

.google-map {
  border-top: 1px solid #efebeb;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
}

.google-map iframe {
  width: 100%;
}

/*
     FOOTER              
  */

.site-footer {
  border-top: 1px solid #efebeb;
  padding: 3rem 0;
}

.site-footer a {
  color: var(--p-color);
  font-weight: var(--font-weight-light);
}

.site-footer p {
  font-size: var(--base-font-size);
}

.contact .fa,
.site-footer .fa {
  color: var(--primary-color);
}

/*
     SOCIAL ICON              
  */

.social-icon {
  position: relative;
  padding: 0;
  margin: 5px 0 0 0;
}

.social-icon li {
  display: inline-block;
  list-style: none;
}

.social-icon li a {
  text-decoration: none;
  display: inline-block;
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-bold);
  margin: 5px 10px;
  text-align: center;
}

.social-icon li a:hover {
  color: var(--primary-color);
}

/*
     RESPONSIVE STYLES              
  */

@media screen and (max-width: 992px) {
  .section {
    padding: 5rem 0;
  }

  .nav-item .nav-link {
    padding: 6px;
  }

  .navbar .social-icon {
    margin-top: 22px;
  }

  .navbar-collapse,
  .site-footer {
    text-align: center;
  }

  .schedule-table {
    display: block;
  }

  .modal-content {
    padding: 2rem;
  }
}

@media screen and (max-width: 767px) {
  h1,
  h2 {
    font-size: 25px;
  }

  p {
    font-size: 16px;
  }

  .about-working-hours {
    border-left: 0;
    padding: 22px 0 0 0;
  }

  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden;
  }

  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .contact h2 span {
    display: inline;
    margin-left: 10px;
  }

  .hero-text .mt-4 {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px;
    margin-bottom: 35px !important; /* Space between buttons and image */
  }

  .custom-btn {
    padding: 12px 15px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
    flex: 1;
    text-align: center;
    margin-right: 0 !important;
  }

  .text-primary.mt-3 {
    margin-bottom: 40px !important; /* Space after helpline */
  }
}

.small {
  font-size: 25px !important;
}

.holaImg {
  width: 100%;
  object-fit: cover;
}

.carH {
  font-size: 40px;
  font-weight: 600;
  color: #000 !important;
}

.carTxt {
  font-size: 30px;
  font-weight: 500;
  color: #454444 !important;
}
/* --- Modern Gallery Carousel --- */
.gallery-modern-carousel {
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

.gallery-modern-carousel .carousel-item {
  height: 480px;
}

.gallery-modern-carousel .carousel-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 1 !important; /* Force visibility */
  transition: transform 0.6s ease;
}

.gallery-modern-carousel:hover .carousel-item img {
  transform: scale(1.05);
}

.gallery-modern-carousel .carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: auto;
  transform: none;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  padding: 40px 20px 30px;
  text-align: center;
}

.gallery-modern-carousel .carousel-caption h5 {
  font-size: 1.5rem;
  color: #fff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-modern-carousel .carousel-caption p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.gallery-modern-carousel .carousel-control-prev,
.gallery-modern-carousel .carousel-control-next {
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 20px;
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-modern-carousel:hover .carousel-control-prev,
.gallery-modern-carousel:hover .carousel-control-next {
  opacity: 1;
}

.gallery-modern-carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
}

.gallery-modern-carousel .carousel-indicators .active {
  background-color: var(--primary-color);
  width: 25px;
  border-radius: 10px;
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
@media (max-width: 768px) {
  .section {
    padding: 3rem 0 !important;
  }
  .hero {
    padding: 80px 0 40px !important;
  }
}
