

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


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

p{
  font-family: 'Poppins'; 
}

@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;
}

.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-social {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto;
  column-gap: 10px;
}

.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);
}

.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: 100vw;
    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: 100vw;
    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 {
  margin-top: 50px;
  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 {
  grid-column: 2/3;
  grid-row: 2/3;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 15px;
  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;
  padding: 10px 20px;
  color: #4d4d4d;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.about-btn:hover {
  color: #000;
}

/* 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;
    margin-top: 2rem;
  }

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

  .landing-page-about-heading h1 {
    margin-left: 0 !important;
    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;
    margin-top: 1.5rem;
  }

  .landing-page-about-heading h1 {
    font-size: 1.5rem !important;
    margin-left: 0 !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-top: 15px;
}

.about-btn {
  padding: 5px 24px;
  font-weight: 500;
  color: #b3b2b2;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 100%;
  max-width: 220px;
  text-align: left;
  position: relative;
  bottom: 0;
}

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

.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;
 
  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: 100px; /* Ensuring logos are the same size */
    max-width: 100px;}

  


}



/*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; /* Space between cards */
  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;
}

.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: 600px;
  margin-top: 50px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.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 .title,
.slider .list .item .content .type {
  font-size: 5vh;
  font-weight: bold;
  line-height: 2em;
}

.slider .list .item .content .type {
  color: #14ff72cb;
}

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

.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: 100%;
  object-fit: cover;
  border-radius: 20px;
  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: 85%;
  right: 50%;
  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: #fff;
  border: none;
  color: #b6b6b6;
  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(0px);
    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;
}
}



















    /*footer*/


    .footer-margin{
      margin-top: 50px;
  }
  
  .main-footer{
    width: 100%;
    background-color: #A7402D;  /* Full-width background */
    padding: 40px 0;
  }
  
  .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;
}










/* index.css */

.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) {
  .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) {
  .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 */
.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 {
  flex: 1 1 50%;
  min-width: 0;
  font-size: 14px;
  padding: 6px 8px;
  background: none;
  border: none;
  color: #666;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap; /* Prevent text wrapping */
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: max-content; /* Prevent breaking download text */
  padding: 6px 10px; /* Slightly more padding for better appearance */
}

.card-btn-secondary:hover {
  color: #A7402D;
}

/* --- 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;

    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;
    max-width: 100% !important; 
   
    
    overflow: hidden;
    max-width: 48%; 
  }
  .card-buttons {
    grid-template-columns: 1fr 1fr; 
  }
  .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;
  padding: 20px 0;
  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) {
  body {
    max-width: 1600px;
    margin: 0 auto; /* Keeps everything centered */
  }

  .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: 200px;
    height: 200px;
  }

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




/* 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; }
}

/* 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: 100vw;
  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: 100vw;
  transform: translateX(-50%);
  background: #f9f9f9;
  z-index: -1;
  }
 
  .product-header-image img {
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: contain;
  }
  }









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; }
}
/* Prevent global horizontal scroll */
body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-family: arial, sans-serif;
}

.main-com-pro-main-bg {
  background-image: 
    linear-gradient(to bottom, rgb(0, 0, 0), rgba(253, 252, 252, 0.6), rgb(253, 252, 252)), 
    url(/static/media/ems1.950de74b43ff1ad24a9a.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 35px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ========== Desktop view (≥1200px): show grid ========== */
.main-com-pro-main {
  display: grid;
  width: 100%;
  max-width: 1200px;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  padding: 0 1rem;
  margin: 30px auto;
  box-sizing: border-box;
}

/* Video Box */
.main-com-pro-main-box {
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.main-com-pro-main-box:hover {
  transform: translateY(-5px);
}

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

/* Video label */
.main-com-pro-description {
  text-align: center;
  padding: 10px 0;
  font-size: clamp(10px, 2.5vw, 14px); 
  color: #333;
  white-space: nowrap;               
  overflow: hidden;                   
  text-overflow: ellipsis;           
}

/* Text Block */
.main-com-art {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 20px;
  text-align: justify;
  max-width: 1200px;
  width: 100%;
  margin-top: 2rem;
}

/* Hide scroll view by default */
.main-com-pro-scroll-wrapper {
  display: none;
}

/* ========== Tablet view (768px–1199px): 6 videos in swipe ========== */
@media screen and (max-width: 1199px) {
  .main-com-pro-main {
    display: none;
  }

  .main-com-pro-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 1rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .main-com-pro-scroll-wrapper::-webkit-scrollbar {
    display: none;
  }

  .main-com-pro-scroll-page {
    flex: 0 0 100%;
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1rem;
    scroll-snap-align: start;
    box-sizing: border-box;
  }

  .main-com-art {
    padding: 10px;
    margin-top: 1rem;
  }
}

/* ========== Mobile view (<768px): 4 videos in swipe ========== */
@media screen and (max-width: 767px) {
  .main-com-pro-main {
    display: none;
  }

  .main-com-pro-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 1rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .main-com-pro-scroll-wrapper::-webkit-scrollbar {
    display: none;
  }

  .main-com-pro-scroll-page {
    flex: 0 0 100%;
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1rem;
    scroll-snap-align: start;
    box-sizing: border-box;
  }

  .main-com-art {
    padding: 10px;
    margin-top: 1rem;
  }
}

 .import-wrapper {
    color: white;
    background: transparent !important;
  }
  
  /* Header Section */
  .import-header {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.747), rgba(163, 163, 163, 0)),
    url(/static/media/partnerimg.d5597186dd3cf32982ba.jpg);
    background-size: cover;
    background-position: center;
    padding: 100px 20px 60px;
    text-align: center;
  }
  
  .header-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: bold;
  }
  
  .header-content p {
    font-size: 1.2rem;
    color: #ffd;
  }
  
  /* Partners Section */
  .partners-section {
    background: transparent !important;
    padding: 60px 30px;
  }
  
  /* Grid Layout */
  .partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Partner Card (Clickable Link) */
  .partner-card {
    background: #f9f9f9 !important;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    color: #333;
    text-decoration: none;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
  }
  
  .partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  }
  
  .partner-card h3 {
    margin: 10px 0 5px;
    font-size: 1.1rem;
    font-weight: 600;
  }
  
  .partner-card p {
    font-size: 0.9rem;
    color: #555;
  }


  
  /* Logo Handling */
  .partner-logo {
    font-size: 2rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
  }
  
  .partner-logo img {
    max-width: 160px;
    max-height: 60px;
    object-fit: contain;
  }
  
/* 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;
}

/* Container for the slider */
:root {
  --maxW: 120rem;                /* ~1920px max width */
  --minH: min(18rem, 100svh);    /* never bigger than viewport when zoomed in */
  --idealH: 60svh;               /* primary target height */
  --maxH: min(50rem, 100svh);    /* clamp top to viewport when zoomed out */
  --padX: clamp(0rem, 2vw, 1.25rem);
}

/* Fallback if svh/dvh unsupported */
@supports not (height: 1svh) {
  :root {
    --minH: min(18rem, 100vh);
    --idealH: 60vh;
    --maxH: min(50rem, 100vh);
  }
}
.slider-container {
  position: relative;
  width: 100%;
  max-width: var(--maxW);
  height: clamp(var(--minH), var(--idealH), var(--maxH));
  overflow: hidden;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.3) 100%),
    black;
  margin: 0 auto;
  padding-inline: var(--padX);
  line-height: 0;

  display: grid;            /* simpler centering than flex for media */
  place-items: center;

  container-type: inline-size; 
  
  box-shadow: 0 0 0 100vmax #000; /* extend black beyond the sides */
  clip-path: inset(0 -100vmax);/* enable container queries for finer control */
}

/* Slide container */
.slide {
  position: relative;
  width: 100%;
 
  margin: 0;
  padding: 0;
  line-height: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Base video styling */
.slide-media {
  width: 100%;
  height: 100%;
  object-fit: cover;             /* fill the container by default */
  object-position: center center;
  background-color: black;
  display: block;
  will-change: transform;
}

/* Hide mobile video by default */
.video-mobile {
  display: none;
}

/* Tablet (768px - 1024px) - Fit to width */
@media (min-width: 768px) and (max-width: 1024px) {
  .slider-container {
    width: 100%;
    height: auto;
    max-height: none;
    min-height: 0;
    aspect-ratio: 16/9;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    position: relative;
  }
  
  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
  }
  
  .slide-media {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  
  .video-desktop {
    display: block;
  }

  .video-mobile {
    display: none;
  }
}

/* Mobile (up to 767px) - Fit to height */
@media (max-width: 767px) {
  .slider-container {
    width: 100%;
    height: 80vh;
    min-height: 400px;
    max-height: 90vh;
    aspect-ratio: 9/16;
    padding: 0;
    margin: 0 auto;
    position: relative;
  }
  
  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
  }
  
  .slide-media {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
  }
  
  .video-desktop {
    display: none;
  }
  
  .video-mobile {
    display: block;
  }
}

/* Nest Hub Max (1280x800) */
@media (min-width: 1025px) and (max-width: 1280px) and (min-height: 799px) and (max-height: 801px) {
  .slider-container {
    width: calc(100% - 40px);
    margin: 0 auto;
 
    height: 50vh;
    max-height: 400px;
    min-height: 350px;
    padding: 0 20px;
  }
  
  .slide-media {
    object-fit: cover;
    transform: none;
    object-position: center 30%;
  }
  
  .video-desktop {
    display: block;
  }
  
  .video-mobile {
    display: none;
  }
}

/* Desktop (1025px and above) */
@media (min-width: 1025px) {
  .slider-container {
    width: 100%;
    max-width: 1920px;
    height: 60vh;
    max-height: 800px;
    min-height: 400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
  }
  
  .slide-media {
    object-fit: cover;
    transform: scale(1.2);
    transform-origin: center center;
  }
  
  .video-desktop {
    display: block;
  }
  
  .video-mobile {
    display: none;
  }
}

/* Small mobile devices */
@media (max-width: 360px) {
  .slider-container {
    height: 30vh;
    min-height: 180px;
    max-height: none;
    padding: 0;
    margin: 0;
  }
}


@container (max-width: 40rem) {
  .slide-media { object-fit: contain; }
}

/* Avoid giant heights on very wide containers (extreme zoom-out on desktops) */
@container (min-width: 90rem) {
  .slider-container {
    height: clamp(var(--minH), 50svh, var(--maxH));
  }
}

/* Source switching:
   - Landscape: desktop video
   - Portrait: mobile video
   This is stable under zoom and keeps the right cut. */
.video-desktop { display: block; }
.video-mobile  { display: none; }

@media (orientation: portrait) {
  .video-desktop { display: none; }
  .video-mobile  { display: block; }
}

/* Tiny containers (very small devices or extreme zoom-in) */
@container (max-width: 22.5rem) { /* ~360px */
  .slider-container {
    height: clamp(min(12rem, 100svh), 40svh, min(24rem, 100svh));
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .slide-media { transform: none !important; }
}

/* =======================================
   Educational section — zoom-proof, fluid
   ======================================= */

/* Fluid tokens */
:root {
  --pageMaxW: 1400px;;
  --padX: clamp(0.75rem, 3vw, 3rem);
  --padY: clamp(1rem, 3vw, 3rem);
  --gap: clamp(0.5rem, 2vw, 1.25rem);

  --cardMin: 14rem;          /* ~224px */
  --cardIdeal: 28vw;         /* fluid width */
  --cardMax: 20rem;          /* ~320px */
  --radius: 0.75rem;
}

/* Container */
.educational-container {
  margin: 0 auto;
  padding: var(--padY) var(--padX);
  max-width: var(--pageMaxW);
  display: grid;
  row-gap: clamp(1rem, 2vw, 2rem);
  align-items: start;
  justify-items: center;
  position: relative;

  /* enables container queries below */
  container-type: inline-size;
}

/* Heading */
.educational-heading {
  text-align: center;
  font-weight: 600;
  margin: 0 0 clamp(0.75rem, 2vw, 1.5rem);
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.2;
}

/* Horizontal Slider (grid-based scroller + snap) */
.video-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(var(--cardMin), var(--cardIdeal), var(--cardMax));
  gap: var(--gap);

  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;

  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.video-slider::-webkit-scrollbar { display: none; }

/* Video Card */
.video-card {
  inline-size: 100%;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  cursor: pointer;
  scroll-snap-align: start;
}
.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Slide-in Animation */
@keyframes slideInRightToLeft {
  0% { opacity: 0; transform: translateX(50px); }
  100% { opacity: 1; transform: translateX(0); }
}
.slide-in { animation: slideInRightToLeft 0.6s ease forwards; }

/* Video Wrapper */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3.5 / 4;
  overflow: hidden;
}
.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Play Button (scales with zoom) */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(2.5rem, 6vw, 4rem);
  height: clamp(2.5rem, 6vw, 4rem);
  background-color: #912b2c;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: auto;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.video-wrapper:hover .play-button { opacity: 1; }

/* Always show play button on touch devices */
@media (hover: none) and (pointer: coarse) {
  .play-button { opacity: 0.9; }
}

/* White Play Triangle (scales too) */
.play-button::before {
  content: '';
  display: block;
  width: 0; height: 0;
  border-left: clamp(0.6rem, 1.2vw, 1rem) solid #fff;
  border-top: clamp(0.35rem, 0.7vw, 0.6rem) solid transparent;
  border-bottom: clamp(0.35rem, 0.7vw, 0.6rem) solid transparent;
  margin-left: clamp(1px, 0.2vw, 2px);
}

/* Info Text */
.video-info { padding: clamp(0.75rem, 2.2vw, 1rem); }
.video-info h4 {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  margin: 0 0 0.4rem;
  color: #222;
}
.video-info p {
  font-size: clamp(0.85rem, 2.2vw, 0.95rem);
  color: #666;
  margin: 0;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.5rem, 2vw, 1.25rem);
}
.modal-content {
  position: relative;
  width: min(90vw, 52rem);
  background: #000;
  padding: 0;
  border-radius: clamp(0.5rem, 1vw, 0.75rem);
  overflow: hidden;

  /* Keep 16:9 regardless of zoom */
  aspect-ratio: 16 / 9;
}
.modal-content iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  aspect-ratio: 16 / 9;
}
.close-btn {
  position: absolute;
  top: clamp(6px, 1vw, 10px);
  right: clamp(6px, 1vw, 10px);
  background: #fff;
  color: #000;
  border: none;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: bold;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 1000;
}

/* Explore More Section */
.exploree-wrapper {
  position: absolute;
  top: 50%;
  right: clamp(0rem, 2vw, 1rem); /* keep inside container */
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  outline: none;
}
.exploree-btn {
  background: #f9f9f9;
  color: #A7402D;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  border-radius: 50%;
  padding: clamp(0.75rem, 2.2vw, 1rem);
  white-space: nowrap;
  outline: none;
  border: none;
  transition: color 0.3s ease, transform 0.3s ease, text-decoration 0.3s ease, box-shadow 0.3s ease;
}
.exploree-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.arrow {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 0;
  transition: transform 0.4s ease;
}
.exploree-btn:hover .arrow { transform: translateX(5px); }

