/* Contact Page Modern Design */

/* Contact Hero Section */
.contact-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.5) 0%, rgba(240, 98, 146, 0.5) 100%), 
                url('../images/banner-3.jpg') center/cover no-repeat;
    padding: 6rem 0 4rem;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.5;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.contact-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.contact-hero-content p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Modern Section */
.contact-modern {
    padding: 4rem 0;
    background: #f8f9fa;
}

/* Contact Wrapper - Updated Grid */
.contact-modern .contact-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

/* Left Side - Contact Info Modern */
.contact-info-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-box {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-info-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.15);
}

.info-icon-badge {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e91e63 0%, #f06292 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.info-icon-badge i {
    color: white;
    font-size: 1.5rem;
}

.contact-info-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.office-address {
    color: #4a5568;
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0;
}

.contact-detail {
    color: #e91e63;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.contact-note {
    color: #718096;
    font-size: 0.875rem;
    margin: 0;
}

/* Social Box */
.social-box {
    background: linear-gradient(135deg, #e91e63 0%, #f06292 100%);
}

.social-box h3 {
    color: white;
    margin-bottom: 1rem;
}

.social-icons-modern {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Certifications */
.contact-certifications {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cert-badge {
    max-width: 200px;
    height: auto;
    margin-bottom: 0.75rem;
}

.cert-text {
    color: #718096;
    font-size: 0.875rem;
    margin: 0;
}

/* Right Side - Compact Contact Form */
.contact-form-compact {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 600px;
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #718096;
    font-size: 0.95rem;
    margin: 0;
}

.contact-form-compact .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form-compact .form-group {
    margin-bottom: 1rem;
}

.contact-form-compact label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-form-compact .required {
    color: #e91e63;
}

.contact-form-compact input[type="text"],
.contact-form-compact input[type="email"],
.contact-form-compact input[type="tel"],
.contact-form-compact select,
.contact-form-compact textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: white;
    color: #2d3748;
}

.contact-form-compact input:focus,
.contact-form-compact select:focus,
.contact-form-compact textarea:focus {
    outline: none;
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.contact-form-compact textarea {
    resize: vertical;
    min-height: 120px;
}

.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: #a0aec0;
    margin-top: 0.25rem;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #e91e63;
}

.form-checkbox label {
    font-size: 0.875rem;
    color: #4a5568;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

.form-checkbox a {
    color: #e91e63;
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.3);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero-content p {
        font-size: 1.1rem;
    }
    
    .contact-modern .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-compact {
        max-width: 100%;
    }
    
    .contact-form-compact .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding: 4rem 0 3rem;
    }
    
    .contact-hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-hero-content p {
        font-size: 1rem;
    }
    
    .contact-info-box {
        padding: 1.5rem;
    }
    
    .contact-form-compact {
        padding: 1.5rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
}
