/* ============================================
   Contact Page - Professional Modern Design
   Enhanced Spacing & Structure
   ============================================ */

/* Contact Page Hero - Premium Design */
.contact-page-hero {
    padding: calc(var(--header-height) + 120px) 0 120px;
    background: linear-gradient(180deg, #ffffff 0%, #163B5F 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.contact-page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.contact-page-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-page-hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.contact-page-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* Contact Page Section - Enhanced Structure */
.contact-page-section {
    padding: 120px 0;
    background: #F8FAFC;
    position: relative;
}

.contact-page-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #E2E8F0, transparent);
}

.contact-page-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

/* Contact Information Side - Enhanced Cards */
.contact-page-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-page-header {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 2px solid #E2E8F0;
}

.contact-page-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0E2A47;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    padding: 8px 20px;
    background: rgba(14, 42, 71, 0.08);
    border-radius: 50px;
}

.contact-page-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #0E2A47;
    margin: 0 0 20px 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.contact-page-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4A5A6A;
    margin: 0;
    font-weight: 400;
}

.contact-page-info-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 0;
}

.contact-page-info-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px;
    background: #FFFFFF;
    border-radius: 16px;
    border: 2px solid #E2E8F0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(14, 42, 71, 0.04);
    position: relative;
    overflow: hidden;
}

.contact-page-info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #0E2A47 0%, #163B5F 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.contact-page-info-item:hover::before {
    transform: scaleY(1);
}

.contact-page-info-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(14, 42, 71, 0.12);
    border-color: #0E2A47;
}

.contact-page-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0E2A47 0%, #163B5F 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(14, 42, 71, 0.2);
}

.contact-page-info-item:hover .contact-page-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(14, 42, 71, 0.3);
}

.contact-page-details {
    flex: 1;
    padding-top: 4px;
}

.contact-page-label-small {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0E2A47;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

.contact-page-value {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #1E2933;
    margin: 0;
    font-weight: 400;
}

.contact-page-link {
    color: #0E2A47;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    display: inline-block;
}

.contact-page-link:hover {
    color: #163B5F;
    border-bottom-color: #0E2A47;
}

.contact-page-note {
    font-size: 0.9375rem;
    color: #4A5A6A;
    margin-top: 12px;
    line-height: 1.6;
    font-style: italic;
}

/* Contact Form Side - Premium Card with Enhanced Structure */
.contact-page-form-wrapper {
    position: sticky;
    top: calc(var(--header-height) + 40px);
}

.contact-page-form-card {
    background: #FFFFFF;
    padding: 48px;
    border-radius: 24px;
    border: 2px solid #E2E8F0;
    box-shadow: 0 8px 32px rgba(14, 42, 71, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-page-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0E2A47 0%, #163B5F 50%, #0E2A47 100%);
}

.contact-page-form-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(14, 42, 71, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.contact-page-form-header {
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 2px solid #F1F5F9;
    position: relative;
    z-index: 1;
}

.contact-page-form-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #0E2A47;
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.contact-page-form-subtitle {
    font-size: 1rem;
    color: #4A5A6A;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.contact-page-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
}

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

.contact-page-form-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0E2A47;
    display: block;
    margin-bottom: 4px;
}

.contact-page-form-input {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    background-color: #FFFFFF;
    color: #1E2933;
    transition: all 0.3s ease;
    font-weight: 400;
}

.contact-page-form-input:hover {
    border-color: #CBD5E0;
    background: #F8FAFC;
}

.contact-page-form-input:focus {
    outline: none;
    border-color: #0E2A47;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(14, 42, 71, 0.1);
}

.contact-page-form-textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.6;
    font-family: inherit;
}

.contact-page-btn-primary {
    padding: 18px 40px;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #FFFFFF;
    background: linear-gradient(135deg, #0E2A47 0%, #163B5F 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(14, 42, 71, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-page-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.contact-page-btn-primary:hover::before {
    left: 100%;
}

.contact-page-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(14, 42, 71, 0.3);
}

.contact-page-btn-primary:active {
    transform: translateY(0);
}

.contact-page-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.contact-page-form-message {
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 0.9375rem;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 8px;
    font-weight: 500;
}

.contact-page-form-message.show {
    opacity: 1;
    transform: translateY(0);
}

.contact-page-form-message.success {
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    color: #166534;
    border: 2px solid #BBF7D0;
}

.contact-page-form-message.error {
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
    color: #991B1B;
    border: 2px solid #FECACA;
}

/* Responsive Design - Professional Spacing */
@media (max-width: 1200px) {
    .contact-page-layout {
        gap: 60px;
    }
    
    .contact-page-section {
        padding: 100px 0;
    }
}

@media (max-width: 1024px) {
    .contact-page-hero {
        padding: calc(var(--header-height) + 80px) 0 80px;
    }
    
    .contact-page-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-page-form-wrapper {
        position: static;
    }
    
    .contact-page-section {
        padding: 80px 0;
    }
    
    .contact-page-info-items {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .contact-page-hero {
        padding: calc(var(--header-height) + 60px) 0 60px;
    }
    
    .contact-page-hero-title {
        font-size: 2.25rem;
    }
    
    .contact-page-hero-subtitle {
        font-size: 1.125rem;
    }
    
    .contact-page-section {
        padding: 60px 0;
    }
    
    .contact-page-form-card {
        padding: 32px;
    }
    
    .contact-page-info-item {
        padding: 24px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .contact-page-icon {
        margin: 0 auto;
    }
    
    .contact-page-header {
        margin-bottom: 32px;
        padding-bottom: 24px;
    }
    
    .contact-page-form {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .contact-page-hero {
        padding: calc(var(--header-height) + 40px) 0 40px;
    }
    
    .contact-page-hero-title {
        font-size: 1.875rem;
    }
    
    .contact-page-section {
        padding: 40px 0;
    }
    
    .contact-page-form-card {
        padding: 24px;
        border-radius: 16px;
    }
    
    .contact-page-form-title {
        font-size: 1.5rem;
    }
    
    .contact-page-info-item {
        padding: 20px;
    }
    
    .contact-page-icon {
        width: 56px;
        height: 56px;
    }
    
    .contact-page-header {
        margin-bottom: 24px;
        padding-bottom: 20px;
    }
}
