/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: Arial, sans-serif;
  height: 100%;
}


/* ===== Top Header ===== */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222;
  color: #fff;
  padding: 8px 30px;
  font-size: 14px;
}

.top-header .contact span {
  margin-right: 15px;
}

.top-header .social a {
  color: #fff;
  margin-left: 12px;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s;
}
.top-header .social a:hover {
  color: #f39c12;
}

/* ===== Navigation ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .logo {
  font-size: 22px;
  font-weight: bold;
  color: #333;
}

nav .nav-links {
  display: flex;
  list-style: none;
}

nav .nav-links li {
  margin-left: 25px;
}

nav .nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: color 0.3s;
}
nav .nav-links a:hover {
  color: #f39c12;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;

}

.slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
}
.hero-content h1 {
  font-size: 42px;
  line-height: 1.4;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  background: url("/static/assets/images/t3.jpg") no-repeat center center fixed;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}


.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); /* dark overlay for readability */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background: #d6ff00;
  color: #000;
  font-weight: bold;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #c4e400;
}


/* Section background and heading */
.courses-section {
  background-color: #123c39;       /* dark green background like screenshot */
  padding: 60px 20px;
  text-align: center;
}

.section-title {
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 50px;
}

/* Container for image and text box */
.course-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;                 /* responsive on small screens */
}

/* Left image */
.course-image img {
  width: 100%;
  max-width: 550px;
  height: auto;
  object-fit: cover;
}

/* Right content box */
.course-content {
  background-color: #041b2d;        /* dark navy box */
  color: #fff;
  padding: 40px 30px;
  max-width: 550px;
  text-align: left;
  box-shadow: 5px 5px 20px rgba(0,0,0,0.3);
}

/* Heading inside content box */
.course-content h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Red underline */
.underline {
  width: 80px;
  height: 5px;
  background-color: red;
  border-radius: 3px;
  margin-bottom: 20px;
}

/* Paragraphs */
.course-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Responsive layout for small screens */
@media (max-width: 768px) {
  .course-container {
    flex-direction: column;
    align-items: center;
  }

  .course-image img,
  .course-content {
    max-width: 100%;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

.training-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 80px;
  gap: 40px;
}

.training-content {
  flex: 1;
}

.training-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #222;
}

.training-content ul {
  list-style-type: disc;
  padding-left: 20px;
  line-height: 1.6;
  color: #555;
}

.training-image {
  flex: 1;
  text-align: right;
}

.training-image img {
  max-width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.coaches-section {
  background-color: #1f3b3a; /* dark teal background */
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.coaches-section h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

.coaches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.coach-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  color: #000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.coach-image {
  position: relative;
}

.coach-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.menu-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f5f51f;
  color: #000;
  font-size: 20px;
  font-weight: bold;
  border-radius: 50%;
  padding: 8px 12px;
  cursor: pointer;
  border: 2px solid #000;
}

.coach-info {
  background: #f5f51f; /* yellow box */
  padding: 20px;
  text-align: left;
}

.coach-info h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: bold;
}

.coach-info p {
  margin: 0;
  font-size: 16px;
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: linear-gradient(90deg, #4CAF50, #00BCD4);
  color: white;
  padding: 15px 30px;
  font-size: 14px;
}

/* Left section */
.footer-left a {
  color: white;
  text-decoration: underline;
}

/* Center social icons */
.footer-center {
  display: flex;
  gap: 15px;
}

.footer-center a {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 10px;
  border-radius: 4px;
  transition: 0.3s;
}

.footer-center a:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Right section */
.footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-right a {
  color: white;
  text-decoration: none;
}

.footer-right a:hover {
  text-decoration: underline;
}

.footer-right span {
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}
