
@media (min-width: 1440px) {
  .testimonial-card {
    width: 380px;
    height: 440px;
  }
  .testimonial-card-wrapper {
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    width: 98vw;
    max-width: 99vw;
    min-width: 180px;
    height: auto;
    min-height: 160px;
    padding: 1rem;
  }
  .testimonial-card-wrapper {
    gap: 8px;
  }
}

@media (max-width: 340px) {
  .testimonial-card {
    width: 100%; max-width: 100%;
    min-width: 120px;
    padding: 0.5rem;
    font-size: 0.9rem;
  }
}
@media (max-width: 1024px) {
  .testimonial-card {
    width: 260px;
    height: 340px;
  }
  .testimonial-card-wrapper {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .testimonial-card {
    width: 95vw;
    max-width: 340px;
    height: auto;
    min-height: 220px;
  }
  .testimonial-card-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}


*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    
}


h1, h2, h3, h4, h5, h6 {
  font-family: 'Larsseit Bold', sans-serif;
  cursor: default;
}

p{
  font-family: 'Poppins';
  cursor: default; 
}

@media  screen and (max-width: 768px){
  p{
    font-size: 12px;
  }

  h1{
    font-size: 22px;
  }

 h2{
    font-size: 20px;
  }

  h3{
    font-size: 18px;
    
  }

 h4{
    font-size: 16px;
  }

 h5{
    font-size: 14px;
  }

  h6{
    font-size: 12px;
  }


}



/*Header Section*/

/* Main header styles */
/* Main header styles */
.main-header {
  width: 100%;
  display: grid;
  padding: 8px 0;
  grid-template-columns: 6.25rem 1fr 1fr 6.25rem;
  background-color: #A7402D;
}

.header-mob {
  grid-column: 2 / 3;
  color: black;
}

.header-mob a {
  text-decoration: none;
  color: white;
  padding-left: 15px;
}
.blog-section-title{
  text-align: center;

    margin-bottom: 2rem;
    color: #A7402D;
    font-size: 2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}
.blog-section-title:after{
content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #A7402D;
    border-radius: 2px;
} 
.header-social {
  display: flex;
  grid-column: 3 / 4;
  justify-content: end;
  color: black;
  padding-left: 5px;

  
}

.header-social a {
  text-decoration: none;
  color: white;
  padding-left: 5px;
}



.header-search {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  width: 157px;
  display: flex;
  flex-direction: row; 
  align-items: center; 
  border: 1px solid #ccc;
  background-color: white;
  border-radius: 10px;
  display: none;
}

.search-input {
  padding: 5px;
  font-size: 14px;
  border: none;
  border-radius: 10px 0 0 10px;
  width: 130px;
  outline: none;
}

/* .search-button {
  background-color: white;
  color: #A7402D;
  border: none;
  border-left: none; 
  padding: 5px;
  width: auto; 
  cursor: pointer;
  font-size: 14px;
  border-radius: 10px; 
}

.search-button:hover {
  background-color: #A7402D;
  color: white;
} */

.social-mediah ul {
  display: flex;
  flex-direction: row;
  margin: 0;
  padding: 0;
  right: 10px;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.social-mediah ul li {
 
  margin: 0 5px;
}

.socialmediah, .indiamartb {
  position: relative;
  width: 40px;
  height: 40px;
  display: block;
  text-align: center;
  border-radius: 50%;
  padding: 5px;
  box-sizing: border-box;
  text-decoration: none;
  box-shadow: 0 5px 10px rgba(58, 53, 53, 0.726);
  background: #ffffff;
  transition: 0.5s;
}


.socialmediah:hover, .socialmedia[aria-label="indiamart"]:hover img {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.heading-underline {
  display: inline-block;
  position: relative;
  
}

.heading-underline::after {
  content: '';
  display: block;
  margin: 0 auto;
  margin-top: 8px;
  width: 85%;
  height: 5px;
  background: #a7402d;
  border-radius: 3px;
}
.founder-underline {
  display: inline-block;
  position: relative;
  margin-left: 480px;
}
.founder-underline::after {
    content: '';
  display: block;
  margin: 0 auto;
  margin-top: 8px;
  width: 85%;
  height: 2px;
  background: #000;
  border-radius: 3px;
}
.socialmediah .fab {
  width: 100%;
  height: 100%;
  display: block;
  background: none;
  border-radius: 50%;
  line-height: calc(40px - 10px);
  font-size: 16px;
  color: #912b2c;
  transition: 0.5s;
}
/* IndiaMART logo styling to match other social icons */
.socialmedia[aria-label="indiamart"] {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A7402D;
  background: #ffffff;
  border-radius: 50%;
  margin: 0 5px;
  transition: all 0.3s ease;
  
}

.socialmedia[aria-label="indiamart"] img {
  
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(17%) sepia(30%) saturate(5522%) hue-rotate(342deg) brightness(89%) contrast(95%);
  transition: all 0.3s ease;
}

.socialmedia[aria-label="indiamart"]:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.socialmedia[aria-label="indiamart"]:hover img {
  transform: scale(1.1);
  opacity: 1;
}

.social-mediah ul li:nth-child(1) a:hover .fab {
  color: #3b5998;
}

.social-mediah ul li:nth-child(2) a:hover .fab {
  color: #00aced;
}

.social-mediah ul li:nth-child(3) a:hover .fab {
  color: #0072b1;
}

.social-mediah ul li:nth-child(4) a:hover .fab {
  color: linear-gradient(to right, #f9ce34, #ee2a7b, #6228d7);
}

.social-mediah ul li:nth-child(5) a:hover .fab {
  color: #25D366;
}

@media screen and (max-width: 768px) {
  .main-header {
    display: none;
  }

  .header-mob {
    display: none;
  }

  .header-social {
    grid-column: 2/3;
    grid-row: 1/2;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    justify-self: center;
  }

  .header-search {
    grid-column: 2/3;
    grid-row: 1/2;
  }

  .social-mediah ul {
    flex-direction: row; /* Adjust social media icons to a single row */
    justify-content: center; /* Align icons center */
  }
}


.contactus_header {
  padding: 8px 16px;
  color: white;
  background-color:#A7402D;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}



.contactus_header:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(145, 43, 44, 0.4);
}


/* Navbar */





.main-nav {
  position: fixed;
  top: 40px;
  z-index: 1000;
  background-color: rgb(255, 255, 255);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.full-nav {
  display: grid;
  grid-template-columns: 6.25rem .75fr 3.5fr .6fr 6.25rem;
}

/* Logo Section */
.nav-logo {
  grid-column: 2/3;
}
  
.nav-logo a {
  display: flex;
  align-items: center;
  margin: 25px 0;
  text-decoration: none;
}

/* Navigation Menu */
.nav-menu {
  grid-column: 3/4;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu ul li {
  display: inline-block;
  padding: 0 10px;
  position: relative;
  font-size: large;
  color: white;
}

@media screen and (max-width: 1366px) {
  .nav-menu ul li {
    font-size: medium;
  }
  
}

.nav-menu ul li a {
  text-decoration: none;
  color: black;
  font-weight: 500;
}

.toggle-design{
  text-decoration: none;
  color: black;
  font-weight: 500;
  cursor: pointer;

}

.toggle-design:hover,
.toggle-design:active {
  
  color: #912b2c;
  

}

.nav-menu ul li a:hover {
  color: #912b2c;
  cursor: pointer;
}



/*dropdown2*/

.dropdown-menu2 {

  position: absolute;
  top: 23px;  
  width: 20vw; 
  list-style: none;
  margin: 0;
  z-index: 999;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  
}

.dropdown-menu-product{
  padding: 8px 0;  /* Reduced from 25px */
}
.dropdown-menu-sumitomo,
.dropdown-menu-deviser,
.dropdown-menu-optronix,
.dropdown-menu-optronix-fiber,
.dropdown-menu-optronix-edfa{
  padding: 6px 10px;  /* Reduced from 10px */
  line-height: 1.2;  /* Added for better line spacing */
}

.dropdown-menu-sumitomo:hover,
.dropdown-menu-deviser:hover,
.dropdown-menu-optronix:hover,
.dropdown-menu-optronix-fiber:hover,
.dropdown-menu-optronix-edfa:hover{
  background-color: #f9f9f9;
}



.dropdown-menu-sumitomo ul li,
.dropdown-menu-deviser ul li,
.dropdown-menu-optronix ul li,
.dropdown-menu-optronix-fiber ul li,
.dropdown-menu-optronix-edfa ul li{
  display: block;
  line-height:1.2;
  font-size: medium;
  
}





.dropdown-menu-sumitomo ul li:hover,
.dropdown-menu-deviser ul li:hover,
.dropdown-menu-optronix ul li:hover,
.dropdown-menu-optronix-fiber ul li:hover,
.dropdown-menu-optronix-edfa ul li:hover {
  background-color: #f9f9ff;
}



/*dropdown3*/

.dropdown-menu3 {

  position: absolute;
  top: 20px;  
  width: 15vw; 
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 4px 0;  /* Reduced from 10px */
  list-style: none;
  margin: 0;
  z-index: 999;
  overflow: hidden;
  align-self: center;
}






/* Show Dropdown on Active (Desktop) */


/* Hamburger Icon */
.icon {
  font-size: 1rem;
  cursor: pointer;
  display: none;
}

/* Enquire Now Button */
.nav-button {
  grid-column: 4/5;
  display: flex;
  justify-content: end;
  align-items: center;
}

.enquire_button {
  padding: 10px 24px;
  border: 2px solid #A7402D;
  color: #fff;
  background-color: #A7402D;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(167, 64, 45, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.enquire_button:hover {
  background-color: #862D1D;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(167, 64, 45, 0.3);
}
.enquire_button:active, 
.enquire_button:focus {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 10px rgba(167, 64, 45, 0.3);
  outline: none;
  outline: none;
}


@media screen and (max-width:1251px ){

  .full-nav {
    display: grid;
    grid-template-columns: 6.25rem .7fr 3.8fr .7fr 6.25rem;
  }

  .nav-logo{
    grid-column: 2/3;
  }

  .nav-menu{
    grid-column: 3/4;
  }

  .nav-button{
    grid-column: 4/5;
  }

  .nav-menu ul li {
    padding: 0 5px;
    
  }

  

}



@media screen and (max-width: 920px) {
  .nav-button {
    display: none;
  }

  .full-nav {
    display: grid;
    grid-template-columns: .8rem 1fr 1fr .8rem;
  }

  .icon {
    display: block;
    align-self: center;
    justify-self: end;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 4rem;
    left: 0;
width: 100%; max-width: 100%;
    height: 100vh;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: white;
    z-index: 1000;
    padding: 1rem 0;
    padding: .8rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu ul {
    display: flex;
    flex-direction: column;
    
  }

  .nav-menu ul li {
    padding: 0.5rem 0;
  }

  /* .dropdown-menu {
    display: flex;
    flex-direction: column;
    box-shadow: none;
    position: static;
    width: 100%;
  } */

  .dropdown-menu li {
    text-align: center;
  }
}

  


/* Responsive Design */
@media screen and (max-width: 768px) {
  .nav-button {
    display: none;
  }

  .full-nav {
    display: grid;
    grid-template-columns: .8rem 1fr 1fr .8rem;
  }

  .icon {
    display: block;
    align-self: center;
    justify-self: end;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 4rem;
    left: 0;
    width: 100%; max-width: 100%;
    height: 100vh;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: white;
    z-index: 1000;
    padding: 1rem 0;
    padding: .8rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu ul {
    display: flex;
    flex-direction: column;
    
  }

  .nav-menu ul li {
    padding: 0.5rem 0;
  }

  .dropdown-menu {
    display: flex;
    flex-direction: column;
    box-shadow: none;
    position: static;
    width: 100%;
  }

  .dropdown-menu li {
    text-align: center;
  }
}



/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

/* Popup Content */
.popup-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.popup-content h2 {
  margin-bottom: 20px;
}

.popup-content form {
  display: flex;
  flex-direction: column;
}

.popup-content form label {
  margin-bottom: 10px;
  text-align: left;
}

.popup-content form input,
.popup-content form textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.popup-content form button {
  padding: 10px;
  margin-top: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.popup-content form button:first-of-type {
  background-color: #A7402D;
  color: white;
}

.popup-content form button:last-of-type {
  background-color: #ccc;
  color: black;
}


/* Mobile submenu style */
.mobile-submenu {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.5rem;
}

.mobile-submenu li {
  padding: 0.4rem 0;
}

.mobile-submenu a {
  color: #7A6F6F;
  text-decoration: none;
}

.mobile-submenu a:hover {
  color: #912b2c;
}

/* Hide desktop dropdown on mobile */
@media screen and (max-width: 768px) {
  .dropdown-menu2,
  .dropdown-menu3 {
   
  }
}


/* Active link style */
.active-link {
  color: #912b2c !important;
}






/*company Profile*/






/*--about*/

.landing-page-about {

  display: grid;
  grid-template-columns: 6.25rem 1fr 2.3fr 6.25rem;
  grid-template-rows: auto auto auto;
}

.landing-page-about-heading {
  grid-column: 2/3;
  grid-row: 1/2;
  font-size: 2rem;
  color: #333;
  
  margin: 0;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-align: center;
  margin-top: 10px;
}



.landing-page-about-buttons :nth-child(1){
  grid-row: 1/2;
  grid-column: 1/2;
}

.landing-page-about-buttons :nth-child(2){
  grid-row: 2/3;
  grid-column: 1/2;
}

.landing-page-about-buttons :nth-child(3){
  grid-row: 3/4;
  grid-column: 1/2;
}

.landing-page-about-content {
  grid-column: 3/4;
  grid-row: 2/3;
  margin-top: 10px;
}

.about-btn {
  background-color: transparent;
 
 
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;


  padding: 5px 24px;
  font-weight: 500;
  color: #5f5f5f;
 
  

  position: relative;
  bottom: 0;
}

.about-btn:hover {
  color: #000;
 
  transform: translateY(-2px);
}

/* Tablet and below */
@media screen and (max-width: 1024px) {
   .landing-page-about {
    grid-template-columns: 2rem 1fr 2rem; 
    grid-template-rows: auto auto auto;
    gap: 1.5rem;
   
  }

  .landing-page-about-heading {
    grid-column: 2/3;
    grid-row: 1/2;
  }

  /* .landing-page-about-heading h1 {
  
    font-size: 1.75rem !important;
  } */

  .landing-page-about-buttons {
    grid-column: 2/3;
    grid-row: 2/3;
    margin-left: 0 !important;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .landing-page-about-buttons a {
    width: 100%;
  }

  .landing-page-about-buttons button {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .landing-page-about-content {
    grid-column: 2/3;
    grid-row: 3/4;
    margin-top: 0;
  }
}

/* Mobile */
@media screen and (max-width: 640px) {
  .landing-page-about {
    grid-template-columns: 1rem 1fr 1rem;
    gap: 1rem;
    
  }

  .landing-page-about-heading h1 {
    font-size: 1.5rem !important;
   
  }

  .landing-page-about-buttons {
    gap: 0.75rem;
  }

  .landing-page-about-content {
    padding: 0 0.5rem;
  }

  .landing-page-about-content p {
    font-size: 0.8174rem;
    line-height: 1.6;
  }
}

/* Small mobile devices */
@media screen and (max-width: 400px) {
  .landing-page-about {
    grid-template-columns: 0.5rem 1fr 0.5rem;
    gap: 0.75rem;
  }

  .landing-page-about-heading h1 {
    font-size: 1.5rem;
  }

  .landing-page-about-buttons button {
    padding: 0.6rem;
    font-size: 0.9rem;
  }
}


/* Mobile Design */
@media screen and (max-width: 768px) {
  /* Horizontal scroll for videos */
  .video-container {
    display: flex;
    overflow-x: scroll;
    gap: 1rem;
    padding-bottom: 1rem;
  }

  /* Each video takes up 48% of the container width (2 columns per row) */
  .main-com-pro-main-video {
    flex: 0 0 48%;
    margin-bottom: 1rem;
  }

  /* Styling for video box */
  .main-com-pro-main-box {
    background-color: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
  }

  .main-com-pro-main-box video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px 12px 0 0;
  }

  .main-com-pro-description {
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    color: #333;
  }

  /* Art/Text section */
  .main-com-art {
    grid-column: 1/3;
    padding: 10px;
  }
}




/* Removed duplicate styles - using the ones above */

.landing-page-about-buttons {
  grid-column: 2/3;
  grid-row: 2/3;
  display: flex;
  flex-direction: column;
  gap: 12px;
 margin-bottom: 15px;
}




.landing-page-about-content {
}




/*Executives*/

.executives {
  background-image: 
  linear-gradient(to right, rgba(241, 240, 240, 0.205), rgba(255, 255, 255, 0.103)),
  url(/static/media/ex1.f4761c839a26c8fe57c6.jpg);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
  display: grid;
  grid-template-columns: 6.25rem 1fr 2.3fr 6.25rem;
  margin-top: 50px;
  height: 100%;
  width: 100%;

  padding: 1.5rem 0;
}

.executives-img {
  grid-column: 2/3;
 border-radius: 20px !important;
  display: flex;
  justify-content: center;
  align-items: center;
}


.executives-art {

  grid-column: 3/4;
 
}

@media screen and (max-width: 768px) {
  .executives {
    grid-template-columns: .8rem 1fr .8rem;
    grid-template-rows: auto auto;
    row-gap: 3rem;
  }

  .executives-img {
    grid-column: 2/3;
    grid-row: 1/2;
    padding-right: 0;
  }

  .executives-art {
    grid-column: 2/3;
    grid-row: 2/3;
    padding-left: 0;
  }
}

@media screen and (max-width: 540px) {
  .executives {
    grid-template-columns: .8rem 1fr .8rem;
    grid-template-rows: auto auto;
    row-gap: 3rem;
  }

  .executives-img {
    grid-column: 2/3;
    grid-row: 1/2;
    padding-right: 0;
  }

  .executives-art {
    grid-column: 2/3;
    grid-row: 2/3;
    padding-left: 0;
  }
}

@media screen and (max-width: 450px) {
  .executives {
    grid-template-columns: .8rem 1fr .8rem;
    grid-template-rows: auto auto;
    row-gap: 3rem;
  }

  .executives-img {
    grid-column: 2/3;
    grid-row: 1/2;
    padding-right: 0;
  }

  .executives-art {
    grid-column: 2/3;
    grid-row: 2/3;
    padding-left: 0;
  }
}

@media screen and (max-width: 390px) {
  .executives {
    grid-template-columns: .8rem 1fr .8rem;
    grid-template-rows: auto auto;
    row-gap: 3rem;
  }

  .executives-img {
    grid-column: 2/3;
    grid-row: 1/2;
    padding-right: 0;
  }

  .executives-art {
    grid-column: 2/3;
    grid-row: 2/3;
    padding-left: 0;
  }
}



/* Main Brand Slider */
.brand-slider {
  background-color: white;
  padding: 10px 0;
   /* Optional: rounded corners for a softer look */
}

/* Wrapper for the carousel */
.brand-slider-wrap {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
  position: relative;
  justify-content: center;
  padding: 15px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Drop shadow added */
  background-color: rgba(255, 255, 255, 0.952);
}

.brand-slider-name{
  text-align: center;
  margin-bottom: 30px;
}

/* Container for the logos */
.logos-slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9rem; /* Consistent gap between logos */
  animation: slide 30s linear infinite;
  margin-left: 9rem;
}

/* Styling for the individual logos */
.logo {
  width: 150px; /* Ensuring logos are the same size */
  max-width: 150px;
}

/* Adding a hover effect to stop animation */
.brand-slider-wrap:hover .logos-slider-container {
  animation-play-state: paused;
}

/* Animation to slide logos */
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Make links clickable and ensure they open in a new tab */
.logo-link {
  display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
  

  .logo {
    width: 104px; /* Ensuring logos are the same size */
    max-width: 110px;
    height: 23px;
}

  


}



/*brand slider End*/





/*Testimonials*/

/* Full-Screen Margin */
.full-screen-margin {
  margin-left: 6.25rem;
  margin-right: 6.25rem;
}

@media screen and (max-width: 768px) {
  .full-screen-margin {
    margin-left: 3rem;
    margin-right: 3rem;
  }
}

/* General Styles */
.testimonial-slider {
  padding: 2rem 0;
}

.testimonial-slider-title {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #333;
  font-weight: 600;
}

/* Card Wrapper for Space Between Cards */
.testimonial-card-wrapper {
  padding: 0 15px;
  box-sizing: border-box;

}

/* Testimonial Card */
.testimonial-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 420px;
  height: 250px;
  display: flex;
  
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.testimonial-image-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.testimonial-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ddd;
}

.testimonial-name {
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: bold;
}

.testimonial-text {
  color: #555;
  line-height: 1.5;
}

/* Slick Slider Dots */
.slick-dots {
  bottom: -25px;
  text-align: center;
}

.slick-dots li {
  margin: 0 5px;
}

.slick-dots li button:before {
  font-size: 12px;
  color: #333;
}

.slick-dots li.slick-active button:before {
  color: #007bff;
}

/* Custom Arrows */
.custom-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #e7e2e2;
  color: #fff;
  width: 35px;
  height: 45px;
  border-radius: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.custom-arrow:hover {
  background-color: #A7402D;
}

.custom-prev {
  left: -0px;
}

.custom-next {
  right: -0px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .custom-prev {
    left: -40px;
  }

  .custom-next {
    right: -40px;
  }
}

@media (max-width: 768px) {
  .custom-prev {
    left: -30px;
  }

  .custom-next {
    right: -30px;
  }

  .testimonial-card {
    padding: 1rem;
  }

  .testimonial-card-wrapper {
  padding: 0 ;
}

  
}





/*blog Slider*/


.blog-section {
  display: grid;
  grid-template-columns: 6.25rem 1fr 6.25rem;
  grid-template-rows: 1fr 600px;
  margin-bottom: 100px;
  margin-top: 50px;
}

.blog-section-name {
  grid-column: 2/3;
  grid-row: 1/2;
}

.slider {
  grid-column: 2/3;
  grid-row: 2/3;
  height: 540px;
  margin-top: 20px;
  width: 100%;
  overflow: hidden;
  position: relative;
  border: 1px solid #A7402D;
  border-radius: 10px;
}

.slider .list .item {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0 0 0 0;
  display: none; /* Hidden by default */
}

.slider .list .item.active {
  display: block; /* Show the active slide */
}

.slider .list .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider .list .item .content {
  position: absolute;
  top: 20%;
  width: 1140px;
  max-width: 80%;
  left: 50%;
  transform: translateX(-50%);
  padding-right: 30%;
  box-sizing: border-box;
  color: #fff;
  text-shadow: 0 5px 10px #0004;
}

.description {
  padding-right: 200px;
}

.slider .list .item .content,
.slider .list .item .content .type {
  font-size: 4vh;
  font-weight: bold;
  line-height: 2em;
  margin-bottom: -10px;
  height: auto;
}
.title{
 margin-top: 200px;
  font-size: 3.7vh;
  font-weight: bold;
  line-height: 2em;
  margin-left:-0.1rem;
}



.slider .list .item .content .type {
  color: #14ff72cb;
  height: 60px;
  font-size: 3vh;
}

.slider .list .item .button {
  display: grid;
  grid-template-columns: repeat(2, 130px);
  grid-template-rows: 40px;
  gap: 5px;
  margin-top: 40px;
}

.slider .list .item .button button {
  border: none;
  background-color: #eee;
  font-family: Poppins, sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
  letter-spacing: 2px;
}

.slider .list .item .button button:hover {
  letter-spacing: 3px;
}

.slider .list .item .button button:nth-child(2) {
  background-color: transparent;
  border: 1px solid #fff;
  color: #eee;
}

.thumbnail {
  position: absolute;
  bottom: 50px;
  left: 78%;
  width: max-content;
  z-index: 100;
  display: flex;
  gap: 20px;
  transform: translateX(-50%);
}

.thumbnail .item {
  width: 150px;
  height: 220px;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.3s;
}

.thumbnail .item img {
  width: 100%;
  height: 57%;
  object-fit: cover;
  margin-top: 85px;
  border-radius: 20px;
  border: 2px solid #fff;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
}

.thumbnail .item.active-thumbnail {
  opacity: 1;
  transform: scale(1.1);
}

.nextPrevArrows {
  position: absolute;
  top: 92%;
  right: -27%;
  z-index: 100;
  width: 300px;
  max-width: 30%;
  display: flex;
  gap: 10px;
  align-items: center;
  transform: translateX(-50%);
}

.nextPrevArrows button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ccc;
  border: none;
  color: #0f0f0fff;
  font-family: monospace;
  font-weight: bold;
  transition: 0.5s;
  cursor: pointer;
}

.nextPrevArrows button:hover {
  background-color: #b6b6b6;
  color: #000;
}

/* Animations */
.slider .list .item .content .title,
.slider .list .item .content .type,
.slider .list .item .content .description,
.slider .list .item .content .buttons {
  transform: translateY(50px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent 0.5s 1s linear 1 forwards;
}


@keyframes showContent {
  to {
    transform: translateY(0px);
    filter: blur(1px);
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
  .slider .list .item .content {
    padding-right: 0;
  }
  .slider .list .item .content .title {
    font-size: 50px;
  }




.blog-section {
  display: none;
  grid-template-columns: 3rem 1fr 3rem;
  grid-template-rows: auto auto;
  margin-bottom: 100px;
  margin-top: 50px;
}

.blog-section-name {
  grid-column: 2/3;
  grid-row: 1/2;
}

.slider {
  grid-column: 2/3;
  grid-row: 2/3;
  height: 600px;
  margin-top: 50px;
  width: 100%;
  overflow: hidden;
  position: relative;
}
}






















   


/* ensure card doesn't show overflow when image scales */
.card {
  overflow: hidden;
  border-radius: 8px; /* optional: keeps scaled image inside rounded corners */
}

/* larger image area and smooth transform */
.card-image {
  display: block;
  width: 100%;
  height: 200px;            /* increase this to make images larger by default */
  object-fit: contain;      /* preserve aspect ratio without stretching */
  transition: transform 250ms ease, filter 250ms ease;
  transform-origin: center center;
  will-change: transform;
  padding: 12px 8px;        /* optional spacing around the image */
}

/* subtle zoom on hover (desktop) */
.card:hover .card-image,
.card:focus-within .card-image {
  transform: scale(1.06);
  filter: saturate(1.03);
}

/* optional: slightly different size for bigger screens */
@media (min-width: 1024px) {
  .card-image {

    height: 240px;
  }
}

/* mobile adjustments so cards don't get too tall */
@media (max-width: 480px) {
  .card-image {
    height: 140px;
    padding: 8px 6px;
  }
}


.perf-panel {
  height: auto;
  min-height: 0;        /* override any global min-height on .panel */
  padding: 16px 20px;   /* you can reduce this further if needed */
}


.acc {
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 12px;
  background: white;
  overflow: hidden;
}

.acc-sum {
  cursor: pointer;
  padding: 12px 14px;
  background: #f8f8f8;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 1px solid #ddd;
}

.acc[open] .acc-sum {
  background: #f0f0f0;
}

.acc-content {
  padding: 12px 14px;
}


/* Center the Read More button ONLY for this product page */
.optronixedfaproduct-page-main .card .card-buttons {
  display: flex;
  justify-content: center !important;
  align-items: center;
  gap: 12px;
}


/* -------------------------
   DEFAULT: DESKTOP VIEW
   Tabs behave normally
-------------------------- */
.product-page-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
  padding: 10px 0;
}


/* -------------------------
   MOBILE: HORIZONTAL SCROLL
   (Only applies below 768px)
-------------------------- */
@media (max-width: 768px) {

  .product-page-controls {
    display: flex !important;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto !important;
    overflow-y: hidden;
    white-space: nowrap !important;
    padding: 10px 6px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  /* hide scrollbar */
  .product-page-controls::-webkit-scrollbar {
    display: none;
  }
  .product-page-controls {
    scrollbar-width: none;
  }

  /* each tab */
  .product-page-controls .button-size {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    min-width: 180px;
  }

  .product-page-controls .button-btn {
    height: 48px;
    padding: 0 14px;
    white-space: nowrap;
  }
}
/* ----------------------------------------------------
   NAV LIST — KEEP IN ONE LINE & PREVENT TEXT WRAPPING
   Works for all screen sizes (desktop, laptop, tablet)
----------------------------------------------------- */

.nav-menu ul {
  display: flex;
  flex-wrap: nowrap !important;       /* stop wrapping */
  white-space: nowrap !important;     /* never break to next line */
  gap: 20px;                          /* equal spacing */
  align-items: center;
}

/* Prevent individual menu items from breaking */
.nav-menu ul li,
.nav-menu ul li a {
  white-space: nowrap !important;
  font-size: 16px !important;         /* same size on all devices */
  line-height: 1.3;
}

/* Optional: For medium screens (1024px–1366px), keep size stable */
@media (max-width: 1366px) {
  .nav-menu ul li,
  .nav-menu ul li a {
    font-size: 15px !important;
  }
}

@media (min-width: 769px) and (max-width: 807px) {
  .header-mob {
    display: flex;
    flex-direction: column;   /* stack vertically */
    align-items: center;      /* center everything */
    justify-content: center;
    gap: 6px;                 /* spacing between phone & email */
    text-align: center;
  }

  .header-mob a {
    display: flex;
    align-items: center;
    gap: 6px;                 /* space between icon and text */
    font-size: 14px;
    line-height: 1.2;
  }

  .header-mob svg {
    font-size: 14px;          /* equalize icon size */
  }
}


/* Similar Products Section */
.similar-wrap {
  width: 100%;
  overflow: visible;
  padding: 50px 0;
  background: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.similar-head {
  text-align: center;
  margin-bottom: 35px;
  padding: 0 20px;
}

.similar-head h3 {
  font-size: 2.2rem;
  color: #333;
  margin: 0;
  font-weight: 700;
  position: relative;
  display: inline-block;
}



/* Grid Wrapper */
.s-grid-wrapper {
  width: 100%;
  overflow: visible;
  position: relative;
}

/* Desktop Grid Layout */
.s-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 0 20px;
}

/* Hide spacer on desktop */
.s-grid-spacer {
  display: none;
}

/* Card Styles */
.s-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.s-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.s-brand {
  position: absolute;
  top: 14px;
  right: 14px;
  
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  letter-spacing: 0.5px;
 
}

.s-media {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.s-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.s-card:hover .s-media img {
  transform: scale(1.08);
}

.s-body {
  padding: 20px;
  flex: 1;
  background: #fff;
}

.s-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.s-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 48px;
}

.s-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.s-cta:hover {
  background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
  padding-left: 24px;
}

.s-cta-end {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
  font-weight: 700;
}

.s-cta:hover .s-cta-end {
  transform: translate(4px, -4px);
}

/* ============================================
   MOBILE & TABLET - HORIZONTAL SCROLL
   ============================================ */

@media (max-width: 768px) {
  .similar-wrap {
    padding: 30px 0;
    overflow: visible !important;
  }

  .container {
    padding: 0;
    overflow: visible !important;
  }

  .similar-head {
    margin-bottom: 25px;
    padding: 0 20px;
  }

  .similar-head h3 {
    font-size: 1.6rem;
  }

  .similar-head h3::after {
    width: 50px;
    height: 3px;
    bottom: -6px;
  }

  /* Wrapper for horizontal scroll */
  .s-grid-wrapper {
    width: 100%;
    overflow: visible;
    position: relative;
  }

  /* HORIZONTAL SCROLLABLE CONTAINER */
  .s-grid {
    display: flex !important;
    flex-direction: row;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 15px 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    grid-template-columns: unset;
  }

  /* Hide scrollbar for cleaner look */
  .s-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
  }

  /* Show spacer for last card */
  .s-grid-spacer {
    display: block;
    flex: 0 0 5px;
    height: 1px;
  }

  /* Card with PEEK effect */
  .s-card {
    flex: 0 0 auto;
    width: calc(100% - 90px); /* Creates peek effect */
    max-width: 300px;
    min-width: 260px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    margin: 0;
  }

  /* First card alignment */
  .s-card:first-child {
    scroll-snap-align: start;
  }

  /* Last card alignment */
  .s-card:last-child {
    margin-right: 0;
  }

  .s-media {
    height: 180px;
  }

  .s-body {
    padding: 16px;
  }

  .s-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
  }

  .s-desc {
    font-size: 0.88rem;
    min-height: 44px;
    -webkit-line-clamp: 2;
  }

  .s-cta {
    padding: 14px 16px;
    font-size: 0.92rem;
  }

  .s-brand {
    top: 12px;
    right: 12px;
    font-size: 0.7rem;
    padding: 5px 12px;
  }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
  .similar-wrap {
    padding: 25px 0;
  }

  .similar-head {
    margin-bottom: 20px;
    padding: 0 15px;
  }

  .similar-head h3 {
    font-size: 1.4rem;
  }

  .s-grid {
    gap: 14px;
    padding: 12px 15px;
  }

  .s-card {
    width: calc(100% - 75px); /* More peek on small screens */
    max-width: 280px;
    min-width: 240px;
    border-radius: 14px;
  }

  .s-media {
    height: 160px;
  }

  .s-body {
    padding: 14px;
  }

  .s-title {
    font-size: 1.05rem;
    margin-bottom: 6px;
  }

  .s-desc {
    font-size: 0.82rem;
    min-height: 40px;
    line-height: 1.5;
  }

  .s-cta {
    padding: 12px 14px;
    font-size: 0.88rem;
  }

  .s-brand {
    top: 10px;
    right: 10px;
    font-size: 0.65rem;
    padding: 4px 10px;
  }

  .s-cta-end {
    font-size: 1.2rem;
  }
}

/* Tablet (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .similar-head h3 {
    font-size: 1.75rem;
  }

  .s-grid {
    padding: 15px 20px;
    gap: 18px;
  }

  .s-card {
    width: calc(100% - 110px);
    max-width: 320px;
    min-width: 280px;
  }

  .s-media {
    height: 190px;
  }

  .s-body {
    padding: 18px;
  }

  .s-title {
    font-size: 1.2rem;
  }

  .s-desc {
    font-size: 0.9rem;
  }
}

/* Desktop - Grid Layout */
@media (min-width: 769px) {
  .s-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 0 20px;
  }

  .s-grid-spacer {
    display: none;
  }

  .s-card {
    width: 100%;
  }
}

/* Extra Large Screens */
@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }

  .s-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
}


.product-page {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}
.product-page-controls {
  grid-column: 1;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: .5rem;
  background: white;
  border-radius: 8px 8px;
  padding: 15px 0;
  position: sticky;
  top: 140px;
  align-self: start;

  overflow-y: auto;
  z-index: 2;
  /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */


  
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: calc(100% - 1rem);
  margin: 0 auto;
  padding: 0 0.5rem;
  box-sizing: border-box;
  overflow: hidden;
}
.product-header {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* content | image */
  align-items: center;
  column-gap: 2rem;
  row-gap: 1rem;
}

/* Image wrapper */
.product-header-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image */
.product-header-image img {
  width: 100%;
  max-width: 560px;     /* cap size on large screens */
  height: auto;
  object-fit: contain;  /* prevent cropping */
  object-position: center;
  display: block;
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-header {
    grid-template-columns: 1fr 1fr; /* balanced columns */
    column-gap: 1.5rem;
  }
  .product-header-image img {
    max-width: 460px;
  }

}
/* Generic card wrapper */
.card {
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; 
  position: relative; 
  background-color: #f9f9f9;
  color: #333;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 10px auto;
  overflow: hidden;
  width: 100% !important;
  max-width: 1500px !important;
  
}
.card-buttons {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  margin-top: auto;
  padding: 0;
  margin-left: -10px;
  box-sizing: border-box;
  gap: 6px;
}
.product-header-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 16px;
  flex-wrap: wrap;
}

.product-header-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  cursor: pointer;
}

.product-header-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.product-header-icon.active {
  outline: 2px solid #A7402D;
  box-shadow: 0 4px 12px rgba(167,64,45,.25);
}
/* Target the Download Catalog button specifically */
.card-btn-secondary:last-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  padding: 6px 8px;
}
.card-image {
  width: 179px;
  height: 179px;
}

