/* COLORS */
/* 
red: #661f2e
blue: #163351
bright blue: #183566

*/

/* ------------------------------
   Base Styles — Mobile First
--------------------------------*/
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: black;
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 17px;
}

h1, h2, h3 {
  margin: 0 0 15px 0;
  font-weight: 700;
}

.section-a {
  /* border-bottom: 1px solid #d5d5d5; */
  /* box-shadow: 0 15px 40px rgba(0,0,0,0.06);  padding: 50px 20px; */
  /* box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1); */
  margin: auto;
  align-items: center;
  /* background-color: #183566; */
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 60%);

}

.section-a .section-card {
  background-color: #183566;
  color: white;
}

.section-a .section-card h2 {
  color: white;
}

.section-card details {
  margin-bottom: 20px;
  padding-top: 1rem;
  padding-bottom: 1rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  border-radius: 10px;
}

.section-card details summary {
  font-size: 1.2em;
  cursor: pointer;
  margin-left: 1rem;
}

.section-card details div {
  background-color: white;
  color: black;
  padding: 10px;
  border-radius: 15px;
}

/* .section-card details:open div {
  background-color: #183566;
  color: white;
} */

#expand-content {
  background-color: #183566;
  color: white;
}

.section-b {
  /* border-bottom: 1px solid #d5d5d5; */
  /* box-shadow: 0 15px 40px rgba(0,0,0,0.06); */
  /* box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1); */
  /* padding: 50px 20px; */
  margin: auto;
  align-items: center;
  /* background-color: darkred; */
    /* background: linear-gradient(180deg, #fef0f0 0%, #eef3ff 60%); */

}

/* SECTION CARD */
.section-card {
  margin: auto;
  position: relative;
  background: white;
  border-radius: 5px;
  overflow: hidden;
  padding: 60px 20px;
  max-width: 900px;
  /* box-shadow: 0 15px 40px rgba(0,0,0,0.06); */
}

/* ------------------------------
   Header / Hero
--------------------------------*/
header {
  /* background: #1e1e1e; */
  /* background-color: white; */
  background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 60%);
  /* background: linear-gradient(169deg, #ffffff 41%, #cae7ff 108%); */
  color: black;
  padding: 100px 0px;
  text-align: center;
}

header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.logo {
  max-width: 100%;
  /* border: 1px solid #ccc; */
}

.hero-container {
  position: relative;
  display: inline-block;
  margin-top: 20px;
}

#address {
  position: absolute;
  width: max-content;
  bottom: 20%;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.welcome-section {
  text-align: center;
  padding: 40px 20px;
}

.hero-container img{
  mix-blend-mode: multiply;
  /* margin-bottom: 6rem;  */
}

/* ------------------------------
   Navigation
--------------------------------*/
.nav {
  border-bottom: 1px solid #ccc;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 12px;
  background: #163351;
  flex-wrap: wrap;
  
  position: sticky;
  top: 0;
  z-index: 1000;

}

.nav a {
  color: #faf2f2;
  text-decoration: none;
  font-weight: bold;
  /* font-size: 0.95rem; */
}

/* DROPDOWN MENU */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  color: #faf2f2;
  padding: 0;
  border: none;
  background: none;
  font-weight: bold;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: Arial, sans-serif;
}

.dropdown-btn:hover {
  opacity: 0.8;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #1a4d6d;
  min-width: 250px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  top: 100%;
  left: 0;
  border-radius: 4px;
}

.dropdown-content a {
  color: #faf2f2;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-weight: normal;
  font-size: 0.9rem;
}

.dropdown-content a:hover {
  background-color: #2b5baf;
  border-radius: 4px;
}

.dropdown-content a:first-child {
  border-radius: 4px 4px 0 0;
}

.dropdown-content a:last-child {
  border-radius: 0 0 4px 4px;
}

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

/* ------------------------------
   Intro Section
--------------------------------*/


.section-a h2 {
  color: #2b5baf;
}

.section-b h2 {
  color: #ba2e2e;
}

#intro {
  padding-top: 5rem;
  padding-bottom: 5rem;
}




/* ------------------------------
   Modules List
--------------------------------*/
.modules-list {
  padding-left: 20px;
  margin-bottom: 20px;
}

.companies {
  position: relative;
  z-index: 1;
}


.section-card img {
  max-width: 30%;
  position: absolute;
  right: 0;
  bottom: 0;
}


/* ------------------------------
   Instructor Section
--------------------------------*/
#instructor {
  border-bottom: 1px solid #ccc;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
}

.instructor {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.instructor-photo {
  width: 200px;
  border-radius: 10px;
  margin:auto;
}

/* Company logos */
.companies {
  display: flex;
  /* gap: 5px; */
  margin: -5px;
  justify-content: center;
  flex-wrap: wrap;
}

.companies > * {
  margin: 5px;
}

.companies img {
  width: auto;
  /* width: 70px; */
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  background: white;
  min-width: 0;
  
}

/* ------------------------------
   Form
--------------------------------*/
form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

form button {
  width: 100%;
  padding: 14px;
  background: #1e1e1e;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

/* ------------------------------
   Footer
--------------------------------*/
.footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 25px;
  margin-top: 40px;
}

/* 
RADIO BUTTONS
*/
/* Style the fieldset to remove default border and add spacing */
form fieldset {
  border: none;
  margin: 1em 0;
  padding: 0;
}

/* Make the legend stand out */
form fieldset legend {
  font-weight: 600;
  margin-bottom: 0.5em;
  display: block;
  color: #4ba0c8; /* match your link color */
}

/* Container for each radio label to align items center and add spacing */
form fieldset label {
  display: inline-flex;
  align-items: center;
  margin-right: 1.5em;
  cursor: pointer;
  font-weight: 500;
  color: #525252c2; /* text color */
}

/* Style the radio buttons */
form fieldset input[type="radio"] {
  margin-right: 0.4em;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #4ba0c8; /* modern way to color radios */
}



.instructor-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 20px; */
  justify-content: center;
}


/* Spacer for the tree image */
.spacer-tree {
  display: flex;
  justify-content: center;
  margin: 40px 0;
  max-width: 100%;
  gap: 5%;
}


.spacer-tree img{
  max-width: 15%;
}

.spacer-tree div {
  opacity: 0.2;
  width: 30%;
  border-bottom: 1px solid black;
}





/* ------------------------------
   Larger Screens (Tablet+)
--------------------------------*/
@media (min-width: 700px) {
  header h1 {
    font-size: 2.5rem;
  }

  .instructor {
    flex-direction: row;
  }

.section-card img {
  max-width: 15%;
}

}

/* ------------------------------
   Desktop Enhancements
--------------------------------*/
@media (min-width: 1000px) {
  nav a {
    font-size: 1rem;
  }

  header {
    padding: 5rem 5rem;
  }

  header > img {
    margin-bottom: 0;
  }

  .section {
    padding: 70px 20px;
  }

  .spacer-tree img {
    max-width: 7%;
  }

  #address {
  bottom: 10%;
}

}
