:root {
    --primary: #6B705C; /* Requested Olive Green */
    --secondary: #A5A58D; /* Muted Sage */
    --accent: #B7B7A4; /* Pale Khaki */
    --light: #F8F5F1; /* Warm Off-white */
    --dark: #3F4238; /* Deep Forest */
    --white: #FFFFFF;
    --text-body: #4A4A4A;
    --transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-x: clip; /* Modern overflow management */
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.7;
    cursor: none; /* Default hide for custom cursor */
}

@media (max-width: 1024px) {
    body { cursor: auto; }
}

h1, h2, h3 {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1300px; /* Increased from 1200px */
    margin: 0 auto;
    padding: 0 40px; /* Increased default padding */
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    transition: transform 0.1s ease-out, opacity 0.3s ease;
}

@media (max-width: 1024px) {
    .cursor-dot, .cursor-outline { display: none !important; }
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    transition: transform 0.15s ease-out;
}

/* Header V2 */
.header-v2 {
    padding: 2rem 0;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.nav-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-v2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--dark);
    white-space: nowrap; /* Prevent title from wrapping */
}

.logo-v2 img {
    height: 60px;
    width: auto;
    display: block;
    transition: var(--transition);
    border-radius: 8px;
    flex-shrink: 0; /* Prevent image from shrinking */
}

.site-title-v2 {
    font-family: 'Arial', sans-serif;
    color: var(--primary);
    font-size: 1.4rem;
    line-height: 1;
}

.logo-v2:hover img {
    transform: scale(1.05);
}

