/* ============================================
   Contact Page Modern Design
   ============================================ */

:root {
    --contact-primary: #667eea;
    --contact-secondary: #764ba2;
    --contact-bg: #0f0f0f;
    --contact-card-bg: #1a1a1a;
    --contact-text: #e8e8e8;
    --contact-text-secondary: #b0b0b0;
    --contact-border: rgba(255, 255, 255, 0.08);
    --contact-hover: rgba(102, 126, 234, 0.1);
}

/* Hero Section */
.contact-hero-section {
    background: linear-gradient(135deg, #1a2a6c 0%, #26262d 50%, #2a1b40 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.contact-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-page-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.contact-page-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 10px 0;
    line-height: 1.6;
}

.contact-page-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Contact Content Section */
.contact-content-section {
    background: var(--contact-bg);
    padding: 80px 0;
    min-height: 600px;
}

.contact-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Contact Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--contact-card-bg) 0%, #1e1e1e 100%);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid var(--contact-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 60px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--contact-primary) 0%, var(--contact-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.contact-info-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--contact-text);
    margin: 0 0 15px 0;
}

.contact-info-details {
    font-size: 16px;
    color: var(--contact-text-secondary);
    line-height: 1.8;
}

.contact-info-details a {
    color: var(--contact-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-details a:hover {
    color: var(--contact-secondary);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-container {
    background: linear-gradient(135deg, var(--contact-card-bg) 0%, #1e1e1e 100%);
    border-radius: 24px;
    padding: 50px;
    border: 1px solid var(--contact-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.contact-form-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--contact-text);
    margin: 0 0 10px 0;
    text-align: center;
}

.contact-form-subtitle {
    font-size: 16px;
    color: var(--contact-text-secondary);
    margin: 0 0 40px 0;
    text-align: center;
}

.contact-form-group {
    margin-bottom: 30px;
}

.contact-form-label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--contact-text);
    margin-bottom: 10px;
}

.contact-form-label.required::after {
    content: ' *';
    color: #ff4757;
}

.contact-form-control {
    width: 100%;
    padding: 15px 20px;
    font-size: 15px;
    color: var(--contact-text);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--contact-border);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--contact-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

textarea.contact-form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-form-error {
    color: #ff4757;
    font-size: 14px;
    margin-top: 8px;
    display: block;
}

.contact-captcha-submit-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.contact-captcha-submit-row > div,
.contact-captcha-submit-row > .g-recaptcha,
.contact-captcha-submit-row .form-group {
    flex: 0 0 auto;
    margin: 0 !important;
}

.contact-captcha-submit-row .contact-btn {
    margin: 0;
    flex-shrink: 0;
}

/* Ensure reCAPTCHA has proper spacing */
.g-recaptcha {
    display: inline-block;
    vertical-align: middle;
    transform: scale(0.85);
    transform-origin: left center;
}

.contact-form-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    margin-top: 40px;
}

.contact-btn {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    max-width: fit-content;
    white-space: nowrap;
}

.contact-btn-primary {
    background: linear-gradient(135deg, var(--contact-primary) 0%, var(--contact-secondary) 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.contact-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.contact-btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.contact-btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

.contact-btn i {
    font-size: 20px;
}

/* Map Section */
.contact-map-section {
    background: var(--contact-card-bg);
    padding: 60px 0;
}

.contact-map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-map-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--contact-text);
    margin: 0 0 30px 0;
    text-align: center;
}

.contact-map-wrapper {
    background: var(--contact-card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--contact-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    height: 450px;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Alternative Contact Methods */
.contact-alt-section {
    background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
    padding: 60px 0;
}

.contact-alt-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.contact-alt-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--contact-text);
    margin: 0 0 15px 0;
}

.contact-alt-description {
    font-size: 16px;
    color: var(--contact-text-secondary);
    margin: 0 0 40px 0;
    line-height: 1.8;
}

.contact-alt-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-page-title {
        font-size: 38px;
    }
    
    .contact-page-subtitle {
        font-size: 18px;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .contact-form-container {
        padding: 40px 30px;
    }
    
    .contact-form-title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .contact-hero-section {
        padding: 60px 0 40px;
    }
    
    .contact-page-title {
        font-size: 32px;
    }
    
    .contact-page-subtitle {
        font-size: 16px;
    }
    
    .contact-content-section {
        padding: 50px 0;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-info-card {
        padding: 30px 20px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .contact-form-title {
        font-size: 24px;
    }
    
    .contact-captcha-submit-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .contact-captcha-submit-row .contact-btn {
        width: 100%;
        max-width: 100%;
    }
    
    .contact-form-buttons {
        flex-direction: column;
    }
    
    .contact-btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-map-wrapper {
        height: 350px;
    }
    
    .contact-alt-buttons {
        flex-direction: column;
    }
    
    .contact-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-page-title {
        font-size: 28px;
    }
    
    .contact-hero-content {
        padding: 0 15px;
    }
    
    .contact-form-container {
        padding: 25px 15px;
    }
    
    .contact-info-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }
}
