/* Contact Page Styles - Synchronized with Homepage & Projects */

.contact-page {
    padding-top: 0;
}

/* ==================== HEADER STYLES ==================== */
.header-contact {
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s ease;
}

.header-contact .logo-text {
    color: white;
}

.header-contact .nav-list a {
    color: rgba(255, 255, 255, 0.85);
}

.header-contact .nav-list a:hover,
.header-contact .nav-list a.active {
    color: white;
}

.header-contact .phone-link {
    color: white !important;
}

.header-contact .phone-icon {
    color: white;
}

.header-contact .mobile-menu-toggle span {
    background: white;
}

/* Header scrolled state */
.header-contact.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-contact.scrolled .logo-text {
    color: var(--text-dark);
}

.header-contact.scrolled .logo-icon path {
    fill: url(#logoGradient);
}

.header-contact.scrolled .nav-list a {
    color: var(--text-gray);
}

.header-contact.scrolled .nav-list a:hover,
.header-contact.scrolled .nav-list a.active {
    color: var(--primary-blue);
}

.header-contact.scrolled .phone-link {
    color: var(--text-dark) !important;
}

.header-contact.scrolled .phone-icon {
    color: var(--primary-blue);
}

.header-contact.scrolled .mobile-menu-toggle span {
    background: var(--text-dark);
}

/* ==================== HERO SECTION ==================== */
.contact-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 58, 95, 0.85) 50%, rgba(37, 99, 235, 0.7) 100%);
    z-index: 1;
}

.contact-hero .hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.hero-deco {
    position: absolute;
}

.hero-deco.deco-1 {
    width: 100px;
    height: 100px;
    background: #00c8ff;
    top: 15%;
    right: 10%;
    opacity: 0.8;
}

.hero-deco.deco-2 {
    width: 70px;
    height: 70px;
    background: var(--primary-blue);
    top: 35%;
    right: 20%;
    opacity: 0.6;
}

.hero-deco.deco-3 {
    width: 50px;
    height: 50px;
    background: #00c8ff;
    bottom: 20%;
    left: 8%;
    opacity: 0.5;
}

.contact-hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 700px;
}

.contact-hero h1 {
    font-family: 'VL Allround Gothic', 'Inter', sans-serif;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.1;
    color: white;
    margin: 24px 0;
}

.hero-desc {
    font-family: 'SF Compact Text', 'Inter', sans-serif;
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

/* Quick Contact Items */
.hero-contact-quick {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.quick-contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 200, 255, 0.2);
    border-radius: 12px;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: #00c8ff;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-family: 'SF Compact Text', 'Inter', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.6);
}

.contact-value {
    font-family: 'SF Compact Text', 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

/* ==================== CONTACT FORM SECTION ==================== */
.contact-form-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
}

.form-intro h2 {
    font-family: 'VL Allround Gothic', 'Inter', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
    margin: 20px 0;
}

.form-intro h2 .highlight {
    color: var(--primary-green);
}

.intro-desc {
    font-family: 'SF Compact Text', 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 40px;
}

/* Form Features */
.form-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 8px;
}

.feature-icon svg {
    width: 16px;
    height: 16px;
    color: var(--primary-blue);
}

.feature-item span {
    font-family: 'SF Compact Text', 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
}

