/* ===== Global Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Base Styles ===== */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #333;
  background: #f9f9f9;
  line-height: 1.7;
}

/* ===== Navbar ===== */
.navbar {
  background: #F1C338;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 8%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 2px;
}

.logo-text p {
  font-size: 0.9rem;
  color: #444;
  margin: 0;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  transition: 0.3s;
}

.nav-links a:hover, 
.nav-links a.active {
  background: #222;
  color: #fff;
}

.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #222;
}

/* ===== HERO SECTION ===== */
.about-hero {
  position: relative;
  padding: 100px 6% 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-image: url("https://images.pexels.com/photos/3184465/pexels-photo-3184465.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.about-hero h1,
.about-hero p {
  position: relative;
  z-index: 2;
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  animation: fadeInDown 1s ease forwards;
}

.about-hero p {
  font-size: 1.3rem;
  animation: fadeInUp 1.2s ease forwards;
}

/* ===== TRAINING OPTIONS ===== */
.training-options {
  padding: 100px 8%;
  background: #fff;
  text-align: center;
}

.training-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.training-card {
  background: #fffbe8;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: 0.4s;
  text-align: left;
  cursor: pointer;
}

.training-card:hover {
  transform: translateY(-10px);
  background: #F1C338;
  color: #222;
}

.training-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.training-card h2 {
  font-size: 1.7rem;
  margin-bottom: 15px;
  color: #222;
}

.training-card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}

.training-card button {
  padding: 10px 18px;
  border: none;
  background: #222;
  color: #fff;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.training-card button:hover {
  background: #000;
}

/* ===== Footer ===== */
.footer-grid {
  background: #F1C338;
  padding: 60px 8%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  color: #222;
}

.footer-column h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
  position: relative;
}

.footer-column h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #222;
  margin-top: 8px;
  border-radius: 2px;
}

.footer-column p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  text-decoration: none;
  color: #222;
  transition: 0.3s;
}

.footer-column a:hover {
  color: #000;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.social-links a:hover {
  transform: translateX(5px);
}

.footer-bottom {
  background: #e2b92e;
  padding: 18px 8%;
  text-align: center;
  font-size: 0.95rem;
  color: #222;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* ===== Animations ===== */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-hero h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 75px;
    right: 20px;
    background: #F1C338;
    flex-direction: column;
    width: 220px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  .nav-links.active {
    display: flex;
  }

  .training-container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    align-items: center;
  }
}
