*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Segoe UI", Arial, sans-serif;
}

:root{
    --green:#1f9d55;
    --dark:#0f2f23;
	--lgreen:#8ec97d;
    --white:#ffffff;
	--black:#000000;
}

/* Make full height layout */
html, body {
    height: 100%;
}


/* Push footer to bottom */
.page,
.page2 {
    flex: 1;
}

/* Footer styling */
footer{
	background:var(--dark);
    color:#fff;
    text-align:center;
    padding:10px;
    margin-top:0px;
	bottom: 0px;
	width: 100%;
}



/* topbar */
.topbar{
	background:var(--lgreen);
	color:var(--black);
    font-size:15px;
	width: 100%;
	padding: 6px 50px 1px 0px;
	text-align: right;
	z-index:1000;
}

.topbar a {
    color: var(--black);
    text-decoration: none;
}

.topbar a:hover {
    text-decoration: underline;
}


/* Menu */
.header{
	background:var(--white);
    padding-top: 8px;
	padding-bottom: 5px;
	margin-right: 20px;
	top:32px;
	z-index:999;
	width: 100%;
	display: block;
}

.header-flex{
    display:flex;
    align-items:center;
    justify-content:space-between;
	margin-right: 50px;
}

.logo{
    max-height:60px;
	margin: 0px 20px;
}


.hamburger{
 display:none;font-size:28px;cursor:pointer;color: var(--dark);
}

#menu-toggle{display:none}

.nav-menu a{
    color:var(--dark);
    text-decoration:none;
    font-size:15px;
	padding-left:50px;
	font-weight:500;
}

.nav-menu a.active,
.nav-menu a:hover{
    color:var(--green);
}

/* Hero */
.image-wrapper{
    width:100%;
    height:100vh;
	z-index:998;
}

.image-wrapper img{
    width:100%;
    height:100%;
    object-fit:cover;
	position:absolute;
}

/* Circle Overlay */
.circle{
    position: relative;
	top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:320px;
    height:320px;
    border-radius:50%;
    background:rgba(31,157,85,0.85);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:25px;
}

.circle h1{
    line-height:1.4;
    font-weight:500;
}

/* Inner Pages */
.page{
    padding:89px 50px;
	background-color: #dcffd1;
    text-align:center;
}

.page2{
    padding:50px 50px;
	background-color: #ffffff;
    text-align:center;
}

