* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body{
    background-color:#f6f6f6;

}


#logo {
    width: auto;
    height: 80px;
  }

#navbar-1{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 5px 50px;
    gap: 40px;
    background-color:#c4c3c1cf; 
}


#navbar-1 a{
margin-top: 0px;
color:black;
text-decoration: none;
font-size: 17px;
font-weight: 570;
transition: color 0.2s ease;
}


#navbar-1 a:hover {
  color: #b24330; 
}


#banner{
  width: 100%;
  height: 60vh;       
  object-fit: cover;
 
}
#banner img{
opacity: 70%;
}

#button1{
    display: flex;
    justify-content: flex-end;
    margin-left: auto;  
    padding: 15px 1px;
    border: none;
    gap :30px;
 
}

#button1 a {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;

  background-color:#b24330;
  color: rgb(0, 0, 0);

  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

#button1 a:hover {
  background-color: #fae6c0;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}


/*
#textbanner1{
  font-size: 90px;
  position: absolute;
  top: 25%;
  left: 30%;
}
#textbanner2{
  font-size: 60px;
  position: absolute;
  top: 3%;
  left: 27%;
} */

#banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;  /* vertical center */
  align-items: center;      /* horizontal center */
  height: 60vh;
}

#banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

#banner h1,
#banner h3 {
  color: black;
  position: relative;  /* keeps text above image */
  margin: 2px;
  text-shadow: 0 4px 10px rgba(96, 96, 96, 0.6);
}

#banner h1 {
  font-size: 90px;
  text-shadow: #282828cf;

}

#banner h3 {
  font-size: 40px;
  margin-bottom: 28px;
}

#buttons{
  position: relative;
  display: flex;
 justify-content: center;
 gap :100px;
 height: 60px;
 width: auto;
 border: none;

}
#buttons a {
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background-color:#b24330;
  color: rgb(0, 0, 0);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
#buttons a:hover {
  background-color: #fae6c0;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/*#section2{
  display: flex;
  flex-direction: row;
  justify-content: center;
}*/

/*.card {
  width: 360px;
  text-align: center;
}*/

#section2 {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 20px;
  flex-wrap: wrap;
}

#section2 img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 10px;
}
.card {
  width: 380px;
  text-align: center;
  color: #b24330; 
font-weight: 200;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

#whatweteach {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

.teach {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
}


.teach.reverse {
  flex-direction: row-reverse;
}

.teach img {
  width: 50%;
  height: 270px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.teach-text {
  width: 45%;
  font-weight: 200;
  
}

button {
  padding: 6px 14px;
  
}
footer{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  background-color:#c4c3c1cf;

  }

#logo-footer{
    width: auto;
    height: 80px;
  }
  #footer p{
    width: 45%;
  font-weight: 200;

  }

  .btns {
    display: inline-block;
    padding: 12px 24px;
    background-color: #b24330; 
    color:#f6f6f6;
    text-decoration: none;   /* removes underline */
    border-radius: 6px;
    font-weight: 600;
    margin-top: 18px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    
  }
  .btns:hover {
    background-color: #391d1d;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  }
  #coachesbanner div{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
 
  }
  #coachesbanner h1{
    margin-top: 50px;
  }

  #learnmore{
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
  }

.more{
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
  margin-left: -18px;
}


.more.reverse {
  flex-direction: row-reverse;
}

.more video {
  width: 50%;
  height: 270px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.more-text {
  width: 45%;
  font-weight: 200;
  margin: 10px;
}

#inst{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap :30px;
  padding: 50px;
  margin-bottom: 20px;

}
.pf{
  width: 30%;
  text-align: center;
} 

.pf img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: 0 13px 15px rgba(0, 0, 0, 0.15);
  
}
#instructor h1{
 text-align: center;
 margin-bottom: 50px;
    box-shadow: 0 3px 15px #b244306e;;
 padding: 5px;
}

#intro{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 19px;
  padding: 30px;
  
}


#prices h2{
display: flex;
justify-content: flex-start;
margin-left: 22%;
margin-bottom: 19px;
margin-top: 60px;


}

/* table { 
  width: 100%;
  border-collapse:collapse;
  font-family: Arial, sans-serif;
  table-layout: fixed;
  margin-bottom: 105px;
  margin-left: 40px;
  margin-right: 40px;
  
 
}

 th, td {

  border: 1px solid #333;
  padding: 12px;
  text-align: center;
  vertical-align: middle;
  word-wrap: break-word;
}

th {
  background-color:#b24330;
  color: #f6f6f6;
  
}


tr:nth-child(even) {
  background-color: #a9a9a9a8;
  box-shadow: 0 9px 7px #37373723;
  
}
  */
  
  table{
    width: 90%;
    margin: 0 auto 105px auto;
    border-collapse: collapse;
    table-layout: fixed;
    font-family: Arial, sans-serif;
   
  }
  
  th, td {
    border: 1px solid #333;
    padding: 12px;
    text-align: center;
    vertical-align: middle;
    word-wrap: break-word;
  }
  
  th {
    background-color: #b24330;
    color: #f6f6f6;
  }
  
  /* zebra only */
  tbody tr:nth-child(even) td {
    background-color: #a9a9a9a8;
  }
  
  /* shadow safely on the cells, not the row */
  tbody tr:nth-child(even) td {
    box-shadow: inset 0 -9px 7px #37373723;
  }






#courses h2{
display: flex;
justify-content: flex-start;
margin-left:29.5%;
margin-bottom: 20px;



}
#timetable h2{
  display: flex;
  justify-content: flex-start;
  margin-left:65px;
  margin-bottom: 20px;
}


