/*
 * Contact Page Specific Styles
 * Modern Figma-Inspired Design
 */

/* ===================================
   CONTACT PAGE HEADER
   =================================== */
.page-header {
    background: linear-gradient(135deg, #0B1F2C 0%, #1B4965 100%);
    padding: 120px 0 80px;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(95, 168, 211, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(98, 182, 183, 0.1) 0%, transparent 50%);
    opacity: 0.5;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.page-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   CONTACT FORM WRAPPER
   =================================== */
.contact-form-wrapper {
    background: #ffffff;
    border: 1px solid #E8EEF2;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(11, 31, 44, 0.08);
    height: 100%;
}

.contact-form-wrapper h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0B1F2C;
    margin-bottom: 30px;
}

.form-label {
    font-weight: 600;
    color: #0B1F2C;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-control,
.form-select {
    border-radius: 12px;
    border: 1.5px solid #E8EEF2;
    padding: 12px 18px;
    font-size: 15px;
    color: #0B1F2C;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #1B4965;
    box-shadow: 0 0 0 4px rgba(27, 73, 101, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: #9CA3AF;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* ===================================
   CONTACT INFO CARDS
   =================================== */
.contact-info-card {
    background: #ffffff;
    border: 1px solid #E8EEF2;
    border-radius: 20px;
    padding: 32px 28px;
    margin-bottom: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(11, 31, 44, 0.04);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(11, 31, 44, 0.12);
    border-color: #5FA8D3;
}

.contact-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(27, 73, 101, 0.08) 0%, rgba(95, 168, 211, 0.08) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #1B4965;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon {
    background: linear-gradient(135deg, #1B4965 0%, #62B6B7 100%);
    color: #ffffff;
    transform: scale(1.08);
}

.contact-info-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #0B1F2C;
    margin-bottom: 12px;
}

.contact-info-card p {
    font-size: 15px;
    color: #6B7B8C;
    line-height: 1.6;
    margin-bottom: 10px;
}

.contact-info-card a {
    color: #1B4965;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.contact-info-card a:hover {
    color: #62B6B7;
}

.contact-info-card a i {
    margin-right: 8px;
    font-size: 14px;
}

/* WhatsApp Card Special Styling */
.whatsapp-card {
    background: linear-gradient(135deg, #E8F8F5 0%, #D4F1E8 100%);
    border-color: #25D366;
}

.whatsapp-card .contact-icon {
    background: #25D366;
    color: #ffffff;
}

.whatsapp-card:hover .contact-icon {
    background: #128C7E;
}

/* China Card Special Styling */
.china-card {
    background: linear-gradient(135deg, #FFF5F5 0%, #FEE2E2 100%);
    border-color: #EF4444;
}

.china-card .contact-icon {
    background: #EF4444;
    color: #ffffff;
}

.china-card:hover .contact-icon {
    background: #DC2626;
}

/* ===================================
   VENUE INFO SECTION
   =================================== */
.venue-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: #0B1F2C;
    margin-bottom: 32px;
}

.venue-detail {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #E8EEF2;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.venue-detail:hover {
    border-color: #5FA8D3;
    box-shadow: 0 4px 16px rgba(11, 31, 44, 0.08);
}

.venue-detail i {
    font-size: 24px;
    color: #62B6B7;
    flex-shrink: 0;
    margin-top: 4px;
}

.venue-detail strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #0B1F2C;
    margin-bottom: 6px;
}

.venue-detail p {
    font-size: 15px;
    color: #6B7B8C;
    line-height: 1.6;
    margin: 0;
}

/* Map Wrapper */
.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(11, 31, 44, 0.12);
    height: 450px;
}

.map-wrapper iframe {
    border-radius: 20px;
}

/* ===================================
   SOCIAL CONNECT CARDS
   =================================== */
.social-connect-card {
    background: #ffffff;
    border: 1px solid #E8EEF2;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(11, 31, 44, 0.04);
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.social-connect-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.social-connect-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(11, 31, 44, 0.15);
}

.social-connect-card:hover::before {
    transform: scaleX(1);
}

.social-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    transition: all 0.3s ease;
}

.social-connect-card h5 {
    font-size: 20px;
    font-weight: 700;
    color: #0B1F2C;
    margin-bottom: 8px;
}

.social-connect-card p {
    font-size: 14px;
    color: #6B7B8C;
    margin-bottom: 0;
}

.social-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.social-connect-card:hover .social-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* YouTube Card */
.youtube-card::before {
    background: #FF0000;
}

.youtube-card .social-icon-large {
    background: rgba(255, 0, 0, 0.1);
    color: #FF0000;
}

.youtube-card:hover .social-icon-large {
    background: #FF0000;
    color: #ffffff;
}

.youtube-card .social-arrow {
    background: rgba(255, 0, 0, 0.1);
    color: #FF0000;
}

/* Facebook Card */
.facebook-card::before {
    background: #1877F2;
}

.facebook-card .social-icon-large {
    background: rgba(24, 119, 242, 0.1);
    color: #1877F2;
}

.facebook-card:hover .social-icon-large {
    background: #1877F2;
    color: #ffffff;
}

.facebook-card .social-arrow {
    background: rgba(24, 119, 242, 0.1);
    color: #1877F2;
}

/* Instagram Card */
.instagram-card::before {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
}

.instagram-card .social-icon-large {
    background: linear-gradient(45deg, rgba(245, 133, 41, 0.1), rgba(221, 42, 123, 0.1));
    color: #E1306C;
}

.instagram-card:hover .social-icon-large {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
    color: #ffffff;
}

.instagram-card .social-arrow {
    background: rgba(225, 48, 108, 0.1);
    color: #E1306C;
}

/* LinkedIn Card */
.linkedin-card::before {
    background: #0A66C2;
}

.linkedin-card .social-icon-large {
    background: rgba(10, 102, 194, 0.1);
    color: #0A66C2;
}

.linkedin-card:hover .social-icon-large {
    background: #0A66C2;
    color: #ffffff;
}

.linkedin-card .social-arrow {
    background: rgba(10, 102, 194, 0.1);
    color: #0A66C2;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section-alt {
    background: linear-gradient(135deg, #0B1F2C 0%, #1B4965 100%);
    padding: 80px 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.cta-section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 50%, rgba(95, 168, 211, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(98, 182, 183, 0.1) 0%, transparent 50%);
    opacity: 0.5;
}

.cta-title-white {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-text-white {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 991px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-title {
        font-size: 42px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
        margin-bottom: 40px;
    }
    
    .venue-info {
        margin-bottom: 40px;
    }
    
    .map-wrapper {
        height: 350px;
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 80px 0 50px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .contact-form-wrapper {
        padding: 28px 20px;
    }
    
    .contact-form-wrapper h2 {
        font-size: 26px;
    }
    
    .contact-info-card {
        padding: 24px 20px;
    }
    
    .venue-detail {
        padding: 16px;
    }
    
    .map-wrapper {
        height: 300px;
    }
    
    .cta-title-white {
        font-size: 28px;
    }
    
    .cta-text-white {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .page-title {
        font-size: 30px;
    }
    
    .social-connect-card {
        padding: 32px 24px;
    }
    
    .social-icon-large {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }
}

/* ===================================
   FORM VALIDATION STYLES
   =================================== */
.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #10B981;
    background-image: none;
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #EF4444;
    background-image: none;
}

.invalid-feedback,
.valid-feedback {
    font-size: 13px;
    margin-top: 6px;
}

/* Success/Error Messages */
.alert-custom {
    border-radius: 12px;
    padding: 16px 20px;
    border: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-custom i {
    font-size: 20px;
}

.alert-success-custom {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    color: #065F46;
}

.alert-error-custom {
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
    color: #991B1B;
}
