/* ****************** */
/* HEADER */
/* ****************** */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--background-color-sections);

  /* Because we want header to be sticky later */
  height: 9.6rem;
  padding: 0 4.8rem;
  position: relative;
}

.text-logo {
  font-size: 1.8rem; /* Adjust as needed */
  font-weight: 700;
  color: #fff; /* White text */
  background-color: #000000; /* Blue background */
  padding: 0.8rem 1.6rem;
  border-radius: 1rem;
  display: inline-block;
  text-decoration: none; /* Remove underline from link */
}

/* ****************** */
/* NAVIGATION */
/* ****************** */

.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4.8rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  color: #1d1d1db7;
  font-size: 1.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}
.main-nav-link:hover,
.main-nav-link:active {
  color: #000000;
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  color: #fff;
  background-color: var(--background-color);
}
.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
  color: #000000;
  background-color: var(--background-color-hover);
  outline: 1px solid rgba(0, 0, 0, 0.5);
}

/* MOBILE */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}
.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #333;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/* STICKY NAVIGATION */
.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 999;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
  transition: all 0.4s;
}

.sticky .section-hero {
  margin-top: 9.6rem;
}

/* ****************** */
/* HERO SECTION */
/* ****************** */
.section-hero {
  background-color: var(--background-color-sections);
  padding: 4.8rem 0 9.6rem 0;
}

.hero {
  max-width: 130rem;
  margin: 0 auto;
  padding: 0 3.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9.6rem;
  align-items: center;
}

.hero-description {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
}

.hero-img {
  width: 100%;
  border-radius: 2rem;
}

/* ****************** */
/* PRODUCT SECTION */
/* ****************** */

.section-product {
  padding-top: 9.6rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 6.4rem;
  align-items: start;
}

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

.product-main-image {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 11px;
  min-height: 61rem;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);
}

.product-main-image img {
  width: 100%;
  max-height: 50rem;
  max-width: 70rem;
  object-fit: cover;
  object-position: center 25%;

  display: block;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 11px 11px 0 0;
}

.carousel-track {
  display: flex;
  width: 400%; /* 4 images */
  height: 100%;
  transition: transform 0.3s ease;
  will-change: transform;
}

.carousel-slide {
  width: 25%; /* 1/4 of track width */
  height: 100%;
  flex-shrink: 0;
}

.carousel-slide img {
  width: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #333;
  transition: all 0.3s;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-nav.prev {
  left: 1rem;
}

.carousel-nav.next {
  right: 1rem;
}

.carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 10;
}

.indicator {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgb(0, 0, 0);
  cursor: pointer;
  transition: all 0.3s;
}

