:root {
  --color-primary: #5ec576;
  --color-secondary: #ffcb03;
  --color-tertiary: #ff585f;
  --color-primary-darker: #4bbb7d;
  --color-secondary-darker: #ffbb00;
  --color-tertiary-darker: #fd424b;
  --color-primary-opacity: #5ec5763a;
  --color-secondary-opacity: #ffcd0331;
  --color-tertiary-opacity: #ff58602d;
  --gradient-primary: linear-gradient(to top left, #39b385, #9be15d);
  --gradient-secondary: linear-gradient(to top left, #ffb003, #ffcb03);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
.header__title {
  padding-top: 5px;
  padding-left: 50px;
  text-align: left;
  font-style: inherit;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  color: #444;
  line-height: 1.9;
  background-color: #f3f3f3;
}

.form-container button:hover {
  background-color: #157390;
}

/* GENERAL ELEMENTS */
.section {
  padding: 15rem 3rem;
  border-top: 1px solid #ddd;

  transition: transform 1s, opacity 1s;
}

.section--hidden {
  opacity: 0;
  transform: translateY(8rem);
}

.section__title {
  max-width: 80rem;
  margin: 0 auto 8rem auto;
}

.section__description {
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section__header {
  font-size: 4rem;
  line-height: 1.3;
  font-weight: 500;
}

.btn {
  display: inline-block;
  background-color: #6aa2b3;
  font-size: 1.6rem;
  font-family: inherit;
  font-weight: 500;
  border: none;
  padding: 1.25rem 4.5rem;
  border-radius: 10rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn:hover {
  background-color: #5d7e88;
}

.btn--text {
  display: inline-block;
  background: none;
  font-size: 1.7rem;
  font-family: inherit;
  font-weight: 500;
  color: #3b6572;
  border: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  cursor: pointer;
  transition: all 0.3s;
}

p {
  color: #666;
}

/* This is BAD for accessibility! Don't do in the real world! */
button:focus {
  outline: none;
}

img {
  transition: filter 0.5s;
}

.lazy-img {
  filter: blur(20px);
}

/* NAVIGATION */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 10rem;
  width: 100%;
  padding: 0 4rem;
  z-index: 100;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  background-color: white; /* or your theme color */
}

/* nav and stickly class at the same time */
.nav.sticky {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.95);
}

.nav__logo {
  height: 8.5rem;
  width: 350px;
  height: 280px;
  margin-right: 150px;

  transition: all 0.3s;
}

.nav__links {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav__item {
  margin-left: 4rem;
}

.nav__link:link,
.nav__link:visited {
  font-size: 1.7rem;
  font-weight: 400;
  color: inherit;
  text-decoration: none;
  display: block;
  transition: all 0.3s;
}
.nav__link:hover {
  text-decoration: underline;
  text-decoration-color: #124351; /* Color of the underline */
  text-decoration-thickness: 3px; /* Thickness of the underline */
  transition: text-decoration 0.3s ease; /* Smooth transition for underline */
}

.nav__link--btn:link,
.nav__link--btn:visited {
  padding: 0.8rem 2.5rem;
  border-radius: 3rem;
  background-color: #9cccdb;
  color: #222;
}

.nav__link--btn:hover,
.nav__link--btn:active {
  color: inherit;
  background-color: #5d7e88;
  color: #333;
}
/* Style for navigation links */
.nav__link:link,
.nav__link:visited {
  font-size: 1.7rem;
  font-weight: 400;
  color: inherit;
  text-decoration: none;
  display: inline-block; /* Allow pseudo-element to affect layout */
  position: relative; /* To position the custom underline */
  transition: all 0.3s;
}

/* Hover effect with custom underline and gap */
.nav__link:hover::after {
  content: ""; /* Pseudo-element to create the underline */
  position: absolute;
  bottom: -5px; /* Distance from the text */
  left: 0;
  width: 100%;
  height: 3px; /* Thickness of the underline */
  background-color: #124351; /* Color of the underline */
  transition: bottom 0.3s ease; /* Smooth transition for the underline */
}

/* Remove the underline when not hovering */
.nav__link::after {
  content: "";
  position: absolute;
  bottom: -5px; /* Set initial gap before hover */
  left: 0;
  width: 0;
  height: 3px;
  background-color: #124351;
  transition: width 0.3s ease; /* Smooth transition */
}

.nav__link:hover::after {
  width: 100%;
}
/* ------------ Hamburger toggle styles ------------ */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1101;
}
.nav__toggle span {
  background: #124351;
  height: 4px;
  width: 30px;
  margin: 4px 0;
  border-radius: 2px;
  display: block;
}
.nav__close-btn {
  display: none;
}
/* Mobile styles */
@media (max-width: 900px) {
  .nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1201;
    margin-right: 1rem;
  }
  .nav__toggle-bar {
    background: #124351;
    height: 4px;
    width: 30px;
    margin: 4px 0;
    border-radius: 2px;
    display: block;
  }
  .nav__menu {
    position: fixed;
    top: 0; right: 0;
    width: 78vw;
    max-width: 340px;
    min-height: 360px;
    height: auto;
    background:transparent;
    backdrop-filter: blur(20px);
    box-shadow: -2px 0 14px rgba(17,90,73,0.11);
    padding: 2rem 1.5rem 2rem 1.5rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4,0.8,0.4,1);
    display: flex;
    flex-direction: column;
    z-index: 1200;
    border-radius: 2rem 0 0 2rem;
    overflow-y: auto;
  }
  .nav__menu.open {
    transform: translateX(0);
  }
  .nav__close {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: -1rem;
  margin-bottom: 1rem;
  }
  .nav__close-btn {
    display: block;
    align-self: flex-end;
    font-size: 5rem;
    background: none;
    border: none;
    color: #124351;
    cursor: pointer;
  }
  .nav__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #124351;
    gap: 1.8rem;
    padding-left: 0;
    margin-bottom: 1rem;
    list-style: none;
  }
  .nav__logo {
    width: 120x;
    height: 200px;
    margin-right: 0;
  }
}

