/* Reset default margin and prevent horizontal overflow */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  scroll-snap-type: y mandatory;
  overflow-x: hidden;
  font-family: 'Cal Sans', sans-serif;
}

/*HEADER*/
/* Main navigation */
html{
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}


/* Header base styles */
.main-header {
  position: fixed;
  top: -0;
  width: 100%;
  height: 60px;
  background-color: #bd0101;
  z-index: 1000;
  padding: 4px 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.1s ease-in-out;
}

.main-header nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Hide header when scrolled down */
header.hidden {
  transform: translateY(-150%);
}

/* Nav container: logo on the left, links on the right */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo styling */
.logo {
  display: flex;
  align-items: center;
  gap: 10px; /* Adjust spacing between logos if using more than one */
}

/* Navigation links container */
.nav-links {
  list-style: none;
    margin: 0;
    gap: 20px; /* Space between links */
    padding-left: 50px;
    display: flex; /* For horizontal desktop links */
}

/* Nav link styling */
.nav-links li a {
  color: #fdfdfd; /* Red color */
  font-weight: 500;
  font-size: 18px;
  text-decoration: none;
  word-spacing: 10px;
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

/* Hover underline animation */
.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background-color: #000000;
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: #000000;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Add at the end of your style.css */
@media (max-width: 900px) {
  header {
    height: 0px;
    padding: 0px 10px;
  }

  .nav-links {
    gap: 15px;
    font-size: 16px;
    display: none;
  }

  .nav-links li a {
    font-size: 16px;
    padding-bottom: 3px;
  }
}

/* For very small screens, stack nav links vertically */
@media (max-width: 480px) {
  nav {
    flex-direction:column-reverse;
    align-items: flex-end;
    display: none;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    display: none;
  }
}

/*SIDE NAVIGATION*/
/* Hide mobile elements by default on desktop */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Changed to fixed for better mobile overlay */
    z-index: 9999; /* Stay on top */
    right: 0;
    background-color: #111; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 20px; /* Adjust padding for logos */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    display: none; /* Hide sidenav on desktop initially */
}

/* The navigation menu links */
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 20px; /* Slightly smaller for mobile links */
    color: #818181;
    display: block;
    transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
    color: #9d0f0f;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: 10px; /* Adjusted position */
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

/* Style for logos inside the sidenav */
.sidenav .mobile-logo {
    padding: 10px 0 20px 32px; /* Padding for logos within sidenav */
    display: flex; /* To align logos horizontally */
    align-items: center;
    gap: 10px; /* Space between logos */
}

/* Hide the toggle button by default on desktop */
.sidenav-toggle {
    display: none;
    font-size: 35px;
    cursor: pointer;
    position: fixed; /* Position it on the top right for mobile */
    top: 15px;
    right: 20px;
    z-index: 1000; /* Ensure it's above other content */
    color: #ffffff; /* Color for the hamburger icon */
}

/* --- Media Queries for Mobile View --- */
@media screen and (max-width: 900px) { /* Adjust breakpoint as needed */
    /* Hide desktop navigation elements */
    .main-header .nav-links,
    .main-header {
        display: none;
    }

    /* Show the mobile toggle button */
    .sidenav-toggle {
        display: block;
    }


    /* Display the sidenav element on mobile to allow JS to control its width */
    .sidenav {
        display: block;
    }

    /* Adjust main header for mobile if it's still present (e.g., just for toggle button) */
    .main-header {
        justify-content: flex-end; /* Push toggle button to the right if it's within header */
        padding: 10px 20px; /* Keep consistent padding */
    }

    /* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
    @media screen and (max-height: 450px) {
        .sidenav {padding-top: 0px;}
        .sidenav a {font-size: 18px;}
        .sidenav .mobile-logo {
            padding: 10px 0 10px 32px; /* Adjust logo padding for very small height */
        }
    }
}
/*END SIDE NAVIGATION*/

/*END HEADER SECTION*/


/*HERO SECTION*/
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  overflow: hidden;
  padding: 0 20px;
}

#hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.hero-content h2 {
  font-size: 48px;
  margin: 10px 0;
  line-height: 1.2;
  font-weight: bold;
  word-break: break-word;
}

.sec-title{
  color: black;
}

.hero-content p {
  font-size: 20px;
  max-width: 700px;
  margin: 20px auto;
  line-height: 1.6;
  word-break: break-word;
  text-shadow: 0 2px 8px #000000, 0 0px 2px #000;
}

.hero-content p,
.hero-content h2 {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: none;
  animation: heroFadeInUp 3s cubic-bezier(0.95, 0.05, 0.795, 0.035) 0.3s forwards;
}

@keyframes heroFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    filter: blur(6px);
  }
  60% {
    opacity: 1;
    transform: translateY(-8px) scale(1.02);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.hero-btn {
  display: inline-block;
  padding: 12px 24px;
  margin-top: 20px;
  background-color: #e63946;
  color: white;
  font-size: 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-btn:hover {
  background-color: #d62828;
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .hero-content h2 {
    font-size: 40px;
  }
  .hero-content p {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 100vh;
    padding: 40px 10px 20px 10px;
  }
  .hero-content h2 {
    font-size: 55px;
    color: rgb(255, 53, 53);
    text-shadow:
    -2px -2px 0 #fffcfc,
     2px -2px 0 #ffffff,
    -2px  2px 0 #ffffff,
     2px  2px 0 #2d2d2d,
    0px  0px 4px #ffffff;
  }
  .hero-content p {
    font-size: 35px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 60vh;
    padding: 30px 5px 10px 5px;
  }
  .hero-content h2 {
    padding-top: 5px;
    font-size: 42px;
    text-shadow:
    -2px -2px 0 #fffcfc,
     2px -2px 0 #ffffff,
    -2px  2px 0 #ffffff,
     2px  2px 0 #2d2d2d,
    0px  0px 4px #ffffff;
  }
  .hero-content p {
    font-size: 25px;
  }
  .hero-btn {
    font-size: 24px;
    padding: 20px;
  }
}
/*END HERO SECTION*/

/*ABOUT SECTION*/
.about-section {
  width: 100vw;
  min-height: 100vh;
  padding: 30px 35px;
  background: rgba(255, 65, 65, 0.519);
  overflow: hidden;
  text-align: center;
  position: relative;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: url('images/about-bg1.png') center/cover no-repeat;
  opacity: 0.5;
  z-index: 0;
}

.about-section h1 {
  text-align: center;
  font-size: 6px;
  margin-bottom: 0px;
  color: #ffffff;
  z-index: 1;
  position: relative;
}

.about-section p {
  color: #ffffff;
  font-size: 30px;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.text-boxes {
  flex: 1 1 700px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-box {
  background-color: rgba(0, 0, 0, 0.624);
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.about-box h1 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #f03737;
}

.about-box p {
  line-height: 1.7;
  font-size: 16px;
}

.section-title {
  opacity: 0;
  transform: translateY(20px);  
}

.section-title.animate-fade {
  opacity: 1;
  transform: none;
}

.animate-fade {
  opacity: 1 !important;
  transform: none !important;
}

/* Phone-framed video */
.video-box {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.phone-frame {
  width: 360px;
  height: 650px;
  background: #000;
  border: 10px solid #333;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.164);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.95) translateY(30px);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.phone-frame.animate-fade {
  opacity: 1;
  transform: none;
}

.phone-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .about-section {
    padding: 40px 10px;
  }
  .about-section h1 {
    font-size: 30px;
  }
  .about-section p {
    font-size: 22px;
  }
  .about-content {
    gap: 25px;
  }
  .phone-frame {
    width: 280px;
    height: 500px;
  }
}

@media (max-width: 900px) {
  .about-section {
    padding: 60px 8px;
  }
  .about-section h1 {
    font-size: 24px;
  }
  .about-section p {
    font-size: px;
  }
  .about-content {
    flex-direction: column;
    gap: 20px;
    padding: 0 5px;
    align-items: center;
  }
  .text-boxes,
  .video-box {
    flex: 1 1 100%;
    align-items: center;
    text-align: center;
    min-width: 0;
  }
  .about-box {
    padding: 16px 10px;
    font-size: 15px;
  }
  .about-box h1 {
    font-size: 28px;
  }
  .about-box p {
    font-size: 18px;
  }
  .phone-frame {
    width: 390px;
    height: 550px;
    border-width: 10px;
    border-radius: 24px;
    padding: 6px;
  }

  .phone-frame video{
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 30px 2px;
  }
  .about-section h1 {
    font-size: 18px;
  }
  .about-section p {
    font-size: 14px;
  }
  .about-content {
    gap: 10px;
    padding: 0 2px;
  }
  .about-box {
    padding: 10px 5px;
    font-size: 13px;
  }
  .about-box h1 {
    font-size: 15px;
  }
  .about-box p {
    font-size: 12px;
  }
  .phone-frame {
    width: 320px;
    height: 520px;
    border-width: 6px;
    border-radius: 14px;
    padding: 2px;
  }
}
/*END ABOUT SECTION*/

/*SPECIALITY SECTION*/
.speciality-section {
  background: url(images/specialty-bg.svg) no-repeat center center;
  position: relative;
  width: 100%;
  min-height: 100%;
  padding: 20px 20px;
  overflow: hidden;
}

/* Position the video */
#speciality-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}


.speciality-boxes {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.speciality-boxes .box {
  flex: 1 1 450px;
  width: 300px;
  background-color: rgba(0, 0, 0, 0.669);
  padding: 25px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

/* Hover effect */
.speciality-boxes .box:hover {
  transform: translateY(-80px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Image & text styles */
.speciality-boxes .box img {
  width: 155px;
  height: auto;
  margin-bottom: 15px;
}

.speciality-boxes .box h1 {
  font-size: 20px;
  margin-bottom: 10px;
}

.speciality-boxes .box p {
  font-size: 17px;
  line-height: 1.6;
  color: #ffffff;
}

/* Scroll-in animation */
.speciality-boxes .box.animate-fade {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

@media (max-width: 900px) {
  .speciality-section {
  background: url(images/specialty-bg.svg) repeat center center;
  position: relative;
  height: 100%;
  padding: 20px 20px;
  overflow: hidden;
  }

  .speciality-boxes {
    gap: 20px;
  }

  .speciality-boxes .box {
    flex: 1 1 100%;
    max-width: 90%;
  }

  .speciality-boxes .box h1 {
    font-size: 28px;
  }

  .speciality-boxes .box p {
    font-size: 23px;
  }
}
/*END SPECIALITY SECTION*/

/*MPPT SECTION*/
.mppt-section {
  padding: 50px 20px;
  background: url('images/mppt-background.svg') center/cover no-repeat;
  min-height: 100vh;
  color: rgb(0, 0, 0);
  position: relative;
  overflow: hidden;
}

.mppt-section h1 {
  text-align: center;
  font-size: 76px;
  color: #212121;
  position: relative;
  z-index: 1;
}

.mppt-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.mppt-image-wrapper {
  flex: 1 1 300px;
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mppt-controller {
  width: 100%;
  max-width: 350px;
  transition: transform 0.3s ease;
  border-radius: 10px;
}

.mppt-text {
  flex: 1 1 500px;
}

/* Animation base state */
.mppt-text h1,
.mppt-text ul li {
  color: #ffffff;
  font-weight: 800;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  text-shadow:
    -2px -2px 0 #333,
     2px -2px 0 #333,
    -2px  2px 0 #333,
     2px  2px 0 #333,
    0px  0px 4px #333;
}

/* Animation active state */
.mppt-text.animate h1,
.mppt-text.animate ul li {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation */
.mppt-text.animate ul li:nth-child(1) { transition-delay: 0.1s; }
.mppt-text.animate ul li:nth-child(2) { transition-delay: 0.2s; }
.mppt-text.animate ul li:nth-child(3) { transition-delay: 0.3s; }
.mppt-text.animate ul li:nth-child(4) { transition-delay: 0.4s; }
.mppt-text.animate ul li:nth-child(5) { transition-delay: 0.5s; }
.mppt-text.animate ul li:nth-child(6) { transition-delay: 0.6s; }
.mppt-text.animate ul li:nth-child(7) { transition-delay: 0.7s; }
.mppt-text.animate ul li:nth-child(8) { transition-delay: 0.8s; }
.mppt-text.animate ul li:nth-child(9) { transition-delay: 0.9s; }
.mppt-text.animate ul li:nth-child(10) { transition-delay: 1s; }
.mppt-text.animate ul li:nth-child(11) { transition-delay: 1.1s; }


.mppt-text h1 {
  font-size: 50px;
  color: #fc7373;
  margin-bottom: 20px;
}

.mppt-text ul {
  list-style: none;
  padding-left: 0;
}

.mppt-text ul li {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.3;
}

/* Mobile */
@media (max-width: 900px) {
  .mppt-container {
    flex-direction: column;
    text-align: center;
  }

  .mppt-section {
    padding: 30px 10px;
    background: url('images/mppt-mobile.svg') center/cover no-repeat;
  }

  .mppt-text h1 {
    font-size: 30px;
  }

  .mppt-text ul li {
    font-size: 25px;
    text-align: center;
  }
}
/*END MPTT SECTION */

/*=======================
     PRODUCT SECTION
  =======================*/
.product-section {
  width: 100vw;
  min-height: 100vh;
  padding: 30px 10px;
  background: linear-gradient(to bottom, #f6000098, #ffffff);
  overflow: hidden;
  text-align: center;
  position: relative;
}

.product-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: url('images/product.png') center/cover no-repeat;
  opacity: 0.3;
  z-index: 0;
}

.product-section h1 {
  font-size: 40px;
  margin-bottom: 20px;
  color: #c1121f;
  position: relative;
  z-index: 2;
}

/* Product Box */
.product-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.product-boxes .box {
  position: relative;
  overflow: hidden;
  background-color: rgb(255, 255, 255);
  padding: 30px 20px;
  border-radius: 15px;
  max-width: 320px;
  flex: 1 1 300px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  opacity: 0;
  transform: translateY(50px) scale(0.9);
}

.product-boxes .box img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}


/* Hover Effect */
.product-boxes .box:hover img {
  transform: scale(1.3);
}

.product-boxes .box:hover {
  transform: translateY(-10px) scale(1.05) rotateX(5deg);
  box-shadow: 0 12px 25px rgba(255, 0, 0, 0.4), 0 4px 20px rgba(0,0,0,0.2);
}

/* Shine Effect */
.product-boxes .box::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: rotate(25deg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.product-boxes .box:hover::after {
  opacity: 1;
  animation: shine 1s linear forwards;
}

@keyframes shine {
  0% { transform: rotate(25deg) translate(-100%, -100%); }
  100% { transform: rotate(25deg) translate(100%, 100%); }
}

/* View Details Button */
.view-details {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background-color: #c1121f;
  color: white;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.product-boxes .box:hover .view-details {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events:auto;
  cursor: pointer;
}

/* Scroll Animation Activation */
.product-boxes .box.animate-fade {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: all 0.8s ease;
}

/* Modal Style */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 100px;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: white;
  margin: auto;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  position: relative;
  text-align: left;
  animation: slideUp 0.5s ease;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #c1121f;
  cursor: pointer;
}

@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-content h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #c1121f;
}

.modal-content h2 {
  font-size: 22px;
  margin-top: 20px;
  color: #a30e1b;
}

.modal-content p {
  font-size: 16px;
  margin-top: 10px;
  color: #333;
  line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .product-boxes {
    flex-direction: column;
    align-items: center;
  }

  .product-boxes .box {
    padding-bottom: 60px;
  }

  #series-name {
    font-size: 55px;
    margin-bottom: 10px;
  }

  .product-section h1 {
    font-size: 28px;
  }

  .view-details {
    display: none !important;
  }

  .product-boxes .box img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.5s ease;
  }

}
/*END PRODUCT SECTION*/

/*CATALOG SECTION*/
.catalog-section {
  padding: 60px 20px;
  background: url('images/catalog-wp.png') center center / cover no-repeat;
  text-align: center;
  overflow-x: hidden;
  position: relative;
}

.catalog-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 101, 101, 0.432); /* Adjust for brightness */
  z-index: 0;
}

.catalog-section > * {
  position: relative;
  z-index: 1;
}

.catalog-section h1 {
  font-size: 56px;
  color: #c1121f;
}

.carousel-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px;
}

.carousel-slide img {
  width: 100%;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
  .carousel-slide img {
    max-width: 70%;
    margin: 0 auto;
    display: block;
  }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #c1121f;
  color: white;
  border: none;
  font-size: 26px;
  padding: 10px 16px;
  border-radius: 40%;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: #a30e1b;
  transform: translateY(-50%) scale(1.1) ;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-dots {
  margin-top: 20px;
}

.carousel-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-dot.active {
  background-color: #c1121f;
}

.download-button-wrapper {
  margin-top: 30px;
}

.download-btn {
  background: #c1121f;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.download-btn:hover {
  background: #a30e1b;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .carousel-btn {
    font-size: 22px;
    padding: 8px 12px;
  }

  .catalog-section h1 {
    font-size: 28px;
  }

  .carousel-slide img {
    width: 91%;
  }
}

@media (max-width: 480px) {
  .carousel-btn {
    font-size: 12px;
    padding: 8px 12px;
  }

  .catalog-section h1 {
    font-size: 33px;
    
  }

  .carousel-slide img {
    width: 100%;
  }
}
/*END CATALOG SECTION*/

/*SCROLL-TO-TOP BUTTON*/
#scrollToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 999;
  font-size: 24px;
  background-color: #c1121f;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, transform 0.3s ease-in-out;
}

#scrollToTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#scrollToTopBtn:hover {
  background-color: white;
  color: #c1121f;
  transform: translateY(-6px) scale(1.1);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}
/*END SCROLL-TO-TOP BUTTON*/

/*FAQS SECTION*/
.faq-section {
  width: 100vw;
  min-height: 100vh;
  padding: 30px 35px;
  background: rgba(255, 27, 27, 0.37);
  overflow: hidden;
  text-align: center;
  position: relative;
}

.faq-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: url('images/questionmarkbg.png') center/cover no-repeat;
  opacity: 0.2;
  z-index: -1;
}

.faq-title {
  font-size: 56px;
  color: #c1121f;
  margin-bottom: 60px;
  z-index: 1;
  position: relative;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  z-index: 999;
  z-index: 3;
}

.faq-item {
  margin-bottom: 20px;
  border: 2px solid #c1121f;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  z-index: 999;
}

.faq-item:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
  background: #fff;
  color: #c1121f;
  padding: 16px 20px;
  font-size: 18px;
  font-weight: bold;
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  position: relative;
  outline: none;
  transition: background 0.3s ease;
}

.faq-question::after {
  content: '+';
  font-size: 22px;
  position: absolute;
  right: 20px;
  top: 16px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #fff7f7;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 16px 20px;
}

.faq-answer p {
  margin: 0;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}
/*END FAQS TESTIMONY*/

/*TESTIMONY SECTION*/
.testimonial-section {
  padding: 80px 20px;
  background-color: #fff5f5;
  text-align: center;
}

.testimonial-title {
  font-size: 70px;
  color: #c1121f;
  margin-bottom: 40px;
}

.testimonial-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.testimonial-card {
  background-color: #ffffff;
  border: 2px solid #c1121f;
  border-radius: 12px;
  padding: 25px 20px;
  max-width: 400px;
  width: 100%;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.testimonial-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #c1121f;
  object-fit: cover;
}

.testimonial-role {
  font-size: 14px;
  color: #888;
  margin-top: 3px;
}

.testimonial-video {
  position: relative;
  width: 100%;
  max-width: 320px; /* adjust as needed */
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px; /* optional, for rounded corners */
  background: #000;
}

.testimonial-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 9 / 16;
  display: block;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

/* Responsive */
@media (max-width: 900px) {
  .testimonial-container {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-card {
    max-width: 90%;
  }
}
/*END TESTIMONY SECTION*/

/*BRANCHES SECTION*/
.branches-section {
  background: url('images/branches-bg.svg') center/cover no-repeat;
  padding: 80px 20px;
  text-align: center;
}

.branches-title {
  font-size: 56px;
  color: #c1121f;
  margin-bottom: 40px;
}

.branches-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.branch-card {
  position: relative;
  overflow: hidden;
  transition: transform;
  background: #fff5f5;
  border: 2px solid #c1121f;
  border-radius: 10px;
  padding: 25px 20px;
  width: 550px;
  text-align: left;
  transition: transform 0.3s ease;
}

.branch-card:hover {
  transform: translateY(-6px);
}

/* Preview Image (hidden by default) */
.branch-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000030;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.branch-preview img {
  width: 100%;
  height: 100%;
  object-fit:cover;
  border-radius: 10px;
}

/* Show image on hover */
.branch-card:hover .branch-preview {
  opacity: 0.8;
}

.branch-card:hover .branch-ptext {
  opacity: 0;

}

.branch-card:hover .branch-bigname {
  color: rgb(255, 255, 255);
  text-shadow: 0 2px 8px #000, 0 0px 2px #000;
}

.branch-text {
  position: relative;
  z-index: 3;
}

.branch-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #c11212;
  transition: color 0.3s ease;
}

.branch-card p {
  font-size: 15px;
  color: #000000;
  margin-bottom: 10px;
  transition: opacity 0.3s ease;
  opacity: 1;
}


.branch-link {
  display: inline-block;
  color: #fff;
  background: #c1121f;
  margin-top: 100px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.branch-link:hover {
  background: #a30e1b;
}

/* Responsive */
@media (max-width: 900px) {
  .branches-section {
  background: url('images/branche-mobile.svg') repeat center center;
  padding: 80px 20px;
  text-align: center;
  }

  .branch-card h3,
  .branch-card p {
    color: white;
    text-shadow: 0 2px 8px #000, 0 0px 2px #000;
  }

  .branch-preview {
    opacity: 0.8
  }

  .branch-card {
    max-width: 90%;
  }

  .branch-preview img {
    max-width: 100%;
    max-height: 100%;
  }
}
/*END BRANCHES SECTION*/

/*CONTACT US SECTION*/
.contact-section {
  padding: 80px 20px;
  background: url('images/contact-us.svg') center/cover no-repeat;
  position: relative;
  text-align: center;
  padding-bottom: 300px;
}

.contact-title {
  font-size: 70px;
  color: #c1121f;
  margin-bottom: 20px;
}

.contact-description {
  font-size: 18px;
  color: #333;
  max-width: 700px;
  margin: 0 auto 40px;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-square-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  background-color: #c1121f;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  transition: background 0.3s ease, transform 0.3s ease;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-square-btn img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.contact-square-btn:hover {
  transform: translateY(-5px);
  background-color: #a30e1b;
}

.whatsapp-btn {
  background-color: #25D366;
}

.whatsapp-btn:hover {
  background-color: #1ebe5d;
}

.shop-btn {
  background-color: #c1121f;
}

.shop-btn:hover {
  background-color: #a30e1b;
}

/* Responsive */
@media (max-width: 600px) {
  .contact-square-btn {
    width: 120px;
    height: 120px;
    font-size: 13px;
  }

  .contact-square-btn img {
    width: 32px;
    height: 32px;
  }

  .contact-title {
    font-size: 28px;
  }

  .contact-description {
    font-size: 16px;
  }
}
/* END CONTACT US SECTION */

/*FOOTER SECTION*/
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 4px 10px;
  overflow: hidden;
}

.footer-heading {
  font-size: 16px;
  margin-bottom: 0;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.footer-social {
  margin-bottom: 2px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.footer-social a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer-social a img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-social a:hover img {
  transform: scale(1.2) rotate(5deg);
  filter: brightness(1.3);
}

.footer-copy {
  font-size: 12px;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

/* Animation Keyframes */
@keyframes fadeInUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
/*END FOOTER SECTION*/