:root {
  --darkblue: #0a1a71;
  --blue: #1026a7;
  --lightblue: #81acfc5b;
  --gold: #b0814b;
  --white: #fff;
  --black: #000;
  --grey: #f0f0f0;
  --lightgrey: #fafafa;
  --darkgrey: #333;
}

/* Style the scroll track */

::-webkit-scrollbar {
  width: 8px; /* Width of the scrollbar */
  border-radius: 0.375rem
}

/* Style the scroll thumb */

::-webkit-scrollbar-thumb {
  background-color: rgba(82, 82, 82, 0.589);
  border-radius: 6px; /* Rounded corners */
}

::-webkit-scrollbar-track {
  background-color: rgb(229 231 235 / 0.7);
}

::-webkit-scrollbar-thumb {
  background-color: rgb(89 74 96 / 0.8)
}

/* Style the scroll thumb on hover */

::-webkit-scrollbar-thumb:hover {
  background: #555; /* Color of the scroll thumb on hover */
}

/* Style the scroll track */

::-webkit-scrollbar-track {
  background: #f1f1f1; /* Color of the scroll track */
}

@keyframes changeBackground {
  0%, 10% {
    background-image: url('../../img/banner-2.jpg');
  }
  20%, 30% {
    background-image: url('../../img/banner-3.jpg');
  }
  40%, 50% {
    background-image: url('../../img/banner-4.jpg');
  }
  60%, 70% {
    background-image: url('../../img/banner-5.jpg');
  }
  80%, 90% {
    background-image: url('../../img/banner-2.jpg');
  }
  100% {
    background-image: url('../../img/banner-2.jpg');
  }
}

@media only screen and (max-width: 450px) {
  .hide-in-mobile {
    display: none;
  }
}

html, body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  padding: 0;
  font-size: 16px;
}

p {
  margin: 0;
  padding: 0;
}

a {
  color: var(--darkblue);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
}

a:hover {
  color: var(--darkgrey);
}

header {
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid var(--darkblue);
  background-color: var(--white);
  z-index: 9;
}

.header-thin-bar {
  background-color: var(--white);
  width: 100%;
  height: 30px;
  display: flex;
  align-items: center;
}

@media only screen and (max-width: 450px) {
  .header-thin-bar {
    display: none;
  }
}

.menu-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--darkblue);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.flag-icon {
  width: 30px;
  height: 30px;
  margin-left: 20px;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
}

.flag-icon-mobile {
  display: none;
}

@media only screen and (max-width: 450px) {
  .flag-icon-mobile {
    display: block;
    width: 35px;
    height: 35px;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
  }
}

nav {
  display: flex;

  justify-content: center;
  background-color: var(--white);
  gap: 120px;
  padding: 28px 0;
}

nav > a {
  letter-spacing: 1px;
  padding: 0 5px;
}

nav > a:hover {
  color: var(--darkblue);
  opacity: 0.8;
  background-color: rgba(173, 216, 230, 0.2);
  border-radius: 3px;
}

/* ... existing styles ... */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: #f9f9f9;
  color: black;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media only screen and (max-width: 450px) {
  top-menu, .menu-container {
    display: none;
  }
}

/* Sliding Menu */

.sliding-menu {
  display: none;
  position: fixed;
  top: 80px; /* Adjust based on header height */
  width: 100%;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.sliding-menu a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
}

.sliding-menu a:hover {
  background-color: #f1f1f1;
}

#waIcon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  z-index: 1000;
  cursor: pointer;
  opacity: 0.9;
  animation: slideInFromRight 0.5s ease-in-out;
}

@media only screen and (max-width: 450px) {
  #waIcon {
    width: 60px;
    height: 60px;
  }
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

#topBanner {
  margin-top: 40px;
  left: 0;
  width: 100%;
  height: 830px;
  background-image: url('../../img/banner-2.jpg');
  background-size: cover; 
  background-position: top 10px;
  animation: changeBackground 50s infinite;
}

.award-icon {
  width: 40px;
}

#midBanner {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 16px;
  margin-top: 45px;
  font-family: "Roboto", serif;
}

