/* Start Global Rules */

body {
    font-family: "work sans",sans-serif ;
}
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
:root {
    --mian-color: #10cab7;
    --secondary-color :#2c4755;
    --padding:60px 0 ;
    --margin-top: 100px;
    --section-bgcolor:#f6f6f6;
}

/* Mobile */
@media (max-width: 767px) { 
  .container {
        width: 450px;
    }
    .about .about-content .image {
        margin-left: -40px;
    }

  
 }
/* Small devices (tablets, 768px and up) */
@media (min-width: 767px) { 
    .container {
        width: 700px;
    }
    .intro-text {
        width: 300px;
    }
 }

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) { 
    .container {
        width: 970px;
    }
 }
 
/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
    .container {
        width: 1170px;
    }
 }
 .container {
    padding: 0 15px;
    margin: 0 auto;
}
/* End Global Rules */


/* Start Header */

.header {
    padding: 20px;
    position: relative;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (max-width:767px) {
    .container {
        width: 430px;
    }
    .header .container {
        width: 300px;
    }
}
.header .logo {
    width: 60px;
}

.header .links {
    position: relative;
    
   
}
.header .links:hover ul {
    display: block;
}

.header .links ul {
    display: none;
    background-color: #4e4e4e31;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0;
    min-width: 200px;
    top: 40px;
    z-index: 1;
}
.header .links ul::before {
    content: "";
    border-width: 10px ;
    border-style: solid;
    border-color: transparent transparent #eee transparent;
    position: absolute;
    right: 5px;
    top: -20px;
}
.header .links ul li a {
    display: block;
    color: var(--secondary-color);
    padding: 15px;
    text-decoration: none;
    transition: 0.3s;
    
}

.header .links ul li a:hover {
    padding-left: 25px;
}

.header .links ul li:not(:last-child) a {
    border-bottom: 1px solid var(--mian-color);
}
/* End Header */


/* Start Landing */
.landing {
    background-image:url(../images/Mounting.jpg);
    background-size: cover;
    height: calc(100vh - 64px);
    position: relative;
}
.landing .intro-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    max-width: 100%;
    width: 300px;
}
.landing .intro-text h1 {
    margin: 0;
    font-size: 50px;
    font-weight: bold;
    color: var(--mian-color);
}
.landing .intro-text  p{
    font-size: 19px;
    line-height: 1.8;
}
/* End Landing */

/* Start Features */
.features {
    padding: var(--padding);
    background-color: var(--section-bgcolor);
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap:20px ;
}
.features .feat {
    padding: 20px;
    text-align: center;
}
.features .feat i {
    color: var(--mian-color);
}
.features .feat h3 {
    font-weight:800 ;
    margin: 30px 0;
}
.features .feat p {
    line-height: 1.8;
    color:var(--secondary-color);
    font-size: 17px;
}
/* End Features */

/* Start Components */
.special-heading {
    color: #cdcece;
    font-size: 100px;
    text-align: center;
    font-weight: 800;
    letter-spacing: -3px;
    margin: 0;
}
.special-heading + p {
    margin: -20px 0 0;
    text-align: center;
    font: 20px;
    color: var(--secondary-color);
}
@media (max-width:767px) {
    .special-heading {
        font-size: 60px
    }
    .special-heading + p {
        margin-top: -10px;
    }
}
/* End Components */


/* Start Services */
.services {
    padding: var(--padding);
}

.col .srv>i {
    color: var(--mian-color);
    flex-basis: 60px;
}
.services .services-content {
    display: grid;
    grid-template-columns:repeat(auto-fill, minmax(300px, 1fr)) ;
    gap: 30px;
    margin-top: var(--margin-top);
}
.services .services-content .srv {
    display: flex;
    margin-bottom: 30px;
}
@media (max-width:767px) {
    .services .services-content .srv {
        flex-direction: column;
        text-align: center;
    }
}
.services .services-content .srv .text {
    flex:1;
}

.services .services-content .srv .text p {
    color: var(--secondary-color);
    font-size: 17px;
    line-height: 1.6;
}

