@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}
*{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body{
  font-family: 'Open Sans', sans-serif;
  line-height: 1.5;
}

.container {
  width: 80%;
  margin: 0 auto;
}

header {
  background-color: rgba(255, 255, 255, 0.91);
  padding: 18px 0;
  position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100vw;
	height: auto;
}

header img {
  height: 40px;
  margin-top: 5px;
  margin-left: 50px;
}
/* .image {
  filter: brightness(120%);
} */
svg:root {
  width: 40%;
  height: 40%;
}

nav {
  float: inline-end;
  margin-top: 10px;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  display: inline;
  margin-left: 20px;
}

nav ul li a {
  color: #e28d2c;
  text-decoration: none;
  transition: all .50s ease;
}
nav ul li a:hover{
  color: rgb(11, 164, 184);
  transform: translate(-3px);
}

section {
  padding: 15px 0;
}

.home-section {
  background-image: linear-gradient(rgb(9 4 139 / 19%), rgb(41 41 41 / 60%)), url('../images/1.jpg');
  background-size: cover;
  background-position: center;
  height: max(50vh, 40rem);
}
.home-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 70ch;
  height: 100%;
  margin-top: 25%;
  animation: fadeIn 7s;
}
.home-section h1{
  color:rgb(169, 169, 169);

}
.home-section p{
  color: rgb(242, 205, 130);

}
.home-section h5{
  color: #fff;

}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}


/* .home-section {
  animation-duration: 3s;
  animation-name: slidein;
} */
/* @keyframes slidein {
  from {
    margin-left: 100%;
    width: 300%;
  }

  to {
    margin-left: 0%;
    width: 100%;
  }
} */

.services-section, .portfolio-section, .contact-section {
  text-align: center;
}

.services-box, .portfolio-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, auto));
  align-items: normal;
  gap: 1rem;
}
.services-section h2, .portfolio-section h2{
  color: #ef7f23;
}
.services-box b, .portfolio-box b{
  color: #006994;
}
.services-box h3, .portfolio-box h3{
  color: #535252;
  font-size: 15px;
}

.service img, .portfolio-item img {
  max-width: 100%;
  height: auto;
}



