*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html{
  font-size: 62.5%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}
body{
  display: flex;
  flex-direction: column;
  line-height: 1.8;
}
main{
  flex: 1;
}
:root {
  --primary: #053e52;
  --secondary: #0d6efd;
  --accent: #00b4d8;
  --light: #f8f9fa;
  --dark: #343a40;
  --background: #f5f7fa;
  --background2: #eef5ff;
  --text: #333;
}

/* header styling */
header {
  top: 0;
  position: sticky;
  background: var(--background);
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 2rem;
}
/* logo */
.brand{
  max-height: 90px;
  width: 90px;
}
.brand img{
  height: 100%;
  width: 100%;
}
/* hamburger */
.hamburger{
  display: none;
}
/* navigation */
.nav-links{
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links li{
  list-style: none;
}
.nav-links a{
  text-decoration: none;
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 600;
  transition: color 0.3s; 
  position: relative;
}
.nav-links a:hover{
  color: var(--accent);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}


/* shared styles */
button{
  font-size: 2rem;
  padding: 1.5rem;
  border: none;
  border-radius: 30px;
  background-color: var(--accent);
  color: var(--light);
  cursor: pointer;
  transition: all 0.3s;
}
button:hover{
  background: var(--light);
  color: var(--accent);
  border: 1px solid var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
section{
  padding: 8rem 0;
}
.section-title {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title h1 {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent);
}

.section-title p {
  font-size: 1.8rem;
  color: var(--dark);
  max-width: 700px;
  margin: 0 auto;
}


/* home page styling */
/* hero */
.home-hero{
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)), url(./assets/images/hero.png);
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 90vh;
  justify-content: center;
}
.hero-content{
  color: var(--light);
  padding: 2rem;                                                            
  margin: auto;                         
  text-align: center; 
}
.hero-content h1{
  font-size: 4rem;
}
.hero-content p{
  font-size: 2.5rem;
  padding: 3rem 5rem;
}

/* about preview */
.about-content{
  text-align: center;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  padding: 0 5rem;
  gap: 5rem;
  align-items: center;
}

.about-text h1{
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.about-text p{
  font-size: 1.6rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* membership preview */
#membership-preview{
  background: var(--background2);
}

/* 
.levels{
  background: var(--background2);
  padding: 5rem;
  text-align: center;
} */

.membership-cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;  
  padding: 5rem 10rem;
}
.membership-card{
  background: var(--light);
  border-radius: 20px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
  padding: 0 0 4rem;
  text-align: center;
}
.top{
  background: var(--accent);
  border-radius: 20px 20px 0px 0px;
  padding: 3rem 0rem;
  text-align: center;
  color: var(--light);
}
.top h2{
  font-weight: 500;
}
.top p{
  font-weight: bold;
  font-size: 3rem;
}
.benefits{
  padding: 3rem 5rem;
  list-style: circle;
}
.benefits li{
  text-align: left;
  font-size: 1.6rem;
}
.membership-button{

}

/* programs preview */
.program-content{
  text-align: center;
}
.program-cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;  
  padding: 0rem 10rem;
}
.program-card{
  background: var(--light);
  border-radius: 20px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
  padding-bottom: 2.5rem;
}
.program-image{
  height: 300px;
}
.program-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px 20px 0px 0px;
}
.program-details{
  padding: 3rem;
}
.program-details p{
  font-size: 1.6rem;
  margin-top: 1rem;
}

/* about */
/* about hero */
.about-hero{
  background: linear-gradient(rgba(0,0,0, 0.5), rgba(0,0,0,0.5)), url(./assets/images/about-hero.png);
  height: 70vh;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* mission and vision */
.mission-vision{
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background-color: var(--background2);
}
.mission-vision,
.board{
  padding: 5rem 2rem;
}
.mv-cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  padding: 5rem;
}
.mv-card{
  background: var(--light);
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.mv-card p{
  font-size: 1.6rem;
  margin-top: 2rem;
  /* font-weight: lighter; */
}

/*styling the  board */
.board{
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--background);
}
.members{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  padding: 5rem;
}
.member-card{
  background: var(--background2);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 2rem;
}
.member-image{
  height: 250px;
  border-radius: 10px;
}
.member-image img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center center;
}
.member-info{
  padding: 2rem 0rem;
}
.member-info h3{
  font-size: 2rem;
}
.member-info p{
  margin-top: 1rem;
  font-size: 1.6rem;
}
.member-social{
  margin-top: 1rem;
  font-size: 1.5rem;
}