.services .services-content .image {
    text-align: center;
    position: relative;
}
@media (max-width:1199px) {
    .services .services-content .image {
        display: none;
    }
}
.services .services-content .image img {
    width: 250px;
    height: 250px;
}
.services .services-content  .image::before {
    content: "";
    position: absolute;
    right: 15px;
    top: -40px;
    background-color:var(--secondary-color) ;
    width: 80px;
    height: calc(100% + 80px);
    z-index: -1;

}
/* End Services */

/* Start Portfolio */
.portfolio {
    padding: var(--padding);
    background-color: var(--section-bgcolor);
    background-color: var(--section-bgcolor);
}
.portfolio .portfolio-content {
    display: grid;
    grid-template-columns:repeat(auto-fill, minmax(300px, 1fr)) ;
    margin-top: var(--margin-top);
    gap: 20px;
}
.portfolio .portfolio-content .card {
    background-color: white;
    border-radius: 5%;
}
@media (max-width) {
    .portfolio .portfolio-content .card {
        width: 400px;
    }
}
.portfolio .portfolio-content .card img {
    border-radius: 5%;
    width: 100%;
    max-width: 100%;
    height: 250px;
    
}
.portfolio .portfolio-content .card .info {
    padding: 20px;
}
.portfolio .portfolio-content .card .info h3 {
    margin: 0;
}
.portfolio .portfolio-content .card .info p {
   color: var(--secondary-color);
   line-height: 1.6;
}
/* End Portfolio */

/* start about */
.about {
    padding: var(--padding);
}
.about .about-content {
    margin-top: var(--margin-top);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
@media (max-width:991px) {
    .about .about-content {
        flex-direction:column ;
        text-align: center;
    }
}
.about .about-content .image {
    position: relative;
    width: 220px;
    height: 250px;
}
@media (max-width:991px) {
    .about .about-content .image {
        position: relative;
        left: 50%;
        top: 50%;
        transform: translate(-50% , -20%);
        margin-top: 20px;
    }
}
.about .about-content .image img {
    width: 220px;
    height: 250px;
}
.about .about-content .image::before {
    content: "";
    position: absolute;
    background-color: #ebeced;
    width: 80px;
    height: calc(100% + 80px);
    top: -40px;
    left: -20px;
    z-index: -1;
} 
.about .about-content .image::after {
content: "";
width: 120px;
height: 180px;
border-left: 60px solid var(--mian-color);
border-bottom: 60px solid var(--mian-color);
position: absolute;
top: -20px;
right: -150px;
z-index: -1;
}

.about .about-content .text {
    flex-basis: calc(100% - 450px);
}

.about .about-content .text p:first-child {
    font-weight: bold;
    line-height: 2;
    margin-bottom: 40px;
}
.about .about-content .text hr {
    width: 50%;
    display: inline-block;
    border-color: var(--mian-color);
}
.about .about-content .text p:last-child {
   color: var(--secondary-color);
    line-height: 2;
    margin-top: 0;
    
}
/* end about */

/* Start Contact */
.contact {
    padding: var(--padding);
    background-color: var(--section-bgcolor);
}
.contact .contact-content {
    margin: var(--margin-top);
    position: relative;
    
}
.contact .contact-content .intro-text {
    width: 100%;
    margin-top: -15px;
}
.contact .contact-content .intro-text h1{
    max-width: 100%;
    color: var(--secondary-color);
    font-weight: 900;
}
.contact .contact-content .intro-text .link {
    max-width: 100%;
    display: block;
    text-decoration: none;
    margin-left: 30px;
    color: var(--mian-color);
    font-size: 24px;
    font-weight: 800;
}
@media (max-width:767px) {
    
    .contact .contact-content .intro-text {
        width: 430px;
        margin-left: -100px;
        font-size: 13px;
    }

}
.contact .contact-content .intro-text .social {
    color: var(--secondary-color);
    margin-top: 25px;
    margin-left: 50px;
    display: flex;
    flex-direction: row;
    gap: 15px;
}
/* End Contact */
/* Start Footer */
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 40px;
    
    bottom: -60px;
    background-color: var(--secondary-color);
    color: white;
    padding: 30px 10px;
    text-align: center;
    font-size: 18px;
    width: 100%;
}
.footer span {
    font-weight: bold;
    color: var(--mian-color);
}
/* End Footer */