body {
  margin: 0;
  font-family: "Outfit Regular", sans-serif;
  color: #ffffff;
}

/* Blurred background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../src/banner1.png") center/cover no-repeat;
  filter: blur(12px);
  transform: scale(1.1); /* prevents edge cutoff from blur */
  z-index: -2;
}

/* Slight dark overlay for elegance */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: -1;
}

.carousel-section {
  position: relative;
  padding: 10px 5%;
}

#servicesCarousel {
  gap: 40px 20px;
}

#servicesCarousel .card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#servicesCarousel .card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

#servicesCarousel .card-content {
  padding: 15px;
}

.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title {
  font-size: 22px;
  font-weight: 600;
}

.see-all-btn {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: #f7f7f7;
  position: relative;
  transition: 0.3s ease;
}

.see-all-btn::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  width: 0%;
  height: 1px;
  background: #e4e4e4;
  transition: 0.3s ease;
}

.see-all-btn:hover::after {
  width: 100%;
}

.see-all-btn:hover {
  opacity: 0.7;
}

.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: auto;
}

.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 20px 10px;
}

.carousel::-webkit-scrollbar {
  display: none;
}

#pressRelease,
#services,
#contact {
  scroll-margin-top: 94px;
}

#about {
  scroll-margin-top: 175px;
}

.card {
  cursor: pointer;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  scroll-snap-align: start;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card-flex {
  flex: 0 0 calc(97% / 3);
  aspect-ratio: 1 / 1.1;
}

.card-fixed {
  width: 280px;
  flex: 0 0 auto;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  color: #2c2c2c;
}

.card-content p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.card-content button {
  padding: 12px 28px;
  border-radius: 30px;
  margin-top: 20px;
  align-self: flex-end;
  border: none;
  background: #000000;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.card-content button:hover {
  background: #777777;
  transform: translateY(-3px);
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: #111;
  color: white;
}

.prev {
  left: -20px;
}

.next {
  right: -20px;
}

@font-face {
  font-family: "Outfit Black";
  src: url("../font/Outfit-Black.otf") format("opentype");
}

@font-face {
  font-family: "Outfit Bold";
  src: url("../font/Outfit-Bold.otf") format("opentype");
}

@font-face {
  font-family: "Outfit ExtraBold";
  src: url("../font/Outfit-ExtraBold.otf") format("opentype");
}

@font-face {
  font-family: "Outfit ExtraLight";
  src: url("../font/Outfit-ExtraLight.otf") format("opentype");
}

@font-face {
  font-family: "Outfit Light";
  src: url("../font/Outfit-Light.otf") format("opentype");
}

@font-face {
  font-family: "Outfit Medium";
  src: url("../font/Outfit-Medium.otf") format("opentype");
}

@font-face {
  font-family: "Outfit Regular";
  src: url("../font/Outfit-Regular.otf") format("opentype");
}

@font-face {
  font-family: "Outfit SemiBold";
  src: url("../font/Outfit-SemiBold.otf") format("opentype");
}

@font-face {
  font-family: "Outfit Thin";
  src: url("../font/Outfit-Thin.otf") format("opentype");
}

/* NAVBAR */
.navbar {
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #323c55;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.navbar ul li a {
  text-decoration: none;
  color: #323c55;
  font-weight: 500;
  position: relative;
  transition: 0.3s ease;
}

.navbar ul li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: #323c55;
  transition: 0.3s ease;
}

.navbar ul li a:hover::after {
  width: 100%;
}

/* BANNER */
.banner {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 80px 8%;
  box-sizing: border-box;
  position: relative;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
}

.banner > * {
  position: relative;
  z-index: 2;
}

.left-image img {
  width: 100%;
  margin-top: -150px;
  max-width: 800px;
  height: auto;

  pointer-events: none;
}

.right-content {
  max-width: 1000px;
  margin-top: -100px;
  margin-bottom: -33px;
  text-align: center;
}

/* Logos */
.logo-container {
  flex-direction: row;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: nowrap;
}

.circle-logo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease;
}

.circle-logo:hover {
  transform: scale(1.1) rotate(5deg);
}

/* Banner Text */
.banner h1 {
  font-family: "Outfit Bold", sans-serif;
  font-size: clamp(28px, 4vw, 50px);
  margin: 0;
  font-style: italic;
}

.green-text {
  color: rgb(23, 160, 73);
}

.blue-text {
  color: rgb(29, 67, 156);
}

.banner p {
  font-size: 20px;
  opacity: 0.8;
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #323c55;
  margin: 3px 0;
  transition: 0.3s ease;
  border-radius: 3px;
}

/* Extra small devices */
@media (max-width: 480px) {
  .navbar .logo-title {
    font-size: 14px;
    max-width: 200px;
  }

  .banner {
    padding: 30px 4%;
  }

  .left-image img {
    max-width: 220px;
  }

  .right-content h1 {
    font-size: 24px;
  }
}

