/* header responsive */

@media only screen and (max-width:1320px) {
    header {
        padding: 0 50px;
    }
}

@media only screen and (max-width:1250px) {
    header {
        padding: 0 30px;
    }

    .data-group p:last-child {
        margin-top: .5rem;
        font-size: 1.3rem;
    }
}

@media only screen and (max-width:1150px) {

    .contact-container {
        flex-direction: column;
        gap: 2rem;
    }


    .email-form,
    .social-media {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .email-form h1 {
        text-align: center;
    }
}

@media (max-width: 480px) {
    [dir="rtl"] .content-group {
        text-align: center;
    }

    .email-form button {
        width: 100%;
    }

    .social-media h1 {
        font-size: 2rem;
        text-align: center;
    }

    .email-form h1 {
        font-size: 2rem;
    }

    .email-form .data-group {
        flex-direction: column;
    }

    .email-form .data-group .input-style {
        width: 100%;
    }

    .social-media {
        align-items: center;
    }

    .social-media .data-group {
        flex-direction: column;
    }

    .about-section p {
        font-size: 1.2rem;
    }

    .title {
        font-size: 3rem !important;
    }

    .data-group {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .footer-container {
        padding: 1rem !important;
    }

    .footer-col:nth-child(2) {
        width: 95%;
    }
}


@media only screen and (max-width:900px) {

    .about-section .content {
        flex-direction: column;
    }


    .hamburger {
        display: block;
        cursor: pointer;
        padding: 3px 17px;
        z-index: 1000;
        background-color: #3d84ffc2;
        filter: drop-shadow(0 0 10px #3d84ffb9);
        border-radius: 5px;
        transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
    }

    .hamburger:hover {
        background-color: rgba(61, 132, 255, 0.914);
        transform: translateY(-3px);
    }

    .hamburger:active {
        background-color: rgba(61, 132, 255, 0.737);
        transform: translateY(-1px);
    }

    .line {
        width: 20px;
        height: 2px;
        background-color: #ffffffb6;
        margin: 6px 0;
        border-radius: 10px;
        transition: 0.4s ease;
    }

    /* ===== Transformations when open ===== */
    .hamburger.open .top {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.open .middle {
        opacity: 0;
    }

    .hamburger.open .bottom {
        transform: translateY(-8px) rotate(-45deg);
    }

    .links {
        text-align: center;
        flex-direction: column;
    }

    /* .line {
        width: 20px;
        height: 2px;
        background-color: #ffffffb6;
        margin: 6px 0;
        border-radius: 10px;
        text-align: center;
    } */

    .header .logo-container {
        height: 40px;
    }


    .navbar {
        z-index: 9999;
        height: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0);
        border-radius: 16px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(25px);

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: start;

        overflow: hidden;
        transition: height 0.4s ease, opacity 0.3s ease;
        opacity: 0;
    }

    .navbar.active {
        height: 100%;
        opacity: 1;
    }

    .header.active {
        align-items: start;
        height: 360px;

    }

    .language-switcher {
        width: 50%;
        height: 30px;
        margin: 6px 0;

        border-radius: 10px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .language-container {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .language-menu {
        justify-content: space-around;
    }

    .language-menu li {
        padding-right: 1rem;
    }

    .language-switcher {
        padding: 1.2rem;

    }

    .navbar,
    .links {
        width: 100%;
    }

    .language-menu {
        left: 10% !important;
    }

    .home-section {
        overflow-x: hidden;
    }

    .Statistics-section {
        flex-direction: column;
        height: 70vh;
    }

    .Statistics-card {
        width: 100%;
    }

    .statistics-counter span {
        height: 60%;
    }

    .Statistics-card h6 {
        font-size: 1.1rem;
    }

    .Statistics-card h6 span {
        font-size: 1.4rem;
    }

    .search-bar {
        min-width: 100%;
    }
}