body{
  background-color:#BEE9E8;
}

html {
  scroll-behavior: smooth;
}

#scrollspyHeading2-helper {
  position: relative;
  height: 1px;
  width: 100%;
}

h1{
  font-family: "Lemon", serif;
  font-weight: 400;
  font-style: normal;
  color:#000000;
}

p{
  font-family: "Krub", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 15px;
  color:#000000;
}

.nav-link{
  font-family: "Krub", sans-serif;
  font-weight: 300;
  font-style: normal;
  color:#FEF9EF;
  font-size:17px;
}

.nav-link:hover{
  font-family: "Krub", sans-serif;
  font-weight: 300;
  font-style: normal;
  color:#000000;
  font-size:17px;
}

.navbar-nav{
  padding-top:10px;
  padding-bottom:10px;
}

.bgcolor3{
  background-color:#A98467;
}

.bgcolor4{
  background-color:#FEF9EF;
}

.bgcolor5{
  background-color:#BEE9E8;
}


.meimage{
  width:300px;
  height:auto;
  display: block; 
  margin-left: auto; 
  margin-right: auto;
  box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
}

.footer-icon{
  margin-inline: 10px;
}

.navbar{
  padding-top:0px;
  padding-bottom:0px;
}

.heroimage{
  width:100%;
  padding-x:0px;
  margin-x:0px;
}

.sections{
  font-family: "Lemon", serif;
  font-weight: 400;
  font-style: normal;
  color:#000000;
  background-color:#ADC178;
  border: 0px; /* Black border */
  padding: 10px;           /* Add space inside the border */
  display: inline-block;   /* Shrinks the border to fit the text */
  scroll-margin-top: 100px;
}

.footer{
  font-family: "Krub", sans-serif;
  font-weight: 300;
  font-style: normal;
  color: #FEF9EF;
  margin-inline: 10px;
}

form{
  width: 66.66%; /* 8 out of 12 columns */
  max-width: 800px; /* Optional: limits form from being too wide on large screens */
  margin: 0 auto; /* Center the form */

  padding: 20px;
  border-radius: 10px;
  background-color: #BEE9E8;
}

label{
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea{
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: vertical; /* Allow vertical resize only */
  font-family: "Krub", sans-serif; 
  font-size: 20px;               
  color: #000000;
}

input[type="submit"]{
  background-color: #ADC178;
  color: white;
  font-family: "Lemon", serif;
  font-weight: 400;
  font-size: 20px;
  font-style: normal;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

input[type="submit"]:hover{
  background-color: #A98467;
}

.form-label{
  font-family: "Lemon", serif;
  font-weight: 400;
  font-style: normal;
  font-size:20px;
  color:#A98467;
}

.navbar-toggler{
  border: none;
  color:#BEE9E8;
}

a{
  color: #27716F;
  text-decoration: none;
  font-family: "Krub", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 15px;
}

a:hover{
  color: #88664C;
  text-decoration: none;
  font-family: "Krub", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 15px;
}

hr.solid{
  border-top: 3px solid #A98467;
}

.stamp-container {
  position: relative;
  display: inline-block;
  width: 100px;
}

.stamp-icon {
  width: 100%;
  height: auto;
  display: block;
}

.stamp-hover-group {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.stamp-text-top {
  position: absolute;
  bottom: 73px;
  left: 15px;
  color: #000000;
  font-size: 10px;
  text-align: center;
  font-family: "Krub", sans-serif;
  font-weight: bold;
  font-style: normal;
  transition: font-size 0.4s ease;
}

.stamp-text-bottom {
  position: absolute;
  bottom: 52px;
  left: 33px;
  color: #000000;
  font-size: 10px;
  text-align: center;
  font-family: "Krub", sans-serif;
  font-weight: bold;
  font-style: normal;
  transition: font-size 0.4s ease;
}

.stamp-hover-group:hover .stamp-text-top,
.stamp-hover-group:hover .stamp-text-bottom {
  font-size: 15px;
}

.stamp-hover-wrapper {
  position: relative;
  transition: transform 0.4s ease;
  display: inline-block;
  width: 100%; /* inherit width from .stamp-container */
  height: 100%;
}

.stamp-container:hover .stamp-hover-wrapper {
  transform: scale(1.2);
}

/* First carousel indicators */
#carouselExampleIndicators .carousel-indicators {
  position: static;       /* Keep indicators in normal flow */
  margin-top: 1.25rem;
  display: flex;          /* Flex container for alignment */
  justify-content: center;
  gap: 8px;               /* Space between dots */
  padding: 0;             /* Remove default padding if any */
}

/* Style the indicator buttons */
#carouselExampleIndicators .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #000000;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

/* Active indicator style */
#carouselExampleIndicators .carousel-indicators button.active {
  background-color: #555555; /* Or your preferred active color */
}

/* First carousel images - add width auto to maintain aspect ratio */
#carouselExampleIndicators .carousel-inner img {
  height: 100%;
  width: auto;            /* prevent stretching */
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* Second carousel */
#carouselExampleIndicators2 .carousel-inner {
  height: 400px;
  position: relative;
  overflow: hidden;
}
#carouselExampleIndicators2 .carousel-inner img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}
#carouselExampleIndicators2 .carousel-indicators {
  position: static;
  margin-top: 0.75rem;
  justify-content: center;
}
#carouselExampleIndicators2 .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #000000;
}

