/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: white;
    background-color: #ffffff;
}




    .hero {
        position: relative;
        width: 100%;
        height: 100vh;
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)), 
                    url("images/welding.jpeg") no-repeat center center / cover;
        display: flex;
        align-items: center;
        padding: 10%;

        color: white;
    }


.overlay {
    position: absolute;
    width: 100%;
    height: 100%;

}

.hero-content {
    position: relative;
    max-width: 800px;
    z-index: 2;
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 700;
}

.hero-content h2 span {
    font-size: 1.5rem;
    font-weight: 400;
    color: #aaa;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 15px 0;
}

.hero-content p {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn {
    display: inline-block;
    background: #008f39;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: #00772b;
}


@media (max-width: 768px) {
    .hero {
        padding: 0 20px;
        text-align: center;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }
}
#services {
    background: #f8f8f8;
    padding: 80px 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}


.section-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}


.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3sease, box-shadow 0.3sease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.service-icon {
    font-size: 40px;
    color: #008cff;
    margin-bottom: 15px;
}
.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.service-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background: #007bff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.service-btn:hover {
    background: #0056b3;
}



/* Blog Section */
#blog {
    background: #f8f8f8;
    padding: 80px 10%;
    text-align: center;
}


.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}


.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}


.blog-content {
    padding: 20px;
}


.blog-content h3 {
    font-size: 22px;
    color: #222;
    margin-bottom: 10px;
}


.blog-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}


.blog-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background: #007bff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.blog-btn:hover {
    background: #0056b3;
}


#subscribe {
    background: linear-gradient(206deg, #020306, #004e57);
    color: white;
    text-align: center;
    padding: 50px 10%;
    
}

#subscribe h2{
    color: white;
}


#subscribe P{
    color: white;
}
.subscribe-form {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.subscribe-form input {
    padding: 12px;
    width: 300px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    #header {
        display: flex
    ;
        align-items: center;
        justify-content: space-between;
        padding: 30px 40px;
        background: #ffffff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.089);
        z-index: 999;
        position: sticky;
        top: 0;
        left: 0;
    }
}

.subscribe-form button {
    padding: 12px 20px;
    background: white;
    color: #007bff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    margin-left: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.subscribe-form button:hover {
    background: #f0f0f0;
}


@media (max-width: 1024px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .subscribe-form input {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .services-container,
    .blog-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .section-title {
        font-size: 2rem;
    }

    .subscribe-form {
        flex-direction: column;
        align-items: center;
    }

    .subscribe-form input {
        width: 80%;
    }

    .subscribe-form button {
        width: 50%;
        margin-top: 10px;
    }
}




@media (max-width: 1024px) {
    #home h2 {
        font-size: 2.5rem;
    }

    #home p {
        font-size: 1rem;
        width: 100%;
    }

    .explore-btn {
        font-size: 1rem;
        padding: 10px 20px;
    }

}

@media (max-width: 768px) {
    #home {
        padding: 40px 15px;
        height: 80vh;
    }

    #home h2 {
        font-size: 2rem;
    }

    #home i {
        font-size: 1.1rem;
    }

    #home p {
        font-size: 0.9rem;
    }

    .explore-btn {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}