/*
 * CSS of templates/contact.php, moved verbatim from its inline <style> blocks, in source order.
 * Loaded by kosmos_page_template_css (functions/actions.php).
 */

/* templates/contact.php, <style> at line 114 */
.form-section {
    margin-top: 30px;
    margin-bottom: 30px;
}

.form-container {
    margin-top: 10px;
    margin-bottom: 30px;
}

    #section_form .form-title {
        font-size: 32px;
        text-align: center;
        margin-bottom: 15px;
        font-weight: 700;
        color: #d91733;
    }

    #section_form .form-description {
        text-align: center;
        max-width: 700px;
        margin: 0 auto;
    }

    .banner-section {
        position: relative;
    }

    .banner-section .cont {
        top: 30%;
        padding: 32px 41px 32px 50px;
        position: absolute;
        left: calc(calc(100vw - 1200px) / 2);
    }

    .banner-section .cont:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: var(--primary-color);
        mix-blend-mode
    }

    .cont .content {
        font-family: 'Roboto';
        font-style: normal;
        font-weight: 500;
        font-size: 18px;
        line-height: 25px;
        color: #FFFFFF;
        opacity: 0.8;
        position: relative;
        margin-top: 10px
    }

    .banner-section .cont .title {
        font-family: 'Roboto';
        font-style: normal;
        font-weight: 800;
        font-size: 40px;
        line-height: 42px;
        position: relative;
        color: #FFFFFF;
        margin-bottom: 0;
    }

    .contact-boxes {
        padding: 60px 0;
        background-color: #fff;
    }

    .contact-boxes .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }

    .contact-boxes .section-title {
        font-size: 32px;
        text-align: center;
        margin-bottom: 40px;
        font-weight: 700;
        color: #d91733;
    }

    .contact-box-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        /* 2 columns by default */
        gap: 15px;
        margin-bottom: 40px;
    }

    .contact-box {
        background-color: #e2e2e2;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border-radius: 30px;
    }


    .contact-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    }

    .contact-box .box-title {
        font-size: 18px;
        margin-bottom: 15px;
        background: #3E3E3E;
        font-weight: 600;
        color: #fff;
        text-align: center;
        padding: 20px 10px;
        text-transform: uppercase;
        border-radius: 30px 30px 0 0;
    }

    .contact-box .box-content {
        margin-bottom: 20px;
        color: #666;
        line-height: 1.6;
        padding: 0 30px;
        text-align: center;min-height: 286px;
    }

    .contact-box .box-content p {
        margin-bottom: 10px;
    }

    .contact-box .box-link {
        text-decoration: none;
        font-weight: 500;
        position: relative;
        background: #3E3E3E;
        color: #fff;
        padding: 8px;
        border-radius: 40px;
        margin: 0 auto;
        display: block;
        clear: both;
        width: 136px;
        margin-bottom: 15px;
        background-image: url(https://kosmos.vn/wp-content/uploads/2025/05/map-lienhe.png);
        background-repeat: no-repeat;
        text-align: right;
        padding-right: 16px;
    }

    .contact-box .box-link:hover {
        color: #d91733;
    }

    .contact-box .box-link:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.3s ease;
    }

    .contact-box .box-link:hover:after {
        transform: scaleX(1);
        transform-origin: left;
    }


    .additional-info {
        margin-top: 30px;
        padding: 20px;
        background-color: #fff;
        border-radius: 8px;
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }
.site.grid-container.container.hfeed {
    margin-top: 66px;
}
input, optgroup, select, textarea {
    -webkit-appearance: auto;
}

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .contact-boxes {
            padding: 50px 0;
        }

        .contact-boxes .section-title {
            font-size: 28px;
            margin-bottom: 30px;
        }

        .contact-box-grid {
            display: flex;
            gap: 10px;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
        }

        .contact-box {
            width: 48%;
        }

        .contact-box .box-title {
            font-size: 18px;
        }

        .contact-box .box-content {
            padding: 0 15px;
        }

        #section_box .container-fluid {
            padding: 5px;
        }

        .contact-box:last-child {
            width: 100%;
        }

        .additional-info {
            margin-top: 0;
            padding: 0
        }

    }

    