.banner-card {
  position: relative;
  gap: 20px;
  width: 90%;
  max-width: 1200px;
  margin: 80px auto;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 60px;
  box-sizing: border-box;
  color: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background: url("https://picsum.photos/1600/900?grayscale") center/cover
    no-repeat;
}

/* Dark overlay */
.banner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.85) 40%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.banner-content {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 600px;
}

.banner-content h1 {
  font-size: clamp(28px, 3vw, 42px);
}

.banner-content h3 {
  font-weight: 400;
  margin-bottom: 20px;
  color: #ddd;
}

.banner-content p {
  line-height: 1.6;
  margin-bottom: 25px;
  padding-right: 50px;
  color: #ccc;
}

.banner-content button {
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  background: #ffffff;
  color: #111;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.banner-content button:hover {
  background: #dcdcdc;
  transform: translateY(-3px);
}

.banner-image {
  position: relative;
  height: 360px;
  border-radius: 20px;
  z-index: 2;
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
}

.banner-image img {
  position: absolute;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateX(-50px);
  animation:
    fade 9s infinite,
    slide 9s infinite;
}

/* Delay each image */
.banner-image img:nth-child(1) {
  animation-delay: 0s;
}
.banner-image img:nth-child(2) {
  animation-delay: 3s;
}
.banner-image img:nth-child(3) {
  animation-delay: 6s;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  11% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  44% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes slide {
  0% {
    transform: translateX(0px);
  }

  50% {
    transform: translateX(50px); /* move right slightly */
  }

  100% {
    transform: translateX(50px);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .card {
    flex: 0 0 280px;
    aspect-ratio: 1 / 1.57;
  }

  .banner-card {
    flex-direction: column;
    height: auto;
    text-align: center;
    padding: 40px 25px;
  }

  .banner-card::before {
    background: rgba(0, 0, 0, 0.85);
  }

  .banner-image {
    margin-top: 30px;
    justify-content: center;
  }

  .banner-image img {
    height: 300px;
  }

  .banner-content {
    max-width: 100%;
  }
}

/* GLOBAL RESPONSIVE FIX */
@media (max-width: 992px) {
  .banner {
    flex-direction: column;
    text-align: center;
    padding: 60px 5%;
  }

  .right-content {
    text-align: center;
    margin-top: 30px;
  }

  .logo-container {
    justify-content: center;
    justify-content: center; /* Center horizontally */
    flex-direction: row; /* Keep horizontal */
  }

  .left-image img {
    max-width: 350px;
  }

  .circle-logo {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
  }

  .banner-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 25px;
  }

  .banner-image {
    margin-top: 30px;
    justify-content: center;
  }

  .banner-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
  }

  .contact-info p {
    justify-content: center;
  }

  .business-hours p {
    justify-content: center;
  }

  .followus {
    justify-content: center;
  }
}

.contact-info p {
  display: flex;
  align-items: flex-start; /* aligns icon with first line of text */
  gap: 8px; /* space between icon and text */
  margin: 8px 0;
}

.contact-info svg {
  width: 16px;
  height: 16px;
  fill: #17a049;
  flex-shrink: 0; /* prevents icon from shrinking */
  margin-top: 3px; /* fine-tune vertical alignment */
}

.business-hours p {
  display: flex;
  align-items: flex-start; /* aligns icon with first line of text */
  gap: 8px; /* space between icon and text */
  margin: 8px 0;
}

.business-hours svg {
  width: 16px;
  height: 16px;
  fill: #17a049;
  flex-shrink: 0; /* prevents icon from shrinking */
  margin-top: 3px; /* fine-tune vertical alignment */
}