/*-----Testimonial-------*/
.container-1{
  position: relative;
  width: 100%;
  min-height: 450px;
  background-color: #f5f5f5;
}
.container-1 .contents-wraper{
  width: 70%;
  min-height: inherit;
  margin: 30px auto;
  text-align: center;
}
.container-1 .contents-wraper h1{
  transform: translate(10px, 40px);
  color: #ef7f23;
  font-size: 40px;
  font-weight: 600;
}
.contents-wraper .header h1{
  position: relative;
  font-size: 40px;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
  letter-spacing: 1px;
}
.contents-wraper .header h1::before{
  content: '';
  width: 200px;
  height: 2px;
  background-color: #006994;
  border-radius: 15px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
}
.contents-wraper .testRow{
  width: 100%;
  min-height: inherit;
  position: relative;
  overflow: hidden;
}
.testRow .testItem{
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.testRow .testItem:not(.active){
  top: 0;
  left: -100%;
}
.testRow .testItem:is(.active){
  transform: translate(10px, -10%);
}
.testRow .testItem img{
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 5px;
  outline: 2px solid #006994;
  outline-offset: 2px;
}
.testRow .testItem h3{
  font-size: 30px;
  font-style: italic;
  padding: 7px;
}
.testRow .testItem h4{
  font-style: italic;
}
.testRow .testItem p{
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 1.2;
  padding: 10px;
}
.contents-wraper .indicators{
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px;
  cursor: pointer;
}
.contents-wraper .indicators .dot{
  width: 15px;
  height: 15px;
  margin: 0px 3px;
  border: 3px solid #aaa;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.5s ease;
}
.contents-wraper .indicators .active{
  background-color: #006994;
}
@keyframes next1{
  from{
    left: 0%;
  }
  to{
    left: -100%;
  }
}
@keyframes next2{
  from{
    left: 100%;
  }
  to{
    left: 0%;
  }
}

@keyframes prev1{
  from{
    left: 0%;
  }
  to{
    left: 100%;
  }
}
@keyframes prev2{
  from{
    left: -100%;
  }
  to{
    left: 0%;
  }
}

/* Testimonial end */

.contact-bg{
  height: 40vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url(../images/circuit-board-TinyTrace-C.png);
  background-position: 50% 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.contact-bg h3{
  font-size: 1.3rem;
  font-weight: 400;
}
.contact-bg h2{
  font-size: 3rem;
  text-transform: uppercase;
  padding: 0.4rem 0;
  letter-spacing: 4px;
}
.line div{
  margin: 0 0.2rem;
}
.line div:nth-child(1),
.line div:nth-child(3){
  height: 3px;
  width: 70px;
  background: #ef7f23;
  border-radius: 5px;
}
.line{
  display: flex;
  align-items: center;
}
.line div:nth-child(2){
  width: 10px;
  height: 10px;
  background: #ef7f23;
  border-radius: 50%;
}
.text{
  font-weight: 300;
  opacity: 0.9;
}
.contact-bg .text{
  margin: 1.6rem 0;
  width: 80%;
}
.contact-body{
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1rem;
}
.contact-info{
  margin: 2rem 0;
  text-align: center;
  padding: 2rem 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.contact-info a{
  text-decoration: none;
  color: black;
}
.contact-info span{
  display: block;
}
.contact-info div{
  margin: 0.8rem 0;
  padding: 1rem;
}
.contact-info span .fas{
  font-size: 2rem;
  padding-bottom: 0.9rem;
  color: #ef7f23;
}
.contact-info div span:nth-child(2){
  font-weight: 500;
  font-size: 1.1rem;
}
.contact-info .text{
  padding-top: 0.4rem;
}
footer {
  background-color: #0c0c0c;
  color: #fff;
  text-align: center;
  padding: 4px 0;
}

/* Responsive styles */
.menu-toggle {
  display: none; /* Hide by default */
  cursor: pointer;
}

@media (max-width: 1200px){
  .container{
    width: 90%;
  }
  header img{
    height: 40px;
  }
  .home-content {
    margin-top: 30%;
  
  }

  .contact-bg{
    height: 45vh;
  }
  .contact-bg .text{
    width: 80%;
  }
  .contact-info{
    grid-template-columns: repeat(4, 1fr);
  }

}

@media (max-width: 900px){
  .container{
    width: 90%;
  }
  header img{
    height: 40px;
  }
  .home-content {
    margin-top: 35%;
  
  }

  /* .contact-bg{
    height: 45vh;
  } */
  .contact-bg .text{
    width: 80%;
  }
  .contact-form{
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      align-items: center;
  }
 
}

@media (max-width: 768px) {
  .container {
      width: 90%;
  }

  header img {
      height: 40px;
  }

  nav ul {
      display: none; /* Hide menu by default */
  }

  nav ul.active {
      display: block; /* Display when menu is active */
      width: 100%;
      height: 100%;
      padding: 40px;
  }

  nav ul li {
      display: block; /* Display list items as blocks */
      text-align: center;
      margin-top: 10px;
  }

  .menu-toggle {
      display: block; /* Display on smaller screens */
      padding-right: 25px;

  }
  .home-content {
    margin-top: 40%;
  
  }

  .container-1{
    min-height: 520px;
  }

  .container-1 .contents-wraper{
    width: 90%;
  }
  .contents-wraper .header h1{
    font-size: 32px;
  }
  .testRow .testItem h3{
    font-size: 26px;
  }
  .testRow .testItem p{
    font-size: 16px;
    letter-spacing: initial;
    line-height: initial;
  }
  .contact-bg{
    height: 45vh;
  }
  .contact-bg .text{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .contact-info{
      display: grid;
      grid-template-columns: repeat(2, 1fr);
  }
}


@media (max-width: 576px) {
  .container {
      width: 95%;
  }

  header img {
      height: 30px;
  }
  nav ul {
    display: none; /* Hide menu by default */
}

nav ul.active {
    display: block; /* Display when menu is active */
    width: 100%;
    height: 100%;
    padding: 40px;
}
.menu-toggle {
  padding-right: 10px;
  transform: translate(-2px, -10px);
}
.home-content {
  margin-top: 60%;

}
/* nav ul li {
    display: block;
    text-align: center;
}

.menu-toggle {
    display: block;

} */
.container-1{
  min-height: 550px;
}
.container-1 .contents-wraper{
  width: 90%;
}
.contents-wraper .header h1{
  font-size: 32px;
}
.testRow .testItem h3{
  font-size: 26px;
}
.testRow .testItem p{
  font-size: 16px;
  letter-spacing: initial;
  line-height: initial;
}
.contact-bg{
  height: 55vh;
}
.contact-bg .text{
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
.contact-info{
  display: contents;
}

}

@media (max-width: 320px){
.container{
    width: 80%;
}
header img {
    height: 20px;
}
.home-content {
  margin-top: 80%;

}

.container-1{
  min-height: 600px;
}
.container-1 .contents-wraper{
  width: 90%;
}
.contents-wraper .header h1{
  font-size: 32px;
}
.testRow .testItem h3{
  font-size: 26px;
}
.testRow .testItem p{
  font-size: 16px;
  letter-spacing: initial;
  line-height: initial;
}
.contact-bg{
  height: 60vh;
}
.contact-bg .text{
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

}