
    html {
      scroll-behavior: smooth;
    }


    body {
      margin: 0;
      font-family: Arial, sans-serif;
      line-height: 1.6;
      background-color: #f4f4f4;
      color: #333;
    }
/* ================= HEADER & NAVIGATION ================= */

/* Base header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #222;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  flex-wrap: wrap;
}

/* Site title with optional logo */
.site-title img {
  max-height: 50px;
}

/* Hamburger menu button (hidden by default) */
.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* Desktop nav (visible on large screens) */
.desktop-nav {
  display: flex;
  gap: 1rem;
  margin: 0rem 2rem 0 2rem;
  flex-wrap: wrap;
}

.desktop-nav a {
  text-decoration: none;
  color: #639c28;
  font-weight: 800;
  padding: 0.5rem 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.desktop-nav a:hover {
  color: #d4d4d4;
}

/* Mobile drawer nav (hidden by default) */
.nav-drawer {
  display: none;
}

/* ================== MOBILE ================== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .desktop-nav {
    display: none;
  }

  .nav-drawer {
    display: block;
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #000;
    padding-top: 4rem;
    transition: left 0.3s ease-in-out;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 100;
  }

  .nav-drawer.open {
    left: 0;
  }

  .nav-drawer nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1.5rem;
  }

  .nav-drawer a {
    color: #fff;
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px solid #333;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
  }

  .nav-drawer a:hover {
    background-color: #cc9933;
    color: #000;
  }
}



/* end buger nav */


    .site-title {
      font-size: 1.2em;
      font-weight: bold;
      margin: 0rem 2rem 0 2rem; /* 🔁 Top: 1rem, Right & Left: 2rem, Bottom: 0 */
    }

    nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0rem 2rem 0 2rem; /* 🔁 Top: 1rem, Right & Left: 2rem, Bottom: 0 */
}


    nav a {
      margin-left: 4px;
      text-decoration: none;
      color: #3a8b0a;
      font-weight: 800;
      
      padding: 0.5rem 0.5rem;
      border-radius: 4px;
      transition: background-color 0.3s ease, color 0.3s ease;
    }
    nav a:hover {
      color: #d4d4d4;

    }
    
      /*  <! -- --> background-color: rgb(124, 134, 113);  */
     /*  <! --  min-width: 80%; --> */
    }
/* */ 
    #bio-text{
--bg-overlay-color: rgb(124, 134, 113);
--bg-gradient: 50;
min-width: 980px;

}


h1 {
  font-size: 40px;
}

.bio-font h1 {
font-size: 36px;
}

h2 {
  font-size: 30px;
}


p {
  font-size: 18px;
}

