/* ---------------------------------------------- CONTACT PAGE ------------------------------------------ */

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

.contact-hero {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 50px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
    z-index: 1;
}

.contact-hero h1 {
    position: relative;
    z-index: 2;
    font-size: 52px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease;
}

.contact-hero p {
    position: relative;
    z-index: 2;
    font-size: 18px;
    color: rgba(255,255,255,0.95);
    text-shadow: 1px 2px 4px rgba(0,0,0,0.15);
    animation: fadeInUp 1s ease;
}

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

.alert-message {
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 15px 20px;
    border-radius: 12px;
    font-weight: 500;
    text-align: center;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #28a745;
}

.alert-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 2px solid #dc3545;
}

.contact-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: stretch;
}

.contact-form {
    background: white;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.contact-form h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form-group {
    position: relative;
    margin-bottom: 25px;
}

.contact-label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.required {
    color: #e53e3e;
    margin-left: 4px;
    font-weight: 700;
}

.input-wrapper {
    position: relative;
}

.form-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.contact-input.error,
.contact-textarea.error {
    border-color: #e53e3e;
    background: #fff5f5;
}

.error-message {
    color: #e53e3e;
    font-size: 13px;
    margin-top: 6px;
    display: none;
    font-weight: 500;
}

.error-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.contact-textarea {
    resize: vertical;
    min-height: 140px;
    padding-top: 15px;
}

.contact-textarea + .form-icon {
    top: 25px;
    transform: none;
}

.contact-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-submit:hover::before {
    width: 300px;
    height: 300px;
}

.contact-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.4);
}

.contact-submit:active {
    transform: translateY(-1px);
}

.contact-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    height: 100%;
    min-height: 600px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-map:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

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

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

.contact-info-section {
    background: white;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.contact-info-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-info-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.contact-info-item ion-icon {
    font-size: 36px;
    margin-bottom: 15px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    color: white;
    padding: 15px;
}

.contact-info-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2d3748;
}

.contact-info-item p {
    font-size: 15px;
    color: #718096;
    line-height: 1.8;
    margin: 0;
}

.contact-info-item a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-info-item a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.contact-team {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 60px 40px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
}

.contact-team h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 50px;
}

.contact-team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-team-member {
    background: var(--primary-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.contact-team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.contact-team-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 4px solid var(--accent-color);
}

.contact-team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-team-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.contact-team-position {
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.contact-team-phone {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-team-phone ion-icon {
    color: var(--accent-color);
    font-size: 18px;
}

.contact-team-phone a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

@media (max-width: 1024px) {
    .contact-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contact-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-hero {
        height: 250px;
        border-radius: 15px;
    }

    .contact-hero h1 {
        font-size: 36px;
    }
    
    .contact-hero p {
        font-size: 16px;
        padding: 0 20px;
    }

    .contact-form,
    .contact-info-section {
        padding: 30px 25px;
    }
    
    .contact-form h2,
    .contact-info-section h2 {
        font-size: 26px;
    }

    .contact-map {
        height: 300px;
        border-radius: 15px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-team {
        padding: 40px 20px;
    }

    .contact-team-member {
        padding: 25px;
    }
    
    .contact-info-item {
        padding: 16px;
    }
    
    .contact-input,
    .contact-textarea {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 30px 15px;
    }
    
    .contact-hero {
        height: 220px;
        margin-bottom: 40px;
    }
    
    .contact-hero h1 {
        font-size: 28px;
    }
    
    .contact-hero p {
        font-size: 14px;
    }
    
    .contact-form,
    .contact-info-section {
        padding: 25px 20px;
    }
    
    .contact-form h2,
    .contact-info-section h2 {
        font-size: 24px;
    }
    
    .contact-submit {
        padding: 14px;
        font-size: 15px;
    }
}