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: #a67247;
  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 a.active {
  color: white !important;  /* persistent white color */
  font-weight: bold;         /* optional */
}
/* Sidebar menu */
.sidebar-menu {
  position: fixed;
  top: 0;
  right: -100%; /* hidden initially */
  width: 450px;
  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-containerd {
  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-containerd .image-captiond {
  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;
}

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

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

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

.image-containers .image-captions1 {
  position: absolute;
  bottom: clamp(4px, 2.5vw, 106px); /* min 4px, ideal 1vw, max 16px */
  left: 27%;
  color: white;
  font-family: "agenda", sans-serif;
  font-size: clamp(0.2rem, 1.2vw, 12rem);
  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;
}

@media screen and (min-width: 1600px) {
  .developer-section {
    min-height: 380vh; /* reduce space on big desktops */
  }


}

/* Logo */
.developer-logo-container {
  width: clamp(150px, 12vw, 1300px); /* adjust as needed */
  margin: 0 auto;
}
.developer-logo {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
}

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

.developer-image img {
    display: block;
    margin: 0 auto;  /* centers the image */
    width: 80%;      /* adjust as needed */
    height: auto;
    object-fit: cover;
}

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

/* Default: show desktop image, hide mobile image */
.developer-image.medium-width .desktop-img {
  display: block;
}

.developer-image.medium-width .mobile-img {
  display: none;
}

/* Mobile: show mobile image, hide desktop */
@media screen and (max-width: 768px) {
  .developer-image.medium-width .desktop-img {
    display: none;
  }
  .developer-image.medium-width .mobile-img {
    display: block;
  }
}


/* 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: 10%;
  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;
  font-weight: 300;
  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 {
  margin-left: auto; /* push to right */
  display: block;    /* needed if image is inline by default */
}

.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;
  width: 70%;
  font-family: "agenda";
}

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


