* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
html {
  height: 100%;
  width: 100%;
  font-family: roboto;
  font-size: 16px;
  color: #555;

}

:root {
  --color: #8c1f7a;
  --p: 0.9rem;
  --h1: 3.6rem;
  --h2: 2rem;
  --h3:1rem;

}

.roboto {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

h1 {
  font-size: var(--h1);
  color: white;
}

h2 {
  font-size: var(--h2);
  color: var(--color);
  text-align: center;
  padding: 5%;
  text-transform: uppercase;
}

h3 {
  font-size: var(--h3);
  padding-bottom: 3%;
  color: var(--color);
}

p {

  font-size: var(--p);
  line-height: 1.5;
}

h1,
h2,
h3 {
  line-height: 1.3;
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 10%;
  padding-right: 10%;
  background: white;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 88px;
  border-bottom: 1px solid lightgray;
  font-size: 0.9rem;
}

.logo {
  width: 10%;

}

.logo img {
  width: 70%;
}

nav ul {
  list-style: none;
  display: flex;

}

nav ul li {
  position: relative;
  padding-bottom: 33px;
  padding-top: 33px;
  padding-right: max(1rem, 2vw);
  ;

}

nav ul li a {
  color: black;
  text-decoration: none;

}

nav ul li a:hover {
  opacity: 0.5;
  transition: transform 0.8s ease, opacity 0.3s ease;

}

/* Dropdown */
nav ul li ul {
  position: absolute;
  top: 100%;
  /* directly under the parent li */

  background: var(--color);
  display: block;
  /* key: not flex! */
  flex-direction: column;
  /* ignored if display: block */
  padding: 0;
  opacity: 0;

  pointer-events: none;
  transition: transform 1.1s ease, opacity 0.3s ease;
  z-index: 1000;
  min-width: 150px;

}

/* Show dropdown on hover */
nav ul li:hover ul {
  opacity: 1;
  pointer-events: auto;
}

/* Each dropdown link */
nav ul li ul li {
  list-style: none;
  padding: 0;
}

nav ul li ul li a {
  display: block;
  /* key: block */
  line-height: normal;
  /* override main nav line-height */
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  /* separate each item */
  padding: 15px;
  


}

/* Hover effect */
nav ul li ul li a:hover {
  opacity: 0.5;
}

/* Remove bottom border from last item */
nav ul li ul li:last-child a {
  border-bottom: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger div {
  width: 20px;
  height: 2px;
  background: var(--color);
}

.pading{
  padding-top: 8%;
}

.active{
  color: var(--color);
  font-weight: 700;
}
/* --------------------------------------------------------Slider */
.home-slide {
  
  width: 100%;
  height:92vh;
  margin-top: 8vh;
  background: #AF2132;
  background: linear-gradient(66deg, rgb(153, 21, 36) 0%, rgb(223, 61, 61) 48%, rgb(168, 45, 45) 45%);
  place-items: center;     /* horizontal + vertical */
  place-content: center;   /* makes sure it’s in the middle of screen */
  
}
.home-slide-img{
  width: 80%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  
 
   
}
.home-slide-img> div{
  width: 100%;
  height: auto;
  
  place-content: center;   /* makes sure it’s in the middle of screen */
  
}
.home-slide-img > div > img{
  width: 88%;
  display: block;
  float: right;
}
.home-slide-img h1{
  font-size: 4.44rem;
  line-height: 1;
  padding-top: 20px;
}
.btn{
  width:100%;
  height: auto;
  background-color: rgba(255, 255, 255, 0.2);  
  padding: 15px;
  text-align: center;
  border-radius: 8px;
  color: white
}
.btn1{
  color: white;
  background-color: #127bb8;
  text-decoration: none;
  padding: 12px 30px 12px 30px;
  border-radius: 7px;
  font-size: 1.2rem;
}
.btn2{
  color: white;
  font-size: 1.2rem;
  margin-left:50px ;
  text-decoration: none;
  padding-bottom: 8px;
  border-bottom: 3px solid white;
}
.half-slide {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  margin-top: 50px;
   background: linear-gradient(66deg, rgb(153, 21, 36) 0%, rgb(223, 61, 61) 48%, rgb(168, 45, 45) 45%);
}

.half-slide .slide h1 {
  position: absolute;
  /* position over image */
  top: 50%;
  /* vertical center */
  left: 50%;
  /* horizontal center */
  transform: translate(-50%, -50%);
  /* adjust for exact center */

  font-size: var(--h1);
  text-align: center;
  z-index: 10;
 
}

.line{
  width: 100%;
  border-top: 1px dotted #d4d4d4;
  margin-top: 4%;
  margin-bottom: 4%;
  
  
}

/* --------------------------------------------------------section */
.full-content {
  width: 100%;
  height: auto;
  background-color: var(--color);
  padding-bottom: 5%;

}

.content {
  width: 60%;
  height: auto;
  margin: auto;
  text-align: center;
  padding-bottom: 5%;



}




/* --------------------------------------------------------contact */


.contact {
  width: 50%;
  height: auto;
  background-color: white;
  display: block;
  margin: auto;
  text-align: center;
  padding-bottom: 4%;

}

.contact i {
  color: var(--color);
  padding-right: 10px;
  padding-left: 10px;
}

.contact a {
  text-decoration: none;
  color: black;
}

.contact iframe {
  width: 80%;
  height: 40%;
  margin-top: 80px;
}

.contact-item {
  display: flex;
  flex-wrap: wrap;
  /* allow wrapping on very small screens */
  gap: 8px;
  /* space between items */
  align-items: center;
  /* vertically align icon and text */
  justify-content: center;
}

.contact-item span {
  display: flex;
  align-items: center;
  /* icon and text stay aligned */
  gap: 5px;
  /* small space between icon and text */
}


/* --------------------------------------------------------why-us*/

.partner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;

}

.partner div {
  text-align: center;
  padding: 10% 18% 10% 18%;
}

.partner h4 {
  padding-bottom: 50px;
  font-size: 1.23rem;
}

.by-partner {
  display: grid;
  grid-template-columns: 1fr 2fr;

}

.by-partner-padding {
  padding: 5% 30% 5% 30%;
  text-align: center;
}
.commitment{
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.Commitment div{
  background-color: pink;
 padding: 10% 16% 10% 16%;
 text-align: center;  
}
.commitment div h3{
   font-size: 1.23rem;
   color: #333;
}

/*--------------------------------------------------------- home */

.brand-logo{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  column-gap: 20px;  
  
}
.brand-logo > div{
  height:auto;
  width: 100%;
  margin-top: 20px;
}
.brand-logo img{
  width: 70%;
  display: block;
  margin: auto;
  transition: all 1.2s ease;
}

.brand-logo img:hover{
transform: scale(1.3);
}

.count{
  width: 60%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 10px;
  margin-top: 5%;
  text-align: center;
}
.count>  div{
  width: 100%;
  height:auto;
}
.count > div > img{
  display: block;
  margin: auto;
  width: 30%;
  padding-bottom: 20px;
}
.count > div > h3{
   color: #555;
  }

.carousel-container {
  width: 60%;
  overflow: hidden;
  position: relative;
  margin: auto;
}



.carousel {
  display: flex;
  transition: transform 0.8s ease;
  gap: 30px;
  /* space between items */
  padding: 5px;


}

.carousel-item {
  flex: 0 0 calc((100% - (30px * 3)) / 4);
  /* 4 visible items — subtract 3 gaps between them */
  box-sizing: border-box;
  background: white;
  text-align: center;
  border-radius: 8px;
  transition: transform 0.8s ease;
  margin-top: 20px;
  margin-bottom: 20px;
}

.carousel-item:hover {
  transform: scale(1.05);
}

.carousel-item img {
  width: 60px;
  object-fit: contain;
  padding-top: 20px;
  padding-bottom: 15px;

}

.carousel-item h3 {
  color: black;
  padding-left: 20px;
  padding-right: 20px;
  opacity: 0.7;

}

.home-pro {
  width: 60%;
  margin: auto;
}

.home-pro-item {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;  
  column-gap: 3%;
}

.home-pro-item>div {
  height: auto;
  border: 9px solid white;
  background-color: white;
  transition: transform 0.88s ease;
  margin-top: 15%;
  border-radius: 8px;

}

.home-pro-item>div:hover {
  transform: translateY(-11px);
}

.home-pro-item-detail {
  width: 100%;
  height: auto;

}

.home-pro-item-detail img {
  width: 40%;
  display: block;
  margin: auto;
  padding-top: 20px;
  padding-bottom: 20px;
}
/* --------------------------------------------------------about----us */


.patant {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  column-gap: 3%;
}

.patant>div>div img {
  width: 80%;
  margin: auto;
}

.ceo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  }



.ceo-image img {
  width: 50%;
  height: auto;
}

.quote-box {
  position: relative;
  max-width: 100%;
 
  padding: 50px 70px;
  border-radius: 10px;
  
}

.quote-text {
  position: relative;
  font-size: 20px;
  line-height: 1.6;
  color: #333;
  font-style: italic;
  z-index: 2;
  text-align: justify;
  
}

/* Big quotes */
.quote-text:before,
.quote-text:after {
  font-family: Georgia, serif;
  font-size: 90px;
  position: absolute;
  color: var(--color);
  font-weight: bold;
  z-index: -1;
}

.quote-text:before {
  content: "“";
  left: -70px;
  top: -40px;
}

.quote-text:after {
  content: "”";
  right: 40px;
  bottom: -80px;
}
.quote-author {
  padding-top: 20px;
  font-style: italic;
  color: var(--color);
  text-align: right;
  font-weight: 500;

}



.team-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10%;
}

