/* General Styles */
body {
    margin: 0;
    font-family: 'Adelphi PE', Arial, sans-serif; /* Set main font */
    box-sizing: border-box;
   
}



h1 {
    font-weight: 700; /* Bold */
}

h3 {
    color: white;
}





/* Make sure body and html elements are 100% width */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    /* overflow-x: hidden; */
   
}
html {
    scroll-behavior: smooth;
    text-decoration: none;
}


/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  position: fixed;
  background-color: #0099cc;
  width: 100%; /* Ensures full width, but no overflow */
  box-sizing: border-box; /* Include padding and border in the total width */
  z-index: 999;
}

.logo-and-lang {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 90px;
  height: auto;
}

.language-toggle {
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.language-toggle a {
  text-decoration: none;
  color: rgb(255, 255, 255);
  margin: 0 5px;
  font-weight: 600;
}

.language-toggle a:hover {
  color: #2287ca;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-weight: bold;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger-menu .bar {
  width: 30px;
  height: 4px;
  background-color: rgb(255, 255, 255);
  border-radius: 5px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-menu.open .bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.hamburger-menu.open .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.open .bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

@media (max-width: 768px) {

  html, body {
      overflow-x: hidden; /* Prevent horizontal scrolling */
      scroll-behavior: smooth;
  }

  .navbar {
      flex-wrap: wrap; /* Stack items on smaller screens */
      position: relative; /* Ensure proper stacking */
      z-index: 10; /* Ensure navbar stays above other elements */
      
  }

  /* Logo and Language Toggle */
  .logo-and-lang {
      display: flex;
      align-items: center;
      width: 100%;
      justify-content: space-between;
      margin-bottom: 10px;
  }

  /* Hamburger Menu */
  .hamburger-menu {
      display: flex; /* Show hamburger menu on mobile */
      position: relative; /* Ensure it stacks properly */
      z-index: 20; /* Higher than the logo */
  }

  /* Hide nav links by default on small screens */
  .nav-links {
      display: none;
      width: 100%;
      flex-direction: column;
      gap: 10px;
      padding: 10px;
      background-color:#0099cc;
      position: absolute;
      top: 80px;
      left: 0;
  }

  /* Show the nav links when the 'active' class is added */
  .nav-links.active {
      display: flex;
  }

  /* Make nav link items spaced with borders on mobile */
  .nav-links li {
      border-bottom: 1px solid white;
      padding: 10px 0;
  }

  .nav-links li:last-child {
      border-bottom: none;
  }
}










/* Hero Section */
.hero {
    position: relative;
    height: 110vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(255, 255, 255);
    text-align: center;
    margin-bottom: 0;
    overflow: hidden; /* Ensures the image doesn't overflow */
    background-color: rgb(0, 0, 0);
    padding-top: -10px;
}

  .hero-content {
    z-index: 2; /* Place the text content above the image */
    position: relative;
  }
  

  .hero-img {
    position: absolute;
    top: -1%;  /* Adjust this value to move the image up */
    left: 0;
    width: 100%;
    height: 100%; /* This will make the image fill the container */
    object-fit: cover; /* Makes sure the image covers the section */
    opacity: 0.5; /* Optional: Add transparency for a subtle effect */
}

.hero-content h1 {
    font-size: 3rem;
    margin: 0 0 15px 0;
    font-family: 'Adelphi PE', Arial, sans-serif; /* Adelphi PE font */
    font-variation-settings: "wght" 900; /* Use "Display Bold" weight */
    font-weight: 900; /* Fallback for older browsers */
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: 'Adelphi PE', Arial, sans-serif; /* Optional: match header */
    font-weight: 400; /* Normal weight */
}

.hero-content .cta {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #ff9800;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-family: 'Adelphi PE', Arial, sans-serif; /* Optional */
    font-weight: 600; /* Semi-bold for button */
}

.hero-content .cta:hover {
    background-color: #e58900;
}

/* Why Choose AcroFit Section */
.why-choose {
    background-color: #0099cc;
    padding: 50px 30px;
    text-align: center;
    color: white;
    position: relative;
    margin-bottom: 0; /* Remove bottom margin to remove gap */
}

/* Adding a shorter white dash with rounded ends at the bottom of the section */
.why-choose::after {
    content: "";
    display: block;
    width: 1500px; /* Shortened width of the dash */
    height: 5px; /* Dash thickness */
    background-color: white;
    position: absolute;
    bottom: 0; /* Position at the bottom of the section */
    left: 50%; /* Center it horizontally */
    transform: translateX(-50%); /* Adjust centering */
    border-radius: 10px; /* Rounded ends */
}

/* Title Styling */
.why-choose h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Adelphi PE', Arial, sans-serif;
    font-weight: 700;
}

/* Change size of text after the header in Why Choose AcroFit */
.why-choose p {
    font-size: 1.3rem; /* Adjust this to desired text size */
    margin-bottom: 20px;
    font-weight: 300;
}

/* Additional sections (same background color) */
section {
    background-color: #0099cc; /* Blue background for every section */
    padding: 50px 30px;
    text-align: left;
    color: white;
}



/* Programs Section */
.programs .header h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-family: 'Adelphi PE', Arial, sans-serif;
    font-weight: 700;
}