/* For desktop, show on one line */
@media (min-width: 1025px) {
   .desktop-text {
    display: inline;
  }
  .card-btn-secondary:last-child {
    flex-direction: row;
    white-space: nowrap;
  }
  .card-btn-secondary .catalog-text {
    margin-left: 4px;
  }
  .product-page {
    grid-template-columns: 200px 1fr; /* Shrink sidebar */
    gap: 15px;
  }

  .product-page-controls {
    position: sticky;   /* only sticky on desktop */
    top:80px;
    align-self: start;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
  }
  .product-header-icons { gap: 10px; }
  .product-header-icon {
    width: 52px;
    height: 52px;
    padding: 5px;
  }
  .product-header {
    grid-template-columns: 1fr 1fr 1fr !important; /* balanced columns */
    column-gap: 1.5rem !important;
  }
  .product-header-image img {
    max-width: 460px !important;
  }
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Card image */
.card-image {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto 15px;
  display: block;
  transition: all 0.3s ease;
}

/* Smaller images on mobile */
@media (max-width: 768px) {
   .desktop-text {
    display: inline;
  }
  .card-image {
    width: 100px;
    height: 100px;
  }
  .product-header-icons {
    gap: 8px;
    flex-wrap: nowrap;          /* one row */
    overflow-x: auto;           /* horizontal scroll */
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
  }
  .product-header-icons::-webkit-scrollbar { height: 6px; }
  .product-header-icons::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 3px;
  }
  .product-header-icon {
    width: 46px;
    height: 46px;
    padding: 4px;
    flex: 0 0 auto;             /* prevent shrinking while scrolling */
    scroll-snap-align: center;
  }
}

/* Even smaller for very small devices */
@media (max-width: 480px) {
  .card-image {
    width: 80px;
    height: 80px;
  }
}

/* Card title */
.desktop-text {
  display: inline !important;
  white-space: nowrap !important; /* Prevent text wrapping */
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
}
.card-title {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  margin: 5px 0;
}

/* Card description */
.card-description {
  font-size: 14px;
  text-align: center;
  color: #666;
  margin-bottom: auto;
}

/* Primary button (Enquire Now) */
.card-btn-main {
  background-color: #A7402D;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 16px;
  margin: 12px auto;
  text-align: center;
  justify-content: end;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  display: block;
}

.card-btn-main:hover {
  background-color: #872d1c;
  transform: translateY(-2px);
}

/* Secondary buttons (Read More, Catalog) */
.card-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(167, 64, 45, 0.5);
  background: #fff;
  color: #A7402D;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.card-btn-secondary:hover {
 background: #A7402D;
  color: #fff;
  box-shadow: 0 6px 16px rgba(167, 64, 45, 0.25);
}
.top-text, .bottom-text {
  display: block;
  white-space: nowrap;
}


