.contact-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--orange), var(--terracotta), var(--saffron));
}

.contact-form-wrapper {
    padding: 1rem;
}

.contact-section h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--terracotta);
    font-size: 2.5rem;
    font-weight: 700;
}

.contact-form {
    display: grid;
    gap: 2rem;
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    transform: translateY(-5px);
    transition: all 0.3s;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--orange);
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 99, 71, 0.1);
    background: white;
}

.form-group input:focus + label,
.form-group textarea:focus + label {
    color: var(--orange);
}

.submit-btn {
    background: linear-gradient(135deg, var(--orange), var(--terracotta));
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 99, 71, 0.4);
}

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

.submit-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.submit-btn:hover i {
    transform: translateX(5px) rotate(-10deg);
}

/* Error Styles */
.form-group input.error,
.form-group textarea.error {
    border-color: #ff4444;
    background: rgba(255, 68, 68, 0.05);
}

.error-message {
    color: #ff4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.3s ease-out;
}

.error-message::before {
    content: '⚠';
    font-size: 1rem;
}

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease-out;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.success-icon {
    font-size: 5rem;
    color: #4CAF50;
    margin-bottom: 1.5rem;
    animation: successPop 0.5s ease-out;
}

.modal-content h2 {
    color: #333;
    margin-bottom: 1rem;
}

.close-modal {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--orange), var(--terracotta));
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.close-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 99, 71, 0.4);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .contact-container {
        padding: 2rem;
        margin: 1rem;
    }

    .contact-section h1 {
        font-size: 2rem;
    }

    .submit-btn {
        width: 100%;
        padding: 1rem;
    }
}

/* Add these new styles for abstract submission */
.guidelines-card {
    background: #fff5f0;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid var(--orange);
}

.guidelines-card h2 {
    color: var(--terracotta);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guidelines-list {
    list-style: none;
    padding-left: 1rem;
}

.guidelines-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.guidelines-list li:before {
    content: "•";
    color: var(--orange);
    position: absolute;
    left: 0;
}

.guidelines-list ul {
    list-style: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

#wordCount {
    color: #666;
    font-size: 0.9rem;
    font-weight: normal;
}

#abstract {
    font-family: inherit;
    line-height: 1.5;
    resize: vertical;
}

.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
}

.form-group select:focus {
    border-color: var(--orange);
    outline: none;
}

/* Add styles for deadline passed message */
.deadline-passed-message {
    text-align: center;
    padding: 3rem;
    background: #fff5f0;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    max-width: 600px;
}

.deadline-passed-message i {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.deadline-passed-message h2 {
    color: var(--terracotta);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.deadline-passed-message p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 0.8rem 1.5rem;
    background: var(--orange);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: var(--terracotta);
    transform: translateY(-2px);
}

.back-btn i {
    font-size: 1rem;
    color: white;
    margin: 0;
} 