*{box-sizing: border-box;    
    margin: 0px;
    padding: 0px;    
}
:root{
    --color1:#fff;
    --color2:#181818;
    --color3:grey;
}
body {    
    font-family: "Poppins", sans-serif;    
    background-color: var(--color3);
   
}
.nav-bar{
    width:100%;
    display:flex;
    justify-content: space-between;
    align-items: center;
    position:fixed;
    background-color: var(--color2);
    padding: 10px 20px;
    margin: 0px;
}
.logo img {width: 40px;}
.menu { display: flex;}
.menu li{ padding-left: 30px;
           }
.menu li a{
    display: inline-block;
    text-decoration: none;
    color: var(--color1);
    text-align: center;
    transition: 0.15s ease-in-out;
    position: relative;
    text-transform:capitalize;
}
.menu li a::after {
    content:"";
    position: absolute;
    bottom:0;
    left:0;
    width:0%;
    height:1px;
    background-color: var(--color1);
    transition: 0.15s ease-in-out;
}
.menu li a:hover:after{width: 100%;}
.open-menu, .close-menu {
    position:absolute;
    color: var(--color1);
    cursor: point;
    font-size:1.5rem;
    display: none;
}
.open-menu {
    top:50%;
    right: 2px;
    transform: translateY(-50%);
}
.close-menu {
    top: 20px;
    right: 20px;
}
#check {display: none;}
                                    /*610px original*/
@media(max-width: 510px){
    .menu{
        flex-direction: column;
        align-items: left;
        justify-content: left;
        width: 25%;
        height: 100vh;
        position:fixed;
        top: 0;
        right: -100;
        z-index: 100;
        background-color: var(--color3);
        transition: all 1.20s ease-in-out;
    }
    .menu li{margin-top: 40px;}
    .menu li a{padding:  10px;}
    .open-menu , .close-menu {display: block;}
    #check:checked ~ .menu{right: 0;}
}

/* from here are last from AHMED 
url('https://source.unsplash.com/1600x900/?security') no-repeat center center/cover;*/

/* home Section 
.home {
    height: 60vh;    
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    display: flex;
    padding-top: 10px;
    margin-top: 10px;
}

.home::after {
    display: flex;
    content:"";
    top: 46;
    left: 1;
    width: 100%;
    height: 100%;
    color: var(--color3);
    position: absolute;
}

.home-content {
    position: relative;
    text-align: center;
    z-index: 1;
    animation: fadeIn 2s ease-in-out;
}

.home-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color:var(--color1)
}

.home-content p {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--color1);
}

.home-content a {
    display: inline-block;
    padding: 15px 30px;
    background-color:var(--color2);
    color: var(--color1);
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.home-content a:hover {
    background-color: #ec971f;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}   */

 /* Home Section */
 .home {
    padding: 180px 20px;
    background-color: #121212;
    color: var(--color1);
    text-align: center;
}

.home h1 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}


.home-content p {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--color1);
}

.home-content a {
    display: inline-block;
    padding: 15px 30px;
    background-color: #ec971f;
    color: var(--color1);
    text-decoration: none;
    font-size: 2rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.home-content a:hover {
    background-color: grey;
}

.home h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background-color: #f0ad4e;
}

.home-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.home-card {
    background-color: #1e1e1e;
    width: 300px;
    margin: 20px;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.home-card:hover {
    transform: translateY(-10px);
}

.home-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.home-card p {
    font-size: 1rem;
    line-height: 1.6;
}


        /* Services Section */
        .services {
            padding: 80px 20px;
            background-color: #121212;
            color: var(--color1);
            text-align: center;
        }

        .services h2 {
            font-size: 2.5rem;
            margin-bottom: 50px;
            position: relative;
            display: inline-block;
        }

        .services h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 150px;
            height: 4px;
            background-color: #f0ad4e;
        }

        .service-cards {
            display: flex;
            flex-wrap:wrap;
            justify-content: center;
        }

        .service-card {
            background-color: #1e1e1e;
            width: 300px;
            margin: 20px;
            padding: 30px;
            border-radius: 10px;
            transition: transform 0.3s;
            
        }

        .service-card:hover {
            transform: translateY(-10px);
        }

        .service-card h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
        }

        .service-card p {
            font-size: 1rem;
            line-height: 1.6;
        }
        
        /* About Section */
        .about {
            padding: 80px 20px;
            background-color: #0e0e0e;
            color: var(--color1);
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
        }

        .about-image, .about-content {
            flex: 1;
            min-width: 300px;
            margin: 20px;
        }

        .about-image img {
            width: 100%;
            border-radius: 10px;
        }

        .about-content h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }

        .about-content p {
            font-size: 1rem;
            line-height: 1.6;
        }
    
         /* Contact Section */
         .contact {
            padding: 80px 20px;
            background-color: #121212;
            text-align: center;
            color: var(--color1);
        }

        .contact h2 {
            font-size: 2.5rem;
            margin-bottom: 50px;
            position: relative;
            display: inline-block;
        }

        .contact h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 4px;
            background-color: #f0ad4e;
        }

        .contact-form {
            max-width: 600px;
            margin: 0 auto;
            text-align: left;
        }

        .contact-form label {
            display: block;
            font-size: 1rem;
            margin-bottom: 5px;
        }

        .contact-form input, .contact-form textarea {
            width: 100%;
            padding: 15px;
            margin-bottom: 20px;
            background-color: #1e1e1e;
            border: none;
            color: #fff;
            border-radius: 5px;
            font-size: 1rem;
        }

        .contact-form button {
            display: block;
            width: 100%;
            padding: 15px;
            background-color: #f0ad4e;
            color: #fff;
            font-size: 1.2rem;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .contact-form button:hover {
            background-color: #ec971f;
        }

     /* Testmonial Section */
     .Testmonial {
        padding: 100px 20px;
        background-color: #121212;
        color: var(--color1);
        text-align: center;
    }

    .Testmonial h2 {
        font-size: 2.5rem;
        margin-bottom: 50px;
        position: relative;
        display: inline-block;
    }

    .Testmonial h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 150px;
        height: 4px;
        background-color: #f0ad4e;
    }

    .Testmonial-cards {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .Testmonial-card {
        background-color: #1e1e1e;
        width: 300px;
        margin: 20px;
        padding: 30px;
        border-radius: 10px;
        transition: transform 0.3s;
    }

    .Testmonial-card:hover {
        transform: translateY(-10px);
    }

    .Testmonial-card h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .Testmonial-card p {
        font-size: 1rem;
        line-height: 1.6;
    }

            /* Footer */
            footer {
                background-color: #1a1a1a;
                padding: 20px;
                text-align: center;
                color: #777;
            }
    
            footer p {
                font-size: 0.9rem;
            }
    