/* --- Responsive behaviors --- */
@media screen and (max-width: 1024px) {
  .card{
    padding: 16px;
    min-height: 250px;/* ✅ 1 per row */
   
    
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-btn-main {
    font-size: 13px !important;
    padding: 8px 14px !important;
    min-width: 120px !important;
    max-width: 60% !important;
  }
  .card-btn-secondary {
    font-size: 12px !important;
    padding: 6px 10px !important;
    max-width: 100% !important;   /* each like half row */
    flex: 1 1 100% !important;
   
    overflow: hidden;
  }
  .card-buttons {
    /* display: flex !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important; */
  }
  .product-header {
    grid-template-columns: 1fr 1fr !important; /* balanced columns */
    column-gap: 1.5rem !important;
  }
  .product-header-image img {
    max-width: 460px !important;
  }
  
}

@media screen and (max-width: 768px) {
  .card {
    width: 100% !important;
    margin: 0 !important;
    max-width: 100% !important;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0 0.5rem;
    width: 100%;
  }
  .card-btn-main {
    max-width: 70%;
    font-size: 12px;
    padding: 7px 12px;
  }
  .card-buttons {
    width: 100% !important;
    justify-content: space-between;  
    grid-template-columns: 1fr 1fr; 
    gap: 6px;
  }
  .card-btn-secondary {
    font-size: 12px !important;
    padding: 6px 10px !important;
    max-width: 100% !important;   /* each like half row */
    flex: 1 1 100% !important;
    white-space: nowrap !important; /* Prevent text wrapping */
    overflow: hidden !important;
  }
  .product-page {
    grid-template-columns: 1fr; /* Stack sidebar above content */
  }

  .product-page-controls {
    position: static;
    max-height: none;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
  }

  .product-page-controls::-webkit-scrollbar {
    display: none; /* Hide ugly scrollbar on mobile */
  }
  .product-header {
    grid-template-columns: 1fr; /* stack */
  }
  .product-header-image {
    order: 1;            /* show image first */
    margin-bottom: 12px;
  }
  .product-header-content {
    order: 2;
    text-align: left;    /* or center if you prefer */
  }
  .product-header-image img {
    max-width: 420px !important;
    width: 100% !important;
  }
}
@media screen and (max-width: 400px) {
  .card-btn-main{
    min-width: 90px !important;
    max-width: 80% !important;
    font-size: 11px !important;
    padding: 6px 8px !important;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-btn-secondary{
    font-size: 11px !important;
    padding: 5px 8px !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis; /* Adds ellipsis for any text that overflows */
    max-width: 48%; /* Keep only one max-width value */
    display: inline-block; 
  }
  .card-buttons {
   display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px; /* Adds some spacing between buttons */
    width: 100%;
  }
  .product-header-icon {
    width: 42px;
    height: 42px;
    padding: 4px;
  }
}

@media screen and (max-width: 320px) {
  h1 { font-size:  clamp(1.2rem, 2vw, 2rem); }
  h2 { font-size: 16px; }
  p  { font-size: 11px; }

  .card-btn-main {
    min-width: 80px !important;
    font-size: 10px !important;
    padding: 5px 6px !important;
  }

  .card-btn-secondary {
    font-size: 10px !important;
    padding: 4px 6px !important;
  }

  .card-image {
    width: 65px !important;
    height: 65px !important;
  }

  .landing-page-about-heading h1 {
    font-size: 1.2rem !important;
  }
}
@media screen and (max-width: 280px) {
  h1 { font-size: 16px; }
  h2 { font-size: 14px; }
  p  { font-size: 10px; }

  .card {
    padding: 10px;
  }

  .card-buttons {
    flex-direction: column !important;
    gap: 5px;
  }

  .card-btn-main {
    width: 100% !important;
    font-size: 10px;
  }

  .nav-menu ul li {
    font-size: 12px;
  }

  .footer-copywrite p {
    font-size: 10px;
    text-align: center;
  }
}
.main-footer {
  width: 100%;                /* Always take full browser width */
  max-width: 100%;            /* Ensure no max-width constraint */
  display: grid;
 
  margin: 0;                  /* Remove any default margins */
  grid-template-columns: 6.25rem 1fr 1fr 1fr 1fr 6.25rem; 
  background-color: #A7402D;  /* This color stretches across screen */
}
/* Wide desktops / Ultra Zoom-Out (>1600px) */
@media screen and (min-width: 1600px) {
 

  .landing-page-about,
  .executives,
  .product-page,
  .blog-section,
  .testimonial-slider {
    max-width: 1400px;
    margin: 0 auto;
  }

  .nav-menu ul li {
    font-size: 18px; /* Larger readable spacing */
    padding: 0 15px;
  }

  .card-image {
    width: 205px;
    height: 273px;
  }

  .card {
    max-width: 400px;
  }
}


/* ===== Shared product layout & cards ===== */
.product-page {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.product-page-controls {
  grid-column: 1;
  display: grid;
  row-gap: .5rem;
  background: #fff;
  border-radius: 8px;
  padding: 15px 0;
  position: sticky;
  top: 140px;
  align-self: start;
  overflow-y: auto;
  z-index: 2;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: calc(100% - 1rem);
  margin: 0 auto;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.product-header {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  column-gap: 2rem;
  row-gap: 1rem;
}

.product-header-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-header-image img {
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
  display: block;
}

.product-header-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 16px;
  flex-wrap: wrap;
}

.product-header-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}

.product-header-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.product-header-icon.active {
  outline: 2px solid #A7402D;
  box-shadow: 0 4px 12px rgba(167,64,45,.25);
}

/* Card */
.card {
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background-color: #f9f9f9;
  color: #333;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 10px auto;
  overflow: hidden;
  width: 100% !important;
  max-width: 1500px !important;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.card-image {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto 15px;
  display: block;
  transition: all 0.3s ease;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  margin: 5px 0;
}

.card-description {
  font-size: 14px;
  text-align: center;
  color: #666;
  margin-bottom: auto;
}

.card-buttons {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  margin-top: auto;
  padding: 0;
  gap: 6px;
}

/* Buttons */
.card-btn-main {
  background-color: #A7402D;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 16px;
  margin: 12px auto;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  display: block;
}

.card-btn-main:hover {
  background-color: #872d1c;
  transform: translateY(-2px);
}

.card-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(167, 64, 45, 0.5);
  background: #fff;
  color: #A7402D;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.card-btn-secondary:hover {
  background: #A7402D;
  color: #fff;
  box-shadow: 0 6px 16px rgba(167, 64, 45, 0.25);
}

/* Responsive tweaks */
@media (min-width: 1025px) {
  .card-btn-secondary:last-child {
    flex-direction: row;
    white-space: nowrap;
  }
  .product-page {
    grid-template-columns: 200px 1fr;
    gap: 15px;
  }
  .product-page-controls {
    top: 80px;
    max-height: calc(100vh - 40px);
  }
  .product-header {
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 1.5rem;
  }
  .product-header-icon {
    width: 52px;
    height: 52px;
    padding: 5px;
  }
}

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 16px; min-height: 250px; }
  .product-header { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
  .card-btn-main { font-size: 13px; }
}

@media (max-width: 768px) {
  .product-page { grid-template-columns: 1fr; }
  .product-page-controls { position: static; max-height: none; border-bottom: 1px solid #eee; margin-bottom: 10px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .card { width: 100%; margin: 0; max-width: 100%; }
  .product-header { grid-template-columns: 1fr; }
  .product-header-image { order: 1; margin-bottom: 12px; }
  .product-header-content { order: 2; text-align: left; }
}

@media (max-width: 480px) {
  .card-image { width: 80px; height: 80px; }
  .card-btn-main { min-width: 90px; }
  .card-btn-secondary { font-size: 11px; padding: 5px 8px; }
}

@media (max-width: 320px) {
  h1 { font-size: clamp(1.2rem, 2vw, 2rem); }
  .card-btn-main { min-width: 80px; font-size: 10px; }
  .card-btn-secondary { font-size: 10px; padding: 4px 6px; }
  .card-image { width: 65px; height: 65px; }
}

/* Mobile filter FAB */
.mobile-filter-button {
  position: fixed;
  bottom: clamp(16px, 5vh, 32px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  background: #A7402D;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 32px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 12px 30px rgba(167, 64, 45, 0.35);
  display: none;
  align-items: center;
  gap: 8px;
}

.mobile-filter-button svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .mobile-filter-button {
    display: inline-flex;
  }
}
body {
  margin: 0;
}

/* Base Navbar */
.main-nav {
  position: sticky;
  top: 0px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white; /* Add solid background */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
  height: 80px; /* Optional: add subtle shadow */
}
.full-nav {
  display: flex;
  align-items: center;
  justify-content: center; /* ✅ center content horizontally */
  gap: 40px;               /* spacing between logo, menu, button */
  height: 80px;
  padding: 0 20px;
  position: relative;
}
.nav-logo {
  margin-right: 80px;        /* ✅ push menu slightly away from logo */
}
/* Remove auto-margin pushing nav-button to edge */
.nav-button {
  margin-left: 80px;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  user-select: none;
}

.dropdown-toggle .dropdown-arrow {
  transition: transform 0.2s ease;
}

.dropdown-toggle.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* Desktop Dropdown Menu */
.dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.dropdown-menu2,
.dropdown-menu3 {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  opacity: 0;
  visibility: hidden;
  background: white;
  min-width: 220px;
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
  border: 1px solid rgba(0,0,0,0.1);
  margin: 0;
  padding: 8px 0;
  list-style: none;
  pointer-events: none !important;
  transform-origin: top center;
}

/* Active state for desktop dropdowns */
.dropdown.active .dropdown-menu2,
.dropdown.active .dropdown-menu3 {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu2 a,
.dropdown-menu3 a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dropdown-menu2 a:hover,
.dropdown-menu3 a:hover {
  background-color: #f8f9fa;
  color: #1a73e8;
  padding-left: 25px;
}

.dropdown-menu2 li + li,
.dropdown-menu3 li + li {
  margin-top: 4px;
}

/* .dropdown:hover .dropdown-menu2,
.dropdown:hover .dropdown-menu3 {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
} */

.hamburger {
position: absolute;      /* stays fixed on screen */
  top: 28px;            /* adjust spacing from top */
  right: 20px;          /* always on the right edge */
  z-index: 2000;        /* high so it’s above nav menu/content */
  display: none;        /* hidden on desktop by default */
  cursor: pointer;
}

/* Desktop View */
@media (min-width: 1148px) {
  .hamburger {
    display: none; /* hide hamburger */
  }

  .nav-logo {
    margin-right: 40px;   /* push nav away from logo */
  }

  .nav-button {
    margin-left: 40px;    /* push button away from nav links */
  }
  .nav-menu {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    
    position: static;
    flex-direction: row;
    background: transparent;
    box-shadow: none;
    width: auto;
    padding: 0;
  }
  .nav-menu.active {
    display: flex !important; /* always visible inline on desktop */
  }
}

/* Mobile / Tablet ≤1147px */
@media (max-width: 1147px) {
  .full-nav {
    justify-content: space-between;  /* logo left, hamburger right */
    padding: 0 15px;                 /* tighter padding */
  }
  .hamburger {
    display: block;
    cursor: pointer;
  }
  .nav-button {
    position: absolute;
    right: 80px;   /* ✅ keeps space between button and hamburger */
    top: 18px;
    transform: scale(0.85); /* shrink button slightly for tablet */
  }
  .enquire_button {
    font-size: 0.85rem;   /* smaller text */
    padding: 6px 14px;    /* reduce padding */
    border-radius: 4px;
    margin-left: 400px;   /* slightly smaller radius */
  }
  .enquire_button p {
    margin: 0;   
            /* prevent text from creating extra space */
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 250px;
    height: calc(100vh - 80px);
    background: #fff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    flex-direction: column;
    display: none;
    padding: 15px 0;
    z-index: 1500;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
  }

  .nav-menu.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
    margin: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    margin: 0;
    padding: 0;
  }

  .nav-menu li {
    list-style: none;
  }

  .nav-menu a,
  .dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    text-align: left;
    width: 100%;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  
  .nav-menu a:hover,
  .dropdown-toggle:hover {
    background: #f8f8f8;
    color: #A7402D;
  }

  /* Mobile submenus expand inline */
  .mobile-submenu {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease;
    background: #f9f9f9;
    margin: 8px -20px 0;
    border-radius: 0 0 8px 8px;
    list-style: none;
  }

  .mobile-submenu li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
  }

  .mobile-submenu li:last-child {
    border-bottom: none;
  }

  .mobile-submenu a {
    display: block;
    padding: 8px 0;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .mobile-submenu a:hover {
    color: #A7402D;
    padding-left: 8px;
  }

  .mobile-submenu.active {
    max-height: 500px;
    padding: 8px 20px 16px;
    border-top: 1px solid #eee;
    transition: max-height 0.5s ease-in-out;
  }
}


/* Small devices */
@media (max-width: 761px) {
  .hamburger {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    cursor: pointer;
  }

  .nav-menu {
    display: none;              /* hidden until active */
    position: absolute;
    /* top: calc(100% + 12px);     drop below navbar/hamburger */
    top: 80px;
    right: 0;
    width: 100%;  
    height: auto;              /* full width for phone usability */
    flex-direction: column;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 0;
    padding: 4px 0;
    z-index: 1500;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .nav-menu.active {
    display: flex;              /* ✅ now shows */
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    flex-direction: column;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a,
  .dropdown-toggle {
    display: block;
    padding: 6px 12px;
    text-align: left;
    width: 100%;
  }

  /* Override bad !important rules */
  .dropdown-menu2,
  .dropdown-menu3 {
         /* hidden on default */
    position: relative;     
    background: #fff;
    box-shadow: none;
    margin: 0 auto;
    padding: 0;
    width: 100%;
  }

  .dropdown.active .dropdown-menu2,
  .dropdown.active .dropdown-menu3 {
    display: block;         /* ✅ show on click */
  }
}

@media (max-width: 1147px) and (min-width: 762px) {
  .nav-menu {
    position: absolute;
    top: 80px;              /* drop just below navbar */
    right: 15px;            /* align under hamburger */
    width: 220px;           /* compact width */
    height: auto;           /* auto size, not full screen */
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    flex-direction: column;
    display: none;
    padding: 6px 0;
    z-index: 1500;
    transition: all 0.25s ease;


    
  }

  .nav-menu.active {
    display: flex;
    margin-left: 550px;
  }

  .nav-menu a,
  .dropdown-toggle {
    padding: 8px 14px;     /* tighter spacing */
    font-size: 0.9rem;
  }
}




body {
  margin: 0;
}

/* Base Navbar */
.main-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 80px;
}
.full-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  height: 80px;
  padding: 0 20px;
  position: relative;
}
.nav-logo {
  margin-right: 80px;
}
.nav-button {
  margin-left: 80px;
}

/* Dropdown basics */
.dropdown {
  position: relative;
}
.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  user-select: none;
}
.dropdown-toggle .dropdown-arrow {
  transition: transform 0.2s ease;
}
.dropdown-toggle.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* Desktop dropdown menus */
.dropdown-menu2,
.dropdown-menu3 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  background: white;
  min-width: 200px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  z-index: 1001;
  border: 1px solid rgba(0,0,0,0.1);
  margin: 0;
  padding: 0;
  list-style: none;
}
.dropdown.active .dropdown-menu2,
.dropdown.active .dropdown-menu3 {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu2 a,
.dropdown-menu3 a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}
.dropdown-menu2 a:hover,
.dropdown-menu3 a:hover {
  background-color: #f8f9fa;
  color: #1a73e8;
  padding-left: 25px;
}

/* Hamburger (hidden by default) */
.hamburger {
  position: absolute;
  top: 28px;
  right: 20px;
  z-index: 2000;
  display: none; /* only shown ≤1147px */
  cursor: pointer;
}

/* ================== Desktop Only (≥1148px) ================== */
@media (min-width: 1148px) {
  .hamburger {
    display: none;
  }
  .nav-logo { margin-right: 40px; }
  .nav-button { margin-left: 40px; }

  .nav-menu {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    position: static;
    flex-direction: row;
    background: transparent;
    box-shadow: none;
    width: auto;
    padding: 0;
  }
  .nav-menu.active {
    display: flex !important;
  }
}

/* ================== Tablet & Mobile (≤1147px) ================== */
/* Collapsed/Tablet/Mobile + specific devices */
@media
  only screen and (max-width: 1147px),

  /* iPad Pro 12.9" (1024×1366) both orientations */
  only screen and (device-width: 1024px) and (device-height: 1366px) and (-webkit-min-device-pixel-ratio: 2),
  only screen and (device-width: 1366px) and (device-height: 1024px) and (-webkit-min-device-pixel-ratio: 2),

  /* iPad Pro 11" (834×1194) both orientations */
  only screen and (device-width: 834px) and (device-height: 1194px) and (-webkit-min-device-pixel-ratio: 2),
  only screen and (device-width: 1194px) and (device-height: 834px) and (-webkit-min-device-pixel-ratio: 2),

  /* Nest Hub (1024×600) landscape */
  only screen and (width: 1024px) and (height: 600px) and (orientation: landscape),

  /* Nest Hub Max (1280×800) landscape */
  only screen and (width: 1280px) and (height: 800px) and (orientation: landscape)
{
  .full-nav {
    justify-content: space-between;
    padding: 0 15px;
  }
  .hamburger {
    display: block;
  }
  .nav-button {
    position: absolute;
    right: 80px;
    top: 18px;
    transform: scale(0.85);
  }
  .enquire_button {
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 4px;
  }

  /* Collapsed Nav Menu (slides in/out) */
  .nav-menu {
    position: relative;
    top: 240px;              /* just under navbar */
    right: 15px;             /* tuck under hamburger */
    width: auto;             /* shrink to fit items instead of fixed 250px/100% */
    min-width: 220px;        /* keep it readable */
    max-width: 320px;        /* avoid taking full tablet width */
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    flex-direction: column;
    display: none;
    padding: 6px 0;
    z-index: 1500;
    transition: all 0.25s ease;
  }
  .nav-menu.active {
    display: flex;
    margin: 0;
    transform: translateX(0);
  }
  .nav-menu ul {
    flex-direction: column;
    margin: 0;
    padding: 0;
  }
  .nav-menu li {
    list-style: none;
  }
  .nav-menu a,
  .dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    text-align: left;
    width: 100%;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;

    padding: 8px 14px;
    font-size: 0.9rem;
    white-space: nowrap;
  }
  .nav-menu a:hover,
  .dropdown-toggle:hover {
    background: #f8f8f8;
    color: #A7402D;
  }

  /* Submenus expand inline on mobile */
  .mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f9f9f9;
    list-style: none;
  }
  .mobile-submenu li {
    padding: 8px 20px;
    border-bottom: 1px solid #eee;
  }
  .mobile-submenu li:last-child {
    border-bottom: none;
  }
  .mobile-submenu a {
    color: #333;
    text-decoration: none;
    display: block;
  }
  .mobile-submenu a:hover {
    color: #A7402D;
  }
  .mobile-submenu.active {
    max-height: 500px;
    padding: 8px 0;
    border-top: 1px solid #eee;
  }
}

/* ================== Phones ≤761px (full width dropdown) ================== */
@media (max-width: 761px) {
  .nav-menu {
    width: 100%;              /* full-width slide-down menu */
    left: 0;
    right: 0;
    height: auto;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }
  .nav-menu.active {
    transform: translateY(0);
  }
}
@media only screen 
  and (min-device-width: 1366px) 
  and (max-device-width: 1366px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 2) {
  
  .nav-menu {
    margin-top: 50px !important;  /* 👈 adjust as needed */
  }
  .nav-menu ul{
    margin-top: 80px;
  }
  .dropdown-menu2,
  .dropdown-menu3 {
   
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0) !important;
  }
}


