/* Education Section *
.edu {
    background: linear-gradient(
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.5)
      ), url('../Images/1.png');
    background-size: cover;
    color: white;
    padding: 250px 20px;
    text-align: center;
}

/* Hero Title *
.edu h1 {
    font-family: '"IBM Plex Sans", serif';
    font-size: 3rem;
    margin-bottom: 10px;
    color: white;
    font-weight: bold;
}

/* Hero Subtitle *
.edu p {
    font-family: '"IBM Plex Sans", serif';
    font-size: 2rem;
    margin-bottom: 10px;
    color: white;
}*/
main {
    background: #edb5a1;
} 
.header-content {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: black;
    color: white;
    padding: 1rem 2rem;
  }
  
  main {
    padding-top: 100px;
  }
  
  .logo-wrapper {
    position: relative;
    text-align: center;
    margin: 50px auto 30px;
    max-width: 400px;
    height: 120px;
  }
  
  
  .logo-wrapper .science {
    position: absolute;
    top: -20px;
    left: 0;
    font-family: 'Pacifico', cursive;
    font-size: 2.2rem;
    color: #ff914d;
  }
  
  .logo-wrapper .behind {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: bold;
    color: #ff914d;
    margin: 0;
  }
  
  .logo-wrapper .hairdressing {
    position: absolute;
    right: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #ff914d;
  }
  
  .subtitle {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.6rem;
    font-weight: bold;
    color: #ff914d;
    text-shadow: 0 0 10px rgba(255, 145, 77, 0.6);
    letter-spacing: 1.5px;
  }
  /*
  .collage-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 1rem;
  }
  
  .collage-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px; /* Optional for rounded corners *
  }
*/

.collage-wrapper{
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Creates three equal columns */
    gap: 20px; 
    padding: 50px 5%;
}
  p{
    text-align: center;
    max-width: 800px;
    margin: 2rem auto;
}
h1, h2 {
  color: #ff914d;
  
}
.course-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.book-btn {
  display: inline-block;
  background-color: black;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.book-btn:hover {
  background-color: #ff6f61;
}
.sold-out {
  color: red;
  font-weight: bold;
  margin-top: 1rem;
}
/* Course Syllabus section*/
.course-section {
    margin: auto;
    margin-bottom: 20px;
    font-family: '"IBM Plex Sans", serif';
    padding: 20px;
    color: #C59D5F ;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    max-width: 800px;
    background-color: #7a8696;
    text-align: center;
}

/* Section Title */
.course-section h2 {
    margin-bottom: 10px;
}

/* Individual Course Block  */
.course1 {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #F5F5DC; /* Beige gray */
}

/* Download Button */
.download-btn {
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    transition: background 0.3s;
}

/* Change button color on hover */
.download-btn:hover {
    background: #ff6f61;
}


/* Courses Section */
.courses {
    font-family: '"IBM Plex Sans", serif';
    padding: 50px 20px;
    color: #C59D5F;
    text-align: center;
}

/* Section Title */
.courses h2 {
    margin-bottom: 20px;
}

/* Course List */
.course-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Individual Course Card */
.course {
    background-color: #7a8696;
    padding: 20px;
    width: 250px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

/* Course List Animation */
.course-list span{
    opacity: 0;
    transition: all .4s ease-in-out;
    color: rgb(50, 245, 169);
}

.course-list span.fade {
    opacity: 1;
}

/* Adds hover effect for better interaction */
.course:hover {
    transform: translateY(-5px);
}

/* FAQ Section */
.faq {
    font-family: '"IBM Plex Sans", serif';
    padding: 50px 20px;
    background: #fff;
}

/* Section Title */
.faq h2 {
    font-weight: bold;
    text-align: center;
}

/* FAQ Item */
.faq-item {
    margin: 10px 0;
    padding: 15px;
    background: #f1f1f1;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* Changes background color on hover */
.faq-item:hover {
    background: #e0e0e0;
}

/* FAQ Question */
.faq-question {
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

/* Toggle icon for expanding FAQ */
.toggle {
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    padding: 0 15px;
}

/* Expands answer when active */
.faq-answer.active {
    padding: 10px 15px;
}


/* Responsive Design */
@media (max-width: 951px) {
    .edu h1 {
        font-size: 1.5rem;
    }

    .edu p {
        font-size: 1rem;
    }
}






.image-container {
    position: relative;
    display: inline-block; /* Ensures container size matches the image */
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50%;
}

.masterclass-info {
    padding: 60px 20px;
    text-align: center;
    font-family: Arial, sans-serif;
  }
  
  .masterclass-info p {
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 500;
    margin: 0.8rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    color: #111;
  }
  