html, body {
  overflow-x: hidden;
}

/* General page style */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #1e1e2f;
  color: white;
  width: 100%;
  height: 100%;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;

}


/* Container */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  align-items: center;
}

/* Header */
header {
  background: #000;
  color: #fff;
  padding: 20px 0;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.logo span {
  color: #ff4500;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

nav .btn {
  background: #ff4500;
  padding: 8px 15px;
  border-radius: 4px;
}

/* Hero Section */
.hero-section {
  background: url('me2.jpg') no-repeat center center/cover;
  height: auto;
  height: 100vh;
  color: white;
  position: relative;
}

.hero-overlay {
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 10px;
}

.hero-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content h2 span {
  color: #ff4500;
}

.hero-btn {
  background: #ff4500;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}
/* Program Intro Heading Section */
.program-intro {
  text-align: center;
  padding: 50px 20px 20px;
  background-color: #fff;
}

.program-intro h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.program-intro h2 span {
  color: #ff3c3c;
}

.program-intro p {
  font-size: 16px;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

/* Cards Grid (already styled) */
.program-section {
  padding: 30px 20px 60px;
  background-color: #fff;
}


/* Program Section */
.program-section {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.program-section h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.program-section h2 span {
  color: #ff3c3c;
}

.program-section p {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #666;
  font-size: 16px;
}

/* Grid for the program cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

/* Individual Card Style */
.card {
  background-color: #fff;
  text-align: left;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.icon-box {
  background-color: #f44336;
  color: white;
  font-size: 28px;
  padding: 15px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 15px;
}

.program-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #111;
}

.program-section p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.program-section a {
  color: #ff3c3c;
  text-decoration: none;
  font-weight: bold;
}

.cta-banner {
  background-color: #222;
  background-image: url('gym-bg.jpg'); 
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  color: #fff;
  text-align: center;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
}

.cta-content h2 span {
  color: #ff3c3c;
}

.cta-content p {
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto 30px;
}

.cta-btn {
  background-color: #ff3c3c;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

/* Classes Intro */
.classes-section {
  padding: 40px 20px 10px;
  text-align: center;
  background-color: #fff;
}

.classes-section h2 {
  font-size: 32px;
  font-weight: bold;
}

.classes-section h2 span {
  color: #ff3c3c;
}

.classes-section p {
  max-width: 700px;
  margin: 10px auto 0;
  color: #555;
}

/* Main Classes Layout */
.our-classes {
  padding: 40px 20px;
  background-color: white;
}

.classes-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}


.our-classes .left {
  flex: 1;
  min-width: 250px;
}

.class-list {
  list-style: none;
  padding: 0;
}

.class-list li {
  background-color: #f5f5f5;
  padding: 12px 15px;
  margin-bottom: 10px;
  border-left: 4px solid transparent;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.3s ease;
  color: #666;
  font-weight: 500;
}

.class-list li.active {
  background-color: #000;
  color: white;
  font-weight: bold;
  border-left: 4px solid #ff3c3c;
}

.view-btn {
  display: inline-block;
  background-color: #ff3c3c;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  margin-top: 20px;
}


.our-classes .right {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.our-classes .right img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

.class-info h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.class-info p {
  font-size: 15px;
  color: #444;
  margin-bottom: 15px;
}

.schedule-btn {
  background-color: #ff3c3c;
  color: #fff;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}



/* Header */
header {
  background: #fff;
  color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
}

header h1 {
  font-size: 24px;
  margin: 0;
}

header h1 span {
  color: red;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

nav button {
  margin-left: 20px;
  background-color: red;
  color: white;
  border: none;
  padding: 8px 15px;
  cursor: pointer;
  border-radius: 4px;
}

/* Schedule Section */
.schedule {
  padding: 60px 20px;
  text-align: center;
  background-image: url('https://images.unsplash.com/photo-1599058917212-d4e7aa1e2631');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: white;
}

.schedule::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75); /* Dark overlay */
  z-index: 1;
}

.schedule * {
  position: relative;
  z-index: 2;
}

.schedule h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.schedule h2 span {
  color: red;
}

.schedule p {
  max-width: 500px;
  margin: 0 auto 30px;
  font-size: 16px;
}

/* Weekday selector */
.days {
  margin: 20px 0;
}
.days {
  margin: 20px 0;
}

.days span {
  margin: 0 10px;
  padding: 8px 15px;
  cursor: pointer;
  border-radius: 5px;
  background-color: #444;
  display: inline-block;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.days .active {
  background-color: red;
  color: white;
}

.days span:hover {
  background-color: red;
  color: white;
}


/* Table styling */
table {
  width: 80%;
  margin: 0 auto;
  border-collapse: collapse;
  background-color: #2e2e3e;
}

table th, table td {
  border: 1px solid #555;
  padding: 15px;
  text-align: center;
  font-size: 16px;
}

table th {
  background-color: #444;
  color: white;
}
.trainers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.trainer-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.trainer-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.trainer-card .role {
  color: red;
  font-size: 14px;
  margin-bottom: 5px;
}

.trainer-card h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #222;
}

.trainer-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.socials a {
  color: #444;
  font-size: 16px;
  transition: color 0.3s ease;
}

.socials a:hover {
  color: red;
}

/* Responsive Design */
@media (max-width: 992px) {
  .trainers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .trainers-grid {
    grid-template-columns: 1fr;
  }
}


.contact-section {
  padding: 80px 20px;
  background-color: #1a1a2e;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  align-items: stretch;
}

.contact-map {
  flex: 1;
  min-width: 300px;
  height: 400px;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-row input {
  flex: 1;
}

input, textarea {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  background-color: #ff3c3c;
  color: white;
  padding: 12px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #e03333;
}


@media (max-width: 600px) {
  .hero-section {
    min-height: auto;
    padding: 80px 20px;
    background-position: center top;
  }

  .hero-content h2 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .hero-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  nav a, nav button {
    display: block;
    width: 100%;
    padding: 10px;
  }

  nav .btn {
    margin: 10px 0;
  }
}
@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .classes-container {
    flex-direction: column;
    gap: 20px;
  }

  .our-classes .right, .our-classes .left {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  table {
    width: 100%;
    overflow-x: auto;
    display: block;
  }
}
@media (max-width: 768px) {
  body {
    padding: 0 10px;
  }

  .container {
    padding: 0 10px;
  }
}
