:root {
    --primary-color: rgb(85, 255, 0);
    --secondary-color: rgb(50, 150, 0);
    --text-dark: #13313c;
    --text-light: rgb(97, 97, 97);
    --white: #ffffff;
    --max-width: 1400px;
    --background:#f9fafb;
  }

  body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden; 
}


.pic{
    max-width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;              
    justify-content: center;   
    align-items: center;
    z-index: -1000;
    background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.7)),url(../images2/switchboards.jpg);
    background-repeat: no-repeat;
    background-size: cover;      
    background-position: center;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}


.pic h1{
    color: var(--white);
    font-size: 60px;
    padding: 0 0 85px 0;
}

.pic #pic1{
    color: var(--white);
    font-size: 30px;
    max-width: 1000px;
    padding: 0 10px 200px;
}

.nav__header {
    margin-top: 0;
}

.picmainbox{
    margin-top: -150px;
    display: flex;
    justify-content: center;  
    align-items: center;      
    height: 100%;           
    background-size: cover;                  
}

.picbox {
    border-radius: 13px;
    background-color: #f2efdc;
    max-width: 1000px;
    padding: 20px 20px;
    display: flex;            
    flex-direction: row;     
    justify-content: space-between; 
    align-items: center;
    box-shadow: blue 0px 0px 0px 2px inset, rgb(255, 255, 255) 10px -10px 0px -3px, rgb(31, 193, 27) 10px -10px, rgb(255, 255, 255) 20px -20px 0px -3px, rgb(255, 217, 19) 20px -20px, rgb(255, 255, 255) 30px -30px 0px -3px, rgb(255, 156, 85) 30px -30px, rgb(255, 255, 255) 40px -40px 0px -3px, rgb(255, 85, 85) 40px -40px;}
.picbox .explain {
    max-width: 600px;
}

.picbox .container {
    height: auto;
    margin-left: 50px;
}

.picbox .container .image img{
    height: auto;
    max-width: 450px;
    object-fit: cover;
    border-radius: 15px;
    overflow: hidden;
    animation: slideIn 0.5s ease-in-out forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(10%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

.container .button{
    position: absolute;
    margin-top: -340px;
    width: 450px;
    display: flex;
    justify-content: space-between;
    z-index: 5;
}

.container .button a{
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    vertical-align: middle;
    align-items: center;
    cursor: pointer;
    color: #ffffff;
    background: rgba(50, 150, 0, 0.85);
    font-size: 22px;
    user-select: none;
}

.container .button .prev{
    border-radius: 10px 0 0 10px;
}

.container .button .next{
    border-radius: 0 10px 10px 0;
}


.profiledl{
    width: 80vw;
    margin: 100px auto;
}

.profiledl h4{
    text-align: left;
    font-size: 60px;
    text-decoration: underline;
}

.profiledl ul{
    list-style: none;
    margin-top: 70px;
}

.profiledl ul li .adobefile{
    margin: 40px;
	font-size: 30px;
	text-transform: capitalize;
	color: black;
	text-decoration: none;
	display: block;
	transition: all 0.3s ease;
}
.profiledl ul li a{
	color: var(--secondary-color);
}

.profiledl ul li button{
    float: right;
    margin-top: -77px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    outline: 0;
    padding: 10px 25px;
    text-align: center;
    transform: translateY(0);
    transition: transform 150ms, box-shadow 150ms;
    touch-action: manipulation;
  --b: 3px;
  --s: .45em;
  --color: var(--secondary-color);
  padding: calc(.5em + var(--s)) calc(.9em + var(--s));
  color: var(--color);
  --_p: var(--s);
  background: conic-gradient(from 90deg at var(--b) var(--b),#0000 90deg,var(--color) 0) var(--_p) var(--_p)/calc(100% - var(--b) - 2*var(--_p)) calc(100% - var(--b) - 2*var(--_p));
  transition: .3s linear, color 0s, background-color 0s;
  outline: var(--b) solid #0000;
  outline-offset: .6em;
  font-size: 16px;
  border: 0;
}

.profiledl ul li button:hover, .profiledl ul li button:focus-visible{
  transform: translateY(5px);
  --_p: 0px;
  outline-color: var(--color);
  outline-offset: .05em;
}

.profiledl ul li button:active{
    background: var(--color);
    color: #fff;
}


.dlicon{
    background: url('../images2/downloadicon.png') no-repeat center center;
}

.projectservice{
    margin: 100px auto;
    max-width: 85vw;
}

.projectservice h1{
    font-size: 50px;
    text-decoration: underline;
    color: var(--secondary-color);
}

.projectservice .project,.service{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex-basis: 1000px;
}

.project .projectno{
    margin: 40px 50px;
    font-size: 20px;
	display: grid;
	min-height: 200px;
    max-height: 400px;
    width: 300px;
	border: 8px solid;
	padding: 1rem;
    border-image: linear-gradient(to left, turquoise, greenyellow) 1 0;
}

.projectno h2, .projectno li{
    margin-left: 20px;
}
.service .serviceno{
    margin: 40px 50px;
    font-size: 20px;
    display: grid;
	min-height: 200px;
    max-height: 400px;
    width: 300px;
	border: 8px solid;
	padding: 1rem;
    border-image: linear-gradient(to bottom, turquoise, greenyellow) 0 1;
}

.serviceno h2, .serviceno li{
    margin-left: 20px;
}

.video-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center; 
}

.video-box {
  background: var(--background);
  max-width: var(--max-width);
  margin: auto;
  padding: 50px 40px;
  border-radius: 12px;
  box-sizing: border-box;
  overflow: hidden;
  margin: 30px 0;
  min-width: 340px;
}

.video-box video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 50px;
}

.video-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 20px 0;
}

