/* Contact Page Specific Styles */

.contact-main {
    margin-top: 80px;
}

.contact-hero {
    background-color: #ffffff;
    padding: 80px 0 60px;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
}

.contact-hero p {
    font-size: 1.2rem;
    color: #969696;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 40px;
    text-align: left;
}

.contact-item {
    margin-bottom: 40px;
}

.contact-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 15px;
}

.contact-item p {
    font-size: 16px;
    color: #969696;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
}

.github-link {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 64px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.github-link:hover {
    background-color: #969696;
    transform: translateY(-2px);
}

.contact-form-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 30px;
    text-align: left;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    color: #000000;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    color: #000000;
    background-color: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

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

.form-group textarea::placeholder {
    color: #969696;
}

.submit-btn {
    background-color: #000000;
    color: #ffffff;
    padding: 16px 40px;
    border: none;
    border-radius: 64px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: #969696;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Form validation styles */
.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #ff4444;
}

.form-group input:valid,
.form-group textarea:valid {
    border-color: #00cc44;
}

/* Success message */
.success-message {
    background-color: #00cc44;
    color: #ffffff;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
    display: none;
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-form-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .contact-form-section {
        padding: 60px 0;
    }
    
    .contact-info h2 {
        font-size: 1.8rem;
    }
    
    .contact-form h2 {
        font-size: 1.6rem;
    }
    
    .contact-form-container {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 60px 0 40px;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-form-section {
        padding: 40px 0;
    }
    
    .contact-form-container {
        padding: 20px;
    }
    
    .submit-btn {
        padding: 14px 30px;
    }
}