/* Contact Page Custom Styles */

/* Page Title Enhancements */
.page-title {
    position: relative;
    padding: 120px 0 80px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(90, 5, 57, 0.6);
    z-index: 1;
}

.page-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.page-title .auto-container {
    position: relative;
    z-index: 5;
}

.page-title h2 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 15px;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.9), 0 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 1;
}

.page-title_text {
    font-size: 18px;
    color: #ffffff !important;
    margin-bottom: 20px;
    font-weight: 500;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.6);
    opacity: 1;
}

/* Breadcrumb Styling */
.page-title .breadcrumb,
.page-title .breadcrumb-item,
.page-title .breadcrumb-item a {
    color: rgb(90, 5, 57) !important;
    text-shadow: 0 4px 12px rgba(255, 255, 255, 0.9), 0 2px 4px rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 16px;
    opacity: 1;
}

.page-title .breadcrumb-item a:hover {
    color: rgb(255, 228, 0) !important;
    text-decoration: none;
}

.page-title .breadcrumb-item.active {
    color: rgb(255, 228, 0) !important;
    font-weight: 600;
}

.page-title .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgb(90, 5, 57) !important;
    font-weight: bold;
    margin: 0 10px;
    text-shadow: 0 4px 12px rgba(255, 255, 255, 0.9);
    opacity: 1;
}

/* Contact Info Section */
.contact-info_section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.contact-info_block-two {
    margin-bottom: 30px;
}

.contact-info_block-two_inner {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(90, 5, 57, 0.1);
    height: 100%;
}

.contact-info_block-two_inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgb(90, 5, 57);
}

.contact-info_block-two_icon {
    width: 80px;
    height: 80px;
    background: rgb(90, 5, 57);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.contact-info_block-two_icon i {
    font-size: 32px;
    color: #fff;
}

.contact-info_block-two_inner:hover .contact-info_block-two_icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(90, 5, 57, 0.4);
}