/* Container queries: adjust for extreme narrow widths (or high zoom-in) */
@container (max-width: 62rem) {
  /* Make cards larger relative to the viewport for better readability */
  .video-slider { grid-auto-columns: 80%; }
  /* Bring the Explore button into flow below the slider */
  .exploree-wrapper {
    position: static;
    transform: none;
    margin-top: var(--gap);
  }
}
@container (max-width: 36rem) {
  .video-slider { grid-auto-columns: 100%; }
  .educational-heading { font-size: clamp(1.1rem, 5vw, 1.4rem); }
  .video-card { border-radius: clamp(0.5rem, 2vw, 0.75rem); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .slide-in { animation: none; }
  .video-card { transition: none; }
  .video-slider { scroll-behavior: auto; }
}
html {
  scroll-behavior: smooth;
}

.about-page-container {
  display: grid;
  grid-template-columns: 2rem 1fr 1fr 2rem;
  margin-top: 20px;
}

.about-page-container-about {
  grid-column: 3/4;
  grid-row: 1/2;
  align-self: center;
}

.about-page-container-image {
  grid-column: 2/3;
  grid-row: 1/2;
  align-self: center;
}

.about-image {
  max-width: 100%;
}

@media screen and (max-width: 768px) {
  .about-page-container {
    display: grid;
    grid-template-columns: 0.5rem 1fr 0.5rem;
    grid-template-rows: auto;
  }

  .about-page-container-about {
    grid-column: 2/3;
    grid-row: 2/3;
    align-self: center;
  }

  .about-page-container-image {
    grid-column: 2/3;
    grid-row: 1/2;
  }
}

.news-title {
  color: #8a2e10;
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 30px 90px;
  position: relative;
  padding-bottom: 12px;
}

.about-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Hero Section */
.hero-section {
  margin-bottom: 4rem;
}

.hero-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 2rem;
  text-align: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

.hero-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Values Section */
.values-section {
  margin-bottom: 4rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* always 3 cards side by side */
  gap: 2rem;
  margin-left: 60px;
  margin-right: 60px;
}

.value-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  padding: 1rem;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.value-card:hover {
  transform: translateY(-5px);
}

.card-content {
  padding: 0.5rem;
}

.card-content h2 {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.card-divider {
  height: 2px;
  width: 40px;
  background: #A7402D;
  margin-bottom: 0.5rem;
}

.values-list {
  list-style: none;
  padding: 0;
}

.values-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.values-list li::before {
  content: "•";
  color: #A7402D;
  position: absolute;
  left: 0;
}

/* Publications Section */
.aman {
  text-align: center;
  margin-bottom: 2rem;
  color: #A7402D;
  font-size: 2rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 1rem;
}
.aman::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #A7402D;
  border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .values-grid {
    grid-template-columns: 1fr 1fr; /* two cards side by side */
  }
  .aman{
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr; /* stack vertically on small screens */
    margin-left: 0;
    margin-right: 0;
  }

  .about-page {
    padding: 1rem;
  }
  .aman{
    font-size: 1.5rem;
  }
}
/* Base styles */
.scroll-container {
  height: 100vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.box {
  padding: 50px 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #a04030;
  transform: translateX(-50%);
  z-index: 0;
}

.timeline-event-row {
  position: relative;
  display: flex;
  margin-bottom: 60px;
  flex-wrap: wrap;
  z-index: 1;
}

.timeline-circle {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: white;
  border: 4px solid #a04030;
  z-index: 2;
}

.left-pane, .right-pane {
  width: 50%;
  padding: 0 40px;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.image-collage {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.image-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.image-box img {
  border-radius: 8px;
  object-fit: cover;
  max-width: 100%;
  height: auto;
}

.content-block {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.event-title {
  margin-top: 0;
  color: #333;
}

.event-date {
  font-style: italic;
  color: #555;
  margin: 10px 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .left-pane, .right-pane {
    padding: 0 30px;
  }
  
  .timeline-event-row {
    margin-bottom: 80px;
  }
}

@media (max-width: 768px) {
  .timeline-line {
    left: 20px;
    transform: none;
  }
  
  .timeline-circle {
    left: 20px;
    transform: none;
  }
  
  .left-pane, .right-pane {
    width: 100%;
    padding-left: 60px;
    padding-right: 0;
  }
  
  .content-block {
    text-align: left !important;
  }
  
  .image-box img {
    width: 100% !important;
    margin-bottom: 10px;
  }
  
  .timeline-event-row {
    flex-direction: column;
    margin-bottom: 60px;
  }
  
  .left-pane {
    order: 2;
  }
  
  .right-pane {
    order: 1;
  }
}

@media (max-width: 480px) {
  .box {
    padding: 30px 10px;
  }
  
  .left-pane, .right-pane {
    padding-left: 50px;
  }
  
  .timeline-event-row {
    margin-bottom: 50px;
  }
  
  .content-block {
    padding: 15px;
  }
  
  .image-collage {
    padding: 15px;
  }
}

/* Desktop defaults already match your current inline styles */

/* Mobile + Tablet */
@media (max-width: 1024px) {
  .timeline-line {
    left: 24px !important;
    transform: none !important;
  }

  .timeline-circle {
    left: 24px !important;
    transform: translateX(-50%) !important;
  }

  .timeline-event-row {
    display: flex !important;
    flex-direction: column !important;
    padding-left: 56px !important; /* keeps it clear of the timeline */
    margin-bottom: 40px;
  }

  /* Images ALWAYS before text */
  .image-pane { order: 1 !important; }
  .text-pane  { order: 2 !important; }

  /* ————————————————
     Horizontally scrollable images, each = container width
  ———————————————— */
  .image-collage {
    padding: 12px !important;
    overflow: hidden;
  }

  .image-collage .image-box {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: 100% !important;  /* ✅ container width slides */
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;  /* makes first image fully visible */
    gap: 0;
  }

  .image-collage .image-box img {
    width: 100% !important;   /* full container width */
    height: auto !important;
    object-fit: cover;
    scroll-snap-align: start;
    flex: none !important;    /* kill old flex shrink/grow */
    border-radius: 8px;
    display: block;
  }

  /* Reduce box paddings on small viewports */
  .box { padding: 16px 10px !important; }
  .left-pane, .right-pane { padding: 0 !important; }
  .content-block { padding: 12px !important; text-align: left !important; }
 

}


/* === NEW: Mobile-first ordering + horizontal image scroll + tighter padding === */
@media (max-width: 768px) {
  /* 1) Always show images before text on mobile */
  .timeline-event-row {
    display: flex !important;
    flex-direction: column !important;
    padding-left: 56px !important;/* space for the left timeline line */
  }
  .image-pane { order: 1 !important; }
  .text-pane  { order: 2 !important; }

  /* 2) Horizontal scroll for images */
  .image-box {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px; /* avoid scrollbar overlap */
  }
  .image-box img {
    flex: 0 0 80% !important;  /* each image ~80% width so next one peeks */
    width: 80% !important;     /* override desktop widths */
    height: auto !important;
    scroll-snap-align: start;
    border-radius: 8px;
  }
  .image-box::-webkit-scrollbar { height: 6px; }
  .image-box::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.25);
    border-radius: 3px;
  }

  /* 3) Reduce overall padding on mobile */
  .box { padding: 16px 10px !important; }
  .left-pane, .right-pane { padding: 0 !important; }
  .content-block, .image-collage { padding: 12px !important; }

  /* Keep timeline line/circle on the left on mobile */
  .timeline-line { left: 24px !important; transform: none !important; }
  .timeline-circle {left: 24px !important; transform: none !important;  }
}

@media (max-width: 480px) {
  .box { padding: 12px 8px !important; }
  .content-block, .image-collage { padding: 10px !important; }
  
}

/* Optional: nice desktop layout (already similar to what you have) */
@media (min-width: 769px) {
  .image-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  .image-box img {
    width: calc(50% - 5px);
  }
  .image-box img:only-child {
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .scroll-container {
    display: flex;
    justify-content: center !important;  /* 👈 center the inner content */
  }

  .timeline-container {
    margin: 0 auto;            /* 👈 center horizontally */
    max-width: 90%;            /* optional: keep narrow for tablets */
  }

  .box {
    margin: 0 auto;
    max-width: 900px;          /* 👈 cap width so it stays centered & neat */
    padding: 30px 20px;
  }
}

.contact-page-main-design{
    height: 100%;
}



.contact-page-upper{
    width: 100%;
    height: 50vh;
    background-color: #eebeb5e1;
    background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.151)),
    url(/static/media/cus.5c2ce6e7d7939af0b959.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-page-height{
    height:85vh ;
}

.contact-page-upper-d{
    display: grid;
    grid-template-columns: 6.25rem 1fr 1fr 1fr 6.25rem;
    position: relative;
    top: 33vh;
    
}



.contact-page-box1{
    grid-column: 2/3;
    
    background-color: white;
    margin-right: 3rem;
    border-radius: 8%;
    box-shadow: 10px 13px 20px 0px #912b2c54;
}

.contact-page-box1 a button{
    border-radius: 5px;
    background-color: white;
    padding: 10px;
    color: #912b2c;
    border-color: #912b2c;
}

.contact-page-box1 a button:hover {
    color: white;
    background-color: #912b2c;
}

.contact-page-box2{
    grid-column: 3/4;
    
    background-color: white;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    border-radius: 8%;
    box-shadow: 10px 13px 20px 0px #912b2c54;
}

.contact-page-box2 a button{
    border-radius: 5px;
    background-color: white;
    padding: 10px;
    color: #912b2c;
    border-color: #912b2c;
}

.contact-page-box2 a button:hover {
    color: white;
    background-color: #912b2c;
}


.contact-page-box3{
    grid-column: 4/5;
    
    background-color: white;
    margin-left: 3rem;
    border-radius: 8%;
    box-shadow: 10px 13px 20px 0px #912b2c54;
}

.contact-page-box3 a button{
    border-radius: 5px;
    background-color: white;
    padding: 10px;
    color: #912b2c;
    border-color: #912b2c;
}

.contact-page-box3 a button:hover {
    color: white;
    background-color: #912b2c;
}


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

    .contact-page-upper-d{
        display: grid;
        grid-template-columns: .8rem 1fr .8rem;
        grid-template-rows: auto;
        top:25vh;
        row-gap: 2.5rem;
    }

    .contact-page-height{
        height:250vh ;
    }

    .contact-page-box1{
        grid-column: 2/3;
        grid-row: 1/2;
        margin-right: 0;
        
    }

    .contact-page-box2{
        grid-column: 2/3;
        grid-row: 2/3;
        margin-left: 0;
        margin-right: 0;
        
    }

    .contact-page-box3{
        grid-column: 2/3;
        grid-row: 3/4;
        margin-left: 0;
        
    }
}


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

    .contact-page-height{
        height:239vh ;
    }

}

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

    .contact-page-height{
        height:220vh ;
    }

}




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

    .contact-page-upper-d{
        display: grid;
        grid-template-columns: .8rem 1fr .8rem;
        grid-template-rows: auto;
        top:25vh;
        row-gap: 2.5rem;
    }

    .contact-page-height{
        height:187vh ;
    }

    .contact-page-box1{
        grid-column: 2/3;
        grid-row: 1/2;
        margin-right: 0;
        
    }

    .contact-page-box2{
        grid-column: 2/3;
        grid-row: 2/3;
        margin-left: 0;
        margin-right: 0;
       
    }

    .contact-page-box3{
        grid-column: 2/3;
        grid-row: 3/4;
        margin-left: 0;
        
    }
}



/*contact page*/


.contact-form-main-grid{
    display: grid;
    grid-template-columns: 6.25rem 1fr 1fr 6.25rem;
    margin-top: 2rem;
}

.contact-form-container{
    grid-column: 2/3;
}

.contact-form-container-art{
    grid-column: 3/4;
}









.contact-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

.contact-form h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}


 

.contact_page_art{
    margin: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
    height: 80px;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #A7402D;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #c75b5d;
}



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

    .contact-form-main-grid{
        display: grid;
        grid-template-columns: .8rem  1fr .8rem;
        grid-template-rows: auto;
        margin-top: 2rem;
    }
    
    .contact-form-container{
        grid-column: 2/3;
        grid-row: 1/2;
    }
    
    .contact-form-container-art{
        grid-column: 2/3;
        grid-row: 2/3;
        margin-top: 2rem;
    }

    .contact-form-container-art p{
        margin: 0;
        
    }
}








:root{
    /* fluid spacing + type */
    --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);
  }
  
  *{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  html{
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  
  img{ max-width: 100%; display: block; }
  
  /* Page */
  .sumitomo-page{
   
    display: grid;
    grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter);
    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;
  }
  
  /* Content */
  .sumitomo-page-pro-main{
    grid-column: 2/3;
    width: min(100%, var(--maxW));
    margin-inline: auto;
    padding-block: clamp(1rem, 3vw, 3.5rem);
  }
  
  .sumitomo-page-pro-name{
    text-align: center;
    padding-block-start: clamp(1rem, 3vw, 3.5rem);
  padding-block-end: 0;
  }
  
  .sumitomo-logo{
    width: clamp(160px, 28vw, 420px);
    height: auto;
    margin-inline: auto;
  }
  
  /* Text */
  .sumitomo-page-pro-art{
    text-align: justify;           /* keeps your intent */
    font-size: var(--text);
    line-height: 1.65;
    max-width: 65ch;               /* readable line length on huge screens */
    margin-inline: auto;
    padding-inline: clamp(0px, 1vw, 10px);
  }
  
  /* CTA (button with anchor inside) */
  .sumitomopro-btn{
    border: none;
    background-color: #fff;
    margin-top: clamp(0.75rem, 2vw, 1.25rem);
    padding: 0; /* we'll pad the anchor so it’s clickable */
  }
  
  .sumitomopro-btn a{
    display: inline-block;
    padding: 0.6rem 1rem;
    border-radius: 0.375rem;
    background-color: #e6e6e6;
    color: #111;
    text-decoration: none;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  }
  .sumitomopro-btn a:hover{ background-color: #dcdcdc; }
  
  /* Tiny screens tweak only */
  @media (max-width: 480px){
    .sumitomo-page{
      grid-template-columns: clamp(0.5rem, 2vw, 0.8rem) 1fr clamp(0.5rem, 2vw, 0.8rem);
    }
    .sumitomo-logo{
      width: clamp(160px, 60vw, 340px);
    }
  }
*{
    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);
    }
  }




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

.optronixfiber-page-fiber{
    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;
}

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



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

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

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




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

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


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

}


/* optronix product page */


.optronixfiberproduct-page {
    display: grid;
    grid-template-columns: 6.25rem 1.2fr 4fr 6.25rem;
    
}


.optronixfiberproduct-page-controls {
    grid-column: 2/3;
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 8px 8px;
    margin-top: 20px;
    row-gap: .5rem;
    position: sticky;
    top: 20px;
    align-self: start;
    background: white;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.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;
}

.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;
}

.special-tab.active .button-btn h4 {
  color: black;
}


/* Product Grid */
.optronixfiberproduct-page-product {
    grid-column: 3/4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
    padding: 0 20px;
}

/* Single Product Card */
.product-card {
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f9f9f9;
    color: #333;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

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

/* Product Image */
.product-image {
    width: 100%;
    height: auto; /* Important for responsiveness */
    max-height: 200px; /* Adjust maximum height */
    object-fit: contain; /* IMPORTANT: No cropping, full visible image */
    margin-bottom: 15px;
}

/* Product Title */
.product-title {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

/* 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;
    text-align: center;
    margin: 10px 0;
}

/* Buttons Section */

.product-buttonse {
    margin-top: auto;
    gap: 10px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-row: auto;
}


.fbtn_product1{
    grid-column: 2/4;
    grid-row: 1/2;
}

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

.fbtn_product2{
    grid-column: 3/5;
    grid-row: 2/3;

}

.fbtn_product, .fbtn_product2 {
    padding: 8px;
    font-size: 14px;
    background-color: #f9f9f9;
    color: #b3b2b2;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 3px;
    text-decoration: none;
}

.fbtn_product1 {
    padding: 8px !important;
  font-size: 14px !important;
  background-color: #A7402D !important;
  color: white !important;
  text-align: center !important;
  border: none !important;
  text-decoration: none !important;
  border-radius: 18px !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
  display: block !important;
  margin: 6px auto !important; 
  min-width: 160px !important;
  max-width: 100% !important;
}


.fbtn_product:hover,
.fbtn_product2:hover {
    background-color: #f9f9f9;
    color: black;
}

/* Mobile Responsive */
/* Tablet & smaller laptops (<=1024px) */
@media screen and (max-width: 1024px) {
    .fbtn_product1 {
      min-width: 120px !important;
      max-width: 60% !important;    /* shrink relative to card */
      margin: 10px auto !important; /* keep centered */
      font-size: 13px !important;
      padding: 7px 12px !important;
    }
    
    
  }
@media screen and (max-width: 768px) {
    .fbtn_product1 {
        min-width: 100px !important;
        max-width: 70% !important; 
        font-size: 12px !important;
        padding: 6px 10px !important;
      }
    .optronixfiberproduct-page {
        display: grid;
        grid-template-columns: .8rem 1fr .8rem;
    }

    .optronixfiberproduct-page-controls {
        grid-column: 2/3;
        margin-top: 10px;
    }

    .optronixfiberproduct-page-product {
        grid-column: 2/3;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
        margin-top: 50px;
    }

    .product-buttons {
        grid-template-columns: 1fr;
    }

    .fbtn_product, .fbtn_product2 {
        font-size: 12px;
        padding: 6px;
    }
}
@media screen and (max-width: 980px) {
    .optronixfiberproduct-page {
        display: grid;
        grid-template-columns: .8rem 1fr .8rem;
    }

    .optronixfiberproduct-page-controls {
        grid-column: 2/3;
        margin-top: 10px;
    }

    .optronixfiberproduct-page-product {
        grid-column: 2/3;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
        margin-top: 50px;
    }

    .product-buttons {
        grid-template-columns: 1fr;
    }

    .fbtn_product, .fbtn_product2 {
        font-size: 12px;
        padding: 6px;
    }
}
@media screen and (max-width: 768px) {
    .optronixfiberproduct-page {
        display: grid;
        grid-template-columns: .8rem 1fr .8rem;
    }

    .optronixfiberproduct-page-controls {
        grid-column: 2/3;
        margin-top: 10px;
    }

    .optronixfiberproduct-page-product {
        grid-column: 2/3;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
        margin-top: 50px;
    }

    .product-buttons {
        grid-template-columns: 1fr;
    }

    .fbtn_product, .fbtn_product2 {
        font-size: 12px;
        padding: 6px;
    }
}
@media screen and (max-width: 980px) {
    .optronixfiberproduct-page {
      grid-template-columns: 1fr; /* Single column - stack */
      gap: 1rem;
      padding: 0 10px;
    }
    .fbtn_product1 {
        min-width: 100px !important;
        max-width: 70% !important; 
        font-size: 12px !important;
        padding: 6px 10px !important;
      }
  
    /* Sidebar goes full-width, above products */
    .optronixfiberproduct-page-controls {
      grid-column: 1/-1;
      position: static;  /* no sticky */
      box-shadow: none;
      border-bottom: 1px solid #eee;
      margin: 10px 0;
      padding: 10px;
      text-align: left;  /* align left */
    }
  
    /* Product cards: 2 per row */
    .optronixfiberproduct-page-product {
      grid-column: 1/-1;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      padding: 0;
    }
  
    .product-card {
      padding: 10px 8px;
    }
  
    .product-title {
      font-size: 12px;
      margin: 6px 0;
    }
  
    .product-description {
      font-size: 11px;
      margin: 4px 0;
      line-height: 1.3;
    }
  
    .obtn_product,
    .obtn_product1,
    .obtn_product2 {
      font-size: 11px;
      padding: 5px 3px;
      border-radius: 4px;
     }
     .obtn_product1{
      margin-left: 20px;
     }
  
  }
  @media screen and (max-width: 480px) {
    .optronixfiberproduct-page-product {
      grid-template-columns: repeat(2, 1fr);
    }
    .fbtn_product1 {
        min-width: 90px !important;
        max-width: 80% !important;
        font-size: 11px !important;
        padding: 6px 8px !important;
      }
  
    .product-card {
      padding: 5px 3px;
    }
  
    .product-title {
      font-size: 1.5rem;
    }
  }
/* Prevent tap highlight on mobile browsers */
.button-size,
.button-btn,
.fbtn_product,
.fbtn_product1,
.fbtn_product2 {
  -webkit-tap-highlight-color: transparent; /* For iOS Safari */
  
}


/* Omit this block if you've already defined these vars globally */
: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);
  }
  
  /* Layout */
  .optronixfiber-page-fiber{
    display: grid;
    grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter);
    background: transparent; /* no forced height */
  }
  
  .optronixfiber-page-pro-main-fiber{
    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 */
  .optronixfiber-page-pro-name-fiber{
    margin: 0 0 clamp(0.75rem, 2vw, 1.5rem);
    text-align: center;
    font-size: var(--h1);
    font-weight: 700;
  }
  
  /* Paragraph */
  .optronixfiber-page-pro-art-fiber{
    text-align: justify;
    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 */
  .optronixfiberpro-btn-fiber{
    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);
  }
  .optronixfiberpro-btn-fiber:hover{ background-color: #dcdcdc; }
  .optronixfiberpro-btn-fiber:focus-visible{ outline: 2px solid #0a66ff; outline-offset: 2px; }
  
  /* Neutralize any top margin on the next component */
  .optronixfiber-page-fiber + * { margin-top: 0; }
  
  /* Tiny screens tweak */
  @media (max-width: 480px){
    .optronixfiber-page-fiber{
      grid-template-columns: clamp(0.5rem, 2vw, 0.8rem) 1fr clamp(0.5rem, 2vw, 0.8rem);
    }
  }




* {
  box-sizing: border-box;
}
html {
  overflow: hidden;
  height: 100%;
}

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; 
}

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

.optronixedfa-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;
}

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


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

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

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

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

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

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


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

}