.team-member {
  width: 220px;
  background: #fff;
  border: 8px solid #fff;
  /* full white border */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-7px);
}

.team-member img {
  width: 100%;
  height: auto;

}

.team-member h3 {
  padding-top: 20px;

}

.team-member p {
  margin: 0;
  font-size: 0.95rem;
}

.vis-mis {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

}

.vision {
  width: 50%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;


}

.vision-wrap {
  width: 50%;
  display: block;
  margin: auto;
  color: white;
}

.vision-img {
  width: 40%;
  margin: 60px;
}

.objective-img {
  margin: auto;
  display: block;
  padding-top: 50px;
  width: 88px;
}

.objective {
  width: 66%;
  display: grid;
  margin: auto;
  grid-template-columns: 1fr 1fr 1fr 1fr;

  text-align: center;

}

.objective i {
  font-size: 36px;
  padding-top: 44px;
  color: var(--color);
}

.objective p {
  width: 70%;
  margin: auto;
  padding-top: 20px;
  padding-bottom: 20px;
}


.core-values-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.core-values {
  width: 20%;
}

.core-values p {
  opacity: 0.5;
}

.core-values h3 {
  padding-top: 20px;
  color: black;

}


/*--------------------------------------------------------- product */




.pro-vid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 20px;

}

.pro-vid div {

  margin-top: 10%;
  width: 100%;
  aspect-ratio: 1 / 1;
  /* makes it square */
  overflow: hidden;

}

