/* Enhanced Contact Page - Modern & Beautiful Design */

/* Contact Header Section */
.contact-header-section {
    background: linear-gradient(135deg, #043370 0%, #4385f6 50%, #667eea 100%);
    padding: 100px 0 70px;
    margin-top: 52px;
    position: relative;
    overflow: hidden;
    color: white;
}

.contact-header-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float-bg 20s ease-in-out infinite;
}

@keyframes float-bg {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.contact-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.header-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.2em;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    }
}

.contact-main-title {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.contact-subtitle {
    font-size: 1.3em;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quick Contact Options */
.quick-contact-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.quick-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
}

.quick-contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.quick-contact-item i {
    font-size: 1.5em;
    margin-bottom: 5px;
}

.quick-contact-item span {
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Main Contact Section */
.contact-main-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    color: #043370;
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-title i {
    color: #e41407;
    font-size: 0.9em;
}

.section-description {
    color: #666;
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Enhanced Contact Form */
.contact-form-wrapper {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #043370, #4385f6, #e41407);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.form-title {
    color: #043370;
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-title i {
    color: #e41407;
}

.form-subtitle {
    color: #666;
    font-size: 1.05em;
    margin: 0;
}

/* Enhanced Form Styling */
.enhanced-contact-form {
    position: relative;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #043370;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-label i {
    color: #e41407;
    font-size: 1.1em;
}

.required {
    color: #e41407;
    font-weight: 700;
}

.enhanced-input,
.enhanced-textarea {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1.05em;
    transition: all 0.3s ease;
    background: #f8f9fa;
    width: 100%;
    position: relative;
}

.enhanced-input:focus,
.enhanced-textarea:focus {
    border-color: #4385f6;
    box-shadow: 0 0 0 0.2rem rgba(67, 133, 246, 0.15);
    background: white;
    outline: none;
}

.form-group.focused .input-underline {
    transform: scaleX(1);
    background: linear-gradient(90deg, #4385f6, #667eea);
}

.form-group.has-error .enhanced-input,
.form-group.has-error .enhanced-textarea {
    border-color: #e41407;
    box-shadow: 0 0 0 0.2rem rgba(228, 20, 7, 0.15);
}

.input-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #e41407, #ff6b6b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 0 0 12px 12px;
}

.enhanced-input.error,
.enhanced-textarea.error {
    border-color: #e41407;
    background: #fff5f5;
}

/* Character Counter */
.char-counter {
    text-align: right;
    margin-top: 8px;
    font-size: 0.85em;
    color: #666;
    transition: color 0.3s ease;
}

.char-counter.warning {
    color: #e41407;
    font-weight: 600;
}

/* Submission Area */
.submission-area {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background: linear-gradient(135deg, #e41407, #ff6b6b);
    border: none;
    color: white;
    padding: 18px 40px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(228, 20, 7, 0.3);
    margin-bottom: 25px;
}

.submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff6b6b, #ff8a80);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(228, 20, 7, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn.loading {
    pointer-events: none;
}

.submit-btn.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Form Features */
.form-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.form-features .feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 0.9em;
    font-weight: 500;
}

.form-features .feature-item i {
    color: #4385f6;
    font-size: 1.1em;
}

/* Disclaimer Section */
.disclaimer-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    border-left: 4px solid #4385f6;
}

.disclaimer-item {
    margin-bottom: 20px;
}

.disclaimer-item:last-child {
    margin-bottom: 0;
}

.disclaimer-item h6 {
    color: #043370;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
}

.disclaimer-item h6 i {
    color: #4385f6;
}

.disclaimer-item p {
    color: #555;
    margin: 0;
    font-size: 0.9em;
    line-height: 1.5;
}

/* Contact Info Wrapper */
.contact-info-wrapper {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Contact Info Cards */
.contact-info-cards {
    margin-bottom: 40px;
}

.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    margin-bottom: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4385f6, #667eea);
}

.contact-info-card.sales::before {
    background: linear-gradient(90deg, #e41407, #ff6b6b);
}

.contact-info-card.support::before {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.contact-info-card.hours::before {
    background: linear-gradient(90deg, #6f42c1, #e83e8c);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.card-header {
    text-align: center;
    margin-bottom: 25px;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4385f6, #667eea);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5em;
    color: white;
    box-shadow: 0 8px 25px rgba(67, 133, 246, 0.3);
}

.sales .card-icon {
    background: linear-gradient(135deg, #e41407, #ff6b6b);
    box-shadow: 0 8px 25px rgba(228, 20, 7, 0.3);
}

.support .card-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.hours .card-icon {
    background: linear-gradient(135deg, #6f42c1, #e83e8c);
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.3);
}

.card-title {
    color: #043370;
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 5px;
}

.card-subtitle {
    color: #666;
    font-size: 0.9em;
    margin: 0;
}

.card-content {
    text-align: left;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-detail:last-child {
    border-bottom: none;
}

.contact-detail i {
    width: 20px;
    text-align: center;
    color: #4385f6;
    font-size: 1.1em;
}

.detail-content {
    flex: 1;
}

.detail-label {
    display: block;
    color: #666;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.detail-value {
    color: #043370;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.detail-value:hover {
    color: #e41407;
    text-decoration: none;
}

/* Business Hours */
.hours-list {
    margin-bottom: 15px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item.closed {
    opacity: 0.6;
}

.hours-item .day {
    font-weight: 600;
    color: #043370;
}

.hours-item .time {
    color: #666;
    font-size: 0.9em;
}

.timezone-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.85em;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.timezone-info i {
    color: #4385f6;
}

/* Why Choose Us Section */
.why-choose-us {
    background: linear-gradient(135deg, #043370, #4385f6);
    border-radius: 20px;
    padding: 30px 25px;
    color: white;
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float-bg 15s ease-in-out infinite;
}

.why-title {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
    justify-content: center;
}

.why-title i {
    color: #ff6b6b;
}

.features-list {
    position: relative;
    z-index: 2;
}

.features-list .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: white;
    font-size: 0.95em;
}

.features-list .feature-item i {
    color: #ff6b6b;
    font-size: 1.1em;
    width: 16px;
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    margin: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #28a745, #20c997);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5em;
    color: white;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
}

.modal-content h3 {
    color: #043370;
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 15px;
}

.modal-content p {
    color: #666;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 25px;
}

.modal-close-btn {
    background: linear-gradient(135deg, #043370, #4385f6);
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.modal-close-btn:hover {
    background: linear-gradient(135deg, #4385f6, #667eea);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 133, 246, 0.3);
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 400px;
    animation: toastSlideIn 0.3s ease-out;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast-notification.error {
    border-left: 4px solid #e41407;
}

.toast-notification.success {
    border-left: 4px solid #28a745;
}

.toast-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-content i {
    font-size: 1.2em;
}

.toast-notification.error .toast-content i {
    color: #e41407;
}

.toast-notification.success .toast-content i {
    color: #28a745;
}

.toast-close {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.toast-close:hover {
    background: #f0f0f0;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-header-section {
        padding: 80px 0 50px;
    }
    
    .contact-main-title {
        font-size: 2.5em;
    }
    
    .contact-subtitle {
        font-size: 1.1em;
    }
    
    .quick-contact-options {
        gap: 15px;
        justify-content: center;
    }
    
    .quick-contact-item {
        padding: 15px 20px;
        min-width: 100px;
    }
    
    .contact-main-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2.2em;
        flex-direction: column;
        gap: 10px;
    }
    
    .section-description {
        font-size: 1.1em;
    }
    
    .contact-form-wrapper {
        padding: 30px 25px;
        margin-bottom: 40px;
    }
    
    .form-title {
        font-size: 1.5em;
        flex-direction: column;
        gap: 5px;
    }
    
    .form-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-info-card {
        padding: 25px 20px;
    }
    
    .modal-content {
        margin: 15px;
        padding: 30px 25px;
    }
    
    .toast-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .contact-main-title {
        font-size: 2em;
    }
    
    .quick-contact-options {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .quick-contact-item {
        flex-direction: row;
        padding: 12px 20px;
        width: 200px;
    }
    
    .contact-form-wrapper {
        padding: 25px 20px;
    }
    
    .submit-btn {
        padding: 15px 30px;
        font-size: 1em;
    }
    
    .contact-info-card {
        padding: 20px 15px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3em;
    }
}