/* Contact Page Specific Styles */
.contact-hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #4361ee 0%, #3a56d4 100%);
    color: white;
}

.contact-hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.contact-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: white;
    line-height: 1.3;
}

.contact-hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-item i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Contact Options */
.contact-options {
    padding: 80px 0;
    background-color: white;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.option-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.option-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.option-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.option-card h3 {
    margin-bottom: 10px;
}

.option-card p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

.option-link {
    display: block;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 20px;
    transition: var(--transition);
}

.option-link:hover {
    color: var(--primary-dark);
}

.option-footer {
    font-size: 0.8rem;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

.option-footer i {
    color: var(--primary-color);
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background-color: #f9fafc;
}

.form-container {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.form-header {
    padding: 30px;
    background-color: var(--primary-color);
    color: white;
}

.form-header h2 {
    margin-bottom: 10px;
    color: white;
}

.contact-form {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
    outline: none;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
    padding: 15px 15px 15px 45px;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 40px;
    color: var(--gray-color);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    padding: 0;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.btn-primary .loading-icon {
    display: none;
}

.btn-primary.loading .submit-text {
    display: none;
}

.btn-primary.loading .loading-icon {
    display: inline-block;
}

/* Form Sidebar */
.form-sidebar {
    margin-top: 40px;
}

.sidebar-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.sidebar-card h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 3px;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.info-item p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.socialMediaLinks {
    display: flex;
    gap: 15px;
}

.socialMediaLinks a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f7fa;
    border-radius: 50%;
    color: var(--dark-color);
    transition: var(--transition);
}

.socialMediaLinks a:hover {
    background-color: var(--primary-color);
    color: white;
}

.hours-info p {
    margin-bottom: 15px;
    color: var(--gray-color);
}

.hours-info ul {
    margin-bottom: 15px;
    padding-left: 20px;
    color: var(--gray-color);
}

.hours-info li {
    margin-bottom: 8px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: white;
}

.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background-color: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: #f5f7fa;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f5f7fa;
}

.faq-answer p {
    padding: 20px 0;
    color: var(--gray-color);
}

.faq-answer a {
    color: var(--primary-color);
}

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

.map-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow-hover);
}

.map-container iframe {
    width: 100%;
    display: block;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 400px;
}

.map-overlay h3 {
    margin-bottom: 10px;
}

.map-overlay p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(67, 97, 238, 0.3);
    transition: var(--transition);
    position: relative;
}

.chat-toggle:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--danger-color);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

.chat-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--box-shadow-hover);
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.chat-widget.active .chat-container {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    padding: 15px 20px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    color: white;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.chat-messages {
    padding: 20px;
    height: 300px;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
    display: flex;
}

.message.bot {
    justify-content: flex-start;
}

.message.user {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    position: relative;
}

.message.bot .message-content {
    background-color: #f5f7fa;
    border-bottom-left-radius: 5px;
}

.message.user .message-content {
    background-color: var(--primary-color);
    color: white;
    border-bottom-right-radius: 5px;
}

.message-time {
    display: block;
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 5px;
    text-align: right;
}

.message-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.option-btn {
    padding: 8px 12px;
    background-color: rgba(67, 97, 238, 0.1);
    border: none;
    border-radius: 50px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.option-btn:hover {
    background-color: rgba(67, 97, 238, 0.2);
}

.chat-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid var(--light-gray);
}

.chat-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 50px;
    font-size: 0.9rem;
}

.send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    margin-left: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.send-btn:hover {
    background-color: var(--primary-dark);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
}

.modal-icon.success {
    background-color: rgba(76, 201, 240, 0.1);
    color: var(--success-color);
}

.modal-content h3 {
    margin-bottom: 15px;
}

.modal-content p {
    color: var(--gray-color);
    margin-bottom: 25px;
}

.modal-close {
    margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .contact-form-section .container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        margin-top: 0;
    }
    
    .sidebar-card {
        margin-bottom: 0;
    }
}

@media (max-width: 992px) {
    .contact-hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-hero p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .map-overlay {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        max-width: 100%;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.2rem;
    }
    
    .form-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .chat-container {
        width: 300px;
    }
}

@media (max-width: 576px) {
    .contact-hero h1 {
        font-size: 1.8rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .chat-container {
        width: calc(100vw - 40px);
        right: 20px;
    }
}