@media screen and (max-width: 768px) {

  .home-section-7 {
  min-height: 210vh; 
}
  .home-7-content {
    width: 90%;         /* full width on mobile */
    margin-top: 50px;
    gap: 1.5rem;
  }

  .home-7-split {
    flex-direction: column;   /* stack left & right vertically */
    gap: 2rem;                /* space between sections */
  }

  .home-7-left,
  .home-7-right {
    flex: 1 1 100%;           /* full width */
    border-right: none;       /* remove vertical divider */
    padding: 0;               /* reset padding for mobile */
  }

  /* Make left column full width */
  .home-7-left {
    flex: 1 1 100%;
    width: 100%;             /* full width */
    padding: 0;              /* remove leftover padding */
    text-align: center;      /* center all text inside */
    margin: 0 auto;          /* center container if needed */
  }

  /* Center the title and subtitle */
  .home-7-left h1.home-7-title {
    width: 80%;              /* or 80% if you like */
    margin: 0 auto;          /* center horizontally */
    text-align: center;      /* center text */
  }

  .home-7-left h2.home-7-subtitle {
    width: 90%;              /* or 80% if you like */
    margin: 0 auto;          /* center horizontally */
    text-align: center;      /* center text */
  }

  /* Optional: reduce letter spacing to avoid overflow */
  .home-7-left h1.home-7-title {
    font-size: clamp(1rem, 5vw, 10.5rem); line-height: clamp(0.1rem, 8.1vw, 10.5rem);
    margin-bottom: 7%;
  }

  .home-7-left h2.home-7-subtitle {
    font-size: clamp(1rem, 5vw, 10.5rem); line-height: clamp(0.1rem, 8.1vw, 10.5rem);
    margin-bottom: 7%;
  }


  .home-7-left .home-7-contact {
    font-size: clamp(0.9rem, 3.5vw, 1.2rem);
    margin-left: 0;
    text-align: center;
    width: 100%;
    
  }
/* Make contact text and phone number stack vertically */
.home-7-left .home-7-contact {
  display: flex;
  flex-direction: column;  /* stack items vertically */
  align-items: center;     /* center horizontally */
  width: 90%;              /* optional: smaller width */
  margin: 0 auto;
  text-align: center;         /* small space between text and number */
  margin-top: 7%;
}

/* Style the phone number separately if needed */
.home-7-left .home-7-contact .phone-link {
  display: block;           /* ensures it goes to next line */
  font-size: clamp(0.9rem, 10vw, 5.2rem);        /* adjust size for mobile */
  margin-top: 0rem;       /* optional spacing */
  padding-bottom: 3rem;
}


/* Fix textarea and buttons on mobile */
.home-7-right .home-7-form textarea {
  width: 100% !important;       /* full width of form container */
  box-sizing: border-box;       /* include padding in width */
}

.home-7-right .home-7-buttons {
  width: 100% !important;       /* full width */
  flex-direction: column;       /* stack buttons vertically */
  gap: 0.5rem;
}

.home-7-right .home-7-buttons button {
  width: 100%;                  /* make each button fill the container */
}

/* Developer info padding for mobile - smaller version */
.home-7-content .developer-info {
  width: 98% !important;       
  font-size: 0.65rem;
  line-height: 0.7rem;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  padding: 0.8rem 0.5rem 0 0.5rem;  /* top 0.8rem, left & right 0.5rem */
  box-sizing: border-box;       
  text-align: justify;           
}


  .home-7-left .home-7-map {
    max-width: 90%;
    height: 200px;
    object-fit: cover;
    margin: 0 auto;
  }

  

  .home-7-form label,
  .home-7-form p {
    font-size: 1rem;
  }

  .home-7-form input[type="text"],
  .home-7-form input[type="tel"],
  .home-7-form input[type="email"],
  .home-7-form textarea {
    font-size: 0.95rem;
  }

  .home-7-options {
    flex-direction: column;
    gap: 0.5rem;
  }

  .home-7-buttons {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .submit-btn,
  .download-btn {
    width: 100%;
  }

  .home-7-consent .consent-text {
    font-size: 0.85rem;
    line-height: 1.2rem;
  }
}

/* --------------------------------------------------------- */
/*                        MOBILE VIEW                        */
/* --------------------------------------------------------- */
@media (max-width: 768px) {


  /* ----------------------------------------------------- */
  /*                     DEVELOPER HOME                    */
  /* ----------------------------------------------------- */
  .sidebar-menu {
    right: -130%;
  }

  .developer-section {
    min-height: 363dvh !important;
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }

  .developer-logo-container {
    width: 40%;
    margin-top: 10px;
    padding-bottom: 1.5rem;
  }

  @media screen and (max-width: 768px) {
  .developer-image.medium-width {
    width: 90%;         /* make the container bigger on mobile */
    max-width: none;    /* remove desktop max-width limit */
    margin: 0 auto;     /* center horizontally */
  }

  .developer-image.medium-width img {
    width: 100%;        /* fill the container */
    height: auto;       /* maintain aspect ratio */
    object-fit: cover;  /* crop nicely if needed */
    object-position: center;
    display: block;
  }
}



@media screen and (max-width: 768px) {
  .developer-image.full-width .image-containerd {
    position: relative;
    width: 100%;
    height: 40vh;  /* adjust height for mobile */
    overflow: hidden;
  }

  .developer-image.full-width .first-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;        /* let width adjust */
    min-width: 100%;    /* fill container */
    object-fit: cover;
    
    /* Shift image 70% to the right */
    transform: translateX(-20%);
    transform-origin: left top;
  }
}

.image-captiond {
  position: absolute;
  bottom: 10px;  
  left: 10px;        /* distance from left */
  color: rgb(255, 255, 255);
  padding: 4px 8px;
  font-family: "agenda", sans-serif;
  font-size: 0.6rem !important;
  font-weight: bold;
  pointer-events: none;  /* allows clicks to pass through */
  z-index: 10;
}

  .developer-image {
    width: 100%;
    margin: 0 auto;
  }

  .developer-image img,
  .developer-image .image-container img,
  .image-container img {
    width: 100%;
    height: 260px;              /* adjust height as needed */
    object-fit: cover;          /* crop sides */
    object-position: center;    /* center the crop */
  }

  .image-containers .image-captions {
    font-size: 0.4rem;
    left: 10px;
    bottom: 10px;
  }

.image-containers .image-captions1 {
    font-size: 0.8rem;
    left: 10px;
    bottom: 20px;
  }


  .developer-subtitle {
    font-size: clamp(0.9rem, 4.5vw, 2rem);
    text-align: center;
    width: 60%;
    line-height: clamp(1.2rem, 8.5vw, 10.5rem);
  }

  .developer-subtitle11 {
    font-size: clamp(0.9rem, 4.5vw, 2rem);
    text-align: center;
    width: 85%;
    line-height: clamp(0.2rem, 6.5vw, 10.5rem);
    padding-bottom: 2rem;
  }

  .developer-subtitle2 {
    font-size: clamp(0.9rem, 4vw, 10.2rem);      /* responsive font size */
  line-height: clamp(1.3rem, 7vw, 10.8rem);     /* responsive line height */
  width: 83%;
  text-align: center;
  }

  @media screen and (max-width: 768px) {
  .developer-image.small-image-4 {
    width: 80%;        /* smaller width proportionally */
    height: auto;      /* let height adjust based on image */
    overflow: hidden;
    margin: 0 auto;    /* center horizontally */
  }

  .developer-image.small-image-4 img {
    width: 100%;       /* fills the container proportionally */
    height: auto;      /* maintains aspect ratio */
    object-fit: cover; /* crops if necessary */
    object-position: center;
    display: block;
  }
}

  

  /* ----------------------------------------------------- */
  /*                  CONTACT / ENQUIRY FORM               */
  /* ----------------------------------------------------- */
  .home-section-7 {
    padding: 2rem 1rem;
    height: auto;
  }

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

  /* LEFT SIDE */
  .home-7-title {
    font-size: 1.4rem;
    text-align: center;
    padding: 0 1rem;
  }

  .home-7-subtitle {
    text-align: center;
    font-size: 1rem;
  }

  .home-7-divider {
    width: 60%;
    margin: 1rem auto;
  }

  .home-7-contact {
    text-align: center;
    font-size: 1rem;
  }

  .home-7-map {
    width: 100%;
    height: auto;
    margin-top: 1rem;
  }

  /* RIGHT SIDE (FORM) */
  .home-7-right {
    width: 100%;
  }

  .home-7-form-title {
    text-align: center;
    font-size: 1.2rem;
  }

  .home-7-form {
    width: 100%;
    padding: 0 0.5rem;
  }

  .home-7-form input,
  .home-7-form textarea {
    width: 100%;
    font-size: 1rem;
  }

  .home-7-options {
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
  }

  .home-7-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .submit-btn,
  .download-btn {
    width: 100%;
    font-size: 1rem;
    padding: 12px 0;
  }

  .developer-info {
    font-size: 0.7rem;
    line-height: 1rem;
    text-align: center;
    padding: 1rem;
  }
}


