:root {
  --main-color: #3498db;
  --secondary-color: #2ecc71;
  --font-size: 16px;
  --padding: 1rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#loading-screen {
  display: -webkit-flex; /* Safari */
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#loading-screen img {
  width: 200px;
  height: 200px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.1;
  }
  100% {
    opacity: 1;
  }
}

body {
  font-family: Arial, sans-serif;
  background-color: #bedabb;
}
nav {
  display: -webkit-flex; /* Safari */
  display: flex;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: transparent;
  /* padding: 20px; */
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.5s ease;
}
.container {
  display: -webkit-flex; /* Safari */
  display: flex;
  align-items: center;
  padding: 5px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 35px;
  margin: 10px;
  width: fit-content;
}
.branding {
  display: -webkit-flex; /* Safari */
  display: flex;
  align-items: center;
  background-color: #e7e7e7;
  border-radius: 25px;
  padding: 7px;
}
.logo {
  height: 27px;
  width: 27px;
  margin-right: 10px;
}
.company-name {
  font-size: 0.8em;
  font-weight: bold;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
}
.burger {
  display: none;
  cursor: pointer;
  border: 2px solid #e7e7e7;
  border-radius: 25px;
  padding: 12px;
  margin-left: 3px;
  transition: background-color 0.3s, color 0.3s;
}
.burger:hover {
  background-color: #bedabb;
  color: white;
}
.burger .bar {
  width: 15px;
  height: 3px;
  background-color: rgb(214, 182, 0);
  margin: 4px;
  transition: all 0.3s ease;
}

/* Transform the burger into an X when active */
.burger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(2px, 6px) scale(200%);
}

.burger.active .bar:nth-child(2) {
  opacity: 0;
}

.burger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -6px) scale(200%);
}

.nav-menu {
  display: -webkit-flex; /* Safari */
  display: flex;
  list-style: none;
  /* margin-left: 0px; */
}
.menu-item {
  margin: 0 7.5px;
  font-size: 0.8em;
  /* font-weight: bold; */
  white-space: nowrap;
  position: relative;
  padding: 5px 7.5px;
}
.menu-item a {
  text-decoration: none;
  color: black;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}
.menu-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 0;
  border-radius: 50px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.menu-item:hover::before {
  transform: scaleX(1);
  background-color: #bedabb;
}
.menu-item:hover a {
  color: white;
}
.right-buttons {
  display: -webkit-flex; /* Safari */
  display: flex;
  align-items: center;
}
.search-login-container {
  display: -webkit-flex; /* Safari */
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  padding: 7px;
  margin: 10px;
}
.login-button {
  background-color: #e7e7e7;
  border: none;
  border-radius: 50px;
  padding: 5px 15px;
  font-size: 0.8em;
  cursor: pointer;
  margin-left: 10px;
  transition: background-color 0.3s, color 0.3s;
}
.login-button:hover {
  background-color: #bedabb;
  color: white;
}
.material-icons {
  font-size: 1.5em;
  color: black;
  cursor: pointer;
  border: 1px solid #e7e7e7;
  border-radius: 50%;
  padding: 5px;
  transition: background-color 0.3s, color 0.3s;
}
.material-icons:hover {
  background-color: #bedabb;
  color: white;
}
section {
  padding: 20px;
  margin: 20px;
  border-radius: 10px;
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}
.services-header {
  text-align: center;
  padding-top: 50px;
}
.video-section {
  position: relative;
}
.video-section video {
  width: 100%;
  height: auto;
  border-radius: 40px 40px 10px 10px;
}

.video-section-caption-overlay {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 80%;
  transform: translateX(-50%);
  color: black;
  border-radius: 40px 40px 10px 10px;
  padding: 10px;
  /* margin: 20px; */
  text-align: center;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.7);
}
.video-section-caption-overlay-text {
  display: inline-block;
  white-space: nowrap;
  font-size: 1.5em;
  animation: scroll-left 30s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(5%);
  }
  100% {
    transform: translateX(-100%);
  }
}
section {
  background-color: rgba(231, 231, 231, 0.4);
}
h1 {
  /* margin-bottom: 20px; */
  font-size: 2.6em;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-weight: lighter;
  color: black;
}
h2 {
  margin-bottom: 20px;
  font-size: 2.2em;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-weight: lighter;
  color: black;
}
p {
  font-size: 1.3em;
  line-height: 1.5;
  color: rgb(109, 109, 109);
}

