@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&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&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* Global Styles */
* {
    font-family: "Inter", sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Home Section */
.home .upper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home .upper .photo img {
    width: 35vw;
    max-width: 100%;
}

.down {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.down .num span {
    color: #545454;
    font-size: 2.5rem;
}

.down .num p {
    font-size: 1rem;
}

.down .photo {
    position: relative;
    margin-top: -80px;
    margin-right: 30px;
}

.down .photo::before {
    content: "";
    position: absolute;
    width: 15vw;
    height: 10vw;
    border: 2px solid black;
    top: -2vw;
    left: -2vw;
    z-index: -1;
}

.down .photo .over {
    position: absolute;
    width: 8vw;
    height: 8vw;
    background-color: black;
    bottom: 0;
    right: -5vw;
    z-index: 3;
}

.down .photo .over img {
    width: 30%;
    height: 70%;
    position: relative;
    display: block;
}

.down .photo img {
    width: 40vw;
    z-index: 1;
}

/* Services Section */
.servs h3 {
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
}

.servs h3::before {
    content: "";
    position: absolute;
    height: 2px;
    width: 5vw;
    background-color: black;
    left: -6vw;
    top: 30px;
}

.servs .divs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.servs .div {
    flex: 1 1 calc(33.33% - 20px);
}

.servs .div h5 {
    font-size: 1.5rem;
    font-weight: 700;
}

.servs .div p {
    color: #545454;
    font-size: 1.125rem;
    font-weight: 500;
}

.servs .div .icon img {
    width: 10vw;
    max-width: 100%;
}

/* Section 3 */
.sec3 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sec3 .left img {
    max-width: 100%;
}

.sec3 .right h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

.sec3 .right button {
    width: 25%;
}

/* Section 4 */
.sec4 {
    display: flex;
    justify-content: space-between;
    padding: 3rem;
}

.sec4 .right img {
    width: 50vw;
    max-width: 100%;
}

.sec4 .left h3 {
    font-size: 2.25rem;
    font-weight: 600;
}

.sec4 .left .divs {
    margin-top: 2.5rem;
}

.sec4 .left .div {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-top: 1.5rem;
}

.sec4 .left .div span {
    width: 14vw;
    height: 6vw;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
}

.sec4 .left .div h5 {
    font-size: 1.5rem;
    font-weight: 700;
}

.sec4 .left .div p {
    color: #545454;
    font-size: 1.125rem;
    font-weight: 500;
}

.sec4 .left .middle {
    position: relative;
}

.sec4 .left .middle::after,
.sec4 .left .middle::before {
    content: "";
    width: 1px;
    height: 3vw;
    background-color: #9B9B9B;
    position: absolute;
    right: 50%;
}

.sec4 .left .middle::after {
    bottom: -4vw;
}

.sec4 .left .middle::before {
    top: -4vw;
}

/* Section 5 */
.sec5 {
    display: flex;
    padding: 3rem;
    position: relative;
}

.sec5 .left img {
    width: 50vw;
    max-width: 100%;
}

.sec5 .right h3 {
    font-size: 2.5rem;
    font-weight: 600;
}

.overlay {
    position: absolute;
    display: flex;
    gap: 2rem;
    top: 60%;
    left: 60%;
    transform: translate(-50%, -50%);
    z-index: 2;
    border: 2vw white solid;
    
}

.overlay .div {
    background-color: rgb(32, 28, 28);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    width: 400px;
}

.overlay .div span {
    font-size: 3.5rem;
}

.overlay .div p {
    font-size: 1rem;
    margin: 1rem 0;
}

.overlay .div .term {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.overlay .div .term img {
    width: 3vw;
    height: 3vw;
    border-radius: 50%;
}

.overlay .div .term p {
    font-size: 1rem;
    margin: 0;
}

/* Section 6 */
.sec6 {
    text-align: center;
    padding: 3rem;
    margin-bottom: -70px;
}


.sec6 h3 {
    font-size: 2.5rem;
    font-weight: 600;
}

.sec6 p {
    font-size: 1.125rem;
    margin: 1.5rem auto;
    width: 50%;
}

.sec6 .form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 1rem;
    border-radius: 5px;
    max-width: 600px;
    margin: 0 auto;
    
}

.sec6 .form .input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sec6 .form input {
    border: none;
    outline: none;
    font-size: 1rem;
    width: 100%;
}

.sec6 .form button {
    background-color: black;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}


  

/* Footer */
.footer {
    background-color: #111;
    color: #fff;
   
}

.footer a {
    color: #D1D1D1;
    font-size: 1rem;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
}

.footer h5 {
    font-weight: bold;
    margin-bottom: 2vw;
}

.social-icons a {
    color: #fff;
    margin-right: 1vw;
    font-size: 1.5rem;
    background-color: #313131;
    padding: 0.5vw;
    border-radius: 5px;
}

.social-icons a:hover {
    color: #ddd;
}


/* that all what i can do to be responsive design if you want to help us and explain how to do this please don't wait */


/* Media Queries for Responsiveness */

/* For tablets and smaller desktops */
@media (max-width: 1024px) {
    .home .upper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .home .upper .photo img {
        width: 70vw;
    }

    .down {
        flex-direction: column;
        align-items: center;
    }

    .down .photo {
        margin-top: 20px;
        margin-left: 50px;
    }

    .servs .div {
        flex: 1 1 calc(50% - 15px);
    }

    .sec3 {
        flex-direction: column;
    }

    .sec3 .right button {
        width: 50%;
    }

    .sec4 {
        flex-direction: column;
        align-items: start;
    }

    .sec4 .right img {
        width: 70vw;
    }

    .sec5 {
        flex-direction: column;
        align-items: center;
        text-align: center;
       
    }
    
    .sec5 .left img {
        width: 70vw;
    }

    .overlay {
        flex-direction: column;
        gap: 1rem;
        top: 60%;
    }

    .overlay .div {
        width: 50vw;
    }

    .sec6 p {
        width: 80%;
    }
}

/* For mobile devices */
@media (max-width: 768px) {
    .home .caption {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
    }

   
    .down .num span {
        font-size: 1.5rem;
    }

    .down .num p {
        font-size: 0.8rem;
    }
   

    .overlay {
        position: relative;
        top: 0;
        left: 0;
    }

    .overlay .div {
        width: 70vw;
    }

    .sec6 p {
        width: 90%;
    }

    .sec6 .form {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .sec6 .form input {
        width: 100%;
    }

    .sec6 .form button {
        width: 100%;
    }

    .home .upper .photo img {
        width: 80vw;
    }

     .down .photo{
        width: 300px !important;
     }
    .down .photo img {
        width: 100% !important;
          
    }
    .down .photo .over img{
        width: 50px !important;
    }
    .servs .divs {
        flex-direction: column;
    }

    .servs .div .icon img {
        width:120px;

    }
    .sec4{
        flex-direction: column-reverse;
    }
    .sec4 .left h3{
        text-align: center;
    }
    .sec4 .left .div .icon {
       display: none !important;
    
    }
   
    .sec4 .left .div {
        flex-direction: column;
        text-align: start;

        
    }

    .sec4 .left .middle::after,
    .sec4 .left .middle::before {
        display: none;
    }
    .sec5 {
        display: flex;
        padding: 3rem;
        position: relative;
    }
    
    .sec5 .left img {
      display: none;
    }
    
    .sec5 .right h3 {
        font-size: 2.5rem;
        font-weight: 600;
    }
    
    .overlay {
        position: relative;
        display: flex;
        gap: 2rem;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translate(0%, 0%);
        z-index: 2;
        border: 2vw white solid;
        
    }
    
    .overlay .div {
        background-color: rgb(54, 52, 52);
        color: white;
        padding: 2rem;
        border-radius: 10px;
        width: 400px;
    }
    .sec5 .left .arrows{display: none;}
    
   
}
/* For very small mobile devices */
@media (max-width: 480px) {
    .sec5 .left img {
        width: 90vw;
    }

    .overlay .div {
        width: 90vw;
    }

    .sec6 p {
        width: 100%;
    }

    .sec6 h3 {
        font-size: 2rem;
    }

    .sec6 p {
        font-size: 1rem;
    }

    .sec6 .form {
        padding: 0.75rem;
    }

    .sec6 .form button {
        padding: 0.5rem 1.5rem;
    }

    .home .upper .photo img {
        width: 90vw;
    }

    .down .photo img {
        width: 90vw;
    }

    .sec4 .left .div span img {
        width: 15vw;
        height: 20vw;
    }

    .sec4 .left .div h5 {
        font-size: 1rem;
    }

    .sec4 .left .div p {
        font-size: 0.9rem;
    }
}
