/*
Theme Name: VJ Du Hoc
Theme URI: 
Author: AntiGravity
Author URI: 
Description: Custom theme converted from Ladipage VJ Du Hoc Han.
Version: 1.0
Text Domain: vj-du-hoc
*/

/* Reset and base styles from ladipage */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Be Vietnam Pro', sans-serif;
    color: #16264a;
    background: #eef4ff;
    -webkit-font-smoothing: antialiased;
}
.disp {
    font-family: 'Nunito', sans-serif;
}
details > summary {
    list-style: none;
    cursor: pointer;
}
details > summary::-webkit-details-marker {
    display: none;
}
details[open] .faq-q-icon {
    transform: rotate(45deg);
}
.hscroll {
    scrollbar-width: thin;
    scrollbar-color: #2b6de0 #dbe7ff;
}
.hscroll::-webkit-scrollbar {
    height: 8px;
}
.hscroll::-webkit-scrollbar-thumb {
    background: #2b6de0;
    border-radius: 8px;
}
.hscroll::-webkit-scrollbar-track {
    background: #dbe7ff;
    border-radius: 8px;
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 8px 24px rgba(224,36,27,.45); }
    50% { box-shadow: 0 8px 34px rgba(224,36,27,.75); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Contact Form 7 custom styles matching ladipage */
.wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 select {
    border: 1.5px solid #d7e2f5;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    width: 100%;
}
.wpcf7 select {
    color: #16264a;
    background: #fff;
}
.wpcf7 input:focus,
.wpcf7 select:focus {
    border-color: #2b6de0;
    box-shadow: 0 0 0 3px rgba(43,109,224,.15);
}
.wpcf7 input[type="submit"] {
    background: linear-gradient(135deg,#e0241b,#ff5a3c);
    color: #fff;
    font-weight: 800;
    font-size: 17px;
    padding: 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 10px 24px rgba(224,36,27,.4);
    width: 100%;
}
.wpcf7-not-valid-tip {
    font-size: 13px;
    color: #e0241b;
}
.wpcf7-response-output {
    border-radius: 12px;
    font-size: 14px;
}

/* CF7 Form Styles */
.wpcf7-form-control-wrap {
    display: block;
    /* margin-bottom: 15px; */
}
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    font-family: inherit;
}
.wpcf7-form-control.wpcf7-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #ff5e3a 0%, #ff2a00 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255,87,51,0.4);
    margin-top: 10px;
    text-transform: uppercase;
}
.wpcf7-form-control.wpcf7-submit:hover {
    background: linear-gradient(90deg, #ff2a00 0%, #ff5e3a 100%);
}

/* === RESPONSIVE LAYOUTS === */
@media (max-width: 1024px) {
    .vj-grid-hero {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    .vj-grid-hero p, .vj-grid-hero h1 {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .vj-grid-hero > div:first-child > div {
        justify-content: center !important;
    }
    .vj-grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .vj-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .vj-grid-case {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .disp {
        font-size: 85% !important;
    }
    .vj-grid-2, .vj-grid-3, .vj-grid-4 {
        grid-template-columns: 1fr !important;
    }
    .vj-grid-2-img {
        grid-template-columns: 1fr 1fr !important; /* Keep 2 cols for small images */
    }
    .vj-countdown-box > div {
        min-width: 65px !important;
        padding: 10px !important;
    }
    .vj-countdown-box .disp {
        font-size: 24px !important;
    }
}
