/* ========== Base Styles ========== */
body {
  font-family: 'Georgia', serif;
  margin: 0;
  padding-top: 100px;
  background: #f2e6fb;
}

/* ========== Header Styles ========== */
.site-header {
  position: relative;
  background-color: #000;
}

.fixed-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.banner {
  position: relative;
  width: 100%;
  height: 75px;
  background-color: #000;
  display: flex;
  justify-content: center;
}

/* ======== Image Styles ==============*/
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float-left {
  float: left;
  margin: 0 15px 10px 0; /* right & bottom spacing */
  width: 200px; /* optional */
  border-radius: 8px; /* optional */
}

.float-right {
  float: right;
  margin: 0 0 10px 15px;
  width: 200px;
  border-radius: 8px;
}

.image-text {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.image-text img {
  width: 200px;
  border-radius: 8px;
}

/* ========== Navbar ========== */
.navbar.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.45);
}

.nav-links {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  background: #444;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: block;
}

.nav-links a:hover {
  color: #b388ff;
}

/* ========== Mobile Menu ========== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 15px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
  }

  .nav-links.show {
    display: flex;
  }
}

/* Image and text layout */
.media-text {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap; /* allows stacking on small screens */
  margin: 2rem 0;
}

.media-image img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.media-image {
  flex: 0 0 330px; /* image stays around its original size */
}

.media-content {
  flex: 1;
  min-width: 280px; /* ensures text doesn’t get too cramped */
}

/* Responsive tweak — stack on narrow screens */
@media (max-width: 768px) {
  .media-text {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .media-image {
    flex: none;
    margin-bottom: 1.5rem;
  }

  .media-content {
    text-align: left;
  }
}

/* Flip image/text layout */
    .media-text.reverse {
      flex-direction: row-reverse;
    }

/* Lists */
ul {
  list-style-type: none; /* Removes bullets */
  padding-left: 0; /* Removes default indentation */
  text-align: center; /* Centers the list items within the ul */
}

li {
  margin: 0 10px; /* Adds space between items */
}

/* About Instructor */
.abinstruc {
    text-align: center;
}

/* =========================================
   Three-Column Section
   ========================================= */
.columns {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 3rem 0;
}

.column {
  flex: 1;
  min-width: 280px; /* ensures they stack cleanly on narrow screens */
  text-align: center;
 /* background: #fafafa; */
  border-radius: 10px;
  padding: 0.5rem;
  font-size: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.column:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.column img {
  width: 15%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.column h2 {
  color: #4e1f9f;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.column h3 {
  color: #222;
  font-size: 1.1rem;
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .columns {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ========== Footer ========== */
footer {
  text-align: center;
  padding: 0.1rem;
  background: #1a0a48;
  color: white;
}

.footer-social {
    width: 70px;
}