/* membership */
.membership-hero{
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)), url(./assets/images/member.png);
  height: 70vh;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.eligibility{
  display: flex;
  flex-direction: column;
  padding: 10rem;
  align-items: center
}
.conditions{
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 1rem;  
  padding: 0rem 15rem;
}
.conditions p{
  font-size: 1.8rem;
  color: var(--text);
}

.membership-form{
  display: none;
}

/* programs */
/* Programs Hero */
.programs-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url(./assets/images/coach.png);
  background-size: cover;
  background-position: top;
  height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  display: flex;
}

.program-cards-main{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 4rem;  
  padding: 0rem 10rem;
}

.eligibility {
  padding: 5rem 2rem;
  background: var(--background2);
}

.eligibility-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.6rem;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.eligibility-table th,
.eligibility-table td {
  padding: 1.5rem;
  border: 1px solid #ddd;
  text-align: left;
}

.eligibility-table th {
  background: var(--primary);
  color: white;
  font-weight: bold;
}

.eligibility-table tr:nth-child(even) {
  background: #f9f9f9;
}

/* How to Apply */
.how-to-apply {
  background: var(--background);
  padding: 5rem 10rem;
}
.apply-steps {
  display: grid;
  gap: 1.5rem;
  margin: 0 auto;
}

.step {
  background: var(--light);
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  gap: 1.25rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.step-content h3 {
  margin: 0;
  font-size: 1.6rem;
  color: var(--primary);
}

.step-content p {
  margin: .5rem 0 0;
  font-size: 1.6rem;
  color: var(--text);
}
.cta{
  text-align: center;
  margin-top: 3rem;
}

.levels{
  padding: 2rem;
  margin-top: 2rem;
  border-radius: 12px;
  border: none;
  text-align: ;
}
.level-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.level-card {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.level-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.level-card.selected {
  border-color: var(--accent);
  background: #f0faff;
}

.level-card h4{
  text-align: center;
  font-size: 1.8rem;
  color: var(--primary);
}

.level-card p{
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--accent);
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 0rem 8rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.contact-details h4 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-details p {
  font-size: 1.6rem;
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.6rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  outline: none;
}

/* Page Content Styles */
.page-content {
  display: none;
  min-height: calc(100vh - 200px);
}

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



/* Footer */
footer {
  background: var(--primary);
  color: white;
  padding: 5rem 5rem 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 5rem;
  margin-bottom: 4rem;
}

.footer-col h3 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent);
}

.footer-col p {
  font-size: 1.5rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.col1{
  margin-right: 5rem;
}
.footer-links li {
  list-style: none;
  margin-bottom: 1rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--light);
  font-size: 1.5rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
}

.social-icons a {
  display:flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--light);
  font-size: 1.8rem;
  transition: all 0.3s;
}

.social-icons a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.5rem;
}

/* Modal Styles */
.modal-overlay {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
}
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  /* background-color: rgba(0, 0, 0, 0.7); */
}
.modal-content {
  background-color: var(--light);
  margin: 5% auto;
  padding: 20px;
  border-radius: 15px;
  width: 80%;
  max-width: 1000px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: var(--primary);
  text-decoration: none;
}
/* Form Styling */
.form-header {
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: white;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 10px 10px 0 0;
  margin: -20px -20px 20px -20px;
}
.form-header h1 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
}
.form-header p {
  font-size: 1.6rem;
  max-width: 600px;
  margin: 0 auto;
}
fieldset{
  border: none;
}
legend{
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: var(--primary);
}
form{
  font-size: 1.6rem;
}
form p{
  font-size: 1.8rem;
  padding: 1rem 0rem 2rem;
}
.personal-info{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  border: none;
  border-radius: 12px;
  margin-bottom: 2rem;
}
.form-group{
  display: flex;
  flex-direction: column;
}
.form-group label{
  margin-bottom: 1rem;
  font-weight: 600;
}
.form-group input,select,{
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 1rem;
  font-size: 1.6rem;
}
#professional-info{
  display: flex;
}
.message{
  font-size: 1.2rem;
  color: red;
}
.courses{
  padding: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border: none;
}
table{
  width: 100%;
  /* border-collapse: collapse; */
}