#midBanner .midBanner-leading-text {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 100px;
}

@media only screen and (max-width: 450px) {
  #midBanner .midBanner-leading-text {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
  }
}

#midBannerStreamline {
  display: flex;


  flex-direction: column;
  align-items: center;
  margin: 16px;
  margin-top: 100px;
  font-family: "Roboto", serif;
  background-color: var(--grey);
  width: 100%;
  padding: 100px 0px;
}

#midBanner h1, #midBannerStreamline h1, #midBanner h2, #midBannerStreamline h2 {
  color: var(--darkblue);
  font-size: 2rem;
  margin: 0;
}

#midBannerStreamline h2 {
  margin-bottom: 80px;
}

#midBanner p {
  width: 50%;
  font-size: 1.2rem;
  line-height: 1.5;
}

#midBannerStreamline section{
  display: flex;
  justify-content: space-evenly;
  margin-top: 45px;
  font-family: "Roboto", serif;
  width: 100%;
}

#midBannerStreamline section .midBanner-card {
  border: #1026a7;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 20%;
  color: var(--white);
}

#midBannerStreamline section .midBanner-card figure {
  background-color: var(--white);
  margin: 0;
  border-radius: 10px;
  width: 100%;
  height: 250px;
  border: 1px solid var(--gold);
}

#midBannerStreamline section .midBanner-card figcaption {
  width: 100%;
}

#midBannerStreamline section .midBanner-card .desc {
  width: 100%;
  color: var(--darkblue);
}

#midBannerStreamline section .midBanner-card:nth-child(1) figure {
  background-image: url('../../img/international.png');
}

#midBannerStreamline section .midBanner-card:nth-child(2) figure {
  background-image: url('../../img/domestic.png');
  background-size: cover;
}

#midBannerStreamline section .midBanner-card:nth-child(3) figure{
  background-image: url('../../img/trucking.png');
}

#midBannerStreamline section .midBanner-card:nth-child(4) figure {
  background-image: url('../../img/shipping.png');
}

#midBannerStreamline section .midBanner-card h3 {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--darkblue);
  padding: 10px;
}

.img-freight-vehicles {
  width: 680px;
}

.topBanner-card {
  position: absolute;
  left: 120px;
  top: 520px;
  background-color: rgba(255, 255, 255, 0.5);
  width: 340px;
  border-radius: 10px;
  padding: 10px 40px;
  padding-bottom: 30px;
  color: var(--white);
  margin: 0;
}

.logo {
  height: 90px;
  background-color: var(--white);
  padding: 10px;
  border-radius: 4px;
  position: absolute;
  top: 10px;
  left: 10%;
  box-shadow: 
  0 2px 4px -2px rgba(0, 0, 0, 0.15);
}

@media only screen and (max-width: 1720px) {
  .logo {
    left: 10%;
  }
}

@media only screen and (max-width: 1500px) {
  .logo {
    left: 5%;
  }
}

@media only screen and (max-width: 1300px) {
  .logo {
    left: 1%;
  }
}

.quote-button-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 80%;
  gap: 6px;
}

#quoteButton {
  padding: 0;
  border-radius: 10px;
  right: 30px;
  border: none;
  box-shadow: none;
  outline: none;
  cursor: pointer;
  font-size: 0.9rem;
  background-color: transparent;
  color: var(--black);
}

#quoteButton:hover {
  text-decoration: underline;
}

#quoteButton:active {
  opacity: 0.9;
}

#quoteButtonSide {
  position: fixed;
  font-size: 1rem;
  left: 0;
  top: 30%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: left center;
  padding: 12px 24px;
  z-index: 100;
  margin-left:20px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  background-color: var(--darkblue);
  color: var(--white);
}

#quoteButtonSide:hover {
  background-color: var(--grey);
  color: var(--darkblue);
}

