html {
  overflow-x: hidden; /* Hide horizontal scrollbar */
  width: 100%;
}

* {
  box-sizing: border-box;
}

body {
  font-family: Roboto, sans-serif;
  color: hsl(213, 91.6%, 28%);
  background: #fffff8;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

button {
  padding: 0.5rem 1rem;
}

@font-face {
  font-family: 'Nautica';
  src: url('../assets/fonts/Nautica.ttf') format('truetype');
}

body {
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Rubik', sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  text-align: center;
  color: #1a202c;
  position: relative;
  min-height: 100vh;
  background: #fdfdfe;
  padding-top: 70px; /* Space for fixed header */
  overflow-x: hidden; /* Only hide horizontal overflow on body */
  width: 100%;
  max-width: 100vw;
}

/* Top Header Styles */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 70px;
  background: #fdfdfe;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  box-shadow: none;
  padding-right: 15px;
  padding-left: 0;
  transition: border-bottom 0.6s ease, box-shadow 0.6s ease;
}
}

/* Header styling when user scrolls */
.top-header.scrolled {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header-brand {
  flex: 0 0 auto;
  position: relative;
  height: 90px;
  display: flex;
  align-items: center;
  transition: all 1s ease-in-out;
  margin-left: 18px;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: -2px;
  position: relative;
  transition: transform 4.3s ease;
  /* background: red; */
  margin-left: -20px;
}

.brand-container:hover {
  transform: translateY(-1px);
}

.brand-logo {
  width: 90px;
  height: 90px;
  background: url('../assets/svgs/divided.svg') center/contain no-repeat;
  background-size: 100% 100%;
  position: relative;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.8s ease-in-out;
  display: flex;
  margin: 0;
  align-items: center;
  justify-content: center;
  left: 0;
  top: 0;
}

.brand-logo.show {
  opacity: 1;
  transform: scale(1);
}

.brand-text-full {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  margin: 0;
  /* margin-top: 15px; */
  color: #64748b;
  text-align: left;
  line-height: 1.1;
  position: relative;
  z-index: 2;
  opacity: 1;
  transform: translateX(0);
  transition: all 1.6s ease-in-out;
  display: flex;
  align-items: center;
  margin-left: -17px;
  margin-top: 5px;
}

.brand-text-full.hide {
  opacity: 0;
  transform: translateX(-5px);
}

.brand-text-short {
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.3);
  text-align: center;
  line-height: 1;
  opacity: 0;
  margin-top: 8px;
  margin-left: 7px;
  transition: all 2.9s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.brand-text-short.show {
  opacity: 1;
  /* transform: scale(1.0); */
}

.header-nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  border-radius: 8px;
}

.main-left {
  background: transparent;
  flex: 0 0 50%;
  min-width: 0;
  z-index: 2;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  min-height: 100vh;
  position: relative;
  padding: 0;
}

.main-right {
  flex: 1 1 50%;
  background: transparent;
  min-height: 100vh;
  position: relative;
  overflow: hidden; /* Contain the SVG within the hero section */
  width: 100%;
}

/* Remove old nav styles - replaced by header-nav */
.header-nav nav,
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  padding: 0;
  height: auto;
  min-height: auto;
  background: transparent;
  border-radius: 0;
  margin: 0;
  backdrop-filter: none;
  box-shadow: none;
  position: static;
  z-index: auto;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hamburger Menu Button - updated for header */
.header-nav .hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 35px;
  height: 30px;
  cursor: pointer;
  padding: 8px !important;
  transition: all 0.3s ease;
  gap: 2px;
}