.developer-subtitlem {
    display: none !important;
  }

@media screen and (max-width: 768px) {

  /* Hide seagull icon in mobile */
  .subtitle-image {
    display: none !important;
  }

  /* Hide desktop subtitle in mobile */
  .developer-subtitle {
    display: none !important;
  }

  .developer-subtitlem {
    display: block !important;
    color: #C1824F;
  font-size: clamp(0.1rem, 2.8vw, 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;
  padding-top: 3rem;
  margin-bottom: -10px;
  }

}



@media screen and (max-width: 768px) {
  /* Sidebar menu full screen width on mobile */
  .sidebar-menu {
    width: 100%;
    text-align: center; /* center everything inside */
    padding-top: 50px; /* push menu items down a bit */
  }

  /* Logo in the sidebar */
  .sidebar-logo {
    display: block;
    margin: 0 auto 30px auto; /* center logo, add bottom margin */
    margin-left: 35%;
    max-width: 180px; /* adjust logo size as needed */
  }

  /* Sidebar links bigger */
  .sidebar-menu a {
    font-size: 1rem; /* increase font size for readability */
    padding-bottom: 0.1rem;
    display: block;
    position: relative;
    left: 5%;
  }

  /* Nested download links */
  .download-links a {
    font-size: 1rem;
    display: block;
    padding-bottom: 0.1rem;
  }

  .sidebar-header {
    margin-top: -40px;
    margin-bottom: -30px;
  }
}