table input{
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: none;
  outline: none;
  background: none;
  font-size: 1.6rem;
}
.declaration{
  margin-top: 2rem;
  text-align: center;
}
.declaration p{
  text-align: left;
}
.agreement{
  /* margin-top: 1.5rem; */
}

.agreement label{
  font-size: 1.8rem;
}
.agreement a{
  text-decoration: none;
  color: var(--accent);
}
.submitBtn{
  width: 50%;
  margin: 20px auto;
  display: block;
  padding: 1.5rem;
  font-size: 1.8rem;
  border: none;
  border-radius: 20px;
  background-color: var(--accent);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s;
}
.submitBtn:hover {
  background-color: var(--primary);
}
/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  /* background-color: rgba(0, 0, 0, 0.7); */
}
.modal-content {
  background-color: var(--light);
  margin: 5% auto;
  padding: 20px;
  border-radius: 15px;
  width: 80%;
  max-width: 1000px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}
.close {
  color: var(--light);
  float: right;
  font-size: 5rem;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: var(--primary);
  text-decoration: none;
}
/* Form Styling */
.form-header {
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: white;
  padding: 3rem 2rem;
  border-radius: 10px 10px 0 0;
  margin: -20px -20px 20px -20px;
}
.form-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.form-header p {
  font-size: 1.6rem;
  max-width: 600px;
  margin: 0 auto;
}

legend{
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: var(--primary);
}
form{
  font-size: 1.6rem;

}
form p{
  /* text-align: center; */
  font-size: 1.8rem;
  padding: 1rem 0rem 2rem;
}
.personal-info{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  border: none;
  border-radius: 12px;
  margin-bottom: 2rem;
}
.form-group{
  display: flex;
  flex-direction: column;
}
.form-group label{
  margin-bottom: 1rem;
  font-weight: 600;
}
.form-group input,select{
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 1rem;
  font-size: 1.6rem;
}
.courses{
  padding: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border: none;
}
table{
  width: 100%;
  /* border-collapse: collapse; */
}

table input{
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: none;
  outline: none;
  background: none;
  font-size: 1.6rem;
}
.declaration{
  margin-top: 2rem;
  border: none;
}
.declaration p{
  text-align: center;
}
.agreement{
  /* margin-top: 1.5rem; */
  text-align: center;
}

.agreement label{
  font-size: 1.8rem;
}
.agreement a{
  text-decoration: none;
  color: var(--accent);
}
.submitBtn{
  width: 50%;
  margin: 20px auto;
  display: block;
  padding: 1.5rem;
  font-size: 1.8rem;
  border: none;
  border-radius: 20px;
  background-color: var(--accent);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s;
}
.submitBtn:hover {
  background-color: var(--primary);
}
.emergency-contact{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}


/* Responsive Design */
@media (max-width: 36rem) {
  header {
  top: 0;
  position: sticky;
  padding: 5rem;
}
.brand{
  position: absolute;
  left: 5%;
  max-height: 90px;
  width: 90px;
}
.brand img{
  height: 100%;
  width: 100%;
}
.hamburger {
  display: flex;
  font-size: 4.5rem;
  position: absolute;
  right: 5%;
}

.nav-links {
  position: fixed;
  top: 80px;
  left: -100%;
  flex-direction: column;
  background-color: var(--light);
  width: 100%;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem 0;
  gap: 2rem;
}

.nav-links.active {
  left: 0;
}
.section-title h1{
  font-size: 2.5rem;
}
.section-title p{
  font-size: 1.5rem;
}

.hero-content h1 {
  font-size: 2.5rem;
}

.hero-content p {
  font-size: 1.5rem;
  padding: 1rem;
}

.about-content,
.membership-cards,
.program-cards,
.program-cards-main,
.members,
.mv-cards {
  padding: 0 2rem;
  grid-template-columns: 1fr;
}
.contact-container {
  grid-template-columns: 1fr;
  padding: 0 2rem;
}

.personal-info {
  grid-template-columns: 1fr;
}
.emergency-contact{
  grid-template-columns: 1fr;
}
.modal{
  display: none;
}

.modal-content {
  width: 95%;
  margin: 10% auto;
}
.conditions{
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 1rem;  
  padding: 0rem 3rem;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}
.about-content h1{
  /* font-size: 2rem;
  text-align: left; */
  display: none;
}
.about-content p{
  font-size: 1.8rem;
  text-align: left;
}
 .how-to-apply {
  background: var(--background);
  padding: 5rem;
}
}