/* Main Page Layout */



.optronixpon-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);
     padding-top: 40px;
  padding-bottom: 40px;
   margin: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.optronixpon-page-pro-main{
      padding: 40px 32px 32px 32px; /* top, right, bottom, left */
    grid-column: 2/3;
    padding-top: 50px;
    padding-bottom: 20px;
}


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

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

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


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



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

    .optronixpon-page{
        display: grid;
        grid-template-columns: 0.8rem 1fr 0.8rem; 
    }


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

    .optronixpon-page-pro-art{
        margin-top: 10px;
    }

}



/* Main Page Layout */
.optronixponproduct-page {
    display: grid;
    grid-template-columns: 6.25rem 1.2fr 4fr 6.25rem;
    
}



/* Tabs Section */
.optronixponproduct-page-controls {
    grid-column: 2/3;
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 8px 8px;
    margin-top: 20px;
    row-gap: .5rem;
    position: sticky;
    top: 20px;
    align-self: start;
    background: white;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.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 */
.optronixponproduct-page-product {
    grid-column: 3/4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
    padding: 0 20px;
}

/* Single Product Card */
.product-card {
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f9f9f9;
    color: #333;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    position: relative;
}

/* Specific card styles */
.c-plus-card,
.px20-card {
    position: relative;
}

.c-plus-card .product-buttonso,
.px20-card .product-buttonso {
    position: relative;
    top: -60px;
}

/* Specific style for C++++ card */
.product-card:has(.product-title:contains('C++++')) {
    padding-bottom: 15px;
}

.product-card:has(.product-title:contains('C++++')) .product-buttonso {
    margin-top: -10px;
}

/* Hover effect for all cards except PX20++++ and C++++ */
.product-card:not(.c-plus-card):not(.px20-card):hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* Remove hover effect for PX20++++ and C++++ cards */
.c-plus-card,
.px20-card {
    transform: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Product Image */
.product-image {
    width: 100%;
    height: auto; /* Important for responsiveness */
    max-height: 200px; /* Adjust maximum height */
    object-fit: contain; /* IMPORTANT: No cropping, full visible image */
    margin-bottom: 15px;
}

/* Product Title */
.product-title {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

/* 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;
    text-align: center;
    margin: 10px 0;
}

/* Buttons Section */
.product-buttonso {
    margin-top: auto;
    gap: 10px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-row: auto;
}


.obtn_product1{
    grid-column: 2/4;
    grid-row: 1/2;
}

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

.obtn_product2{
    grid-column: 3/5;
    grid-row: 2/3;

}

.obtn_product, .obtn_product2 {
    padding: 8px;
    font-size: 14px;
    background-color: #f9f9f9;
    color: #b3b2b2;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 3px;
    text-decoration: none;
}

.obtn_product1 {
  padding: 8px !important;
  font-size: 14px !important;
  background-color: #A7402D !important;
  color: white !important;
  text-align: center !important;
  text-decoration: none !important;
  border: none !important;
  border-radius: 18px !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
  margin: 6px auto !important;
  display: block !important;
  min-width: 160px !important;   /* desktop big look */
  max-width: 100% !important;
}


.obtn_product:hover,
.obtn_product2:hover {
    background-color: #f9f9f9;
    color: black;
}
/* Mobile Responsive */
@media screen and (max-width: 1024px) {
  .obtn_product1 {
    min-width: 120px !important;  /* smaller */
    max-width: 60% !important;    /* don't touch sides */
    margin: 10px auto !important; /* ✅ keep centered */
    font-size: 13px !important;
    padding: 7px 12px !important;
  }
  .obtn_product,

  .obtn_product2 {
    font-size: 12px !important;
    padding: 5px 8px !important;
  }
}
@media screen and (max-width: 768px) {
  .obtn_product1 {
    min-width: 100px !important;
    max-width: 70% !important;
    font-size: 12px !important;
    padding: 6px 10px !important;
  }
    .product-card {
       
            padding: 8px;
            width: 100%;
            min-height: auto;        /* ❌ remove fixed height */
            max-height: none;        /* ❌ allow flexible growth */
            display: flex;
            flex-direction: column;
            justify-content: space-between;
      }
      .product-title {
        font-size: 14px;
        margin: 4px 0;
      }
    
      .product-description {
        font-size: 12px;
        line-height: 1.3;
        margin-bottom: 4px;
        flex-grow: 1;            /* fill space properly */
        text-overflow: ellipsis; /* prevent text spilling */
        overflow: hidden;
      }
    
      .product-image {
        max-height: 70px;        /* shrink image */
        margin-bottom: 6px;
        background: transparent !important;
      }
    .optronixponproduct-page {
        display: grid;
        grid-template-columns: .8rem 1fr .8rem;
    }

    .optronixponproduct-page-controls {
        grid-column: 2/3;
        margin-top: 10px;
    }

    .optronixponproduct-page-product {
        grid-column: 2/3;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
        margin-top: 50px;
    }

    .product-buttons {
      margin-top: auto;
      display: flex;           /* ✅ flex buttons */
      flex-wrap: wrap;         /* ✅ let buttons wrap if too wide */
      gap: 6px;
      justify-content: center; /* center align */
    }

    .obtn_product,
   
    .obtn_product2 {
      width: 100% !important;       /* full width under card */
      max-width: 90% !important;
      font-size: 12px !important;
    }
}
@media screen and (max-width: 980px) {
    .optronixponproduct-page {
      grid-template-columns: 1fr; /* Single column - stack */
      gap: 1rem;
      padding: 0 10px;
    }
  
    /* Sidebar goes full-width, above products */
    .optronixponproduct-page-controls {
      grid-column: 1/-1;
      position: static;  /* no sticky */
      box-shadow: none;
      border-bottom: 1px solid #eee;
      margin: 10px 0;
      padding: 10px;
      text-align: left;  /* align left */
    }
  
    /* Product cards: 2 per row */
    .optronixponproduct-page-product {
      grid-column: 1/-1;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      padding: 0;
    }
  
    .product-card {
      padding: 10px 8px;
      max-height: 280px;   /* 👈 controls vertical size */
    width: 100%; 
    justify-content: space-between; 
    }
    .product-image {
        top: 0;
        max-height: 120px;   /* scale image down in card */
      }
  
    .product-title {
      font-size: 12px;
      margin: 6px 0;
    }
  
    .product-description {
      font-size: 11px;
      margin: 4px 0;
      line-height: 1.3;
    }
  
    .obtn_product,
    .obtn_product1,
   
    .obtn_product2 {
      font-size: 11px;
      padding: 5px 3px;
      border-radius: 4px;
     }
     .obtn_product1{
      margin-left: 20px;
     }
  
  }
  @media screen and (max-width: 480px) {
    .optronixponproduct-page-product {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .product-card {
      padding: 0px 3px;
    }
  
    .product-title {
      font-size: 1.5rem;
    }
  }
/* Prevent tap highlight on mobile browsers */
.button-size,
.button-btn,
.obtn_product,
.obtn_product1,
.obtn_product2 {
  -webkit-tap-highlight-color: transparent; /* For iOS Safari */
  
}




/* You can keep these here or in a global CSS if you already used them elsewhere */
: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);
}

/* Layout */
.optronixpon-page{
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter);
  /* no min-height; avoids pushing the next component down */
  background: transparent;
}

.optronixpon-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 */
.optronixpon-page-pro-name{
  margin: 0 0 clamp(0.75rem, 2vw, 1.5rem);
  text-align: center;
  font-size: var(--h1);
  font-weight: 700;
}

/* Paragraph */
.optronixpon-page-pro-art{
  text-align: justify;
  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 */
}

/* CTA as a styled Link */
.optronixpro-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);
}
.optronixpro-btn:hover{ background-color: #dcdcdc; }
.optronixpro-btn:focus-visible{ outline: 2px solid #0a66ff; outline-offset: 2px; }

/* Ensure no extra bottom space from last child/margins */
.optronixpon-page-pro-main > :last-child{ margin-bottom: 0; }
.optronixpon-page + * { margin-top: 0; } /* neutralize next component’s top margin if any */

/* Tiny screens tweak */
@media (max-width: 480px){
  .optronixpon-page{
    grid-template-columns: clamp(0.5rem, 2vw, 0.8rem) 1fr clamp(0.5rem, 2vw, 0.8rem);
  }
}

/* If you already defined these vars globally, you can omit this :root block */
: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);
}

/* Layout */
.optronixpon-page{
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter);
  background: transparent; /* no forced height */
}

.optronixpon-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 */
.optronixpon-page-pro-name{
  margin: 0 0 clamp(0.75rem, 2vw, 1.5rem);
  text-align: center;
  font-size: var(--h1);
  font-weight: 700;
}

/* Paragraph */
.optronixpon-page-pro-art{
  text-align: justify;
  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 */
}

/* Prevent top gap from next component’s margin */
.optronixpon-page + * { margin-top: 0; }

/* Tiny screens tweak */
@media (max-width: 480px){
  .optronixpon-page{
    grid-template-columns: clamp(0.5rem, 2vw, 0.8rem) 1fr clamp(0.5rem, 2vw, 0.8rem);
  }
}

html,body{
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
   overflow-x: hidden;
}

/* ====================
   Base Styles (Mobile First)
   ==================== */
.product_s1v1_product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 0 1rem;
  max-width: 1400px;
  margin: 2rem auto;
  width: 100%;
  box-sizing: border-box;
}