/* Programs Container */
.programs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* Space between program cards */
    justify-content: space-between;
}

/* Program Card */
.program-card {
    position: relative;
    width: calc(50% - 15px); /* Two items per row */
    height: 300px; /* Adjust height as needed */
    border-radius: 36px;
    overflow: hidden; /* Ensures rounded corners */
    background-color: #ddd; /* Placeholder background for image */
}

.program-card a {
    text-decoration: none !important; /* Remove underline */
}


/* Placeholder Image */
.program-image {
    width: 100%;
    height: 100%;
    overflow: hidden; /* Ensures no overflow */
    display: flex; /* Helps position the child image */
    justify-content: center;
    align-items: center;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the entire container */

}

/* Program Text */
.program-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-family: 'Adelphi PE', Arial, sans-serif;
}

.program-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}





.program-text .description {
    font-size: 1rem;
    margin-bottom: 10px;
}

.program-text .discover-more {
    font-size: 0.9rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}



/* Media Section */

.media-section .header h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-family: 'Adelphi PE', Arial, sans-serif;
  font-weight: 700;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.media-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.media-card video {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* Title overlay on video */

.media-title {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0,0,0,0.6);
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
}

/* Media Section Mobile */

@media (max-width: 768px) {

  .media-grid {
      grid-template-columns: 1fr; /* Stack videos */
  }

}

/* Programs Mobile Stack */

@media (max-width: 768px) {

  .program-card {
      width: 100%;
  }

}





/* Button Styling for Register Now and Programs */
.hero-content .cta, /* Hero CTA button */
.programs .cta { /* Programs section CTA button */
    background-color: transparent; /* Make background transparent */
    border: 2px solid white; /* White border */
    color: white; /* White text color */
    font-weight: 600; /* Semi-bold text */
    padding: 10px 20px; /* Same padding */
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; /* Transition effects */
}

.hero-content .cta:hover, /* Hero CTA button hover */
.programs .cta:hover { /* Programs section CTA button hover */
    background-color: #ffffff; /* White background on hover */
    color: #0099cc; /* Text color changes to the blue */
    border-color: #0099cc; /* Border color changes to the blue */
}

/* Footer Styling */
.footer {
    background-color: #123456; /* Replace with your dark blue color */
    color: white;
    padding: 40px 20px;
    text-align: left;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .footer-column {
    flex: 1;
    margin: 0 10px;
  }
  
  .footer-column h3 {
    font-size: 1.5em; /* Increased header size */
    margin-bottom: 15px;
    color: white;
  }
  
  .footer-column p, 
  .footer-column li, 
  .footer-credit {
    font-size: 1em;
  }
  
  .footer-column ul {
    list-style-type: disc;
    margin-left: 0; /* Align bullet points with header */
    padding-left: 0;
  }
  
  .footer-column ul li {
    margin-left: 20px; /* Add indentation to the list items */
  }
  
  .footer-column a {
    color: white;
    text-decoration: none;
  }
  
  .footer-column a:hover {
    text-decoration: underline;
  }
  
  .social-icon {
    width: 30px;
    height: 30px;
  }
  
  .footer-logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  
  .footer-logo img {
    max-width: 150px; /* Increased logo size */
    height: auto;
  }
  
  .footer-credit {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
  }

  
  
  
