* {
    box-sizing: border-box;
}

/* Global styles */
.wordpress {
    font-family: "Nunito", serif !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
}

.mainweb1 {
    width: 100%;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    position: relative;
}

.main-image {
    border-radius: 30px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    filter: brightness(30%);
}

.headline {
    background: #ffffff;
    position: absolute;
    top: 15vh;
    padding: 30px;
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    color: black;
    text-align: center;
    z-index: 9;
    width: 80%;
}

.headline p {
    background: #000;
    border-radius: 20px;
    padding: 10px;
    color: white;
}

.headline img {
    width: 150px;
    max-width: 150px;
    margin-bottom: 20px;
}

.headline h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.headline h2 {
    font-size: 1.2rem;
}

.headline1 h2,
.headline1 p {
    text-align: center;
}

.headline1 p {
    font-size: 1.2rem;
}

.headline1 h2 span {
    color: blue;
}

/* ====================================================================== */
.headline2 {
    padding: 30px;

}

/* Title Section */
.headline-title {
    /* justify-content: center; */
    color: #000000;
}

.headline-title h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #000000;
    text-align: left;
}

.headline-title svg {
    fill: #000000;
}

/* Content Section */
.content1 {
    margin-top: 20px;
    line-height: 1.6;
    color: #000000;
    font-size: 1rem;
}

.content1 p {
    margin-bottom: 20px;
    text-align: justify;
    color: #555;
    font-size: larger;
}

/* Cards Container */
.content1line {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.dev {
    margin-bottom: 2vh;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    width: 45%;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
}

.dev:hover {
    transform: translateY(-5px);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 6px 12px;
}

/* Common Styles for All Inner Dev Cards */
.inner-dev {
    height: 100%;
    position: relative;
    padding: 20px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.253);
    color: #fff;
}

.inner-dev::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 29, 29, 0.76);
    z-index: 0;
}

.inner-dev[data-bg="theme"] {
    /* background: linear-gradient(135deg, #ffecb3, #ffe082); */
    background-image: url("https://www.cloudways.com/blog/wp-content/uploads/Main-Image_750x394-32.jpg");
    background-position: cover;
}

.inner-dev[data-bg="plugin"] {
    background-image: url("https://appsero.com/app/uploads/2022/09/WordPress-plugin-development-best-practices.png");
}

.inner-dev[data-bg="ecommerce"] {
    background-image: url("https://jayamwebsolutions.com/blogs/blog-manage-admin/uploads/images/18022020062933How%20does%20E-commerce%20Web%20Design%20and%20Development%20Company.png");
}

.inner-dev[data-bg="maintenance"] {
    background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRLhku4Vh8yctejYpuMZAPvvFKbntRMNW5NUQ&s");
}

.inner-dev[data-bg="custom-wordpress"] {
    background-image: url("https://duws858oznvmq.cloudfront.net/custom_Word_Press_development_services_67aa1ad475.webp");
}

.inner-dev[data-bg="woocommerce"] {
    background-image: url("https://www.xmediasolution.com/wp-content/uploads/2020/12/woo-768x556.png");
}

.inner-dev[data-bg="theme-development"] {
    background-image: url("https://kinsta.com/wp-content/uploads/2024/08/core-concepts-to-understand-in-wordPress-theme-development-1200x675.png");
}

.inner-dev[data-bg="maintenance-support"] {
    background-image: url("https://tech9logy.com/wp-content/uploads/2017/05/wordpress-maintenance650x350-optimized.jpg");
}

/* Card Header */
/* Icons and Headers */
.dev-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.dev-header img,
.dev-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.dev-header,
.dev-content {
    position: relative;
    z-index: 1;

}

.dev-content p {
    color: white !important;
}

/* .dev-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.dev-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 4px;
}

.dev-header h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #000000;
} */

/* Card Content */
/* .dev-content p {
    font-size: 0.95rem;
    color: #000000;
    margin: 0;
} */



/* ====================================================================== */
/* Responsive Design */

/* Applies to all media types, including print */
@media (max-width: 768px) {
    .content1line {
        flex-direction: column;
        align-items: center;
    }

    .dev {
        min-width: 100%;
        /* flex: 1 1 90%; */
    }

    .headline-title h2 {
        font-size: 1.5rem;
    }
}


@media (max-width: 480px) {
    body {
        background-color: lightblue;
    }

    .wordpress {
        padding: 0px;
    }

    .headline {
        width: 100%;
        position: relative;
        top: -1px;
        background-image: url("https://img.freepik.com/premium-photo/wordpress-logo-3d-wallpaper_997626-171.jpg");
        background-size: cover;
        background-position: center;
        text-align: center;
        padding: 20px;
        color: #ffffff;
    }

    .mainweb1 {
        width: 100%;
        height: 80vh;
        padding: 0px;
        align-items: start;
    }

    .main-image {
        display: none;
    }

    .headline1 p {
        font-size: 1rem;
    }

    .headline2 {
        padding: 0px;
    }

    .headline-title h2 {
        font-size: 1.2rem;
    }

    .headline-title h2 {
        font-size: 1.5rem;
    }

    .content p {
        font-size: medium;
        text-align: left;
        font-size: 1.2rem;
    }

    .dev {
        width: 100%;
        padding: 0px;
    }

    .dev-header h3 {
        font-size: 1rem;
    }

    .dev-content p {
        font-size: 0.85rem;
    }

    .inner-dev {
        width: 100%;
    }
}