/* Contact Page Styles */

/* Contact Hero Section - Use same structure as home page */
.elementor-element-contact-hero {
    min-height: 60vh;
    max-height: none;
    height: auto;
    display: flex;
    align-items: center;
    position: relative;
    background: url('/images/image2.jpg') !important;
    background-size: cover !important;
    background-position: center top !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    image-rendering: auto;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    margin: 0 auto;
    max-width: 95vw;
    backface-visibility: hidden;
}

.contact-hero-section::before {
    display: none;
}

/* Force contact hero background properties */
.contact-hero-section * {
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
}

/* Mobile Contact Hero - Focus on center content */
@media (max-width: 768px) {
    .contact-hero-section {
        background-position: center center !important;
        background-size: 120% !important;
        height: auto !important;
        min-height: 35vh !important;
        padding: 30px 15px !important;
    }
    
    .contact-hero-section * {
        background-position: center center !important;
        background-size: 120% !important;
    }
}

.elementor-element-contact-hero .e-con-inner {
    text-align: center;
    color: white;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.elementor-element-contact-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.6);
    text-align: center;
}

.elementor-element-contact-hero p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.6);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content {
    /* Remove container styling to eliminate box effect */
    max-width: none;
    margin: 0;
    padding: 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.6);
}

/* Contact Information Section */
.contact-info-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
}

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

.section-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.contact-method {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0693e3, #f4d03f);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-method:hover::before {
    transform: scaleX(1);
}

.contact-method:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0693e3, #f4d03f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.contact-method:hover .method-icon {
    transform: scale(1.1) rotate(5deg);
}

.method-icon i {
    font-size: 2rem;
    color: white;
}

.method-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.method-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.method-link {
    display: block;
    color: #0693e3;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.method-link:hover {
    color: #0576b3;
}

.method-address {
    font-style: normal;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.method-hours {
    display: block;
    color: #0693e3;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contact Form Section */
.contact-form-section {
    padding: 100px 0;
    background: white;
}

.form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.form-content {
    background: #f8f9fa;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.form-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #0693e3;
    box-shadow: 0 0 0 3px rgba(6, 147, 227, 0.1);
}

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

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-checkbox {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: #0693e3;
}

.checkbox-text {
    color: #666;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #0693e3, #f4d03f);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    align-self: flex-start;
}

.form-submit::before {
    content: '';
    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 ease;
}

.form-submit:hover::before {
    left: 100%;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 147, 227, 0.3);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Form Info Section */
.form-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #0693e3;
}

.info-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #666;
    font-size: 0.95rem;
}

.info-list li i {
    color: #0693e3;
    font-size: 0.9rem;
}

.info-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.emergency-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #dc3545;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.emergency-link:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.hours-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
    color: #2c3e50;
}

.time {
    color: #666;
}

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

.map-container {
    margin-top: 60px;
}

.map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-height: 400px;
}

.google-map {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 20px;
}

.map-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    z-index: 10;
}

.map-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.map-info p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.4;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #007bff;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.map-link:hover {
    background: #0056b3;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* Responsive map overlay */
@media (max-width: 768px) {
    .map-overlay {
        position: static;
        margin-top: 20px;
        max-width: 100%;
    }
    
    .google-map {
        height: 300px;
    }
}

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

.faq-container {
    max-width: 800px;
    margin: 60px auto 0;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.faq-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
    word-wrap: break-word;
    hyphens: auto;
}

.faq-question i {
    color: #0693e3;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 500px;
    opacity: 1;
    visibility: visible;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    word-wrap: break-word;
    hyphens: auto;
    text-align: justify;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
}

.notification-success .notification-content i {
    color: #28a745;
}

.notification-info .notification-content i {
    color: #0693e3;
}

/* Animation Classes */
.elementor-invisible {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.elementor-animation-fadeInUp {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.elementor-animation-fadeInLeft {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.elementor-animation-fadeInRight {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .form-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .form-content {
        padding: 40px 30px;
    }
    
    .contact-methods {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contact-hero-section {
        height: 100vh;
        padding: 20px 0;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .contact-info-section,
    .contact-form-section,
    .map-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-content {
        padding: 30px 20px;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
    
    .form-description {
        font-size: 1rem;
    }
    
    .google-map {
        height: 300px;
    }
    
    .map-content i {
        font-size: 3rem;
    }
    
    .map-content h3 {
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .contact-hero-section {
        height: 35vh;
        padding: 5px 0;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }
    
    .hero-description {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-info-section,
    .contact-form-section,
    .map-section,
    .faq-section {
        padding: 40px 0;
    }
    
    .contact-method,
    .info-card {
        padding: 20px;
    }
    
    .form-content {
        padding: 20px 15px;
    }
    
    .form-title {
        font-size: 1.6rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 12px 15px;
    }
    
    .form-submit {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .google-map {
        height: 250px;
    }
    
    .map-content i {
        font-size: 2.5rem;
    }
    
    .map-content h3 {
        font-size: 1.3rem;
    }
    
    .map-content p {
        font-size: 1rem;
    }
}

/* Loading Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.form-submit.loading {
    animation: pulse 2s infinite;
}

/* Focus States for Accessibility */
.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.form-checkbox:focus {
    outline: 3px solid rgba(6, 147, 227, 0.3);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .contact-hero-section,
    .google-map {
        background: #f0f0f0 !important;
    }
    
    .contact-method,
    .info-card,
    .faq-item {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .faq-answer {
        padding: 0 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 15px;
        max-height: 300px;
    }
}

