
@import url('https://fonts.googleapis.com/css2?family=Manufacturing+Consent&family=Oswald:wght@200..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Oswald", sans-serif;
    line-height: 1.6;
}

/* navagation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    background-color: rgb(250, 247, 246);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    max-width: 1200px;
    margin: auto;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    font-family: "Oswald", sans-serif;

}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 30px;
   
}

.nav-links a:hover {
    color: #007bff;
    text-decoration: underline;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

/* Hero */


.hero {

    text-align: center;
    display: grid;
    grid-template-columns: repeat(2 , 1fr);
    align-items: center;
    background-color: aliceblue;
}

.hero-title {
    font-size: 2.5rem;
    color: #333;
    line-height: 1.2;
}

.services-title {
    text-align: center;
}

img {
    max-width: 100%;
    height:auto;
    
    
}

h1,h2, h3 {

   margin-bottom: .5em;
}

a {
    text-decoration: none;
}

/* button */
.hero-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.hero-button:hover {
    background-color: #719ecf;
} 

/* servicers */
.services {
    padding: 2rem;
    background-color: #f8f9fa;
}

.services .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 2rem;
}

.services .card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    /* text-align: center; */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* about & contact */

.about, .contact {
    padding: 2rem;
    background-color:rgb(2, 2, 2);
    text-align: center;
    color: whitesmoke;
}

.about-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #f8f9fa;
    text-align: center;
}
.about-text {
    width: 600px;
    margin: auto;
}

.contact-button {
   
    color: yellow;
    padding-left: 10px;
    font-style: italic;
}

.contact-button:hover {
    color: #007bff;
    text-decoration: underline;
}
   
/* footer */
.site-footer {
    padding: 1rem;
    background-color: white; 
    color:#343a40; 
    text-align: center;
}

@media screen and (max-width: 768px) {

    .about-text {
    width: 100%;
    margin: auto;
    font-size: .5rem;
}
    .menu-toggle {
        display: block;

    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
       background-color: gainsboro;
        width: 100%;
        padding: 10px 0;
        font-style: italic;
       
    }
    .nav-links.show{
        display: flex;
    }

    .nav-links li {
        margin-bottom: 1rem;
        
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 45px 0;
        
    }

    .hero-button {
        margin: 20px;
    }

    .navbar {
    display: flex;
    flex-direction: column;
}

.services .grid {
        grid-template-columns: 1fr;
    }

    .services .card {
        margin: 10px;
    }

    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero img {
        width: 100%;
        height: auto;
    }
    
    .hero-text {
        padding: 20px;
    }
    
    .hero-button {
        width: 60%;
        text-align: center;
    }

   
}