.contact-info_block-two_heading {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.contact-info_block-two_text {
    color: #7f8c8d;
    font-size: 16px;
    line-height: 1.6;
}

.contact-info_block-two_text a {
    color: rgb(90, 5, 57);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info_block-two_text a:hover {
    color: rgb(138, 28, 100);
}

/* Contact Form Section */
.contact-form_section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.contact-form_background-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-shapes .shape {
    position: absolute;
    background: rgba(90, 5, 57, 0.05);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

.floating-shapes .shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-shapes .shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.floating-shapes .shape-3 {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 30%;
    animation-delay: 10s;
}

.floating-shapes .shape-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
    75% { transform: translateY(-30px) rotate(270deg); }
}

.contact-form_section .auto-container {
    position: relative;
    z-index: 2;
}

/* Modern Alert Styling */
.modern-alert {
    border: none;
    border-radius: 15px;
    padding: 0;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    overflow: hidden;
}

.alert-content {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    position: relative;
}

.alert-icon {
    width: 50px;
    height: 50px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.alert-icon i {
    color: white;
    font-size: 20px;
}

.alert-text {
    flex: 1;
    color: #155724;
    font-size: 16px;
    font-weight: 500;
}

.alert-close {
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(21, 87, 36, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.alert-close:hover {
    background: rgba(21, 87, 36, 0.2);
    transform: scale(1.1);
}

.alert-close i {
    color: #155724;
    font-size: 12px;
}

/* Content Column Styling */
.contact-form_content-inner {
    padding-right: 40px;
}

.section-header {
    margin-bottom: 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(90, 5, 57, 0.1);
    color: rgb(90, 5, 57);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-badge i {
    font-size: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title .highlight {
    color: rgb(90, 5, 57);
    position: relative;
}

.section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgb(255, 228, 0);
    border-radius: 2px;
}

.section-description {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgb(90, 5, 57), rgb(138, 28, 100));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: white;
    font-size: 20px;
}

.feature-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
    line-height: 1.5;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, rgb(90, 5, 57), rgb(138, 28, 100));
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.cta-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-icon i {
    color: white;
    font-size: 24px;
}

.cta-text h4 {
    color: white !important;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
}

.cta-button {
    background: rgb(255, 228, 0);
    color: rgb(90, 5, 57);
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button:hover {
    background: white;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Modern Contact Form */
.contact-form_form-inner {
    background: white;
    border-radius: 25px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(90, 5, 57, 0.1);
    overflow: hidden;
}

.modern-contact-form {
    height: 100%;
}

.form-header {
    background: linear-gradient(135deg, rgb(90, 5, 57), rgb(138, 28, 100));
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.form-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-header-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-header-icon i {
    color: white;
    font-size: 32px;
}

.form-header h3 {
    color: white !important;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
}

.modern-form {
    padding: 40px;
}

.form-section {
    margin-bottom: 30px;
}

.form-section:last-child {
    margin-bottom: 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(90, 5, 57, 0.1);
}

.section-title i {
    color: rgb(90, 5, 57);
    font-size: 18px;
}

.section-title span {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

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

.input-wrapper,
.select-wrapper,
.textarea-wrapper {
    position: relative;
}

.input-wrapper input,
.select-wrapper select,
.textarea-wrapper textarea {
    width: 100%;
    padding: 18px 50px 18px 20px;
    border: 2px solid #e8ecef;
    border-radius: 12px;
    font-size: 16px;
    color: #2c3e50;
    background: white;
    transition: all 0.3s ease;
    outline: none;
}

.input-wrapper input:focus,
.select-wrapper select:focus,
.textarea-wrapper textarea:focus {
    border-color: rgb(90, 5, 57);
    box-shadow: 0 0 0 3px rgba(90, 5, 57, 0.1);
    transform: translateY(-2px);
}

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

.input-icon,
.select-icon,
.textarea-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #bdc3c7;
    font-size: 16px;
    transition: color 0.3s ease;
    pointer-events: none;
}

.textarea-icon {
    top: 25px;
    transform: none;
}

.input-wrapper input:focus + .input-icon,
.select-wrapper select:focus + .select-icon,
.textarea-wrapper textarea:focus + .textarea-icon {
    color: rgb(90, 5, 57);
}

/* Checkbox Styling */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.custom-checkbox {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e8ecef;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.custom-checkbox:checked + label .checkbox-custom {
    background: rgb(90, 5, 57);
    border-color: rgb(90, 5, 57);
}

.custom-checkbox:checked + label .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

/* Submit Button */
.form-submit {
    text-align: center;
    margin-top: 30px;
}

.submit-button {
    position: relative;
    background: linear-gradient(135deg, rgb(90, 5, 57), rgb(138, 28, 100));
    border: none;
    border-radius: 50px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(90, 5, 57, 0.4);
}

.button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 35px;
    position: relative;
    z-index: 2;
}

.button-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-icon i {
    color: white;
    font-size: 16px;
}

.button-text {
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.button-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-button:hover .button-effect {
    left: 100%;
}

.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.note-icon i {
    color: rgb(255, 228, 0);
    font-size: 16px;
}

.note-text small {
    color: #95a5a6;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-form_content-inner {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        flex-direction: column;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .contact-form_section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .modern-form {
        padding: 30px 20px;
    }
    
    .form-header {
        padding: 30px 20px;
    }
    
    .form-header h3 {
        font-size: 24px;
    }
    
    .cta-box {
        padding: 25px 20px;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .checkbox-item {
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .features-grid {
        gap: 15px;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .submit-button {
        min-width: 100%;
    }
}



/* Enhanced Form Styling - Updated for Modern Form */
.form-subtitle {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 30px;
    text-align: center;
}

/* Select dropdown styling for modern form */
.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    cursor: pointer;
}

.select-wrapper select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%235a0539' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

/* Ensure proper checkbox label styling */
.checkbox-item label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 0;
}

/* Loading state for submit button */
.submit-button.loading {
    pointer-events: none;
}

.submit-button.loading .button-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Focus styles for accessibility */
.submit-button:focus,
.cta-button:focus {
    outline: 2px solid rgb(90, 5, 57);
    outline-offset: 2px;
}

.custom-checkbox:focus + label .checkbox-custom {
    box-shadow: 0 0 0 2px rgba(90, 5, 57, 0.2);
}

/* Form validation styles */
.input-wrapper input.error,
.select-wrapper select.error,
.textarea-wrapper textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Success state */
.input-wrapper input.success,
.select-wrapper select.success,
.textarea-wrapper textarea.success {
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

/* Placeholder styling */
.input-wrapper input::placeholder,
.select-wrapper select::placeholder,
.textarea-wrapper textarea::placeholder {
    color: #bdc3c7;
    opacity: 1;
}

/* Enhanced hover effects */
.feature-item:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(90, 5, 57, 0.3);
}

.modern-contact-form:hover {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

/* Smooth transitions */
* {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom scrollbar for textarea */
.textarea-wrapper textarea::-webkit-scrollbar {
    width: 6px;
}

.textarea-wrapper textarea::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.textarea-wrapper textarea::-webkit-scrollbar-thumb {
    background: rgb(90, 5, 57);
    border-radius: 3px;
}

.textarea-wrapper textarea::-webkit-scrollbar-thumb:hover {
    background: rgb(138, 28, 100);
}

/* Button Styling - Updated */
.theme-btn {
    display: inline-block;
    position: relative;
    overflow: hidden;
    border-radius: 50px;
    padding: 0;
    border: none;
    background: rgb(90, 5, 57);
    box-shadow: 0 8px 25px rgba(90, 5, 57, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.theme-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(90, 5, 57, 0.4);
}

.btn-wrap {
    display: block;
    padding: 18px 35px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Alert Styling */
.alert {
    border-radius: 10px;
    padding: 20px 25px;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border-left: 4px solid #28a745;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: #f8f9ff;
}

.sec-title.centered {
    text-align: center;
    margin-bottom: 60px;
}

.map-outer {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.map-canvas iframe {
    border-radius: 15px;
}

.map-info_box {
    position: absolute;
    top: 30px;
    left: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 300px;
    z-index: 10;
}

.map-info_icon {
    width: 60px;
    height: 60px;
    background: rgb(90, 5, 57);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.map-info_icon i {
    color: #fff;
    font-size: 24px;
}

.map-info_box h4 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.map-info_text {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* CTA Section */
.cta-section_two {
    padding: 60px 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    position: relative;
    overflow: hidden;
}

.cta-section_two-content_inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-section_two-icon {
    width: 70px;
    height: 70px;
    background: rgb(90, 5, 57);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-section_two-icon i {
    color: #fff;
    font-size: 28px;
}

.cta-section_two-title {
    font-size: 24px;
    font-weight: 600;
    color: #fff !important;
    margin-bottom: 5px;
}

.cta-section_two-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.cta-section_two-button_inner {
    text-align: right;
}

/* Ensure all flaticons display properly */
[class^="flaticon-"]:before, 
[class*=" flaticon-"]:before {
    font-family: 'flaticon_kidscamp-icons' !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
}

/* Contact form specific icon fixes */
.contact-form .flaticon-user:before { content: "\f104"; }
.contact-form .flaticon-envelope:before { content: "\f108"; }
.contact-form .flaticon-call:before { content: "\f109"; }
.contact-form .flaticon-star:before { content: "\f106"; }
.contact-form .flaticon-chat:before { content: "\f118"; }

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

.contact-info_block-two_inner,
.contact-form_form-inner {
    animation: fadeInUp 0.6s ease-out;
}

.contact-info_block-two:nth-child(2) .contact-info_block-two_inner {
    animation-delay: 0.1s;
}

.contact-info_block-two:nth-child(3) .contact-info_block-two_inner {
    animation-delay: 0.2s;
}

.contact-info_block-two:nth-child(4) .contact-info_block-two_inner {
    animation-delay: 0.3s;
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.flaticon-loading {
    animation: spin 1s linear infinite;
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-form_content-inner {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .page-title h2 {
        font-size: 36px;
    }
    
    .sec-title_heading {
        font-size: 32px;
    }
    
    .map-info_box {
        position: relative;
        top: 0;
        left: 0;
        margin-top: 20px;
        max-width: none;
    }
    
    .cta-section_two-content_inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-section_two-button_inner {
        text-align: center;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .contact-form_form-inner {
        padding: 30px 20px;
    }
    
    .contact-info_block-two_inner {
        padding: 30px 20px;
    }
    
    .page-title {
        padding: 80px 0 60px;
    }
    
    .page-title h2 {
        font-size: 28px;
    }
    
    .contact-form_section,
    .contact-info_section,
    .map-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .form-check {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .contact-form_experience {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 15px;
    }
    
    .contact-form_experience-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Contact Form Submit Button Fix - High Priority Overrides */
.contact-form .theme-btn.btn-style-modern,
.modern-form .theme-btn.btn-style-modern,
button.theme-btn.btn-style-modern {
    background: linear-gradient(135deg, rgb(90, 5, 57), rgb(138, 28, 100)) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 0 !important;
    min-width: 200px !important;
    display: inline-block !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    line-height: normal !important;
    position: relative !important;
    overflow: hidden !important;
}

.contact-form .theme-btn.btn-style-modern .btn-wrap,
.modern-form .theme-btn.btn-style-modern .btn-wrap,
button.theme-btn.btn-style-modern .btn-wrap {
    display: block !important;
    padding: 18px 35px !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    position: relative !important;
    z-index: 2 !important;
    background: transparent !important;
    border: none !important;
    width: 100% !important;
    height: 100% !important;
}

.contact-form .theme-btn.btn-style-modern .btn-wrap .text-one,
.contact-form .theme-btn.btn-style-modern .btn-wrap .text-two,
.modern-form .theme-btn.btn-style-modern .btn-wrap .text-one,
.modern-form .theme-btn.btn-style-modern .btn-wrap .text-two,
button.theme-btn.btn-style-modern .btn-wrap .text-one,
button.theme-btn.btn-style-modern .btn-wrap .text-two {
    display: inline-block !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.contact-form .theme-btn.btn-style-modern .btn-wrap .text-two,
.modern-form .theme-btn.btn-style-modern .btn-wrap .text-two,
button.theme-btn.btn-style-modern .btn-wrap .text-two {
    display: none !important;
}

.contact-form .theme-btn.btn-style-modern:hover .btn-wrap .text-one,
.modern-form .theme-btn.btn-style-modern:hover .btn-wrap .text-one,
button.theme-btn.btn-style-modern:hover .btn-wrap .text-one {
    display: none !important;
}

.contact-form .theme-btn.btn-style-modern:hover .btn-wrap .text-two,
.modern-form .theme-btn.btn-style-modern:hover .btn-wrap .text-two,
button.theme-btn.btn-style-modern:hover .btn-wrap .text-two {
    display: inline-block !important;
}

.contact-form .theme-btn.btn-style-modern:hover,
.modern-form .theme-btn.btn-style-modern:hover,
button.theme-btn.btn-style-modern:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(90, 5, 57, 0.4) !important;
}

/* Ensure icons in button are visible */
.contact-form .theme-btn.btn-style-modern i,
.contact-form .theme-btn.btn-style-modern .flaticon-next-1,
.modern-form .theme-btn.btn-style-modern i,
.modern-form .theme-btn.btn-style-modern .flaticon-next-1,
button.theme-btn.btn-style-modern i,
button.theme-btn.btn-style-modern .flaticon-next-1 {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 14px !important;
    margin-left: 8px !important;
    display: inline-block !important;
}

/* Remove any conflicting styles */
.contact-form .theme-btn.btn-style-modern * {
    color: inherit !important;
}

/* Focus state */
.contact-form .theme-btn.btn-style-modern:focus,
.modern-form .theme-btn.btn-style-modern:focus,
button.theme-btn.btn-style-modern:focus {
    outline: 2px solid rgba(90, 5, 57, 0.5) !important;
    outline-offset: 2px !important;
}

/* Active state */
.contact-form .theme-btn.btn-style-modern:active,
.modern-form .theme-btn.btn-style-modern:active,
button.theme-btn.btn-style-modern:active {
    transform: translateY(-1px) scale(0.98) !important;
    box-shadow: 0 8px 25px rgba(90, 5, 57, 0.3) !important;
}

/* Debugging: Add a temporary border to see the clickable area */
/*.about-widget {
    border: 2px solid red !important;
}*/

/* Ensure the sidebar appears on top of everything */
.about-sidebar {
    position: fixed !important;
    z-index: 999999 !important;
    top: 0 !important;
    left: -500px !important;
    width: 450px !important;
    height: 100vh !important;
    transition: left 0.9s ease !important;
}

.about-sidebar.active {
    left: 0 !important;
}

/* Ensure gradient layer works for closing */
.about-sidebar .gradient-layer {
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    width: 0% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.6) !important;
    transition: all 0.5s ease !important;
    cursor: pointer !important;
}

.about-sidebar.active .gradient-layer {
    width: 500% !important;
}

/* Close button fixes */
.about-sidebar .close-button {
    position: absolute !important;
    right: 20px !important;
    top: 10px !important;
    z-index: 10 !important;
    cursor: pointer !important;
}

.about-sidebar .close-button span {
    display: block !important;
    width: 50px !important;
    height: 50px !important;
    line-height: 50px !important;
    text-align: center !important;
    font-size: 22px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

/* Sidebar content styling */
.about-sidebar .sidebar-inner {
    position: relative !important;
    height: 100% !important;
    overflow-y: auto !important;
    padding: 60px 40px 40px !important;
}

.about-sidebar .upper-box {
    margin-bottom: 30px !important;
}

.about-sidebar .image {
    margin-bottom: 30px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

.about-sidebar .image img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Fix any potential z-index conflicts on contact page */
.contact-page .about-widget,
.contact-page .about-sidebar {
    z-index: 999999 !important;
}