#quoteButtonMobile {
  display: none;
  background-color: var(--darkblue);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  box-shadow: none;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1rem;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.quote-form {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  margin: 0 auto;
  padding: 60px;
  background-color: #d6d4d4;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.form-container {
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.form-groups-container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.form-groups-container h3 {
  color: #636363;
  margin-bottom: 20px;
}

.form-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
  color: var(--darkblue);
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 20px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  margin-bottom: 5px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 7px;
  height: 42px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.form-group input[type="date"] {
  padding: 8px;
}

.form-group input[type="number"] {
  -moz-appearance: textfield;
}

.form-group input[type="number"]::-webkit-outer-spin-button,
.form-group input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.form-button {
  background-color: #636363; /* Grey */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-radius: 8px; /* Rounded corners */
  min-width: 150px;
}

.form-button:hover {
  background-color: #757575; /* Darker grey */
}

.form-button:active {
  background-color: #505050; /* Even darker grey */
}

.form-footer-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 20px
}

#formSlider2 {
  display: none;
  width: 60%;
}

.close-button {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 35px;
  height: 35px;
  cursor: pointer;
}

#backBtn {
  display: none;
}

#submitBtn {
  display: none;
}

#screenOverlay {
  display: none;
}

#quoteForm {
  display: none;
}

footer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background-color: var(--darkblue);
  color: var(--white);
  margin-top: 100px;
  padding: 20px 10px;
  height: 120px;
  z-index: 2;
}

#address {
  position: absolute;
  font-size: 0.9rem;
  left: 50px
}

#address h3 {
  margin-bottom: 10px;
  margin-top: 10px;
}

.copyright {
  font-size: 0.95rem;
  font-weight: 200;
}

@media only screen and (max-width: 450px) {
  nav {
    display: none;
  }

  #quoteButton {
    display: none;
  }

  #quoteButtonMobile {
    display: block;
    width: 90%;
    padding: 20px;
    margin-top: 30px;
    font-size: 1.2rem;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.24);
  }

  #topBanner {
    margin-top: 60px;
    height: 530px;
    background-size:cover; 
    background-position: center;
  }

  .logo {
    height: 80px;
    left: 10px;
    top: 1%;
    background-color: transparent;
    padding: 0;
    border-radius: none;
    position: relative;
    box-shadow: none;
  }

  .topBanner-card {
    top: 380px;
    left: 5%;
    width: 80%;
    padding: 10px 20px;
    color: var(--darkgrey);
    background-color: rgba(255, 255, 255, 0.7);
  }

  .workers-icon {
    display: none;
  }

  #midBanner {
    gap: 20px;
  }

  #midBanner h2, #midBannerStreamline h2 {
    font-size: 1.5rem;
    word-break: break-word;
  }

  #midBanner p {
    width: 95%;
  }

  .img-freight-vehicles {
    width: 95%;
  }

  #midBannerStreamline {
    margin-top: 10px;
    padding-top: 40px;
    margin: 15px;
    margin-bottom: 0;
  }

  #midBannerStreamline h2 {
    margin-bottom: 20px;
    margin: 0 15px;
  }

  #midBannerStreamline section {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }

  #midBannerStreamline section .midBanner-card {
    width: 90%;
    gap: 15px
  }
  
  #midBannerStreamline section .midBanner-card .desc {
    width: 100%;
    padding: 10px;
    line-height: 1.4rem;
    font-size: 1.12rem;
  }

  footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
    margin-top: 0;
    padding-top: 0;
    gap: 50px;
    justify-content: flex-start;
    height: auto;
  }

  #address {
    position: relative;
    left: auto
  }

  .quote-form {
    top: 0px;
    left: 0px;
    transform: none;
    width: calc(100vw - 20px);
    border-radius: 0;
    padding: 10px;
    overflow-y: auto;
    height: 100vh;
  }
  
  .form-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 20px;
    width: 100%;
  }

  .form-groups-container {
    width: 100%;
  }

  #formSlider2 {
    width: 100%;
  }

}

/* ABOUT US */

.about-page {
  background-image: url('../../img/banner-2.jpg');
  background-size: cover;
  background-position: center 80px;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

.about-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85); /* Adjust the opacity as needed */
  z-index: 1;
}