.split-section {
  display: -webkit-flex; /* Safari */
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}
.left-div {
  height: 100vh;
  position: sticky;
  top: 0;
  padding-top: 100px;
  padding-left: 50px;
  padding-right: 20px;
}
.right-div {
  display: -webkit-flex; /* Safari */
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 100px;
  padding-right: 50px;
  padding-left: 20px;
}
.sticky-card {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  margin-bottom: 0px;
}
.sticky-card p {
  display: -webkit-box; /* Establishes a flex container for WebKit browsers */
  -webkit-box-orient: vertical; /* Sets the box orientation to vertical for WebKit */
  -webkit-line-clamp: 2; /* Limits text to 2 lines for WebKit browsers */
  display: box; /* Establishes a flex container for standard */
  box-orient: vertical; /* Sets the box orientation to vertical for standard */
  line-clamp: 2; /* Limits text to 2 lines for browsers supporting standard line-clamp */
  overflow: hidden; /* Hides overflowing text */
  text-overflow: ellipsis; /* Adds ellipsis (...) for overflowing text */
}
.sticky-card:nth-child(1) {
  top: 110px;
  border-radius: 10px;
}
.sticky-card:nth-child(2) {
  top: 120px;
  border-radius: 10px;
}
.sticky-card:nth-child(3) {
  top: 130px;
  border-radius: 10px;
}
.sticky-card:nth-child(4) {
  top: 140px;
  border-radius: 10px;
}
.sticky-card:nth-child(5) {
  top: 150px;
  border-radius: 10px;
}
.sticky-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px 10px 0 0;
}
.card-content {
  padding: 20px;
}
.card-content h3 {
  margin: 0 0 10px 0;
}
.card-content p {
  margin: 0;
  color: #666;
}
.unstick-zone {
  height: 100vh;
}
.services-image-more-link {
  display: -webkit-flex; /* Safari */
  display: flex;
  align-items: center;
  background-color: black;
  color: white;
  border-radius: 50px;
  padding: 7px;
  margin: 2px;
}
.services-image-more-link span {
  color: white;
}
.where-to-find-us-split-section {
  display: -webkit-flex; /* Safari */
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}
.where-to-find-us-left-div {
  /* height: 100vh; */
  position: sticky;
  top: 0;
  /* padding-top: 100px;
  padding-left: 20px;
  padding-right: 20px; */
  padding: 20px 20px 20px 20px;
}
.where-to-find-us-right-div {
  display: -webkit-flex; /* Safari */
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 10px;
  padding-right: 20px;
  padding-left: 20px;
}
.where-to-find-us-right-div iframe {
  width: 600;
  height: 450;
  border-radius: 40px 40px 10px 10px;
}