#Admin_prices h2{
  display: flex;
  justify-content: flex-start;
  margin-left:25%;
  margin-bottom: 20px;
  
}
#Admin_timetable h2{
  display: flex;
  justify-content: flex-start;
  margin-left:25%;
  margin-bottom: 20px;
  
}


#Admin_course h2{
  display: flex;
  justify-content: flex-start;
  margin-left:25%;
  margin-bottom: 20px;
  margin-top: 30px;
  
}
#Admin_instructor h2{
  display: flex;
  justify-content: flex-start;
  margin-left:25%;
  margin-bottom: 20px;
  margin-top: 30px;
  
}
.actions {
  white-space: nowrap;
}

.btn {
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  margin-right: 6px;
}

/* Colors */
.btn.add { background: #61dc95; color: #000000;}
.btn.edit { background: #7ea0ff; color: #000000; }
.btn.delete { background: #ff3131; color: #000000; }

.btn:hover {
  opacity: 0.85;
}

 .btn_admin{
  margin-left:20px ;
} 

.account-actions {
  width: 70%;
  margin-left: 55px;
  margin-bottom: 20px;

  display: flex;
  justify-content: flex-end;
}

.btn.add { background: #61dc95; color: #000000; }
.btn.renew { background: #7ea0ff; color: #000000; }
.btn.remove { background: #ff3131; color: #000000; }


/* ===== AUTH PAGE (Login / Signup) ===== */

.auth-page {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;      /* vertical center */
 margin-top: 40px;
 margin-bottom: 40px;
  margin-left: 120px;
}

/* Logo in the login card */
.auth-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

/* Buttons + links in your brand color */
.brand-btn {
  background-color: #b24330;
  color: #fff;
  border: none;
}

.brand-btn:hover {
  opacity: 0.9;
}

.brand-link {
  color: #b24330;
  text-decoration: none;
}

.brand-link:hover {
  opacity: 0.85;
}

.toggle-pass-btn {
  color: #b24330;
}

#toTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  padding: 19px 25px;
  font-size: 24px;
  border: none;
  border-radius: 50%;
  background-color: #b24330;
  color: white;
  cursor: pointer;
  display: none;
  z-index: 1000;
}

.account-actions{
  width: 90%;
  margin: 20px auto;
  justify-content: flex-end;
}

.account-actions form{
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.account-actions select{
  width: 260px;
  max-width: 100%;
}

/* ===========================
   Responsive Media Queries
   Paste at end of Style.css
   =========================== */

/* ---------- Large tablets / small laptops ---------- */
@media (max-width: 1024px) {
  #navbar-1 {
    padding: 10px 20px;
    gap: 18px;
    flex-wrap: wrap;
  }

  #button1 {
    margin-left: 0;
    padding: 10px 0;
    gap: 12px;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  #banner h1 { font-size: 64px; }
  #banner h3 { font-size: 28px; }

  #buttons {
    gap: 24px;
    height: auto;
    flex-wrap: wrap;
  }

  .card { width: 320px; }

  #prices h2,
  #courses h2,
  #timetable h2,
  #Admin_prices h2,
  #Admin_timetable h2,
  #Admin_course h2,
  #Admin_instructor h2 {
    margin-left: 20px;
  }

  .auth-page {
    margin-left: 0;
    padding: 0 16px;
    justify-content: center;
  }
}

/* ---------- Tablets / big phones ---------- */
@media (max-width: 768px) {
  #logo { height: 64px; }

  #navbar-1 a {
    font-size: 16px;
  }

  #banner {
    height: 52vh;
    padding: 0 14px;
    text-align: center;
  }

  #banner h1 { font-size: 46px; }
  #banner h3 { font-size: 22px; margin-bottom: 18px; }

  #buttons a {
    padding: 10px 18px;
    font-size: 15px;
  }

  /* Home cards */
  #section2 {
    gap: 18px;
    padding: 16px;
  }
  .card {
    width: 100%;
    max-width: 520px;
  }

  /* Two-column sections -> stacked */
  .teach,
  .more {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 50px;
    margin-left: 0; /* fixes .more margin-left:-18px */
  }

  .teach.reverse,
  .more.reverse {
    flex-direction: column;
  }

  .teach img,
  .more video {
    width: 100%;
    height: 240px;
  }

  .teach-text,
  .more-text {
    width: 100%;
  }

  /* Instructors grid -> 2 per row */
  #inst { padding: 24px; gap: 20px; }
  .pf { width: 45%; }

  /* Footer text wider */
  #footer p { width: 90%; }

  /* Tables: allow horizontal scroll on small screens */
  table {
    width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 60px;
  }

  /* ToTop button smaller */
  #toTopBtn {
    right: 18px;
    bottom: 18px;
    padding: 14px 18px;
    font-size: 18px;
  }

  .account-actions form {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .account-actions select {
    width: 100%;
  }
}

/* ---------- Small phones ---------- */
@media (max-width: 480px) {
  #navbar-1 {
    padding: 10px 14px;
    gap: 10px;
  }

  #navbar-1 h4 {
    width: 100%;
  }

  #button1 a {
    width: 100%;
    text-align: center;
  }

  #banner h1 { font-size: 34px; }
  #banner h3 { font-size: 18px; }

  #buttons {
    gap: 10px;
  }

  #buttons a {
    width: 100%;
    text-align: center;
  }

  /* Instructors -> 1 per row */
  .pf { width: 100%; }
  .pf img { width: 160px; height: 160px; }

  th, td {
    padding: 10px;
    font-size: 14px;
  }
}