.about-page > main {
  position: relative;
  margin: 0 40px;
  padding-top: 120px;
  z-index: 2;
}

#aboutContent .image-row {
  display: flex; align-items: flex-start;
}

#aboutContent {
  margin-top: 70px;
  width: 75%;
}

#aboutContent h2 {
  margin: 0;
}

#aboutContent p {
  text-align: justify;
  margin-bottom: 50px;
}

#aboutContent li {
  margin-bottom: 20px;
  text-align: justify;
}

#aboutContent ul {
  padding-left: 20px;
}

#aboutContent .aboutImage {
  width: 500px;
  margin-right: 50px;
  margin-bottom: 30px;
  border-radius: 10px;
}

@media only screen and (max-width: 1720px) {
  #aboutContent .aboutImage {
    width: 500px;
  }
}

@media only screen and (max-width: 1500px) {
  #aboutContent .aboutImage {
    width: 400px;
  }
}

#aboutContent .aboutHightlight {
  background-color: var(--lightblue);
  padding: 2rem 3rem;
  border-radius: 10px;
  border: 2px solid var(--darkblue);
}

#aboutContent .aboutHightlight h2 {
  margin-bottom: 2rem;
}

@media only screen and (max-width: 450px) {
  #aboutContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-top: 50px;
  }

  #aboutContent .image-row {
    display: block;
  }

  #aboutContent .aboutImage {
    width: 100%;
    display: block;
    margin-right: 0;
    margin-bottom: 1rem;
  }

  #aboutContent .aboutHightlight {
    padding: 10px;
    padding-right: 15px;
    border-radius: 10px;
    margin-bottom: 2rem;
  }

  .about-page #quoteButtonMobile {
    position: fixed;
    top: 70px;
  }

  .about-page > main {
    margin: 0 20px;
  }
}

/* SERVICES PAGE */

.services-page {
  background-image: url('../../img/banner-3.jpg');
  background-size: cover;
  background-position: center 80px;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

.services-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85); /* Adjust the opacity as needed */
  z-index: 1;
}

.services-page > main {
  position: relative;
  margin: 0 40px;
  padding-top: 80px;
  z-index: 2;
}

#servicesContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 70px;
  gap: 20px;
  width: 75%;
}

#servicesContent figure {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 2rem;
}

#servicesContent .service-image {
  width: 40%;
  height: 300px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--gold);
}

#servicesContent figure h3 {
  color: var(--darkblue);
  text-align: center;
}

#servicesContent figure figcaption {
  width: 50%;
}

#servicesContent figure p {
  text-align: justify;
  margin-bottom: 50px;
}

#servicesContent .service-image-mobile {
  display: none;
}

@media only screen and (max-width: 450px) {
  #servicesContent {
    width: 100%;
    padding-top: 50px;
  }

  #servicesContent figure {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  #servicesContent .service-image {
    display: none;
  }
  
  #servicesContent figure figcaption {
    width: 100%;
  }

  #servicesContent figure figcaption p {
    margin-bottom: 20px;
  }
  #servicesContent figure figcaption h3 {
    margin-top: 0;
  }

  #servicesContent .service-image-mobile {
    height: 200px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--gold);
    width: 100%;
    display: block;
    margin-bottom: 20px;
  }

  #servicesContent ul {
    padding-left: 15px;
  }

  #servicesContent ul li {
    padding: 5px 0;
  }
  
  .services-page #quoteButtonMobile {
    position: fixed;
    top: 70px;
  }

  .services-page > main {
    margin: 0 20px;
  }
}

.contact-page {
  background-image: url('../../img/banner-3.jpg');
  background-size: cover;
  background-position: center 80px;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  min-height: 100vh;
}

.contact-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85); /* Adjust the opacity as needed */
  z-index: 1;
}

.contact-page > main {
  position: relative;
  margin: 0 40px;
  padding-top: 80px;
  z-index: 2;
  height: calc(100vh - 120px - 80px - 40px);
}

@media only screen and (max-width: 450px) {
  .contact-page > main {
    height: auto;
  }
}

