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;
}

/* In your style.css */
@font-face {
  font-family: "agenda";
  src: url('fonts/agenda-light.ttf') format('truetype');
  font-style: normal;
}

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

/* Menu toggle container */
.menu-toggle {
  position: fixed;
  top: 20px;
  right: 25px;
  z-index: 1002;
  cursor: pointer;
}

/* Hamburger icon (3 bars) */
.hamburger-icon {
    position: fixed;
  top: 20px;
  right: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 22px;
  width: 30px;
  
}

.hamburger-icon .bar {
  height: 3px;
  width: 100%;
  background-color: #C1824F;
  border-radius: 2px;
}

/* Close icon (X) */
.close-icon {
  display: none;
  font-size: 2rem;
  color: #C1824F;
  line-height: 1;

  position: fixed;   /* allow positioning */
  top: 20px;         /* same as hamburger */
  right: 40px;       /* move this value higher to shift left */
  z-index: 1002;     /* above everything */
}

/* When menu is open */
.menu-toggle.active .hamburger-icon {
  display: none;
}

.menu-toggle.active .close-icon {
  display: block;
}

/* Sidebar menu */
.sidebar-menu {
  position: fixed;
  top: 0;
  right: -100%; /* hidden initially */
  width: 380px;
  height: 100vh;
  background-color: #00163C;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 3rem 2rem;
  gap: 1.5rem;
  transition: right 0.4s ease;
  z-index: 1001;
  box-shadow: -2px 0 15px rgba(0, 0, 0, 0.4);
}

.sidebar-menu .menu-logo {
  width: 160px;     /* make it larger */
  height: auto;
  margin-top: 4rem; /* push a bit down from top */
  margin-bottom: 2rem;
}

.sidebar-menu.show {
  right: 0;
}

/* Sidebar header with logo */
.sidebar-header {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.sidebar-logo {
  width: 220px;
  height: auto;
  padding-bottom: 2rem;
  padding-top: 1rem;
}

/* Menu links */
.sidebar-menu a {
  color: #C1824F;
  font-family: 'agenda', sans-serif;
  font-size: clamp(0.8rem, 1.2vw, 1.8rem);
  text-decoration: none;
  transition: color 0.2s ease;
  text-align: right;
  width: 100%;
  padding-right: 9rem;
  letter-spacing: 0.3rem;
}

.sidebar-menu a:hover {
  color: #ffffff;
}

/* Remove hover effect from DOWNLOAD link */
.sidebar-menu a:first-of-type:last-child {
  pointer-events: none; /* optional: prevent hover/focus */
  color: #C1824F;       /* keep original color */
}

.download-header {
  color: #C1824F;       /* original color */
  pointer-events: none; /* optional: prevents clicks */
  text-decoration: none;
}

/* Grouped download links */
.download-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem; /* smaller gap between brochure & booklet */
  width: 100%;
  padding-right: 9rem;
  margin-top: -0.7rem;
}

/* Keep hover effect for brochure & booklet only */
.download-links a:hover {
  color: #ffffff;
}

/* Optional: slightly smaller right padding for grouped links */
.download-links a {
  padding-right: 7rem;
}

/* Page overlay */
.page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.page-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.image-container {
  width: 100%;
  height: auto;          /* shrink container to image height */
  overflow: hidden;
  position: relative;    /* for caption positioning */
  display: inline-block; /* shrink-wrap the image */
}

.image-container img {
  width: 100%;
  height: auto;          /* keep your current sizing */
  max-height: 83vh;      /* keep your max height */
  object-fit: cover;
  display: block;
}

.image-container .image-caption {
  position: absolute;
  bottom: clamp(4px, 1.5vw, 106px); /* min 4px, ideal 1vw, max 16px */
  left: clamp(4px, 1.5vw, 106px);      /* distance from left */
  color: white;
  font-family: "agenda", sans-serif;
  font-size: clamp(0.2rem, 0.7vw, 2rem);
  padding: 2px 6px;
  border-radius: 2px;
}