/* Form Wrapper */
.form-wrapper {
    background: var(--bg-light);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-family: 'SF Compact Text', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.required {
    color: var(--primary-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 20px;
    font-size: 15px;
    font-family: 'SF Compact Text', 'Inter', sans-serif;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-white);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%236b7280' d='M8 10.5L3 5.5h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 50px;
}

/* Checkbox Group */
.checkbox-group {
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-label input:checked + .checkbox-custom {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkbox-label input:checked + .checkbox-custom::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.checkbox-text {
    font-family: 'SF Compact Text', 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-gray);
}

.checkbox-text a {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    font-family: 'SF Compact Text', 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: white;
    background: var(--primary-blue);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: 10px;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn .btn-arrow {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-arrow {
    transform: translate(3px, -3px);
}

.submit-btn svg {
    width: 20px;
    height: 20px;
}

/* ==================== OFFICES SECTION ==================== */
.offices-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    overflow: hidden;
}

.offices-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.office-deco {
    position: absolute;
}

.office-deco.deco-1 {
    width: 120px;
    height: 120px;
    background: #00c8ff;
    top: 10%;
    left: 5%;
    opacity: 0.3;
}

.office-deco.deco-2 {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    top: 50%;
    right: 10%;
}

.office-deco.deco-3 {
    width: 60px;
    height: 60px;
    background: #00c8ff;
    bottom: 15%;
    left: 40%;
    opacity: 0.2;
}

.offices-section .container {
    position: relative;
    z-index: 2;
}

.offices-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.offices-header h2 {
    font-family: 'VL Allround Gothic', 'Inter', sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 600;
    line-height: 1.15;
    color: white;
    margin: 20px 0;
}

.offices-header p {
    font-family: 'SF Compact Text', 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.office-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px 36px;
    transition: all 0.3s ease;
    text-align: center;
}

.office-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.office-card.head-office {
    position: relative;
    border-color: rgba(52, 168, 83, 0.5);
    background: rgba(52, 168, 83, 0.1);
}

.office-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 18px;
    font-family: 'SF Compact Text', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: white;
    background: var(--primary-green);
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(52, 168, 83, 0.4);
}

.office-flag-large {
    font-size: 56px;
    margin-bottom: 20px;
    line-height: 1;
}

.office-card h3 {
    font-family: 'VL Allround Gothic', 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.office-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'SF Compact Text', 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #00c8ff;
    margin-bottom: 20px;
    padding: 12px 24px;
    background: rgba(0, 200, 255, 0.1);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.office-phone:hover {
    color: white;
    background: rgba(0, 200, 255, 0.2);
}

.office-phone svg {
    width: 18px;
    height: 18px;
}

.office-address {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    font-family: 'SF Compact Text', 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
}

.office-address svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.5);
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header h2 {
    font-family: 'VL Allround Gothic', 'Inter', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 20px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
    font-family: 'VL Allround Gothic', 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.faq-item p {
    font-family: 'SF Compact Text', 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
}

/* ==================== SECTION LABELS (Sync with Homepage) ==================== */
.section-label-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-header .section-label-wrap,
.offices-header .section-label-wrap {
    justify-content: center;
}

.label-icon {
    width: 12px;
    height: 12px;
    background: var(--primary-blue);
}

.label-icon.white {
    background: white;
}

.section-label {
    font-family: 'SF Compact Text', 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-blue);
}

.section-label.white {
    color: white;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .offices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-deco.deco-1,
    .hero-deco.deco-2 {
        display: none;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: auto;
        padding: 140px 0 80px;
    }
    
    .contact-hero h1 {
        font-size: 36px;
    }
    
    .hero-desc {
        font-size: 17px;
    }
    
    .hero-contact-quick {
        flex-direction: column;
    }
    
    .quick-contact-item {
        width: 100%;
    }
    
    .form-wrapper {
        padding: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .offices-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .office-deco {
        display: none;
    }
    
    .office-deco.deco-1 {
        display: block;
        width: 60px;
        height: 60px;
    }
}

/* Social Section */
.social-section {
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
}

.social-content h2 {
    font-family: 'VL Allround Gothic', 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.social-content p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 32px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-links .social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links .social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.social-links .social-link svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.social-links .social-link.facebook svg {
    color: #1877f2;
}

.social-links .social-link.linkedin svg {
    color: #0a66c2;
}

.social-links .social-link.youtube svg {
    color: #ff0000;
}

.social-links .social-link span {
    font-family: 'SF Compact Text', 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

.social-links .social-link.zalo {
    background: linear-gradient(135deg, #0068ff, #00a5ff);
}

.social-links .social-link.zalo .zalo-icon {
    font-weight: 700;
    color: white;
    font-size: 14px;
}

.social-links .social-link.zalo span {
    color: white;
}

@media (max-width: 768px) {
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-links .social-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 120px 0 60px;
    }
    
    .contact-hero h1 {
        font-size: 28px;
    }
    
    .hero-desc {
        font-size: 15px;
    }
    
    .contact-form-section,
    .offices-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .social-section {
        padding: 60px 0;
    }
    
    .social-content h2 {
        font-size: 24px;
    }
    
    .form-intro h2 {
        font-size: 28px;
    }
    
    .form-wrapper {
        padding: 24px;
        border-radius: 16px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .offices-header h2,
    .faq-header h2 {
        font-size: 28px;
    }
    
    .office-card {
        padding: 24px;
    }
    
    .faq-item {
        padding: 24px;
    }
}
