@import url('https://fonts.googleapis.com/css?family=Ubuntu');
@import url('https://fonts.googleapis.com/css?family=Michroma');
@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');

body{
  height: 100vh;
  width: 100vw;
  margin: 0;
  font-family: 'Michroma', sans-serif;
  line-height: 100%;
  background-color: #4c4c4c;
  text-align: center;
  color: #fff;
    letter-spacing: 3px;
}


.logo {
    display: grid;
        position: relative;
        top: 10vh;
        justify-content: space-around;
        justify-items: center;
}



h1 
    font-size: 16px;
    letter-spacing: 3px;
    margin-bottom: 50px;
    margin-top: 30px;
    line-height: 120%;
    color: rgba(0, 0, 0, 0);
    }


h5 {
    font-size: 8px;
    letter-spacing: 3px;
  }

.h3 {
	font-size: 20px;
    letter-spacing: 3px;
  }






.p {
	font-size: 14px;
	font-weight: normal
	letter-spacing: 3px;
}

.header {
   font-size: 20px;
   margin-bottom: 20px;
   margin-top: 20px;
   letter-spacing: 3px;
   line-height: 150%;
}

.header-down-arrow {
  position: absolute;
    bottom: 12vh;
    left: 0;
    right: 0;
  text-align: center;
  z-index: 10;
}

.header-down-arrow img {
  animation: fade-slide-up 1s 2s ease-out forwards,
             pulse 2s 2s ease-out infinite;
  opacity: 0;
}
@keyframes pulse {
  0% {
    opacity: 1;
    transform: none;
  }
  50% {
    opacity: .6;
    transform: scale(.6);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}



.container {
  display: flex;
  background-size: cover;
}

.helmet {
background-size: contain;
    padding-top: 100px;
    position: relative;
}


 .section {
            max-width: 1200px;
            margin: 0 auto;
            padding-top: 40px;
	    padding-bottom: 50px;
            text-align: center;
        }

        .section h1 {
            font-size: 2Opx;
            margin-bottom: 50px;
            color: rgba(0, 0, 0, 0.5);
        }

	.section h2 {
            font-size: 22px;
            margin-bottom: 50px;
            color: #fff;
	    letter-spacing: 8px;
        }

    .section h3 {
        font-size: 20px;
        color: #fff;
        letter-spacing: 8px;
}


	.section p {
	font-size: 14px;
	font-weight: normal;
	letter-spacing: 3px;
}


        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 10px;
            margin-top: 30px;
        }

        .service-item {
            background: #878787;
            border: 1px solid #ddd;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 10px 20px 0px 20px;
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .service-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
        }

        .service-item i {
            font-size: 2.5em;
            color: #0078D7;
            margin-bottom: 15px;
        }

   
    


        .service-description {
            display: none;
            font-size: 12px;
            color: #fff;
            line-height: 1.3;
            margin-top: 10px;
        }



        .service-item.active .service-description {
            display: block;
        }

      


.main {
	display:flex;
}


