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: 100vh;
  box-sizing: border-box; /* ensures padding is counted inside width */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* start from top */
}


.home-logo-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.home-logo {
  width: 180px;
  height: auto;
  margin-top: 0;
  padding-bottom: 3rem;
}

/* FULL-WIDTH IMAGE WITH CROPPED HEIGHT */
.home-full-image {
  width: 100%;
  height: 700px;          /* desired cropped height */
  overflow: hidden;       /* hides overflowing part of image */
  position: relative;
}

.home-full-image img {
  width: 100%;
  height: 100%;           /* fill container height */
  object-fit: cover;      /* crops image while keeping aspect ratio */
  display: block;
}

#home2 {
  margin-top: 80px;  /* adjust the value as needed */
}


.home2-section {
  width: 100%;
  min-height: 220vh;   
  box-sizing: border-box;   /* ensures padding is included in width */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* start content from top */
}


.home2-title {
  color: #C1824F;
  font-size: clamp(1rem, 1.3vw, 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;       /* centers text inside the block */
  padding-bottom: 3rem;
  display: block;           /* ensures margin auto works */
}


.home2-image-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.home2-small-image img {
  width: 220px;
  margin: 0; /* remove negative margin */
}

.wrapper {
  display: flex;
  flex-wrap: wrap
}


.home2-small-image {
  flex-shrink: 0;          /* keep small image from shrinking */
}



:root{
    --bg:#ffffff;
    --muted:#efe9e6;
    --accent-text:#8b5a3a;
    --thin-border:#d7d2cf;
    --table-border:#555;
    --lightblue: #DBF0F4;
    --lightteal: #9bd7d5;
    --teal: #4eb9b9;
    --lightyellow: #fff2c2;
    --yellow: #f7cf6a;
    --pink: #fddedb;
    --orange: #fbbda4;
    --red: #eb976f;
    --lavender: #a7a3cb;
    --grid-line: rgba(0,0,0,0.14);
    --card-shadow: 0 3px 0 rgba(0,0,0,0.02);
    --font-sans: "Helvetica Neue", Arial, Helvetica, sans-serif;
}


  html,body{height:100%;margin:0;background:var(--bg);font-family:var(--font-sans);color:#222}

.wrapper {
  display: flex;          /* So that left rail + blocks row sit side by side */
  gap: 10px;              /* Optional spacing */
}


.wrappers-column {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Space between wrapper1 and wrapper2 */
}


.left-rail-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* aligns the rail to top */
}


  .left-rail {
  font-size: 12px;       /* bold same as floor numbers */
  text-align: right;
}

.left-rail .row {
  padding: 1.5px 0;         /* same spacing */
  border-bottom: 1px solid #ccc;  /* border between rows */
}


  /* Header above each block */
 .blocks-row {
  display: flex;
  gap: 28px;       /* current gap between blocks */
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  margin-left: 20px;   /* add horizontal spacing from left rail */
}



.col-headers {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* matches your 4 columns */
  margin-bottom: 4px;
}

.col-header {
  text-align: center;
  font-size: 13px;
}

/* Wrap the grid and footer inside a separate box */
.block {
  display: flex;
  flex-direction: column;
  width: 260px;
  position: relative; /* needed if you want absolute positioning inside */
}

/* Head and sub sit above the box */
.block-head {
  text-align: center;
  padding: 14px 8px 6px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-text);
  font-size: 15px;
}

.block-sub {
  text-align: center;
  color: #b27e5a;
  font-size: 12px;
  margin-bottom: 4px;
}