@media only screen and (hover: none) and (pointer: coarse) and
(-webkit-min-device-pixel-ratio: 2) and (device-width: 1024px) and (device-height: 1366px),
only screen and (hover: none) and (pointer: coarse) and
(-webkit-min-device-pixel-ratio: 2) and (device-width: 1366px) and (device-height: 1024px) {

  .full-nav { justify-content: space-between !important; padding: 0 15px !important; }
  .hamburger { display: block !important; }
  .nav-button { position: absolute !important; right: 80px !important; top: 18px !important; transform: scale(0.85) !important; }
  .enquire_button { font-size: 0.85rem !important; padding: 6px 14px !important; border-radius: 4px !important; }

  .nav-menu {
    position: relative !important; top: 140px !important; right: 15px !important;
    width: auto !important; min-width: 220px !important; max-width: 320px !important;
    background: #fff !important; border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    flex-direction: column !important; display: none !important;
    padding: 6px 0 !important; z-index: 1500 !important;
  }
  .nav-menu.active { display: flex !important; margin: 0 !important; transform: translateX(0) !important; }
  .nav-menu ul { flex-direction: column !important; margin: 0 !important; padding: 0 !important; }
  .nav-menu li { list-style: none !important; }
  .nav-menu a, .dropdown-toggle {
    display: flex !important; justify-content: space-between !important; align-items: center !important;
    padding: 8px 14px !important; text-align: left !important;
    width: 100% !important; color: #333 !important; text-decoration: none !important;
    font-size: 0.9rem !important; white-space: nowrap !important;
  }

  /* Desktop-style dropdowns: add extra top offset for this device */
  .dropdown-menu2, .dropdown-menu3 {
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(0) !important;
  }

  .mobile-submenu { max-height: 0 !important; overflow: hidden !important; transition: max-height .3s ease !important; background: #f9f9f9 !important; }
  .mobile-submenu.active { max-height: 500px !important; padding: 8px 0 !important; border-top: 1px solid #eee !important; }
}

/* ===== iPad Pro 11" (834×1194) — both orientations ===== */
@media only screen and (hover: none) and (pointer: coarse) and
(-webkit-min-device-pixel-ratio: 2) and (device-width: 834px) and (device-height: 1194px),
only screen and (hover: none) and (pointer: coarse) and
(-webkit-min-device-pixel-ratio: 2) and (device-width: 1194px) and (device-height: 834px) {

  .full-nav { justify-content: space-between !important; padding: 0 15px !important; }
  .hamburger { display: block !important; }
  .nav-button { position: absolute !important; right: 80px !important; top: 18px !important; transform: scale(0.85) !important; }
  .enquire_button { font-size: 0.85rem !important; padding: 6px 14px !important; border-radius: 4px !important; }

  .nav-menu {
    position: relative !important; top: 140px !important; right: 15px !important;
    width: auto !important; min-width: 220px !important; max-width: 320px !important;
    background: #fff !important; border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    flex-direction: column !important; display: none !important;
    padding: 6px 0 !important; z-index: 1500 !important;
  }
  .nav-menu.active { display: flex !important; margin: 0 !important; transform: translateX(0) !important; }
  .nav-menu ul { flex-direction: column !important; margin: 0 !important; padding: 0 !important; }
  .nav-menu li { list-style: none !important; }
  .nav-menu a, .dropdown-toggle {
    display: flex !important; justify-content: space-between !important; align-items: center !important;
    padding: 8px 14px !important; text-align: left !important;
    width: 100% !important; color: #333 !important; text-decoration: none !important;
    font-size: 0.9rem !important; white-space: nowrap !important;
  }

  .dropdown-menu2, .dropdown-menu3 {
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(0) !important;
  }

  .mobile-submenu { max-height: 0 !important; overflow: hidden !important; transition: max-height .3s ease !important; background: #f9f9f9 !important; }
  .mobile-submenu.active { max-height: 500px !important; padding: 8px 0 !important; border-top: 1px solid #eee !important; }
}

/* ===== Nest Hub (1024×600) — landscape ===== */
@media only screen and (width: 1024px) and (height: 600px) and (orientation: landscape) {
  .full-nav { justify-content: space-between !important; padding: 0 15px !important; }
  .hamburger { display: block !important; }
  .nav-button { position: absolute !important; right: 80px !important; top: 18px !important; transform: scale(0.85) !important; }
  .enquire_button { font-size: 0.85rem !important; padding: 6px 14px !important; border-radius: 4px !important; }

  .nav-menu {
    position: relative !important; top: 140px !important; right: 15px !important;
    width: auto !important; min-width: 220px !important; max-width: 320px !important;
    background: #fff !important; border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    flex-direction: column !important; display: none !important;
    padding: 6px 0 !important; z-index: 1500 !important;
  }
  .nav-menu.active { display: flex !important; margin: 0 !important; transform: translateX(0) !important; }
  .nav-menu a, .dropdown-toggle { padding: 8px 14px !important; font-size: .9rem !important; white-space: nowrap !important; }

  .dropdown-menu2, .dropdown-menu3 {
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(0) !important;
  }
}

/* ===== Nest Hub Max (1280×800) — landscape ===== */
@media only screen and (width: 1280px) and (height: 800px) and (orientation: landscape) {
  .full-nav { justify-content: space-between !important; padding: 0 15px !important; }
  .hamburger { display: block !important; }
  .nav-button { position: absolute !important; right: 80px !important; top: 18px !important; transform: scale(0.85) !important; }
  .enquire_button { font-size: 0.85rem !important; padding: 6px 14px !important; border-radius: 4px !important; }

  .nav-menu {
    position: relative !important; top: 130px !important; right: 15px !important;
    width: auto !important; min-width: 220px !important; max-width: 320px !important;
    background: #fff !important; border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    flex-direction: column !important; display: none !important;
    padding: 6px 0 !important; z-index: 1500 !important;
  }
  .nav-menu.active { display: flex !important; margin: 0 !important; transform: translateX(0) !important; }
  .nav-menu a, .dropdown-toggle { padding: 8px 14px !important; font-size: .9rem !important; white-space: nowrap !important; }

  .dropdown-menu2, .dropdown-menu3 {
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(0) !important;
  }
}



/* Always center dropdown under its toggle, no horizontal jump */
.dropdown { position: relative; }
.dropdown-menu2,
.dropdown-menu3 {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 50% !important;
  right: auto !important;
  transform: translate(-50%, 8px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: transform .2s ease, opacity .2s ease, visibility 0s linear .2s !important;
  will-change: transform !important;
  margin-left: 0 !important;
}

/* Desktop/hover devices: show on hover only (click does nothing) */
@media (hover: hover) and (pointer: fine) {
  /* .dropdown:hover .dropdown-menu2,
  .dropdown:hover .dropdown-menu3 {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, 0) !important;
    pointer-events: auto !important;
    transition: transform .2s ease, opacity .2s ease, visibility 0s linear 0s !important;
  } */

  /* Neutralize any .active state from JS on desktop */
  .dropdown.active .dropdown-menu2,
  .dropdown.active .dropdown-menu3 {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translate(-50%, 8px) !important;
    pointer-events: none !important;
  }
}

/* Touch devices: keep click-to-open via .active */
@media (hover: none), (pointer: coarse) {
  .dropdown.active .dropdown-menu2,
  .dropdown.active .dropdown-menu3 {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, 0) !important;
    pointer-events: auto !important;
    transition: transform .2s ease, opacity .2s ease, visibility 0s linear 0s !important;
  }
}

/* Phones: inline dropdowns (full-width inside panel) */
@media (max-width: 761px) {
  .dropdown-menu2,
  .dropdown-menu3 {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
}


.dropdown {
  position: relative !important; /* ✅ IMPORTANT — contains absolute dropdown */
}

.dropdown-toggle {
  cursor: pointer !important; /* ✅ IMPORTANT — visual feedback for clickability */
  display: flex !important;
  align-items: center;
  gap: 4px;
  user-select: none;
  position: relative;
  z-index: 2 !important; /* ✅ IMPORTANT — ensures toggle is above other elements */
}

.dropdown-toggle .dropdown-arrow {
  transition: transform 0.2s ease !important; /* ✅ IMPORTANT — enables smooth arrow rotation */
}

.dropdown.active .dropdown-toggle .dropdown-arrow {
  transform: rotate(180deg) !important; /* ✅ IMPORTANT — visual indicator for open state */
}


/* === DESKTOP DROPDOWNS (≥1148px) === */
@media (min-width: 1148px) {
  .dropdown-menu2,
  .dropdown-menu3 {
    position: absolute !important; /* ✅ IMPORTANT — positions menu relative to .dropdown */
    top: calc(100% + 8px) !important; /* ✅ IMPORTANT — small gap below toggle */
    left: 50% !important; /* ✅ IMPORTANT — centers under parent */
    transform: translateX(-50%) translateY(8px) !important; /* ✅ IMPORTANT — keeps centered + slide-down effect */
    min-width: 220px !important;

    opacity: 0 !important; /* ✅ IMPORTANT — hides menu visually */
    visibility: hidden !important; /* ✅ IMPORTANT — prevents interaction & improves accessibility */
    pointer-events: none !important; /* ✅ IMPORTANT — blocks clicks when closed */
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important; /* ✅ IMPORTANT — smooth fade+slide */

    background: white !important;
    border-radius: 6px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0,0,0,0.1);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    z-index: 1001; /* ✅ IMPORTANT — appears above other content */
  }

  .dropdown.active .dropdown-menu2,
  .dropdown.active .dropdown-menu3 {
    opacity: 1 !important; /* ✅ IMPORTANT — makes visible on click */
    visibility: visible !important; /* ✅ IMPORTANT — allows interaction */
    transform: translateX(-50%) translateY(0) !important; /* ✅ IMPORTANT — final position */
    pointer-events: auto !important; /* ✅ IMPORTANT — enables clicking links inside */
  }

  .dropdown-menu2 a,
  .dropdown-menu3 a {
    display: block !important;
    padding: 10px 20px !important;
    color: #333 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
  }

  .dropdown-menu2 a:hover,
  .dropdown-menu3 a:hover {
    background-color: #f8f9fa !important;
    color: #A7402D !important;
    padding-left: 25px !important;
  }

  .dropdown-menu2 li + li,
  .dropdown-menu3 li + li {
    margin-top: 4px !important;
  }
}



:root { --nav-height: 80px; }

/* Mobile/Tablet: right-aligned dropdown under the hamburger, with X on open */
@media (max-width: 1147px) {
  /* Anchor absolute menu to the bar */
  .full-nav { position: relative !important; }

  /* Hamburger: keep it top-right and turn into an X with pure CSS */
  .hamburger {
    display: block !important;
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 2000 !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }
  /* Hide the React SVG icon and draw our own via CSS */
  .hamburger svg { display: none !important; }
  .hamburger::before {
    content: "\2630"; /* ☰ */
    display: block;
    font-size: 2rem;
    color: #A7402D;
  }
  /* When the menu is open, show X */
  .nav-menu.active ~ .hamburger::before {
    content: "\2715"; /* ✕ */
  }

  /* Right-aligned dropdown panel under the hamburger */
  .nav-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;  /* just below the navbar */
    right: 16px !important;            /* align with hamburger */
    left: auto !important;

    width: min(92vw, 320px) !important;  /* compact panel */
    height: auto !important;
    max-height: calc(100dvh - var(--nav-height) - 24px) !important; /* scroll within */
    overflow-y: auto !important;

    background: #fff !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12) !important;

    display: none !important;    /* hidden until active */
    transform: none !important;  /* prevent upward jumps */
    margin: 0 !important;
    padding: 6px 0 !important;
    z-index: 1500 !important;
    opacity: 1 !important;
  }
  .nav-menu.active {
    display: flex !important;
    flex-direction: column !important;
    margin-left: 0 !important; /* cancel previous offsets */
  }

  /* Ensure only mobile submenus are used in this mode */
  .dropdown-menu2,
  .dropdown-menu3 { display: none !important; }

  .mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    background: #f9f9f9;
    list-style: none;
    padding: 0 20px;
    margin: 6px 0 0;
    border-top: 1px solid #eee;
  }
  .mobile-submenu.active {
    max-height: 500px;
    padding: 8px 20px 16px;
  }
}

/* Phones ≤761px: keep the same right-aligned dropdown (override older rules) */
@media (max-width: 761px) {
  .nav-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 16px !important;
    left: auto !important;
    width: min(92vw, 320px) !important;
    transform: none !important;   /* no translateY */
  }
  .nav-menu.active { margin-left: 0 !important; }
}







@media screen and (min-width: 1800px) {
  .dropdown-menu2,
  .dropdown-menu3 {
    max-width: 18rem;       /* limit dropdown width */
    min-width: 12rem;       /* keep a decent minimum */
    background: #fff;       /* ensure background matches nav design */
    border: 1px solid #ddd; /* subtle separation */
    border-radius: 4px;     /* smooth corners for polish */
    box-shadow: 0 2px 6px rgba(0,0,0,0.08); /* prevent “flat” stretched look */
  }

  .dropdown-menu2 ul,
  .dropdown-menu3 ul {
    display: flex;
    flex-direction: column;   /* stack vertically */
    align-items: flex-start;  /* align links neatly to the left */
    padding: 0.5rem 0.75rem;
  }

  .dropdown-menu2 ul li,
  .dropdown-menu3 ul li {
    width: 100%;              /* each link takes full dropdown width */
    margin: 0.25rem 0;
  }

  .dropdown-menu2 ul li a,
  .dropdown-menu3 ul li a {
    white-space: normal;       /* allow wrapping at high zoom-out */
    font-size: 0.95rem;        /* slightly smaller font */
    line-height: 1.4;          /* readable vertical rhythm */
  }
}
@media screen and (max-width: 320px) {
  .dropdown-menu2 ul,
  .dropdown-menu3 ul {
    display: flex;
    flex-direction: column; /* force stack early on extra-narrow screens */
  }
}



/* === Animated Hamburger === */
.burger {
  position: relative;
  width: 28px;     /* ✅ smaller (was 40px) */
  height: 22px;    /* ✅ smaller height (was 30px) */
  background: transparent;
  cursor: pointer;
  display: none;   /* ✅ hide by default (desktop) */
  z-index: 9999;
}

.burger input {
  display: none;
}

.burger span {
  display: block;
  position: absolute;
  height: 3px;     /* thinner line (was 4px) */
  width: 100%;
  background: #A7402D;  /* brand color */
  border-radius: 4px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.burger span:nth-of-type(1) {
  top: 0px;
  transform-origin: left center;
}

.burger span:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left center;
}

.burger span:nth-of-type(3) {
  top: 100%;
  transform-origin: left center;
  transform: translateY(-100%);
}

/* === When menu is active (cross animation) === */
.burger input:checked ~ span:nth-of-type(1) {
  transform: rotate(45deg);
  top: 0px;
  left: 4px;
}

.burger input:checked ~ span:nth-of-type(2) {
  width: 0%;
  opacity: 0;
}

.burger input:checked ~ span:nth-of-type(3) {
  transform: rotate(-45deg);
  top: 20px;
  left: 4px;
}

/* ✅ Show only on mobile and tablets */
@media (max-width: 1300px) {
  .burger {
    display: block;
    margin-left: auto;  
  }
  .nav-menu {
    display: none;             /* Hide menu by default (closed) */
    position: absolute;
    top: 70px;                 /* Opens BELOW hamburger */
    left: 700px;
    width: 100%;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    z-index: 999;
  }

  /* When active (isOpen=true) → menu slides down */
  .nav-menu.active {
    display: flex;
    animation: dropdownFade 0.3s ease-in-out;
  }
}

/* Smooth dropdown animation */
@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }

}



/* Tablet-only: stack nav items vertically and reveal one-by-one (no side-by-side columns) */
@media (min-width: 768px) and (max-width: 1147px) {
  .nav-menu.active ul {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    column-gap: 0 !important;
    row-gap: 6px !important;
    align-items: stretch !important;
  }

  .nav-menu.active ul > li {
    width: 100% !important;
    opacity: 0;
    transform: translateY(8px);
    animation: nav-stagger 0.35s ease forwards;
  }

  /* Staggered reveal */
  .nav-menu.active ul > li:nth-child(1)  { animation-delay: 0ms; }
  .nav-menu.active ul > li:nth-child(2)  { animation-delay: 60ms; }
  .nav-menu.active ul > li:nth-child(3)  { animation-delay: 120ms; }
  .nav-menu.active ul > li:nth-child(4)  { animation-delay: 180ms; }
  .nav-menu.active ul > li:nth-child(5)  { animation-delay: 240ms; }
  .nav-menu.active ul > li:nth-child(6)  { animation-delay: 300ms; }
  .nav-menu.active ul > li:nth-child(7)  { animation-delay: 360ms; }
  .nav-menu.active ul > li:nth-child(8)  { animation-delay: 420ms; }
  .nav-menu.active ul > li:nth-child(9)  { animation-delay: 480ms; }
  .nav-menu.active ul > li:nth-child(10) { animation-delay: 540ms; }
}

@keyframes nav-stagger {
  to { opacity: 1; transform: translateY(0); }
}

/* If any older tablet styles used columns, flatten them here */
@media (min-width: 768px) and (max-width: 1147px) {
  .nav-menu ul {
    grid-template-columns: 1fr !important;
  }
}


/* Nest Hub Max (1280×800) — stack nav items one per row */
@media only screen and (width: 1280px) and (height: 800px) and (orientation: landscape) {
  /* Anchor panel to the navbar so we can drop it right under the hamburger */
  .full-nav { position: relative !important; }

  /* Ensure the hamburger is top-right */
  .hamburger {
    display: block !important;
    position: absolute !important;
    top: 20px !important;
    right: 16px !important;
    z-index: 2000 !important;
  }

  /* Dropdown panel: right-aligned under the hamburger */
  .nav-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important; /* just below the bar */
    right: 16px !important;           /* align with hamburger */
    left: auto !important;

    width: min(92vw, 320px) !important;
    max-height: calc(100dvh - 80px - 24px) !important; /* scroll inside if long */
    overflow-y: auto !important;

    background: #fff !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12) !important;

    display: none !important;          /* hidden until active */
    flex-direction: column !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    z-index: 2500 !important;
    transform: none !important;        /* prevent off-screen translate */
  }

  .nav-menu.active {
    display: flex !important;
  }

  /* Stack links one-by-one */
  .nav-menu ul {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .nav-menu li { list-style: none !important; width: 100% !important; }

  .nav-menu a,
  .dropdown-toggle {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    white-space: nowrap !important;
  }

  /* Hide desktop-style flyout menus in this mode */
  .dropdown-menu2,
  .dropdown-menu3 {
  
  }
}


/* Fix only for viewport 1150x717 */
@media screen and (width: 1150px) and (height: 717px) {
  /* Treat as desktop at this size */
  .burger { display: none !important; }

  .nav-menu {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    transform: none !important;
    display: flex !important;
    flex-direction: row !important;
  }

  .nav-menu ul {
    display: flex !important;
    flex-direction: row !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Ensure mobile inline submenus don't interfere */
  .mobile-submenu { display: none !important; max-height: 0 !important; }

  /* Dropdowns: hidden by default */
  .dropdown-menu2,
  .dropdown-menu3 {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    min-width: 220px !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    background: #fff !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1) !important;
    padding: 8px 0 !important;
  }

  /* Stack dropdown items vertically (fixes “single line”) */
  .dropdown-menu2 ul,
  .dropdown-menu3 ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .dropdown-menu2 li,
  .dropdown-menu3 li {
    display: block !important;
    margin: 0 !important;
  }

  .dropdown-menu2 a,
  .dropdown-menu3 a {
    white-space: normal !important;
  }

  /* Show on hover or when JS toggles .active */
  .dropdown:hover .dropdown-menu2,
  .dropdown:hover .dropdown-menu3,
  .dropdown.active .dropdown-menu2,
  .dropdown.active .dropdown-menu3 {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) !important;
  }
}



/* 1) Use the burger you actually render; animate via .is-open */
.burger {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 28px;
  height: 22px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: none; /* shown ≤1147px */
  z-index: 2000;
}
.burger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  left: 0;
  background: #A7402D;
  border-radius: 4px;
  transition: .25s ease-in-out;
}
.burger span:nth-of-type(1) { top: 0; transform-origin: left center; }
.burger span:nth-of-type(2) { top: 50%; transform: translateY(-50%); transform-origin: left center; }
.burger span:nth-of-type(3) { top: 100%; transform: translateY(-100%); transform-origin: left center; }
.burger.is-open span:nth-of-type(1) { transform: rotate(45deg); top: 0; left: 4px; }
.burger.is-open span:nth-of-type(2) { width: 0; opacity: 0; }
.burger.is-open span:nth-of-type(3) { transform: rotate(-45deg); top: 20px; left: 4px; }

/* 2) Desktop vs mobile visibility for menu */
@media (min-width: 1148px) {
  .burger { display: none !important; }
  .nav-menu {
    display: flex !important;
    position: static !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  /* Only the top-level UL is horizontal on desktop */
  .nav-menu > ul {
    display: flex !important;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
  }
  .nav-menu > ul > li { list-style: none; }
}

/* 3) Mobile/tablet: menu is CLOSED by default; opens only when .active */
@media (max-width: 1147px) {
  .burger { display: block !important; }

  .nav-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 16px !important;
    left: auto !important;

    width: min(92vw, 320px) !important;
    max-height: calc(100dvh - 80px - 24px) !important;
    overflow-y: auto !important;

    display: none !important;     /* closed by default */
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    background: #fff !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12) !important;
    padding: 6px 0 !important;
    margin: 0 !important;
  }
  .nav-menu.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    flex-direction: column !important;
  }

  /* Ensure mobile items stack and wrap nicely */
  .nav-menu ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .nav-menu a,
  .dropdown-toggle {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  /* Hide desktop flyouts on mobile; use mobile-submenu instead */
  .dropdown-menu2,
  .dropdown-menu3 {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* 4) Desktop dropdowns: show when .dropdown has .active (click) */
.dropdown-menu2,
.dropdown-menu3 {
  min-width: 220px !important;
  max-width: min(90vw, 320px) !important;
  max-height: 70vh !important;
  overflow-y: auto !important;
}

/* Make sure dropdown lists are vertical (fixes "single row" overflow) */
.dropdown-menu2 ul,
.dropdown-menu3 ul {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 6px 0 !important;
}
.dropdown-menu2 li,
.dropdown-menu3 li { display: block !important; }
.dropdown-menu2 a,
.dropdown-menu3 a {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  line-height: 1.35 !important;
}

/* Let JS active state actually show the dropdown on desktop */
@media (hover: hover) and (pointer: fine) {
  .dropdown.active .dropdown-menu2,
  .dropdown.active .dropdown-menu3 {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, 0) !important;
    pointer-events: auto !important;
  }
}


/* Force collapsed nav when JS adds html.nav-collapsed */
html.nav-collapsed .burger {
  display: block !important;
  position: absolute !important;
  top: 20px !important;
  right: 16px !important;
  z-index: 2000 !important;
}

/* Neutralize desktop inline menu and show panel */
@media (min-width: 1148px) {
  html.nav-collapsed .nav-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important; /* below the bar (.full-nav is relative) */
    right: 16px !important;
    left: auto !important;

    width: min(92vw, 320px) !important;
    max-height: calc(100dvh - 80px - 24px) !important;
    overflow-y: auto !important;

    background: #fff !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12) !important;

    display: none !important;         /* closed by default */
    opacity: 1 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    flex-direction: column !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    transform: none !important;
  }

  html.nav-collapsed .nav-menu.active {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  html.nav-collapsed .nav-menu > ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Hide desktop flyouts in collapsed mode */
  html.nav-collapsed .dropdown-menu2,
  html.nav-collapsed .dropdown-menu3 {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* Optional: keep Enquire button clear of burger when collapsed on desktop */
html.nav-collapsed .nav-button {
  position: absolute !important;
  right: 64px !important;
  top: 18px !important;
  transform: scale(0.95);
}




/* Normalize item order/alignment in the COLLAPSED menu (mobile/tablet and forced collapsed) */
@media (max-width: 1147px) {
  .nav-menu > ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .nav-menu > ul > li { list-style: none !important; width: 100% !important; }

  /* All top-level anchors: left aligned */
  .nav-menu > ul > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;  /* left align text */
    text-align: left !important;
    width: 100% !important;
    padding: 12px 20px !important;
    margin: 0 !important;
  }

  /* Dropdown toggles: keep arrow to the right */
  .nav-menu > ul > li > .dropdown-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important; /* label left, arrow right */
    text-align: left !important;
    width: 100% !important;
    padding: 12px 20px !important;
    margin: 0 !important;
  }

  /* Remove any centering coming from other styles */
  .nav-menu a,
  .nav-menu .active-link {
    text-align: left !important;
    margin: 0 !important;
  }
}

/* Do the same when you force collapsed mode on desktop (html.nav-collapsed) */
html.nav-collapsed .nav-menu > ul {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
html.nav-collapsed .nav-menu > ul > li { list-style: none !important; width: 100% !important; }
html.nav-collapsed .nav-menu > ul > li > a {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
  width: 100% !important;
  padding: 12px 20px !important;
  margin: 0 !important;
}
html.nav-collapsed .nav-menu > ul > li > .dropdown-toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-align: left !important;
  width: 100% !important;
  padding: 12px 20px !important;
  margin: 0 !important;
}
html.nav-collapsed .nav-menu a,
html.nav-collapsed .nav-menu .active-link {
  text-align: left !important;
  margin: 0 !important;
}



/* Ensure the bar uses flex and spaces items */
.main-nav .full-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Keep logo at far left in all modes */
.nav-logo {
  position: static !important;
  transform: none !important;
  margin-right: auto;           /* pushes the rest to the right */
  flex: 0 0 auto;
}

/* In collapsed mode, hide menu but keep layout clean */
html.nav-collapsed .nav-menu {
  display: none;
}

/* Order/right-align the action and burger */
.nav-button { order: 2; margin-left: 16px; }
.burger     { order: 3; margin-left: 12px; }


/* Desktop: let the Products dropdown grow to fit its content */
html:not(.nav-collapsed) #dropdown-products.dropdown-menu2 {
  width: max-content;      /* expand to the longest item */
  min-width: 18rem;        /* optional baseline, tweak as needed */
  max-width: none;         /* ensure it isn't clamped elsewhere */
}

/* Keep each item on a single line */
html:not(.nav-collapsed) #dropdown-products a {
  display: block;
  white-space: nowrap;     /* no wrapping at spaces */
  overflow-wrap: normal;   /* don't force breaks */
  word-break: normal;      /* don't break words */
}

/* Prevent width jump on hover (if your hover makes text bolder) */
html:not(.nav-collapsed) #dropdown-products a,
html:not(.nav-collapsed) #dropdown-products a:hover {
  font-weight: 600;        /* use the same weight for normal and hover */
}

/* Desktop only */
html:not(.nav-collapsed) #dropdown-products.dropdown-menu2 {
  width: max-content !important;   /* expand to longest item */
  min-width: 18rem;                /* optional baseline */
  max-width: none !important;
}