.indicator.active {
  background: rgba(255, 255, 255, 0.801);
  transform: scale(1.2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Smooth dragging cursor */
.carousel-container.dragging {
  cursor: grabbing;
}

.carousel-container:not(.dragging) {
  cursor: grab;
}

.product-thumbnails {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  margin-top: 2.4rem;
}

.thumbnail-item {
  width: 8rem; /* Fixed width for thumbnails */
  height: 8rem; /* Fixed height for thumbnails */
  overflow: hidden;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumbnail-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.thumbnail-item.active {
  border: 2px solid #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}

.product-details {
  grid-column: 2 / 3; /* Second column */
  grid-row: 1 / -1;
  padding: 3.2rem;
  background-color: var(--background-color-sections);
  border-radius: 11px;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);
}

.product-title {
  font-size: 3.6rem;
  font-weight: 700;
  text-align: center;
  color: #333;
  margin-bottom: 2.4rem;
  line-height: 1.2;
}

.product-short-description {
  font-size: 1.8rem;
  line-height: 1.6;
  text-align: center;
  color: #555;
  margin-bottom: 3.2rem;
}

.product-specs {
  background-color: #fff; /* Changed background */
  padding: 3.2rem; /* Adjusted padding */
  border-radius: 9px; /* Adjusted border-radius */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Adjusted shadow */
  margin-bottom: 3.2rem;
}

.specs-heading {
  font-size: 2.2rem; /* Adjusted font size */
  font-weight: 600;
  color: #333;
  margin-bottom: 2.4rem; /* Adjusted margin */
  text-align: left; /* Aligned left */
}

.specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.6rem; /* Adjusted gap */
  margin-bottom: 2.4rem; /* Adjusted margin */
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Aligned center */
  padding: 1.2rem 0; /* Adjusted padding */
  border-bottom: 1px solid #eee; /* Added border */
}

.spec-item:last-child {
  border-bottom: none; /* No border for last item */
}

.spec-item:hover {
  transform: none; /* Removed transform on hover */
  box-shadow: none; /* Removed box-shadow on hover */
}

.spec-label {
  font-weight: 600;
  color: #000000;
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-right: 1.6rem; /* Adjusted margin */
}

.spec-value {
  font-size: 1.6rem;
  color: #333;
  text-align: right;
  line-height: 1.4;
}

.product-cta {
  margin-top: 3.2rem;
  display: inline-block; /* Ensure it takes only necessary width */
  width: 100%; /* Make button full width within its container */
  text-align: center;
}

.video-carousel-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 3.5rem;
}

.section-title {
  text-align: left;
  font-size: 4.5rem;
  color: #333;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.section-subtitle {
  color: #323b57b6;
  font-size: 3rem;
  margin-bottom: 3rem;
}

.video-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.swiper-slide {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.swiper-slide:hover {
  transform: scale(1.05);
}

.video-thumbnail {
  width: 100%;

  object-fit: cover;
  border-radius: 10px;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
  background: white;
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 25px solid #000000;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  margin-left: 5px;
}

/* Modal Styles */
.video-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

.video-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  max-width: 400px;
  max-height: 90vh;
  background: #000;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-video {
  width: 100%;
  height: auto;
  display: block;
}

.close-button {
  position: absolute;
  top: 15px;
  right: 20px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.close-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
  color: #000000;
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}

.swiper-pagination-bullet {
  background: #000000;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #ffffffc2;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .play-button {
    width: 60px;
    height: 60px;
  }

  .play-button::after {
    border-left: 20px solid #000000;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
  }

  .modal-content {
    max-width: 90%;
    margin: 20px;
  }
}
/* ****************** */
/* ABOUT SECTION */
/* ****************** */

.about {
  padding-bottom: 9.6rem;
  background-color: #fff;
}

.about .container h2 {
  font-size: 4.4rem;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 6.4rem;
  line-height: 1.2;
}

.about .container p {
  font-size: 2rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 3.2rem;
  text-align: center;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.about .container p:last-child {
  margin-bottom: 0;
}

/* ****************** */
/* BRAND SHOWCASE SECTION */
/* ****************** */

.brand-showcase {
  padding: 8rem 0 6.4rem;
  background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
}

.brand-showcase .container {
  text-align: center;
}

.brand-subtitle {
  font-size: 2rem;
  font-weight: 500;
  color: #6c757d;
  letter-spacing: 0.1rem;
  margin-bottom: 2.8rem;
}

.brand-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  justify-items: center;
  align-items: center;
  gap: 3.2rem 6.4rem;
}

.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(6rem, 9vw, 8.8rem);
}

.brand-logo {
  display: block;
  width: min(18rem, 100%);
  height: auto;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.brand-logo:hover,
.brand-logo:focus-visible {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-0.4rem) scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo {
    transition: none;
  }
}

/* ****************** */
/* SERVICES SECTION */
/* ****************** */

.services {
  padding: 9.6rem 0;
  background-color: #fff;
}

.services .container h2 {
  font-size: 4.4rem;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 6.4rem;
  line-height: 1.2;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  max-width: 80rem;
  margin: 0 auto;
}

.service-card {
  background-color: #fff;
  padding: 3.2rem 4.8rem;
  border-radius: 11px;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);
  font-size: 2rem;
  font-weight: 500;
  color: #333;
  text-align: center;
  transition: all 0.4s;
  border-left: 4px solid #000000;
}

.service-card:hover {
  transform: translateY(-0.8rem);
  box-shadow: 0 3.2rem 6.4rem rgba(0, 0, 0, 0.1);
}

/* ****************** */
/* MISSION VISION SECTION */
/* ****************** */

.mission-vision {
  padding: 9.6rem 0;
  background-color: #fff;
}

.mv-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6.4rem;
  align-items: start;
}

.mv-card {
  background-color: #fff;
  padding: 4.8rem;
  border-radius: 11px;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);
  text-align: center;
  transition: all 0.4s;
}

.mv-card:hover {
  transform: translateY(-0.8rem);
  box-shadow: 0 3.2rem 6.4rem rgba(0, 0, 0, 0.1);
}

.mv-card h3 {
  font-size: 3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 2.4rem;
  line-height: 1.2;
}