.parallax1 {
  background: url(images/Main.webp);
  height: 100vh;
  background-position: left;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

.parallax2 {
  background: url(images/Irrigation.webp);
  height: 100vh; 
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.parallax3 {
  background: url(images/tv_mounting.webp);
  height: 100vh;
  background-position: left;
  background-size: contain;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.parallax4 {
  background-color: #454545;
  height: 70%;
  width: 100%;
  
}

.parallax5 {
  height: 100vh;
  background: url(images/spartan.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.parallax1, .parallax2, .parallax3, .parallax4 {
  position: relative;
  color: #4c4c4c;
  opacity: 1;
  background-position: left;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

.heading {
  position: absolute;
  color: .fff;
  font-size: 450%;
  top: 38%;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 8px;
  text-shadow: 0 0 10px .000;
}

.heading-sm {
  background: url(images/aboutus.webp);
  position: absolute;
  top: 45%;
  width: 100%;
  color: .fff;
  font-size: 250%;
  text-transform: uppercase;
  letter-spacing: 5px;
  text-shadow: 0 0 10px .000;
}

.two-col {
  float: left;
  width: 42%;
  padding: 0 4%;
  text-align: left;
}



.dark {
  min-height: 40vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: auto;
  opacity: 1;
  padding-top: 50px;
  padding-left: 20px
  padding-right: 20px
  display: flex;
  color: #4c4c4c;
  line-height: 200%;
  font-size: 0.8em;
  justify-content: space-around;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
}

.dark1 {
  font-family: michroma;
  overflow: auto;
  padding: 
  background-color: #4c4c4c;
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 16px;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  flex-direction: column;
  flex-wrap: wrap;
  background-position: center;
}

.dark2 {
  height: 50vh;
  background-color: #4c4c4c;
  color: #ffffff;
  font-size: 0.8em;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
 
}


/* carousel */
.carousel{
    height: 100vh;
    margin-top: -50px;
    width: 100vw;
    overflow: hidden;
    position: relative;
}
.carousel .list .item{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}
.carousel .list .item img{
    width: 100%;
    height: 100%;
    display: cover;
}
.carousel .list .item .content{
    position: absolute;
    top: 20%;
    width: 100vw;
    max-width: 80%
    transform: translateX(0%);
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
    background-color: rgb(0 0 0 / 20%);
}
.carousel .list .item .author{
    font-weight: bold;
    letter-spacing: 10px;
}
.carousel .list .item .title,
.carousel .list .item .topic{
    font-size: 5em;
    font-weight: bold;
    line-height: 1.3em;
}
.carousel .list .item .topic{
    color: #00ff00;
	padding-right: 10%;
}
.carousel .list .item .buttons{
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
    padding-bottom: 20px;
	padding-left: 30px;
}
.carousel .list .item .buttons button{
    border: 1px solid #000;
    background-color: #00ff00;
    letter-spacing: 3px;
    font-family: Michroma;
    font-weight: 900;
    color: #000;
    padding-bottom: 40px;
}
.carousel .list .item .buttons button:nth-child(2){
    background-color: transparent;
    border: 1px solid #fff;
    color: #eee;
}
/* thumbail */
.thumbnail{
    position: absolute;
    bottom: 50px;
    left: 40%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}
.thumbnail .item{
    width: 100px;
    height: 150px;
    flex-shrink: 0;
    position: relative;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.thumbnail .item .content{
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}
.thumbnail .item .content .title{
    font-weight: 500;
}
.thumbnail .item .content .description{
    font-weight: 300;
}
/* arrows */
.arrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}
.arrows button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee4;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
}
.arrows button:hover{
    background-color: #fff;
    color: #000;
}

/* animation */
.carousel .list .item:nth-child(1){
    z-index: 1;
}

/* animation text in first item */

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons
{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}
@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
.carousel .list .item:nth-child(1) .content .title{
    animation-delay: 1.2s!important;
}
.carousel .list .item:nth-child(1) .content .topic{
    animation-delay: 1.4s!important;
}
.carousel .list .item:nth-child(1) .content .des{
    animation-delay: 1.6s!important;
}
.carousel .list .item:nth-child(1) .content .buttons{
    animation-delay: 1.8s!important;
}
/* create animation when next click */
.carousel.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .5s linear 1 forwards;
}
@keyframes showImage{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.carousel.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.prev .list .item img{
    z-index: 100;
}
@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}
.carousel.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}

/* running time */

.carousel .time{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 3px;
    background-color: #f1683a;
    left: 0;
    top: 0;
}

.carousel.next .time,
.carousel.prev .time{
    animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime{
    from{ width: 100%}
    to{width: 0}
}


/* prev click */

.carousel.prev .list .item:nth-child(2){
    z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img{
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.carousel.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.next .arrows button,
.carousel.prev .arrows button{
    pointer-events: none;
}
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}





 .img-container {
    position: relative;
    height: 500px;
    width: 700px;
    perspective: 500px;
    transform-style: preserve-3d;
    overflow: hidden;
  }
  .box {
    box-shadow: 0 0 10px rgb(0 0 0 / 30%);
    width: 300px;
    height: 440px;
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid #bbb;
    position: absolute;
    top: 50%;
    transition: 3000ms ease-in-out;
  }
  
  .box img {
    width: 100%;
    height: 100%;
  }
  
  .box:first-of-type {
    z-index: 5;
    opacity: 0;
    left: 300%;
    transform: translate(-50%, -50%) rotateY(20deg);
  }
  
  .box:nth-of-type(2) {
    opacity: 1;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(0deg);
    z-index: 15;
  
  }
  .box:nth-of-type(3) {
    left: 120%;
    opacity: 1;
    color: #eee;
    z-index: 10;
    transform: translate(-50%, -50%) rotateY(-10deg) translateZ(-75px);
  }
  
  .box:nth-of-type(4) {
    z-index: 5;
    opacity: 0.65;
    left:-25%;
    transform: translate(-50%, -50%) rotateY(10deg) translateZ(-150px);
  }
  .box:nth-of-type(5) {
    z-index: 1;
    opacity: 0.6;
    left: 75%;
    transform: translate(-50%, -50%) rotateY(-30deg) translateZ(-200px);
  }
  
  .box:nth-of-type(6) {
    z-index: 2;
    opacity: 0.0;
    left: -300%;
    transform: translate(-50%, -50%) rotateY(-10deg) translateZ(-300px);
  }
  
  



.contact-form-container {
    background: #4c4c4c; /* Dark gray for form container */
    padding: 40px 50px 40px 50px;
    border-radius: 15px; /* More rounded corners */
    transform: rotateX(0deg) rotateY(0deg);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    perspective: 1000px;
   
    
}

.contact-form-container:hover {
   
}


.form-group {
    margin-bottom: 20px;
    font-family: michroma;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #999; /* Softer label color */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 80%;
    padding: 10px; /* Increased padding for more comfort */
    background-color: #333; /* Darker input fields */
    border: #ffffff;
    border-radius: 10px; /* Rounded corners for inputs */
    color: #fff;
    font-size: 16px;
    transition: box;
    font-family: michroma;
    border: 1px solid white;
}

#name{
  border-width: 1px; 
  border-color: rgb(255, 255, 255); 
  border-style: solid;
}


button {
    width: 150px;
    height: 40px;
    border: 1px solid #000;
    background-color: #00ff00;
    letter-spacing: 4px;
    font-family: Michroma;
    font-weight: 1200;
    color: #000;
    padding-bottom: 40px;
    border-radius: 10px;
}








/* Responsive Design */

@media screen and (max-width: 1200px){
    
    header{
        padding-left: 50px;
    }

    .list .item .content{
        left: 50px;
    }

    .content .title, .content .name{
        font-size: 70px;
    }

    .content .des{
        font-size: 16px;
    }

}

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

 header nav a{
        font-size: 14px;
        margin-right: 0;
    }

    .list .item .content{
        top: 40%;
    }

    .content .title, .content .name{
        font-size: 45px;
    }

    .content .btn button{
        padding: 10px 15px;
        font-size: 14px;
    }

 
 .section h1 {
     font-size: 30px;
     color: #fff;
     letter-spacing: 6px;
}

 .service-item i {
     font-size: 2em;
}

 .service-item h3 {
     font-size: 1.2em;
}

 .service-description {
     font-size: 12px;
    }
}
    




@media screen and (max-width: 600px){
    
    
 header{
        padding-left: 50px;
    }

    .list .item .content{
        left: 50px;
    }

    .content .title, .content .name{
        font-size: 70px;
    }

    .content .des{
        font-size: 16px;
    }


 .section h2 {
      font-size: 30px;
      margin-bottom: 50px;
      color: #fff;
      letter-spacing: 8px;
      
}


.section h3 {
     font-size: 24px;
     color: #fff;
     letter-spacing: 8px;
}

 .section p {
   font-size: 14px;
    font-weight: normal;
    letter-spacing: 3px;
    line-height: 1.5;
    padding-right: 20px;
    padding-left: 20px;
}
	

.parallax3 {
  background: url(images/tv_mounting.webp);
  height: 50%;
  background-position: left;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  width: 100%;
}


 .section {
            max-width: 600px;
            margin: 0 auto;
            padding: 20px 20px 100px 20px;
    	    padding-bottom: 20px
            text-align: center;
	    line-height: 1.4;


.services-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
     gap: 10px;
     margin-top: 30px;
}

}



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

 header nav a{
        font-size: 26px;
        margin-right: 0;
}

.logo {
    display: grid;
    position: relative;
    top: 10vh;
    justify-content: space-around;
    justify-items: center;
}


.parallax1 {
  background: url(images/Main.webp);
  height: 100vh;
  width: auto;
  background-position: left;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}



.parallax2 {
  background: url(images/Irrigation.webp);
  height: 100vh;
  width: auto;
  background-position: left;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}


.parallax3 {
  background: url(images/cctv_camera.webp);
  height: 100vh;
  width: auto;
  background-position: left;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}


.carousel .list .item .content{
        top: 15%;
	max-width: 95%
	padding-right: 5%;
	text-align: left;
}

.carousel .list .item .author {
    padding-top: 10px;
    padding-left: 10px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 6px;
}

.carousel .list .item .title{
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 4px;
    padding-top: 5px;
    padding-left: 10px;
}

.carousel .list .item .topic {
    font-size: 24px;
    font-weight: bold;
    line-height: 1em;
    letter-spacing: 4px;
    padding-top: 30px;
    padding-bottom: 20px;
    text-align: left;
    padding-left: 25%;
}

.carousel .list .item .des{
        font-size: 12px;
	line-height: 1.2;
	padding-left: 10px;
	letter-spacing: 4px;
}

.content .btn button{
        padding: 10px 15px;
        font-size: 14px;
}


.img-container {
    position: relative;
    height: 80vh;
    width: 100%;
    perspective: 100px;
    transform-style: preserve-3d;
}


 .box {
    box-shadow: 0 0 10px rgb(0 0 0 / 30%);
    width: 60%;
    height: 70%;
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid #bbb;
    position: absolute;
    top: 50%;
    transition: 800ms ease-in-out;
}

.box img {
    width: 100%;
    height: 100%;
}

.form-group input {
    width: 90%;
}

.form-group textarea {
    width: 90%;
}

 .section {
            width:80%;
            margin: 0 auto;
            padding: 20px 20px 50px 20px;
    	    padding-bottom: 20px
            text-align: center;
	    line-height: 1.4;
	    
	    
    }




.section p {
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 3px;
    line-height: 1.5;
   }

 .section h2 {
     font-size: 22px;
     margin-bottom: 50px;
     color: #fff;
     letter-spacing: 8px;

 }

.section h3 {
    font-size: 20px;
    color: #fff;
    letter-spacing: 8px;
}

.section h4 {
     font-size: 18px;
     color: #fff;
     letter-spacing: 8px;
    }
}
       






