﻿/* CSS Reset */
* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* CSS Variables */
:root {
    --navbar-height: 59px;
}

/* Navigation Bar */
#navbar {
    display: flex;
    align-items: center;
    position: sticky;
    top: 0px;
}

    #navbar::before {
        content: "";
        background-color: cornflowerblue;
        position: absolute;
        top: 0px;
        left: 0px;
        height: 100%;
        width: 100%;
        z-index: -1;
        opacity: 0.7;
    }

#logo {
    margin: 15px 40px;
    color: #edff00;
    font-family: 'Baloo Bhai', cursive;
    display: block;
    padding: 3px 22px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 25px;
}

#textlogo {
    text-shadow: 3px 4px 0px black;
}
/* Navigation Bar: Logo and Image */


#logo img {
    height: 59px;
    margin: 3px 6px;
}


/* Navigation Bar: List Styling */

#navbar ul {
    display: flex;
    font-family: 'Baloo Bhai', cursive;
}

    #navbar ul li {
        list-style: none;
        font-size: 1.3rem;
    }

        #navbar ul li a {
            color: white;
            display: block;
            padding: 3px 22px;
            border-radius: 20px;
            text-decoration: none;
        }

            #navbar ul li a:hover {
                color: black;
                background-color: white;
            }

/* Home Section */
#home {
    display: flex;
    flex-direction: column;
    padding: 3px 200px;
    height: 550px;
    justify-content: center;
    align-items: center;
}

    #home::before {
        content: "";
        position: absolute;
        background: url('/default\ img.png') no-repeat center center/cover;
        height: 642px;
        top: 0px;
        left: 0px;
        width: 100%;
        z-index: -1;
        opacity: 0.89;
    }


/* Services Section */
#services {
    margin: 34px;
    display: flex;
}

    #services .box {
        border: 2px solid brown;
        padding: 34px;
        margin: 2px 55px;
        border-radius: 28px;
        background: #f2f2f2;
        margin-bottom: 20px;
    }

        #services .box img {
            height: 160px;
            margin: auto;
            display: block;
        }

        #services .box p {
            font-family: 'Bree Serif', serif;
        }

/* Clients Section */
#client-section {
    position: relative;
}

    #client-section::before {
        content: "";
        position: absolute;
        background: url('../bg.jpg');
        width: 100%;
        height: 100%;
        z-index: -1;
        opacity: 0.3;
    }

#clients {
    display: flex;
    justify-content: center;
    align-items: center;
}

.client-item {
    padding: 34px;
}

#clients img {
    height: 124px;
}


/* Contact Section */
#contact {
    position: relative;
}

    #contact::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: -1;
        opacity: 0.7;
        background: url('../contact.jpg') no-repeat center center/cover;
    }

#contact-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 34px;
}

    #contact-box input,
    #contact-box textarea {
        width: 100%;
        padding: 0.5rem;
        border-radius: 9px;
        font-size: 1.1rem;
    }

    #contact-box form {
        width: 40%;
    }

    #contact-box label {
        font-size: 1.3rem;
        font-family: 'Bree Serif', serif;
    }


footer {
    background: black;
    color: white;
    padding: 9px 20px;
}

/* Utility Classes */
.h-primary {
    font-family: 'Bree Serif', serif;
    font-size: 3.8rem;
    padding: 12px;
}

.h-secondary {
    font-family: 'Bree Serif', serif;
    font-size: 2.3rem;
    padding: 12px;
}

.btn {
    padding: 6px 20px;
    border: 2px solid white;
    background-color: brown;
    color: white;
    margin: 17px;
    font-size: 1.5rem;
    border-radius: 10px;
    cursor: pointer;
}

.center {
    text-align: center;
}

footer {
    width: 100%;
    height: auto;
    background: #282828;
    padding-bottom: 20px;
}

.square {
    width: 100%;
    height: auto;
    margin-top: 48px;
    padding: 0px !important;
    padding-bottom: 20px;
}

.brand {
    margin-top: 20px;
    font-size: 38px;
    color: #00a991;
    font-weight: bold;
}

.about {
    width: 85%;
    color: white;
    margin-top: 5px;
}

.heading {
    margin-top: 20px;
    font-size: 38px;
    color: #00a991;
    font-weight: bold;
    text-align: center;
}

.p-list {
    padding: 0;
}

    .p-list li {
        display: block;
        text-align: center;
        margin: 5px 0px;
        color: white;
    }

.l-list {
    padding: 0;
}

    .l-list li {
        display: block;
        text-align: center;
        margin: 5px 0px;
        color: white;
    }

.contact {
    padding: 0;
}

    .contact li {
        display: block;
        text-align: center;
        margin: 5px 0px;
        color: white;
    }

.social-media {
    text-align: center;
    margin-top: 20px;
}

    .social-media li {
        display: inline-flex;
        color: white;
        margin: 5px;
        font-size: 25px;
    }

.copy {
    text-align: center;
    color: white;
    margin-top: 20px;
}

@media only screen and (max-width:767px) {
    .heading {
        text-align: left;
    }

    .square {
        padding: 0px 30px !important;
        margin-top: 10px !important;
    }

    .p-list li, .l-list li, .contact li {
        text-align: left;
    }

    .social-media {
        padding-left: 0 !important;
    }

        .social-media li {
            margin: 5px;
        }
}

.container {
    width: 80%;
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #c4cfcb;
    display: flex;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

p {
    text-align: center;
    color: #666;
}

#subb {
    margin-left: 40px;
}

#subbb {
    margin-right: 40px;
}

#footerclr {
    background-color: #282828;
}