.header-nav .hamburger-menu span {
  display: block;
  height: 2px;
  width: 100%;
  background: #6b7280;
  border-radius: 2px;
  margin: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.header-nav .hamburger-menu:hover span {
  background: #1899d3;
}

.header-nav .navbar {
  display: flex;
}

@media (max-width: 1200px) {
  .header-nav .hamburger-menu {
    display: flex !important;
  }
  .header-nav .navbar {
    display: none !important;
  }
  .header-nav .navbar.mobile-expanded {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .header-nav .hamburger-menu {
    display: flex !important;
  }
  .header-nav .navbar {
    display: none !important;
  }
  .header-nav .navbar.mobile-expanded {
    display: flex !important;
  }
}

/* Navigation States - updated for header */
.header-nav .navbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: auto;
  width: auto;
  opacity: 1;
  transform: translateX(0);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile expanded menu for header */
.header-nav .navbar.mobile-expanded {
  position: fixed;
  top: 50px;
  right: 40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
  z-index: 200;
}

.logo-and-title {
  display: none;
}

/* Removed the blue circle dot
.logo-and-title::before {
  content: '';
  width: 32px;
  height: 32px;
  background: #6366f1;
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
}
*/

/*
.logo-and-title img {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 30px;
    width: 44px;
    height: 44px;
    margin-right: 8px;
    align-items: center;
}
*/

.title {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  padding-bottom: 0;
  color: #6366f1;
}

.homelink {
  text-decoration: none;
  color: var(--800);
}

.sub-title {
  font-family: 'Achiko', sans-serif;
  font-size: 12px;
  margin-left: 14px;
  margin-top: -4px;
}

/* TITLE EFFECTS */
.fade-in {
  opacity: 0;
  animation: fadeIn 3s ease-in 0s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/*
.fade-out {
    opacity: 1;
    animation: fadeAway 2s ease-out 2s forwards;
}

@keyframes fadeAway {
    to {
        opacity: 0;
    }
}
*/

.header-nav .navbar ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: auto;
  gap: 15px;
  width: auto;
  margin: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile expanded state - vertical layout */
.header-nav .navbar.mobile-expanded ul {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.header-nav .navbar li {
  display: flex;
  align-items: center;
  margin-right: 0;
  height: auto;
  width: auto;
}

.header-nav .navbar li:hover {
  background: none;
}

.header-nav .navbar a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  height: auto;
  color: #64748b;
  transition: all 0.2s ease;
  font-family: 'Rubik', sans-serif;
  text-align: left;
  border-radius: 6px;
  white-space: nowrap;
  background: transparent;
  border: none;
}

.header-nav .navbar a:hover {
  color: #1899d3;
  background: rgba(24, 153, 211, 0.06);
}

.header-nav .navbar a:active {
  color: #1899d3;
  background: rgba(24, 153, 211, 0.1);
}

.homepage {
  display: flex;
  min-height: 100vh;
  height: 100vh;
  width: 100%;
  max-width: 100%;
  background: #fdfdfe;
  position: relative;
  overflow: hidden; /* Contain the wave within hero section */
}

.homepage-header {
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -2px;
  margin: 0 0 1.5rem 0;
  color: #1e293b;
  font-family: 'Rubik', sans-serif;
  text-shadow: none;
  text-align: left;
}

.hompage-msg {
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0 0 2.5rem 0;
  padding-left: 12px;
  max-width: 420px;
  color: #64748b;
  line-height: 1.7;
  letter-spacing: 0.01em;
  font-family: 'Rubik', sans-serif;
  text-align: left;
}

.learn-more-btn {
  padding: 12px 24px;
  font-size: 0.9rem;
  margin-left: 10px;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  border: none;
  border-radius: 8px;
  background: #1899d3;
  transition: all 0.2s ease;
  text-transform: none;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(24, 153, 211, 0.2);
  position: relative;
  overflow: hidden;
}

.learn-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.learn-more-btn:hover::before {
  left: 100%;
}

.learn-more-btn:hover {
  background: #16a5e8;
  box-shadow: 0 4px 12px rgba(24, 153, 211, 0.3);
  transform: translateY(-1px);
}

.learn-more-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(24, 153, 211, 0.25);
}

.hero-flex-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: calc(100vh - 80px);
  width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 0px;
  margin-top: -60px;
}

.hero-flex {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 0;
  max-width: 600px;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.hero-flex__text {
  flex: 1;
  text-align: left;
  max-width: 550px;
  min-width: 400px;
  margin-left: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  border: none;
  border-radius: 18px;
  position: relative;
  z-index: 3;
}

.hero-flex__image-square {
  display: none;
}

/* .image-square {
    width: 420px;
    height: 260px;
    background-color: var(--900);
    background-image: linear-gradient(var(--200), var(--900)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='24' viewBox='0 0 88 24'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='autumn' fill='%230aa108' fill-opacity='0.48'%3E%3Cpath d='M10 0l30 15 2 1V2.18A10 10 0 0 0 41.76 0H39.7a8 8 0 0 1 .3 2.18v10.58L14.47 0H10zm31.76 24a10 10 0 0 0-5.29-6.76L4 1 2 0v13.82a10 10 0 0 0 5.53 8.94L10 24h4.47l-6.05-3.02A8 8 0 0 1 4 13.82V3.24l31.58 15.78A8 8 0 0 1 39.7 24h2.06zM78 24l2.47-1.24A10 10 0 0 0 86 13.82V0l-2 1-32.47 16.24A10 10 0 0 0 46.24 24h2.06a8 8 0 0 1 4.12-4.98L84 3.24v10.58a8 8 0 0 1-4.42 7.16L73.53 24H78zm0-24L48 15l-2 1V2.18A10 10 0 0 1 46.24 0h2.06a8 8 0 0 0-.3 2.18v10.58L73.53 0H78z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 18px rgba(6, 64, 137, 0.10);
    overflow: hidden;
} */

.overlay-img {
  position: static;
  width: 100%;
  height: 100%;
  min-width: 700px;
  max-width: 1100px;
  max-height: 750px;
  margin-left: 200px;
  object-fit: contain;
  z-index: 1;
  border-radius: 32px;
  /* box-shadow: 0 2px 18px rgba(6, 64, 137, 0.10); */
  content: none;
}

.below-fold-section {
  min-height: auto;
  height: auto;
  background: #fff;
  /* Now white background for services section */
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 40px 0 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}

.services-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4vw 6vw 4vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: auto;
}

.services-header {
  margin-top: 50px;
  margin-bottom: 60px;
  text-align: center;
  position: relative;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.services-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -1px;
  line-height: 1.2;
  color: #1a202c;
}

.services-header p {
  font-size: 1.2rem;
  color: #4a5568;
  margin: 0 auto;
  max-width: 700px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

/* Services button - darker blue with white text */
.services-btn {
  padding: 12px 24px;
  font-size: 0.9rem;
  margin-right: 16px;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  border: none;
  border-radius: 8px;
  background: #0d4f73;
  transition: all 0.2s ease;
  text-transform: none;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(13, 79, 115, 0.2);
  position: relative;
  overflow: hidden;
}

.services-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.services-btn:hover::before {
  left: 100%;
}

.services-btn:hover {
  background: #0a3d5c;
  box-shadow: 0 4px 12px rgba(13, 79, 115, 0.3);
  transform: translateY(-1px);
}

.services-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(13, 79, 115, 0.25);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.services-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-card {
  background: transparent;
  border-radius: 0;
  padding: 0 0 28px 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: 12px;
  border: none;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 28px;
  margin-right: 15px;
  margin-left: 15px;
}

/* Remove border only from the very last cards when they don't align with cards in the other column */
.services-column:first-child .service-card:last-child {
  border-bottom: 1px solid #e2e8f0; /* Keep border for better alignment */
  margin-bottom: 28px;
}

.services-column:last-child .service-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.service-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  width: 100%;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 0 0;
  color: #1e293b;
  line-height: 1.3;
}

.service-card p {
  font-size: 1.05rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
  text-align: left;
}

.info-section-offwhite {
  background: #f7f7f9;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 64px 0 64px 0;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

.info-section-content {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
  padding: 36px 32px 32px 32px;
  max-width: 700px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.info-main {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #333;
  width: 100%;
  max-width: 600px;
  text-align: center;
}

.info-details {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  width: 100%;
  max-width: 600px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-detail {
  margin-bottom: 1rem;
  width: 100%;
  text-align: center;
}

.info-section-centered {
  text-align: center;
}

.info-section-centered .info-details,
.info-section-centered .info-detail {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Add style for scroll-down-indicator */
/* .scroll-down-indicator {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  margin: 0 auto;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 10;
  opacity: 0.85;
}

.scroll-down-indicator svg {
  display: block;
  margin: 0 auto;
  animation: bounceDown 2.2s infinite;
} */

@keyframes bounceDown {
  0%,
  100% {
    transform: translateY(0);
  }

  20% {
    transform: translateY(8px);
  }

  40% {
    transform: translateY(0);
  }

  60% {
    transform: translateY(8px);
  }

  80% {
    transform: translateY(0);
  }
}

/* Background SVG Positioning and Animation */
.background-svg {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110vw;
  height: 110vh;
  z-index: 1;
  object-fit: cover;
  opacity: 1;
  transform: scale(1.2) translateX(20%);
}

/* Tall screens optimization */
@media (min-height: 900px) {
  .background-svg {
    height: 105vh;
    top: -2.5%;
  }
}

/* Very tall screens */
@media (min-height: 1200px) {
  .background-svg {
    height: 100vh;
    top: 0%;
  }
}

/***************************************************
 * Generated by SVG Artista on 7/26/2025, 7:09:09 PM
 * MIT license (https://opensource.org/licenses/MIT)
 * W. https://svgartista.net
 **************************************************/

svg .svg-elem-1 {
  fill: transparent;
  -webkit-transition: fill 1.3s cubic-bezier(0.47, 0, 0.745, 0.715) 0.8s;
  transition: fill 1.3s cubic-bezier(0.47, 0, 0.745, 0.715) 0.8s;
}

svg.active .svg-elem-1 {
  fill: rgb(205, 236, 250);
}

svg .svg-elem-2 {
  fill: transparent;
  -webkit-transition: fill 1.3s cubic-bezier(0.47, 0, 0.745, 0.715) 0.93s;
  transition: fill 1.3s cubic-bezier(0.47, 0, 0.745, 0.715) 0.93s;
}

svg.active .svg-elem-2 {
  fill: rgb(168, 224, 248);
}

svg .svg-elem-3 {
  fill: transparent;
  -webkit-transition: fill 1.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.06s;
  transition: fill 1.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.06s;
}

svg.active .svg-elem-3 {
  fill: rgb(150, 218, 247);
}

svg .svg-elem-4 {
  fill: transparent;
  -webkit-transition: fill 1.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.19s;
  transition: fill 1.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.19s;
}

svg.active .svg-elem-4 {
  fill: rgb(97, 205, 246);
}

svg .svg-elem-5 {
  fill: transparent;
  -webkit-transition: fill 1.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.32s;
  transition: fill 1.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.32s;
}

svg.active .svg-elem-5 {
  fill: rgb(84, 202, 245);
}

svg .svg-elem-6 {
  fill: transparent;
  -webkit-transition: fill 1.3s cubic-bezier(0.47, 0, 0.745, 0.715)
    1.4500000000000002s;
  transition: fill 1.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.4500000000000002s;
}

svg.active .svg-elem-6 {
  fill: rgb(67, 190, 238);
}

svg .svg-elem-7 {
  fill: transparent;
  -webkit-transition: fill 1.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.58s;
  transition: fill 1.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.58s;
}

svg.active .svg-elem-7 {
  fill: rgb(65, 167, 222);
}

svg .svg-elem-8 {
  fill: transparent;
  -webkit-transition: fill 1.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.71s;
  transition: fill 1.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.71s;
}

svg.active .svg-elem-8 {
  fill: rgb(63, 159, 216);
}

svg .svg-elem-9 {
  fill: transparent;
  -webkit-transition: fill 1.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.84s;
  transition: fill 1.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.84s;
}

svg.active .svg-elem-9 {
  fill: rgb(61, 149, 209);
}

svg .svg-elem-10 {
  fill: transparent;
  -webkit-transition: fill 1.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.97s;
  transition: fill 1.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.97s;
}

svg.active .svg-elem-10 {
  fill: rgb(53, 137, 201);
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 36px 0;
  }

  .services-section {
    padding: 0 1vw 2vw 1vw;
  }

  .info-section-offwhite {
    padding: 32px 0;
  }

  .info-section-content {
    padding: 24px 12px 20px 12px;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .top-header {
    padding: 0 15px; /* Slightly less padding on tablets */
  }
}

/* Show hamburger menu on medium screens to prevent nav cutoff */
@media (max-width: 1200px) {
  .header-nav .hamburger-menu {
    display: flex !important;
  }

  .header-nav .navbar {
    display: none;
  }

  .header-nav .navbar.mobile-expanded {
    display: flex;
    top: 70px;
    right: 15px;
  }
}

@media (max-width: 768px) {

  .top-header {
    padding: 0 20px;
    height: 60px;
  }

  body {
    padding-top: 60px;
  }

  .header-brand {
    margin-left: 10px;
    height: 60px;
  }

  .brand-logo {
    width: 90px;
    height: 90px;
    margin: 0;
    left: 0;
    top: 0;
  }

  .brand-text-full {
    font-size: 1rem;
  }

  .brand-text-short {
    font-size: 0.85rem;
    letter-spacing: 0.04em;
  }

  /* Always show hamburger on mobile */
  .header-nav .hamburger-menu {
    display: flex !important;
  }

  .header-nav .navbar {
    display: none;
  }

  .header-nav .navbar.mobile-expanded {
    display: flex;
    top: 60px;
    right: 20px;
  }

  .homepage {
    background-size: 100% auto;
    background-position: center bottom;
    flex-direction: column;
    min-height: calc(100vh - 70px);
  }

  .hero-flex-wrapper {
    margin-left: 0;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    min-height: calc(100vh - 70px);
  }

  .hero-flex {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
    padding: 2rem 0.5rem;
    max-width: 100%;
  }

  .hero-flex__text {
    order: 1;
    text-align: center;
    max-width: 100%;
    margin-left: 0;
    min-width: auto;
  }

  .homepage-header {
    text-align: center;
  }

  .hompage-msg {
    text-align: center;
    max-width: 100%;
  }

  .info-section-offwhite {
    padding: 32px 4vw;
  }
}

/* Ultra-wide screens */
@media (min-width: 1920px) {
  .background-svg {
    width: 105vw;
    height: 105vh;
    left: -2.5%;
    top: -2.5%;
    transform: scale(1.1) translateX(20%);
  }
}

/* Large desktop screens */
@media (min-width: 1200px) and (max-width: 1919px) {
  .background-svg {
    width: 108vw;
    height: 108vh;
    left: -4%;
    top: -4%;
    transform: scale(1.15) translateX(20%);
  }
}

/* Tablet landscape */
@media (max-width: 1199px) and (min-width: 901px) {
  .background-svg {
    width: 115vw;
    height: 115vh;
    left: -7.5%;
    top: -7.5%;
    transform: scale(1.3) translateX(20%);
  }
}

/* Medium screens (laptops/small desktops) */
@media (max-width: 1440px) and (min-width: 1200px) {
  .background-svg {
    width: 112vw;
    height: 112vh;
    left: -6%;
    top: -6%;
    transform: scale(1.25) translateX(20%);
  }
}

/* Tablets */
@media (max-width: 1100px) and (min-width: 901px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
  }

  .services-column {
    gap: 36px;
  }

  .service-card {
    padding: 0 0 28px 0;
  }

  .services-section {
    padding: 0 3vw 5vw 3vw;
  }

  .services-header {
    margin-top: 45px;
    margin-bottom: 55px;
  }

  .services-header h2 {
    font-size: 2.2rem;
  }

  .services-header p {
    font-size: 1.1rem;
  }
}

/* Mobile and small tablets */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .services-column {
    gap: 32px;
  }

  .service-card {
    padding: 0 0 32px 0;
    border-bottom: 1px solid #e2e8f0;
  }

  .service-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .services-section {
    padding: 0 3vw 5vw 3vw;
  }

  .services-header {
    margin-top: 40px;
    margin-bottom: 50px;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }

  .service-card p {
    font-size: 1rem;
  }

  .services-header h2 {
    font-size: 2rem;
    letter-spacing: -0.5px;
  }

  .services-header p {
    font-size: 1rem;
  }

  .services-section {
    padding: 0 1vw 2vw 1vw;
  }

  .info-section-offwhite {
    padding: 32px 0;
  }

  .info-section-content {
    padding: 24px 12px 20px 12px;
  }

  .main-left,
  .main-right {
    min-height: 40vh;
    width: 100vw;
  }

  .background-svg {
    position: absolute;
    width: 120vw;
    height: 120vh;
    left: -10%;
    top: -10%;
    transform: scale(1.4) translateX(20%);
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .background-svg {
    width: 125vw;
    height: 125vh;
    left: -12.5%;
    top: -12.5%;
    transform: scale(1.5) translateX(2%);
  }

  .main-left h1 {
    font-size: 2.5rem;
    line-height: 1.1;
  }

  .main-left p {
    font-size: 1rem;
    line-height: 1.4;
  }
}

/* Contact Form Section */
.contact-form-section {
  position: relative;
  background: #ffffff;
  padding: 0px 0 0px 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 85vh;
  padding-bottom: 5vh;
  overflow-x: hidden;
}

.contact-form-container {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 60px rgba(0, 0, 0, 0.08);
  padding: 22px 28px;
  max-width: 650px;
  width: 90%;
  margin: 0 auto;
  z-index: 10;
  position: relative;
}

.contact-form-header {
  text-align: center;
  margin-bottom: 12px;
}

.contact-form-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  color: #1e293b;
  font-family: 'Rubik', sans-serif;
}

.contact-form-header p {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
  font-family: 'Rubik', sans-serif;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 6px;
  font-family: 'Rubik', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Rubik', sans-serif;
  transition: all 0.3s ease;
  background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1899d3;
  box-shadow: 0 0 0 3px rgba(24, 153, 211, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.submit-btn {
  padding: 12px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  border: none;
  border-radius: 8px;
  background: #1899d3;
  transition: all 0.2s ease;
  text-transform: none;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(24, 153, 211, 0.2);
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  align-self: center;
  min-width: 160px;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  background: #16a5e8;
  box-shadow: 0 4px 12px rgba(24, 153, 211, 0.3);
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(24, 153, 211, 0.3);
}

/* Mobile responsiveness for contact form */
@media (max-width: 768px) {
  .contact-form-section {
    min-height: 80vh;
    padding: 40px 0 20px 0;
    background: #ffffff;
    align-items: flex-end;
    padding-bottom: 4vh;
  }

  .contact-form-container {
    padding: 18px 16px;
    border-radius: 15px;
    width: 95%;
    margin: 0 auto;
  }

  .contact-form-header {
    margin-bottom: 10px;
  }

  .contact-form-header h2 {
    font-size: 1.4rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-form {
    gap: 8px;
  }

  .submit-btn {
    padding: 10px 28px;
    font-size: 0.9rem;
    margin-top: 10px;
  }
}

/* Bottom Wave SVG Styling */
.bottom-wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  z-index: 1;
}

.bottom-wave-svg {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}
