body{
  background-image: url(./images/website_background.png);
  background-repeat: no-repeat;
  background-size: 100% 690px;
  background-color: whitesmoke;
}
#HeaderSection .navbar-brand img {
  object-fit: contain;
  max-height: 85px; /* Adjust height to fit your navbar preferred height */
  width: auto;
}
/* 1. Hide anything that goes outside the screen width */
.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap; /* Prevents text from wrapping into multiple lines */
  background-color: transparent;
  color: #111;
  box-sizing: border-box;
}
/* 2. Apply the animation to the text element */
.marquee-text {
  display: inline-block;
  position: relative; 
  font-size: 3rem;
  letter-spacing: 4px;
  padding-bottom: 50px;
  animation: scroll-left 12s linear infinite;
}
.highlight-font {
  font-family: "Brush Script MT", "Brush Script Std", "Pacifico", cursive;
  font-weight: bold;
  color: #041c70;
  font-size: 4rem;
}
/* 3. Define the movement rules */
@keyframes scroll-left {
  0% {
      transform: translateX(100vw); /* Start completely off the right screen edge */
  }
  100% {
      transform: translateX(-100%); /* Finish completely off the left screen edge*/
  }
}
/* BodySection ends here */
/* DescripSection starts here */
#DescripSection{
  background-color: white;
  width: 69%;
  text-align: center;
  margin: 0 auto;
  color: #7b7b7b;
  margin-top: 225px;
  border-radius: 6px;
}
#DescripSection h1{
  font-family: "Felipa", serif;
  font-size: 36px;
  padding-top: 75px;
  margin-bottom: 19px;
  color: black;
}
#DescripSection p{
  font-family: 'Source Sans 3', sans-serif;
  font-size: 22px;
  padding: 35px 0px;
  border-top: 2px solid #7b7b7b;
  color: black;
  display: inline-block;
}
.carousel-inner {
  width: 100%;        
  display: block;
  border-radius: 0px 0px 6px 6px;
}
#IconSection{
  background-color: white;
  width: 69%;
  text-align: center;
  margin: 0 auto;
  color: #7b7b7b;
  margin-top: 44px;
  border-radius: 6px;
}
#IconSection h1{
  font-family: "Felipa", serif;
  font-size: 36px;
  padding-top: 9px;
  margin-bottom: 9px;
  color: black;
}
#IconSection p{
  font-family: 'Source Sans 3', sans-serif;
  font-size: 22px;
  padding: 35px 0px;
  border-top: 2px solid #7b7b7b;
  color: black;
  display: inline-block;
}
#IconSection div img {
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
#OurJourney{
  background-color: white;
  width: 69%;
  text-align: center;
  margin: 0 auto;
  color: #7b7b7b;
  margin-top: 44px;
  border-radius: 6px;
}
#OurJourney h1{
  font-family: "Felipa", serif;
  font-size: 36px;
  padding-top: 9px;
  margin-bottom: 9px;
  color: black;
}
#OurJourney p{
  font-family: 'Source Sans 3', sans-serif;
  font-size: 22px;
  padding: 35px 0px;
  border-top: 2px solid #7b7b7b;
  color: black;
  display: inline-block;
}
#OurJourney div img {
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
#FooterSection{
  margin-top: 100px;
  position: relative;
  width: 100%;
  /* Give the section enough height to display the image nicely */
  min-height: 600px; 
  padding: 50px 20px;
  box-sizing: border-box;
  /* Centers the form inside this section */
  display: flex;
  justify-content: center;
  align-items: center;
  /* The background photo applied ONLY to this section */
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('./images/Contact\ Form\ Background.jfif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#FooterDiv1 {
  display: grid;
  grid-template-areas: "overlay";
  position: relative;
  width: 100%;
  overflow: hidden;
}
.text-overlay {
  color: goldenrod;
  text-align: center;
}
/* --- 2. Compact Glassmorphic Container --- */
.form-container {
  width: 100%;
  max-width: 455px; /* Compact box */
  padding: 20px 7px;
  justify-self: center;
  /* Transparent glass styling */
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
  color: #ffffff;
}
/* --- 3. Compact Form Groups --- */
.form-group {
  margin-bottom: 10px; /* Reduced vertical spacing */
}
.form-group h3 {
  margin: 6px 0 6px 0;
  font-size: 0.95rem;
  color: #ffd700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 3px;
  text-align: center;
}
/* --- 4. Side-by-Side Layout Grid --- */
/* Makes inputs like From/To sit on the same line to save height */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
/* Individual field wrapper */
.field {
  display: flex;
  flex-direction: column;
}
/* --- 5. Inputs & Labels --- */
label {
  font-size: 0.8rem; /* Smaller, crisp labels */
  margin-bottom: 3px;
  margin-top: 4px;
  font-weight: 500;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="datetime-local"],
input[type="number"] {
  width: 100%;
  padding: 7px 10px; /* Compact input height */
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.85rem;
  box-sizing: border-box;
  outline: none;
  transition: all 0.2s ease;
}
input:focus {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffd700;
}
input::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}
/* --- 6. Submit Button --- */
button[type="submit"] {
  width: 100%;
  padding: 10px;
  margin-top: 12px;
  background: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728);
  color: #1a1a1a;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 1px;
  cursor: pointer;
}
.FooterIcons {
  position: absolute;
  bottom: 0px;            /* Distance from the bottom edge */
  left: 20px;              /* Distance from the left edge */
  display: flex;
  gap: 15px;               /* Space between icons */
  z-index: 10;
}
.FooterIcons a {
    color: goldenrod;
    font-size: 30px;         /* Icon size */
    transition: transform 0.2s ease, color 0.2s ease;
}
.FooterIcons a:hover {
  color: #ffd700;          /* Gold hover color matching your theme */
  transform: translateY(-3px);
}
/* --- 7. Ultra-Compact Mobile View Adjustments --- */
@media (max-width: 991px) {
  #HeaderSection nav ul {
    margin-top: -18px;
  }
  .highlight-font {
  font-family: "Brush Script MT", "Brush Script Std", "Pacifico", cursive;
  font-weight: bold;
  color: #041c70;
  font-size: 4rem;
}
  #BodySection {
    margin-top: 0px;
    transition: margin-top 0.35s ease-in-out; /* Smooth sliding transition */
  }
  #BodySection.menu-expanded {
    margin-top: 200px !important; /* Pushes the entire section down */
    margin-bottom: -200px;
  }
  .form-container {
    justify-self: center; 
    max-width: 100%;
    padding: 16px 14px;
  }
  .form-row {
    grid-template-columns: 1fr 1fr; 
    gap: 8px;
  }
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="datetime-local"], 
  input[type="number"] {
    padding: 6px 8px;
    font-size: 9px;
  }
  .FooterIcons {
    position: relative !important;   /* Switches back to standard page flow */
    bottom: auto !important;
    left: auto !important;
    margin-top: 25px;                /* Space directly below SUBMIT button */
  }
  .FooterIcons a {
    font-size: 35px;                 /* Slightly larger icons for touch devices */
  }
  #backToTopBtn {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}
#backToTopBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #ffc107; /* Match theme color */
  color: #000000;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  /* Initial hidden state */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}
/* Hover & Active Effects */
#backToTopBtn:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}
/* Active State (Shown on scroll) */
#backToTopBtn.show {
  opacity: 1;
  visibility: visible;
}