/* Ensure inner list can expand too */
html:not(.nav-collapsed) #dropdown-products.dropdown-menu2 > ul {
  width: max-content !important;
  max-width: none !important;
}

/* No wrapping, ever */
html:not(.nav-collapsed) #dropdown-products.dropdown-menu2 a {
  display: block;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
}

/* Prevent width change on hover (keep same weight) */
html:not(.nav-collapsed) #dropdown-products.dropdown-menu2 a,
html:not(.nav-collapsed) #dropdown-products.dropdown-menu2 a:hover {
  font-weight: 600; /* set to your normal weight (e.g., 500/400) in both lines */
}

/* Optional: your hover style without changing width */
html:not(.nav-collapsed) #dropdown-products.dropdown-menu2 a:hover {
  background: #f4f4f4;
  color: #b54a3a;
}






/* Smooth click-to-open animation for the Products dropdown */

/* Tunables */
:root {
  --drop-dur: 260ms;
  --item-dur: 220ms;
  --drop-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Ensure dropdown parent is a positioning context */
.dropdown { position: relative; }

/* DESKTOP: absolute flyout (click to open) */
@media (min-width: 1148px) {
  /* Base (closed) state */
  .dropdown > #dropdown-products.dropdown-menu2 {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    /* Fade + slide + scale from top */
    transform: translate(-50%, 6px) scaleY(0.96);
    transform-origin: top center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    min-width: 240px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    padding: 8px 0;
    z-index: 1001;
    overflow: hidden; /* allows a subtle 'reveal' feel */

    will-change: opacity, transform;
    transition:
      opacity var(--drop-dur) ease,
      transform var(--drop-dur) var(--drop-ease),
      visibility 0s linear var(--drop-dur);
  }

  /* Open state (when li.dropdown has .active) */
  .dropdown.active > #dropdown-products.dropdown-menu2 {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0) scaleY(1);
    transition:
      opacity var(--drop-dur) ease,
      transform var(--drop-dur) var(--drop-ease),
      visibility 0s;
  }

  /* List + staggered items */
  #dropdown-products.dropdown-menu2 ul {
    list-style: none;
    margin: 0;
    padding: 8px 0;
  }
  #dropdown-products.dropdown-menu2 ul > li {
    opacity: 0;
    transform: translateY(6px);
    transition:
      transform var(--item-dur) var(--drop-ease),
      opacity var(--item-dur) ease;
  }
  .dropdown.active > #dropdown-products.dropdown-menu2 ul > li {
    opacity: 1;
    transform: none;
  }
  .dropdown.active > #dropdown-products.dropdown-menu2 ul > li:nth-child(1) { transition-delay: 30ms; }
  .dropdown.active > #dropdown-products.dropdown-menu2 ul > li:nth-child(2) { transition-delay: 60ms; }
  .dropdown.active > #dropdown-products.dropdown-menu2 ul > li:nth-child(3) { transition-delay: 90ms; }
  .dropdown.active > #dropdown-products.dropdown-menu2 ul > li:nth-child(4) { transition-delay: 120ms; }
  .dropdown.active > #dropdown-products.dropdown-menu2 ul > li:nth-child(5) { transition-delay: 150ms; }

  /* Links */
  #dropdown-products.dropdown-menu2 a {
    display: block;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease, padding-left 160ms ease;
    white-space: nowrap;
  }
  #dropdown-products.dropdown-menu2 a:hover {
    background: #f8f9fa;
    color: #A7402D;
    padding-left: 20px;
  }

  /* Arrow rotation only when actually open */
  .dropdown-toggle .dropdown-arrow { transition: transform var(--drop-dur) var(--drop-ease); }
  .dropdown.active .dropdown-toggle .dropdown-arrow { transform: rotate(180deg); }

  /* Ensure hover does NOT auto-open; click only */
  .dropdown:hover > #dropdown-products.dropdown-menu2 {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 6px) scaleY(0.96);
  }
}

/* MOBILE/TABLET: inline collapsible submenu (expands down) */
@media (max-width: 1147px) {
  /* Hide desktop flyout in mobile */
  #dropdown-products.dropdown-menu2 { display: none !important; }

  /* Collapsible list */
  #dropdown-products.mobile-submenu {
    list-style: none;
    margin: 6px 0 0;
    padding: 0 20px;
    background: #f9f9f9;
    border-top: 1px solid #eee;

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    will-change: max-height, opacity, transform;
    transition:
      max-height 320ms var(--drop-ease),
      opacity 220ms ease,
      transform 260ms var(--drop-ease);
  }
  #dropdown-products.mobile-submenu.active {
    max-height: 600px; /* large enough to fit items */
    opacity: 1;
    transform: translateY(0);
  }

  #dropdown-products.mobile-submenu li {
    opacity: 0;
    transform: translateY(6px);
    transition:
      transform var(--item-dur) var(--drop-ease),
      opacity var(--item-dur) ease;
  }
  #dropdown-products.mobile-submenu.active li {
    opacity: 1;
    transform: none;
  }
  #dropdown-products.mobile-submenu.active li:nth-child(1) { transition-delay: 30ms; }
  #dropdown-products.mobile-submenu.active li:nth-child(2) { transition-delay: 60ms; }
  #dropdown-products.mobile-submenu.active li:nth-child(3) { transition-delay: 90ms; }
  #dropdown-products.mobile-submenu.active li:nth-child(4) { transition-delay: 120ms; }
  #dropdown-products.mobile-submenu.active li:nth-child(5) { transition-delay: 150ms; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  #dropdown-products,
  #dropdown-products * {
    transition: none !important;
    animation: none !important;
  }
}

/* container for both action controls */
.nav-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-left: 16px;
}

/* Download button (icon + label) */
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(181,91,68,0.18);
  background: rgba(255,255,255,0.95);
  color: #b55b44;              /* accent color to match site */
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(181,91,68,0.06);
  transition: transform .12s ease, box-shadow .12s ease;
  white-space: nowrap;
}

/* Icon styling */
.download-icon {
  font-size: 14px;
  display: inline-block;
}

/* Slight hover effect */
.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(181,91,68,0.12);
}

/* Make the download text hide on very small screens, leaving icon only */
@media (max-width: 740px) {
  .download-text {
    display: none;
  }
  .download-btn {
    padding: 10px;
    width: 44px;
    height: 44px;
    justify-content: center;
  }
}

/* keep enquire button same but ensure spacing */
.nav-button {
  display: flex;
  align-items: center;
}

/* if you use .enquire_button in other places, this keeps visual parity */
.enquire_button {
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #bf4f36, #9a3a2a);
  box-shadow: 0 8px 24px rgba(154,58,42,0.12);
  border: none;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}
/* Tooltip container */
.tooltip {
  position: relative;
}

/* Tooltip box */
.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -42px;               /* distance above button */
  right: 0;
  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 99;
}

/* Triangle arrow */
.tooltip::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 18px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent #333 transparent;
  opacity: 0;
  transition: opacity 0.18s ease;
  z-index: 99;
}

/* On hover - show tooltip */
.tooltip:hover::after,
.tooltip:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(181,91,68,0.22);
  background: rgba(255,255,255,0.95);
  color: #b55b44;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(181,91,68,0.06);
  transition: transform .15s ease, box-shadow .15s ease;
}

/* Icon size */
.download-icon {
  font-size: 18px;
}

/* hover effect */
.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(181,91,68,0.12);
}

/* ---------------------------
  Fix overlap when hamburger shows
  Paste at end of Navbar.css
   --------------------------- */

/* 1) Use the same breakpoint as your shouldCollapse() logic.
   You used 1147px in JS; adjust if you want a different breakpoint. */
@media (max-width: 1147px) {
  /* hide the right-side actions (Download / Enquire) in the header
     when nav is collapsed so they don't overlap the burger */
  html.nav-collapsed .nav-actions,
  /* defensive: also hide if screen is small even if nav-collapsed not present */
  .nav-actions {
    display: none !important;
    pointer-events: none !important;
    opacity: 0 !important;
    transform: translateY(0) !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  /* ensure the burger button is above all and positioned nicely on right */
  .burger {
    z-index: 3000 !important;          /* sit on top */
    right: 12px !important;            /* nudge inward if it was too close to edge */
    margin: 0 !important;
  }

  /* ensure header has enough right padding so burger doesn't overlap content */
  .full-nav {
    padding-right: 64px !important;    /* leave room for the burger; tweak if needed */
  }

  /* ensure the mobile menu list download item is visible (you added .mobile-download earlier) */
  .mobile-download { display: block !important; }

  /* keep the burger accessible (visible focus ring) */
  .burger:focus-visible {
    outline: 3px solid rgba(38,192,255,0.18);
    outline-offset: 2px;
  }
}

/* 2) Extra small phones: stack and center the actions if you still show them */
@media (max-width: 420px) {
  /* In case you ever show actions in header on tiny screens, force a stacked layout */
  .nav-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.4rem !important;
    position: static !important;
    width: 100% !important;
    padding: 0.25rem 12px !important;
  }

  /* keep header padding smaller on tiny phones so layout doesn't break */
  .full-nav { padding-right: 12px !important; }
}

/* 3) Fallback: if you use a smaller collapse breakpoint (like 720px), also hide actions */
@media (max-width: 720px) {
  html.nav-collapsed .nav-actions,
  .nav-actions {
    display: none !important;
  }
  .mobile-download { display: block !important; }
}

/* 4) Make sure tooltip/content from hidden controls doesn't appear above hamburger */
html.nav-collapsed .tooltip::after,
.nav-actions[style*="display: none"] .tooltip::after {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Navbar.css - add at end */
@media only screen and (width: 1400px) and (height: 1024px) {
  /* hide the burger (circular overlap icon) */
 

  /* if the tiny circular icon is not .burger, try hiding the nav-actions icon(s) too */
  .nav-actions .download-btn,
  .nav-actions .enquire_button {
    display: none !important;
  }
}

/* Hide Download Catalog button at viewport width around 1347px */
/* Hide Download Catalog button from 1200px to 1380px */
@media screen and (max-width: 1380px) and (min-width: 1200px) {
  .nav-actions .download-btn {
    display: none !important;
  }
}

/* -------------------------
   Fix for mid/large tablet & desktop around 1000-1300px
   Prevent nav items & dropdown contents from becoming a single line
   ------------------------- */
@media (min-width: 1000px) and (max-width: 1300px) {

  /* Let top-level nav wrap instead of overflowing horizontally */
  .nav-menu,
  .nav-menu > ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;        /* allow wrapping */
    gap: 18px !important;              /* spacing between items */
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Each top-level item should take its natural width and wrap to next row when needed */
  .nav-menu > ul > li {
    flex: 0 0 auto !important;
    width: auto !important;
  }

  /* Prevent .nav-menu.active from shifting horizontally */
  .nav-menu.active {
    margin-left: 0 !important;
    transform: none !important;
  }

  /* Force desktop-style dropdown lists to stack vertically and limit their max width */
  .dropdown-menu2,
  .dropdown-menu3,
  .dropdown-menu2 ul,
  .dropdown-menu3 ul {
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: calc(100% + 8px) !important;
    max-width: 320px !important;       /* keeps dropdowns compact */
    width: auto !important;
    box-sizing: border-box !important;
    padding: 8px 0 !important;
    white-space: normal !important;    /* allow wrapping within items */
  }

  /* stack dropdown items */
  .dropdown-menu2 ul,
  .dropdown-menu3 ul {
    flex-direction: column !important;
    gap: 6px !important;
  }

  /* Ensure each dropdown <a> wraps if long */
  .dropdown-menu2 a,
  .dropdown-menu3 a {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    padding: 10px 16px !important;
    display: block !important;
    min-width: 0 !important;
  }

  /* Ensure mobile inline-submenus don't accidentally show as full width panels here */
  .mobile-submenu {
    display: none !important;
  }

  /* If the logo or action buttons push too much, reduce gap slightly */
  .full-nav { gap: 12px !important; padding: 0 12px !important; }

  /* Keep hamburger hidden in this range (desktop layout) unless you intentionally force collapses */
  .hamburger { display: none !important; }
}

/* Extra safety: whenever nav is collapsed (html.nav-collapsed) ensure the nav panel
   becomes a vertical column and doesn't try to render inline items */
@media (min-width: 1000px) and (max-width: 1300px) {
  html.nav-collapsed .nav-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: min(92vw, 360px) !important;
    max-width: 360px !important;
    margin-left: 0 !important;
    right: 16px !important;
    left: auto !important;
  }
}

.footer-margin{
      margin-top: 50px;
  }
  
 
  
  .footer-info{
      grid-column: 2/3;
      color: white;
      padding-right: 10px;
  }
  
  .footer-info h4{
      font-family:  'Calibri',sans-serif;
  }
  
  .footer-branch{
      grid-column: 3/4;
      color: white;
      display: flex;
      justify-content: center;
  }
  
  .footer-branch h2 {
      margin-bottom: 15px;
  }
  

  
  .branch-details {
      margin-top: 20px;
      line-height: 1.8;
  }
  
  .branch-details p {
      margin: 8px 0;
  }
  
  .footer-quick{
      grid-column: 4/5;
      color: white;
      display: flex;
      justify-content: center;
  }
  
  .footer-popular{
      grid-column: 5/6;
      color: white;
      display: flex;
      justify-content: end;
  }
  
  .footer-branch ul{
      padding-left: 20px;
      padding-top: 10px;
  }
  
  .footer-branch ul li a{
      text-decoration: none;
      color: white;
  }
  
  .footer-branch ul li{
      padding: 3.5px 2px;
  }
  
  .footer-quick ul{
      padding-left: 20px;
      padding-top: 10px;
  }
  
  .footer-quick ul li a{
      text-decoration: none;
      color: white;
  }
  .footer-quick ul li{
      padding: 3.5px 2px;
  }
  .footer-popular ul{
      padding-left: 20px;
      padding-top: 10px;
  }
  
  .footer-popular ul li{
      padding: 3.5px 2px;
  }
  .footer-popular ul li a{
      text-decoration: none;
      color: white;
  
  }
  
  @media  screen and (max-width: 1030px){
      .main-footer{
          width: 100%;
          display: grid;
          padding: 20px 0;
          grid-template-columns: 6.25rem 1fr 6.25rem;
          grid-template-rows: 1fr, 1fr, 1fr, 1fr;
          background-color: #A7402D;}
  
      .footer-info{
          grid-column: 2/3;
          grid-row: 1/2;
      }
  
      .footer-branch{
          grid-column: 2/3;
          grid-row: 2/3;
          margin-top: 25px;
      }
  
      .footer-quick{
          grid-column: 2/3;
          grid-row: 3/4;
          margin-top: 25px;
      }
  
      .footer-popular{
          grid-column: 2/3;
          grid-row: 4/5;
          margin-top: 25px;
      }
  
      .footer-branch{
          display: flex;
          justify-content: start;
      }
  
      .footer-quick{
          display: flex;
          justify-content: start;
      }
  
      .footer-popular{
          display: flex;
          justify-content: start;
      }
  }



  @media  screen and (max-width: 1030px){
    .main-footer{
        width: 100%;
        display: grid;
        padding: 20px 0;
        grid-template-columns: .8rem 1fr .8rem;
        grid-template-rows: 1fr, 1fr, 1fr, 1fr;
        background-color: #A7402D;}

    .footer-info{
        grid-column: 2/3;
        grid-row: 1/2;
    }

    .footer-branch{
        grid-column: 2/3;
        grid-row: 2/3;
        margin-top: 25px;
    }

    .footer-quick{
        grid-column: 2/3;
        grid-row: 3/4;
        margin-top: 25px;
    }

    .footer-popular{
        grid-column: 2/3;
        grid-row: 4/5;
        margin-top: 25px;
    }

    .footer-branch{
        display: flex;
        justify-content: start;
    }

    .footer-quick{
        display: flex;
        justify-content: start;
    }

    .footer-popular{
        display: flex;
        justify-content: start;
    }
}
  
  @media  screen and (max-width: 768px){
  
      .footer-margin{
          margin-top: 30px;
      }
  
  }
  
  @media  screen and (max-width: 385px){
      
  }
  
  .footer-copywrite{
      background-color: #862D1D;
      padding: 10px 0;
      display: flex;
      justify-content: center;
  }
  
  .footer-copywrite p{
      color: white;
  }

/* Dialog Box Styles */
.dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.dialog-box {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 300px;
  text-align: center;
}

.dialog-box h3 {
  margin: 0 0 10px 0;
}

.dialog-box p {
  margin-bottom: 20px;
}

.closee-btn {
  background-color: #A7402D;
  color: white;
  padding: 8px 16px;
  border: none;
  cursor: pointer;
}

.closee-btn:hover {
  background-color: #a24536;
}

.branch-link {
  background: none;
  border: none;
  color: white;
  text-decoration: underline;
  cursor: pointer;
}

.branch-link:hover {
  color: #ffcccb;
}




/*social media Handle*/





.social-media ul {
  
  
  right: 10px;
  
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
}

.social-media ul li {
  list-style: none;
  margin: 3px 0;
}

.socialmedia {
  position: relative;
  width: 40px; /* Smaller size */
  height: 40px; /* Smaller size */
  display: block;
  text-align: center;
  border-radius: 50%;
  padding: 5px;
  box-sizing: border-box;
  text-decoration: none;
  box-shadow: 0 5px 10px rgba(58, 53, 53, 0.726);
  background: #ffffff; /* New background color */
  transition: 0.5s;
}

.social-media ul li a:hover {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.social-media ul li a .fab {
  width: 100%;
  height: 100%;
  display: block;
  background: none; /* Remove background for icons */
  border-radius: 50%;
  line-height: calc(40px - 10px); /* Adjust for smaller size */
  font-size: 16px; /* Smaller icon size */
  color: #912b2c; /* White icon color */
  transition: 0.5s;
}

.social-media ul li:nth-child(1) a:hover .fab {
  color: #3b5998;
}

.social-media ul li:nth-child(2) a:hover .fab {
  color: #00aced;
}

.social-media ul li:nth-child(3) a:hover .fab {
  color: #0072b1;
}

.social-media ul li:nth-child(4) a:hover .fab {
  color: linear-gradient(to right, #f9ce34, #ee2a7b, #6228d7);;
}

.social-media ul li:nth-child(5) a:hover .fab {
  color: #25D366;
}














/* General tightening */
.main-footer {
  padding: 28px 0;
  row-gap: 24px;
}

.main-footer h2 { font-size: 20px; margin-bottom: 10px; }
.main-footer h4 { font-size: 15px; }

.footer-branch ul,
.footer-quick ul,
.footer-popular ul {
  padding-left: 16px;
  padding-top: 6px;
}

.footer-branch ul li,
.footer-quick ul li,
.footer-popular ul li {
  padding: 2.5px 0;
  line-height: 1.4;
}

/* Tablet (2x2 layout to cut height) */
@media (min-width: 768px) and (max-width: 1024px) {
  .main-footer {
    grid-template-columns: .8rem 1fr 1fr .8rem; /* | info | branch | next row: quick | popular | */
    row-gap: 24px;
  }

  .footer-info { grid-column: 2/3; grid-row: 1/2; }
  .footer-branch { grid-column: 3/4; grid-row: 1/2; margin-top: 0; }
  .footer-quick { grid-column: 2/3; grid-row: 2/3; margin-top: 0; }
  .footer-popular { grid-column: 3/4; grid-row: 2/3; margin-top: 0; }

  .footer-info iframe {
    width: 100% !important;
    height: 160px !important;
  }

  .branch-details { font-size: 12.5px; }
  .social-media ul { flex-wrap: wrap; gap: 6px; }
  .landing-page-about-heading h1 {
    text-align: center;
    justify-content: center;
    margin: 0 auto;
    display: block;
  }
}

/* Mobile (stacked, smaller fonts, tighter spacing) */
@media (max-width: 767px) {
  .main-footer {
    grid-template-columns: .8rem 1fr .8rem;
    padding: 20px 0;
    row-gap: 16px;
  }

  .footer-info, .footer-branch, .footer-quick, .footer-popular { margin-top: 0; }

  .footer-info h2 { font-size: 18px; }
  .footer-branch h2, .footer-quick h2, .footer-popular h2 { font-size: 17px; }
  .footer-info h4 { font-size: 13px; padding: 6px 0; }

  .branch-details { font-size: 12px; line-height: 1.5; }

  /* Make map responsive and shorter */
  .footer-info iframe {
    width: 100% !important;
    height: 120px !important;
  }

  /* Split long link lists into 2 columns to reduce height */
  .footer-quick ul,
  .footer-popular ul {
    columns: 2;
    column-gap: 12px;
    padding-left: 0;
  }

  .footer-quick ul li,
  .footer-popular ul li {
    break-inside: avoid;
    padding: 3px 0;
  }

  /* Smaller social icons */
  .socialmedia {
    width: 34px;
    height: 34px;
  }
  .social-media ul {
    flex-wrap: wrap;
    gap: 6px;
  }
}

/* Small phones */
@media (max-width: 360px) {
  .footer-info h2,
  .footer-branch h2,
  .footer-quick h2,
  .footer-popular h2 { font-size: 16px; }

  .footer-quick ul,
  .footer-popular ul {
    columns: 2;
    column-gap: 10px;
  }

  .socialmedia {
    width: 30px;
    height: 30px;
  }

  .footer-copywrite p { font-size: 12px; }
}








/* Keep dropdown centered under its toggle without changing its width */
.dropdown { position: relative !important; }

/* Hidden/base state: center horizontally, animate only Y */
.dropdown-menu2,
.dropdown-menu3 {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 50% !important;
  right: auto !important;
  transform: translate(-50%, 8px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;

  transition: transform .2s ease, opacity .2s ease, visibility 0s linear .2s !important;
  will-change: transform !important;
  margin-left: 0 !important;

  /* 👇 ADD DEFAULT STYLING HERE (background, shadow, etc) */
  background: white;
  min-width: 220px;
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0,0,0,0.1);
  list-style: none;
  padding: 8px 0;
  margin: 0;
  z-index: 1001;                /* kill any legacy offset */
}

/* Visible state: same X transform, only Y changes */
.dropdown.active .dropdown-menu2,
.dropdown.active .dropdown-menu3 {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate(-50%, 0) !important;
  pointer-events: auto !important;
  transition: transform .2s ease, opacity .2s ease, visibility 0s linear 0s !important;
}

/* Optional: prevent tiny nudge from link hover padding without changing width */
.dropdown-menu2 a,
.dropdown-menu3 a {
  width: 100% !important;         /* box model is stable */
  box-sizing: border-box !important;
}

/* Phones: inline, full-width dropdowns (no absolute positioning) */
@media (max-width: 761px) {
  .dropdown-menu2,
  .dropdown-menu3 {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    /* no width override here either */
    box-shadow: none !important;
    border-radius: 0 !important;
  }
}



@media (min-width: 2000px) {
  .product-header {
  position: relative;
  z-index: 0;
  max-width: 1400px; 
  width: 100%;
  margin-inline: auto; 
  justify-self: center; 
  padding-inline: 16px;
  box-sizing: border-box;
  }

  .product-header::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  background: #f9f9f9; 
  z-index: -1;
  }

  .product-header-image img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  }
  }
  

  @media (max-width: 320px) {
  .product-header {
  position: relative;
  z-index: 0;
  padding-inline: 8px;
  box-sizing: border-box;
  justify-self: center;
  }

  .product-header::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  background: #f9f9f9;
  z-index: -1;
  }
 
  .product-header-image img {
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: contain;
  }
  }







/* iPad Air layout fix (portrait 820px, landscape 1180px)
   - keep phone + email on one line
   - keep icon with its text (no split)
   - keep social + search tidy
*/
@media (min-width: 810px) and (max-width: 1180px) {
  .main-main-header .header-mob {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: nowrap;     /* prevent wrapping onto two lines */
    width: 100%;
  }
  .main-main-header .header-mob a {
    display: inline-flex;  /* keep icon and text together */
    align-items: center;
    gap: 8px;
    white-space: nowrap;   /* prevent email breaking */
    line-height: 1;
  }
  .main-main-header .header-mob svg {
    flex: 0 0 auto;
  }

  .main-main-header .header-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }
  .main-main-header .social-mediah ul {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
  }
  .main-main-header .header-search {
    flex: 0 0 240px;  /* stable width so it doesn't crowd contact info */
  }
  .main-main-header .search-input {
    width: 100%;
    min-width: 0;
  }
}