/* Offsets scroll position to avoid overlap from sticky nav */
/* [id] {
  scroll-margin-top: 100px;
} */




    .section {
      width: 100%;
    }
    .section-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 60px 20px;
    }
    .bg-green {
     background-color: #373c31;
     color: rgb(249, 249, 249);
}
    .bg-offwhite {
      background-color: #fdfdf9;
    }



    .flex {
      display: flex;
      flex-wrap: wrap;
      align-items: start;
      justify-content: space-between;
    }
    .bio-text, .gallery-text {
      flex: 1;
      padding: 10px; 
    }
    .bio-image, .gallery-slider {
      flex: 1;
      padding: 20px;
      text-align: center;
    }
    .bio-image img, .gallery-slider img {
      max-width: 80%;
      border-radius: 10px;
    }
    .gallery-slider {
      position: relative;
      overflow: hidden;
    }
    .gallery-slider .slides {
      display: flex;
      transition: transform 0.5s ease-in-out;
    }
    .gallery-slider .slides img {
      min-width: 100%;
      border-radius: 10px;
    }



  .video-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
  }

  .video-wrapper {
    flex: 1 1 60%;
    min-width: 300px;
    position: relative; /* Added to ensure overlay sits over the video */
  }

  .video-text {
    flex: 1 1 35%;
    min-width: 280px;
    padding: 10px;
  }

  .video-wrapper video {
    width: 100%;
    display: block;
    border-radius: 10px;
  }

  .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://BlingSmash.com/dennydormody/DENNY_DORMODY_SPEAKER/images/Speaking_Image.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 10px;
    z-index: 2; /* Ensures overlay is above the video */
  }

  .video-overlay svg {
    width: 60px;
    height: 60px;
    fill: white;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 10px;
  }

  @media(max-width: 768px) {
    .video-container {
      flex-direction: column;
      align-items: center;
    }
  }



    .testimonials {
      background: #fff;
      border-radius: 10px;
      padding: 40px;
    }
    .testimonial {
      margin-bottom: 20px;
      font-style: italic;
    }
    .contact-form {
      background: #fff;
      border-radius: 10px;
      padding: 40px;
    }

 

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}


    form {
      display: flex;
      flex-direction: column;
    }
    label {
      margin-bottom: 5px;
      font-weight: bold;
    }
    input, textarea {
      margin-bottom: 20px;
      padding: 10px;
      font-size: 1em;
      border: 1px solid #ccc;
      border-radius: 5px;
    }
    button {
      background-color: #007BFF;
      color: #fff;
      padding: 12px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 1em;
    }
    button:hover {
      background-color: #0056b3;
    }
    @media(max-width: 768px) {
      .flex {
        flex-direction: column;
      }
      nav {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 10px;
      }
    }
    .audio-player {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-top: 0px;
    }
    .audio-player img {
      width: 150px;
      border-radius: 10px;
    }
    .play-button {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background-color: #14b64a;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }
    .play-button svg {
      fill: white;
    }
    .waveform {
      flex: 1;
      width: 40%;
    }

        .gallery-text {
      flex: 1;
      padding: 20px;
    }
    .gallery-slider {
      flex: 1;
      padding: 20px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .gallery-slider .slides {
      display: flex;
      transition: transform 0.5s ease-in-out;
    }
    .gallery-slider .slide {
      min-width: 100%;
      position: relative;
      text-align: center;
      padding: 20px;
  box-sizing: border-box;
    }
    .gallery-slider .slide img {
      width: 100%;
      max-height: 400px;
      object-fit: cover;
      border-radius: 10px;
    }
   .gallery-slider .caption {
  position: static;
  margin-top: 10px;
  color: #333;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  max-width: 90%; /* Base width – overrideable */
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 8px;
  border-radius: 8px;
  box-sizing: border-box;
}

/* Responsive font size on smaller screens */
@media(max-width: 768px) {
  .gallery-slider .caption {
    font-size: 0.9rem;
    padding: 6px;
  }
}

/* Optional utility class for more control */
.caption-wrap {
  max-width: 600px; /* You can adjust this */
}


.gallery-slider .caption {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 8px;
  border-radius: 8px;
}


    .gallery-controls {
      text-align: center;
      margin-top: 10px;
    }
    .gallery-controls button {
      padding: 8px 12px;
      margin: 0 5px;
      background: #007BFF;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }
    .gallery-controls button:hover {
      background: #0056b3;
    }
    button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
  transition: transform 0.2s ease-in-out;
}

.slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.slide-visible {
  opacity: 1;
  transform: none;
}

.slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.slide-visible {
  opacity: 1;
  transform: none;
}


.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
  }

  .contact-form-wrapper {
    flex: 1 1 300px;
    max-width: 400px;
  }

  .contact-image {
    flex: 1 1 220px;
    display: flex;
    justify-content: center;
  }

  .contact-image img {
   max-width: 100%;
   height: auto;
   border-radius: 10px;
   padding-top: 29px;
}

  .contact-paragraphs {
    flex: 1 1 300px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    text-align: left;
  }

  @media(max-width: 768px) {
    .video-container,
    .contact-layout {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .contact-image {
      order: 2;
    }

    .contact-paragraphs {
      order: 3;
    }
  }


  .testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

.testimonial-box {
  flex: 1 1 30%;
  background-color: #125306; /* light green background */
  border: 2px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  padding: 20px;
  font-size: 1.2em;
  font-style: italic;
  transition: transform 0.3s;
  box-sizing: border-box;
}

  .testimonial-box:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  }

  .testimonial-author {
    margin-top: 15px;
    font-weight: bold;
    font-style: normal;
    text-align: right;
  }

  @media(max-width: 768px) {
    .video-container,
    .contact-layout,
    .testimonials-container {
      flex-direction: column;
      align-items: center;
    }
  }


  </style>