.pro-vid div iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-say {
  width: 60%;
  margin: auto;
}

.pro-vid1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;

}

.pro-vid1 div {
  width: 100%;
  aspect-ratio: 16 / 9;
  /* makes it square */
  overflow: hidden;
}

.pro-vid1 div iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.b-logo
{
  width: 13%;
  padding-top: 10%;
}
.brand-item{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  column-gap: 2%;
  margin-top: 3%;
 
}
.brand-item > div{
 
  width: 100%;
  border-radius: 7px;
  background-color:#f9f9f9;
  -webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.15); 
box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.15);
margin-top: 10%;
  
  
}
.brand-item-img img{
  width: 99%;
  padding: 10%;
  transition: transform 0.9s ease;
  
}
.brand-item-img img:hover{
  transform: scale(1.4);
}
.brand-item-title{
  padding: 20px;
}

/* --------------------------------------------------------image-pop----up */

/* Lightbox hidden */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s ease;
  /* fade in background */
}

/* Image animation */
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s ease;
}

/* When lightbox is active */
.lightbox.show img {
  opacity: 1;
  transform: scale(1);
}

/* Fade background */
@keyframes fadeIn {
  from {
    background: rgba(0, 0, 0, 0);
  }

  to {
    background: rgba(0, 0, 0, 0.9);
  }
}

