@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

* {
	text-decoration: none;
	list-style: none;
	box-sizing: border-box;
}
body
{
	font-family: 'Quicksand', sans-serif;
	background-color: white;  
	margin: 0;
}

h1 {
	text-align: center;
} /*Main Title on each Page*/

h3{
	margin-top: 28px;
	text-align: center;
} /*Usually Product name title*/

h4{
	text-align: center;
}

form {
	padding: 20px;
	margin-left: 50px;
}

img {
	border-radius: 5px;
}

p{
	font-size: 20px;
	line-height: 24px;
}

.container {
  padding: 16px 16px;
}

input{
	width: 300px;
}

video{
	width: 100%;
	vertical-align: middle;
	padding: 50px;
}

/*--------------Section Link for Button format-----------------*/
.link {
	display: block;
	text-decoration: none;
	padding: 10px;
	border-radius: 5px;
	background-color: #89CFF0;
	text-align: center;
	width: 150px;
	margin: auto;
	text-transform: uppercase;
}

.link:link {
  color: black;
}

.link:hover {
	background-color: #005f99; /* A darker blue for contrast */
	color: white; /* Keeps the text visible */
}

.link:active {
  color: black;  
}

.link:visited {
  color: black;  
}

/*------------------Header Banner Section----------------------*/
#header-banner {
	width: 100%;
	height: auto; /* Let the height adjust based on the content */
	position: relative;
  }
  
  #header-banner img {
	width: 100%;
	object-fit: cover; /* Ensure the image covers the container, cropping the excess */
	display: block;
  }

.headerText {
	font-family: 'poppins', sans-serif;
	font-size: 40px;
    color: black;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    -webkit-text-stroke: 1px white;
    padding: 10px;
    width: 90%; /* This ensures the text resizes within the banner on smaller screens */
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .headerText {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .headerText {
        font-size: 18px;
    }
}

/*--------------------Wrapper (50/50)--------------------*/
.wrapper {
	display: grid;
	grid-template-columns: 50% 50%;
	grid-template-rows: auto;
	border: 1px;
	text-align: center;
}

.col {
	display: flex;
    flex-direction: column; /* Stack elements vertically within each .col */
    align-items: center; /* Center-aligns contents */
}
.col h2 {
	font-size: 30px;
}

.col p {
	text-align: center;
	padding: 0 50px 0 50px;
}

.col li {
	font-size: 20px;
}

/* -----------------------About us section--------------------- */

.about-us {
    border: 4px solid #005f99;
    border-radius: 20px;
	padding: 0 20px 20px 20px;
	margin: 20px 90px 0 90px;
	align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr; /* 2 equal-width columns */
}

.about-us col {
	display: flex;
    flex-direction: column; /* Stack elements vertically within each .col */
    align-items: center; /* Center-aligns contents */
}

.about-us *{
	border: none;
}

.about-us img {
	width: 100%;
	padding: 20px;
}
.about-us h2 {
	font-size: 36px;
	margin-bottom: 0;
}

.about-us p {
	text-align: justify;
}

/* Small screens (phones) */
@media (max-width: 890px) {
    .about-us{
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		margin: 10px 20px 0 20px;
		padding: 0 30px 10px 10px;
	}
	.about-us img {
		width: 100%;
	}
	#About-us {
		padding: 0;
	}
}

/*-----------------Company Details section------------------*/
.company-details {
	padding: 50px 50px 10px 50px;
	text-align: justify;
}

.company-details h2 {
	font-size: 28px;
}

.company-details li {
	font-size: 20px;
}

/*----------------------Core Value Section--------------------*/
.core-value {
	text-align: center;
	padding: 50px 0 10px 0;
	
}

.core-value h2 {
	font-size: 32px;
}

.value-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Default for smaller screens */
    grid-gap: 20px;
    margin: 20px;
    padding: 0;
}

.value-col {
	background-color: #f9f9f9;
	size: 18px;
  	border: 1px solid #ddd;
  	border-radius: 10px;
 	padding: 20px;
 	text-align: center;
 	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Large screens (desktop): box size 100px, 5 columns */
@media (min-width: 1024px) {
    .core-value {
        grid-template-columns: repeat(5, minmax(100px, 1fr));
    }
}

/* Medium screens: box size 350px, 3 top and 2 below */
@media (min-width: 768px) and (max-width: 1023px) {
    .core-value {
        grid-template-columns: repeat(3, minmax(200px, 1fr));
    }
}

/* Small screens (phones): box size 250px, display in single column */
@media (max-width: 767px) {
    .core-value {
        grid-template-columns: 1fr;
        grid-gap: 20px;
    }
}

/*--------------------Achievements section--------------------*/
.achievements {
	padding: 50px 100px 10px 100px;
	text-align: center;
}

.achievements h2 {
	font-size: 28px;
}

.achieve-row {
	display: grid;
	grid-template-columns: 50% 50%;
	grid-template-rows: auto;
	border: 1px;
	text-align: center;
	gap: 20px;
}

.achieve-col {
	background-color: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.achieve-col img {
	width:300px;
}

/* ------------------Breadcrumb Nav Section----------------- */
/*Use in Product details page only*/
.breadcrumbnav {
	list-style: none;
}

.breadcrumbnav li {
	display: inline-block; font-weight: bold;
}

.breadcrumbnav li::after {
	content: " >  ";
}

.breadcrumbnav li:last-child::after {
	content: "";
}

.breadcrumbnav a {
	font-weight: normal; text-decoration: none;
	color: #222;
}

.breadcrumbnav a:hover {
	text-decoration: underline;
	color: #222;
}

/* -----------------Products Detail Section---------------- */
.product-row {
	padding: 0 20px 0 20px;
	display: grid;
	grid-template-columns: 40% 60%;
	grid-template-rows: auto;
	grid-gap: 10px;
	border: 1px;
	text-align: center;
  }

.product-col {
	background-color: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
.product-col img{
	padding: 50px;
	width: 100%;
}

/* ---------------------Responsive section------------------ */
@media (max-width: 576px) {
    .nav-item {
        width: 100%;
        text-align: left;
    }

    .v-line {
        display: none;
    }
}

/* For very small screens (below 800px), the grid will display 1 column (the order change picture first then text)*/
@media (max-width: 800px) {
	.wrapper {
		display: grid;
		grid-template-columns: 1fr;
	}

	.achieve-row {
		display: grid;
		grid-template-columns: 1fr;
	}

	.achievements {
		padding: 50px 50px 10px 50px; 
	}

	.col {
		margin-bottom: 100px;
	}

	.col:nth-of-type(1) {
		order: 1;
	}

	.col:nth-of-type(2) {
		order: 2;
	}

	.col:nth-of-type(3) {
		order: 4;
	}

	.col:nth-of-type(4) {
		order: 3;
	}

	.col:nth-of-type(5) {
		order: 5;
	}

	.col:nth-of-type(6) {
		order: 6;
	}

	.product-row {
		grid-template-columns: 1fr;
	}
}

/* For large screen */
@media (min-width: 799px) {
	.col:nth-of-type(2), .col:nth-of-type(3), .col:nth-of-type(6){
		margin-top: 100px;
	}
}

/* ---------------- OEM page/credit on image 1------------------*/
.image-container {
	position: relative;
	width: 100%;
}

.image-link {
	position: absolute;
	bottom: 10px;
	left: 10px;
	background-color: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 5px 10px;
	text-decoration: none;
	font-size: 10px;
	border-radius: 3px;
}


.image-link:hover {
	background-color: rgba(0, 0, 0, 0.9); /*Darker backround when hover*/
}


