body {
  font-family: "Poppins", sans-serif;
  background-color: #f7f5ec;
  color: #2c2421;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
}

ul {
  list-style: none;
}

/* Header */
header {
  margin-top: 0%;
  background-color: #efefe2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 9999;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.nav-container ul {
  display: flex;
  gap: 70px;
  justify-content: flex-end;
  align-items: center;
}

/* Dropdown styles for NAV */
.has-dropdown {
  position: relative;
}

.has-dropdown > a {
  position: relative;
}

.dropdown {
  display: none !important;
  visibility: hidden;
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: #efefe2; /* same as header */
  padding: 8px 0;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  min-width: 180px;
  z-index: 1002;
}

.dropdown li {
  padding: 0;
}

.dropdown li a {
  display: block;
  padding: 10px 18px;
  color: #6a7b54;
  text-decoration: none;
  font-weight: 600;
}

.dropdown li a:hover,
.dropdown li a:focus {
  background: rgba(106, 123, 84, 0.08);
}

/* Show dropdown only when JS toggles open class (on click/press) */
.has-dropdown.open > .dropdown {
  display: block !important;
  visibility: visible;
}

.nav-container li a {
  color: #6a7b54 !important;
  text-decoration: none;
  font-weight: 600;
}

.nav-container .logo {
  font-family: "Oleo Script Swash Caps", cursive !important;
  font-size: 28px;
  color: #6a7b54;
}

.nav-container li.logo {
  margin: 0 auto; /* push previous items left and following items right */
}

.nav-container li.logo a {
  font-family: "Oleo Script Swash Caps", cursive !important;
  font-size: 28px;
  color: #6a7b54;
  font-weight: 300;
  text-decoration: none;
  display: block;
  padding: 6px 0;
}
.hamburger {
  display: none!important;
}
/* mobile logo element (hidden by default) */
.mobile-logo {
  display: none;
}
.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #ffffff, #f9f4dd);
  overflow: hidden;
  gap: 200px;
  height: 80vh;
}

.hero-text {
  padding-left: 1rem;
}

.hero-text h1 {
  font-family: "Oleo Script Swash Caps", cursive !important;
  font-size: 68px;
  font-weight: 300;
  padding-left: 2rem;
  margin: 0;
}
.hero-text h4 {
  font-size: 24px;
  padding-left: 2rem;
  font-weight: 100 !important;
  margin-bottom: -10px;
}
.hero-text p {
  padding-left: 2rem;
  font-size: 18px;
  line-height: 1.3;
}

.hero-image {
  flex: 1 1 400px; /* take remaining space, minimum 400px */
  z-index: 1;
}

.hero-image img {
  width: 100%;
  max-width: 1000px;
  height: 100%;
  display: block;
  transform: scale(1.3);
}

/* About Section */
.about {
  background: #f9f9f9;
  padding: 80px 0;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 80px; /* provide horizontal breathing room so layout matches design */
}

.about-content h2 {
  width: 360px;
  margin: 0;
  padding: 0;
  text-align: right !important;
  align-self: flex-start; /* keep title at top */
  font-family: "Oleo Script Swash Caps", cursive !important;
  font-size: 3.8rem;
  font-weight: 300;
  line-height: 0.9;
  color: #2d2520;
  -webkit-font-smoothing: antialiased;
}

.about-image {
  width: 360px;
  height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-bottom: 8px solid #000;
}

.about-text {
  width: 360px;
  display: flex;
  align-items: flex-end;
  align-self: flex-end; /* align the paragraph to the bottom of the image */
  text-align: left;
}

.about-text p {
  margin: 0;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.78);
}

.services-section {
  background: #ffffff;
  padding-top: 40px;
  padding-bottom: 40px;
}
.services-section h2 {
  width: 100vw;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 200;
  margin-bottom: 40px;
  color: #3a3029;
}
.services-section h2 span {
  font-size: 1.5rem;
  font-family: "Oleo Script Swash Caps", cursive !important;
}
.services-section h2 span1 {
  font-size: 1.7rem;
}
.services {
  max-width: 1100px;
  margin: 40px auto 0;
  display: flex;
  gap: 60px;
  justify-content: center;
  align-items: flex-start;
}
.service {
  flex: 1;
  max-width: 300px;
  text-align: center;
}

