/* Contact Page Styles */

body {
    background-color: var(--background-color);
    min-height: 100vh;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: calc(100vh - 200px);
}

/* Header Section */
.contact-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 0;
    background: var(--navbar-gradient);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(var(--primary-color-rgb), 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease forwards;
}

.header-content h1 i {
    margin-right: 15px;
    color: var(--accent-color);
    animation: bounce 2s infinite;
}

.header-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 300;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

/* Contact Content */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

/* Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--surface-color);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--navbar-gradient);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--navbar-gradient);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    transform: scale(1.1);
}

.info-icon i {
    font-size: 1.5rem;
    color: white;
    margin-top: 2px;
}

.info-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.info-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Form Container */
.contact-form-container {
    display: flex;
    justify-content: center;
}

.form-card {
    background: var(--surface-color);
    border-radius: 20px;
    padding: 20px 60px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 600px;
}

.form-card h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-align: center;
}

.form-card h2 i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* Alert Styles */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    background-color: var(--alert-primary-bg);
    color: var(--alert-primary-color);
    border: 1px solid var(--alert-primary-border);
}

.alert-success {
    background-color: var(--alert-success-bg);
    color: var(--alert-success-color);
    border: 1px solid var(--alert-success-border);
}

.alert-success i {
    font-size: 1.2rem;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 480px;
    margin: 0;
    padding-left: 0;
}

.form-group {
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-label i {
    color: var(--primary-color);
    width: 16px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--input-bg);
    color: var(--text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
    transform: translateY(-2px);
    background: var(--surface-color);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}

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

.validation-error {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
    font-weight: 500;
}

/* Button Styles */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.btn-submit {
    background: var(--navbar-gradient);
    color: white;
}

.btn-submit:hover {
    background: var(--primary-color);
    color: white;
}

.btn-reset {
    background: var(--secondary-color);
    color: white;
}

.btn-reset:hover {
    background: var(--secondary-hover);
    color: white;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        padding: 15px;
        overflow-x: hidden;
    }
    
    .contact-header {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .header-content h1 {
        font-size: 2.2rem;
    }
    
    .header-subtitle {
        font-size: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-container {
        order: 1;
    }
    
    .form-card {
        padding: 25px 20px;
        width: 95%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .form-card h2 {
        font-size: 1.6rem;
    }
    
    .contact-form {
        max-width: 100%;
        padding-left: 0;
        box-sizing: border-box;
    }
    
    .form-control {
        padding: 12px 15px;
        font-size: 0.95rem;
        width: 90%;
        max-width: 300px;
        box-sizing: border-box;
    }
    
    textarea.form-control {
        min-height: 100px;
        width: 90%;
        max-width: 300px;
        box-sizing: border-box;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 15px;
        overflow-x: hidden;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-header {
        padding: 20px 15px;
    }
    
    .header-content h1 {
        font-size: 1.8rem;
    }
    
    .header-content h1 i {
        margin-right: 10px;
    }
    
    .form-card {
        padding: 20px 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-form {
        max-width: 100%;
        gap: 20px;
        box-sizing: border-box;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 0.9rem;
        width: 85%;
        max-width: 250px;
        box-sizing: border-box;
    }
    
    textarea.form-control {
        min-height: 80px;
        width: 85%;
        max-width: 250px;
        box-sizing: border-box;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .info-card {
        padding: 20px;
        box-sizing: border-box;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
    }
    
    .info-icon i {
        font-size: 1.2rem;
        margin-top: 1px;
    }
} 