/* ========== CONTACT PAGE STYLES ========== */

/* ========== HERO SECTION ========== */
.contact-hero-section {
    background: #ffffff;
    padding: 6rem 0 4rem 0;
    margin-top: 5rem;
    text-align: center;
}

.contact-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
}

.contact-hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 0;
}

/* ========== CONTACT FORM SECTION ========== */
.contact-form-section {
    padding: 6rem 0;
}

.contact-form-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 188, 212, 0.1);
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #00bcd4 0%, #26c6da 50%, #4dd0e1 100%);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

/* ========== FORM GROUPS ========== */
.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.required {
    color: #e74c3c;
    font-weight: 700;
}

/* ========== FORM INPUTS ========== */
.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-dark);
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #bdbdbd;
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

/* ========== FORM SUBMIT ========== */
.form-submit {
    text-align: center;
    margin-top: 2.5rem;
}

.form-submit-btn {
    font-size: 1.2rem;
    padding: 1.2rem 4rem;
    min-width: 250px;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 188, 212, 0.3);
}

/* ========== SUCCESS MESSAGE ========== */
.form-success-message {
    display: none;
    text-align: center;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    margin-top: 2rem;
}

.form-success-message.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.form-success-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .contact-hero-section {
        padding: 5rem 0 3rem 0;
        margin-top: 4rem;
    }

    .contact-hero-title {
        font-size: 2rem;
    }

    .contact-hero-description {
        font-size: 1rem;
    }

    .form-label {
        font-size: 1rem;
    }

    .form-input,
    .form-textarea {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }

    .form-submit-btn {
        font-size: 1.1rem;
        padding: 1.1rem 3rem;
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .contact-hero-section {
        padding: 4rem 0 2.5rem 0;
    }

    .contact-hero-title {
        font-size: 1.6rem;
    }

    .contact-hero-description {
        font-size: 0.95rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-label {
        font-size: 0.95rem;
    }

    .form-input,
    .form-textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .form-textarea {
        min-height: 120px;
    }

    .form-submit {
        margin-top: 2rem;
    }

    .form-submit-btn {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
}

/* ========== FORM MESSAGE STYLES ========== */
.form-message {
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.6;
    transition: opacity 0.3s ease;
}

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

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