.classes-header {
  text-align: center;
  padding: 3rem 1rem 2rem;
  background: linear-gradient(to right, #FF940E, #b50202);
  color: #004AAA;
}

.classes-header {
  width: 100%;              /* full width */
  display: block;           /* ensure it behaves like a block element */
  text-align: center;
  padding: 3rem 1rem 2rem;
  background: linear-gradient(to right, #FF940E, #b50202);
  color: #004AAA;
  box-sizing: border-box;   /* include padding in width calculation */
}

.logo-container {
  text-align: left;
  margin: 1rem 0 0 2rem; /* top/right/bottom/left spacing */
}

.logo-bounce-in {
  width: 200px; /* Adjust as needed */
  animation: slideDownBounce 1s ease-out forwards, bounce 2s ease-in-out infinite;
  animation-delay: 0s, 1s; /* Bounce starts after slide finishes */
  opacity: 0;
}

/* Slide from top */
@keyframes slideDownBounce {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Gentle bounce loop */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  background-color: #FFEBD2;
  color: #004AAA;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-top: 2rem;
  font-family: 'Alex Brush', cursive;
  color:#004AAA;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.tab-button {
  padding: 0.7rem 1.5rem;
  border: none;
  background-color: #030998;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.tab-button.active,
.tab-button:hover {
  background-color: #FEB803;
  color: #004AAA;
}

.tab-content {
  display: none;
  padding: 2rem;
}

.tab-content.active {
  display: block;
}

.class-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.class-card {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  width: 280px;
  text-align: center;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

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

.class-icon {
  font-size: 2.5rem;
  color: #FF940E;
  margin-bottom: 1rem;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.product-card {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  width: 280px;
  text-align: center;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

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

/* ------------------------------
   FLEXBOX GRID (for all cards)
--------------------------------*/
.product-grid,
.class-grid,
.packages-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;  /* equal height cards */
}

/* Ensure cards have same width */
.product-card,
.class-card,
.class-card.bundle-card {
  width: 280px;   /* match Classes page cards */
}

/* ------------------------------
   BUTTONS UNIFORM
--------------------------------*/
.button-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.buy-now,
.add-cart-btn {
  width: 120px; 
  font-size: 1rem;
  padding: 0.6rem 1rem;
  font-weight: bold; 
  border-radius: 5px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}

/* Keep your existing colors */
.buy-now {
  background-color: #ff9800;
  color: white;
}
.buy-now:hover {
  background-color: #b50202;
}

.add-cart-btn {
  background-color: #030998;
  color: white;
}
.add-cart-btn:hover {
  background-color: #b50202;
}


.price{ font-weight:800; color: #004AAD ; }

.bundle-card {
  border: 2px solid #FD8100;
}
.join-btn {
  background-color: #FEB803;
  color: #004AAA;
}

.join-btn:hover {
  background-color: #FF940E;
}

.lead-banner {
  text-align: center;
  background-color: #B3C9F5;
  padding: 2rem;
  margin-top: 3rem;
  border-radius: 10px;
}

.lead-banner input {
  padding: 0.5rem;
  width: 250px;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-right: 0.5rem;
}
.class-card,
.product-card,
.bundle-card {
  background-color: white;
}
/* Force all page sections to use the page background */
body,
html,
section,
main,
.tab-content,
.wrapper,
.page-section,
.classes-section {
  background-color: #FFEBD2 !important;
}

.join-btn {
  background-color: #FEB803;
  color: #004AAA;
  font-size: 1.1rem;
}

.join-btn:hover {
  background-color: #FF940E;
}

.lead-banner {
  text-align: center;
  background-color: #B3C9F5;
  padding: 2rem;
  margin-top: 3rem;
  border-radius: 10px;
}

.lead-banner input {
  padding: 0.5rem;
  width: 250px;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-right: 0.5rem;
}
/* Restore Lead Banner Only — overrides the universal reset */
.lead-banner {
  background-color: #B3C9F5 !important;
  width: 100%;
  margin: 3rem auto;        /* center the section */
  text-align: center;
  padding: 2rem;
  border-radius: 10px;
}

.lead-banner input {
  background-color: white !important;
}

.join-btn {
  background-color: #FEB803 !important;
  color: #004AAA !important;
}