/* Responsive Design Home Page */

@media (max-width: 1200px) {
    .container {
        padding: 0 3%;
    }

    .headline {
        font-size: 2.5rem;
    }

    .description {
        font-size: 0.95rem;
    }
}

@media (max-width: 992px) {
    .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* text-align: center; */
        height: auto;
        padding: 20px;
    }

    .content {
        max-width: 80%;
        text-align: center;
    }

    .background,
    .logo img {
        display: none;
    }
    .shield-image2, .shield-image2se{
        height: 15vh;
    }

    .headline {
        font-size: 2.2rem;
    }

    .description {
        font-size: 0.9rem;
    }

    .content2 {
        align-items: flex-start !important;
    }
}

@media (max-width: 768px) {
    .headline {
        font-size: 1.8rem;
    }

    .description {
        font-size: 0.85rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .shield-image,
    .shield-image2 {
        max-width: 80%;
    }

    .shield-image4,
    .shield-imagebac,
    .image-container,
    .logo img {
        display: none;
    }
    .shield-image2se{
        height: 15vh;
    }
}

@media (max-width: 576px) {
    .headline {
        font-size: 1.5rem;
    }

    .description {
        font-size: 0.8rem;
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    .logo img {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .service-card {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media screen and (max-width: 480px) {
    .service-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 790px) {
    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    nav .logo,
    .hamburger {
        display: flex;
        align-items: center;
    }

    nav ul {
        display: none;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        margin-left: 20px;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 70px;
        right: 5%;
        background-color: var(--bs-black);
        border-radius: 10px;
        padding: 15px 20px;
        box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 20px;
        z-index: 1000;
        width: 90%;
        margin-top: 20px;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
        width: 100%;
    }

    nav ul li a {
        display: block;
        text-align: left;
        font-size: 1rem;
        color: var(--bs-white);
        padding: 10px 15px;
        border-radius: 8px;
        transition: background-color 0.3s ease;
    }
}

@media (max-width: 768px) {
    .faq-question {
        font-size: 14px;
        padding: 15px;
    }

    .faq-answer {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .faq-container {
        max-width: 90%;
    }
}