/* Image inside popup */
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

/* Close button */
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.img-container {
  position: relative;
  display: inline-block;
  overflow: hidden;
  /* hide image edges when zooming */
  border-radius: 20px;
}

.img-container img {
  display: block;
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: transform 0.4s ease;
  /* smooth zoom */
  border-radius: 20px;
}

.img-container:hover {
  cursor: pointer;
}

/* Overlay style */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 20px;
}

/* Zoom icon */
.overlay i {
  color: white;
  font-size: 40px;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

/* Hover effect */
.img-container:hover img {
  transform: scale(1.1);
  /* zoom image */
  border-radius: 20px;
}

.img-container:hover .overlay {
  opacity: 1;
}

.img-container:hover .overlay i {
  transform: scale(1);
  /* zoom icon in */
}



/* product popup */


/* Hidden popup by default */
.image-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Popup image */
.image-popup img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  animation: zoomIn 0.3s ease;
}

/* Close button */
.close-popup {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/*--------------------------------------------------------- Mobile----------------------------------------------------------------------------- */


@media (max-width: 768px) {

  /*--------------------------------------------------------- menu */
   html {
    font-size: 14px; /* slightly smaller for mobile */
    
  }
  h1, h2, h3, a, ul, li, p{
    line-height: normal;
  }
  nav {

    height: 50px;
  }


  nav ul {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    width: 100%;
    position: absolute;
    top: 50px;
    left: 0;
    padding: 1rem 0;

  }

  .logo {
    width: 50%;

  }

  .logo img {
    width: 30%;
  }

  nav ul li {
    padding: 9px;
  }

  nav ul li a {
    color: white;

  }

  nav ul.show {
    display: flex;
  }


  .hamburger {
    display: flex;
  }

  nav ul li:hover ul {
    position: static;
  }

  .slide {
    margin-top: 30px;
  }
  .home-slide{
    height: auto;
    margin-top: 4vh;
    padding-bottom: 30px;
  }
.home-slide-img{
  grid-template-columns: 1fr;
}
.home-slide-img > div{
  padding-top: 50px;
}
.home-slide-img > div > img{
float: none;
}
  .content {

    width: 80%;
  }

  .half-slide {
    margin-top: 0;
  }
  h1{
    font-size: 1rem;
  }
  h2{
    font-size: 1.4rem;
  }
  h3{
    font-size: 1rem;
  }
  .half-slide .slide h1 {
    font-size: 1.68rem;
  }
  .button1 a {
    font-size: 0.77rem;
  }

  .brand-logo{
    grid-template-columns: 1fr 1fr 1fr;
  }

  .count{
    width: 80%;
       
  }

.footer{display: none;}
.half-slide{height: 30vh;}
 /*--------------------------------------------------------- product */
 .home1-pro{
  width: 80%;
  margin: auto;
 }
 .home1-pro-item > div{
   flex: 0 1 150px; /* Each card fixed width but responsive */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Spread image & text evenly */
  align-items: center;
  background: white; /* optional */
  
  padding: 15px;
  
  transition: transform 0.3s ease;
 }
 .brand-item {
  grid-template-columns: 1fr 1fr;
 }
.b-logo {
  width: 35%;
}
  /*--------------------------------------------------------- partnership */

  .partner {
    display: block;
    margin: auto;
  }

  .partner div {
    text-align: center;
    padding: 6%;
  }

  .partner-slide {
    height: 36vh;
  }

  .by-partner {
    display: block;
    margin: auto;
  }

  .by-partner-padding {
    padding: 6%;

  }

  .commitment{
    grid-template-columns: 1fr;
  }

  /*--------------------------------------------------------- contact */

  .contact {
    width: 88%;
  }

  .contact p {
    padding-left: 20px;
    padding-right: 20px;
  }

  /*--------------------------------------------------------- home */
.home-pro{
  width: 80%;
}
  .home-pro-item {
    grid-template-columns: 1fr 1fr;
  }

  .home-pro-item>div {
    margin-top:5%;
  }

  .home-pro-vid {
    grid-template-columns: 1fr;
  }
  .home-pro-vid div{
    background-color: none;
  }
.home-pro-vid div iframe {
aspect-ratio: 1 /1 ;
 
}
  .home-pro-vid>div {
    margin-top: 5%;
  }
  .home-pro-item-detail img {
  width: 30%;
  display: block;
  margin: auto;  
}
  .home-pro-item-detail1 img {
  width: 60%;
  display: block;
  margin: auto;
  padding-top: 5%;
  padding-bottom: 0;
  
}
 
  .carousel-item {
    flex: 0 0 100%;
    font-size: 1.2rem;
    padding: 25px 0;
  }

  /*--------------------------------------------------------- about-us */
  .patant {
    grid-template-columns: 1fr;
        
  }



  .team-member {
    width: 30%;
  }

  .vision {
    width: 100%;
  }

  .vision:nth-child(3) {
    border-top: 1px solid white;
  }

  .vision-img {
    width: 66%;
  }

  .vision-wrap {
    width: 100%;
    padding: 50px;
  }

  .ceo-container {
    grid-template-columns: 1fr;
  }

  .quote-block {
    margin: 0;
    padding: 0;
    text-align: center;
  }

  .quote-block p {
    padding: 0;
    width: 80%;
    margin: auto;
  }

  .quote-author {
    text-align: center;
    padding-top: 10px;
    margin: 0;

  }

  .ceo-image img {
    width: 80%;
    margin-bottom: 40px;
  }

  .quote-mark {
    visibility: none;
  }

  .ceo-text p {
    padding: 0;
  }

  .quote-mark {
    visibility: hidden;
  }

  .ceo-text {
    width: 88%;

  }

  .objective {
    width: 80%;
    grid-template-columns: 1fr 1fr;
  }
  .objective div{
    border-bottom:2px solid var(--color) ;
  }

  .core-values {
    width: 40%;
  }

  /*--------------------------------------------------------- about-us */
  .pro-vid {
    grid-template-columns: 1fr;
  }


  .pro-vid1 {
    grid-template-columns: 1fr;

  }

  .pro-vid1 div {
    margin-top: 10%;
  }


}




#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #f8c400;
  color: #000;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
  z-index: 999;
}

#backToTop:hover {
  background-color: #ffd633;
  transform: scale(1.1);
}

#preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.logo-images {
  display: flex;
  gap: 0px;
}

.logo-images img {
  width: 50px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
}

.logo-images img:nth-child(1) { animation-delay: 0.1s; }
.logo-images img:nth-child(2) { animation-delay: 0.4s; }
.logo-images img:nth-child(3) { animation-delay: 0.7s; }
.logo-images img:nth-child(4) { animation-delay: 1s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}


footer{
  width: 100%;
  height: auto;
 
  color: white; 
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #491040;
  text-align: center;
}
.footer-cat{
  width: 80%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; 
  
  
  
}
.footer-cat > div{
padding-top: 15%; 
padding-bottom: 15%;
width: 72%;

}
.footer-cat > div > img{
  width: 20%;
}
.footer{
 width: 100%;
  height: auto;
  background-color: #701a62;
color:white

}