@media (max-width: 319px) {
  .container {
    padding: 5px;
    margin: 0px;
    flex-direction: initial;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 10px;
    background-color: white;
    border-radius: 10px;
    padding: 7px;
    width: 100%;
    margin-right: 10px;
  }
  .menu-item {
    margin: 10px 0;
  }
  .burger {
    display: block;
  }
  .search-login-container {
    margin: 0px;
  }
  .services-header {
    padding-top: 0px;
  }
  h1 {
    font-size: 2em;
  }
  h2 {
    margin-bottom: 5px;
    font-size: 1.6em;
  }
  p {
    font-size: 0.9em;
    line-height: 1.5;
  }
  .split-section {
    gap: 0px;
    padding: 0px;
  }
  .left-div {
    height: fit-content;
    padding-top: 50px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .right-div {
    padding-right: 10px;
    padding-left: 10px;
  }
  .sticky-card:nth-child(1) {
    top: 200px;
  }
  .sticky-card:nth-child(2) {
    top: 210px;
  }
  .sticky-card:nth-child(3) {
    top: 220px;
  }
  .sticky-card:nth-child(4) {
    top: 230px;
  }
  .sticky-card:nth-child(5) {
    top: 240px;
  }
  .where-to-find-us-split-section {
    gap: 0px;
    padding: 0px;
  }
  .where-to-find-us-left-div {
    position: relative;
    height: fit-content;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .where-to-find-us-right-div {
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (min-width: 320px) and (max-width: 576px) {
  .container {
    padding: 5px;
    margin: 0px;
    flex-direction: initial;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 10px;
    background-color: white;
    border-radius: 10px;
    padding: 7px;
    width: 100%;
    margin-right: 10px;
  }
  .menu-item {
    margin: 10px 0;
  }
  .burger {
    display: block;
  }
  .search-login-container {
    margin: 0px;
  }
  .services-header {
    padding-top: 0px;
  }
  h1 {
    font-size: 2em;
  }
  h2 {
    margin-bottom: 5px;
    font-size: 1.6em;
  }
  p {
    font-size: 0.9em;
    line-height: 1.5;
  }
  .split-section {
    gap: 0px;
    padding: 0px;
  }
  .left-div {
    height: fit-content;
    padding-top: 50px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .right-div {
    padding-left: 15px;
    padding-right: 15px;
  }
  .sticky-card:nth-child(1) {
    top: 200px;
  }
  .sticky-card:nth-child(2) {
    top: 210px;
  }
  .sticky-card:nth-child(3) {
    top: 220px;
  }
  .sticky-card:nth-child(4) {
    top: 230px;
  }
  .sticky-card:nth-child(5) {
    top: 240px;
  }
  .where-to-find-us-split-section {
    gap: 0px;
    padding: 0px;
  }
  .where-to-find-us-left-div {
    position: relative;
    height: fit-content;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .where-to-find-us-right-div {
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
  }

}

/* Mobile devices (medium to large) */
@media (min-width: 577px) and (max-width: 767px) {
  .container {
    padding: 5px;
    margin: 10px;
    flex-direction: initial;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 10px;
    background-color: white;
    border-radius: 10px;
    padding: 7px;
    width: 100%;
    margin-right: 10px;
  }
  .menu-item {
    margin: 10px 0;
  }
  .burger {
    display: block;
  }
  .search-login-container {
    margin: 10px;
  }
  .services-header {
    padding-top: 0px;
  }
  h1 {
    font-size: 2em;
  }
  h2 {
    margin-bottom: 5px;
    font-size: 1.2em;
  }
  p {
    font-size: 0.9em;
    line-height: 1.5;
  }
  .left-div {
    height: fit-content;
    padding-top: 50px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .right-div {
    padding-left: 20px;
    padding-right: 20px;
  }
  .sticky-card:nth-child(1) {
    top: 200px;
  }
  .sticky-card:nth-child(2) {
    top: 210px;
  }
  .sticky-card:nth-child(3) {
    top: 220px;
  }
  .sticky-card:nth-child(4) {
    top: 230px;
  }
  .sticky-card:nth-child(5) {
    top: 240px;
  }
  .where-to-find-us-split-section {
    gap: 0px;
    padding: 0px;
  }
  .where-to-find-us-left-div {
    position: relative;
    height: fit-content;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .where-to-find-us-right-div {
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
  }

}
@media (min-width: 768px) {
  .services-header {
    padding-top: 0px;
  }
  .split-section {
    flex-direction: row;
  }

  .left-div {
    flex: 0 0 40%;
  }

  .right-div {
    flex: 0 0 60%;
  }
  .where-to-find-us-split-section {
    flex-direction: row;
  }

  .where-to-find-us-left-div {
    flex: 0 0 40%;
  }

  .where-to-find-us-right-div {
    flex: 0 0 60%;
  }
}
@media (min-width: 1200px) {
  .right-div {
    padding-right: 60px;
    padding-left: 60px;
  }
}

.where-to-find-us-split-section .social-media {
  margin: 0 0 20px;
}

.social-media-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-media-list li {
  /* Optional: add flex-basis if you want fixed item widths */
}

.social-media-list a {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  text-decoration: none;
  background: #f5f5f5;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.social-media-list a:hover {
  background: #e0e0e0;
}

.social-media-list img {
  width: 30px;
  height: auto;
  margin-right: 8px;
}

.social-media-list span {
  font-size: 14px;
  color: #333;
}

/* Mobile: stack icon above text */
@media (max-width: 480px) {
  .social-media-list a {
    flex-direction: column;
    padding: 6px 8px;
  }
  .social-media-list img {
    margin: 0 0 6px;
  }
  .social-media-list span {
    font-size: 13px;
  }
}