@media (min-width: 768px) and (max-width: 1024px) {
  .footer-branch { margin-top: 10px; }
  .footer-branch h2 { margin-bottom: 12px; }
  .footer-quick, .footer-popular { margin-top: 14px; }
  
  .footer-quick ul, .footer-popular ul {
  margin-top: 10px;
  margin-left: 6px;
  }
  

  .social-media { margin-top: 14px; }
  .social-media ul { flex-wrap: wrap; gap: 10px; }
  .socialmedia { display: inline-flex; align-items: center; justify-content: center; padding: 5px; line-height: 1; }
  .socialmedia .fab { font-size: 18px; line-height: 1; }
  .socialmedia svg { width: 18px; height: 18px; color: #912b2c; }
  .socialmedia[aria-label="indiamart"] img { width: 20px; height: 20px; object-fit: contain; }
  }
  

  @media (max-width: 767px) {
  .footer-branch { margin-top: 8px; }
  .footer-branch h2 { margin-bottom: 10px; }
  .footer-quick, .footer-popular { margin-top: 16px; }
  .footer-quick ul, .footer-popular ul {
  margin-top: 8px;
  margin-left: 8px;
  }
  

  .footer-info iframe { width: 100% !important; height: 120px !important; }
  

  .social-media { margin-top: 14px; }
  .social-media ul { flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
  .socialmedia {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  line-height: 1;

  }
  .socialmedia .fab { font-size: 16px; line-height: 1; }
  .socialmedia svg { width: 16px; height: 16px; color: #912b2c; }
  .socialmedia img { width: 18px; height: 18px; object-fit: contain; }
  }


  @media (max-width: 1024px) {
    .footer-dropdown { position: relative; z-index: 2001; }
    .footer-dropdown .footer-dropdown-menu { z-index: 2002 !important; }
    .social-media { margin-top: 14px; }
    .social-media ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 12px;
    padding: 0;
    margin: 0;
    }
    .social-media ul li { margin: 0; list-style: none; }
    .socialmedia { margin: 0 !important; display: inline-flex; align-items: center; justify-content: center; }
    .socialmedia[aria-label="indiamart"] { margin: 0 !important; }
    .socialmedia .fab { font-size: 16px; line-height: 1; }
    .socialmedia svg { width: 16px; height: 16px; color: #912b2c; }
    .socialmedia img { width: 18px; height: 18px; object-fit: contain; display: block; }
    
    }
    





    .social-media {
      margin-top: 12px;
    }
    
    .social-media ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      align-items: center;
      flex-wrap: wrap; /* wrap if absolutely needed so no horizontal scrollbar */
      gap: 5px; /* reduced gap so all icons fit in one row on typical widths */
    }
    
    .social-media li {
      margin: 0;
    }
    
    .socialmedia {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #ffffff; /* circle stays white */
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      color: #A7402D; /* default icon color */
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
      transition: transform 0.15s ease, box-shadow 0.15s ease;
    }
    
    /* Lift effect only; background & color unchanged */
    .socialmedia:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
    }
    
    .socialmedia i {
      font-size: 18px;
      line-height: 1;
    }
    
    .socialmedia svg {
      width: 18px;
      height: 18px;
      display: block;
    }
    
    .socialmedia img {
      width: 26px;
      height: 22px;
      display: block;
      object-fit: contain;
    }
    
    /* ICON-ONLY HOVERS (background stays white) */
    .social-media a[aria-label="Facebook"]:hover i,
    .social-media a[href*="facebook.com"]:hover i,
    .social-media a[aria-label="Facebook"]:hover svg,
    .social-media a[href*="facebook.com"]:hover svg {
      color: #1877F2 !important;
    }
    
    /* .social-media a[aria-label="Twitter"]:hover i,
    .social-media a[href*="twitter.com"]:hover i,
    .social-media a[aria-label="Twitter"]:hover svg,
    .social-media a[href*="twitter.com"]:hover svg {
      color: #1DA1F2 !important;
    } */
    
    .social-media a[aria-label="LinkedIn"]:hover i,
    .social-media a[href*="linkedin.com"]:hover i,
    .social-media a[aria-label="LinkedIn"]:hover svg,
    .social-media a[href*="linkedin.com"]:hover svg {
      color: #0A66C2 !important;
    }
    
    .social-media a[aria-label="Instagram"]:hover i,
    .social-media a[href*="instagram.com"]:hover i,
    .social-media a[aria-label="Instagram"]:hover svg,
    .social-media a[href*="instagram.com"]:hover svg {
      color: #E4405F !important; /* Instagram brand color on icon only */
    }
    
    /* Threads: icon-only hover to black */
   /* Base state (default maroon for all icons via .socialmedia already) */
.social-media a[aria-label="Twitter"]:not(:hover) i,
.social-media a[aria-label="Twitter"]:not(:hover) .ri-twitter-x-line {
  color: #912b2c !important;
  font-size: 20px; /* Match other icon sizes */
  line-height: 1;
  display: inline-block;
}
.social-media a[aria-label="Threads"]:not(:hover) i,
.social-media a[aria-label="Threads"]:not(:hover) svg {
  color: #A7402D; /* Optronix maroon default */
}
.social-media a[aria-label="Twitter"]:hover i,
.social-media a[aria-label="Twitter"]:hover .ri-twitter-x-line,
.social-media a[href*="twitter.com"]:hover i,
.social-media a[href*="x.com"]:hover .ri-twitter-x-line {
  color: #000000 !important; /* Black on hover */
  transform: scale(1.1);
  transition: all 0.2s ease;
}
/* Hover effect for Twitter(X) */
.social-media a[aria-label="Twitter"]:hover i,
.social-media a[href*="twitter.com"]:hover i {
  color: #000000 !important; /* X logo is black */
}

/* Hover effect for Threads */
.social-media a[aria-label="Threads"]:hover i,
.social-media a[aria-label="Threads"]:hover svg,
.social-media a[href*="threads"]:hover svg {
  color: #000000 !important; /* Threads logo is black */
}
    
    .social-media a[aria-label="Whatsapp"]:hover i,
    .social-media a[href*="wa.me"]:hover i,
    .social-media a[href*="whatsapp"]:hover i,
    .social-media a[aria-label="Whatsapp"]:hover svg,
    .social-media a[href*="wa.me"]:hover svg,
    .social-media a[href*="whatsapp"]:hover svg {
      color: #25D366 !important;
    }
    
    .social-media a[aria-label="YouTube"]:hover i,
    .social-media a[href*="youtube.com"]:hover i,
    .social-media a[aria-label="YouTube"]:hover svg,
    .social-media a[href*="youtube.com"]:hover svg {
      color: #FF0000 !important;
    }
    
    /* IndiaMART: stay pure white + lift only */
    .social-media a[aria-label="IndiaMART"]:hover,
    .social-media a[href="indiamart.com"]:hover {
      background: #ffffff;
      color: inherit;
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
    }
    
    /* Optional: Threads/IndiaMART tweaks */
    .brand--threads {
      color: #000000 !important;
      font-weight: bold;
      font-size: 18px;
    }
    .brand--threads:hover {
      background: #ffffff !important;
      color: #000000 !important;
    }
    
    .brand--indiamart img {
      width: 28px;
      height: 28px;
      object-fit: contain;
    }
    .brand--indiamart,
    .brand--indiamart:hover {
      background: #ffffff !important; /* stay white always */
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      padding: 4px;
    }
    

    /* --- Button Text Handling --- */
/* Base styles */
.card-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Desktop text - visible on larger screens */
.desktop-text {
  display: inline !important;
  white-space: nowrap !important;
}

/* Mobile text elements - hidden by default */
.top-text, 
.bottom-text {
  display: none;
  white-space: nowrap;
}

/* Media query for desktop */
@media screen and (min-width: 769px) {
  .card-btn-secondary {
    flex-direction: row;
  }
  
  .desktop-text {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .top-text, 
  .bottom-text {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

/* Media query for mobile */
@media screen and (max-width: 768px) {
  .card-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    width: 100% !important;
  }
  
  .card-btn-secondary {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 6px 4px !important;
  }
  
  .desktop-text {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
  
  .top-text, 
  .bottom-text {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-align: center !important;
    line-height: 1.2 !important;
  }
}




/* --- LandingAbout fluid overrides (append to end) --- */

.landing-page-about {
  gap: clamp(12px, 2vw, 24px);
  padding-block: clamp(8px, 1.6vw, 24px);
}

/* Keep heading visually similar at desktop, scale down gracefully */
.landing-page-about-heading {
  margin-top: clamp(6px, 1.2vw, 12px);
}
/* .landing-page-about-heading h1 {
  font-size: clamp(1.25rem, 2.5vw, 2rem) !important;
  line-height: 1.2;
  word-break: break-word;
} */

/* Buttons: retain max 110px left offset, collapse to 0 on smaller widths */
.landing-page-about-buttons {
  margin-left: clamp(0px, 7vw, 110px) !important;
  gap: clamp(8px, 1.2vw, 12px) !important;
}

/* Button hit area and type scale smoothly */
.about-btn {
  font-size: clamp(0.9rem, 1vw, 1rem) !important;
  padding: clamp(6px, 0.8vw, 10px) clamp(12px, 1.5vw, 24px) !important;
}

/* Content text: fluid size and spacing, wrap long words at tiny widths */
.landing-page-about-content {
  margin-top: clamp(4px, 0.8vw, 10px);
}
.landing-page-about-content p {
  font-size: clamp(0.9rem, 0.95rem + 0.1vw, 1rem) !important;
  line-height: 1.65;
  margin-top: clamp(-41px, -4.5vw, -8px) !important;
  margin-bottom: clamp(12px, 2vw, 20px) !important;
  overflow-wrap: anywhere; /* extreme zoom-in + very narrow screens */
}

/* Ensure no child overflows at extreme zoom */
.landing-page-about * {
  min-width: 0;
}

/* Tablet and down: zero-out left offset so buttons align nicely */
@media (max-width: 1024px) {
  .landing-page-about-buttons {
    margin-left: 0 !important;
  }
}

/* Extra small phones */
@media (max-width: 400px) {
  .about-btn {
    font-size: clamp(0.85rem, 3.5vw, 0.95rem) !important;
  }
}

/* Very wide displays / extreme zoom-out: keep content nicely centered */
@media (min-width: 1600px) {
  .landing-page-about {
    max-width: 1400px;
    margin-inline: auto;
  }
}






.landing-page-about .landing-page-about-content p,
.landing-page-about-content p {
text-align: justify !important;
font-size: clamp(0.9rem, 0.95rem + 0.1vw, 1rem) !important;
line-height: 1.65 !important;
margin-top: clamp(-41px, -4.5vw, -8px) !important;
margin-bottom: clamp(12px, 2vw, 20px) !important;
overflow-wrap: anywhere !important; 
}

/* Keep mobile readable but don’t let earlier rules override */
@media (max-width: 640px) {
.landing-page-about .landing-page-about-content p,
.landing-page-about-content p {
font-size: clamp(0.85rem, 3.5vw, 0.95rem) !important;
line-height: 1.6 !important;
}
}

/* Neutralize generic p { font-size: 12px } on small screens inside this section */
@media (max-width: 768px) {
.landing-page-about .landing-page-about-content p,
.landing-page-about-content p {
font-size: clamp(0.85rem, 3.5vw, 0.95rem) !important;
}
}



/* --- Testimonials fluid overrides --- */

/* Keep underline behavior but remove the huge global offset inside this section only */
.testimonial-slider .heading-underline {
  margin-left: 0 !important;
}

/* Section and track safety */
.testimonial-slider { padding: clamp(16px, 2vw, 32px) 0; }
.testimonial-slider .slick-slide > div { height: 100%; min-width: 0; }

/* Wrapper spacing should also scale */
.testimonial-card-wrapper {
  padding: 0 clamp(8px, 1.2vw, 15px);
  box-sizing: border-box;
}

/* Card scales with viewport; respects your existing breakpoints but fills gaps at extremes */
.testimonial-card {
  width: clamp(280px, 28vw, 420px);
  min-height: clamp(220px, 24vw, 320px);
  padding: clamp(12px, 1.4vw, 24px);
}

/* Fluid avatar size */
.testimonial-image {
  width: clamp(56px, 6vw, 80px);
  height: clamp(56px, 6vw, 80px);
}

/* Fluid type */
.testimonial-name {
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.125rem);
  margin-bottom: clamp(6px, 0.8vw, 10px);
}

.testimonial-text {
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1rem);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* Extra small phones: make card use almost full width */
/* Prevent overlap: cards fill the slide on tablet/mobile */
@media (max-width: 1024px) {
  .testimonial-card {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    box-sizing: border-box;
  }
  

}

/* Consistent spacing between slides without changing layout */
.testimonial-card-wrapper {
  padding: 0 clamp(8px, 1.6vw, 16px) !important;
  box-sizing: border-box;
}

/* Keep the slider list tidy while centerMode handles the peek on mobile */
@media (max-width: 768px) {
  .testimonial-slider .slick-list {
    overflow: hidden !important; /* default, ensures peek is inside the list */
  }
}

/* Make avatar and text scale well */
.testimonial-image {
  width: clamp(56px, 6vw, 80px);
  height: clamp(56px, 6vw, 80px);
}

.testimonial-name {
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.125rem);
  margin-bottom: clamp(6px, 0.8vw, 10px);
}

.testimonial-text {
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1rem);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* Optional: tighten card padding a bit on very small phones */
@media (max-width: 480px) {
  .testimonial-card {
    padding: clamp(12px, 3.5vw, 18px) !important;
  }
  .heading-underline{
        display: inline-block;
    position: relative;
   
  }
}




/* ===== Blog slider text overflow fix (extreme zoom-out safe) ===== */

/* Keep content width sane and remove hard vh-based scaling */
.slider .list .item .content {
  width: min(1140px, 90vw) !important;
  max-width: 90vw !important;
  padding-right: clamp(12px, 5vw, 28%) !important;
  overflow: hidden !important;        /* hide any accidental spill */
  line-height: 1.35 !important;
  font-size: initial !important;       /* neutralize inherited 4vh */
}

/* Replace 4vh sizing with clamp for base/type */
.slider .list .item .content .type {
  font-size: clamp(14px, 1.1vw, 20px) !important;
  line-height: 1.25 !important;
  height: auto !important;            /* cancel fixed 60px */
  margin: 0 0 6px 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  hyphens: auto !important;
}

/* The slide title (e.g., "Annual") – scale + wrap + clamp lines */
.slider .list .item .content .title {
  margin-top: clamp(12px, 8vh, 120px) !important;  /* replace 200px */
  font-size: clamp(20px, 2.2vw, 40px) !important;
  line-height: 1.2 !important;
  max-width: 60ch !important;
  white-space: normal !important;
  text-wrap: balance;
  overflow-wrap: anywhere !important;
  word-break: break-word;
  hyphens: auto;
  display: -webkit-box;               /* clamp to 2 lines to avoid overlap */
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* Optional: description text – keep it readable and inside bounds */
.slider .list .item .content .description {
  padding-right: 0 !important;        /* cancel 200px padding */
  max-width: 65ch !important;
  font-size: clamp(14px, 1vw, 18px) !important;
  line-height: 1.5 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

/* Keep the thumbnails and arrows from colliding with text on wide/zoomed-out screens */
@media (min-width: 1600px) {
  .thumbnail {
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    transform: none !important;
  }
  .nextPrevArrows {
    top: auto !important;
    bottom: 20px !important;
    right: 20px !important;
    transform: none !important;
    max-width: none !important;
  }
}

/* General tightening so slider internals don’t overflow in odd cases */
.slider .list .item .content > * {
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Zoom-out only (CSS-only heuristic):
   - wide windows (>=1600px), OR
   - reduced pixel ratio (zoomed out) on >=1200px width
   Tweaks keep slider text from overflowing and avoid overlap with thumbnails/arrows.
*/
@media (min-width: 1600px),
       (max-resolution: 0.98dppx) and (min-width: 1200px),
       (max-resolution: 94dpi) and (min-width: 1200px) {

  /* Content container: cap width and cancel aggressive vh font inheritance */
  .slider .list .item .content {
    width: min(1140px, 90vw) !important;
    max-width: 90vw !important;
    padding-right: clamp(12px, 5vw, 28%) !important;
    overflow: hidden !important;
    line-height: 1.35 !important;
    font-size: initial !important; /* neutralize 4vh */
  }

  /* Category/type text */
  .slider .list .item .content .type {
    font-size: clamp(14px, 1.1vw, 20px) !important;
    line-height: 1.25 !important;
    height: auto !important;
    margin: 0 0 6px 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    hyphens: auto !important;
  }

  /* Main title (e.g., "Annual") */
  .slider .list .item .content .title {
    margin-top: clamp(12px, 8vh, 120px) !important; /* replaces big fixed 200px */
    font-size: clamp(20px, 2.2vw, 40px) !important;
    line-height: 1.2 !important;
    max-width: 60ch !important;
    white-space: normal !important;
    text-wrap: balance;
    overflow-wrap: anywhere !important;
    word-break: break-word;
    hyphens: auto;
    display: -webkit-box;               /* clamp to 2 lines to avoid overlap */
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  /* Optional: slide description */
  .slider .list .item .content .description {
    padding-right: 0 !important;        /* cancel large padding that crowds text */
    max-width: 65ch !important;
    font-size: clamp(14px, 1vw, 18px) !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  /* Keep thumbnails/arrows clear of text on wide/zoomed-out views */
  .thumbnail {
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    transform: none !important;
  }
  .nextPrevArrows {
    top: auto !important;
    bottom: 20px !important;
    right: 20px !important;
    transform: none !important;
    max-width: none !important;
  }

  /* Safety: ensure children don’t overflow the content block */
  .slider .list .item .content > * {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}





/* Desktop: align text bottom-left, arrows bottom-left/right */
@media (min-width: 1024px) {
  /* Ensure slider is the positioning context */
  .slider { position: relative; }

  /* Text block to bottom-left (leave room for arrows) */
  .slider .list .item .content {
    position: absolute !important;
    left: 24px !important;
    bottom: 185px !important;   /* 40px arrow + spacing */
    top: auto !important;
    transform: none !important;
    max-width: min(60ch, 50vw) !important;
    padding-right: 0 !important;
    text-align: left !important;
    z-index: 2;                /* above image, below arrows */
  }

  /* Neutralize big top offset on title so it sits at bottom-left */
  .slider .list .item .content .title {
    margin-top: 0 !important;
  }

  /* Put the arrows on the bottom edges */
  .nextPrevArrows {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 16px !important;
    top: auto !important;
    width: 100% !important;
    transform: none !important;
    display: flex end !important;
    justify-content: flex-end !important;
    align-items: center !important;
    padding: 0 16px !important;
    gap: 0 !important;
    max-width: none !important;
    z-index: 3 !important;
    pointer-events: none; /* container ignores clicks */
  }
  .nextPrevArrows button {
    pointer-events: auto; /* buttons stay clickable */
  }

  /* Keep thumbnails above arrows but out of the text area */
  .thumbnail {
    position: absolute !important;
    right: 16px !important;
    bottom: 80px !important;   /* above arrows */
    left: auto !important;
    transform: none !important;
    z-index: 2 !important;
  }
}


/* Center social icons on mobile landscape (footer + header groups) */
@media (max-width: 920px) and (orientation: landscape),
       (max-height: 420px) and (orientation: landscape) {
  /* container spans full row and centers content */
  .social-media,
  .social-mediah {
    width: 100%;
    display: flex;
    justify-content: center !important;
  }
  .heading-underline {
        display: inline-block;
    position: relative;
   
  }
  .founder-underline{
    display: inline-block;
    position: relative;
    margin-left: 230px !important;
  }
  .title{
    margin-left: 60px;
    margin-top: 80px;
  }
 

  /* center the icon row(s); keep wrapping if needed */
  .social-media ul,
  .social-mediah ul {
    width: 100%;
    display: flex;
    justify-content: center !important;
    align-items: center;
    align-content: center; /* centers multiple wrapped rows */
    gap: clamp(6px, 2vw, 12px);
    margin: 0 auto !important;
    padding: 0;
  }

  .social-media li,
  .social-mediah li {
    margin: 0 !important;
  }

  /* optional: a bit of breathing room in tight landscape heights */
  .main-footer .social-media { margin-top: clamp(8px, 1.5vh, 14px); }
}
@media (max-width: 767px) {
  .hide-on-mobile { display: none !important; }
}




.partners-section {
  padding: 20px 0;
  background: transparent !important;
  text-align: center;
  overflow: hidden;
}
.partner-card{
  border: 1px solid rgba(171, 167, 167, 0.83);
}
.section-header {
  margin-bottom: 20px;
  background: transparent !important;
}

.section-header h2 {
  font-size: 2rem;
  color: #000000;
  margin: 0;
  background: transparent !important;
  padding: 0;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 100vh;
  margin: 0 auto;
}

/* Base grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}

/* Tablet only (keeps your horizontal scroller) */
@media (min-width: 768px) and (max-width: 1024px) {
  .partners-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 15px 10px;
    width: 100%;
    scrollbar-width: none; /* Firefox */
    gap: 1px;
  }

  .partners-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
  }

  .partners-grid > a {
    flex: 0 0 auto;
    min-width: 220px;
    max-width: 260px;
    margin-right: 10px;
    scroll-snap-align: start;
    padding: 12px;
    box-sizing: border-box;
  }
}

/* Mobile: exactly 2 cards per row */
@media (max-width: 767px) {
  .partners-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    overflow: visible;
  }
  
  .partners-grid > a {
    width: 100%;
    min-width: 0 !important; /* ensure two fit on very small screens */
    max-width: none !important;
    padding: 12px;
    box-sizing: border-box;
  }

  .partners-grid h3 { font-size: 1rem; margin: 8px 0 4px; }
  .partners-grid p  { font-size: 0.85rem; margin: 0; }

  .partner-logo { height: 50px !important; }
  .partner-logo img { max-height: 40px !important; width: auto !important; }

  .section-header h2 { font-size: 1.5rem; }
}



/* 1) Social icons: force a single row (scrolls horizontally on small screens) */
.social-media ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  overflow-x: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.social-media ul::-webkit-scrollbar { display: none; }
.social-media li { flex: 0 0 auto; }

/* 2) Make the section titles a bit larger (Quick/Popular) */
.footer-quick h2,
.footer-popular h2 {
  font-size: 1.25rem; /* tweak to taste */
  line-height: 1.2;
}

/* 3) Lower the font size of the lists under Quick/Popular */
.footer-quick > div > ul a,
.footer-popular > div > ul a {
  font-size: 0.95rem; /* slightly smaller than default */
}

/* Keep Quick/Popular lists single-column on mobile, leave social icons alone */
@media (max-width: 767px) {
  .footer-quick > div > ul,
  .footer-popular > div > ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0 0 0 20px;  /* Added left padding for bullet points */
    margin: 0 0 0 10px;   /* Added left margin for better spacing */
    list-style: disc;     /* Changed from none to disc for bullet points */
  }

  .footer-quick > div > ul a,
  .footer-popular > div > ul a {
    font-size: 0.9rem; /* a bit smaller on phones */
  }
}
/* Center social icons on landscape (mobile) */
@media (max-width: 767px) and (orientation: landscape) {
  .social-media { width: 100%; }
  .social-media ul {
    justify-content: center !important;
    margin-left: 100px !important; /* center the icons */
  }
}

@media(min-width:600px) and (max-width:1209px){
.heading-underline1{
 
}
.heading-underline1::after {
  content: '';
  display: block;
  margin: 0 auto;
 
  margin-top: 8px;
  width: 22%;
  height: 5px;
  background: #a7402d;
  border-radius: 3px;
}

  .slider .list .item .content{
    margin-left: 70px !important;
  }
  .founder-underline{
    margin-left: 260px !important;
    white-space: nowrap;
  }
  .heading-underline{
    
    white-space: nowrap;
  }
}



.about-title {
  margin-left: -450px; /* only if you truly need this for larger screens */
}
/* Center the headline between 501px and 601px */
@media (min-width: 483px) and (max-width: 601px) {
  .landing-page-about-heading {
    display: flex;
    justify-content: center;
  }
  .landing-page-about-heading h1 {
    margin-left: -496px !important;
    text-align: center;
  }
}

.executives-img {
  display: flex;
  justify-content: center;
}

.ceo-img {
  display: block;
  width: 60%;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgb(82, 81, 81);
}

/* Fix shrinking between 769px and 983px */
@media (min-width: 769px) and (max-width: 983px) {
  .ceo-img {
    /* Make it bigger but bounded */
    width: clamp(360px, 45vw, 520px);
  }
}

/* If your parent (.executives) is flex and the img still shrinks,
   give the img container some space */
@media (min-width: 769px) and (max-width: 1300px) {
  .executives {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
  }
  .executives-img { flex: 0 0 50%; margin-left: 200px; } /* half width for the image column */
  .executives-art { flex: 1 1 50%; }
}
@media (min-width: 200px) and (max-width: 770px) {
  .executives-img { flex: 0 0 50%; margin-left: 200px; } /* half width for the image column */
}



/* Default: left (desktop and below) */
.founder-title {
  color: #A7402D;
  text-align: left;
  margin: 0;
}

/* 380–769px: center */
@media (min-width: 200px) and (max-width: 770px) {
  .founder-title {
    text-align: center;
    white-space: nowrap;
    margin-left: -1px ;
    overflow-x: hidden;
  }
}
@media(min-width:771px) and (max-width:1300px){
  .founder-title {
    text-align: left;
    white-space: nowrap;
    margin-left: -1px !important;
    overflow-x: hidden;
  }
}
  




/* --- FIX 1: Keep hamburger menu CLOSED by default (≤1147px), only open on .active --- */
@media (max-width: 1147px) {
  /* Close by default and anchor panel under the hamburger (top-right) */
  .nav-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 16px !important;
    left: auto !important;

    width: min(92vw, 320px) !important;
    max-height: calc(100dvh - var(--nav-height, 80px) - 24px) !important;
    overflow-y: auto !important;

    transform: none !important;   /* cancel slide/translate rules */
    margin: 0 !important;         /* cancel stray margins (e.g., 550px) */
  }
  .nav-menu.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    flex-direction: column !important;
  }

  /* Use mobile submenus only; hide desktop dropdowns on touch */
  .dropdown-menu2,
  .dropdown-menu3 {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Prevent long labels from forcing horizontal overflow */
  .nav-menu a,
  .dropdown-toggle {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  /* Ensure items stack vertically inside the panel */
  .nav-menu ul {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* --- FIX 2: Dropdown menus stack vertically and wrap (all sizes) --- */
.dropdown-menu2 ul,
.dropdown-menu3 ul {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 4px 0 !important;
}
.dropdown-menu2 li,
.dropdown-menu3 li { display: block !important; }

.dropdown-menu2 a,
.dropdown-menu3 a {
  white-space: normal !important;    /* allow wrapping */
  overflow-wrap: anywhere !important; /* break long words */
  word-break: break-word !important;
  line-height: 1.35 !important;
}

/* Keep dropdown widths reasonable and scroll if tall */
.dropdown-menu2,
.dropdown-menu3 {
  min-width: 220px !important;
  max-width: min(90vw, 320px) !important;
  max-height: 70vh !important;
  overflow-y: auto !important;
}



.scroll-edge-toggle {
  position: fixed;
  right: clamp(12px, 2vw, 20px);
  bottom: max(12px, env(safe-area-inset-bottom));
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #A7402D;
  color: #fff;
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3000; /* above your sticky nav (z=1000) */
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.scroll-edge-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.22);
  background: #b95341;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-edge-toggle { transition: none; }
}

/* Center social icons on mobile (header + footer) */
@media (max-width: 767px) {
  /* containers centered */
  .social-media,
  .social-mediah,
  .header-social {
    width: 100%;
    display: flex;
    justify-content: center !important;
     margin-left: 25px !important;
  }

  /* the icon rows centered */
  .social-media ul,
  .social-mediah ul {
    width: 100%;
    display: flex;
    justify-content: center !important;
    align-items: center;
    align-content: center;
    gap: clamp(6px, 2vw, 12px);
    margin: 0 auto !important; 
     /* cancel any previous offsets */
    padding: 0;
  }

  /* cancel legacy offsets that push the row left/right */
  .social-media ul { margin-left: -32px !important; }
}

/* Also cancel the landscape offset that was pushing icons off-center */
@media (max-width: 767px) and (orientation: landscape) {
  .social-media ul { margin-left: 78px !important; }
}



/* Map click-through to Google Maps */
.footer-map-wrap {
  position: relative;
  display: inline-block;   /* shrink to iframe size */
  line-height: 0;          /* remove inline-gap */
  border-radius: 8px;
  overflow: hidden;        /* rounded corners on the map */
}

.footer-map-wrap iframe {
  display: block;
  width: 230px;            /* match your iframe width */
  height: 160px;           /* match your iframe height */
  border: 0;
  pointer-events: none;    /* ensure clicks go to the overlay link */
}

.footer-map-overlay {
  position: absolute;
  inset: 0;                /* cover the iframe fully */
  z-index: 2;
  display: block;
  cursor: pointer;
}
.footer-map-overlay:focus {
  outline: 3px solid #A7402D; /* visible focus ring for keyboard users */
  outline-offset: 2px;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.deviser-page{
    display: grid;
    grid-template-columns: 6.25rem 1fr 6.25rem;
    background-image: 
    linear-gradient(to top, rgb(255, 254, 254), rgba(255, 255, 255, 0.692)),
    url(/static/media/sum01.cc196cf1b64d791a6432.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.deviser-page-pro-main{
    grid-column: 2/3;
    padding-top: 50px;
}


.deviser-page-pro-name{
    text-align: center;
    
}

.deviser-page-pro-art{
    text-align: left;
    padding-left: 10px;
}

.deviserpro-btn{
    border: none;
    background-color: white;
    
}

.button-size.active{
    background-color: rgb(207, 207, 207);
}

.deviser-logo{
    width: 25%;
}
 /* .spec-table-container {
  overflow-x: auto;
  margin: 30px 0;
}
.spec-table {
  min-width: 600px;
  border-collapse: collapse;
  width: 100%;
}
.spec-table th, .spec-table td {
  border: 1px solid #b0b0b0;
  padding: 8px 12px;
  text-align: left;
}  */
  .spec-table-container {
  overflow-x: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: #fff;
  max-width: 1200px;  /* Prevents full-width expansion */
   width: 100%;  /* Table container only as wide as needed */
  display: flex; /* Added for better centering */
  justify-content: center; /* Center the table horizontally */
}

.spec-table {
 
  border-collapse: collapse;
  border: 1px solid #e0a060;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  margin: 0 auto; /* Additional centering for the table itself */
}
.spec-table .table-header {
  background-color: #4f7ca0; /* Blue header color */
  color: white;
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border: 1px solid #3d6382;
  width: 75%; /* Adjust this value to control how much of the row is covered */
}
.spec-table .empty-header {
  background-color: white;
  border: 1px solid #e0e0e0;
}

.spec-table th {
  background-color: #f7f9fc;
  color: #2c3e50;
  font-weight: 600;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1;
}

.spec-table td {
  padding: 12px 16px;
   border: 1px solid #e0e0e0;
  color: #4a5568;
  transition: background-color 0.2s ease;
}
.spec-table td:first-child {
  color: #4f7ca0; /* Blue text to match header */
  font-weight: 500;
}

.spec-table tr:hover td {
  background-color: #f8fafc;
}

.spec-table tr:nth-child(even) {
  background-color: #fafbfd;
}

/* Rounded corners for the table */
 .spec-table th:first-child {
  border-top-left-radius: 8px;
}

.spec-table th:last-child {
  border-top-right-radius: 8px;
}

.spec-table tr:last-child td:first-child {
  border-bottom-left-radius: 8px;
}

.spec-table tr:last-child td:last-child {
  border-bottom-right-radius: 8px;
}  */
/* Tablet range (700px–980px): sidebar on top-left, products below */
@media screen and (min-width: 700px) and (max-width: 980px) {
  .deviserproduct-page {
    grid-template-columns: 1fr; /* collapse layout to 1 column */
    gap: 1rem;
  }
   /* Sidebar on top-left */
   .deviserproduct-page-controls {
    grid-column: 1/-1;
    position: static;     /* remove sticky */
    top: auto;
    width: auto;
    margin: 0 0 15px 0;
    text-align: left;     /* make it left-aligned */
    box-shadow: none;     
    border-bottom: 1px solid #eee;
    padding: 0 10px;
  }

  /* Products grid */
  .deviserproduct-page-product {
    grid-column: 1/-1;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 10px;
  }
}


@media screen and (max-width: 768px) {
    .spec-table th, 
  .spec-table td {
    padding: 8px 12px;
    font-size: 14px;
  }

    .deviser-page{
        display: grid;
        grid-template-columns: .8rem 1fr .8rem; 
    }


    .deviser-page-pro-main{
        grid-column: 2/3;
        padding-top: 50px;
    }

    .deviser-logo{
        width: 50%;
    }
    .deviserproduct-page {
      grid-template-columns: 1fr;
      gap: 0.5rem;
    }
  
    .deviserproduct-page-controls {
      grid-column: 1/-1;
      position: static;
      top: auto;
      margin-bottom: 10px;
      text-align: left;   /* top-left */
      padding: 0 5px;
      box-shadow: none;
      border-bottom: 1px solid #eee;
    }
  
    .deviserproduct-page-product {
      grid-column: 1/-1;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      padding: 0 5px;
    }
  
    .product-card {
      padding: 10px 8px;
    }
  
    .product-title { font-size: 13px; }
    .product-description { font-size: 11px; }

}
@media screen and (max-width: 1024px) {
  .deviserproduct-page-product {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .product-title {
    font-size: 14px;
  }

  .product-description {
    font-size: 12px;
  }
   /* Sidebar moves on top */
   .deviserproduct-page-controls {
    grid-column: 1 / -1;            /* full width */
    position: relative;                /* no sticky */
    margin-bottom: 20px;             /* spacing below sidebar */
    width: 100%;
  }

  /* Product grid below: 2 cards per row */
  .deviserproduct-page-product {
    grid-column: 1 / -1;             
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* ✅ 2 cards per row */
                               /* row + col spacing */
    padding: 0 10px;
  }

  /* Make each card fit nicely */
  .product-card {
    width: 100%;
    margin: 0;     /* ✅ remove side margins */
    min-width: 0;  /* ✅ allow shrink */
    box-sizing: border-box; /* equal consistent look */
  }
}
@media screen and (max-width: 768px) {
  .deviserproduct-page {
    grid-template-columns: 1fr;   /* keep stack */
  }

  .deviserproduct-page-product {
    grid-template-columns: repeat(2, 1fr); /* ✅ still 2 per row */
    gap: 0;
    padding: 0 8px;
  }

  .product-card {
    min-height: 280px;
    padding: 12px;
  }

  .product-title {
    font-size: 14px;
  }

  .product-description {
    font-size: 12px;
  }
}
/* Small Phones (≤600px) */
@media screen and (max-width: 600px) {
  .footer-links {
    flex-direction: column;   /* stack instead of left/right */
    gap: 4px;
    align-items: center;
  }

  .dbtn_product,
  .dbtn_product2 {
    font-size: 12px;
  }
}
/* deviser product page */

.deviserproduct-page {
    display: grid;
    grid-template-columns: 250px 1fr; /* Sidebar and content */
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tabs Section */
.deviserproduct-page-controls {
    grid-column: 1/2;  /* First column for sidebar */
    position: sticky;
    top: 20px;
    align-self: start;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
}

.button-size {
    padding: 8px;
    background-color: white;
    cursor: pointer;
}

.button-size:hover {
    background-color: #edd9d6;
    border-radius: 8px;
}

.button-size.active{
    background-color: #edd9d6;
    border-radius: 8px;
    
}
.button-size:hover .button-btn {
    color: #aa3e2d;
}

.button-size.active .button-btn h4 {
    color: #aa3e2d;
}




.button-btn {
    border: none;
    color: #a3a3a3;
    font-weight: 600;
    margin-left: 10px;
    padding-right: 50px;
}




/* Default (inactive) state for special tab */
.button-size.special-tab {
  background-color: white; /* light blue or your custom color */
}

/* Active state for special tab */
.button-size.special-tab.active {
  background-color: white; 
}

/* Optional: adjust text color for contrast */
.special-tab .button-btn h4 {
  color: black;
  font-size: 20px;
}

.special-tab.active .button-btn h4 {
  color: black;
  font-size: 20px;
}

/* Product Grid */
.deviserproduct-page-product {
    grid-column: 2/3;  /* Second column for products */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0;
}

/* Single Product Card */
.product-card {
  border: 1px solid #ccc;
  border-radius: 12px;
  width: 80%;
  margin: 0 0 20px 0;
  padding: 20px;  /* Reduced padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  background-color: #f9f9f9;
  color: #333;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  position: relative;
  min-height: 300px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex: 0 0 auto;  /* Prevent flex items from growing/shrinking */
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

/* Product Image */
.product-image {
  width: 140px; 
  height: auto;
  background-color: transparent;
  margin-bottom: 10px;
  margin-top: 10px;
  object-fit: contain;
  display: block;
}
/* Product Title */
.product-title {
  font-size: clamp(12px, 1vw, 16px);
  
  font-weight: 700;
  color: #222;
  margin: 6px 0;
  text-align: center;
}

/* Product Name Button */
.product-name-button {
  background-color: #A7402D;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 8px 12px;
  font-size: 16px;
  margin: 10px 0;
  cursor: default;
}

/* Product Description */
.product-description {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

/* Buttons Section */
.product-buttonsd {
  margin-top: auto;            
  display: flex;
  justify-content: center; 
  flex-direction: column; /* left vs right */
  align-items: center;
  width: 100%;
  padding: 0 10px;       /* safe inside padding */
  box-sizing: border-box;
  flex: 1 1 100%;
  width: 100%;
}

/* Button Styles */
.dbtn_product1 {
  display: block;
  width: auto;
  min-width: 160px;
  margin-top: -10px;
  margin-bottom: 30px;
  padding: 10px 15px;
  text-align: center;
  background-color: #A7402D;
  color: #fff;
  border: none;
  text-decoration: none;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
/* Footer row (Read More | Download Catalog) */
.product-footer-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: nowrap;    /* prevents moving to next line */
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  width: 100%;       /* full card width */
  padding: 0 10px;    /* small inset padding */
}

.dbtn_product1:hover {
  background-color: #8c3626;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Bottom buttons row */
.dbtn_product,
.dbtn_product2 {
  margin-top: auto;
  background: none;
  border: none;
  width: auto;
  color: #9f9f9f;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0;

  white-space: nowrap;  /* keeps text in one line */
  overflow: hidden;     /* no spilling */
  white-space: nowrap;  /* keeps text in one line */
  overflow: hidden;     /* no spilling */
  text-overflow: ellipsis;
}

/* Position Read More on left */
.dbtn_product {
  margin-top: 1px;
  float: left;
  margin-right: 8px;
  
}

/* Position Download Catalog on right */
.dbtn_product2 {
  float: right;
  margin-left: 8px;
  margin-top: -1px;
}

.dbtn_product:hover,
.dbtn_product2:hover {
  /* background-color: #f5f5f5; */
  /* color: #A7402D; */
  /* border-color: #ccc; */
  /* transition: color 0.2s ease; */
}

.dbtn_product1:hover {
  background-color: #872d1c;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
/* Mobile Responsive */
@media screen and (max-width: 1024px) {
  .dbtn_product1 {
    min-width: 120px;   /* smaller size */
    max-width: 60%;     /* narrower than card */
    margin: 15px auto 20px auto; /* center it */
    font-size: 13px;
    padding: 8px 12px;
  }
}
@media screen and (max-width: 768px) {
  .product-card {
    width: 100%;     /* take full space */
    margin: 0 0 15px 0; /* spacing between cards */
    max-width: 100%;
  }
  .product-footer-links {
    flex-direction: row;   /* stack vertically */
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 0;
  }
  .dbtn_product1 {
    min-width: 120px;  /* smaller but not tiny */
    max-width: 60%;    /* keep centered, narrower */
    margin: 10px auto 20px -10px; /* center it */
    font-size: 12px;
    padding: 8px 12px;
  }
  .product-image { max-height: 90px; }
  .product-title { font-size: 13px; }
  .product-description { font-size: 11px; }
   {
    flex: 1 1 80%;   /* Buttons stack full width */
    max-width: 80%;
    font-size: 10px;
  }
  .dbtn_product,
  
  .dbtn_product2 {
    flex: 1 1 80%;   /* take full width */
    max-width: 90%;
    margin-top: -30px;
    font-size: 10px;
    text-align: center;
    white-space: normal;  /* allow wrapping */
  }
}
@media screen and (max-width: 980px) {
  .product-card {
    padding: 12px 8px; 
    flex-wrap: nowrap; 
  }
  .dbtn_product1 {
    min-width: 120px;   /* smaller size */
    max-width: 60%;     /* narrower than card */
    margin: 15px auto 20px auto; /* center it */
    font-size: 13px;
    padding: 8px 12px;
  }
  .product-image { max-height: 110px;
  margin-top: -30px; width: 110%; object-fit: contain; }
  .product-title { font-size: 18px; }
  .product-description { font-size: 12px; }
   .dbtn_product, .dbtn_product2 {
    font-size: 15px;
   
  }

}
@media screen and (max-width: 480px) {
  .product-card {  width: 100%;     /* take full space */
    margin: 0 0 15px 0; /* spacing between cards */
    max-width: 100%; }
  .product-image { max-height: 70px; }
  .product-title { font-size: 12px; }
  .product-description { font-size: 10px; }
  .dbtn_product1, .dbtn_product, .dbtn_product2 {
    margin-top: -10px;
    width: 100%;
    max-width: 100%;
  }
}


/* Prevent tap highlight on mobile browsers */
.button-size,
.button-btn,
.dbtn_product,
.dbtn_product1,
.dbtn_product2 {
  -webkit-tap-highlight-color: transparent; /* For iOS Safari */
  
}





/* If you already defined these in your global CSS (from Sumitomo),
   you can omit the :root block below. */
   :root {
    --gutter: clamp(0.5rem, 4vw, 3rem);
    --maxW: 72rem;
    --h1: clamp(1.5rem, 3.2vw + 0.5rem, 3rem);
    --text: clamp(1rem, 0.45vw + 0.9rem, 1.125rem);
  }
  
  /* Safe defaults */
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  img { max-width: 100%; display: block; }
  
  /* Page wrapper */
  .deviser-page{
    display: grid;
    grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter);
    /* no min-height to avoid pushing content below */
    background: transparent;
  }
  
  /* Content container */
  .deviser-page-pro-main{
    grid-column: 2/3;
    width: min(100%, var(--maxW));
    margin-inline: auto;
    padding-block-start: clamp(1rem, 3vw, 3.5rem); /* top only */
    padding-block-end: 0;                           /* no bottom space */
  }
  
  /* Heading/logo */
  .deviser-page-pro-name{
    text-align: center;
    font-size: var(--h1);
    margin-bottom: clamp(0.75rem, 2vw, 1.5rem);
  }
  
  .deviser-logo{
    width: clamp(160px, 28vw, 420px);
    height: auto;
    margin-inline: auto;
  }
  
  /* Paragraph */
  .deviser-page-pro-art{
    font-size: var(--text);
    line-height: 1.65;
    max-width: 65ch;
    margin-inline: auto;
    padding-inline: clamp(0px, 1vw, 10px);
    margin-bottom: 0; /* keep tight for the next section */
  }
  
  /* CTA as a styled Link */
  .deviserpro-btn{
    display: inline-block;
    margin-top: clamp(0.75rem, 2vw, 1.25rem);
    padding: 0.6rem 1rem;
    background-color: #e6e6e6;
    color: #111;
    text-decoration: none;
    border-radius: 0.375rem;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  }
  .deviserpro-btn:hover{ background-color: #dcdcdc; }
  .deviserpro-btn:focus-visible{ outline: 2px solid #0a66ff; outline-offset: 2px; }
  
  /* Ensure last child doesn't add extra bottom space */
  .deviser-page-pro-main > :last-child{ margin-bottom: 0; }
  
  /* Tiny screens tweak */
  @media (max-width: 480px){
    .deviser-page{
      grid-template-columns: clamp(0.5rem, 2vw, 0.8rem) 1fr clamp(0.5rem, 2vw, 0.8rem);
    }
    .deviser-logo{
      width: clamp(160px, 60vw, 340px);
    }
  }




/* Slider */
.slick-slider
{
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}

@charset 'UTF-8';
/* Slider */
.slick-loading .slick-list
{
    background: #fff url(data:image/gif;base64,R0lGODlhIAAgAPUAAP///wAAAPr6+sTExOjo6PDw8NDQ0H5+fpqamvb29ubm5vz8/JKSkoaGhuLi4ri4uKCgoOzs7K6urtzc3D4+PlZWVmBgYHx8fKioqO7u7kpKSmxsbAwMDAAAAM7OzsjIyNjY2CwsLF5eXh4eHkxMTLCwsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH+GkNyZWF0ZWQgd2l0aCBhamF4bG9hZC5pbmZvACH5BAAKAAAAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAIAAgAAAG/0CAcEgkFjgcR3HJJE4SxEGnMygKmkwJxRKdVocFBRRLfFAoj6GUOhQoFAVysULRjNdfQFghLxrODEJ4Qm5ifUUXZwQAgwBvEXIGBkUEZxuMXgAJb1dECWMABAcHDEpDEGcTBQMDBQtvcW0RbwuECKMHELEJF5NFCxm1AAt7cH4NuAOdcsURy0QCD7gYfcWgTQUQB6Zkr66HoeDCSwIF5ucFz3IC7O0CC6zx8YuHhW/3CvLyfPX4+OXozKnDssBdu3G/xIHTpGAgOUPrZimAJCfDPYfDin2TQ+xeBnWbHi37SC4YIYkQhdy7FvLdpwWvjA0JyU/ISyIx4xS6sgfkNS4me2rtVKkgw0JCb8YMZdjwqMQ2nIY8BbcUQNVCP7G4MQq1KRivR7tiDEuEFrggACH5BAAKAAEALAAAAAAgACAAAAb/QIBwSCQmNBpCcckkEgREA4ViKA6azM8BEZ1Wh6LOBls0HA5fgJQ6HHQ6InKRcWhA1d5hqMMpyIkOZw9Ca18Qbwd/RRhnfoUABRwdI3IESkQFZxB4bAdvV0YJQwkDAx9+bWcECQYGCQ5vFEQCEQoKC0ILHqUDBncCGA5LBiHCAAsFtgqoQwS8Aw64f8m2EXdFCxO8INPKomQCBgPMWAvL0n/ff+jYAu7vAuxy8O/myvfX8/f7/Arq+v0W0HMnr9zAeE0KJlQkJIGCfE0E+PtDq9qfDMogDkGmrIBCbNQUZIDosNq1kUsEZJBW0dY/b0ZsLViQIMFMW+RKKgjFzp4fNokPIdki+Y8JNVxA79jKwHAI0G9JGw5tCqDWTiFRhVhtmhVA16cMJTJ1OnVIMo1cy1KVI5NhEAAh+QQACgACACwAAAAAIAAgAAAG/0CAcEgkChqNQnHJJCYWRMfh4CgamkzFwBOdVocNCgNbJAwGhKGUOjRQKA1y8XOGAtZfgIWiSciJBWcTQnhCD28Qf0UgZwJ3XgAJGhQVcgKORmdXhRBvV0QMY0ILCgoRmIRnCQIODgIEbxtEJSMdHZ8AGaUKBXYLIEpFExZpAG62HRRFArsKfn8FIsgjiUwJu8FkJLYcB9lMCwUKqFgGHSJ5cnZ/uEULl/CX63/x8KTNu+RkzPj9zc/0/Cl4V0/APDIE6x0csrBJwybX9DFhBhCLgAilIvzRVUriKHGlev0JtyuDvmsZUZlcIiCDnYu7KsZ0UmrBggRP7n1DqcDJEzciOgHwcwTyZEUmIKEMFVIqgyIjpZ4tjdTxqRCMPYVMBYDV6tavUZ8yczpkKwBxHsVWtaqo5tMgACH5BAAKAAMALAAAAAAgACAAAAb/QIBwSCQuBgNBcck0FgvIQtHRZCYUGSJ0IB2WDo9qUaBQKIXbLsBxOJTExUh5mB4iDo0zXEhWJNBRQgZtA3tPZQsAdQINBwxwAnpCC2VSdQNtVEQSEkOUChGSVwoLCwUFpm0QRAMVFBQTQxllCqh0kkIECF0TG68UG2O0foYJDb8VYVa0alUXrxoQf1WmZnsTFA0EhgCJhrFMC5Hjkd57W0jpDsPDuFUDHfHyHRzstNN78PPxHOLk5dwcpBuoaYk5OAfhXHG3hAy+KgLkgNozqwzDbgWYJQyXsUwGXKNA6fnYMIO3iPeIpBwyqlSCBKUqEQk5E6YRmX2UdAT5kEnHKkQ5hXjkNqTPtKAARl1sIrGoxSFNuSEFMNWoVCxEpiqyRlQY165wEHELAgAh+QQACgAEACwAAAAAIAAgAAAG/0CAcEgsKhSLonJJTBIFR0GxwFwmFJlnlAgaTKpFqEIqFJMBhcEABC5GjkPz0KN2tsvHBH4sJKgdd1NHSXILah9tAmdCC0dUcg5qVEQfiIxHEYtXSACKnWoGXAwHBwRDGUcKBXYFi0IJHmQEEKQHEGGpCnp3AiW1DKFWqZNgGKQNA65FCwV8bQQHJcRtds9MC4rZitVgCQbf4AYEubnKTAYU6eoUGuSpu3fo6+ka2NrbgQAE4eCmS9xVAOW7Yq7IgA4Hpi0R8EZBhDshOnTgcOtfM0cAlTigILFDiAFFNjk8k0GZgAxOBozouIHIOyKbFixIkECmIyIHOEiEWbPJTTQ5FxcVOMCgzUVCWwAcyZJvzy45ADYVZNIwTlIAVfNB7XRVDLxEWLQ4E9JsKq+rTdsMyhcEACH5BAAKAAUALAAAAAAgACAAAAb/QIBwSCwqFIuicklMEgVHQVHKVCYUmWeUWFAkqtOtEKqgAsgFcDFyHJLNmbZa6x2Lyd8595h8C48RagJmQgtHaX5XZUYKQ4YKEYSKfVKPaUMZHwMDeQBxh04ABYSFGU4JBpsDBmFHdXMLIKofBEyKCpdgspsOoUsLXaRLCQMgwky+YJ1FC4POg8lVAg7U1Q5drtnHSw4H3t8HDdnZy2Dd4N4Nzc/QeqLW1bnM7rXuV9tEBhQQ5UoCbJDmWKBAQcMDZNhwRVNCYANBChZYEbkVCZOwASEcCDFQ4SEDIq6WTVqQIMECBx06iCACQQPBiSabHDqzRUTKARMhSFCDrc+WNQIcOoRw5+ZIHj8ADqSEQBQAwKKLhIzowEEeGKQ0owIYkPKjHihZoBKi0KFE01b4zg7h4y4IACH5BAAKAAYALAAAAAAgACAAAAb/QIBwSCwqFIuicklMEgVHQVHKVCYUmWeUWFAkqtOtEKqgAsgFcDFyHJLNmbZa6x2Lyd8595h8C48RagJmQgtHaX5XZUUJeQCGChGEin1SkGlubEhDcYdOAAWEhRlOC12HYUd1eqeRokOKCphgrY5MpotqhgWfunqPt4PCg71gpgXIyWSqqq9MBQPR0tHMzM5L0NPSC8PCxVUCyeLX38+/AFfXRA4HA+pjmoFqCAcHDQa3rbxzBRD1BwgcMFIlidMrAxYICHHA4N8DIqpsUWJ3wAEBChQaEBnQoB6RRr0uARjQocMAAA0w4nMz4IOaU0lImkSngYKFc3ZWyTwJAALGK4fnNA3ZOaQCBQ22wPgRQlSIAYwSfkHJMrQkTyEbKFzFydQq15ccOAjUEwQAIfkEAAoABwAsAAAAACAAIAAABv9AgHBILCoUi6JySUwSBUdBUcpUJhSZZ5RYUCSq060QqqACyAVwMXIcks2ZtlrrHYvJ3zn3mHwLjxFqAmZCC0dpfldlRQl5AIYKEYSKfVKQaW5sSENxh04ABYSFGU4LXYdhR3V6p5GiQ4oKmGCtjkymi2qGBZ+6eo+3g8KDvYLDxKrJuXNkys6qr0zNygvHxL/V1sVD29K/AFfRRQUDDt1PmoFqHgPtBLetvMwG7QMes0KxkkIFIQNKDhBgKvCh3gQiqmxt6NDBAAEIEAgUOHCgBBEH9Yg06uWAIQUABihQMACgBEUHTRwoUEOBIcqQI880OIDgm5ABDA8IgUkSwAAyij1/jejAARPPIQwONBCnBAJDCEOOCnFA8cOvEh1CEJEqBMIBEDaLcA3LJIEGDe/0BAEAIfkEAAoACAAsAAAAACAAIAAABv9AgHBILCoUi6JySUwSBUdBUcpUJhSZZ5RYUCSq060QqqACyAVwMXIcks2ZtlrrHYvJ3zn3mHwLjxFqAmZCC0dpfldlRQl5AIYKEYSKfVKQaW5sSENxh04ABYSFGU4LXYdhR3V6p5GiQ4oKmGCtjkymi2qGBZ+6eo+3g8KDvYLDxKrJuXNkys6qr0zNygvHxL/V1sVDDti/BQccA8yrYBAjHR0jc53LRQYU6R0UBnO4RxmiG/IjJUIJFuoVKeCBigBN5QCk43BgFgMKFCYUGDAgFEUQRGIRYbCh2xACEDcAcHDgQDcQFGf9s7VkA0QCI0t2W0DRw68h8ChAEELSJE8xijBvVqCgIU9PjwA+UNzG5AHEB9xkDpk4QMGvARQsEDlKxMCALDeLcA0rqEEDlWCCAAAh+QQACgAJACwAAAAAIAAgAAAG/0CAcEgsKhSLonJJTBIFR0FRylQmFJlnlFhQJKrTrRCqoALIBXAxchySzZm2Wusdi8nfOfeYfAuPEWoCZkILR2l+V2VFCXkAhgoRhIp9UpBpbmxIQ3GHTgAFhIUZTgtdh2FHdXqnkaJDigqYYK2OTKaLaoYFn7p6j0wOA8PEAw6/Z4PKUhwdzs8dEL9kqqrN0M7SetTVCsLFw8d6C8vKvUQEv+dVCRAaBnNQtkwPFRQUFXOduUoTG/cUNkyYg+tIBlEMAFYYMAaBuCekxmhaJeSeBgiOHhw4QECAAwcCLhGJRUQCg3RDCmyUVmBYmlOiGqmBsPGlyz9YkAlxsJEhqCubABS9AsPgQAMqLQfM0oTMwEZ4QpLOwvMLxAEEXIBG5aczqtaut4YNXRIEACH5BAAKAAoALAAAAAAgACAAAAb/QIBwSCwqFIuicklMEgVHQVHKVCYUmWeUWFAkqtOtEKqgAsgFcDFyHJLNmbZa6x2Lyd8595h8C48RahAQRQtHaX5XZUUJeQAGHR0jA0SKfVKGCmlubEhCBSGRHSQOQwVmQwsZTgtdh0UQHKIHm2quChGophuiJHO3jkwOFB2UaoYFTnMGegDKRQQG0tMGBM1nAtnaABoU3t8UD81kR+UK3eDe4nrk5grR1NLWegva9s9czfhVAgMNpWqgBGNigMGBAwzmxBGjhACEgwcgzAPTqlwGXQ8gMgAhZIGHWm5WjelUZ8jBBgPMTBgwIMGCRgsygVSkgMiHByD7DWDmx5WuMkZqDLCU4gfAq2sACrAEWFSRLjUfWDopCqDTNQIsJ1LF0yzDAA90UHV5eo0qUjB8mgUBACH5BAAKAAsALAAAAAAgACAAAAb/QIBwSCwqFIuickk0FIiCo6A4ZSoZnRBUSiwoEtYipNOBDKOKKgD9DBNHHU4brc4c3cUBeSOk949geEQUZA5rXABHEW4PD0UOZBSHaQAJiEMJgQATFBQVBkQHZKACUwtHbX0RR0mVFp0UFwRCBSQDSgsZrQteqEUPGrAQmmG9ChFqRAkMsBd4xsRLBBsUoG6nBa14E4IA2kUFDuLjDql4peilAA0H7e4H1udH8/Ps7+3xbmj0qOTj5mEWpEP3DUq3glYWOBgAcEmUaNI+DBjwAY+dS0USGJg4wABEXMYyJNvE8UOGISKVCNClah4xjg60WUKyINOCUwrMzVRARMGENWQ4n/jpNTKTm15J/CTK2e0MoD+UKmHEs4onVDVVmyqdpAbNR4cKTjqNSots07EjzzJh1S0IADsAAAAAAAAAAAA=) center center no-repeat;
}

/* Icons */
@font-face
{
    font-family: 'slick';
    font-weight: normal;
    font-style: normal;

    src: url(/static/media/slick.a4e97f5a2a64f0ab1323.eot);
    src: url(/static/media/slick.a4e97f5a2a64f0ab1323.eot?#iefix) format('embedded-opentype'), url(/static/media/slick.295183786cd8a1389865.woff) format('woff'), url(/static/media/slick.c94f7671dcc99dce43e2.ttf) format('truetype'), url(/static/media/slick.2630a3e3eab21c607e21.svg#slick) format('svg');
}
/* Arrows */
.slick-prev,
.slick-next
{
    font-size: 0;
    line-height: 0;

    position: absolute;
    top: 50%;

    display: block;

    width: 20px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);

    cursor: pointer;

    color: transparent;
    border: none;
    outline: none;
    background: transparent;
}
.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus
{
    color: transparent;
    outline: none;
    background: transparent;
}
.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before
{
    opacity: 1;
}
.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before
{
    opacity: .25;
}

.slick-prev:before,
.slick-next:before
{
    font-family: 'slick';
    font-size: 20px;
    line-height: 1;

    opacity: .75;
    color: white;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-prev
{
    left: -25px;
}
[dir='rtl'] .slick-prev
{
    right: -25px;
    left: auto;
}
.slick-prev:before
{
    content: '←';
}
[dir='rtl'] .slick-prev:before
{
    content: '→';
}

.slick-next
{
    right: -25px;
}
[dir='rtl'] .slick-next
{
    right: auto;
    left: -25px;
}
.slick-next:before
{
    content: '→';
}
[dir='rtl'] .slick-next:before
{
    content: '←';
}

/* Dots */
.slick-dotted.slick-slider
{
    margin-bottom: 30px;
}

.slick-dots
{
    position: absolute;
    bottom: -25px;

    display: block;

    width: 100%;
    padding: 0;
    margin: 0;

    list-style: none;

    text-align: center;
}
.slick-dots li
{
    position: relative;

    display: inline-block;

    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;

    cursor: pointer;
}
.slick-dots li button
{
    font-size: 0;
    line-height: 0;

    display: block;

    width: 20px;
    height: 20px;
    padding: 5px;

    cursor: pointer;

    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus
{
    outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before
{
    opacity: 1;
}
.slick-dots li button:before
{
    font-family: 'slick';
    font-size: 6px;
    line-height: 20px;

    position: absolute;
    top: 0;
    left: 0;

    width: 20px;
    height: 20px;

    content: '•';
    text-align: center;

    opacity: .25;
    color: black;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before
{
    opacity: .75;
    color: black;
}


* {
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden !important;
 
  width: 100% !important;
}


html,body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-y: auto; /* Enable vertical scrolling */
  overflow-x: hidden; /* Prevent horizontal scroll */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  font-family: Poppins;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
  display: none;
}

#root {
  min-height: 100%;
  width: 100%;
  position: relative;
}

code {
  font-family: Poppins,
    sans-serif;
}

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


.dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between; 
  width: 100%; 
}


.dropdown-arrow {
  margin-left: 10px;
  transition: transform 0.3s ease;
  display: inline-block;
}


.dropdown-arrow.open {
  transform: rotate(180deg);
}


.dropdown-menu {
  position: absolute;

  bottom: 100%; 
  margin-bottom: 5px;
  left: 0;
  background-color: #A7402D; 
  border: 1px solid #c44c38;
  border-radius: 4px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  list-style: none;
  padding: 5px 0;
  margin-left: 0;
  z-index: 100;
  min-width: 180px; 
}


.dropdown-menu li .branch-link {
  width: 100%;
  text-align: left; 
  padding: 8px 12px; 
  background-color: transparent;
  border: none;
}

.dropdown-menu li .branch-link:hover {
  background-color: #c44c38; 
}


/*# sourceMappingURL=main.6cb0c45e.css.map*/