.page3{
    padding:20px 0px 0px;
	background: linear-gradient(to bottom, #ffffff 70%, #dcffd1);
    text-align:center;
}


.address{
    text-align:center;
}

.page h1{
    margin-bottom:15px;
}

p {
  margin-bottom: 0.5rem;
}




/* About Page */

.content {
  display: flex;
  text-align: center;
  margin: 20px 0px;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  margin: 10px 0px;
  padding: 20px;
  gap: 20px;
  flex-wrap: wrap; /* responsive */
 }

.slider-placeholder,
.pdf-placeholder {
  border: 2px dashed #ccc;
  align-items: center;
  justify-content: center;
  color: #ccc;
  display: block;
  margin-top:10px;
}

.certificate {
	height: 450px;
}

.pdf {
	margin-left:0px;
}

/* Who We Are section */

.whoweare {
  background-color: #dcffd1;
  display: block;
  text-align: center;
  margin: 20px 0px;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  margin: 10px 0px;
  padding: 20px;
  gap: 20px;
  flex-wrap: wrap; /* responsive */
  }

.goals {
  display: flex;
  flex-wrap: wrap; /* responsive */
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  gap: 20px;
  margin-top:20px;
}

.goal-item {
  flex: 1;
  width: auto;
  justify-content: center;
}

.goal-container {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.whoweare p{
	padding: 5px 30px;
}


/* Core Values section */

.core-value {
  background-color: #ffffff;
  display: block;
  text-align: center;
  position:relative;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  padding: 20px;
  gap: 20px;
  flex-wrap: wrap; /* responsive */  
}

.values {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap; /* responsive */
}

.value-item {
  flex: 1;
  width: auto;
  justify-content: center;
}

.value-photo {
  width: 280px;
  height: 180px;
  border-radius: 0%;
  object-fit: cover;
  margin: 20px auto;
}

.core-value p{
	padding: 5px 30px;
}



/* Services Page */

.page-services{
  	background: linear-gradient(to bottom, #ffffff 70%, #dcffd1);
}

.page-services h1 {
	padding:10px 0px;
	background: #dcffd1;
	text-align:center;
}

.services {
  display: flex;
  flex-wrap: wrap; /* responsive */
  justify-content: center;
}

.basic-list {
  padding-left: 20px;
}

.basic-list li {
  margin-bottom: 5px;
}

.dfma{
	text-align: left;
	width:25%;
	padding:20px 30px;
}

.dfma-img{
	width: 200px;
	display: block;
	margin: 10px auto;
}

.component{
	text-align: left;
	width:50%;
	padding:20px 30px;
	display: flex;
	flex-wrap: wrap; /* responsive */
	border-right: 1px solid #1f9d55; /* line color */
	border-left: 1px solid #1f9d55; /* line color */
	height: auto;                
}

.fabrication{
	text-align: left;
	width:25%;
	padding:20px 30px;
	display: flex;
	flex-wrap: wrap; /* responsive */
}

.key-container {
	margin: 0px auto;
}

.key-services{
	display: grid;
	grid-template-columns: repeat(2,1fr);
	margin-top: 10px;
	gap: 20px;
}

.dfma h3{
	text-align: center;
}

.paragraph h3{
	text-align: center;
}

.pcb-fabrication h3{
	text-align: center;
	margin-bottom: 10px;
}

.procurement{
	width: 200px;
	display: block;
	margin: 10px auto;
}


.pcb-img {
	display: block;
	margin: 10px auto;
}


.ser-container {
	display: flex;
	background: #fff;
	border-radius: 10px;
	width: 260px;
	height: 70px;
	margin-bottom: 10px;
	gap: 15px;
	align-items: center;
	border: 2px solid #CCC;
}

.img-sourcing{
height: 60px;	
margin-left: 15px;
}

.img-bom{
height: 60px;
margin-left: 15px;	
}

.img-scrubbing{
height: 60px;
margin-left: 15px;	
}

.img-chip{
height: 60px;
margin-left: 15px;	
}



/* PDF and XL links */
.file-container {
    max-width: 400px;
	max-height: 200px;
	padding: 2px;
    background: #ffffff;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	position: relative;
	bottom: 0px;
	margin: 20px auto;
}

.file-link {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: 0.3s ease;
}

/* PDF style */
.file-link.pdf {
    background: #e53935;
    color: #ffffff;
}

.file-link.pdf:hover {
    background: #c62828;
}

/* Excel style */
.file-link.excel {
    background: #2e7d32;
    color: #ffffff;
}

.file-link.excel:hover {
    background: #1b5e20;
}

.industries {
	margin: 30px 0px;
}

.industries h3 {
	text-align: center;
}

.industries-container {
	display: flex;
	flex-wrap: wrap; /* responsive */
	padding-left: 50px;
	justify-content: space-between;
	gap: 0px;
	margin-top: 10px;
	align-items: center;
}

.text-block,
.img-block{
	flex: 1;
}

.ind-img{
	width: auto;
	margin-left:-20px;
}



/* Services */

.wrap-img {
    float: none;
    display: block;
    margin: 0 auto 15px;
  }


/* Our Products */
.products{
  text-align: center;
  align-items: center;
  justify-content: center;
  width: 100%;
  display: flex;
  flex-wrap: wrap; /* responsive */
  gap: 100px;
}


.product-containor{
	border: 2px solid #ccc;
	padding: 5px;
	margin-top: 0px;
	background: #ffffff;
}

.products img{
	margin-top: 10px;
}


/* Our Equipements */
.boards {
	text-align: center;
	margin-top: 30px;
}

/* Slideshow */
.slideshow{width:100%;max-width:800px;margin: 10px auto;overflow:hidden;}
.slideshow input{display:none;}
.slides{display:flex;width:800%;transition:transform .6s ease;}
.slide{width:12.5%;display:flex;align-items:center;justify-content:center;background:#ffffff; border: 2px solid #ccc;}
.slide img{max-width:100%;max-height:450px;width:auto;height:auto;object-fit:contain; }

#slide1:checked~.slides{transform:translateX(0)}
#slide2:checked~.slides{transform:translateX(-12.5%)}
#slide3:checked~.slides{transform:translateX(-25%)}
#slide4:checked~.slides{transform:translateX(-37.5%)}
#slide5:checked~.slides{transform:translateX(-50%)}
#slide6:checked~.slides{transform:translateX(-62.5%)}
#slide7:checked~.slides{transform:translateX(-75%)}
#slide8:checked~.slides{transform:translateX(-87.5%)}

.thumbnails{display:flex;justify-content:center;gap:15px;margin-top:10px; margin-bottom:20px}
.thumbnails img{width:80px;height:50px;object-fit:cover;opacity:.5;border-radius:6px;cursor:pointer}
#slide1:checked~.thumbnails label[for=slide1] img,
#slide2:checked~.thumbnails label[for=slide2] img,
#slide3:checked~.thumbnails label[for=slide3] img,
#slide4:checked~.thumbnails label[for=slide4] img,
#slide5:checked~.thumbnails label[for=slide5] img,
#slide6:checked~.thumbnails label[for=slide6] img,
#slide7:checked~.thumbnails label[for=slide7] img,
#slide8:checked~.thumbnails label[for=slide8] img{opacity:1;border:2px solid var(--green)}



/* Contact Us */
/* contact-form */
.contact-form {
	max-width:500px;
	margin:30px auto;
	display:flex;
	flex-direction:column;
	gap:15px
}

.contact-form input,.contact-form textarea{
	padding:12px;
	border:1px solid #ccc;
	border-radius:6px
}
.contact-form button{
	background:var(--green);
	color:#fff;
	padding:12px;
	border:none;
	border-radius:6px;
}


/* Popup Modal */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    animation: fadeIn 0.3s ease-in-out;
}

.popup-content h2 {
    margin-bottom: 10px;
    color: #1f9d55;
}

.popup-content button {
    margin-top: 15px;
    padding: 8px 15px;
    background: #1f9d55;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup-content button:hover {
    background: #157a40;
}

@keyframes fadeIn {
    from {opacity: 0; transform: scale(0.9);}
    to {opacity: 1; transform: scale(1);}
}





/* WhatsApp Floating Button */
.whatsapp-float {
	position: fixed;
    bottom: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
    z-index: 3000;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    transition: 0.3s;
}

.whatsapp-float img:hover {
    transform: scale(1.1);
}


/* Vertical Contact Bar */
.contact-bar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3000;
    display: flex;
    flex-direction: column;
}

/* Common Icon Style */
.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin: 2px 0;
    border-radius: 8px 0 0 8px;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hidden Text (Slide Effect) */
.contact-icon span {
    position: absolute;
    right: 50px;
    background: inherit;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    transition: 0.3s;
}

/* Show Text on Hover */
.contact-icon:hover span {
    opacity: 1;
    right: 55px;
}

/* WhatsApp */
.whatsapp {
    background: #25D366;
}

/* Call */
.call {
    background: #1f9d55;
}

/* Email */
.email {
    background: #0f2f23;
}

/* Hover Effect */
.contact-icon:hover {
    width: 55px;
}





/*---------------------------------------------------------------*/

/* Mobile phones */
/* Responsive */

@media (max-width: 480px) { /* small phones */ }
.hamburger span{
    display:block;
    height:3px;
	background:var(--white);
    margin:6px 0;
    border-radius:2px;
	width:45px;
	margin:2px;
}

.certificate {
	height: 350px;
}

.ind-img{width: 300px; margin: 10px 0px}


@media(max-width:575px){
 .nav-menu{display:none;}
 .circle{width:250px;height:250px;font-size:14px;}
 .certificate{height: 300px;}
 .ind-img{width: 400px; margin: 10px 0px}
 .topbar{text-align: left;padding-left:20px;}

 .page3{
    padding:20px 0px 0px;
}
 
 
/* Hamburger */
.hamburger{
    margin-top: 10px;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: var(--lgreen);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
    cursor:pointer;
	z-index: 1000;
}

.hamburger span{
    display:block;
    height:3px;
	background:var(--white);
    margin:6px 0;
    border-radius:2px;
	width:25px;
	margin:2px;
}

/* Menu */
.nav-menu{
    position:absolute;
    top:130px;
    right:0;
    background:rgba(15,47,35,0.95);
    width:240px;
    display:none;
    flex-direction:column;
	z-index:1000;
}

.nav-menu a{
    color:var(--white);
    text-decoration:none;
    padding:15px 20px;
    border-bottom:1px solid rgba(255,255,255,0.08);
}

.nav-menu a:hover,
.nav-menu a.active{
    background:var(--green);
	color:#ffffff;
}

/* Toggle */
#menu-toggle:checked + .hamburger + .nav-menu {
    display:flex;
}
 
 
/* Our Products */
/* PDF and XL links */
.services{gap: 30px;}
.fabrication{gap:0px; padding-top:0px}

.products{text-align: center;align-items: center;justify-content: center;gap: 50px;}
.product-containor{border: 2px solid #ccc;padding: 5px;margin-top: 0px;background: #ffffff;}
.products img{margin-top: 5px;width:380px;}

 /* Slideshow */
.slideshow{width:80%;max-width:800px;margin: 10px auto;overflow:hidden;}
.slideshow input{display:none;}
.slides{display:flex;width:800%;transition:transform .6s ease;}
.slide{width:12.5%;display:flex;align-items:center;justify-content:center;background:#ffffff; border: 2px solid #ccc;}
.slide img{max-width:100%;max-height:450px;width:auto;height:auto;object-fit:contain; }

#slide1:checked~.slides{transform:translateX(0)}
#slide2:checked~.slides{transform:translateX(-12.5%)}
#slide3:checked~.slides{transform:translateX(-25%)}
#slide4:checked~.slides{transform:translateX(-37.5%)}
#slide5:checked~.slides{transform:translateX(-50%)}
#slide6:checked~.slides{transform:translateX(-62.5%)}
#slide7:checked~.slides{transform:translateX(-75%)}
#slide8:checked~.slides{transform:translateX(-87.5%)}

.thumbnails{display:flex;justify-content:center;gap:10px;margin-top:10px; margin-bottom:20px}
.thumbnails img{width:40px;height:30px;object-fit:cover;opacity:.5;border-radius:6px;cursor:pointer}
#slide1:checked~.thumbnails label[for=slide1] img,
#slide2:checked~.thumbnails label[for=slide2] img,
#slide3:checked~.thumbnails label[for=slide3] img,
#slide4:checked~.thumbnails label[for=slide4] img,
#slide5:checked~.thumbnails label[for=slide5] img,
#slide6:checked~.thumbnails label[for=slide6] img,
#slide7:checked~.thumbnails label[for=slide7] img,
#slide8:checked~.thumbnails label[for=slide8] img{opacity:1;border:2px solid var(--green)}


/* Our Services */

.services {
  display: block;
  justify-content: center;
}

.dfma{
	text-align: left;
	width:auto;
	padding:20px 30px;
	border-bottom: 1px solid #1f9d55; /* line color */
}

.dfma-img{
	width: 150px;
	margin: 10px auto;
}

.component{
	text-align: left;
	width:auto;
	padding:20px 30px;

}

.paragraph {
	width:auto;
	margin-right: 10px;
	margin-bottom: 20px;		
}

.key-services{
	display: block;
	margin-top: 20px;
}

.fabrication{
	text-align: left;
	width:auto;
	padding:20px 30px;
	display: flex;
	flex-wrap: wrap; /* responsive */
	border-top: 1px solid #1f9d55; /* line color */
}

.key-container {
	margin: 0px auto;
}

.procurement{
	width: 180px;
	display: block;
	margin: 10px auto;
}

.industries {
	margin-left: 0;
	margin-right: 20px;
}

}



/* Tablets */
@media (min-width: 576px) and (max-width: 991px) { 
/* Make body a flex container */

.dfma{
	text-align: left;
	width:30%;
	padding:10px 20px;
	border-right: 1px solid #1f9d55; /* line color */
	height: auto;                
}

.dfma-img{
	width: 150px;
	margin: 10px auto;
}

.component{
	text-align: left;
	width:40%;
	padding:10px 20px;
	display: flex;
	flex-wrap: wrap; /* responsive */
}


.fabrication{
	text-align: left;
	width:30%;
	padding:10px 20px;
	display: flex;
	flex-wrap: wrap; /* responsive */
	border-left: 1px solid #1f9d55; /* line color */
	height: auto;                
}

.paragraph {
	width:auto;
	margin-right: 10px;	
}

.key-container {
	margin: 0px auto;
}

.key-services{
	display: flex;
	flex-wrap: wrap; /* responsive */
	margin-top: 20px;
	font-size: 15px;
}

.ser-container {
	display: flex;
	background: #fff;
	border-radius: 10px;
	width: 220px;
	height: 70px;
	margin-bottom: 10px;
	gap: 15px;
	align-items: center;
	border: 2px solid #CCC;
}

.img-sourcing{
height: 40px;	
margin-left: 15px;
}

.img-bom{
height: 40px;
margin-left: 15px;	
}

.img-scrubbing{
height: 40px;
margin-left: 15px;	
}

.img-chip{
height: 40px;
margin-left: 15px;	
}

.procurement{
	width: 150px;
	display: block;
	margin: 10px auto;
}

.pcb-img{
	width: 150px;
	margin: 10px auto;
}

}