.mv-card p {
  font-size: 1.8rem;
  line-height: 1.8;
  color: #555;
}

/* ****************** */
/* PRESENCE SECTION */
/* ****************** */

.presence {
  padding: 9.6rem 0;
  background-color: var(--background-color);
  text-align: center;
}

.presence .highlight {
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.4;
  max-width: 80rem;
  margin: 0 auto;
}

.highlight.ileri {
  margin-top: 2rem;
}

/* ****************** */
/* SUPPORT SECTION */
/* ****************** */

.section-support {
  padding: 9.6rem 0;
  background-color: #ffffff;
}

.support-header {
  text-align: center;
  margin-bottom: 6.4rem;
}

.support-description {
  font-size: 2rem;
  line-height: 1.6;
  color: #555;
  max-width: 60rem;
  margin: 0 auto 6.4rem auto;
}

.support-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4.8rem;
  margin-bottom: 6.4rem;
}

.support-card {
  background-color: #fff;
  padding: 4.8rem 3.2rem;
  border-radius: 11px;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);
  text-align: center;
  transition: all 0.4s;
}

.support-card:hover {
  transform: translateY(-0.8rem);
  box-shadow: 0 3.2rem 6.4rem rgba(0, 0, 0, 0.1);
}

.support-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6.4rem;
  height: 6.4rem;
  background-color: #cce5ff;
  border-radius: 50%;
  margin: 0 auto 2.4rem auto;
}

.support-icon ion-icon {
  font-size: 3.2rem;
  color: #007bff;
}

.support-title {
  font-size: 2.4rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.6rem;
}

.support-info {
  font-size: 1.8rem;
  color: #555;
  line-height: 1.6;
}

.support-link:link,
.support-link:visited {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.support-link:hover,
.support-link:active {
  color: #0056b3;
  text-decoration: underline;
}

.support-footer {
  text-align: center;
  max-width: 80rem;
  margin: 0 auto;
}

.support-guarantee {
  font-size: 1.8rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 3.2rem;
}

/* ****************** */
/* CONTACT MAP SECTION */
/* ****************** */
.section-contact-map {
  padding: 9.6rem 0; /* Add padding to the section */
  background-color: #fff; /* Example background color */
  text-align: center; /* Center content */
}

.section-contact-map .container {
  max-width: 120rem; /* Adjust container width if needed */
  margin: 0 auto;
  padding: 0 3.2rem;
}

.section-contact-map .contacts {
  font-style: normal;
  font-size: 1.8rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 3.2rem;
}

.section-contact-map .address {
  margin-bottom: 1.6rem;
}

.section-contact-map iframe {
  width: 100%; /* Take entire available width */
  height: 50rem; /* Set a substantial height */
  border: 0;
  border-radius: 9px; /* Keep border-radius for aesthetics */
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075); /* Add subtle shadow */
}

/* ****************** */
/*  FOOTER */
/* ****************** */
.footer {
  padding: 6.4rem 0; /* Reduced padding for a simpler footer */
  border-top: 1px solid #eee;
  text-align: center; /* Center content for single column */
}

.grid--footer {
  grid-template-columns: 1fr; /* Single column for logo and copyright */
  justify-items: center; /* Center items in the grid */
}

.logo-col {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center items in logo column */
}

.footer .text-logo {
  font-size: 1.8rem;
}

.copyright {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #6c757d;
  margin-top: 1.6rem; /* Remove auto margin as it's now single column */
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 7rem;
  height: 7rem;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  box-shadow: 0 0.8rem 2rem rgba(37, 211, 102, 0.3);
  z-index: 1000;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.15);
  box-shadow: 0 1rem 2.5rem rgba(18, 140, 126, 0.4);
  animation: none; /* Stop pulse on hover */
}

.whatsapp-float ion-icon {
  margin-top: 0.2rem;
  pointer-events: none;
}

/* Pulse animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0.8rem 2rem rgba(37, 211, 102, 0.3),
      0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    box-shadow: 0 0.8rem 2rem rgba(37, 211, 102, 0.3),
      0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0.8rem 2rem rgba(37, 211, 102, 0.3),
      0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Alternative pulse ring effect (you can use this instead if you prefer) */
.whatsapp-float::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  transform: translate(-50%, -50%);
  animation: pulseRing 2s infinite;
  z-index: -1;
}

@keyframes pulseRing {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 6rem;
    height: 6rem;
    font-size: 3rem;
  }
}