.description {
  margin-top: 0.75rem;
  font-size: 25px;
  text-align: center;
  color: #333;
}


@media (width < 600px) {
    .pic h1{
        font-size: 35px;
        padding: 0 0 50px 0;
    }
    
    .pic #pic1{
        font-size: 20px;
        max-width: 400px;
        padding: 0 20px 150px;
        margin: 0 30px;
    }
    .picbox{
        max-width: 100%;
        height: 700px;
        padding: 20px 20px;
        font-size: 16px;
        margin-right: 20px;
    }
    .picbox .explain{
        order: 2;
        position: absolute;
        margin-top: 410px;
        max-width: 300px;
    }
    .picbox .container {
        margin: 0 0 250px 0;
    }
    .container .image img{
        max-width: 400px;
        max-height: 400px;
    }
    .container .button{
        margin-top: -230px;
        width: 300px;
    }

    .profiledl{
        width: 300px;
        margin: 40px 30px;
    }
    .profiledl h4{
        font-size: 30px;
    }
    .profiledl ul{
        margin-top: 50px;
    }
    .profiledl ul li .adobefile{
        font-size: 16px;
        max-width: 200px;
        margin: 15px;
    }

    .profiledl ul li button{
        float: right;
        margin-top: -45px;
        font-family: "Akzidenz Grotesk BQ Medium", -apple-system, BlinkMacSystemFont, sans-serif;
        font-weight: 0;
        width: 20px;
        padding: 10px 30px;
        font-size: 8px;
    }
    .profiledl ul li button a{
        margin-left: -18px;
    }
    .projectservice h1{
        font-size: 30px;
    }
    .projectservice{
        margin: 60px 60px;
    }
    .project .projectno,.projectservice .serviceno{
        margin: 30px 10px;
        font-size: 15px;
        max-height: 1000px;
        width: 250px;
    }
    .project .projectno h2,.projectservice .serviceno h2{
        margin: 5px;
        font-size: 20px;
    }
    .video-box {
        margin: 10px 0;
        padding: 20px 15px;
    }
    .description {
        font-size: 20px;
    }
}

@media (min-width : 600px) and (max-width : 768px) {
    .picbox{
        max-width: 680px;
        max-height: 600px;
        padding: 20px 20px;
        font-size: 18px;
    }
    .container .image img{
        max-width: 300px;
        max-height: 400px;
    }
    .container .button{
        margin-top: -230px;
        width: 300px;
    }

    .profiledl{
        width: 600px;
        margin: 70px 70px;
    }
    .profiledl h4{
        font-size: 40px;
    }
    .profiledl ul li .adobefile{
        font-size: 20px;
        max-width: 400px;
    }
    .projectservice h1{
        font-size: 40px;
    }
    .projectservice{
        margin: 70px 70px;
    }
    .project .projectno,.projectservice .serviceno{
        margin: 30px 30px;
        font-size: 17px;
        max-height: 320px;
        width: 250px;
    }
    .video-box {
        padding: 30px 20px;
    }
}

@media (min-width :769px) and (max-width: 1141px){

    .nav__links{
        margin-top: -18px;
    }
    .picbox{
        max-width: 800px;
        max-height: 600px;
        padding: 20px 20px;
        font-size: 22px;
    }
    .container .image img{
        max-width: 350px;
        max-height: 450px;
    }
    .container .button{
        margin-top: -250px;
        width: 337px;
    }

    .profiledl{
        width: 800px;
        margin: 100px 100px;
    }
    
    .profiledl h4{
        font-size: 50px;
    }

    .profiledl ul li .adobefile{
        font-size: 25px;
        max-width: 600px;
    }
    .profiledl ul li button{
        margin-left: 100px;
    }
}


@media (width > 1140px){
    .pic{
        margin-top: -100px;
    }

.picbox{
    font-size: 25px;
}

.profiledl ul li button{
    margin-right: -50px;
}
.profiledl ul li .adobefile{
    font-size: 25px;
    max-width: 1000px;
}
}