/* Contact Page Styles */

/* Hero Section */
.contact-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before,
.contact-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.contact-hero::before {
    background-image: url('../images/slider1.png');
    animation: contactSlideshow1 15s infinite;
}

.contact-hero::after {
    background-image: url('../images/slider2.png');
    animation: contactSlideshow2 15s infinite;
    opacity: 0;
}

@keyframes contactSlideshow1 {
    0%, 30% { opacity: 1; }
    33%, 36% { opacity: 0; }
    64%, 67% { opacity: 0; }
    70%, 100% { opacity: 1; }
}

@keyframes contactSlideshow2 {
    0%, 30% { opacity: 0; }
    33%, 36% { opacity: 1; }
    64%, 67% { opacity: 1; }
    70%, 100% { opacity: 0; }
}

.contact-hero .slider3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/slider3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: contactSlideshow3 15s infinite;
    z-index: 0;
}

@keyframes contactSlideshow3 {
    0%, 64% { opacity: 0; }
    67%, 70% { opacity: 1; }
    97%, 100% { opacity: 0; }
}

.contact-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.7) 0%, rgba(217, 119, 6, 0.6) 100%);
    z-index: 1;
}

.contact-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
}

.contact-hero .hero-content.hero-centered {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.contact-hero .hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-hero .hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 50px;
    color: #ffffff;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.contact-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.contact-hero .stat-item {
    text-align: center;
    min-width: 120px;
}

.contact-hero .stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    margin-bottom: 8px;
}

.contact-hero .stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.2;
}

/* Contact Form Section */
.contact-form-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.form-content {
    padding-right: 2rem;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #ff6b35;
}

.form-checkbox label {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
    cursor: pointer;
}

.btn-submit {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

/* Contact Benefits */
.contact-benefits {
    padding-left: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}



/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        min-height: 60vh;
        padding: 2rem 0;
    }
    
    .contact-hero .hero-title {
        font-size: 2.8rem;
    }
    
    .contact-hero .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .contact-hero .hero-stats {
        gap: 40px;
    }
    
    .contact-hero .stat-number {
        font-size: 2.2rem;
    }
    
    .contact-form-section {
        padding: 60px 0;
    }
    
    .form-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .contact-benefits {
        padding-left: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    

}

@media (max-width: 576px) {
    .contact-hero {
        min-height: 50vh;
    }
    
    .contact-hero .hero-title {
        font-size: 2.2rem;
    }
    
    .contact-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-hero .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-hero .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .benefit-item {
        padding: 1rem;
    }
    

}

/* Animation Classes */
.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Validation */
.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
    border-color: #dc3545;
}

.form-group input.is-valid,
.form-group select.is-valid,
.form-group textarea.is-valid {
    border-color: #28a745;
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 14px;
    margin-top: 0.5rem;
}

.valid-feedback {
    display: block;
    color: #28a745;
    font-size: 14px;
    margin-top: 0.5rem;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    margin-bottom: 25px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    animation: slideDown 0.3s ease-out;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Captcha Styles */
.captcha-group {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.captcha-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.captcha-question {
    font-size: 18px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.captcha-question i {
    color: var(--primary-color);
    font-size: 20px;
}

.captcha-input {
    width: 80px;
    padding: 12px;
    border: 2px solid #ced4da;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    background: white;
    transition: all 0.3s ease;
    margin: 0 auto;
    display: block;
}

.captcha-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    transform: scale(1.05);
}

.captcha-input.error {
    border-color: #dc3545;
    background-color: #fff5f5;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.captcha-refresh {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.captcha-refresh:hover {
    background-color: rgba(245, 158, 11, 0.1);
    transform: translateY(-1px);
}

.captcha-refresh i {
    transition: transform 0.3s ease;
}

.captcha-refresh:hover i {
    transform: rotate(180deg);
}