/* Contact Us Page Styles */

.contact-us-page {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 70vh;
}

/* Header */
.contact-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.6s ease;
}

.contact-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ed174f, #ff4d7d);
    border-radius: 2px;
}

.contact-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 25px auto 0;
    line-height: 1.6;
}

/* Form Wrapper */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    animation: fadeInLeft 0.6s ease;
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ed174f, #ff4d7d);
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }

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

.form-label i {
    color: #ed174f;
    margin-right: 5px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #ed174f;
    box-shadow: 0 0 0 4px rgba(237, 23, 79, 0.1);
    transform: translateY(-2px);
}

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

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ed174f 0%, #d01545 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(237, 23, 79, 0.3);
}

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

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 16px;
}

.success-message.animate-in {
    animation: successPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #4caf50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successIconPulse 1s ease infinite;
}

.success-icon i {
    font-size: 40px;
    color: white;
}

.success-message h3 {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.success-message p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

.btn-new-message {
    padding: 12px 30px;
    background: #ed174f;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-new-message:hover {
    background: #d01545;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(237, 23, 79, 0.3);
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 16px;
}

.error-message.animate-in {
    animation: errorShake 0.6s ease;
}

.error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #f44336, #e53935);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-icon i {
    font-size: 40px;
    color: white;
}

.error-message h3 {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.error-message p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

.btn-try-again {
    padding: 12px 30px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-try-again:hover {
    background: #e53935;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.3);
}

/* Contact Info Sidebar */
.contact-info-sidebar {
    animation: fadeInRight 0.6s ease;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border-left: 4px solid #ed174f;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ed174f, #ff4d7d);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.info-icon i {
    font-size: 22px;
    color: white;
}

.info-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 15px;
    color: #666;
    margin: 0;
    word-break: break-word;
}

/* Social Links */
.social-card {
    border-left-color: #4267B2;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #ed174f;
    color: white;
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 5px 15px rgba(237, 23, 79, 0.3);
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes successIconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes errorShake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(10px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .contact-us-page {
        padding: 40px 0;
    }
    
    .contact-title {
        font-size: 32px;
    }
    
    .contact-subtitle {
        font-size: 16px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .info-card {
        padding: 25px 20px;
    }
    
    .success-message,
    .error-message {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 28px;
    }
    
    .form-input,
    .form-textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .btn-submit {
        padding: 14px;
        font-size: 15px;
    }
}
