/* contact.css - Dedicated styles for Contact page */

/* Contact Hero Section */
.contact-hero {
    text-align: center;
    padding: 80px 40px;
    margin-bottom: 60px;
}

.contact-hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
     background: linear-gradient(135deg, #ffffff 0%, #f0f3f4 50%, #f7f7f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.contact-hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Contact Stats */
.contact-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0 60px;
    flex-wrap: wrap;
}

.contact-stat {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    min-width: 150px;
}

.contact-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #00bcd4;
    display: block;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 188, 212, 0.3);
}

.contact-stat .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Contact Methods Section */
.contact-methods {
    margin: 80px 0;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.method-card {
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.method-card:hover::before {
    left: 100%;
}

.method-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 188, 212, 0.3);
}

.method-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
    transition: all 0.3s ease;
}

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

.method-card h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.method-card > p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.method-details {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.method-details strong {
    color: #00bcd4;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.method-details p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* Contact Main Section */
.contact-main {
    margin: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Contact Form Styles */
.contact-form {
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
}

.contact-form h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-form > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

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

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

.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(0, 188, 212, 0.6);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.checkbox-label {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #00bcd4;
    border-color: #00bcd4;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cta-button.full-width {
    width: 100%;
    justify-content: center;
}

/* Contact Info Styles */
.contact-info {
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
}

.contact-info h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-size: 1rem;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

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

.contact-item-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.contact-item-text h4 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item-text p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.social-links {
    margin: 30px 0;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links h4 {
    color: white;
    margin-bottom: 15px;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: rgba(0, 188, 212, 0.3);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
}

.emergency-support {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 87, 87, 0.2), rgba(255, 87, 87, 0.1));
    border-radius: 15px;
    border: 1px solid rgba(255, 87, 87, 0.3);
    margin-top: 25px;
}

.emergency-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.emergency-content h4 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.emergency-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.9rem;
}

/* Map Section */
.map-section {
    margin: 80px 0;
}

.contact-map {
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
}

.contact-map h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-placeholder {
    padding: 50px 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.map-placeholder-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.address {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.map-features {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.map-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.feature-icon {
    font-size: 1.2rem;
}

/* FAQ Section */
.faq-section {
    margin: 80px 0;
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.faq-item {
    padding: 30px 25px;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 188, 212, 0.3);
}

.faq-item h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.faq-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Contact CTA Section */
.contact-cta {
    margin: 100px 0;
}

.contact-cta .cta-content {
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.2), rgba(102, 126, 234, 0.2));
    border: 1px solid rgba(0, 188, 212, 0.3);
}

.contact-cta .cta-content h2 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-cta .cta-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Animation for contact items */
@keyframes contactFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.method-card,
.contact-form,
.contact-info,
.faq-item {
    animation: contactFadeInUp 0.6s ease-out;
}

/* Stagger animation for contact items */
.method-card:nth-child(1) { animation-delay: 0.1s; }
.method-card:nth-child(2) { animation-delay: 0.2s; }
.method-card:nth-child(3) { animation-delay: 0.3s; }
.method-card:nth-child(4) { animation-delay: 0.4s; }

.faq-item:nth-child(1) { animation-delay: 0.2s; }
.faq-item:nth-child(2) { animation-delay: 0.3s; }
.faq-item:nth-child(3) { animation-delay: 0.4s; }
.faq-item:nth-child(4) { animation-delay: 0.5s; }
.faq-item:nth-child(5) { animation-delay: 0.6s; }
.faq-item:nth-child(6) { animation-delay: 0.7s; }

/* Responsive Design for Contact */
@media (max-width: 1200px) {
    .methods-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .methods-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .contact-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .methods-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-hero {
        padding: 60px 20px;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
    
    .contact-form {
        padding: 30px 25px;
    }
    
    .contact-info {
        padding: 30px 25px;
    }
    
    .contact-stats {
        gap: 20px;
    }
    
    .contact-stat {
        min-width: 120px;
        padding: 20px;
    }
    
    .contact-stat .stat-number {
        font-size: 2rem;
    }
    
    .contact-cta .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .contact-cta .cta-content p {
        font-size: 1.1rem;
    }
    
    .map-features {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .method-card {
        padding: 25px 20px;
    }
    
    .method-icon {
        font-size: 3rem;
    }
    
    .method-card h3 {
        font-size: 1.3rem;
    }
    
    .contact-form {
        padding: 25px 20px;
    }
    
    .contact-form h2 {
        font-size: 1.8rem;
    }
    
    .contact-info {
        padding: 25px 20px;
    }
    
    .contact-info h2 {
        font-size: 1.8rem;
    }
    
    .contact-item {
        padding: 15px 0;
    }
    
    .social-icons {
        gap: 8px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .emergency-support {
        padding: 15px;
    }
    
    .faq-item {
        padding: 25px 20px;
    }
    
    .faq-item h3 {
        font-size: 1.2rem;
    }
    
    .contact-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-stat {
        width: 100%;
        max-width: 200px;
    }
    
    .contact-cta .cta-content {
        padding: 40px 25px;
    }
    
    .contact-cta .cta-content h2 {
        font-size: 2rem;
    }
    
    .contact-cta .cta-content p {
        font-size: 1rem;
    }
}