/* ========== ROOT VARIABLES ========== */
:root {
    --primary-color: #225378;
    --warning-color: #FF9500;
    --success-color: #00BC65;
    --danger-color: #FF6881;
    --info-color: #1B75E8;
    --light-bg: #f8f9fb;
    --white: #ffffff;
    --text-dark: #333333;
    --text-muted: #666666;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ========== TYPOGRAPHY & GLOBAL STYLES ========== */
body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    font-family: 'Open Sans', sans-serif;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== ANIMATIONS ========== */
.fade-up {
  animation: fadeUp 2s ease forwards;
}

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

/* ========== HERO SECTION ========== */
.contact-hero {
    position: relative;
    height: 430px;
    background-image: url("../imgs/contact/bg-contact.png");
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
    color: #fff;
}

.hero-content h1 {
    font-weight: 700;
    color: #FF9500;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero-content p {
    max-width: 600px;
    margin: 10px auto 0;
    color: #e0e0e0;
    font-size: 1.2rem;
}

/* ========== CONTACT INFORMATION SECTION ========== */
.contact-info-section {
    padding: 80px 20px;
}

.info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.info-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--white);
}

.info-card h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.info-link {
    color: var(--warning-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.info-address {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    font-style: normal;
}

/* ========== CONTACT FORM SECTION ========== */
.contact-form-section {
    padding: 80px 20px;
}

.contact-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--danger-color);
}

.contact-card h3 {
    color: var(--primary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Icon Box */
.icon-box {
    width: 50px;
    height: 50px;
    background: #eaf1ff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
}

/* Form Inputs */
.form-control {
    border-radius: 10px;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--warning-color);
    box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.1);
}

.form-label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Button Gradient */
.btn-gradient {
    padding: 14px 24px;
    border-radius: 12px;
    border: none;
    color: var(--white);
    font-weight: 600;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-gradient:hover {
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.form-note {
    text-align: center;
    margin-top: 1.5rem;
}

.form-note i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

/* Form Illustration */
.form-illustration {
    position: relative;
}
    

.image-placeholder {
    width: 100%;
    height: 830px;
    background-image: url('../imgs/contact/img-contact1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .image-placeholder {
        height: 350px;
    }
}

/* Quick Info Box */
.quick-info-box {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    max-width: 280px;
}

.quick-info-box h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.quick-info-box p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .quick-info-box {
        position: static;
        max-width: 100%;
        margin-top: 1.5rem;
    }
}

/* ========== FAQ PREVIEW SECTION ========== */
.faq-preview-section {
    padding: 80px 20px;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.faq-item:hover {
    transform: translateX(5px);
    border-left-color: var(--warning-color);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.faq-item h5 {
    color: var(--primary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.faq-item h5 i {
    color: var(--warning-color);
    font-size: 1.3rem;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .contact-card h3 {
        font-size: 1.5rem;
    }

    .info-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 300px;
    }

    .contact-info-section,
    .contact-form-section,
    .faq-preview-section {
        padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .contact-card {
        padding: 2rem !important;
    }

    .contact-card h3 {
        font-size: 1.3rem;
        flex-direction: column;
        text-align: center;
    }

    .icon-box {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .quick-info-box {
        position: static;
        max-width: 100%;
        margin-top: 1.5rem;
    }

    .faq-item {
        padding: 1.5rem;
    }

    .faq-item h5 {
        font-size: 0.95rem;
    }

    .form-note {
        font-size: 0.85rem;
    }
}