.links-v2 {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.links-v2 a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.links-v2 a:hover {
    color: var(--primary);
}

.btn-cta-v2 {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.8rem 2rem;
    border-radius: 12px;
}

/* Hero V2 */
.hero-v2 {
    padding: 200px 0 150px; /* Increased bottom padding */
    background: radial-gradient(circle at top right, var(--light) 0%, var(--white) 50%);
}

.hero-grid-v2 {
    display: grid;
    grid-template-columns: 1.4fr 1fr; /* Wider text area */
    gap: 6rem; /* More gap */
    align-items: center;
}

.eyebrow {
    display: block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}

.hero-text-v2 h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text-v2 p {
    font-size: 1.15rem;
    color: var(--text-body);
    max-width: 500px;
    margin-bottom: 3rem;
}

.hero-actions-v2 {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.btn-primary-v2 {
    background: var(--dark);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary-v2:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.btn-link-v2 {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 4px;
}

.image-wrapper-v2 {
    position: relative;
    overflow: hidden; /* Ensure zoom stays within borders */
    border-radius: 30px;
}

.image-wrapper-v2 img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.image-wrapper-v2:hover img {
    transform: scale(1.08);
}

.floating-card-v2 {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.floating-card-v2 .icon {
    font-size: 2rem;
}

/* Mission Section */
.mission-section-v2 {
    padding: 120px 0;
    position: relative;
    z-index: 10;
    margin-top: 0; /* Removed negative margin to separate from hero */
    background: var(--primary);
    background-image: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.mission-section-v2::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.mission-content-v2 .eyebrow {
    color: var(--accent);
    margin-bottom: 2rem;
}

.mission-content-v2 h2 {
    font-size: 3.2rem;
    margin-bottom: 2.5rem;
    letter-spacing: -2px;
    line-height: 1;
}

.mission-content-v2 p {
    font-size: 1.3rem;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.9;
}

/* Features V2 */
.content-section-v2 {
    padding: 120px 0;
}

.section-top-v2 {
    margin-bottom: 6rem;
    max-width: 600px;
}

.section-title-v2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.features-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.feature-item-v2 {
    padding: 4.5rem 2.5rem;
    background: #FFFFFF;
    border-radius: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: var(--transition);
    border: 2px solid rgba(0, 0, 0, 0.08); /* Default border */
}

.feature-item-v2.cat-phap-luat { border: 2px solid #6B705C; border-top-width: 10px; }
.feature-item-v2.cat-tien-hon-nhan { border: 2px solid #A5A58D; border-top-width: 10px; }
.feature-item-v2.cat-toa-dam { border: 2px solid #B7B7A4; border-top-width: 10px; }

.feature-item-v2:hover {
    transform: translateY(-20px) scale(1.03); /* More movement */
    box-shadow: 0 50px 100px rgba(107, 112, 92, 0.2); /* Stronger shadow */
    background: #FFF;
    border-width: 3px; /* Slightly thicker border on hover */
}

.feature-item-v2.cat-phap-luat:hover { border-color: #6B705C; }
.feature-item-v2.cat-tien-hon-nhan:hover { border-color: #A5A58D; }
.feature-item-v2.cat-toa-dam:hover { border-color: #B7B7A4; }

.feature-num-v2 {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 2rem;
    background: var(--primary);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin: 0 auto 2rem;
}

.cat-tien-hon-nhan .feature-num-v2 { background: #A5A58D; }
.cat-toa-dam .feature-num-v2 { background: #B7B7A4; }

.feature-item-v2 h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.feature-item-v2 p {
    color: var(--text-body);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

.upcoming-events-v2 {
    background: var(--light);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: left;
}

.events-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.upcoming-events-v2 ul {
    list-style: none;
}

.upcoming-events-v2 li {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.upcoming-events-v2 li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.upcoming-events-v2 a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
}

.upcoming-events-v2 a:hover {
    color: var(--primary);
}

.event-date {
    color: var(--secondary);
    font-size: 0.8rem;
}

.no-events {
    opacity: 0.5;
    font-style: italic;
}

.feature-action-v2 {
    margin-top: 2rem;
}

.btn-register-v2 {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-register-v2:hover {
    background: var(--dark);
    transform: translateY(-3px);
}

/* Quote */
.quote-v2 {
    background: var(--light);
    padding: 120px 0;
    text-align: center;
}

.quote-v2 blockquote {
    font-family: 'Arial', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    font-style: italic;
    color: var(--primary);
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section-v2 {
    padding: 100px 0;
    background: var(--white);
}

.contact-box-v2 {
    max-width: 800px;
    margin: 0 auto;
    background: #EDF0E9; /* Soft Olive Tint for prominence */
    padding: 4rem;
    border-radius: 40px;
    box-shadow: 0 30px 80px rgba(107, 112, 92, 0.1);
}

.contact-header-v2 {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header-v2 h2 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.contact-header-v2 p {
    color: var(--text-body);
    opacity: 0.8;
}

.contact-grid-v2 {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.form-tabs-v2 {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.form-tab-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    background: var(--white);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-body);
    transition: var(--transition);
}

.form-tab-btn.active {
    background: var(--primary);
    color: var(--white);
}

.activity-form {
    display: none;
}

.activity-form.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.feedback-box-v2 {
    background: #F4F4F4;
    padding: 3rem;
    border-radius: 40px;
    border: 1px solid rgba(0,0,0,0.05);
}

.feedback-header-v2 {
    margin-bottom: 2.5rem;
}

.feedback-header-v2 h3 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.feedback-header-v2 p {
    font-size: 0.95rem;
    opacity: 0.7;
}

.form-placeholder {
    text-align: center;
    padding: 3rem;
    border: 2px dashed var(--accent);
    border-radius: 20px;
    color: var(--primary);
}

/* CF7 Style Overrides */
.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 0.8rem; /* Decreased spacing */
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"] {
    width: 100%;
    padding: 0.8rem 1.2rem; /* Smaller padding */
    border: 2px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    background: var(--white);
    font-family: 'Arial', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.wpcf7-form textarea {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 2px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    background: var(--white);
    font-family: 'Arial', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    height: 120px; /* Approximately 3x input height */
    resize: vertical;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(107, 112, 92, 0.1);
}

.wpcf7-submit {
    width: 100%;
    padding: 1.2rem;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.wpcf7-submit:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

/* Footer V2 */
.footer-v2 {
    padding: 100px 0 50px;
    background: var(--dark);
    color: var(--white);
}

.footer-grid-v2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-info-v2 .logo-v2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-info-v2 p {
    opacity: 0.6;
    max-width: 300px;
}

.footer-contact-v2 h4 {
    margin-bottom: 1.5rem;
}

.footer-contact-v2 p {
    opacity: 0.6;
    margin-bottom: 0.5rem;
}

.footer-bottom-v2 {
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition);
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Mobile Header */
@media (max-width: 1024px) {
    .container { padding: 0 2rem; } /* More padding for mobile */
    
    .header-v2 {
        padding: 1.5rem 0;
    }

    .links-v2 {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
        z-index: 2000;
    }

    .links-v2.active {
        right: 0;
    }

    .links-v2 a {
        font-size: 1.2rem;
        color: var(--dark);
    }

    .menu-toggle-v2 {
        display: block;
        cursor: pointer;
        z-index: 2001;
        width: 30px;
        height: 20px;
        position: relative;
    }

    .menu-toggle-v2 span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--dark);
        margin-bottom: 6px;
        transition: 0.3s;
    }

    .menu-toggle-v2.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle-v2.active span:nth-child(2) { opacity: 0; }
    .menu-toggle-v2.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

    .hero-v2 { padding: 140px 0 80px; }
    .hero-grid-v2 { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero-text-v2 h1 { font-size: 2.2rem; }
    .hero-actions-v2 { justify-content: center; }
    
    .mission-content-v2 h2 { font-size: 2.0rem; }
    .mission-section-v2 { padding: 80px 0; }
    
    .section-title-v2 { font-size: 2.0rem; }
    
    .contact-section-v2 { padding: 60px 0; }
    .contact-box-v2 { padding: 2.5rem 1.5rem; border-radius: 24px; }
    .contact-header-v2 { margin-bottom: 2.5rem; }
    .contact-header-v2 h2 { font-size: 2.0rem; }
    .contact-header-v2 p { font-size: 0.9rem; }
    
    .features-v2 { grid-template-columns: 1fr; gap: 2rem; }
    
    .contact-grid-v2 { grid-template-columns: 1fr; }
    
    .form-tabs-v2 { flex-wrap: wrap; }
    
    .footer-v2 { padding: 60px 0 30px; text-align: center; }
    .footer-grid-v2 { grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
    .footer-info-v2 p { margin: 0 auto; max-width: 100%; }
    .footer-bottom-v2 { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; }
}
