.main-section {
    background-image: url(./images/digital-marketing-agency-hero-img-bg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 70vh;
}

.overlay-section {
    background-color: #121240CF;
    background-image: url(./images/digital-marketing-agency-hero-img-bg-overlay.svg);
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size:  70px;
    opacity: 1;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    height: 70vh;
    position: relative;
}

.main-content {
    position: absolute;
    height: 100%;
    width: 100%;
    padding: 20px 60px;

    .page-link {
        text-decoration: none;
        color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .menu-links {
        display: none;
    }
}

.header-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;

    .hamburger {
        display: none;
    }
}

.link-section {
    color: #ffffff;
    display: flex;
    gap: 50px;

    span {
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: pointer;
        gap: 10px;

        i {
            font-size: 20px;
        }
    }
}

.content-text {
    color: #ffffff;

    h4 {
        padding: 30px 0px;
    }

    .sub-heading {
        width: 60%;
        font-size: 20px;
    }

    .sub-heading-1 {
        width: 60%;
        font-size: 20px;
    }
}

.card-section {
    display: flex;
    padding: 30px 40px;
    gap: 20px;
    text-align: justify;

    .card-layout {
        background-color: #121240CF;
        padding: 10px;
        box-shadow: 5px 10px #0d6efd;
        color: white;
    }
}

.info-section {
    padding: 50px;

    .info-heading {
        color: #0d6efd;
        font-size: 20px;
    }

    .info-main {
        font-size: 30px;
        font-weight: 500;
    }

    .info-sub {
        color: #7A7A7A;
    }

    .info-layout {
        display: flex;
        width: 100%;
        gap: 5%;
        text-align: justify;

        div {
            width: 33%;

            i {
                color: #3535de;
                font-size: 20px;
            }

            p:first-of-type {
                font-size: 25px;
            }

            p:nth-of-type(2) {
                color: #7A7A7A;
            }
        }
    }
}

.digital-marketing {
    width: 100%;
}

.about-section {
    text-align: justify;

    .about-image {
        width: 60%;
        box-shadow: 5px 10px #0d6efd;
    }

    .info-layout {
        display: flex;
        gap: 5%;
        justify-content: space-between;
        align-items: flex-start;
        background-color: #ecf8ff;
        padding: 40px;

        .info-para {
            color: #7A7A7A;
        }
    }

    .info-heading {
        font-size: 25px;
        font-weight: 500;
    }

    .info-types {
        padding: 60px;
        display: flex;
        gap: 30px;

        .relative {
            position: relative;
            border: 1px solid #1363DF;
            flex: 1;
        }

        .card-heading {
            background-color: #72c8e0;
            padding: 10px 25px;
            position: absolute;
            font-size: 20px;
            top: -20px;
            left: -20px;
            font-weight: 500;
        }

        .card-content {
            padding: 50px 25px;
            color: #7A7A7A;
            padding-bottom: 20px;
        }
    }
}

.reachus-section {
    background: #ecf8ff;
    padding: 50px;
    display: flex;
    gap: 100px;

    .reachus-img {
        width: 60%;
        height: 250px;
    }

    .contact-info {
        color: #150050;

        .contact {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            cursor: pointer;
            text-decoration: none;
            margin-bottom: 10px;
        }
    }
}

.about-heading {
    font-size: 25px;
    text-decoration: underline;
    font-weight: 500;
}

.content-cnt {
    padding: 50px;
    text-align: justify;
}

.icon-cnt {
    padding: 15px;
    padding-top: 0px;
}

.service-header {
    font-weight: 500;
}

.service-info {
    color: #7A7A7A;
}

.main-block {
    position: relative;
}

.share-section {
    position: sticky;
    top: 40%;
    text-align: end;
    display: flex;
    justify-content: flex-end;
    z-index: 10;
    height: 0px;

    div {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        width: 50px;
        align-items: center;
        background: whitesmoke;
        height: fit-content;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;

        .whatsapp {
            color: #25D366;
        }

        .instagram {
            color: #E1306C
        }

        .linkedin {
            color: #0A66C2;
        }

        .twitter {
            color: #000000;
        }
    }
}


@media (min-width: 601px) and (max-width: 950px) {
    .main-content {
        padding: 20px;

        .company-logo {
            width: 150px;
            height: 60px;
        }

        .link-section {
            gap: 20px;
            font-size: 15px;
        }

        .sub-heading {
            font-size: 26px;
        }

        .sub-heading-1 {
            font-size: 15px;
        }

        .hamburger {
            display: none;
        }

        .menu-links {
            display: none;
        }
    }

    .info-section {
        padding: 20px;

        .info-layout {
            gap: 10%;
        }
    }

    .card-section {
        padding: 20px;
    }

    .about-section {
        .info-layout {
            display: flex;
            gap: 5%;
            justify-content: space-between;
            align-items: flex-start;
            background-color: #ecf8ff;
            padding: 20px;
            flex-direction: column;
        }

        .about-image {
            width: 100%;
            margin-bottom: 20px;
        }
    }

    .about-section {
        .info-types {
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 30px;

            .card-heading {
                background-color: #72c8e0;
                padding: 8px;
                position: absolute;
                font-size: 12px;
                top: -20px;
                left: -10px;
                font-weight: 500;
            }

            .card-content {
                padding: 25px;
                color: #7A7A7A;
                padding-bottom: 15px;
            }
        }
    }

    .reachus-section {
        background: #ecf8ff;
        padding: 20px;
        display: flex;
        gap: 30px;

        .reachus-img {
            width: 60%;
            height: 250px;
        }

        .contact-info {
            color: #150050;

            .contact {
                display: flex;
                align-items: flex-start;
                gap: 10px;
                cursor: pointer;
                text-decoration: none;
                margin-bottom: 10px;
                font-size: 12px;
            }
        }
    }

    .content-cnt {
        padding: 0px;
        text-align: justify;

        .container {
            padding: 0px !important;
            margin: 0px !important;

            .icon-cnt {
                padding: 0px !important;
                margin-bottom: 15px !important;
            }

            .img-fluid {
                width: 150px !important;
            }
        }
    }
}

@media (max-width: 599px) {
    .main-section {
        height: 50vh;
    }
    
    .overlay-section {
        background-size: 30vw auto;
        height: 50vh;
    }

    .main-content {
        padding: 20px;

        .company-logo {
            width: 150px;
            height: 60px;
        }

        .link-section {
            display: none;
        }

        h4 {
            padding: 10px 0px;
        }

        .sub-heading {
            font-size: 20px;
            width: 75%;
        }

        .sub-heading-1 {
            font-size: 15px;
            width: 75%;
        }

        .hamburger {
            display: block;
            color: white;
            font-size: 30px;
            cursor: pointer;
            position: relative;
        }

        .menu-links {
            background-color: whitesmoke;
            position: absolute;
            right: 0px;
            width: 200px;

            a {
                color: black;
                padding: 14px 16px;
                text-decoration: none;
                font-size: 17px;
                display: block;
            }

            a:hover {
                background-color: #ddd;
                color: black;
            }
        }
    }

    .info-section {
        padding: 20px;

        .info-main {
            font-size: 18px;
        }

        .info-layout {
            flex-direction: column;
            gap: 10%;

            div {
                width: 100%;
                margin-bottom: 20px;

                i {
                    font-size: 16px;
                }

                p:first-of-type {
                    font-size: 16px !important;
                    display: inline;
                    padding-left: 5px;
                    margin-top: 2px;
                }
            }
        }
    }

    .card-section {
        padding: 20px;
        flex-direction: column;
    }

    .about-section {
        .info-layout {
            display: flex;
            gap: 5%;
            justify-content: space-between;
            align-items: flex-start;
            background-color: #ecf8ff;
            padding: 20px;
            flex-direction: column;
        }

        .about-image {
            width: 100%;
            margin-bottom: 20px;
        }
    }

    .about-section {
        .info-types {
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 30px;

            .card-heading {
                background-color: #72c8e0;
                padding: 8px;
                position: absolute;
                font-size: 12px;
                top: -20px;
                left: -10px;
                font-weight: 500;
            }

            .card-content {
                padding: 25px;
                color: #7A7A7A;
                padding-bottom: 15px;
            }
        }
    }

    .reachus-section {
        background: #ecf8ff;
        padding: 20px;
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;

        .reachus-img {
            width: 100%;
            height: 250px;
        }

        .contact-info {
            color: #150050;

            .contact {
                display: flex;
                align-items: flex-start;
                gap: 10px;
                cursor: pointer;
                text-decoration: none;
                margin-bottom: 10px;
                font-size: 12px;
            }
        }
    }

    .content-cnt {
        padding: 20px;
        text-align: justify;

        .container {
            padding: 0px !important;
            margin: 0px !important;

            .icon-cnt {
                padding: 0px !important;
                margin-bottom: 15px !important;
            }

            .img-fluid {
                width: 150px !important;
            }
        }
    }
}