/* Contact Page Styles */

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

/* Hero Section */
.contact-hero {
    position: relative;
    height: 200px;
    background: url('/images/about/volunteer-helping-elderly.webp') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 40, 58, 0.85), rgba(89, 169, 234, 0.7));
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.contact-hero-content h1 {
    font-family: 'Yeseva One', serif;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.contact-hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Main Section */
.contact-section {
    padding: 80px 0;
    background: rgb(237, 241, 245);
    position: relative;
    overflow: hidden;
}

.contact-section .arc {
    position: absolute;
    top: -450px;
    left: -350px;
    width: 750px;
    height: 750px;
    border: 80px solid rgba(200, 215, 230, 0.4);
    border-radius: 50%;
    pointer-events: none;
}

.contact-section .circle-1 {
    position: absolute;
    top: -100px;
    right: -150px;
    width: 500px;
    height: 500px;
    border: 80px solid rgba(200, 215, 230, 0.4);
    border-radius: 50%;
    pointer-events: none;
}

.contact-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
}

/* Contact Form */
.contact-form-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid #eee;
}

.contact-form-wrapper h2 {
    font-family: 'Yeseva One', serif;
    font-size: 1.8rem;
    color: #25283a;
    margin-bottom: 10px;
}

.contact-form-wrapper > p {
    color: #666;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #25283a;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #59A9EA;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #ccc;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-contact-submit {
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, #59A9EA, #4a94d1);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(89, 169, 234, 0.4);
}

/* Alert Messages */
.alert {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.alert i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #1e7e34;
}

.alert-success i {
    color: #28a745;
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #c82333;
}

.alert-error i {
    color: #dc3545;
}

/* Form Validation Errors */
.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
    border-color: #dc3545;
}

.form-group input.input-error:focus,
.form-group select.input-error:focus,
.form-group textarea.input-error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.field-error {
    display: block;
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 6px;
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #eee;
}

.contact-card h3 {
    font-family: 'Yeseva One', serif;
    font-size: 1.3rem;
    color: #25283a;
    margin-bottom: 20px;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #555;
}

.contact-info-list li:last-child {
    margin-bottom: 0;
}

.contact-info-list i {
    width: 40px;
    height: 40px;
    background: rgba(89, 169, 234, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #59A9EA;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-list a {
    color: #59A9EA;
    text-decoration: none;
}

.contact-info-list a:hover {
    text-decoration: underline;
}

.contact-info-list .info-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-info-list .info-label {
    font-size: 0.85rem;
    color: #888;
}

/* Social Links */
.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.contact-social a {
    width: 40px;
    height: 40px;
    background: #59A9EA;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.contact-social a:hover {
    transform: translateY(-3px);
    background: #4a94d1;
}

/* Company Info */
.company-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        flex-direction: row;
    }

    .contact-card {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .contact-hero-content h1 {
        font-size: 2rem;
    }

    .contact-section {
        padding: 50px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        height: 150px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }
}