.footer {
  background: #1d439c;
  color: #ffffff;
  padding: 40px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer h3 {
  margin: 15px 0 8px 0;
  font-size: 1.1rem;
  border-bottom: 2px solid #17a049;
  display: inline-block;
  padding-bottom: 5px;
}

.footer p,
.footer a {
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
  text-decoration: none;
}

.footer a:hover {
  color: #17a049;
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logos img {
  width: 200px;
  height: 120px;
  margin: 0 0 -20px 0;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 30px;
  padding-top: 15px;
  font-size: 13px;
}

.social-icon {
  display: inline-block;
  margin-right: 10px;
  font-weight: bold;
}

@media (max-width: 600px) {
  .footer {
    text-align: center;
  }

  .footer-logos img {
    margin-bottom: 10px;
  }
}

/* Small height devices */
@media (max-height: 600px) {
  .banner {
    min-height: auto;
    padding: 30px 5%;
  }
}

/* Tablet devices */
@media (min-width: 769px) and (max-width: 1024px) {
  .banner {
    padding: 60px 5%;
    min-height: auto;
  }

  .left-image img {
    max-width: 350px;
    margin-top: -80px;
  }

  .right-content {
    margin-top: -50px;
  }

  .right-content h1 {
    font-size: clamp(28px, 3.5vw, 42px);
  }
}

/* Ensure text remains readable on very small devices */
@media (max-width: 320px) {
  .left-image img {
    max-width: 180px;
  }

  .right-content h1 {
    font-size: 20px;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .banner::before {
    background: rgba(255, 255, 255, 0.95);
  }

  .hamburger {
    display: flex;
  }

  .navbar {
    padding: 20px 30px;
  }

  .nav-btn {
    display: none;
  }

  .circle-logo {
    width: 100px;
    height: 100px;
  }

  .banner h1 {
    font-size: 30px;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 58px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 100%;
    text-align: center;
    transition: 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    gap: 0;
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 15px 0;
  }

  .navbar ul li a {
    display: inline-block;
    padding: 10px 80px;
  }

  /* Hamburger Animation */
  .hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  /* Adjust navbar for mobile */
  .navbar {
    padding: 15px 20px;
  }

  .navbar .logo-title {
    font-size: 16px;
  }

  .banner {
    min-height: auto;
    padding: 40px 5%;
    flex-direction: column;
    text-align: center;
  }

  .left-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }

  .left-image img {
    max-width: 280px;
    margin-top: 0;
  }

  .right-content {
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 15px;
  }

  .right-content h1 {
    font-size: 28px;
    line-height: 1.3;
    margin: 5px 0;
  }

  .green-text,
  .blue-text {
    display: block;
  }
  .banner-card {
    margin: 40px auto;
    padding: 30px 20px;
  }

  .banner-content {
    text-align: center;
  }

  .banner-content h1 {
    font-size: 24px;
  }

  .banner-content h3 {
    font-size: 18px;
  }

  .banner-content p {
    font-size: 14px;
  padding-right: 0px;
  }

  .banner-image {
    height: auto;
    min-height: 150px;
    width: 100%;
    overflow: hidden;
  }

  .banner-image img {
    position: absolute;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation:
      fade 9s infinite,
      slide 9s infinite;
    border-radius: 20px; /* Add border-radius to images as well */
    width: 110%; /* Ensure images take full width of container */
    left: 0; /* Position from left edge */
    top: 0; /* Position from top edge */
  }

  /* Delay each image */
  .banner-image img:nth-child(1) {
    animation-delay: 0s;
  }
  .banner-image img:nth-child(2) {
    animation-delay: 3s;
  }
  .banner-image img:nth-child(3) {
    animation-delay: 6s;
  }

  /* Fix for the animation on mobile */
  @keyframes slide {
    0% {
      transform: translateX(-20px);
    }
    50% {
      transform: translateX(0px);
    }
    100% {
      transform: translateX(20px);
    }
  }
}

/* Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Box */
.modal {
  position: relative;
  background: white;
  width: 50vw;
  max-height: 80vh;
  overflow-y: auto;
  padding: 25px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s ease;
}

.modal-overlay.active .modal {
  transform: scale(1);
  opacity: 1;
}

/* Top-right X button */
.modal-close-x {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #666;
  transition: 0.2s ease;
}

.modal-close-x:hover {
  color: #000;
  transform: scale(1.2);
}

.modal img {
  width: 80%;
  height: 200px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .modal {
    width: 300px;
  }

  .modal img {
    width: 250px;
  }
}

.modal h2 {
  margin-bottom: 10px;
  color: #333;
}

.modal p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.modal-dropdown {
  text-align: left;
  background: #f9f9ff;
  color: #000000;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 13px;
  cursor: pointer;
}

.modal-dropdown h4 {
  margin: 15px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-dropdown ul {
  padding-left: 18px;
  margin: 15px;
  display: none;
  list-style: none;
}

.modal-dropdown.open ul {
  display: block;
}

.dropdown-icon {
  transition: transform 0.3s ease;
}

.modal-dropdown.open .dropdown-icon {
  transform: rotate(180deg);
}

.modal-dropdown li {
  margin-bottom: 5px;
}

.modal-footer {
  font-size: 12px;
  color: #999;
  margin-bottom: 15px;
}

.close-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 6px;
  background: #ff5e57;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.close-btn:hover {
  background: #e04842;
}

.a-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 15, 20, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.a-modal.active {
  opacity: 1;
  visibility: visible;
}

.a-card {
  position: relative;
  width: 320px;
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 0 0.5px rgba(255, 255, 255, 0.3);
  color: #fff;
  overflow-y: auto;
  transform: scale(0.95);
  opacity: 0;
  will-change: transform, opacity;
  transition: all 0.3s ease;
}

.a-modal.active .a-card {
  transform: scale(1);
  opacity: 1;
}

.a-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}

.a-input,
.a-primary {
  width: 100%;
  box-sizing: border-box;
}

.a-input {
  padding: 12px 14px;
  border-radius: 12px;
  border: none;
  outline: none;
  font-size: 14px;
  margin-bottom: 12px;
}

.a-message {
  top: 10px;
  position: absolute;
  color: red;
}

.a-primary {
  padding: 12px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #6a5cff, #8f7bff);
  color: white;
  font-weight: 500;
}