@media (max-width: 900px) {
  .nav {
    height: 7rem;
    padding: 0 1rem;
  }
}


.modal.contact-modal {
  position: fixed; /* This keeps it above the main content */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  width: 90%;
  max-width: 400px;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 1001;
}
.modal.contact-modal h2 {
  margin-top: 0;
  font-size: 2rem;
  text-align: center;
}
.hidden {
  display: none;
}

.btn--close-contact-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}
/* chatbot*/
/* Floating AI button */
.chatbot-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 999;
  transition: transform 0.3s ease;
}

.chatbot-btn:hover {
  transform: scale(1.1);
}

.chatbot-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Chatbot window */
.chatbot-popup {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 320px;
  background: #fdfdfd;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  font-family: "Segoe UI", sans-serif;
}

/* Header */
.chatbot-header {
  background: #1e2d3d;
  color: #fff;
  padding: 12px 16px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#close-chatbot {
  background: none;
  color: #fff;
  font-size: 20px;
  border: none;
  cursor: pointer;
}

/* Message area */
.chatbot-messages {
  padding: 16px;
  height: 300px;
  overflow-y: auto;
  background: #fafafa;
}

.chatbot-message {
  margin: 10px 0;
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  line-height: 1.4;
  word-wrap: break-word;
  font-size: 14px;
}

.chatbot-message.user {
  background-color: #e0f7fa;
  align-self: flex-end;
  margin-left: auto;
  text-align: right;
}

.chatbot-message.bot {
  background-color: #e6ecf0;
  align-self: flex-start;
  margin-right: auto;
  text-align: left;
}

/* Input area */
.chatbot-input-container {
  display: flex;
  border-top: 1px solid #ddd;
  padding: 8px;
  background: #fff;
}

#chatbot-input {
  flex: 1;
  border: none;
  padding: 8px 10px;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
  background: #f5f5f5;
}

#send-msg {
  background: #1e2d3d;
  color: #fff;
  border: none;
  padding: 8px 12px;
  margin-left: 8px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

#send-msg:hover {
  background: #30475e;
}
.chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chatbot-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.chatbot-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

.chatbot-avatar:hover {
  transform: scale(1.1);
}

.chatbot-bubble {
  position: absolute;
  bottom: 80px;
  background-color: #444;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  animation: bubbleFade 5s ease-in-out forwards;
  right: 60%;
}