/* Tablet and larger */
@media (min-width: 640px) {
  .product_s1v1_product {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .product_s1v1_product {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Large Desktop */
@media (min-width: 1280px) {
  .product_s1v1_product {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product_s1v1_product1,
.product_s1v1_product2,
.product_s1v1_product3,
.product_s1v1_product4 {
  width: 100%;
  height: auto;
  min-height: 320px;
  margin-bottom: 0;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for desktop */
@media (hover: hover) {
  .product_s1v1_product1:hover,
  .product_s1v1_product2:hover,
  .product_s1v1_product3:hover,
  .product_s1v1_product4:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  }
}

/* Adjust card height for different screen sizes */
@media (min-width: 768px) {
  .product_s1v1_product1,
  .product_s1v1_product2,
  .product_s1v1_product3,
  .product_s1v1_product4 {
    min-height: 350px;
  }
}

@media (min-width: 1024px) {
  .product_s1v1_product1,
  .product_s1v1_product2,
  .product_s1v1_product3,
  .product_s1v1_product4 {
    min-height: 380px;
  }
}

.product_s1v1_img {
  width: 100%;
  max-width: 200px;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  margin: 0 auto 1.5rem;
  transition: transform 0.3s ease;
}

/* Adjust image size for different screens */
@media (min-width: 768px) {
  .product_s1v1_img {
    max-height: 200px;
  }
}

.products1v_name_option {
  font-size: 1.2rem;
  color: #333;
  margin: 0.5rem 0;
}

.products1v_button_option {
  padding: 0.6rem 1.2rem;
  background-color: #A7402D; /* Changed to #A7402D */
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.products1v_button_option:hover {
  background-color: #8c3728; /* Slightly darker shade for hover */
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
/* Bleed sections: allow scroll to continue past snap points */
.snap-bleed {
  min-height: 1px;
  scroll-snap-align: none;
}
.product1_d1{
    display: grid;
    grid-template-columns: 6.25rem 1.8fr 1fr 6.25rem;
    margin-top: 50px;
    
}

.product_d{
    background-color: #f9f9f9;
}

.product1_d1_1{
    grid-column: 2 / 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #f9f9f9;
    border-radius: 10px 0 0 10px;

}

.product1_d1_2{
    grid-column: 3 / 4;
    background-color: #f9f9f9;
    border-radius: 0 10px 10px 0;    
}



.product1_d1_2_img{
    width: 95%;
    display: block;
    margin: 30px 10px
}

.sumitomos1vp{
    font-size: 60px;
    margin-top: 30px;
    color: #A7402D;
    margin-left: 10px;
}

.product1_d1_h1{
    grid-column: 1 / 2;
    display: grid;
    grid-template-rows: 1.5fr 1fr;
}

.product1_d1_h2{
    grid-column: 2 / 3;
}

.product1_d1_s1{
    grid-row: 1 / 2;
}

.product1_d1_s2{
    grid-row: 2 / 3;
}


.product_button{
    border: none;
    border-radius: 26px;
    padding: 12px 30px ;
    background-color: #A7402D;
    color: white;
    font-size: 20px;
    margin-top: 50px;
    margin-left: 50px;
    cursor: pointer;
}


.product_icon{
    width: 30%;
    margin: 15px;
    align-self: center;
}



.product_d_feature{
    display: grid;
    grid-template-columns: 6.25rem 1.5fr .9fr 6.25rem;
    margin-top: 50px;
}


.product_d_feature_art{
    grid-column: 2 / 3;
    margin-top: 80px;
}

.product_d_feature_img{
    grid-column: 3 / 4;
}

.product_d_product {
    display: grid;
    grid-template-columns: 6.25rem 1fr 1fr 1fr 1fr 6.25rem;
    margin-top: 50px;

}

.product_d_product1{
    grid-column: 2 / 3;
    width: 80%;
    height: 40vh;
    background-color: #e6e6e6;
    border-radius: 30px 0 30px 0;
    
}

.product_d_product2{
    grid-column: 3 / 4;
    width: 80%;
    height: 40vh;
    background-color: #e6e6e6;
    border-radius: 30px 0 30px 0;
   
}

.product_d_product3{
    grid-column: 4 / 5;
    width: 80%;
    height: 40vh;
    background-color: #e6e6e6;
    border-radius: 30px 0 30px 0;
    
}

.product_d_product4{
    grid-column: 5 / 6;
    width: 80%;
    height: 40vh;
    background-color: #e6e6e6;
    border-radius: 30px 0 30px 0;
    
}


.product_d_img{
    height: 50%;
    display: block;
    margin: 0 auto;
    margin-top: 15px;
}

.product_button_option{
    border: none;
    border-radius: 26px;
    padding: 8px 24px ;
    background-color: #A7402D;
    color:white;
    margin-top: 50px;
    margin-left: 50px;
    display: block;
    margin: 0 auto;
    margin-top: 20px;
    text-decoration: none;
    cursor: pointer;

}

.product_name_option{
    justify-self: center;
    margin-top: 10%;
    color: #A7402D;
    font-size: 20px;

}


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


    .product1_d1{
        display: grid;
        grid-template-columns: .8rem 1fr .8rem;
        grid-template-rows: auto;
    }

    .product1_d1_1{
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        border-radius: 0 0 7px 7px;
    }

    .product1_d1_h1{
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

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

    .product1_d1_2{
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        border-radius: 7px 7px 0 0;
    }

    .product_d_feature{
        display: grid;
        grid-template-columns:3rem 1fr 3rem;
        grid-template-rows: auto;
    }

    .product_d_feature_img{
        grid-column: 2 / 3;
        grid-row: 1 / 2;

    }

    .product_d_feature_art{
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .product_d_product{
        display: grid;
        grid-template-columns: .8rem 1fr .8rem;
        grid-template-rows: auto;
        row-gap: 10vh;
    }

    .product_d_product1{
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        width: 100%;
        
    }

    .product_d_product2{
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        width: 100%;
    }

    .product_d_product3{
        grid-column: 2 / 3;
        grid-row: 3 / 4;
        width: 100%;
    }

    .product_d_product4{
        grid-column: 2 / 3;
        grid-row: 4 / 5;
        width: 100%;
    }


}

















/*s1v*/ 



.product_s1v1{
    display: grid;
    grid-template-columns: 6.25rem 1.8fr 1fr 6.25rem;
    margin-top: 50px;
    
}

.product_s1v1_1{
    grid-column: 2 / 3;
    display: grid;
    grid-template-columns: 1.2fr .2fr;
    background-color: #f9f9f9;
    border-radius: 10px 0 0 10px;
}

.product_s1v1_2{
    grid-column: 3 / 4;
    background-color: #f9f9f9;
    border-radius: 0 10px 10px 0;    
}



.product_s1v1_2_img{
    width: 95%;
    display: block;
    margin: 30px 10px
}

.product_s1v1_s1_name{
    font-size: 50px;
    margin-top: 30px;
    color: #8cb406;
    margin-left: 10px;
}

.product_s1v1_h1{
    grid-column: 1 / 2;
    display: grid;
    grid-template-rows: auto;
    margin-top: 10px;
    gap: 10px;
}

.product_s1v1_h2{
    grid-column: 2 / 3;
}

.product_s1v1_s1{
    grid-row: 1 / 2;
}

.product_s1v1_s2{
    grid-row: 2 / 3;
}


.products1v_button{
    border: none;
    border-radius: 26px;
    padding: 12px 30px ;
    background-color: #A7402D;
    color: white;
    font-size: 20px;
    margin: 20px 0 20px 10px;
    cursor: pointer;
}


.products1v_icon{
    width: 60px;
    height: 60px;
    margin: 5px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 7px;
     transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.products1v_icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.products1v_icon1{
    margin-top: 50px;
}




.product_d_feature{
    display: grid;
    grid-template-columns: 6.25rem 1.5fr .9fr 6.25rem;
    margin-top: 50px;
}


.product_d_feature_art{
    grid-column: 2 / 3;
    margin-top: 80px;
}

.product_d_feature_img{
    grid-column: 3 / 4;
}


.table-s1v{
    display: grid;
    grid-template-columns: 6.25rem 1fr 6.25rem;
    grid-template-rows: auto;
    margin-top: 50px;
}



.table-container {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table {
    width: 100%;
    border-collapse: collapse;
    /* background-color: #eef7fc; */
  }
  
  .custom-table th, 
  .custom-table td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }

  
  
  .custom-table th {
    /* background-color: #D7E99F; */
    font-weight: bold;
  }


  

.custom-table-bg-one {
     background-color: #f5f5f5; 
}
 

.custom-table-bg-two {
     background-color: white; 
}
 
  
 

  .section-header {
    background-color: #E6E6E6 !important; 
    font-weight: bold;
    text-align: center;
  }


  

  .table-container-two{
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  

  .custom-table-two {
    width: 100%;
    border-collapse: collapse;
    background-color: #eef7fc;
  }

  .section-header-two {
    transform: rotate(90);
  }
  
  .custom-table-two th, 
  .custom-table-two td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-two th {
    background-color: #D7E99F;
    font-weight: bold;
  }
  
  .section-header-two {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }

  .table-container-three{
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  .custom-table-three {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #A7402D;
    background-color: white;
  }
  
  .custom-table-three th, 
  .custom-table-three td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-three th {
    background-color: #D7E99F;
    font-weight: bold;
  }


  
  /*s1v Ultra*/


 .product_s1v1_u1_name{
    font-size: 50px;
    margin-top: 30px;
    color: #ff8000;
    margin-left: 10px;
}

  .custom-table-su {
    width: 100%;
    border-collapse: collapse;
    background-color: #eef7fc;
  }
  
  .custom-table-su th, 
  .custom-table-su td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }

  
  
  .custom-table-su th {
    background-color: #FEB46A;
    font-weight: bold;
  }

  .custom-table-two-su {
    width: 100%;
    border-collapse: collapse;
    background-color: #eef7fc;
  }

  .section-header-two-su {
    transform: rotate(90);
  }
  
  .custom-table-two-su th, 
  .custom-table-two-su td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-two-su th {
    background-color: #FEB46A;
    font-weight: bold;
  }


   .custom-table-three-su {
    width: 100%;
    border-collapse: collapse;
    background-color: #eef7fc;
  }

  .section-header-three-su {
    transform: rotate(90);
  }
  
  .custom-table-three-su th, 
  .custom-table-three-su td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-three-su th {
    background-color: #FEB46A;
    font-weight: bold;
  }


 


   /*s1v mobile */

   

@media screen and (max-width: 768px) {
    .table-s1v {
        display: grid;
        grid-template-columns: .8rem 1fr .8rem;
        grid-template-rows: auto;
        margin-top: 50px;
    }

    .product_s1v1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
        text-align: center;
    }

    .product_s1v1_1 {
        width: 100%;
        max-width: 100%;
        padding: 1rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .product_s1v1_s1 p {
        margin: 0 auto 1rem;
        text-align: center;
        max-width: 90%;
    }

    .product_s1v1_s2 {
        text-align: center;
        margin: 1rem auto;
        width: 100%;
    }

    .products1v_icon{
        width: 55px;
        height: 55px;
    
    }

    .product_s1v1_2 {
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 1rem 0;
    }

    .products1v-feature-section-f2 {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 2rem 0;
        padding: 0 1rem;
    }
    
    .features1v-section-f2-a{
       grid-column: 2 / 3;
       grid-row: 1 / 2;
    
    }
 
    
    .featurez2c-section-f2-b p {
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: center;
        margin: 0 auto;
        max-width: 90%;
    }

    .products1v_icon1{
        margin-top: 0;
    }

    /* ====================
   Similar Products Section
   ==================== */
.similerproduct {
    text-align: center;
    margin: 3rem 0;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.similerproduct h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #A7402D;
    position: relative;
    display: inline-block;
    padding-bottom: 0.8rem;
    margin: 0 auto 1.5rem;
    line-height: 1.3;
}

.similerproduct h3:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #A7402D;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* ====================
   Responsive Tables
   ==================== */
/* Base table container */
.table-z2c1 {
  width: 100%;
  margin: 2rem 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


/* Table container for horizontal scrolling on mobile */

.table-container-z2c1,
.table-container-two,
.table-container-three {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
  border-radius: 8px;
  display: block;
}

/* Base table styles */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 600px; /* Minimum width before scrolling */
}

/* Table header styles */
thead td,
thead th {
  background-color: #A7402D;
  color: white;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
  font-size: 1.1rem;
}

/* Table body styles */
tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

/* Table cell styles */
td, th {
  padding: 0.8rem 1rem;
  border: 1px solid #e0e0e0;
  vertical-align: middle;
  text-align: left;
  line-height: 1.5;
}

/* First column styling */
td:first-child,
th:first-child {
  font-weight: 500;
  color: #333;
  width: 40%;
}

/* Hover effect */
tbody tr:hover {
  background-color: #f0f0f0;
}

/* Specific table styles */
.custom-table-z2c1,
.custom-table-two,
.custom-table-three {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .table-z2c1,
  .table-container-z2c1,
  .table-container-two,
  .table-container-three {
    margin: 1rem -1rem;
    width: calc(100% + 2rem);
    border-radius: 0;
    
  }
  
  table {
    min-width: 100%;
  }
  
  td, th {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
  
  thead td,
  thead th {
    font-size: 1rem;
    padding: 0.8rem;
  }
}
/* Base table styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

/* Table header */
.section-header-z2c1 {
  background-color: #A7402D;
  color: white;
  font-weight: 600;
  text-align: left;
}

.section-header-z2c1 td {
  padding: 1rem;
  font-size: 1.1rem;
}

/* Table rows */
.custom-table-bg-one,
.custom-table-bg-two {
  transition: background-color 0.2s ease;
}

.custom-table-bg-one {
  background-color: #f9f9f9;
}

.custom-table-bg-two {
  background-color: #ffffff;
}

/* Table cells */
td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
  line-height: 1.5;
}

/* First column styling */
td:first-child {
  font-weight: 500;
  color: #333;
  width: 40%;
}

/* Second column styling */
td:last-child {
  color: #555;
  width: 60%;
}

/* Hover effect */
tr:not(.section-header-z2c1):hover {
  background-color: #f0f0f0;
}

/* ====================
   Responsive Adjustments
   ==================== */
   @media (max-width: 992px) {
    .custom-table-z2c1,
    .custom-table-two,
    .custom-table-three {
      font-size: 13px;
      width: 100%;   /* always stretch full width */
    }
  }
/* Small devices (landscape phones, 576px and up) */
@media (max-width: 768px) {
  /* Make table scrollable on small screens */
  .responsive-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* Stack table rows on mobile */
  table {
    min-width: 600px; /* Ensure table doesn't shrink below this width */
  }
  
  /* Add some spacing for better mobile viewing */
  .section-header-z2c1 td,
  td {
    padding: 0.6rem 0.8rem;
  }
  
  /* Make section headers more compact on mobile */
  .section-header-z2c1 td {
    font-size: 1rem;
    padding: 0.8rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  table {
    font-size: 1rem;
  }
  
  .section-header-z2c1 td,
  td {
    padding: 0.8rem 1.2rem;
  }
}
@media (min-width: 576px) {
    .similerproduct h3 {
        font-size: 2rem;
    }
    
    .product_s1v1_product {
        padding: 0 1.5rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .similerproduct {
        margin: 4rem 0 3rem;
    }
    
    .similerproduct h3 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .product_s1v1_product {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .product_s1v1_img {
        max-height: 200px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .product_s1v1_product {
        grid-template-columns: repeat(3, 1fr);
        padding: 0 2rem;
    }
    
    .similerproduct h3 {
        font-size: 2.4rem;
    }
    
    .product_s1v1_img {
        max-height: 220px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .product_s1v1_product {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1400px;
        margin: 3rem auto 4rem;
    }
    
    .similerproduct {
        margin: 5rem 0 3rem;
    }
    
    .similerproduct h3 {
        font-size: 2.5rem;
    }
}

    .product_z2c1{
        display: grid;
        grid-template-columns: .8rem 1fr .8rem;
        grid-template-rows: auto;
    }

    .product_z2c1_1{
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        border-radius: 0 0 7px 7px;
    }

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

    .product_z2c1_h2{
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .productz2c_icon{
        width: 55px;
        height: 55px;
    
    }

    .product_z2c1_2{
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        border-radius: 7px 7px 0 0;
    }

    .productz2c-feature-section-f2{
        display: grid;
        grid-template-columns: 3rem 1fr 3rem;
        grid-template-rows: auto;
        margin-top: 30px;
    }
    
    .featurez2c-section-f2-a{
       grid-column: 2 / 3;
       grid-row: 1 / 2;
    
    }
    .featurez2c-section-f2-a,
    .featurez2c-section-f2-b {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .featurez2c-section-f2-b{
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        margin-top: 20px;
    }

    .productz2c_icon1{
        margin-top: 0;
    }






    .product_z2c1_feature{
        display: grid;
        grid-template-columns:.8rem 1fr .8rem;
        grid-template-rows: auto;
    }

    .product_z2c1_feature_img{
        grid-column: 2 / 3;
        grid-row: 1 / 2;

    }

    .product_z2c1_feature_art{
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .product_z2c1_product{
        display: grid;
        grid-template-columns: .8rem 1fr .8rem;
        grid-template-rows: auto;
        row-gap: 10vh;
    }

    .product_z2c1_product1{
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        width: 100%;
        
    }

    .product_z2c1_product2{
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        width: 100%;
    }

    .product_z2c1_product3{
        grid-column: 2 / 3;
        grid-row: 3 / 4;
        width: 100%;
    }

    .product_z2c1_product4{
        grid-column: 2 / 3;
        grid-row: 4 / 5;
        width: 100%;
    }


}



/*w1c Table*/

.table-w1c{
    display: grid;
    grid-template-columns: 6.25rem 1fr 6.25rem;
    grid-template-rows: auto;
    margin-top: 50px;
}

.table-container-w1c {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-w1c {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
  }
  
  .custom-table-w1c th, 
  .custom-table-w1c td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-w1c th {
    background-color: #FFCE5F;
    font-weight: bold;
  }
  
 
  

 
  
  .section-header-w1c {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }


  .table-container-w1c-two {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-w1c-two {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
    background-color: #eef7fc;
  }
  
  .custom-table-w1c-two th, 
  .custom-table-w1c-two td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-w1c-two th {
    background-color: #FFCE5F;
    font-weight: bold;
  }
  
 
  

 
  
  .section-header-w1c-two {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }




  .table-container-w1c-three {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-w1c-three {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
    background-color: #eef7fc;
  }
  
  .custom-table-w1c-three th, 
  .custom-table-w1c-three td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-w1c-three th {
    background-color: #FFCE5F;
    font-weight: bold;
  }
  
 
  
  

 
  
  .section-header-w1c-three {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }

  .table-container-w1c-four{
    grid-column: 2 / 3;
    grid-row: 4 / 5;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }


  /*z2c*/

  .table-z2c1{
    display: grid;
    grid-template-columns: 6.25rem 1fr 6.25rem;
    grid-template-rows: auto;
    margin-top: 50px;
}

.table-container-z2c1 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    
    
  }
  
  .custom-table-z2c1 {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
  }
  
  .custom-table-z2c1 th, 
  .custom-table-z2c1 td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-z2c1 th {
    background-color: #eaf3b7;
    font-weight: bold;
  }
  
 
  

 
  
  .section-header-z2c1 {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }


  .table-container-z2c1-two {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-z2c1-two {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
    background-color: #eef7fc;
  }
  
  .custom-table-z2c1-two th, 
  .custom-table-z2c1-two td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-z2c1-two th {
    background-color: #eaf3b7;
    font-weight: bold;
  }
  
 
  

 
  
  .section-header-z2c1-two {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }




  .table-container-z2c1-three {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-z2c1-three {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
    background-color: #eef7fc;
  }
  
  .custom-table-z2c1-three th, 
  .custom-table-z2c1-three td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-z2c1-three th {
    background-color: #eaf3b7;
    font-weight: bold;
  }
  

  
  .section-header-z2c1-three {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }

  .table-container-z2c1-four{
    grid-column: 2 / 3;
    grid-row: 4 / 5;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }


  /*82c*/

  .table-82c{
    display: grid;
    grid-template-columns: 6.25rem 1fr 6.25rem;
    grid-template-rows: auto;
    margin-top: 50px;
}

.table-container-82c {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-82c {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
  }
  
  .custom-table-82c th, 
  .custom-table-82c td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-82c th {
    background-color: #ff8453;
    font-weight: bold;
  }
  
 
  

 
  
  .section-header-82c {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }


  .table-container-82c-two {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-82c-two {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
    background-color: #eef7fc;
  }
  
  .custom-table-82c-two th, 
  .custom-table-82c-two td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-82c-two th {
    background-color: #ff8453;
    font-weight: bold;
  }
  
 
  

 
  
  .section-header-82c-two {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }




  .table-container-82c-three {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-82c-three {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
    background-color: #eef7fc;
  }
  
  .custom-table-82c-three th, 
  .custom-table-82c-three td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-82c-three th {
    background-color: #ff8453;
    font-weight: bold;
  }
  

  
  .section-header-82c-three {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }

  .table-container-82c-four{
    grid-column: 2 / 3;
    grid-row: 4 / 5;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }


  /*82m*/

    .table-82m{
    display: grid;
    grid-template-columns: 6.25rem 1fr 6.25rem;
    grid-template-rows: auto;
    margin-top: 50px;
}

.table-container-82m {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-82m {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
  }
  
  .custom-table-82m th, 
  .custom-table-82m td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-82m th {
    background-color: #f6a576;
    font-weight: bold;
  }
  
 
  

 
  
  .section-header-82m {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }


  .table-container-82m-two {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-82m-two {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
    background-color: #eef7fc;
  }
  
  .custom-table-82m-two th, 
  .custom-table-82m-two td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-82m-two th {
    background-color: #f6a576;
    font-weight: bold;
  }
  
 
  

 
  
  .section-header-82m-two {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }




  .table-container-82m-three {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-82m-three {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
    background-color: #eef7fc;
  }
  
  .custom-table-82m-three th, 
  .custom-table-82m-three td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-82m-three th {
    background-color: #f6a576;
    font-weight: bold;
  }
  

  
  .section-header-82m-three {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }

  .table-container-82m-four{
    grid-column: 2 / 3;
    grid-row: 4 / 5;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }



  /*fc8r*/

  .table-fc8r{
    display: grid;
    grid-template-columns: 6.25rem 1fr 6.25rem;
    grid-template-rows: auto;
    margin-top: 50px;
}

.table-container-fc8r {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-fc8r {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
  }
  
  .custom-table-fc8r th, 
  .custom-table-fc8r td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-fc8r th {
    background-color: #938CC6;
    font-weight: bold;
  }

  .section-header-fc8r {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }

  .table-container-fc8r-two {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-fc8r-two {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
    background-color: #eef7fc;
  }
  
  .custom-table-fc8r-two th, 
  .custom-table-fc8r-two td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-fc8r-two th {
    background-color: #FFCE5F;
    font-weight: bold;
  }
  
  
  .section-header-fc8r-two {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }




  .table-container-fc8r-three {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-fc8r-three {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
    background-color: #eef7fc;
  }
  
  .custom-table-fc8r-three th, 
  .custom-table-fc8r-three td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-fc8r-three th {
    background-color: #FFCE5F;
    font-weight: bold;
  }
  

  
  .section-header-fc8r-three {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }

  .table-container-fc8r-four{
    grid-column: 2 / 3;
    grid-row: 4 / 5;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }



  /*s70*/

  .table-s70{
    display: grid;
    grid-template-columns: 6.25rem 1fr 6.25rem;
    grid-template-rows: auto;
    margin-top: 50px;
}

.table-container-s70 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-s70 {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
  }
  
  .custom-table-s70 th, 
  .custom-table-s70 td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-s70 th {
    background-color: #9ADAF4;
    font-weight: bold;
  }

  .section-header-s70 {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }

  .table-container-s70-two {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-s70-two {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
    background-color: #eef7fc;
  }
  
  .custom-table-s70-two th, 
  .custom-table-s70-two td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-s70-two th {
    background-color: #FFCE5F;
    font-weight: bold;
  }
  
  
  .section-header-s70-two {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }




  .table-container-s70-three {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-s70-three {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
    background-color: #eef7fc;
  }
  
  .custom-table-s70-three th, 
  .custom-table-s70-three td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-s70-three th {
    background-color: #FFCE5F;
    font-weight: bold;
  }
  

  
  .section-header-s70-three {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }

  .table-container-s70-four{
    grid-column: 2 / 3;
    grid-row: 4 / 5;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }


  /*fc7l*/

  .table-fc7l{
    display: grid;
    grid-template-columns: 6.25rem 1fr 6.25rem;
    grid-template-rows: auto;
    margin-top: 50px;
}

.table-container-fc7l {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-fc7l {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
  }
  
  .custom-table-fc7l th, 
  .custom-table-fc7l td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-fc7l th {
    background-color: #BE9BCD;
    font-weight: bold;
  }

  .section-header-fc7l {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }

  .table-container-fc7l-two {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-fc7l-two {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
    background-color: #eef7fc;
  }
  
  .custom-table-fc7l-two th, 
  .custom-table-fc7l-two td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-fc7l-two th {
    background-color: #BE9BCD;
    font-weight: bold;
  }
  
  
  .section-header-fc7l-two {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }




  .table-container-fc7l-three {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-fc7l-three {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
    background-color: #eef7fc;
  }
  
  .custom-table-fc7l-three th, 
  .custom-table-fc7l-three td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-fc7l-three th {
    background-color: #BE9BCD;
    font-weight: bold;
  }
  

  
  .section-header-fc7l-three {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }

  .table-container-fc7l-four{
    grid-column: 2 / 3;
    grid-row: 4 / 5;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }



  /*sfcs*/

  .table-sfcs{
    display: grid;
    grid-template-columns: 6.25rem 1fr 6.25rem;
    grid-template-rows: auto;
    margin-top: 50px;
}

.table-container-sfcs {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-sfcs {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
  }
  
  .custom-table-sfcs th, 
  .custom-table-sfcs td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-sfcs th {
    background-color: #ADA5CB;
    font-weight: bold;
  }

  .section-header-sfcs {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }

  .table-container-sfcs-two {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-sfcs-two {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
    background-color: #eef7fc;
  }
  
  .custom-table-sfcs-two th, 
  .custom-table-sfcs-two td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-sfcs-two th {
    background-color: #BE9BCD;
    font-weight: bold;
  }
  
  
  .section-header-sfcs-two {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }




  .table-container-sfcs-three {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-sfcs-three {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
    background-color: #eef7fc;
  }
  
  .custom-table-sfcs-three th, 
  .custom-table-sfcs-three td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-sfcs-three th {
    background-color: #BE9BCD;
    font-weight: bold;
  }
  

  
  .section-header-sfcs-three {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }

  .table-container-sfcs-four{
    grid-column: 2 / 3;
    grid-row: 4 / 5;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }


  /*fc-6series*/

  .table-fc6s{
    display: grid;
    grid-template-columns: 6.25rem 1fr 6.25rem;
    grid-template-rows: auto;
    margin-top: 50px;
}

.table-container-fc6s {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-fc6s {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
  }
  
  .custom-table-fc6s th, 
  .custom-table-fc6s td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-fc6s th {
    background-color: #a2b3da;
    font-weight: bold;
  }

  .section-header-fc6s {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }

  .table-container-fc6s-two {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-fc6s-two {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
    background-color: #eef7fc;
  }
  
  .custom-table-fc6s-two th, 
  .custom-table-fc6s-two td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-fc6s-two th {
    background-color: #BE9BCD;
    font-weight: bold;
  }
  
  
  .section-header-fc6s-two {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }




  .table-container-fc6s-three {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-fc6s-three {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5f5f5f;
    background-color: #eef7fc;
  }
  
  .custom-table-fc6s-three th, 
  .custom-table-fc6s-three td {
    border: 1px solid #5f5f5f;
    padding: 12px;
    text-align: left;
  }
  
  .custom-table-fc6s-three th {
    background-color: #BE9BCD;
    font-weight: bold;
  }
  

  
  .section-header-fc6s-three {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
  }

  .table-container-fc6s-four{
    grid-column: 2 / 3;
    grid-row: 4 / 5;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

/* Mobile styles for product layout - image before text */
@media (max-width: 767px) {
    .product_s1v1_2 {
        order: -1; /* Move image to top on mobile */
        margin-bottom: 20px;
    }
    
    .product_s1v1_2_img {
        max-width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: contain;
    }
}

/* Existing styles */
@media (max-width: 992px) {
  .featurez2c-section-f2-a, .featurez2c-section-f2-b {
    flex: 1 1 100%;
    
  }
  .custom-table-z2c1,
  .custom-table-two,
  .custom-table-three {
    font-size: 13px;
    min-width: 500px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .custom-table-z2c1,
  .custom-table-two,
  .custom-table-three {
    font-size: 12px;
    min-width: 400px;
  }
  .product_s1v1_1, .product_s1v1_2 {
    flex: 1 1 100%;
  }
  .products1v_icon {
    width: 45px;
  }
  .featurez2c-section-f2-b{
    align-items: center !important;
  }
}











/* Mobile + Tablet */
@media (max-width: 992px) {
  .table-container,
  .table-container-z2c1,
  .table-container-z2c1-two,
  .table-container-z2c1-three,
   .table-container-w1c-three,
  .table-container-two,
  .table-container-three,
  .table-container-w1c,
  .table-container-82c,
  .table-container-82c-two,

  .table-container-82c-three,
  .table-container-82m,
  .table-container-82m-two,
  .table-container-82m-three,
  .table-container-fc8r,
  .table-container-s70,
  .table-container-fc7l,
  .table-container-fc7l-two,
  .table-container-fc7l-three,
  .table-container-fc7l-four,
  .table-container-sfcs,
  .table-container-fc6s {
    grid-column: 1 / -1;          /* stretch to full grid width */
    display: block;               
    width: 100%;
    margin: 0;                    /* reset offsets */
    padding-left: 2%;             /* ⭐ 1% space from left */
              /* optional: keep right tight */
    overflow-x: auto;             /* horizontal scroll */
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;       /* ensures padding doesn’t break width */
  }
  .table-container-w1c,
  .table-container-w1c-two,
  .table-container-w1c-three {
    display: block;
    width: 100%;
    overflow-x: auto;                  /* ← scroll kicks in */
    -webkit-overflow-scrolling: touch; /* ← smooth iOS scroll */
    padding-left: 2%;                  /* small space to avoid edge clipping */
    box-sizing: border-box;
    margin: 1rem 0;                    /* consistent spacing */
  }
  .table-container-82c,
  .table-container-82c-two,
  .table-container-82c-three {
    display: block;
    width: 100%;
    overflow-x: auto;                  /* side-scroll inside container */
    -webkit-overflow-scrolling: touch; /* smooth swipe on iOS */
    padding-left: 2%;                  /* tiny spacing so content doesn't jam against edge */
    box-sizing: border-box;
    margin: 1rem 0;                    /* nice breathing room */
  }
  .table-container-82m,
  .table-container-82m-two,
  .table-container-82m-three {
    display: block;
    width: 100%;
    overflow-x: auto;                  /* ✅ sideways scroll inside container */
    -webkit-overflow-scrolling: touch; /* ✅ smooth swipe in iOS */
    padding-left: 2%;                  /* little gap so text doesn’t glue to edge */
    box-sizing: border-box;
    margin: 1rem 0;
  }
  .table-container-fc8r {
    display: block;
    width: 100%;
    overflow-x: auto;                  /* ✅ scrolls sideways */
    -webkit-overflow-scrolling: touch; /* ✅ smooth momentum scrolling on iOS */
    padding-left: 2%;                  /* little margin so it’s not flush */
    box-sizing: border-box;
    margin: 1rem 0;
  }
  .table-container-s70 {
    display: block;
    width: 100%;
    overflow-x: auto;                  /* ✅ horizontal scroll inside container */
    -webkit-overflow-scrolling: touch; /* ✅ smooth iOS scrolling */
    padding-left: 2%;                  /* small visual buffer */
    box-sizing: border-box;
    margin: 1rem 0;
  }
  .table-container-fc7l,
  .table-container-fc7l-two,
  .table-container-fc7l-three,
  .table-container-fc7l-four {
    display: block;
    width: 100%;
    overflow-x: auto;                  /* ✅ sideways scroll only inside wrapper */
    -webkit-overflow-scrolling: touch; /* ✅ smooth scroll for iOS */
    padding-left: 2%;                  /* little buffer so edges don’t hug */
    box-sizing: border-box;
    margin: 1rem 0;
  }
  .table-container-sfcs {
    display: block;
    width: 100%;
    overflow-x: auto;                  /* ✅ horizontal scroll enabled */
    -webkit-overflow-scrolling: touch; /* ✅ smooth momentum scroll for iOS */
    padding-left: 2%;                  /* small breathing space at left */
    box-sizing: border-box;
    margin: 1rem 0;
  }
  .table-container-fc6s {
    display: block;
    width: 100%;
    overflow-x: auto;                  /* ✅ sideways scroll inside wrapper */
    -webkit-overflow-scrolling: touch; /* ✅ smooth inertia scroll for iOS */
    padding-left: 2%;                  /* a little left padding for breathing room */
    box-sizing: border-box;
    margin: 1rem 0;
  }
}
@media (max-width: 992px) {
  .custom-table,
  .custom-table-z2c1,
 
  .custom-table-z2c1-three,
  .table-container-w1c-three,
  .custom-table-two,
  .custom-table-three,
  .custom-table-w1c,
  .custom-table-82c-two,
  
  .custom-table-82c-three,
  .custom-table-82c,
  .custom-table-82m,
  .custom-table-82m-two,
  .custom-table-82m-three,
  .custom-table-fc8r,
  .custom-table-fc7l-two,
  .custom-table-fc7l-three,
  .custom-table-fc7l-four,
  .custom-table-s70,
  .custom-table-fc7l,
  .custom-table-sfcs,
  .custom-table-fc6s {
    width: 100%;
    min-width: 600px;  /* keeps scrollable on tablets */
  }
  .custom-table-w1c,
  .custom-table-w1c-two,
  .custom-table-w1c-three {
    min-width: 600px;   /* tablets force scroll if container < 600px */
  }
  .custom-table-82c,
  .custom-table-82c-two,
  .custom-table-82c-three {
    min-width: 600px;   /* ensures scroll behavior on e.g. tablets */
  }
  .custom-table-82m,
  .custom-table-82m-two,
  .custom-table-82m-three {
    min-width: 600px;   /* for tablets */
  }
  .custom-table-fc8r {
    min-width: 600px;   /* force horizontal scroll on tablets */
  }
  .custom-table-s70 {
    min-width: 600px;   /* forces horizontal scroll on tablet widths */
  }
  .custom-table-fc7l {
    min-width: 600px;   /* ensures scroll triggers on tablets */
  }
  .custom-table-fc7l-two {
    min-width: 600px;   /* ensures scroll triggers on tablets */
  }
  .custom-table-fc7l-three {
    min-width: 600px;   /* ensures scroll triggers on tablets */
  }
  .custom-table-fc7l-four {
    min-width: 600px;   /* ensures scroll triggers on tablets */
  }
  .custom-table-sfcs {
    min-width: 600px;   /* forces scrollbars on tablet view */
  }
  .custom-table-fc6s {
    min-width: 600px;   /* tablets need to scroll sideways */
  }
}

@media (max-width: 600px) {
  .custom-table,
  .custom-table-z2c1,
  .custom-table-z2c1-two,
  .custom-table-z2c1-three,
  .table-container-w1c-three,
  .table-container-82c-three,
  .table-container-82c-two,
  .custom-table-fc7l-two,
  .custom-table-fc7l-three,
  .custom-table-fc7l-four,
  .table-container-82c,
  .table-container-82m,
  .table-container-82m-two,
  .table-container-82m-three,
  .custom-table-two,
  .custom-table-three {
    min-width: 400px;  /* scrollable on smaller phones */
  }
  .custom-table-w1c,
  .custom-table-w1c-two,
  .custom-table-w1c-three {
    min-width: 400px;   /* fits better on small phones */
    font-size: 0.9rem;  /* shrink font a touch for legibility */
  }
  .custom-table-82c,
  .custom-table-82c-two,
  .custom-table-82c-three {
    min-width: 400px;  /* still scrolls but fits phones better */
    font-size: 0.9rem; /* slightly smaller font for readability */
  }
  .custom-table-82m,
  .custom-table-82m-two,
  .custom-table-82m-three {
    min-width: 400px;   /* compact width for tiny screens but still scrolls */
    font-size: 0.9rem;  /* tiny font adjustment */
  }
  .custom-table-fc8r {
    min-width: 400px;   /* still scrollable but fits better */
    font-size: 0.9rem;  /* slightly smaller for readability */
  }
  .custom-table-s70 {
    min-width: 400px;   /* narrower scroll range for phones */
    font-size: 0.9rem;  /* slightly reduced text size */
  }
  .custom-table-fc7l {
    min-width: 400px;   /* scrollable but tighter */
    font-size: 0.9rem;  /* slightly smaller text for fit */
  }
  .custom-table-sfcs {
    min-width: 400px;   /* narrower minimum */
    font-size: 0.9rem;  /* smaller font for readability */
  }
  .custom-table-fc6s {
    min-width: 400px;   /* still scrolls, but fits narrower */
    font-size: 0.9rem;  /* slightly smaller text for readability */
  }
}



/* === Universal Table Wrapper (with margins) === */
.table-wrapper {
  width: 100%;
  max-width: 1200px;   /* keeps wide tables centered */
  margin: 2rem auto;   /* top-bottom spacing + centers horizontally */
  padding: 0 1rem;     /* small left/right breathing room */
  overflow-x: auto;    /* horizontal scroll on small screens */
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

/* === Main Table === */
.universal-table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 6px;
  overflow: hidden;
  background-color: #fff;
  font-size: 0.95rem;
}

/* === Table Cells === */
.universal-table th,
.universal-table td {
  border: 1px solid #5f5f5f;
  padding: 12px 16px;
  text-align: left;
  line-height: 1.5;
  vertical-align: top;
}

/* === Table Headers (lighter shade of brand color) === */
.universal-table thead th {
  background-color: #C45A48; /* lighter shade of #A7402D */
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  font-size: 1.05rem;
}

/* Section headers inside tbody (like "Accessories for Splicer") */
.universal-table .section-header {
  background-color: #E6E6E6;
  font-weight: bold;
  text-align: center;
}

/* === Alternating rows === */
.universal-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}
.universal-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

/* === Hover Effect === */
.universal-table tbody tr:hover {
  background-color: #f0f0f0;
  transition: background-color 0.2s ease-in-out;
}

/* === First Column Emphasis (Category column) === */
.universal-table td:first-child,
.universal-table th:first-child {
  font-weight: 500;
  color: #333;
}

/* === Responsive Adjustments === */
@media (max-width: 992px) {
  .universal-table {
    min-width: 600px;
    font-size: 0.9rem;
  }
}
@media (max-width: 600px) {
  .universal-table {
    min-width: 400px;
    font-size: 0.85rem;
  }
  .universal-table th,
  .universal-table td {
    padding: 8px 10px;
  }
}



@media (min-width: 2000px) {
  
  .product1_d1,
  .product_d_feature,
  .product_d_product,
  .product_s1v1,
  .product_s1v1_product,
  .product_z2c1,
  .product_z2c1_feature,
  .product_z2c1_product {
  max-width: 1400px; 
  margin-left: auto;
  margin-right: auto; 
  }
  

  .product_s1v1_img {
  max-width: 170px;
  }
  .product1_d1_2_img,
  .product_s1v1_2_img {
  width: 100%;
  max-width: 520px; 
  height: auto;
  }
  .product_d_img {
  width: auto;
  max-height: 180px;
  }
  .products1v_icon,
  .product_icon {
  width: 56px;
  height: auto;
  }
  .products1v-feature-section-f2 {
    max-width: 1400px; 
    margin-left: auto;
    margin-right: auto;
    }
  
    .products1v-feature-section-f2 img,
    .products1v-feature-section-f2 video,
    .products1v-feature-section-f2 svg {
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
    }

    .featurez2c-section-f2-a {
      position: relative;
      z-index: 0;
      max-width: 1400px; 
      width: 100%;
      margin-inline: auto; 
      justify-self: center; 
      padding-inline: 16px;
      box-sizing: border-box;
      }

      .featurez2c-section-f2-a::before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      width: 100vw; 
      transform: translateX(-50%);
      background: #f9f9f9; 
      z-index: -1;
      }
    
      .featurez2c-section-f2-a img,
      .featurez2c-section-f2-a video,
      .featurez2c-section-f2-a svg {
      width: 100%;
      max-width: 520px;
      height: auto;
      object-fit: contain;
      }
  }
  

  @media (max-width: 320px) {
 
  .product_s1v1_img {
  max-width: 140px;
  height: auto;
  }
  .product1_d1_2_img,
  .product_s1v1_2_img {
  width: 100%;
  max-width: 260px;
  height: auto;
  }
  .product_d_img {
  width: auto;
  max-height: 140px;
  }

  .products1v-feature-section-f2 {
    padding-left: 8px; 
    padding-right: 8px;
    position: relative;
    z-index: 0; 
  
    }
    .products1v-feature-section-f2::before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      width: 100vw;
      transform: translateX(-50%);
      background: #f9f9f9; 
      z-index: -1;
      }
      
      
      .products1v-feature-section-f2 > * {
      max-width: 1400px;
      margin-inline: auto;
      width: 100%;
      box-sizing: border-box;
      }
    .products1v-feature-section-f2 img,
    .products1v-feature-section-f2 video,
    .products1v-feature-section-f2 svg {
    width: 100%;
    max-width: 260px;
    height: auto;
    object-fit: contain;
    
    }

    .featurez2c-section-f2-a {
      position: relative;
      z-index: 0;
      padding-inline: 8px; 
      box-sizing: border-box;
      justify-self: center;
      }
                
      .featurez2c-section-f2-a::before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      width: 100vw;
      transform: translateX(-50%);
      background: #f9f9f9;
      z-index: -1;
      }

      .featurez2c-section-f2-a img,
      .featurez2c-section-f2-a video,
      .featurez2c-section-f2-a svg {
      width: 100%;
      max-width: 260px;
      height: auto;
      object-fit: contain;
      }
  }

/* ====================
   Key Features Section - Responsive
   ==================== */
.key-features-container {
  margin-left: 100px !important;
}

.key-features-title {
  text-align: left;
}

.key-features-list {
  text-align: left;
}

/* Mobile styles - center align on mobile */
@media (max-width: 768px) {
  .key-features-container {
    margin-left: 0;
    text-align: center;
  }
  
  .key-features-title {
    text-align: center;
  }
  
  .key-features-list {
    text-align: center;
  }
}




/* .product_z2c1{
    display: grid;
    grid-template-columns: 6.25rem 1.8fr 1fr 6.25rem;
    margin-top: 50px;
    
}

.product_z2c1_1{
    grid-column: 2/3;
    display: grid;
    grid-template-columns: 1.2fr .2fr;
    background-color: #e6e6e6;
    border-radius: 10px 0 0 0;
}

.product_z2c1_2{
    grid-column: 3/4;
    background-color: #e6e6e6;
    border-radius: 0 10px 10px 0;    
}



.product_z2c1_2_img{
    width: 95%;
    display: block;
    margin: 30px 10px
}

.product_z2c1_s1_name{
    font-size: 50px;
    margin-top: 30px;
    color: #A7402D;
    margin-left: 10px;
}

.product_z2c1_h1{
    grid-column: 1/2;
    display: grid;
    grid-template-rows: auto;
   
}

.product_z2c1_h2{
    grid-column: 2/3;
}

.product_z2c1_s1{
    grid-row: 1/2;
}

.product_z2c1_s2{
    grid-row: 2/3;
}


.productz2c_button{
    border: none;
    border-radius: 26px;
    padding: 12px 30px ;
    background-color: #A7402D;
    color: white;
    font-size: 20px;
    margin: 0 0 20px 10px;
    cursor: pointer;
}


.productz2c_icon{
    width: 60px;
    height: 60px;
    margin: 5px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.productz2c_icon:hover {
    transform: scale(1.1);
}









.product_d_feature{
    display: grid;
    grid-template-columns: 6.25rem 1.5fr .9fr 6.25rem;
    margin-top: 50px;
}


.product_d_feature_art{
    grid-column: 2/3;
    margin-top: 80px;
}

.product_d_feature_img{
    grid-column: 3/4;
}

.product_z2c1_product {
    display: grid;
    grid-template-columns: 6.25rem 1fr 1fr 1fr 1fr 6.25rem;
    margin-top: 50px;

}

.product_z2c1_product1{
    grid-column: 2/3;
    width: 80%;
    height: 40vh;
    background-color: #e6e6e6;
    border-radius: 30px 0 30px 0;
    
}

.product_z2c1_product2{
    grid-column: 3/4;
    width: 80%;
    height: 40vh;
    background-color: #e6e6e6;
    border-radius: 30px 0 30px 0;
   
}

.product_z2c1_product3{
    grid-column: 4/5;
    width: 80%;
    height: 40vh;
    background-color: #e6e6e6;
    border-radius: 30px 0 30px 0;
    
}

.productz2c_icon1{
    margin-top: 50px;
}

.product_z2c1_product4{
    grid-column: 5/6;
    width: 80%;
    height: 40vh;
    background-color: #e6e6e6;
    border-radius: 30px 0 30px 0;
    
}


.product_z2c1_img{
    height: 50%;
    display: block;
    margin: 0 auto;
    margin-top: 15px;
}

.productz2c_button_option{
    border: none;
    border-radius: 26px;
    padding: 8px 24px ;
    background-color: #A7402D;
    color:white;
    margin-top: 50px;
    margin-left: 50px;
    display: block;
    margin: 0 auto;
    margin-top: 20px;
    text-decoration: none;
    cursor: pointer;

}

.productz2c_name_option{
    justify-self: center;
    margin-top: 10%;
    color: #A7402D;
    font-size: 20px;

}




.productz2c-feature-section-f2{
    display: grid;
    grid-template-columns: 6.25rem 1fr 6.25rem;
    grid-template-rows: auto;
    margin-top: 50px;
}


.featurez2c-section-f2-a{
   grid-column: 2/3;
   grid-row: 1/2;

}

.featurez2c-section-f2-b{
    grid-column: 2/3;
    grid-row: 2/3;
    margin-top: 20px;
}


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


    .product_z2c1{
        display: grid;
        grid-template-columns: 3rem 1fr 3rem;
        grid-template-rows: auto;
    }

    .product_z2c1_1{
        grid-column: 2/3;
        grid-row: 2/3;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        border-radius: 0 0 7px 7px;
    }

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

    .product_z2c1_h2{
        grid-column: 1/2;
        grid-row: 1/2;
    }

    .productz2c_icon{
        width: 55px;
        height: 55px;
    
    }

    .product_z2c1_2{
        grid-column: 2/3;
        grid-row: 1/2;
        border-radius: 7px 7px 0 0;
    }

    .productz2c-feature-section-f2{
        display: grid;
        grid-template-columns: 3rem 1fr 3rem;
        grid-template-rows: auto;
        margin-top: 30px;
    }
    
    
    .featurez2c-section-f2-a{
       grid-column: 2/3;
       grid-row: 1/2;
    
    }
    
    .featurez2c-section-f2-b{
        grid-column: 2/3;
        grid-row: 2/3;
        margin-top: 20px;
    }

    .productz2c_icon1{
        margin-top: 0;
    }






    .product_z2c1_feature{
        display: grid;
        grid-template-columns:3rem 1fr 3rem;
        grid-template-rows: auto;
    }

    .product_z2c1_feature_img{
        grid-column: 2/3;
        grid-row: 1/2;

    }

    .product_z2c1_feature_art{
        grid-column: 2/3;
        grid-row: 2/3;
    }

    .product_z2c1_product{
        display: grid;
        grid-template-columns: 3rem 1fr 3rem;
        grid-template-rows: auto;
        row-gap: 10vh;
    }

    .product_z2c1_product1{
        grid-column: 2/3;
        grid-row: 1/2;
        width: 100%;
        
    }

    .product_z2c1_product2{
        grid-column: 2/3;
        grid-row: 2/3;
        width: 100%;
    }

    .product_z2c1_product3{
        grid-column: 2/3;
        grid-row: 3/4;
        width: 100%;
    }

    .product_z2c1_product4{
        grid-column: 2/3;
        grid-row: 4/5;
        width: 100%;
    }


}

.table-z2c{
    display: grid;
    grid-template-columns: 6.25rem 1fr 6.25rem;
    grid-template-rows: auto;
    margin-top: 50px;
}

.table-container-z2c {
    grid-column: 2/3;
    grid-row: 2/3;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-z2c {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #A7402D;
    
  }
  
  .custom-table-z2c th, 
  .custom-table-z2c td {
    border: 1px solid #A7402D;
    padding: 12px;
    text-align: left;
  }

  .custom-table-z2c td{
    background-color: white;

  }
  
  .custom-table-z2c th {
    background-color: #A7402D;
    font-weight: bold;
    color: white;
  }
  
 
  
  .custom-table-z2c tr:hover {
    background-color: #e68878;
  }

 
  
  .section-header-z2c {
    background-color: #fcaea2;
    font-weight: bold;
    text-align: center;
  }


  .table-container-z2c-two {
    grid-column: 2/3;
    grid-row: 1/2;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-z2c-two {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #A7402D;
    
  }
  
  .custom-table-z2c-two th, 
  .custom-table-z2c-two td {
    padding: 12px;
    text-align: left;
   
  }

  .custom-table-z2c-two td{
    background-color: white;

  }

  
  
  .custom-table-z2c-two th {
    background-color: #A7402D;
    font-weight: bold;
    color: white;
  }
  
 
  
  .custom-table-z2c-two tr:hover {
    background-color: #e68878;
  }

 
  
  .section-header-z2c-two {
    background-color: #fcaea2;
    font-weight: bold;
    text-align: center;
  }




  .table-container-z2c-three {
    grid-column: 2/3;
    grid-row: 3/4;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .custom-table-z2c-three {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #A7402D;
    
  }
  
  .custom-table-z2c-three th, 
  .custom-table-z2c-three td {
    border: 1px solid #A7402D;
    padding: 12px;
    text-align: left;
  }

  .custom-table-z2c-three td{
    background-color: white;

  }
  
  .custom-table-z2c-three th {
    background-color: #A7402D;
    font-weight: bold;
  }
  
 
  
  .custom-table-z2c-three tr:hover {
    background-color: #e68878;
  }

 
  
  .section-header-z2c-three {
    background-color: #fcaea2;
    font-weight: bold;
    text-align: center;
  }

  .table-container-z2c-four{
    grid-column: 2/3;
    grid-row: 4/5;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  } */



  /* Main Product Section */
.product_z2c1 {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 6.25rem 1.8fr 1fr 6.25rem;
}

.product_z2c1_1 {
    
    grid-column: 2/3;
    display: grid;
    grid-template-columns: 1.2fr .2fr;
    background-color: #e6e6e6;
    border-radius: 10px 0 0 0;
}

.product_z2c1_2 {
    grid-column: 3/4;
    background-color: #e6e6e6;
    border-radius: 0 10px 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .product_z2c1_2_img {
    width: 95%;
    max-width: 400px;
    display: block;
    margin: 30px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    background: #fff;
} */

.product_z2c1_s1_name {
    font-size: 50px;
    margin-top: 30px;
    color: #A7402D;
    margin-left: 10px;
}

.product_z2c1_h1 {
    
    grid-column: 1/2;
    display: grid;
    grid-template-rows: auto;
}

.product_z2c1_h2 {
   
    grid-column: 2/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product_z2c1_s1 {
    grid-row: 1/2;
}

.product_z2c1_s2 {
    grid-row: 2/3;
}

.productz2c_button {
    border: none;
    border-radius: 26px;
    padding: 12px 30px;
    background-color: #A7402D;
    color: white;
    font-size: 20px;
    margin: 0 0 20px 10px;
    cursor: pointer;
}

.productz2c_icon {
    width: 60px;
    height: 60px;
    margin: 5px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.productz2c_icon:hover {
    transform: scale(1.1);
}

.productz2c_icon1 {
    margin-top: 50px;
}

/* Feature Section */
.product_d_feature {
    display: grid;
    grid-template-columns: 6.25rem 1.5fr .9fr 6.25rem;
    margin-top: 50px;
}

.product_d_feature_art {
    grid-column: 2/3;
    margin-top: 80px;
}

.product_d_feature_img {
    grid-column: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product_d_feature_img img {
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

/* Similar Products Section */
.product_z2c1_product {
    display: grid;
    grid-template-columns: 6.25rem 1fr 1fr 1fr 1fr 6.25rem;
    margin-top: 50px;
    gap: 0 10px;
}
/* Optional: Center and limit width for a card look */
.product_z2c1,
.product_d_feature,
.product_z2c1_product,
.productz2c-feature-section-f2,
.table-z2c {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.product_z2c1_product1,
.product_z2c1_product2,
.product_z2c1_product3,
.product_z2c1_product4 {
    width: 80%;
    height: 40vh;
    background-color: #e6e6e6;
    border-radius: 30px 0 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 10px;
    margin: 0 auto;
}

.product_z2c1_img {
    height: 50%;
    max-height: 120px;
    width: auto;
    display: block;
    margin: 0 auto;
    margin-top: 15px;
    object-fit: contain;
    /* background: #fff; */
    /* border-radius: 8px; */
    /* box-shadow: 0 1px 4px rgba(0,0,0,0.05); */
}

.productz2c_button_option {
    border: none;
    border-radius: 26px;
    padding: 8px 24px;
    background-color: #A7402D;
    color: white;
    margin-top: 20px;
    display: block;
    text-decoration: none;
    cursor: pointer;
    font-size: 16px;
}

.productz2c_name_option {
    justify-self: center;
    margin-top: 10%;
    color: #A7402D;
    font-size: 20px;
    text-align: center;
}

/* Feature Section 2 */
.productz2c-feature-section-f2 {
    display: grid;
    grid-template-columns: 6.25rem 1fr 6.25rem;
    grid-template-rows: auto;
    margin-top: 50px;
}

.featurez2c-section-f2-a {
    grid-column: 2/3;
    grid-row: 1/2;
}

.featurez2c-section-f2-b {
    grid-column: 2/3;
    grid-row: 2/3;
    margin-top: 20px;
}
/* .h3{
    background: white;
} */

/* Tables */
.table-z2c {
    display: grid;
    grid-template-columns: 6.25rem 1fr 6.25rem;
    grid-template-rows: auto;
    margin-top: 50px;
}
.table-container-z2c-two,
.table-container-z2c-three {
    margin: 20px auto;
    padding: 20px;
    max-width: 90%;
}


.table-container-z2c,

.table-container-z2c-four {
    grid-column: 2/3;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    color: #333;
}
/* Header styling */
.custom-table-z2c-two thead tr th,
.custom-table-z2c-three thead tr th {
    background-color: #e6f3ff;  /* light blue */
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
    color: #333;
}

/* Superscript styling */
sup {
    font-size: 70%;
    vertical-align: super;
}

/* Checkmark styling */
td:contains("✔") {
    text-align: center;
}

.custom-table-z2c,
.custom-table-z2c-two,
.custom-table-z2c-three {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #000;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.custom-table-z2c,
.custom-table-z2c * {
    color: #000 !important;
}

.custom-table-z2c th,
.custom-table-z2c td,
.custom-table-z2c-two th,
.custom-table-z2c-two td,
.custom-table-z2c-three th,
.custom-table-z2c-three td {
    border: 1px solid #000;
    padding: 12px;
    text-align: left;
    background-color: white;
}
.custom-table-z2c-two tbody tr td,
.custom-table-z2c-three tbody tr td {
    padding: 10px;
    border: 1px solid #ddd;
}
/* Alternating row colors for all tables */
.custom-table tbody tr,
.custom-table-z2c-two tbody tr,
.custom-table-z2c-three tbody tr {
    background-color: #f2f2f2;  /* default grey */
}

.custom-table tbody tr:nth-child(even),
.custom-table-z2c-two tbody tr:nth-child(even),
.custom-table-z2c-three tbody tr:nth-child(even) {
    background-color: #ffffff;  /* white */
}
.custom-table thead tr th {
    background-color: #e6f3ff;  /* light blue */
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
    color: #333;
}
/* Header styling - only for regular th elements, not the heading */
.custom-table thead tr:not(:first-child) th {
    background-color: #e6f3ff;  /* light blue */
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
    color: #333;
}
/* First row (General) styling without blue background */
.custom-table thead tr:first-child th {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
    color: #333;
    background-color: transparent;
}
.table-container h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}
.table-container {
    margin: 20px auto;  /* Center the container */
    padding: 20px;
    max-width: 90%;    /* Adjust this value to match your container width */
}

.custom-table-z2c th,
.custom-table-z2c-two th,
.custom-table-z2c-three th {
    /* background: linear-gradient(90deg, #a8d8f8 0%, #7ec6ee 100%); */
    font-weight: bold;
    color: white;
}

.custom-table-z2c tr:hover,
.custom-table-z2c-two tr:hover,
.custom-table-z2c-three tr:hover {
    background-color: #e68878;
}

.custom-table-z2c tr.section-divider,
.custom-table-z2c-two tr.section-divider,
.custom-table-z2c-three tr.section-divider {
    background-color: #a7402d;
    color: white;
    font-weight: bold;
    text-align: center;
}

.section-header-z2c,
.section-header-z2c-two,
.section-header-z2c-three {
    background-color: #fcaea2;
    font-weight: bold;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .product_z2c1 {
        grid-template-columns: 3rem 1fr 3rem;
    }
    .product_z2c1_1,
    .product_z2c1_2 {
        grid-column: 2/3;
        border-radius: 7px;
    }
    .product_z2c1_2_img {
        max-width: 95vw;
        margin: 20px auto;
    }
    .productz2c_icon {
        width: 55px;
        height: 55px;
    }
    .product_z2c1_product {
        grid-template-columns: 3rem 1fr 3rem;
        grid-template-rows: auto;
        row-gap: 10vh;
    }
    .product_z2c1_product1,
    .product_z2c1_product2,
    .product_z2c1_product3,
    .product_z2c1_product4 {
        grid-column: 2/3;
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
    .productz2c-feature-section-f2 {
        grid-template-columns: 3rem 1fr 3rem;
        margin-top: 30px;
    }
    .table-z2c {
        grid-template-columns: 3rem 1fr 3rem;
    }
    .table-container {
        overflow-x: auto;
    }
     .table-container-z2c-two,
    .table-container-z2c-three {
        overflow-x: auto;
    }
}
    /* .table-container-z2c,
    .table-container-z2c-two,
    .table-container-z2c-three,
    .table-container-z2c-four {
        width: 100%;
        margin-top: 10px;
    } */
    /* .custom-table-z2c,
    .custom-table-z2c-two,
    .custom-table-z2c-three {
        font-size: 14px;
    } */

/* Container Styling */
.product-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 48px 80px;
    background: #f9f9f9; /* light neutral bg like site */
  }
  /* Header Section */
.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 80px;
    background-color: #e6e6e6; /* same grey as screenshot */
  }
  
  .product-header-content {
    flex: 1;
    max-width: 600px;
  }
  
  .product-header-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: #a63d2d; /* brand reddish color */
    margin-bottom: 16px;
    line-height: 1.2;
  }
  
  .product-header-description {
    font-size: 1.05rem;
    color: #222;
    line-height: 1.6;
    margin-bottom: 28px;
  }
  
  .enquire-btn {
    background-color: #a63d2d;
    color: #ffffff;
    border: none;
    padding: 14px 34px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.25s ease;
  }
  
  .enquire-btn:hover {
    background-color: #8c3326;
  }
  
  /* Right side product image */
  .product-header-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  
  .product-header-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
  }
  .product-info {
    flex: 1;
    padding-right: 40px;
  }
  
  .product-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 16px;
  }
  
  .product-description {
    font-size: 1rem;
    color: #444;
    margin-bottom: 24px;
    line-height: 1.6;
  }
  
  /* Enquire Now button */
  .enquire-btn {
    background-color: #a63d2d; /* exact site theme red */
    color: #ffffff;
    border: none;
    border-radius: 24px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
  }
  
  .enquire-btn:hover {
    background-color: #8c3326; /* darker red tone hover */
  }
  
  /* Product Image */
  .product-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .product-image img {
    width: 95%;
    max-width: 360px;
    display: block;
  }
  
  /* Highlights Section */
  .product-container {
    padding: 40px 80px;
  }
  
  .highlights-section {
    margin-top: 20px;
  }
  
  .highlights-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2b2b2b;
  }
  
  .highlights-list {
    list-style: none;
    padding: 0;
  }
  
  .highlights-list li {
    margin-bottom: 18px;
    font-size: 1rem;
    color: #333;
  }
  
  .highlights-list b {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: #000;
  }
  @media (min-width: 769px) and (max-width: 1024px) {
    .product-header {
      padding: 50px 40px;
      gap: 30px;
    }
    .product-header {
      flex-direction: column;
      text-align: center;
    }
    .product-header-content {
      order: 2; /* Move content below image */
      max-width: 100%;
    }
    .product-header-image {
      order: 1; /* Move image above content */
      margin-bottom: 25px;
      display: flex;
      justify-content: center;
      width: 100%;
    }
    .product-header-title {
      font-size: 2.4rem;
    }
    .product-header-description {
      font-size: 1rem;
    }
    .product-header-image img {
      max-width: 350px;
    }
  
    .product-container {
      padding: 40px 40px;
    }
  }
  
  /* Mobile (≤ 768px) */
  @media (max-width: 768px) {
    /* Product Header */
    .product-header {
      flex-direction: column;
      text-align: center;
      padding: 30px 20px;
    }
    .product-header-content {
      max-width: 100%;
      order: 2; /* Move content below image */
    }
    .product-header-image {
      order: 1; /* Move image above content */
      margin-bottom: 25px;
    }
    .product-header-title {
      font-size: 2rem;
    }
    .product-header-description {
      font-size: 0.95rem;
      margin-bottom: 20px;
    }
    .enquire-btn {
      padding: 12px 28px;
      font-size: 0.95rem;
    }
    .product-header-image {
      justify-content: center;
      margin-top: 25px;
    }
    .product-header-image img {
      max-width: 280px;
    }
  
    /* Key Highlights */
    .product-container {
      padding: 30px 20px;
      text-align: center;
    }
    .highlights-title {
      font-size: 1.6rem;
    }
    .highlights-list li {
      font-size: 0.95rem;
    }
  }
  
  /* Similar Products Section */
.product_s1v1_product {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  padding: 20px 0;
  justify-content: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none; /* Hide scrollbar by default */
}

/* Hide scrollbar for Webkit browsers */
.product_s1v1_product::-webkit-scrollbar {
  display: none;
}

/* Individual product cards */
.product_s1v1_product1,
.product_s1v1_product2,
.product_s1v1_product3,
.product_s1v1_product4 {
  flex: 0 0 auto;
  width: 280px;
  margin-right: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 15px;
  box-sizing: border-box;
}

.product_s1v1_img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
}

.products1v_name_option {
  font-size: 1.2rem;
  color: #333;
  margin: 10px 0;
  text-align: center;
}

/* .products1v_button_option {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #a63d2d;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}

.products1v_button_option:hover {
  background-color: #8a3427;
} */

/* Tablet and Mobile Styles */
@media (max-width: 1024px) {
  .product_s1v1_product {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 16px;
    margin: 0 -16px;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 16px;
    justify-content: flex-start;
  }
  
  .product_s1v1_product1,
  .product_s1v1_product2,
  .product_s1v1_product3,
  .product_s1v1_product4 {
    flex: 0 0 auto;
    width: 260px;
    scroll-snap-align: start;
    margin-right: 20px;
  }
  
  /* Hide scrollbar for Chrome, Safari and Opera */
  .product_s1v1_product::-webkit-scrollbar {
    display: none;
  }
  
  /* Hide scrollbar for IE, Edge and Firefox */
  .product_s1v1_product {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
}

/* Small Phones (≤ 480px) */
@media (max-width: 480px) {
  .product-header-title {
    font-size: 1.6rem;
  }
  .product-header-description {
    font-size: 0.9rem;
  }
  .product-header-image img {
    max-width: 220px;
  }

  .highlights-title {
    font-size: 1.4rem;
  }
  .highlights-list li {
    font-size: 0.9rem;
  }
  
  .product_s1v1_product1,
  .product_s1v1_product2,
  .product_s1v1_product3,
  .product_s1v1_product4 {
    width: 220px;
  }
}
.product1_d1{
    display: grid;
    grid-template-columns: 6.25rem 1.8fr 1fr 6.25rem;
    margin-top: 50px;
    
}

.product1_d1_1{
    grid-column: 2/3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #e6e6e6;
    border-radius: 10px 0 0 10px;

}

.product1_d1_2{
    grid-column: 3/4;
    background-color: #e6e6e6;
    border-radius: 0 10px 10px 0;    
}



.product1_d1_2_img{
    width: 95%;
    display: block;
    margin: 30px 10px
}

.product1_d1_s1_name{
    font-size: 50px;
    margin-top: 30px;
    color: #A7402D;
    margin-left: 10px;
}

.product1_d1_h1{
    grid-column: 1/2;
    display: grid;
    grid-template-rows: auto;
}

.product1_d1_h2{
    grid-column: 2/3;
}

.product1_d1_s1{
    grid-row: 1/2;
}

.product1_d1_s2{
    grid-row: 2/3;
    margin-bottom: 50px;
}


.product_button{
    border: none;
    border-radius: 26px;
    padding: 12px 30px ;
    background-color: #A7402D;
    color: white;
    font-size: 20px;
    margin-top: 50px;
    margin-left: 50px;
    cursor: pointer;
}


.product_icon{
    width: 30%;
    margin: 15px;
}

 .productContainer: {
    maxWidth: '1200px';
    margin: '0 auto';
    padding: '20px';
  }
  .productTopSection: {
    display: 'flex';
    justifyContent: 'space-between';
    alignItems: 'center';
    gap: '2rem';
    marginBottom: '2rem';
    '@media (max-width: 768px)': {
      flexDirection: 'column';
    }
  }
  .productImage: {
    width: '100%';
    maxWidth: '400px';
    height: 'auto';
    objectFit: 'contain';
  }
  .schematicImage: {
    width: '100%';
    maxWidth: '350px';
    height: 'auto';
    margin: '20px auto';
    display: 'block';
  }
  .tableContainer: {
    margin: '2rem 0';
    borderRadius: '8px';
    overflow: 'hidden';
    boxShadow: '0 2px 4px rgba(0,0,0,0.1)';
  }




.product_d_feature{
    display: grid;
    grid-template-columns: 6.25rem 1.5fr .9fr 6.25rem;
    margin-top: 50px;
}


.product_d_feature_art{
    grid-column: 2/3;
    margin-top: 80px;
}

.product_d_feature_img{
    grid-column: 3/4;
}

.product_d_product {
    display: grid;
    grid-template-columns: 6.25rem 1fr 1fr 1fr 1fr 6.25rem;
    margin-top: 50px;

}

.product_d_product1{
    grid-column: 2/3;
    width: 80%;
    height: 40vh;
    background-color: #e6e6e6;
    border-radius: 30px 0 30px 0;
    
}

.product_d_product2{
    grid-column: 3/4;
    width: 80%;
    height: 40vh;
    background-color: #e6e6e6;
    border-radius: 30px 0 30px 0;
   
}

.product_d_product3{
    grid-column: 4/5;
    width: 80%;
    height: 40vh;
    background-color: #e6e6e6;
    border-radius: 30px 0 30px 0;
    
}

.product_d_product4{
    grid-column: 5/6;
    width: 80%;
    height: 40vh;
    background-color: #e6e6e6;
    border-radius: 30px 0 30px 0;
    
}


.product_d_img{
    height: 50%;
    display: block;
    margin: 0 auto;
    margin-top: 15px;
}

.product_button_option{
    border: none;
    border-radius: 26px;
    padding: 8px 24px ;
    background-color: #A7402D;
    color:white;
    margin-top: 50px;
    margin-left: 50px;
    display: block;
    margin: 0 auto;
    margin-top: 20px;
    text-decoration: none;
    cursor: pointer;

}

.product_name_option{
    justify-self: center;
    margin-top: 10%;
    color: #A7402D;
    font-size: 20px;

}

.product1_d1_s1_name, .product1_d1_h1, .product1_d1_h2, .product_name_option {
    font-weight: 700; /* Ensures bold heading for all top product section headings */
}

/* Optionally, you can also target h1/h2 directly if used in the top section */
.product1_d1_1 h1, .product1_d1_1 h2 {
    font-weight: 700;
}

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


    .product1_d1{
        display: grid;
        grid-template-columns: 3rem 1fr 3rem;
        grid-template-rows: auto;
    }

    .product1_d1_1{
        grid-column: 2/3;
        grid-row: 2/3;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        border-radius: 0 0 7px 7px;
    }

    .product1_d1_h1{
        grid-column: 1/2;
        grid-row: 1/2;
    }

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

    .product1_d1_2{
        grid-column: 2/3;
        grid-row: 1/2;
        border-radius: 7px 7px 0 0;
    }







    .product_d_feature{
        display: grid;
        grid-template-columns:3rem 1fr 3rem;
        grid-template-rows: auto;
    }

    .product_d_feature_img{
        grid-column: 2/3;
        grid-row: 1/2;

    }

    .product_d_feature_art{
        grid-column: 2/3;
        grid-row: 2/3;
    }

    .product_d_product{
        display: grid;
        grid-template-columns: 3rem 1fr 3rem;
        grid-template-rows: auto;
        row-gap: 10vh;
    }

    .product_d_product1{
        grid-column: 2/3;
        grid-row: 1/2;
        width: 100%;
        
    }

    .product_d_product2{
        grid-column: 2/3;
        grid-row: 2/3;
        width: 100%;
    }

    .product_d_product3{
        grid-column: 2/3;
        grid-row: 3/4;
        width: 100%;
    }

    .product_d_product4{
        grid-column: 2/3;
        grid-row: 4/5;
        width: 100%;
    }


}






.ted-wrapper {
  color: #ffffff;
  padding: 2rem 6.25rem;
  font-family: 'Segoe UI', sans-serif;
}

.ted-featured {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 3rem;
}

.ted-featured-img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.5);
}

.ted-featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  padding: 2rem;
  z-index: 2;
  max-width: 600px;
}

.ted-featured-overlay h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.ted-featured-overlay p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #cccccc;
}

.ted-meta {
  font-size: 0.85rem;
  display: flex;
  gap: 20px;
  color: #bbbbbb;
  margin-bottom: 1rem;
}

.ted-play-button {
  font-size: 2rem;
  background-color: #e62b1e;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  transition: background 0.3s;
}

.ted-play-button:hover {
  background-color: #ff4433;
}

.ted-watch-next {
  margin-top: 2rem;
}

.ted-watch-next h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Grid layout for video cards */
.ted-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.ted-card {
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f9f9f9;
  color: #333;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.ted-card-animated:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.ted-card p {
  font-size: 0.95rem;
  color: black;
  margin-top: 0.5rem;
  text-align: center;
}

.ted-video {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 1024px) {
  .ted-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ted-wrapper {
    padding: 1rem;
  }

  .ted-featured-overlay {
    padding: 1rem;
  }

  .ted-featured-overlay h2 {
    font-size: 1.5rem;
  }

  .ted-featured-overlay p {
    font-size: 0.9rem;
  }

  .ted-video-grid {
    grid-template-columns: 1fr;
  }
}

/* Info Section */
.info-section {
  background-color: #000;
  color: #fff;
  padding: 4rem 0;
  width: 100%;
  box-sizing: border-box;
}

.info-section > div {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  text-align: center;
}

.info-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.info-section p {
  font-size: clamp(0.95rem, 1.2vw, 1.2rem);
  line-height: 1.8;
  margin: 0 auto 1.5rem auto;
  max-width: 800px;
}

/* Main container for each showcase section */
/* Main container for each showcase section */
.showcase-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: #000;
  color: white;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  gap: 1rem;

       
  padding: 2rem 0; 

  
}
.showcase-container > .showcase-text,
.showcase-container > .showcase-image {
  flex: 1 1 400px;
  min-width: 280px;
  max-width: 50%;
}
/* Ensure content is properly centered */
/* Text content */
.showcase-text {
  flex: 1 1 400px;
  padding: 2rem;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #000;
}
.showcase-text,
.showcase-image {
  flex: 1 1 45%;   /* let them adapt gracefully */
  min-width: 280px; /* prevents crushing on extreme zoom in */
  max-width: 50%;
}
.showcase-image img,
.showcase-image video {
  width: 100%;
  max-width: clamp(280px, 90%, 1200px);
  height: auto;
  object-fit: contain;
}
.showcase-content {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.showcase-heading {
  font-size: clamp(1.4rem, 2vw, 2.5rem);
  margin: 0 0 1rem 0;
  color: #fff;
  font-weight: 500;
}

.showcase-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: clamp(0.9rem, 1.2vw, 1.2rem);
  line-height: 1.7;
}

.showcase-list li {
  margin: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #ddd;
}

.showcase-list li:before {
  content: '•';
  color: #ff6b00;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Image/Video container */
.showcase-image {
  flex: 1 1 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  max-width: 50%;
  max-height: 90vh;
}

.showcase-image img,
.showcase-image video {
  max-width: 100%;
  max-height: min(80vh, 100%);
  object-fit: contain;
  border-radius: 8px;
  background: #000;
  transition: transform 0.3s ease;
}

.media-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive adjustments for different screen sizes */
@media (max-width: 1200px) {
  .showcase-image {
    min-height: 55vh;
  }
}

@media (max-width: 1024px) {
  .showcase-image {
    min-height: 50vh;
  }
}

@media (max-width: 768px) {
  .showcase-container {
    flex-direction: column;
  }
  
  .showcase-text,
  .showcase-image {
    max-width: 100%;
    width: 100%;
    padding: 1.5rem;
  }
  
  .showcase-image {
    min-height: 40vh;
    order: -1;
  }
  
  .showcase-image img,
  .showcase-image video {
    max-height: 60vh;
    width: 100%;
    height: auto;
  }
  
  .showcase-dots {
    bottom: 20px;
  }
  
  .showcase-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
  }
  
}

/* Media elements */
.showcase-image img,
.showcase-image video {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #000;
  margin: 0 auto;
}

.showcase-right .showcase-image::before {
  left: auto;
  right: 0;
  background: linear-gradient(to left, #000000 0%, transparent 100%);
}

.showcase-heading {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #fff;
  font-weight: 500;
  line-height: 1.2;
}

/* Removed heading underline */

.showcase-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
}

.showcase-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  color: #ddd;
}

.showcase-list li span {
  color: #ff4d4d;
  margin-right: 0.5rem;
  font-size: 1.2rem;
  line-height: 1;
}

/* Controls */
.showcase-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  transform: translateY(-50%);
  z-index: 3;
}

.showcase-arrow {
  color: white;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  cursor: pointer;
  background: rgba(0, 0, 0, 0.6);
  width: clamp(35px, 4vw, 55px);
  height: clamp(35px, 4vw, 55px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.showcase-arrow:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* Dots navigation */
.showcase-dots {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.showcase-dot {
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.showcase-dot.active,
.showcase-dot:hover {
  opacity: 1;
  color: #ff4d4d;
  transform: scale(1.2);
}
/* Right Layout */
.showcase-right {
  flex-direction: row-reverse;
}
/* Tablet Landscape (1024px - 1200px) */
@media (min-width: 1024px) and (max-width: 1200px) {
  .showcase-container {
    flex-direction: column;
    text-align: center;
  }
  .showcase-text,
  .showcase-image {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .showcase-image {
    order: -1;
  }
}

/* Tablet Portrait (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .showcase-heading {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
  }
  .showcase-list {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .showcase-dots {
    bottom: 1rem;
  }
}

/* Responsive Design */
@media (max-width: 767px) {
  .showcase-container {
    flex-direction: column;
    min-height: auto;
    height: auto;
    padding: 1rem 0;
  }
  
  .showcase-image {
    order: -1;
    margin-bottom: 1rem;
    width: 100%;
    min-height: 40vh;
    max-height: 50vh;
    padding: 1rem;
  }

  .showcase-text {
    padding: 1.5rem;
    max-width: 100%;
    background: #000000 !important;
  }

  .showcase-heading {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .showcase-list {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .showcase-arrow {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.8rem !important;
  }
  .showcase-dots {
    bottom: 20px !important;
  }
}

/* Mobile (up to 480px) */
@media (max-width: 480px) {
  .showcase-heading {
    font-size: 1.4rem;
  }

  .showcase-list {
    font-size: 0.9rem;
    padding-left: 1rem;
  }

  .showcase-image {
    min-height: 35vh;
    max-height: 45vh;
    padding: 0.5rem;
  }

  .showcase-arrow {
    width: 35px !important;
    height: 35px !important;
    font-size: 1.5rem !important;
  }

  .showcase-dots {
    bottom: 15px !important;
  }

  .showcase-dot {
    width: 8px;
    height: 8px;
    margin: 0 3px;
  }
}

@media (max-width: 768px) {
  .showcase-text {
    padding: 2rem 1.5rem;
  }

  .showcase-heading {
    margin-left: 20px;
    align-items: center;
    font-size: 1.5rem;
  }

  .showcase-list {
    font-size: 1rem;
  }

  .showcase-arrow {
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }
}

/* Right layout variant */
.showcase-right {
  flex-direction: row-reverse;
}

/* Media query for smaller screens */
@media (max-width: 1024px) {
  .showcase-container {
    flex-direction: column;
  }
  
  .showcase-text,
  .showcase-image {
    flex: 1 1 100%;
    width: 100%;
  }
  
  .showcase-image {
    padding: 1rem;
  }
}


video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* For ultra-large screens/zoom out */

  @media (min-width: 1800px) {
    .showcase-container {
      justify-content: center;  /* keep things centered, not stretched forever */
    }
  
  .showcase-container > .showcase-text,
  .showcase-container > .showcase-image {
    max-width: 800px;       /* both together won’t exceed ~1600px total */
  }
    .showcase-image img,
    .showcase-image video {
     
      max-width: 100%;        /* scale naturally */
    height: auto;
    }
  
    .showcase-heading {
      font-size: 2.5rem; /* don’t balloon */
    }
  }

  @media (max-width: 400px) {
    .showcase-text,
    .showcase-image {
      min-width: 0; /* let them shrink gracefully without forcing side-scroll */
      max-width: 100%;
    }
  
    .showcase-heading {
      font-size: 1.1rem; /* readable but not exploding */
    }
  
    .showcase-list {
      font-size: 0.8rem; /* keep compact when super-zoomed */
    }
  
    .showcase-image img,
    .showcase-image video {
      max-height: 50vh; /* stop image eating the whole screen */
    }
  }





  /* Defaults (normal zoom) — adjust to match your current design */
  .showcase-container {
    --arrow-size: 48px;
    --arrow-icon: 24px;
    --dot-size: 8px;
    --dot-gap: 8px;
    --dots-offset: 20px;
  }
  
  /* Image wrapper */
  .showcase-image { position: relative; }
  
  /* Overlay that holds arrows and dots */
  .showcase-controls {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: space-between;
    pointer-events: none; padding: 0 8px;
  }
  
  /* RESET arrow positioning across all devices and center the icon */
  .showcase-controls .showcase-arrow,
  .showcase-arrow,
  .showcase-arrow.left,
  .showcase-arrow.right {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    transform: none !important;
    align-self: center !important;
  
    pointer-events: auto;
    width: var(--arrow-size);
    height: var(--arrow-size);
    border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.45);
    color: #fff;
    font-size: var(--arrow-icon);
    line-height: 1;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    touch-action: manipulation;
  }
  
  /* Ensure inner icon/text has no baseline gap */
  .showcase-arrow > svg,
  .showcase-arrow > i,
  .showcase-arrow > span,
  .showcase-arrow .icon {
    display: block;
    line-height: 1;
    margin: 0;
  }
  
  /* Dots centered at bottom */
  .showcase-dots {
    position: absolute;
    left: 50%; transform: translateX(-50%);
    bottom: var(--dots-offset);
    display: flex; align-items: center;
    gap: var(--dot-gap);
  }
  
  /* If you keep "•", visually hide it and render as a dot box */
  .showcase-dot {
    width: var(--dot-size);
    height: var(--dot-size);
    border-radius: 999px;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    text-indent: -9999px; overflow: hidden; display: inline-block;
  }
  .showcase-dot.active { background: #fff; }
  
  /* Zoom OUT: larger targets */
  .showcase-container.zoom-out {
    --arrow-size: 64px;
    --arrow-icon: 28px;
    --dot-size: 12px;
    --dot-gap: 10px;
    --dots-offset: 14px;
  }
  
  /* Zoom IN: smaller to avoid overlap */
  .showcase-container.zoom-in {
    --arrow-size: 40px;
    --arrow-icon: 20px;
    --dot-size: 6px;
    --dot-gap: 6px;
    --dots-offset: 8px;
  }



  /* Vertically center arrows inside the image container (all devices) */
.showcase-image { position: relative !important; }

.showcase-controls {
  position: absolute !important;
  inset: 0 !important;                 /* full overlay on the image */
  pointer-events: none !important;
  /* layout doesn't matter for arrows since they're absolutely positioned */
}

/* Core arrow style + vertical centering */
.showcase-controls .showcase-arrow {
  position: absolute !important;
  top: 100% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;

  pointer-events: auto !important;
  width: var(--arrow-size);
  height: var(--arrow-size);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: var(--arrow-icon);
  line-height: 1;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
}

/* Place left/right arrows at edges */
.showcase-controls .showcase-arrow.left,
.showcase-controls .showcase-arrow.prev { left: 8px !important; right: auto !important; }

.showcase-controls .showcase-arrow.right,
.showcase-controls .showcase-arrow.next { right: 8px !important; left: auto !important; }

/* Fallback if you don't have .left/.right classes: use DOM order */
.showcase-controls .showcase-arrow:first-of-type { left: 8px !important; right: auto !important; }
.showcase-controls .showcase-arrow:last-of-type  { right: 8px !important; left: auto !important; }

/* Keep dots centered at bottom */
.showcase-dots {
  position: absolute !important;
  left: 50% !important; transform: translateX(-50%) !important;
  bottom: var(--dots-offset) !important;
  display: flex; align-items: center; gap: var(--dot-gap);
}




/* Hide rapid deployment card on mobile */
@media (max-width: 767px) {
  .hide-on-mobile {
    display: none !important;
  }
}

/* Card container styles */
.feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 200px;
  padding: 15px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
  box-sizing: border-box;
  overflow: hidden;
}

/* Ensure all cards have equal height */
.feature-card > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Fix content overflow */
.feature-card h3 {
  font-size: 1.1rem;
  margin: 0 0 10px 0;
  line-height: 1.3;
  word-break: break-word;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #e0e0e0;
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

/* Grid layout adjustments */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1400px;
}

/* Mobile styles */
@media (max-width: 767px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 10px;
  }
  
  .feature-card {
    padding: 12px 10px;
    min-height: 180px;
  }
  
  .feature-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  
  .feature-card p {
    font-size: 0.85rem;
    -webkit-line-clamp: 3;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .feature-card {
    min-height: auto;
  }
}

/* Ensure images don't cause overflow */
.feature-card img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* .video-section {
  position: relative;
  height: 600vh; 
  background: #000;
}

.video-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  overflow: hidden;
}

.responsive-video {
  width: 100%;
  height: auto;
  max-height: 100vh;
  object-fit: contain;
  aspect-ratio: 16 / 9;
}

@media (max-width: 768px) {
  .responsive-video {
    aspect-ratio: 9 / 16;
  }
}

.comment-box {
  position: absolute;
  padding: 1rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.9);
  color: #000;
  font-size: 1rem;
  max-width: 80%;
  border-radius: 10px;
  transition: all 0.3s ease;
  z-index: 5;
}


.top-left {
  top: 20px;
  left: 20px;
}

.top-right {
  top: 20px;
  right: 20px;
}

.center-left {
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.bottom-right {
  bottom: 20px;
  right: 20px;
}

.bottom-left {
  bottom: 20px;
  left: 20px;
}

.center-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.next-section {
  padding: 100px 20px;
  background: #f9f9f9;
  text-align: center;
} */


/* SurfaceMountingShowcase.css */
html {
  scroll-behavior: smooth;
}



.page-header {
  position: relative;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
   
  text-align: center;
  padding: 0 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #A7402D, #8A3526, #C24E3A);
  color: white;
  box-shadow: 0 4px 20px rgba(167, 64, 45, 0.3);
}

/* Add subtle pattern overlay to the header */
.page-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width=%2720%27 height=%2720%27 viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cg fill=%27%23ffffff%27 fill-opacity=%270.05%27 fill-rule=%27evenodd%27%3E%3Ccircle cx=%273%27 cy=%273%27 r=%273%27/%3E%3Ccircle cx=%2713%27 cy=%2713%27 r=%273%27/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.page-header h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.page-header p {
  font-size: 1.4rem;
  max-width: 600px;
  line-height: 1.5;
  font-weight: 300;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

/* Add decorative elements */
.page-header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom right, 
    transparent 0%, 
    transparent 49%, 
    rgba(167, 64, 45, 0.8) 50%, 
    transparent 51%, 
    transparent 100%);
  background-size: 20px 20px;
  opacity: 0.3;
}

/* .showcase-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
} */

.video-background {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
  background-color: #000;
}

.main-video {
     position: fixed; /* or absolute */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1; /* behind content */
  pointer-events: none; /* critical */
}

.sections-container {
  scroll-snap-type: y mandatory;
}

.machine-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: all 0.5s ease-out;
}

.initial-scroll-guide,
.scroll-guide {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 15px 25px;
  border-radius: 10px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Position cards consistently */
/* .machine-section.card-right {
  justify-content: flex-end;
}

.machine-section.card-left {
  justify-content: flex-start;
} */

.machine-content {
  width: 40%;
  max-width: 500px;
  margin: 0 5%;
  background: linear-gradient(145deg, #2c2e30, #3a3c3e);
  color: #f0f0f0;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 10;
  position: relative;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(20px);
  opacity: 0.95;
}

.machine-content:hover {
  transform: translateY(0);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 10px 20px rgba(0, 0, 0, 0.3);
  opacity: 1;
}

/* Card positioning */
/* .machine-section:nth-child(odd) .machine-content {
  margin-right: 5%;
  margin-left: auto;
} */

/* .machine-section:nth-child(even) .machine-content {
  margin-left: 5%;
  margin-right: auto;
} */

/* Add subtle accent line to top of cards */
.machine-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #A7402D, #C24E3A);
  border-radius: 12px 12px 0 0;
}

.machine-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-bottom: 15px;
}

.machine-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #A7402D;
  border-radius: 3px;
}

.machine-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #d0d0d0;
  margin-bottom: 2rem;
}

.specs-list {
  list-style: none;
  padding: 0;
}

.specs-list li {
  margin-bottom: 12px;
  padding: 12px 18px;
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 4px solid #A7402D;
  border-radius: 4px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.specs-list li:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateX(3px);
}

/* Video controls */
.video-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}

.speed-controls {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px;
  border-radius: 24px;
  display: flex;
  gap: 8px;
  align-self: flex-end;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.auto-advance-toggle,
.auto-scroll-toggle {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 24px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.auto-advance-toggle:hover,
.auto-scroll-toggle:hover {
  background-color: rgba(0, 0, 0, 0.9);
  transform: translateY(-2px);
}

.auto-advance-toggle.active,
.auto-scroll-toggle.active {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  box-shadow: 0 4px 10px rgba(39, 174, 96, 0.3);
}

/* Enhanced visibility for active section */
.machine-section.active .machine-content {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 10px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(0);
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.15);
}

.machine-section.active .machine-content::before {
  background: linear-gradient(90deg, #C24E3A, #e67e22);
  box-shadow: 0 0 15px rgba(230, 126, 34, 0.5);
}

/* Loading state */
.video-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  z-index: 5;
  backdrop-filter: blur(5px);
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  border-top-color: #A7402D;
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 15px;
  box-shadow: 0 0 20px rgba(167, 64, 45, 0.5);
}

/* Scroll guides */
.initial-scroll-guide {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 25px 35px;
  border-radius: 12px;
  text-align: center;
  animation: fadeIn 1s ease-out;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.scroll-guide {
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  padding: 18px 28px;
  border-radius: 12px;
  animation: pulse 2s infinite;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.scroll-guide p, 
.initial-scroll-guide p {
  margin-bottom: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.scroll-arrow {
  width: 40px;
  height: 40px;
  position: relative;
}

.scroll-arrow span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 3px solid white;
  border-bottom: 3px solid white;
  transform: rotate(-45deg);
  animation: scrollArrow 1.5s infinite;
  opacity: 0;
}

.scroll-arrow span:nth-child(1) {
  animation-delay: 0s;
}

.scroll-arrow span:nth-child(2) {
  top: 12px;
  animation-delay: 0.15s;
}

.scroll-arrow span:nth-child(3) {
  top: 24px;
  animation-delay: 0.3s;
}

@keyframes scrollArrow {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -60%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

/* Responsive styles */
@media (max-width: 1200px) {
  .machine-content {
    width: 45%;
  }
}

@media (max-width: 992px) {
  .machine-content {
    width: 60%;
  }
  
  .machine-content h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .machine-section.card-right,
  .machine-section.card-left {
    justify-content: center;
  }
  
  .machine-content {
    width: 90%;
    max-width: 500px;
    margin: 0 auto !important;
    padding: 30px;
  }
  
  .machine-content h2 {
    font-size: 2rem;
  }
  
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .page-header p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .machine-content {
    padding: 25px 20px;
  }
  
  .machine-content h2 {
    font-size: 1.8rem;
  }
}
























/*# sourceMappingURL=main.f5de2507.css.map*/