.main-container {
  background-image: url("../images/Taekwondo_landing.webp");
  background-size: cover;
  background-position: center;
  background-attachment: ß;
  display: flex; /* Flex container for layout */
  flex-direction: column;
  align-items: center;
  height: 100%;
  min-height: -webkit-fill-available;
  width: 100vw; /* Full viewport width */
  margin: 0;
  padding: 0;
  position: relative;
}
nav,
footer {
  display: none;
}
* {
  box-sizing: border-box;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Left Content */
.left-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Push content to the bottom */
  align-items: flex-start; /* Align items to the left */
  padding: 0 2rem;
  gap: 2rem;
  width: 50%; /* Half of the container width */
  height: 75%; /* Full height */
  box-sizing: border-box;
  position: absolute;
  top: auto;
  transform: translateY(33%); /* Move upward by 25% of parent's height */
  margin-bottom: 0;
}

.col-md-6 {
  flex: 1;
  max-width: none;
}

/* Hero Section */

/* .hero {
  padding-top: 0;
  padding-bottom: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
} */

/* .hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem;
  background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.488),
      rgba(33, 33, 33, 0.312)
    ),
    url("../images/Taekwondo_hero_bg.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
} */

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(33, 33, 33, 0.4)),
    /* url("https://www.transparenttextures.com/patterns/gray-floral.png");  */
      url("../images/Taekwondo_hero_bg.webp");
  background-size: cover; /* Makes texture sharper */
  border-radius: 12px; /* Adds a modern, rounded feel */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhances the premium vibe */
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  animation: fadeIn 1.2s ease;
}

.hero h1 {
  font-size: clamp(2.75rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(to right, #d7af13, #ffd700, #f2cf08);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  font-weight: 400;
  color: #e5e4e2;
}

/* Features Section */

.features {
  padding: 0.625rem 1rem;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  background: linear-gradient(to right, #c4c4c4, #e5e4e2);
}

.features h3 {
  font-size: 1rem;
  font-weight: bold;
}

.features h6 {
  font-size: 0.875rem;
  font-weight: bold;
}

.features p {
  font-size: 0.75rem;
}

.features .custom-icon {
  color: #ffbb33; /* Customize icon color */
  font-size: 1.125rem;
}

/* CTA Button */
.btn-cta {
  width: 160px;
  height: 40px;
  border: none;
  border-radius: 40px;
  background: linear-gradient(
    to right,
    #bf953f,
    #fcf6ba,
    #b38728,
    #fbf5b7,
    #aa771c
  );
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.1rem;
  color: rgb(121, 103, 3);
  font-weight: 900;
  position: relative;
  z-index: 2;
  transition-duration: 3s;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.144);
  background-size: 200% 200%;
  text-decoration: none;
  cursor: pointer;
}

.btn-cta:hover {
  -webkit-transform: scale(0.95);
  transform: scale(0.95);
  -webkit-transition-duration: 2s;
  transition-duration: 2s;
  animation: gradient 3s ease infinite;
  background-position: right;
  text-decoration: none;
  font-size: 20px;
}

.app-logo {
  position: absolute; /* Position relative to the viewport */
  max-width: 250px;
  max-height: 100%;
  z-index: 10;
  top: 0;
  margin: 0;
  align-self: flex-start; /* Align to the top-left corner */
  cursor: pointer; /* Makes it look clickable */
}

.app-logo:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
  opacity: 0.9;
}

.navbar {
  display: none;
}

.custom-icon {
  background: linear-gradient(to right, #ce8946, #ffa500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */

@media (max-width: 1125px) {
  .main-container {
    flex-direction: column;
    align-items: center; /* Center align the left-content */
  }

  .left-content {
    width: auto; /* Allow the content to fit within the viewport */
    max-width: 700px; /* Set the max size to match the desktop size */
    height: auto; /* Adjust height for flexibility */
    transform: translateY(0); /* Remove vertical translation */
    position: static; /* No need for absolute positioning */
    margin: 0 auto; /* Center horizontally */
    text-align: center; /* Optional: Center align text */
  }

  .hero h1 {
    font-size: 2rem; /* Adjust font size for smaller viewports */
  }

  .hero p {
    font-size: 0.9rem;
    color: #f2f3f4;
  }

  .hero-overlay {
    background: rgba(0, 0, 0, 0.7);
  }

  .features {
    background: rgba(0, 0, 0, 0.65);
    color: #f2f3f4;
  }

  .features h3 {
    font-size: 1rem; /* Make the "Why Choose Our App?" header more readable */
  }

  .features p {
    font-size: 0.85rem; /* Adjust paragraph text for readability */
  }

  .btn-cta {
    font-size: 1rem; /* Keep the CTA button size appropriate */
  }

  .right-side {
    display: none; /* Hide the right-side background image */
  }
}

@media (max-width: 770px) {
  .main-container {
    flex-direction: column; /* Stack everything */
    padding: 1rem; /* Add some breathing room */
  }
  .left-content {
    align-items: center; /* Center the text */
    text-align: center; /* Center-align text */
    width: 100%; /* Let it span the full width */
  }

  .hero {
    margin-top: 3rem; /* Pull it down */
  }

  .hero h1 {
    font-size: 1.8rem; /* Scale down the hero text */
  }
  .hero p {
    font-size: 0.9rem; /* Adjust paragraph size */
  }
  .btn-cta {
    width: 130px;
    height: 38px;
    font-size: 0.875rem;
  }

  .btn-cta:hover {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
    -webkit-transition-duration: 2s;
    transition-duration: 2s;
    animation: gradient 3s ease infinite;
    background-position: right;
    text-decoration: none;
    font-size: 1rem;
  }

  .app-logo {
    max-width: 180px; /* Scale the logo */
    margin-bottom: 1rem; /* Add space below */
  }

  .hero-overlay {
    padding: 15px;
  }

  .features {
    transform: scale(0.75);
  }

  .features {
    margin: 0;
    padding: 0 1rem; /* Reduce horizontal padding */
  }

  .features h3 {
    padding-top: 1rem;
  }

  .features h6 {
    margin: 0;
    padding: 0;
  }

  .features p {
    margin: 0;
    padding: 0;
  }
}