.developer-section {
  width: 100%;
  min-height: 390vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem; /* spacing between elements */
  padding: 2rem;
  box-sizing: border-box;
  background-color: #00163C;
}

/* Logo */
.developer-logo-container {
  width: 180px; /* adjust as needed */
  margin: 0 auto;
}
.developer-logo {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 30px;
}

/* Container for any image */
.developer-image {
  display: flex;
  justify-content: center; /* center image inside container */
  width: 100%;             /* full width container */
  overflow: hidden;
  flex-shrink: 0;
}

/* Full-width image */
.developer-image.full-width img {
  width: 100%;       /* fills container */
  height: 82vh;      /* taller responsive height */
  object-fit: cover; /* crop to fill container */
  display: block;
}

/* Medium image */
.developer-image.medium-width img {
  width: 50%;        /* adjust this individually */
  max-width: 1200px; /* optional limit */
  height: auto;
  object-fit: contain; 
  display: block;
  padding-bottom: 4rem;
  padding-top: 1rem;
}

/* Small image */
.developer-image.small-width {
  display: flex;
  justify-content: center;
  width: 100%;         /* container full width */
  height: 500px;       /* fixed height for cropping */
  overflow: hidden;    /* hide overflowing part of image */
  padding-bottom: 1.5rem;
}

.developer-image.small-width img {
  width: 50%;          /* keep width */
  height: 100%;        /* fill container height */
  object-fit: cover;   /* crop while keeping aspect ratio */
  display: block;
}

.developer-image.small-image-4 img {
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center 80%;  /* vertical 80% from top, slightly up from bottom */
  display: block;
}

.subtitle-image {
  width: 60px;  /* adjust size as needed */
  height: auto;
  position: relative;
  left: 17%;
  top: 1%;
  padding-top: 2rem;
}

/* Carousel container */
/* Carousel container — match Small Image 4 exactly */
.developer-carousel {
  position: relative;
  width: 100%;
  max-width: 750px;   /* optional max width */
  height: 400px;       /* EXACT height */
  margin: 0 auto 20px;
  overflow: hidden;
  flex-shrink: 0;      /* prevent shrinking if inside flex */
}

/* Track container fills carousel */
.carousel-track-container {
  width: 100%;
  height: 100%;        /* fills 350px container */
  overflow: hidden;
}

/* Track holding slides */
.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  height: 100%;        /* fills container */
}

/* Each slide */
.carousel-slide {
  min-width: 100%;
  height: 100%;        /* fills container */
  flex-shrink: 0;
}

/* Slide image */
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* crop to fill container */
  object-position: center;
  display: block;
}

/* Navigation buttons */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #A0522D;
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.carousel-button.left { left: 5px; }
.carousel-button.right { right: 5px; }

