* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0099cc;
  --secondary-color: #032845;
  --accent-color: #ff6b35;
  --text-color: #333;
  --light-bg: #f5f5f5;
  --white: #ffffff;
  --light-grey: #ddd;
  --border-radius: 8px;
}

/* Local custom font */
@font-face {
  font-family: "Galimer-ExtraLight";
  src: url("assets/fonts/Galimer-ExtraLight.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family:
    "Galimer-ExtraLight",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ======================== NAVBAR ======================== */
.navbar {
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.nav-link {
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.navbar.black-nav .nav-link,
.navbar.black-nav .nav-link:hover,
.navbar.black-nav .nav-link.active {
  color: #000 !important;
}

.navbar.black-nav .navbar-brand {
  color: #000;
}

.navbar.black-nav .navbar-brand .navbar-logo {
  filter: brightness(0) !important;
}

.navbar.black-nav .navbar-toggler-icon {
  filter: brightness(0) !important;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
}

/* ======================== HERO SECTION ======================== */
.hero {
  min-height: 100vh;
  height: 100vh;
  padding-top: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 50%;
  padding: 70px 40px;
  border-radius: var(--border-radius);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 0px 25px 25px 0px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  animation: fadeInUp 1s ease-out both;
  transition: all 0.6s ease;
}

.hero-content:hover {
  transform: translateY(-10px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3); /* Optional overlay */
  z-index: -1;
}

.hero-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h2 {
  font-size: 35px;
  line-height: 1.2;
  margin-bottom: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-content h3 {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 25px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.cta-btn {
  background: rgba(255, 255, 255, 0.15);
  background: rgba(0, 119, 162, 0.4);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 40px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.3);
}

.cta-btn:hover {
  background-color: #0077a2;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 153, 204, 0.3);
}

/* ======================== SECTION TITLES ======================== */
.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  color: var(--text-color);
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

/* ======================== ABOUT SECTION ======================== */
.about {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background-color: var(--light-bg);
}

/* .about-content{
  background: url('assets/images/about.png');
  background-size: cover;
  color: var(--white);
} */

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('./assets/images/background-pattern-transparent.png') repeat;
  background-size: 15% auto;
  opacity: 0.25;
  pointer-events: none;
}

.about > .container {
  position: relative;
  z-index: 1;
}

.about-image {
  width: 100%;
  border-radius: var(--border-radius);
}

.about-text {
  padding: 10px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--border-radius);
  backdrop-filter: blur(3px);
}

.about-text h3 {
  font-size: 28px;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 20px;
}

.about-text p {
  color: #666;
  margin-bottom: 30px;
  line-height: 1.8;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  border: 1px solid var(--primary-color);
}

.feature-item i {
  font-size: 24px;
  color: var(--primary-color);
}

.feature-item span {
  font-weight: 600;
  color: var(--text-color);
}

/* ======================== COURSES SECTION ======================== */
.courses {
  padding: 80px 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("assets/images/courses.jpg") no-repeat center center fixed;
  background-size: cover;
  color: var(--white);
}

.courses .section-title {
  color: var(--white);
}

.courses .subtitle-title {
  text-align: center;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  font-size: 18px;
}

.course-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.course-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.course-content {
  padding: 25px;
}

.course-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--secondary-color);
}

.course-content p {
  color: #666;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
}

.explore-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.explore-link:hover {
  gap: 12px;
}

.explore-link i {
  font-size: 12px;
}

/* ======================== TESTIMONIALS SECTION ======================== */
.testimonials {
  padding: 80px 0;
  background-color: var(--white);
}

.testimonials-slider {
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
}

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  flex: 1;
}

.testimonial-card {
  background-color: var(--light-bg);
  padding: 25px;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.testimonial-header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-header h4 {
  color: var(--text-color);
  font-size: 16px;
}

.stars {
  display: flex;
  gap: 5px;
  color: #ffc107;
  font-size: 12px;
}

.testimonial-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

.slider-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.slider-btn:hover {
  background-color: #0077a2;
  transform: scale(1.1);
}

.testimonials-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--primary-color);
  width: 30px;
  border-radius: 5px;
}

/* ======================== EVENTS SECTION ======================== */
.events {
  padding: 100px 0;
  color: var(--white);
  position: relative;
}

.events::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%),
    linear-gradient(
      180deg,
      rgba(26, 58, 82, 0.9) 0%,
      rgba(0, 153, 204, 0.9) 100%
    ),
    url("assets/images/concert.png");
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  background-attachment: scroll;
  filter: blur(2.5px);
  z-index: -1;
}

.events .section-title {
  color: var(--white);
}

.events .section-title::after {
  background-color: var(--white);
}

.events-slider {
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
}

.events-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  flex: 1;
}

.event-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  color: var(--text-color);
  position: relative;
}

.event-card:hover {
  transform: translateY(-10px);
}

.event-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px 15px;
  border-radius: var(--border-radius);
  text-align: center;
  z-index: 10;
  font-weight: 700;
}

.event-date .day {
  display: block;
  font-size: 24px;
}

.event-date .month {
  display: block;
  font-size: 12px;
}

.event-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.event-content {
  padding: 25px;
}

.event-content h3 {
  font-size: 18px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.event-content p {
  color: #666;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
}

.event-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.event-link:hover {
  gap: 12px;
}

/* ======================== CONTACT SECTION ======================== */
.contact {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 30px;
}

.contact-info .section-title::after {
  left: 0;
  transform: translateX(0);
}

.contact-info > p {
  color: #666;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.info-item i {
  font-size: 24px;
  color: var(--primary-color);
  margin-top: 5px;
}

.info-item h4 {
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.info-item p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.submit-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn:hover {
  background-color: #0077a2;
  transform: translateY(-2px);
}

.navbar-brand img {
  width: 10%;
  /* position: absolute; */
  margin: -45px auto;
  filter: brightness(0) invert(1);
}

/* ======================== FOOTER ======================== */
.footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  width: 50%;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.8;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* ======================== RESPONSIVE DESIGN ======================== */
@media (max-width: 1024px) {
  .testimonials-track,
  .events-track {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    background-image: none;
    background: none;
  }

  .hero-content {
    width: 100%;
    padding: 40px 20px;
    border-radius: 25px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .testimonials-slider,
  .events-slider {
    flex-direction: column;
  }

  .slider-btn {
    display: none;
  }

  .container {
    padding: 0 25px;
  }

  .courses {
    background-attachment: scroll;
    background-position: center top;
  }

  .navbar-brand img {
    margin: 0;
    width: 100px;
  }
}