.service h3 {
  font-family: "Oleo Script Swash Caps", cursive !important;
  font-size: 1.8rem;
  margin: 6px 0 8px;
  color: #2c2421;
}

.service .serviceimage {
  width: 40px;
  height: 40px;
  vertical-align: middle;
  margin-right: 8px;
}

.service p {
  margin: 0;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 16px;
  color: #2c2421;
}

.description {
  max-width: 900px;
  margin: 32px auto 60px;
  text-align: center;
  color: #2c2421;
  font-size: 15px;
  line-height: 1.6;
}

/* CTA Section */
.cta {
  background-color: #f9f9f9;
  text-align: center;
  padding-bottom: 2rem;
}

.cta-images {
  display: flex;
  flex-direction: row;
  gap: 0px;
  width: 100vw;
  margin: 0 !important;
  padding: 0;
  justify-content: center;
}

.cta-left,
.cta-right {
  position: relative;
  width: 50vw;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.cta-label {
  position: absolute;
  top: 35%;
  left: 6%;
  font-size: 20px;
  font-weight: 400;
  color: #2c2421;
  z-index: 10;
}

.cta-left img,
.cta-right img {
  width: 100%;
  height: auto;
  display: block;
}

.cta-overlay {
  position: absolute;
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.cta-overlay span:first-child {
  font-family: "Oleo Script Swash Caps", cursive;
  font-size: 38px;
  font-weight: 300;
  color: #2c2421;
}

.cta-arrow {
  font-size: 22px;
  color: #2c2421;
}

.cta-text {
  margin-top: 40px;
}

.cta-text h2 {
  font-size: 1.2rem;
  margin: 20px 0;
}

.cta-text button {
  background-color: #2c2421;
  color: #fff;
  padding: 15px 50px;
  border-radius: 3px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.cta-text button:hover {
  background-color: #6a7b54;
}

/* Footer */
footer {
  background-color: #efefe2;
  padding: 30px 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
footer .socials a {
  margin-left: 15px;
  text-decoration: none !important;
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  display: inline-block;
  line-height: 0; /* ensure no extra text descenders cause small marks */
}

footer .socials a img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

/* Responsive: global adjustments for mobile/tablet */
@media (max-width: 900px) {
  .hamburger {
    display: block;
    cursor: pointer;
  }
  /* keep the logo visible on mobile while hiding other items until menu opens */
  .nav-container ul {
    display: flex;
    gap: 18px;

/* High-resolution / large-screen rule: prevent default blue link color on devices
   like MacBook Pro 14" (high DPI). Keeps links using surrounding text color. */
@media (min-width: 1400px) and (min-resolution: 2dppx) {
  a, a:link, a:visited, a:hover, a:active, a:focus {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }
}
    justify-content: flex-start;
    align-items: center;
  }
  /* hide all items except the logo by default on mobile */
  .nav-container ul li:not(.logo) {
    display: none;
  }
  /* when hamburger toggles menu, show items in a column overlay */
  .nav-container ul.show {
    display: flex !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    flex-direction: column;
    gap: 12px;
    background: #efefe2;
    padding: 12px;
    z-index: 9998;
  }
  .nav-container ul.show li {
    display: flex;
  }

  /* position the hamburger on the right */
  .hamburger {
    display: block !important;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10001;
  }
  /* ensure logo sits at left on mobile */
  .nav-container li.logo {
    margin: 0;
  }
  .nav-container li.logo {
    margin: 0 auto;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  .hero,
  .about-content,
  .case-block,
  .contact-container,
  .case-study-container {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .logo a {
    padding: 6px 0;
  }
  /* when the menu overlay is open, hide the logo li inside the list
     so the overlay doesn't duplicate the logo text */
  .nav-container ul.show li.logo {
    display: none !important;
  }
  
.cta-overlay span:first-child {
  font-family: "Oleo Script Swash Caps", cursive;
  font-size: 18px;
  font-weight: 300;
  color: #2c2421;
}

@media (max-width: 480px) {
  .nav-container ul {
    padding: 8px 10px;
  }
  .nav-container ul li {
    padding: 8px 0;
  }
}
footer .socials a {
  margin-left: 15px;
  text-decoration: none !important;
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  display: inline-block;
  line-height: 0; /* ensure no extra text descenders cause small marks */
}

footer .socials a img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero {
    padding: 80px 40px;
  }
  .hero-text h1 {
    font-size: 40px;
  }
  .about-text h2 {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 35px 30px;
  }
  .hero {
    flex-direction: column;
    padding: 60px 30px;
  }
  .hero-text h1 {
    font-size: 32px;
  }
  .about-content {
    flex-direction: column;
    align-items: center;
  }
  .about-image img,
  .hero-image img {
    max-width: 100%;
  }
  .cta-text h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 26px;
  }
  .cta-text button {
    padding: 12px 25px;
    font-size: 14px;
  }
  .nav-container ul {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 1024px) {
  .hero {
    padding: 80px 40px;
  }
  .hero-text h1 {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 30px;
  }
  .hero-text h1 {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 26px;
  }
}

/* Mobile screens */
@media (max-width: 768px) {
  /* Hero section */
  .hero {
    flex-direction: column; /* stack vertically */
    gap: 20px;
    padding: 30px 20px;
    text-align: center;
  }

  .hero-text {
    padding-left: 0;
    text-align: center;
  }

  .hero-image {
    width: 100%;
    text-align: center;
  }

  .hero-image img {
    transform: none; /* remove scaling */
    max-width: 100%;
    height: auto;
    margin: 0 auto; /* center image */
    display: block;
  }

  /* About section */
  .about-content {
    flex-direction: column; /* stack image and text vertically */
    gap: 20px;
    text-align: center;
    padding: 0 20px;
  }

  .about-image {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .about-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .about-text {
    width: 100%;
    text-align: center;
  }

  /* Services section */
  .services {
    flex-direction: column; /* stack services vertically */
    gap: 30px;
    align-items: center;
  }

  .service {
    max-width: 100%;
  }

  .cta-images {
    flex-direction: column; /* stack vertically */
    gap: 20px;
    align-items: center;
  }

  .cta-left,
  .cta-right {
    width: 100%; /* fit full width of screen */
    max-width: 100%; /* prevent overflow */
  }

  .cta-left img,
  .cta-right img {
    width: 100%; /* scale image to container */
    height: auto; /* keep aspect ratio */
    object-fit: contain; /* ensure no cropping/overflow */
    display: block;
  }
}

@media (max-width: 480px) {
  .cta-left,
  .cta-right {
    width: 100%;
  }

  .cta-left img,
  .cta-right img {
    width: 100%;
    height: auto;
  }
}

/* Default: hamburger hidden */
.hamburger {
  display: none;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #6a7b54;
}
/* Mobile: max-width 768px */
@media (max-width: 768px) {
  /* Hide logo inside dropdown */
  nav ul li.logo {
    display: none;
  }

  /* Hide any previous pseudo logo and show real mobile logo element */
  .nav-container::before {
    display: none !important;
  }
.hero-text br {
  display: none;
}

  .mobile-logo {
    display: block;
    font-family: "Oleo Script Swash Caps", cursive;
    font-size: 22px;
    color: #6a7b54;
    position: absolute;
    left: 20px;
    top: -5px;
    z-index: 1000;
    text-decoration: none;
  }

  /* Hamburger on the right */
  .hamburger {
    display: block;
    position: absolute;
    right: 20px;
    z-index: 1001;
    cursor: pointer;
  }

  nav ul {
    display: none !important;
    flex-direction: column;
    position: absolute;
    top: 60px; /* just below header */
    left: 0;
    width: 100%;
    background: #efefe2;
    padding: 20px 0;
    gap: 15px;
    text-align: center;
    z-index: 999;
  }

  nav ul.show {
    display: flex !important;
  }

  /* Keep mobile links small */
  nav ul li a {
    font-size: 15px;
  }
}