.contact-page footer {
  margin-top: 0;
}

#contactContent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 70px;
  gap: 20px;
  width: 60%;
}

#contactContent h3 {
  color: var(--darkblue);
  text-align: left;
}

#contactContent p {
  text-align: justify;
  margin-bottom: 20px;
}

@media only screen and (max-width: 450px) {
  #contactContent {
    width: 100%;
    padding-top: 50px;
  }

  .contact-page #quoteButtonMobile {
    position: fixed;
    top: 70px;
  }

  .contact-page > main {
    margin: 0 20px;
  }

}

/* Hamburger Menu */

/*!
 * Hamburgers
 * @description Tasty CSS-animated hamburgers
 * @author Jonathan Suh @jonsuh
 * @site https://jonsuh.com/hamburgers
 * @link https://github.com/jonsuh/hamburgers
 */

.hamburger {
  display: none;
  font: inherit;
  overflow: visible;
  margin: 0;
  cursor: pointer;
  transition-timing-function: linear;
  transition-duration: 0.15s;
  transition-property: opacity, filter;
  text-transform: none;
  color: inherit;
  border: 0;
  background-color: transparent;
  outline: none;
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translate(-50%, -50%);
}

@media only screen and (max-width: 450px) {
  .hamburger {
    display: block;
    padding: 0;
  }
}

.hamburger.is-active:hover,
.hamburger:hover {
  opacity: 0.9;
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner:after,
.hamburger.is-active .hamburger-inner:before {
  background-color: var(--darkblue);
}

.hamburger-box {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
}

.hamburger-inner {
  top: 50%;
  display: block;
  margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner:after,
.hamburger-inner:before {
  position: absolute;
  width: 40px;
  height: 4px;
  transition-timing-function: ease;
  transition-duration: 0.15s;
  transition-property: transform;
  border-radius: 4px;
  background-color: var(--darkblue);
}

.hamburger-inner:after,
.hamburger-inner:before {
  display: block;
  content: "";
}

.hamburger-inner:before {
  top: -10px;
}

.hamburger-inner:after {
  bottom: -10px;
}

.hamburger--squeeze .hamburger-inner {
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition-duration: 75ms;
}

.hamburger--squeeze .hamburger-inner:before {
  transition: top 75ms ease 0.12s, opacity 75ms ease;
}

.hamburger--squeeze .hamburger-inner:after {
  transition: bottom 75ms ease 0.12s,
    transform 75ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--squeeze.is-active .hamburger-inner {
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  transform: rotate(45deg);
}

.hamburger--squeeze.is-active .hamburger-inner:before {
  top: 0;
  transition: top 75ms ease, opacity 75ms ease 0.12s;
  opacity: 0;
}

.hamburger--squeeze.is-active .hamburger-inner:after {
  bottom: 0;
  transition: bottom 75ms ease,
    transform 75ms cubic-bezier(0.215, 0.61, 0.355, 1) 0.12s;
  transform: rotate(-90deg);
}

/* Customer Reviews Section */

#customerReviews {
  background-color: var(--grey);
  padding: 80px 0 100px 0;
  margin-top: 100px;
  width: 100%;
}

#customerReviews h2 {
  text-align: center;
  color: var(--darkblue);
  font-size: 2rem;
  margin-bottom: 60px;
}

.reviews-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reviews-carousel {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.reviews-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 30px;
}

.review-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 40px;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 570px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.review-quote-icon {
  width: 30px;
  height: 30px;
  opacity: 0.3;
  margin-bottom: 20px;
}

.review-text {
  font-style: italic;
  color: var(--darkgrey);
  line-height: 1.8;
  margin-bottom: 25px;
  font-size: 1.1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-height: 100px;
}

.review-author {
  color: var(--darkblue);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.review-title {
  color: var(--darkgrey);
  font-size: 0.95rem;
}

/* Carousel Navigation */

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  padding-bottom: 5px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--darkgrey);
  opacity: 0.3;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  opacity: 1;
  background-color: var(--darkblue);
  transform: scale(1.2);
}

