html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-x: hidden;
}

.section {
    height: 100vh;
    /* Full viewport height */
    width: 100vw;
    display: flex;
    flex-direction: column;
    /* Stack content vertically */
    justify-content: center;
    /* Vertically center */
    align-items: center;
    /* Horizontally center */
    scroll-snap-align: start;
    /* For snap scrolling */
    padding: 40px 20px;
    box-sizing: border-box;
    overflow: hidden;
    /* Prevent content from spilling into next section */
}


.section.snap-section {
    height: 100vh;
    scroll-snap-align: start;
    margin: 0;
    padding: 0;
}

.snap-section {
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    flex-shrink: 0;
}

.section, .section.snap-section, .snap-section {
    scroll-snap-align: unset;
    scroll-snap-stop: unset;
}



@font-face {
  font-family: "CalibriCustom";
  src: url("fonts/Calibri_Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CalibriCustomBold";
  src: url("fonts/Calibri_Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}



/* Video hero base */
.video-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* Background video */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* Dark overlay */
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* Top logo */
.hero-logo {
  position: absolute;
  top: 14vh;              /* move it down closer to the main image */
  left: 50%;
  transform: translateX(-50%);
  width: clamp(140px, 28vw, 1240px); /* bigger logo */
  z-index: 2;
}


/* Center content */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}


.hero-title-image {
  width: clamp(320px, 50vw, 1900px); /* bigger middle image */
  height: auto;
  display: block;
  margin: 0 auto;
  z-index: 2;
  margin-top: 28%;
}


/* Small image below title */
.hero-sub-image {
  width: clamp(80px, 35vw, 1040px);
  margin-top: 5.5rem;
  opacity: 0.9;
}

/* Responsive switching */
.desktop-only {
  display: block;
}
.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }

  .hero-sub-image {
    width: clamp(70px, 60vw, 1120px);
    margin-top: 15%;
  }
}




/* Section container */
.section4 {
  width: 100%;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  box-sizing: border-box;
  background-color: #030000;
  min-height: 100vh;
}

.phone-link {
  text-decoration: none;
  color: inherit; /* keeps same color as text */
}


/* Top image */
.section4-top-image {
  width: 100%;
  max-height: 250px; /* short rectangle image */
  object-fit: cover;
  border-radius: 8px; /* optional rounded corners */
  padding-bottom: 10rem;
}

/* Title & subtitles */
.section4-title {
  font-family: "CalibriCustom", sans-serif;
  font-size: clamp(1rem, 1.5vw, 2rem);
  color: #b4883b;
  text-align: center;
  letter-spacing: clamp(0.1rem, 0.3vw, 0.55rem);
  margin-bottom: -2rem;
}

.section4-subtitle {
  font-family: "CalibriCustom", sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.5rem);
  color: #b4883b;
  text-align: center;
}

.section4-subtitle-below {
  font-family: "CalibriCustom", sans-serif;
  font-size: clamp(1rem, 2vw, 10.5rem);
  color: #ffffff;
  text-align: center;
  letter-spacing: clamp(0.1rem, 0.28vw, 0.55rem);
  padding-bottom: 0rem;
}

/* Form styling */
.section4-form {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section4-form label {
  font-family: "CalibriCustom", sans-serif;
  font-size: clamp(1rem, 1vw, 1.5rem);
  color: #b4883b;
  font-weight: 500;
}

.section4-form input {
  width: 100%;
  padding: 0.1rem 0;
  font-size: 1rem;
  font-family: "CalibriCustom", sans-serif;
  border: none; /* remove box border */
  border-bottom: 1px solid #C1824F; /* underline */
  background: transparent;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
  color: #ffffff;
}

.section4-form input:focus {
  border-bottom-color: #b4883b; /* change color on focus */
}


/* Submit button */
.section4-submit-btn {
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  font-family: "CalibriCustom", sans-serif;
  font-size: 1rem;
  background-color: #b4883b;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.section4-submit-btn:hover {
  background-color: #9e6d2f;
}

/* Developer info */
.section4-developer-info {
  font-family: "CalibriCustom", sans-serif;
  font-size: 0.75rem;
  color: #b4883b;
  text-align: center;
  width: 92%;
  margin-bottom: 0rem;
}

.section4-developer-info2 {
  font-family: "CalibriCustom", sans-serif;
  font-size: 0.75rem;
  color: #b4883b;
  text-align: center;
  width: 92%;
  margin-top: 0;
}


@media (max-width: 768px) {

  .phone-link {
  text-decoration: none !important;
  color: inherit !important;
  font-family: "CalibriCustomBold", sans-serif;
}

.phone-link:link,
.phone-link:visited,
.phone-link:hover,
.phone-link:active {
  color: inherit !important;
  text-decoration: none !important;
}


  .hero-logo {
    width: 70%;   /* bigger logo on mobile */
    margin-top: 5%;
  }

  .hero-title-image {
    width: 80%;     /* fills more screen */
    margin-top: 35%;
  }


/* Top image */
.section4-top-image {
  width: 100%;
  max-height: 250px; /* short rectangle image */
  object-fit: cover;
  border-radius: 8px; /* optional rounded corners */
  padding-bottom: 10rem;
}

/* Title & subtitles */
.section4-title {
  font-size: clamp(1rem, 4.5vw, 3rem) !important;
}

.section4-subtitle {
  width: 90% !important;
}

.section4-subtitle-below {
    font-size: clamp(1.5rem, 5vw, 3rem) !important;
    width: 65%;
    line-height: 2rem;
  }

/* Form styling */
.section4-form {
  width: 90% !important;
}


}