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

.home-section {
  width: 100%;
  min-height: 2900px;
  background-color: #00163C; /* blue background */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
}

.home-logo img {
  width: 180px;
  height: auto;
  padding-bottom: 2rem;
  margin-top: -60px;
}

.home-subtitle {
  color: #C1824F; /* white text */
  font-size: clamp(1rem, 1.3vw, 2rem);
  margin: 0;
  font-family: "agenda";
  letter-spacing: clamp(0.1rem, 0.3vw, 2rem);
  line-height: clamp(0.5rem, 2.5vw, 6rem);
  width: 45%;
  padding-bottom: 3rem;
  margin-bottom: 50px;
}

  .home-subtitle2 {
  font-size: clamp(1rem, 1.4vw, 2.5rem);
  font-family: "agenda";
  color: #C1824F;
  font-weight: 300;
  margin: 0;
  width: 45%;
  line-height: clamp(1.8rem, 2.5vw, 4rem);
  padding-bottom: 6rem;
}

.home-image {
  margin: 1rem 0;
}

.home-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}


/* Different image widths */
.home-image.full-width {
  width: 100vw;      /* full viewport width */
  margin: 0;          /* remove parent spacing */
  padding: 0;         /* remove parent padding */
  padding-bottom: 3rem;
}

.home-image.full-width img {
  width: 100%;
  height: 90%;
  display: block;
}


.home-image.medium-width {
  width: 85%;
  max-width: 1000px;
  margin: 0 auto 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* ensures cropping */
}

.home-image.medium-width img {
  width: 100%;
  height: 500px;         /* fixed height for all medium images */
  object-fit: cover;
  object-position: center; /* default for other images */
  display: block;
}

/* Adjust Image 5 specifically */
.home-image.medium-width:nth-of-type(6) img {
  object-position: center bottom; /* focus crop on bottom */
}




.medium-img-wrapper {
  width: 100%;
  height: 700px;       /* desired taller height */
  overflow: hidden;    
  position: relative;
}

.medium-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* crop properly while keeping aspect ratio */
  display: block;
}



.home-image.small-width img {
  width: 20%;
  max-width: 300px;
  display: block;       /* required for margin auto to work */
  margin-left: auto;    /* pushes image to the right */
  margin-right: 0;      /* optional */
  padding-top: 2rem;
}


.home2-section {
  min-height: 100vh;
}
/* SMALL IMAGE (left-aligned) */
/* Home2 small image container */
.home2-small-image {
  width: auto;            /* let width adjust naturally */
  max-width: 120px;       /* maximum size */
  margin-left: 0;         /* align left */
  margin-bottom: 1rem;   /* gap below */
  overflow: visible;      /* important: allow full image */
  padding-top: 3rem;
}

/* Image itself */
/* SMALL IMAGE (left-aligned, proportional) */
.home2-small-image {
  width: auto;            /* natural width */
  max-width: 60px;        /* smaller size */
  margin: 0;              /* aligned to the left */
  margin-right: 40rem;
}

.home2-small-image img {
  width: 100%;            /* scales down proportionally */
  height: auto;           /* preserves aspect ratio, no cropping */
  display: block;
  object-fit: unset;      /* prevents cropping */
}


/* SUBTITLE */
.home2-subtitle {
  color: #C1824F;
  font-size: clamp(1rem, 1.5vw, 2rem);
  margin: 0 auto;             /* center horizontally */
  font-family: "agenda";
  letter-spacing: clamp(0.1rem, 0.3vw, 2rem);
  line-height: clamp(0.5rem, 2.5vw, 6rem);
  width: 45%;                 /* subtitle width */
  text-align: center;         /* center the text inside */
  padding-bottom: 6rem;
  display: block;
}


/* FULL-WIDTH IMAGE CONTAINER */
.home2-full-image {
  width: 100%;
  overflow: hidden;    /* hide the overflowing part of image */
  position: relative;  /* optional */
}

/* IMAGE ITSELF */
.home2-full-image img {
  width: 100%;         
  height: 100%;        /* fill container height */
  object-fit: cover;   /* crop while keeping aspect ratio */
  display: block;
  object-position: bottom; /* <-- show bottom of image */
}

.home3-section {
  min-height: 1680px;
  width: 100%;
  background-color: #E5E3C7;
  color: white;
  text-align: center;
}

.home3-title {
  color: #C1824F; /* white text */
  font-size: clamp(1rem, 1.5vw, 2rem);
  margin: 0;
  font-family: "agenda";
  letter-spacing: clamp(0.1rem, 0.3vw, 2rem);
  line-height: clamp(0.5rem, 4.5vw, 6rem);
  padding-bottom: 3rem;
}


/* Grid container */
.home3-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4-column grid for flexibility */
  grid-template-rows: auto;              /* rows adjust to content */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Container */
.zoom-container {
  position: relative;
  overflow: hidden;
  cursor: grab;
}

#zoom-image {
  width: auto;       /* keep original aspect ratio */
  height: auto;      /* let height scale with width */
  max-width: 100%;   /* prevent overflow outside container */
  max-height: 100%;  /* fit inside container */
  object-fit: contain; /* show full image without cropping */
  transform-origin: top left;
  user-select: none;
  transition: transform 0.2s ease;
}


.zoom-buttons {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 10px;
}

.zoom-buttons button {
  background-color: rgba(0,0,0,0.6);
  color: white;
  border: none;
  font-size: 1.2rem;
  padding: 0.5rem 0.8rem;
  border-radius: 5px;
  cursor: pointer;
}

.zoom-buttons button:hover {
  background-color: rgba(0,0,0,0.8);
}

.zoom-buttons.custom-left {
  top: 350px;      /* distance from top of container */
  right: 200px;     /* distance from left of container */
  bottom: auto;
  right: auto;
  display: flex;
  flex-direction: column; /* stack buttons vertically if desired */
  gap: 10px;
}


/* Row 1: Image 1 and Image 2 */
.item1 { grid-column: 1 / 3; grid-row: 1; }
.item2 { grid-column: 3 / 5; grid-row: 1; }

/* Row 2: Image 6 smaller, right aligned */
.item6 {
  grid-column: 3 / 5; /* right side */
  grid-row: 2;
  justify-self: end;  /* move more to the right */
  width: 10%;         /* smaller width */
}

/* Row 3: Image 3 tall, Image 4 & 5 stacked */
.item3 { 
  grid-column: 1 / 3; 
  grid-row: 3 / 5; /* spans 2 rows */
}
.item4 { 
  grid-column: 3 / 5; 
  grid-row: 3;
}
.item5 { 
  grid-column: 3 / 5; 
  grid-row: 4;
}

/* All images fill their container */
.home3-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


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