.carousel-button:hover { background-color: #ae7a4f; }


/* Subtitles */
.developer-subtitle {
  color: #C1824F;
  font-size: clamp(1rem, 1vw, 2rem);
  margin: 0 auto;           /* centers block horizontally */
  font-family: "agenda";
  letter-spacing: clamp(0.1rem, 0.3vw, 2rem);
  line-height: clamp(0.5rem, 2.5vw, 6rem);
  width: 45%;               /* controls title width */
  text-align: center;
  display: block;     
}

.developer-subtitle11 {
  color: #C1824F;
  font-size: clamp(1rem, 1.2vw, 2rem);
  margin: 0 auto;           /* centers block horizontally */
  font-family: "agenda";
  letter-spacing: clamp(0.1rem, 0.3vw, 2rem);
  line-height: clamp(0.5rem, 2.5vw, 6rem);
  width: 45%;               /* controls title width */
  text-align: center;
  display: block;    
}

.developer-subtitle2 {
  font-size: clamp(1rem, 1.2vw, 2.5rem);
  font-family: "agenda";
  color: #C1824F;
  margin: 0;
  width: 60%;
  line-height: clamp(1.8rem, 2.5vw, 4rem);
  text-align: center;
  padding-bottom: 6rem;
  margin-top: -20px;
}

.home-section-7 {
  background-color: #C1824F;
  min-height: 110vh; 
}

/* Map image under headings */
.home-7-map {
  width: 100%;
  max-width: 400px;
  height: 240px;          /* desired cropped height */
  object-fit: cover;      /* crop without distortion */
  object-position: center 75%; /* keeps the middle of the image visible */
  cursor: pointer;        /* optional: show it’s clickable */
}

.home-7-map {
  transition: transform 0.4s ease;
}

.home-7-map:hover {
  transform: scale(1.1);
  transform-origin: center;
}


.home-7-split {
  display: flex;
  gap: 2rem;
}

/* Left column: headings + map (narrower) */
.home-7-left {
    
  flex: 0 0 35%;          /* 35% width */
  border-right: 2px solid #C1824F; /* vertical divider */
  padding-right: 2rem;    /* space from divider */
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

/* Right column: form (wider) */
.home-7-right {
  flex: 1;                /* takes remaining width (65%) */
  padding-left: 2rem;     /* space from divider */
  display: flex;
  flex-direction: column;
}


/* Developer info at bottom remains unchanged */

.home-7-content {
    margin-top: 80px;
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-family: "agenda";
  color: white;
}

.home-7-title {
  font-family: "agenda";
  color: #ffffff;
  font-size: clamp(1rem, 1.8vw, 2rem);
  font-weight: 300;
  text-align: right;
  letter-spacing: 0.2rem;
  line-height: 2.5rem;
}

.home-7-subtitle {
  font-family: "agenda";
  color: #ffffff;
  font-size: clamp(1rem, 1.5vw, 2rem);
  font-weight: 300;
  text-align: right;
  letter-spacing: 0.2rem;
  line-height: 2.5rem;
   width: 80%;              /* make box narrower */
  margin-left: auto;       /* push it to the right */
  display: block; 
}

.home-7-divider {
  width: 95%;               /* adjust length */
  border: none;
  border-top: 2px solid white; /* white line (matches your theme) */
  opacity: 0.3;             /* softens the line */
  position: relative;
  left: 5px;
}


.home-7-contact {
  font-family: "agenda";
  color: #ffffff;
  font-size: clamp(1rem, 1.5vw, 2rem);
  font-weight: 300;
  text-align: right;
  letter-spacing: 0.2rem;
  line-height: 2.5rem;
  width: 80%;              /* make box narrower */
  margin-left: auto;       /* push it to the right */
  display: block; 
}

/* style for the phone number link */
.phone-link {
  color: #ffffff !important;   /* force white color */
  font-size: 2.5rem;
  font-weight: 400;
  text-decoration: none !important;  /* remove underline */
  margin-left: 0.5rem;
}

.phone-link:visited,
.phone-link:hover,
.phone-link:active {
  color: #ffffff !important;   /* stay white always */
  text-decoration: none !important;
}



.home-7-contact a {
  color: #00163C;
  text-decoration: underline;
}

.home-7-form {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.home-7-form-title {
  font-family: "agenda";
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.1rem;
  margin-bottom: 0.8rem; /* gap between heading and first input */
  color: #d2a580;
}


.home-7-form label {
    font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.25rem;  /* smaller space below label */
  display: block;
  letter-spacing: 0.1rem;
}

/* Line-style inputs (Name, Mobile, Email) */
.home-7-form input[type="text"],
.home-7-form input[type="tel"],
.home-7-form input[type="email"] {
  width: 100%;
  padding: 0.2rem 0;                /* vertical padding only */
  border: none;                     /* remove full border */
  border-bottom: 1px solid #ffffff; /* bottom line only */
  font-size: 1rem;
  font-family: "agenda";
  background-color: transparent;
  outline: none;                    /* remove default focus outline */
  margin-bottom: 1rem;     
}

/* Focus effect */
.home-7-form input[type="text"]:focus,
.home-7-form input[type="tel"]:focus,
.home-7-form input[type="email"]:focus {
  border-bottom-color: #003080;
}

/* Message textarea remains a box */
.home-7-form textarea {
  width: 100%;
  padding: 0.5rem 0.8rem;
  border: 1px solid white;       
  font-size: 1rem;
  font-family: "agenda";
  background-color: transparent;  /* keep background same as section */
  color: white;                   /* text color */
  resize: vertical;
  min-height: 100px;
  outline: none;
  letter-spacing: 0.1rem;
  margin-bottom: 0.8rem;
}

.home-7-form textarea::placeholder {
  color: #ffffff;        /* placeholder text color */
  opacity: 0.6;          /* slightly faded */
  font-family: "agenda";
  font-size: 1rem;
}


.home-7-form textarea:focus {
  border-color: #003080;          /* focus color */
}


.home-7-options {
  display: flex;
  gap: 2rem;
  margin: 0.5rem 0;
}

/* Base style for checkboxes */
.home-7-form input[type="checkbox"] {
  appearance: none;            /* remove default OS checkbox style */
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 23px;
  height: 23px;
  border: 1px solid white;     /* white outline */
  background-color: transparent;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
  transition: all 0.2s ease;
}

/* When checked, show a white fill + checkmark */
.home-7-form input[type="checkbox"]:checked {
  background-color: white;     /* fill box */
}

/* Optional: white checkmark icon using ::after */
.home-7-form input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.9rem;
  color: #00163C;              /* contrast color for the checkmark */
  font-weight: bold;
}


/* Make consent text smaller and neater */
/* Force smaller font for consent text */
.home-7-consent label {
  font-size: 0.90rem !important;   /* make text smaller */
  line-height: 1.2rem !important;  /* reduce vertical spacing */
  color: #ffffff;                     /* optional: softer color */
  font-weight: 400;                /* make it less bold */
  display: block;
}


/* Make "I AM KEEN TO FIND OUT MORE ON" same size as label */
.home-7-form p {
  font-size: 1.2rem;         /* match label font size */
  font-weight: 500;          /* same as labels */
  margin: 0.5rem 0;          /* consistent spacing */
  letter-spacing: 0.1rem;
  font-family: "agenda";
}


.home-7-consent input {
  margin-right: 0.5rem;
}



.home-7-buttons {
  display: flex;
  gap: 1rem;             /* space between buttons */
  width: 105%;           /* match textarea width */
}

.submit-btn {
  flex: 1;               /* smaller portion */
  padding: 1rem 0;
  border: 1px solid white;
  font-family: "agenda";
  cursor: pointer;
  font-size: 1rem;
  background-color: transparent;
  color: white;
  text-align: center;
  transition: all 0.3s ease;
  letter-spacing: 0.1rem;
}

.download-btn {
  flex: 2;               /* longer portion */
  padding: 1rem 0;
  border: 1px solid white;
  font-family: "agenda";
  cursor: pointer;
  font-size: 1rem;
  background-color: transparent;
  color: white;
  text-align: center;
  transition: all 0.3s ease;
  letter-spacing: 0.1rem;
}

/* Hover effects */
.submit-btn:hover {
  background-color: white;
  color: #00163C;
}

.download-btn:hover {
  background-color: #00163C;
  color: white;
}


.developer-info {
  font-size: 0.75rem;
  color: #ffffff;
  padding-top: 1rem;
}

.home-7-consent label {
  display: flex;
  align-items: flex-start;   /* aligns checkbox with top of text */
  gap: 0.6rem;               /* space between checkbox and text */
  letter-spacing: 0 !important; /* override any previous letter-spacing */
}


.home-7-consent input[type="checkbox"] {
  flex-shrink: 0;            /* checkbox stays same size */
  margin-top: 0.25rem;       /* fine-tune vertical alignment */
}

.home-7-consent .consent-text {
  text-align: justify;       /* justify text neatly */
  line-height: 1rem;
  font-size: 0.9rem;
  color: #ffffff;
  flex: 1;                   /* make text take remaining space */
  display: block;            /* ensure full-width text block */
  padding-bottom: 1.5rem; 
}