.dot:hover {
  opacity: 0.6;
}

/* Mobile Styles for Reviews */

@media only screen and (max-width: 450px) {
  #customerReviews {
    padding: 50px 0;
    margin-top: 40px;
  }
  
  #customerReviews h2 {
    font-size: 1.5rem;
    margin-bottom: 40px;
    padding: 0 20px;
  }
  
  .reviews-container {
    padding: 0;
  }
  
  .reviews-carousel {
    overflow: visible;
  }
  
  .reviews-track {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
    transform: none !important;
    transition: none;
  }
  
  .review-card {
    width: 100%;
    padding: 25px;
    margin: 0;
  }
  
  .review-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: auto;
  }
  
  .review-author {
    font-size: 1rem;
  }
  
  .review-title {
    font-size: 0.9rem;
  }
  
  .carousel-dots {
    display: none;
  }
}

/* Projects Page Styles */

.projects-page {
  background-image: url('../../img/banner-3.jpg');
  background-size: cover;
  background-position: center 80px;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

.projects-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: 1;
}

.projects-page > main {
  position: relative;
  z-index: 2;
}

#projectsHero {
  margin-top: 70px;
  padding-top: 80px;
}

#projectsHero h1 {
  color: var(--darkblue);
  font-size: 2rem;
  margin-bottom: 15px;
  text-align: center;
}

.hero-subtitle {
  color: var(--darkgrey);
  font-size: 1.2rem;
  margin: 0 auto 30px auto;
  text-align: center;
  max-width: 800px;
}

.projects-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Filter Buttons */

.project-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  border: 2px solid var(--darkblue);
  background: var(--white);
  color: var(--darkblue);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--darkblue);
  color: var(--white);
}

/* Projects Grid */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  background-color: var(--white);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.project-card.hidden {
  display: none;
}

.project-image {
  width: 100%;
  height: 280px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(10, 26, 113, 0.9));
  color: var(--white);
  padding: 30px 20px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.project-card:hover .project-overlay {
  transform: translateY(0);
}

.project-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--white);
}

.project-overlay p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.9;
}

/* Hide additional lightbox links */

.glightbox.hidden {
  display: none;
}

/* Mobile Responsive */

@media only screen and (max-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
  
  .project-image {
    height: 240px;
  }
}

@media only screen and (max-width: 450px) {
  .projects-page > main {
    margin: 0 20px;
  }
  
  #projectsHero {
    padding-top: 50px;
    margin-top: 50px;
  }
  
  #projectsHero h1 {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    padding: 0 20px;
  }
  
  .projects-container {
    padding: 40px 20px;
  }
  
  .project-filters {
    gap: 10px;
    margin-bottom: 30px;
  }
  
  .filter-btn {
    padding: 8px 18px;
    font-size: 0.85rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .project-image {
    height: 220px;
  }
  
  .project-overlay {
    transform: translateY(0);
    background: rgba(10, 26, 113, 0.85);
    padding: 20px 15px 15px 15px;
  }
  
  .project-overlay h3 {
    font-size: 1.1rem;
  }
  
  .project-overlay p {
    font-size: 0.85rem;
  }
}

/* Lightbox Mobile Improvements */

@media (max-width: 768px) {
  /* Ensure navigation arrows are always visible on mobile */
  .glightbox-mobile .gprev,
  .glightbox-mobile .gnext {
    opacity: 0.7 !important;
    width: 60px !important;
    height: 100px !important;
  }
  
  .glightbox-mobile .gprev svg,
  .glightbox-mobile .gnext svg {
    width: 25px !important;
    height: 25px !important;
  }
  
  /* Add visible background to navigation areas */
  .glightbox-mobile .gprev {
    background: linear-gradient(to right, rgba(0,0,0,0.3), transparent) !important;
  }
  
  .glightbox-mobile .gnext {
    background: linear-gradient(to left, rgba(0,0,0,0.3), transparent) !important;
  }
  
  /* Ensure description doesn't overlap navigation */
  .glightbox-mobile .gslide-description {
    margin-bottom: 20px;
  }
}