/* Second carousel indicators - align style with first carousel */
#carouselExampleIndicators2 .carousel-indicators {
  position: static;
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0;
}

#carouselExampleIndicators2 .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #000000;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

#carouselExampleIndicators2 .carousel-indicators button.active {
  background-color: #555555;
}

/* Third carousel */
#carouselExampleIndicators3 .carousel-inner {
  height: 400px;
  position: relative;
  overflow: hidden;
}
#carouselExampleIndicators3 .carousel-inner img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}
#carouselExampleIndicators3 .carousel-indicators {
  position: static;
  margin-top: 0.75rem;
  justify-content: center;
}
#carouselExampleIndicators3 .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #000000;
}

/* Second carousel indicators - align style with first carousel */
#carouselExampleIndicators3 .carousel-indicators {
  position: static;
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0;
}

#carouselExampleIndicators3 .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #000000;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

#carouselExampleIndicators3 .carousel-indicators button.active {
  background-color: #555555;
}

/* Fourth carousel */
#carouselExampleIndicators4 .carousel-inner {
  height: 500px;
  position: relative;
  overflow: hidden;
}
#carouselExampleIndicators4 .carousel-inner img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}
#carouselExampleIndicators4 .carousel-indicators {
  position: static;
  margin-top: 0.75rem;
  justify-content: center;
}
#carouselExampleIndicators4 .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #000000;
}

/* Second carousel indicators - align style with first carousel */
#carouselExampleIndicators4 .carousel-indicators {
  position: static;
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0;
}

#carouselExampleIndicators4 .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #000000;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

#carouselExampleIndicators4 .carousel-indicators button.active {
  background-color: #555555;
}

.audio-player{
  width: 100%;
  margin-top:10px;
  display: inline-block;   /* Shrinks the border to fit the text */
}

/* Last carousel */
#carouselExampleIndicators5 .carousel-inner {
  height: 515px;
  position: relative;
  overflow: hidden;
}
#carouselExampleIndicators5 .carousel-inner img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}
#carouselExampleIndicators5 .carousel-indicators {
  position: static;
  margin-top: 0.75rem;
  justify-content: center;
}
#carouselExampleIndicators5 .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #000000;
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  padding-top: 25px;
  height: 0;
  overflow: hidden;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.transcript-link{
  text-decoration:none;
  font-size:.75em;
  color:#27716F;
}

.transcript-link:hover{
  text-decoration:none;
  font-size:.75em;
  color:#88664C;
}

.modal-header{
  border-bottom: none;
}

.modal-content{
  background-color:#FEF9EF;
}

/* UPDATED: Enhanced testimg class for responsive square centering */
.testimg{
  object-fit: cover;
  width: 100%;
  max-width: 450px;
  height: 450px;
  display: block;
  margin: 0 auto;
}

/* NEW: Responsive breakpoints for testimg - maintaining square aspect ratio */
@media (max-width: 576px) {
  .testimg {
    max-width: 280px;
    height: 280px;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .testimg {
    max-width: 320px;
    height: 320px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .testimg {
    max-width: 350px;
    height: 350px;
  }
}

@media (min-width: 1025px) {
  .testimg {
    max-width: 450px;
    height: 450px;
  }
}

/* NEW: Poster image class for responsive centering */
.posterimg{
  object-fit: cover;
  width: 100%;
  max-width: 450px;
  height: 450px;
  display: block;
  margin: 0 auto;
}

/* NEW: Responsive breakpoints for posterimg - maintaining square aspect ratio */
@media (max-width: 576px) {
  .posterimg {
    max-width: 280px;
    height: 280px;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .posterimg {
    max-width: 320px;
    height: 320px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .posterimg {
    max-width: 350px;
    height: 350px;
  }
}

@media (min-width: 1025px) {
  .posterimg {
    max-width: 450px;
    height: 450px;
  }
}

/* NEW: Centered row class for better content centering */
.centered-row {
  max-width: 1000px;
  margin: 0 auto;
}

/* Ensure container has proper spacing */
.container, .container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

.container-fluid {
  padding: 0;
  margin: 0;
  max-width: 100%;
}

.heroimage {
  width: 100%;
  height: auto;
}

/* Remove default Bootstrap margins/padding where needed */
.row {
  margin: 0;
}

.col-12 {
  padding: 0;
}

/* Additional CSS for proper spacing and centering */
.navbar-brand {
  margin-left: 1rem; /* Add space from the edge */
}

.centered-row {
  max-width: 1200px; /* Limit width for centered content */
  margin: 0 auto; /* Center the row */
}

/* Ensure proper spacing for navbar */
.navbar .container-fluid {
  padding-left: 0;
  padding-right: 1rem;
}

.project-img {
  max-height: 400px;
  object-fit: contain;
}