/* Bubble tail */
.chatbot-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: #444;
}

/* Fade animation */
@keyframes bubbleFade {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  10% {
    opacity: 1;
    transform: translateY(0);
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.contact-container {
  background: #fff;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__form input,
.contact__form textarea {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  font-size: 1rem;
  height: 40px;
}
.contact__form textarea {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  font-size: 1rem;
  height: 80px;
}

.btn--submit {
  padding: 0.8rem;
  background-color: #124351;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1.8rem;
  cursor: pointer;
  height: 40px;
}

.help-section {
  margin-top: 2rem;
  text-align: center;
}

.btn--help-toggle {
  padding: 0.5rem 1rem;
  background-color: #0e2729;
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.help__info {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #333;
}

.contact-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.contact-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

/* HEADER */
.header {
  padding: 0 3rem;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header__title {
  flex: 1;
  max-width: 225rem;
  display: grid;
  grid-template-columns: 3fr 2fr;
  row-gap: 3rem;
  align-content: center;
  justify-content: center;
  background: radial-gradient(#fff, rgb(75, 110, 137));
  align-items: start;
  justify-items: start;
}

h1 {
  margin-top: 30px;
  font-size: 5.5rem;
  line-height: 1.35;
}

h4 {
  font-size: 2.4rem;
  font-weight: 500;
}

.header__img {
  width: 100%;
  max-width: 500px;
  object-fit: contain;
  padding: 2rem;
  grid-column: 2 / 3;
  grid-row: 1 / span 4;
  align-self: center;
  justify-self: center;
}
.highlight {
  position: relative;
}

.highlight::after {
  display: block;
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  opacity: 0.7;
  transform: scale(1.07, 1.05) skewX(-15deg);
}

@media (max-width: 1200px) {
  h1 {
    font-size: 4.5rem;
  }

  h4 {
    font-size: 2rem;
  }

  .header__title {
    grid-template-columns: 1fr 1fr;
    padding: 2rem;
  }

  .header__img {
    padding: 1.5rem;
  }
}

@media (max-width: 900px) {
  .header__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
  }

  .header__img {
    order: -1;
    width: 90%;
    max-width: 320px;
    margin-bottom: 2rem;
    padding: 2rem;
  }

  h1 {
    font-size: 3.6rem;
  }

  h4 {
    font-size: 1.8rem;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 3.2rem;
  }

  h4 {
    font-size: 1.6rem;
  }

  .header__img {
    width: 100%;
    max-width: 320px;
  }
}
/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4rem;
  margin: 0 6rem;
  text-align: center;
}

/* Centered and underlined Features heading (h2) */
.section {
  margin-top: -5rem; /* Pulls the entire section upwards */
}

/* Centering the section title (h2) and underline */
.section__title {
  text-align: center; /* Centers everything inside the section */
  width: 100%; /* Ensures the title container takes full width */
  margin-top: 0; /* Optional: Adjust if needed to bring the title up */
}

/* Centered and underlined Features heading (h2) */
.section__description {
  font-size: 2.8rem; /* Font size of the heading */
  font-weight: bold; /* Makes the heading bold */
  position: relative;
  margin-bottom: 1rem; /* Spacing from the next element */
  display: inline-block; /* Makes the heading inline so it can have an underline */
  color: #000; /* Heading color */
  text-align: center; /* Ensures the text is centered */
}

/* Underline for the Features heading */
.section__description::after {
  content: "";
  display: block;
  width: 60%; /* Underline width */
  height: 3px; /* Thickness of the underline */
  background-color: #333; /* Underline color */
  margin: 0.5rem auto 0 auto; /* Centers the underline */
  border-radius: 2px; /* Optional: rounded corners on the underline */
}

/* Simple, bold subheading (h3) */
.section__header {
  text-align: center; /* Centers the subheading */
  font-size: 2rem; /* Font size for subheading */
  font-weight: 500; /* Slightly bold */
  color: #555; /* Dark gray for the subheading */
  margin-top: 1rem; /* Space above the subheading */
}

.features__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0; /* Hidden initially */
  transform: translateY(30px); /* Move it down */
  transition: all 0.6s ease-out; /* Smooth transition for opacity and transform */
}

.features__item.visible {
  opacity: 1; /* Make visible when scrolled into view */
  transform: translateY(0); /* Reset to original position */
}

.features__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

.features__feature {
  width: 100%;
  font-size: 1.5rem;
  padding: 0 1rem;
}

/*.features__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary-opacity);
    height: 5.5rem;
    width: 5.5rem;
    border-radius: 50%;
    margin: 0 auto 2rem auto;
  }*/

.features__icon svg {
  height: 2.5rem;
  width: 2.5rem;
  fill: var(--color-primary);
}

.features__header {
  font-size: 2rem;
  margin-bottom: 1rem;
}
@media (max-width: 1200px) {
  .features {
    margin: 0 3rem;
    gap: 3rem;
  }

  .section__description {
    font-size: 2.4rem;
  }

  .section__header {
    font-size: 1.8rem;
  }

  .features__header {
    font-size: 1.8rem;
  }

  .features__feature {
    font-size: 1.4rem;
  }
}

@media (max-width: 900px) {
  .features {
    grid-template-columns: 1fr;
    margin: 0 2rem;
    gap: 2.5rem;
  }

  .features__img {
    aspect-ratio: 16 / 9;
    margin-bottom: 1rem;
  }

  .features__feature {
    padding: 0 0.5rem;
  }

  .section__description {
    font-size: 2.2rem;
  }

  .section__header {
    font-size: 1.6rem;
  }

  .features__header {
    font-size: 1.6rem;
  }
}

@media (max-width: 600px) {
  .features {
    margin: 0 1rem;
    gap: 2rem;
  }

  .features__img {
    width: 100%;
    max-width: 100%;
    border-radius: 0.8rem;
  }

  .features__feature {
    font-size: 1.3rem;
  }

  .section__description {
    font-size: 2rem;
  }

  .section__header {
    font-size: 1.5rem;
  }

  .features__header {
    font-size: 1.5rem;
  }
}
/*nav about us*
  
  /* OPERATIONS */
/* .projects {
    position: relative;
    padding: 3rem 2rem;
  }
  
  .project-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background:rgb(50, 162, 206);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    max-width: 1800px;
    margin: 0 auto;
    position: relative;
  }
  
  .project-text {
    flex: 1;
    padding-right: 2rem;
  }
  
  .project-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
  }
  
  .project-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 2rem;
  }
  
  .learn-more {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
  }
  
  .project-image {
    flex: 1;
    text-align: center;
  }
  
  .project-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 1rem;
    object-fit: cover;
  }
  
  .project-navigation {
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
  }
  
  .arrow {
    font-size: 2rem;
  }
  
  .nav-text {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
  }
   */

.section__title {
  margin-top: -80px;
}

.section__description {
  margin: 0;
  font-size: 2em;
}

.section__header {
  margin-top: 10px;
  font-size: 1.5em;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.card {
  width: 300px;
  height: 400px;
  perspective: 1000px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
}

.card-front img {
  width: 100%;
  height: 80%;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.card-front h3 {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  font-size: 1.5em;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  border-radius: 5px;
}

.card-back {
  background-color: #cfe5ed;
  padding: 20px;
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  transform: rotateY(180deg);
}

.card-back h3 {
  margin-bottom: 10px;
  font-size: 1.6em;
}

.card-back p {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #1b1f23;
}

.learn-more {
  text-decoration: none;
  background-color: #1b1f23;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: bold;
}

.learn-more:hover {
  background-color: #525a62;
}
@media (max-width: 1200px) {
  .card {
    width: 280px;
    height: 380px;
  }

  .card-back p {
    font-size: 1em;
  }

  .card-front h3,
  .card-back h3 {
    font-size: 1.4em;
  }
}

@media (max-width: 900px) {
  .card-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin: 2rem 1rem;
  }

  .card {
    width: 90%;
    max-width: 320px;
    height: 380px;
  }

  .card-front h3 {
    font-size: 1.3em;
    bottom: 15px;
    left: 15px;
    padding: 4px 8px;
  }

  .card-back {
    padding: 15px;
  }

  .card-back p {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .learn-more {
    font-size: 1.4rem;
    padding: 8px 12px;
  }
}

@media (max-width: 600px) {
  .card {
    width: 100%;
    max-width: 300px;
    height: 360px;
  }

  .card-front img {
    height: 75%;
  }

  .card-front h3,
  .card-back h3 {
    font-size: 1.2em;
  }

  .card-back p {
    font-size: 0.95em;
  }

  .learn-more {
    font-size: 1.3rem;
    padding: 6px 10px;
  }
}

.about-us-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(#fff, rgb(75, 110, 137));
  padding: 50px;
  gap: 40px;
  overflow: hidden;
}
.content {
  display: flex;
  width: 100%;
  justify-content: space-between;
  z-index: 1;
}

.about-left {
  width: 45%;
}

.about-left h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

.about-left p {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.6;
}

.about-right {
  width: 45%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-image h3 {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px;
  font-size: 1.2rem;
  border-radius: 5px;
}

.about-image:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .about-us-section {
    flex-direction: column;
    align-items: center;
  }

  .about-left,
  .about-right {
    width: 100%;
  }

  .about-right {
    display: block;
  }
}
/* Initial state - Hidden and positioned off-screen */
.about-us-section .about-left {
  opacity: 0;
  transform: translateX(-50px); /* Move text from the left */
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-us-section .about-right .about-image {
  opacity: 0;
  transform: translateX(50px); /* Move images from the right */
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Animated state - Slide in when section comes into view */
.about-us-section.animate .about-left {
  opacity: 1;
  transform: translateX(0); /* Bring text to normal position */
}

.about-us-section.animate .about-right .about-image {
  opacity: 1;
  transform: translateX(0); /* Bring images to normal position */
}

/* Hover effect on images */
.about-image {
  position: relative;
  overflow: hidden; /* Ensure images don't overflow when zoomed */
}

.about-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: scale(1.05); /* Zoom in effect on hover */
}

.about-image h3 {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px;
  font-size: 1.2rem;
  border-radius: 5px;
}
@media (max-width: 1024px) {
  .about-left h2 {
    font-size: 2.2rem;
  }

  .about-left p {
    font-size: 1.1rem;
  }

  .about-image h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .about-us-section {
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
  }

  .content {
    flex-direction: column;
    align-items: center;
  }

  .about-left {
    width: 100%;
    text-align: center;
  }

  .about-left h2 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .about-left p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .about-right {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 2rem;
  }

  .about-image img {
    height: 180px;
  }

  .about-image h3 {
    font-size: 1rem;
    padding: 8px;
  }
}

@media (max-width: 600px) {
  .about-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
  }

  .about-image {
    width: 100%;
  }

  .about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .about-image h3 {
    position: static;
    background-color: transparent;
    color: #333;
    font-size: 1.4rem;
    padding: 0.5rem 0;
    text-align: center;
  }
}

.hidden {
  display: none;
}

.content-detail {
  padding: 20px;
  margin-top: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#content-section h3 {
  font-size: 2rem;
}

#content-section p {
  font-size: 1.2rem;
  line-height: 1.6;
}
/*nav about*/
.about-alt {
  padding: 60px;
  background: #f2f2f2;
}

.about-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-row.reverse {
  flex-direction: row-reverse;
}

.about-img,
.about-text {
  width: 45%;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

/* Initial states */
.about-row:not(.visible) .about-img {
  transform: translateX(-50px);
  opacity: 0;
}
.about-row.reverse:not(.visible) .about-img {
  transform: translateX(50px);
  opacity: 0;
}
.about-row:not(.visible) .about-text {
  transform: translateX(50px);
  opacity: 0;
}
.about-row.reverse:not(.visible) .about-text {
  transform: translateX(-50px);
  opacity: 0;
}

/* Visible state animation */
.about-row.visible {
  opacity: 1;
  transform: translateY(0);
}
.about-row.visible .about-img,
.about-row.visible .about-text {
  transform: translateX(0);
  opacity: 1;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}
.about-text p {
  font-size: 2rem;
  line-height: 1.5;
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

.hidden {
  display: none;
}
@media (max-width: 768px) {
  .about-alt {
    padding: 40px 20px;
  }

  .about-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
  }

  .about-row.reverse {
    flex-direction: column; /* override reverse layout */
  }

  .about-img,
  .about-text {
    width: 100%;
  }

  .about-img {
    margin-bottom: 1.5rem;
  }

  .about-text h3 {
    font-size: 1.6rem;
  }

  .about-text p {
    font-size: 1.4rem;
    padding: 0 1rem;
  }
}

/* count */
.stats-section {
  display: flex;
  justify-content: space-around;
  padding: 60px 20px;
  background: radial-gradient(#fff, rgb(75, 110, 137));
  text-align: center;
  margin-top: 80px;
}

.stat-box {
  flex: 1;
  margin: 20px;
}

.stat-box h2 {
  font-size: 3rem;
  color: #333;
}

.stat-box p {
  font-size: 2rem;
  margin-top: 10px;
  color: black;
}
@media (max-width: 900px) {
  .stats-section {
    flex-direction: column;
    align-items: center;
    padding: 40px 15px;
    gap: 2rem;
  }

  .stat-box {
    width: 100%;
    max-width: 300px;
    margin: 20px 0;
  }

  .stat-box h2 {
    font-size: 2.5rem;
  }

  .stat-box p {
    font-size: 1.6rem;
  }
}

@media (max-width: 600px) {
  .stats-section {
    padding: 30px 10px;
  }

  .stat-box h2 {
    font-size: 2.2rem;
  }

  .stat-box p {
    font-size: 1.4rem;
  }
}
/* latest work*/
.latest-project-section {
  padding: 8rem 2rem;
  background-color: #f7f7f7;
}

.latest-project-heading {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  font-weight: 600;
  color: #222;
}

.latest-project-heading::after {
  content: "";
  display: block;
  width: 6%; /* Underline width */
  height: 3px; /* Thickness of the underline */
  background-color: #333; /* Underline color */
  margin: 0.5rem auto 0 auto; /* Centers the underline */
  border-radius: 2px; /* Optional: rounded corners on the underline */
}

.latest-project-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.latest-project-image img {
  width: 500px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.latest-project-text {
  max-width: 600px;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #333;
}
@media (max-width: 1024px) {
  .latest-project-heading {
    font-size: 2.2rem;
  }

  .latest-project-text {
    font-size: 1.5rem;
  }

  .latest-project-image img {
    width: 100%;
    max-width: 450px;
  }
}

@media (max-width: 768px) {
  .latest-project-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
  }

  .latest-project-image img {
    width: 100%;
    max-width: 100%;
  }

  .latest-project-text {
    max-width: 100%;
    font-size: 1.4rem;
    padding: 0 1rem;
  }

  .latest-project-heading {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .latest-project-section {
    padding: 6rem 1.5rem;
  }

  .latest-project-heading {
    font-size: 1.8rem;
  }

  .latest-project-text {
    font-size: 1.3rem;
    line-height: 1.5;
  }

  .latest-project-text h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
}
.scroll-left,
.scroll-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s ease;
}

.scroll-left {
  transform: translateX(-100px);
}

.scroll-active {
  opacity: 1;
  transform: translateX(0);
}

/* Global body settings */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: #f0f0f0;
}

/* Why Choose Us Section */
.why-choose-us {
  background: radial-gradient(#fff, rgb(75, 110, 137));
  color: #333;
  padding: 60px 20px;
  text-align: center;
  margin-top: 50px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-subtitle {
  color: #333;
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.reasons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.reason {
  flex: 1 1 220px;
  max-width: 250px;
  padding: 25px 20px;
  border-radius: 10px;
  transition: all 0.8s ease-out;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition-delay: 0s; /* Default delay */
}

.reason.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reason:nth-child(1) {
  transition-delay: 0.2s;
}

.reason:nth-child(2) {
  transition-delay: 0.4s;
}

.reason:nth-child(3) {
  transition-delay: 0.6s;
}

.reason:nth-child(4) {
  transition-delay: 0.8s;
}

/* Hover effect */
.reason:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-10px) scale(1.05);
  transition: all 0.3s ease-in-out;
}

.reason .icon {
  font-size: 3rem;
  color: #333;
  margin-bottom: 20px;
}

.reason h3 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #333;
}

.reason hr {
  border: none;
  border-top: 2px solid #333;
  width: 60px;
  margin: 10px auto;
}

.reason p {
  font-size: 1.5rem;
  color: #333;
  margin-top: 15px;
  line-height: 1.6;
}

.animated-title {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animated-title.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 1024px) {
  .section-title {
    font-size: 2.2rem;
  }

  .reason h3 {
    font-size: 2.2rem;
  }

  .reason p {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .reasons {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

  .reason {
    max-width: 90%;
    padding: 20px 15px;
  }

  .reason h3 {
    font-size: 2rem;
  }

  .reason p {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 2rem;
    padding: 0 1rem;
  }

  .section-subtitle {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .reason {
    padding: 18px 12px;
  }

  .reason h3 {
    font-size: 1.8rem;
  }

  .reason p {
    font-size: 1.2rem;
  }

  .reason .icon {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1.3rem;
  }
}
/* join us*/
.collab-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  position: relative;
  z-index: 1;
  margin-top: 10rem;
  position: relative;
  padding: 5rem 2rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(33, 97, 129, 0.4); /* fallback for older browsers */
}

.collab-content {
  background-color: rgba(255, 255, 255, 0.8); /* white with transparency */
  padding: 3rem;
  border-radius: 10px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.collab-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.collab-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-collab {
  background-color: #124351;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #124351;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1.6rem;
  cursor: pointer;
  text-decoration: none;
  animation: zoomInOut 2s infinite ease-in-out;
  transition: background-color 0.3s;
}

.btn-collab:hover {
  background-color: #0e2e3d;
}
.collab-section.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes zoomInOut {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
@media (max-width: 1024px) {
  .collab-title {
    font-size: 2.2rem;
  }

  .collab-text {
    font-size: 1.1rem;
  }

  .btn-collab {
    font-size: 1.5rem;
    padding: 0.9rem 1.8rem;
  }
}

@media (max-width: 768px) {
  .collab-section {
    padding: 4rem 1.5rem;
  }

  .collab-content {
    padding: 2.5rem 1.5rem;
    max-width: 90%;
  }

  .collab-title {
    font-size: 2rem;
  }

  .collab-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .btn-collab {
    font-size: 1.4rem;
    padding: 0.8rem 1.6rem;
  }
}

@media (max-width: 480px) {
  .collab-title {
    font-size: 1.8rem;
  }

  .collab-text {
    font-size: 0.95rem;
  }

  .btn-collab {
    font-size: 1.3rem;
    padding: 0.7rem 1.4rem;
  }
}
/* SLIDER */
/* SLIDER */
.slider {
  max-width: 100rem;
  height: 50rem;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  width: 100%;
  height: 70rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s ease;
}

.slider__btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  border: none;
  background: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  color: #333;
  border-radius: 50%;
  height: 5.5rem;
  width: 5.5rem;
  font-size: 3.25rem;
  cursor: pointer;
  transform: translateY(-50%);
}

.slider__btn--left {
  left: 6%;
}

.slider__btn--right {
  right: 6%;
}

.dots {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.dots__dot {
  width: 1rem;
  height: 1rem;
  background-color: #b9b9b9;
  margin-right: 1.75rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.5s ease;
}

.dots__dot:last-child {
  margin-right: 0;
}

.dots__dot--active {
  background-color: #888;
  opacity: 1;
}

/* TESTIMONIAL */
.testimonial {
  width: 65%;
  position: relative;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -5.7rem;
  left: -6.8rem;
  font-size: 20rem;

  z-index: -1;
}

.testimonial__header {
  font-size: 2.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.testimonial__text {
  font-size: 1.7rem;
  color: #666;
  margin-bottom: 3.5rem;
}

.testimonial__author {
  display: flex;
  align-items: center;
}

.testimonial__photo {
  width: 10.5rem;
  height: 9rem;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.testimonial__name {
  font-size: 1.8rem;
  font-weight: 500;
}

.testimonial__location {
  font-size: 1.5rem;
  color: #777;
}
.testimonials-container {
  display: flex;

  flex-wrap: wrap;
  gap: 10rem;
  justify-content: center;
  padding: 2rem;
}

.testimonial-box {
  padding: 1.5rem;
  border-radius: 1rem;
  max-width: 350px;
  text-align: center;
}

.testimonial__photo {
  width: 60px;
  border-radius: 50%;
  margin-top: 1rem;
}

.section__title--testimonials {
  margin-bottom: 4rem;
}
.testimonials-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  position: relative;
}

.testimonial-arrow {
  font-size: 2rem;
  color: #1b1f23;
  padding: 1rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.left-arrow {
  position: absolute;
  left: 0;
}

.right-arrow {
  position: absolute;
  right: 0;
}

.testimonial-box {
  display: none;
  /* Initially hide all testimonials */
}

.testimonial-box.active {
  display: block;
  /* Only show the active one */
}
@media (max-width: 1024px) {
  .section__header {
    font-size: 2rem;
    text-align: center;
    padding: 0 2rem;
  }

  .testimonial__name {
    font-size: 1.6rem;
  }

  .testimonial__location {
    font-size: 1.4rem;
  }

  .testimonial__photo {
    width: 9rem;
    height: 8rem;
  }
}

@media (max-width: 768px) {
  .testimonials-container {
    flex-direction: column;
    gap: 3rem;
    padding: 2rem 1rem;
  }

  .testimonial-box {
    max-width: 100%;
    padding: 2rem 1rem;
  }

  .testimonial__photo {
    width: 8rem;
    height: 7rem;
  }

  .testimonial__name {
    font-size: 1.5rem;
  }

  .testimonial__location {
    font-size: 1.3rem;
  }

  .testimonial__text {
    font-size: 1.5rem;
  }

  .testimonial-arrow {
    display: none; /* Hide arrows on mobile */
  }
}

@media (max-width: 480px) {
  .section__description {
    font-size: 1.6rem;
  }

  .section__header {
    font-size: 1.8rem;
  }

  .testimonial__name {
    font-size: 1.4rem;
  }

  .testimonial__location {
    font-size: 1.2rem;
  }

  .testimonial__photo {
    width: 8rem;
    height: 8rem;
  }

  .testimonial__text {
    font-size: 1.4rem;
  }
}

/* FOOTER */
.footer {
  background-color: #000;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
  color: #fff;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-section {
  flex: 1;
  min-width: 160px;
}

.footer-section h4 {
  margin-bottom: 10px;
  color: #fff;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
}

.footer-section ul li a:hover {
  text-decoration: underline;
  color: #ccc;
}

.footer-section p {
  font-size: 14px;
  color: #ddd;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.subscribe-form input[type="email"] {
  padding: 8px;
  border: none;
  border-bottom: 1px solid #fff;
  background: transparent;
  color: #fff;
}

.subscribe-form input::placeholder {
  color: #ccc;
}

.subscribe-form button {
  padding: 8px;
  background-color: #fff;
  color: #000;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.subscribe-form button:hover {
  background-color: #ccc;
}

.social-icons a {
  margin-right: 10px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
}

.social-icons a:hover {
  color: #ccc;
}

.footer-bottom {
  border-top: 1px solid #444;
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  font-size: 13px;
  color: #bbb;
}
@media (max-width: 1024px) {
  .footer-container {
    gap: 30px;
  }

  .footer-section h4 {
    font-size: 1.6rem;
  }

  .footer-section ul li a,
  .footer-section p {
    font-size: 1.3rem;
  }

  .subscribe-form input[type="email"],
  .subscribe-form button {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    width: 100%;
    max-width: 400px;
  }

  .subscribe-form {
    align-items: center;
  }

  .subscribe-form input[type="email"] {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .subscribe-form button {
    width: 100%;
    max-width: 150px;
  }

  .social-icons {
    justify-content: center;
    margin-top: 1rem;
  }

  .social-icons a {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 30px 15px;
  }

  .footer-section h4 {
    font-size: 1.4rem;
  }

  .footer-section ul li a,
  .footer-section p {
    font-size: 1.2rem;
  }

  .footer-bottom {
    font-size: 1.1rem;
  }

  .subscribe-form input[type="email"],
  .subscribe-form button {
    font-size: 1.2rem;
  }
}
/* COOKIE MESSAGE */
.cookie-message {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  background-color: white;
  color: #bbb;
  font-size: 1.5rem;
  font-weight: 400;
}