/* The box that contains the grid and footer */
.block-box {
  border: 1px solid var(--thin-border);
  box-shadow: var(--card-shadow);
  background: linear-gradient(#fff, #fff);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Table/grid area */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns per block */
  gap: 0; /* small gap if needed */
}

/* Optional: make block width auto-fit grid inside */
.block {
  width: auto;
}



  .col {
    display:flex;
    flex-direction:column;
    /* border-left:1px solid var(--grid-line); */
    cursor:pointer;
    user-select:none;
    transition: filter 160ms ease, transform 120ms ease;
  }

  .cell {
  border: 1px solid var(--grid-line);
}

.cell.empty {
  border: none !important;
}


  /* cell style */
.cell {
  aspect-ratio: 3 / 1;    /* width = height */
  padding: 9.5px;       /* Increase space inside the cell */
  height: 13px;
  width: auto;         /* Can leave width as auto or set min-width */
  box-sizing: border-box; /* Ensures padding doesn't break layout */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;        /* keep font readable */
  border-bottom: 1px solid rgba(0,0,0,0.08);
}





  /* hover darkening effect - subtle */
  .col:hover { filter:brightness(0.93); transform:translateY(-1px); }
  .col:active { transform:translateY(0); filter:brightness(0.88) }

  /* footer (carpark) */
  .block-footer{
    border-top:1px solid var(--thin-border);
    padding:3px 12px;
    text-align:center;
    font-size:12px;
    background:#fff;
  }

  .block-footerR{
    padding:3px 12px;
    text-align:center;
    font-size:12px;
    background:#fff;
  }

  /* Updated color classes using new variables */
.c-teal   { background: var(--teal); color: #042a27; }
.c-lightblue { background: var(--lightblue); color: #042a27; }
.c-lightteal { background: var(--lightteal); color: #042a27; }
.c-lightyellow { background: var(--lightyellow); color: #1f1a0a; }
.c-yellow { background: var(--yellow); color: #1f1a0a; }
.c-pink { background: var(--pink); color: #201515; }
.c-orange { background: var(--orange); color: #201515; }
.c-red { background: var(--red); color: #201515; }
.c-lavender { background: var(--lavender); color: #12121a; }


  /* small left label bar (Unit / Floor) - optional visual */
  .left-rail{
    width:44px;
    padding:8px 6px;
    font-size:13px;
    color:#333;
    margin-right:6px;
    margin-top: 50px;
  }

  /* layout container with left rail */
  .layout{
    display:flex;
    align-items:flex-start;
    gap:18px;
    justify-content:center;
  }

  /* make the columns clickable and identifiable */
  .col[data-col]{outline: none}

  /* modal popup */
.modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
}

.modal-backdrop.active {
  display: flex;
}

/* The modal container */
.modal {
  max-width: 70%;
  max-height: 90vh;
  background: #fff;
  overflow-y: auto;         /* scroll container, not image */
  overflow-x: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
  border-radius: 8px;
}

/* 🔥 This is the correct combination */
.modal img {
  width: 100%;
  height: auto;
  object-fit: cover;        /* crop the image */
  object-position: 0 -70px; /* move image up to crop top */
  display: block;
}


/* Close bar stays at top */
.modal-close {
  position: sticky;   /* stays on top while scrolling */
  top: 0;
  background: #fff;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  padding: 8px 12px;
  border-bottom: none;   /* remove line */
}

.btn {
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: stroke 0.2s ease;
}

.btn svg line {
  transition: stroke 0.2s ease;
}

.btn:hover svg line {
  stroke: #555;  /* slightly darker on hover */
}

  

  /* Remove the left border from the outer block-box / grid only in Block 4 */
.block[aria-label="Block 4"] .block-box,
.block[aria-label="Block 4"] .grid {
  border-left: none !important;
}

/* For Block 4: draw the left border only on the first column’s cells */
.block[aria-label="Block 4"] .col:first-child .cell {
  border-left: 1px solid var(--thin-border);
}

/* Block 4 only: add left border to Roof Terrace and Carpark */
.block[aria-label="Block 4"] .block-footerR,
.block[aria-label="Block 4"] .block-footer {
  border-left: 1px solid var(--thin-border);
}

  /* BLOCK 4 SPECIAL */

.block[aria-label="Block 6"] .block-footerR,
.block[aria-label="Block 8"] .block-footerR {
  content: "";
  visibility: hidden;
  border: 0;
  height: 20px;           /* keep the same spacing */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Optional: remove borders for block-box if needed */
.block[aria-label="Block 6"] .block-box,
.block[aria-label="Block 8"] .block-box {
  border-left: none;
  border-right: none;
  border-top: none;
}

/* Keep CARPARK footer aligned */
.block[aria-label="Block 6"] .block-footer,
.block[aria-label="Block 8"] .block-footer {
  border-left: 1px solid var(--thin-border);
  border-right: 1px solid var(--thin-border);
}

.wrapper2 .block .block-footerR {
  content: "";
  visibility: hidden;
  border: 0;
  height: 20px;           /* keep the same spacing */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Remove borders for all block-box inside wrapper2 */
.wrapper2 .block .block-box {
  border-left: none;
  border-right: none;
  border-top: none;
}

/* Keep CARPARK footer aligned for all blocks inside wrapper2 */
.wrapper2 .block .block-footer {
  border-left: 1px solid var(--thin-border);
  border-right: 1px solid var(--thin-border);
}

.wrapper3 .block .block-footerR {
  content: "";
  visibility: hidden;
  border: 0;
  height: 20px;           /* keep the same spacing */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Remove borders for all block-box inside wrapper2 */
.wrapper3 .block .block-box {
  border-left: none;
  border-right: none;
  border-top: none;
}

/* Keep CARPARK footer aligned for all blocks inside wrapper2 */
.wrapper3 .block .block-footer {
  border-left: 1px solid var(--thin-border);
  border-right: 1px solid var(--thin-border);
}


.wrapper4 .block .block-footerR {
  content: "";
  visibility: hidden;
  border: 0;
  height: 20px;           /* keep the same spacing */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Remove borders for all block-box inside wrapper2 */
.wrapper4 .block .block-box {
  border-left: none;
  border-right: none;
  border-top: none;
}

/* Keep CARPARK footer aligned for all blocks inside wrapper2 */
.wrapper4 .block .block-footer {
  border-left: 1px solid var(--thin-border);
  border-right: 1px solid var(--thin-border);
}

  /* small responsive tweaks */
  @media (max-width:1200px){
    .block{width:220px}
  }
  @media (max-width:920px){
    .blocks-row{gap:12px}
    .wrapper{padding:8px}
    .block{width:48%}
    .left-rail{display:none}
  }
  @media (max-width:640px){
    .block{width:100%}
  }

  /* tiny helper for header underlines and align */
  .unit-floor{
    display:flex;
    gap:8px;
    align-items:center;
    justify-content:center;
    font-size:12px;
    margin-bottom:6px;
  }


.home3-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 2rem;
  background-color: #F3E5D6;  /* solid color background */
  text-align: center;
  color: #fff;
}

.home3-img-wrapper {
  position: relative;  /* container for overlay */
  display: inline-block;
}

.artist-impression {
  position: absolute;
  bottom: clamp(4px, 0.8vw, 106px); /* min 4px, ideal 1vw, max 16px */
  left: clamp(4px, 0.8vw, 106px);             /* distance from left */
  color: white;
  padding: 4px 8px;
  font-family: "agenda", sans-serif;
  font-size: clamp(0.2rem, 0.7vw, 2rem);
  font-weight: bold;
  border-radius: 4px;
  pointer-events: none;  /* allows clicks to pass through */
  z-index: 10;
}

.home3-item a {
  text-decoration: none;
  outline: none;
  border: none;
}

.home3-item a:focus,
.home3-item a:active,
.home3-item a:visited {
  text-decoration: none;
  outline: none;
  border: none;
}

.home3-item a {
  -webkit-tap-highlight-color: transparent;
}


.home3-icon {
  width: 60px;          /* adjust size */
  height: auto;
  margin-bottom: 1rem;  /* space between icon and heading */
  position: relative;    /* allow manual offset */
  left: 130px;           /* move 100px to the right */
}



.home3-title {
  color: #C1824F;
  font-size: clamp(1rem, 1.3vw, 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;       /* centers text inside the block */
  padding-bottom: 3rem;
  display: block;     
}

.home3-items {
  display: flex;
  justify-content: center;
  gap: 2rem;         /* space between each item */
  flex-wrap: wrap;    /* wrap on smaller screens */
}

.home3-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;        /* allow item width to adjust */
  max-width: 500px;   /* optional limit */
}

.home3-button {
  width: 100%;                     /* button fills container width */
  background: transparent;
  border: 1px solid #C1824F;       /* gold outline */
  border-radius: 4px;
  cursor: pointer;
  padding: 0.4rem 0;                  /* vertical padding for height */
  display: flex;
  justify-content: center;          /* center text horizontally */
  align-items: center;              /* center text vertically */
  text-align: center;

  /* Text styling as requested */
  color: #C1824F;
  font-size: clamp(1rem, 1vw, 2rem);
  font-family: "agenda";
  letter-spacing: clamp(0.1rem, 0.3vw, 2rem);
  line-height: clamp(0.5rem, 2.5vw, 6rem);
}

.home3-button:hover {
  background: #C1824F;
  color: #fff;
}


.home3-img {
  width: 100%;       /* image fills item width */
  height: 250px;     /* bigger height */
  object-fit: cover; /* crop to fit height if needed */
  margin-top: 2rem;
}


.home4-section {
  width: 100%;
  display: flex;
  min-height: 150vh;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  box-sizing: border-box;
  background-color: #00163C;
}

.home4-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
  align-items: center;
  gap: 3rem;
}

.home4-content {
  display: flex;
  width: 100%;
  gap: 3rem;
  align-items: center;
  justify-content: center;
}

.home4-carousel {
  position: relative;
  width: 100vw;
  overflow: visible;
}

.carousel-img-wrapper {
  position: relative;   /* container for overlay */
  display: inline-block; /* keeps images inline in carousel */
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  cursor: pointer;
  z-index: 10;
}

.carousel-button.left {
  left: 120px;
}

.carousel-button.right {
  right: 120px;
}

.carousel-button img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s;
}

.carousel-button:hover img {
  transform: scale(1.1);
}

.carousel-track-container {
  overflow: visible;
  width: 100vw;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease-in-out;
  margin: 0 auto;
}

.carousel-image {
  flex-shrink: 0;
  width: 70vw;
  height: 600px;
  object-fit: cover;
}


.home4-image img {
  width: 450px;        /* bigger image */
  height: auto;        /* maintain aspect ratio */
  display: block;
  margin-left: 100px;
}

.home4-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;   /* centers heading + subtitle together */
  text-align: center;    /* ensures internal text is centered */
}

.home4-heading {
  color: #C1824F;
  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);
  padding-bottom: 3rem;
  width: 50%;
}

.home4-subtitle {
  font-size: clamp(1rem, 1.2vw, 2.5rem);
  font-family: "agenda";
  color: #C1824F;
  font-weight: 300;
  margin: 0;
  line-height: clamp(1.8rem, 2.5vw, 4rem);
  width: 80%;
}


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