/* Contact Page Styles */

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #2e3192 0%, #00a650 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}
.faq-section h2{color:#fff;}
.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.contact-form-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}
.contact-form-section .section-header p {
    font-size: 1.125rem;
    color: #dde8ff;
    max-width: 600px;
    margin: 0 auto;
}
.location-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}
.location-section .section-header p {
    font-size: 1.125rem;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
}
.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact-hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 300;
}

.contact-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-hero-stats .stat {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-hero-stats .stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-hero-stats .stat i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-hero-stats .stat h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-hero-stats .stat p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact Info Section */
.contact-info {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-methods-grid
 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.contact-method-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.contact-method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2e3192 0%, #00a650 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.contact-method-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
    font-weight: 600;
}

.contact-method-card p {
    color: #718096;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-details {
    margin-bottom: 1rem;
}

.contact-details a {
    color: #2e3192;
    text-decoration: none;
    font-weight: 500;
    display: block;
    font-size:13px;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #00a650;
}

.contact-details p {
    color: #4a5568;
    margin: 0;
    line-height: 1.5;
}

.method-note {
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.method-note small {
    color: #718096;
    font-size: 0.85rem;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: 
        linear-gradient(135deg, rgba(46, 49, 146, 0.9) 0%, rgba(0, 166, 80, 0.8) 50%, rgba(46, 49, 146, 0.9) 100%),
        linear-gradient(45deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #533483 75%, #1a1a2e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-form-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.form-info {
    background: linear-gradient(135deg, #2e3192 0%, #00a650 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    height: fit-content;
}

.form-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.form-info ul {
    list-style: none;
    margin-bottom: 2rem;
}

.form-info li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
}

.form-info li:last-child {
    border-bottom: none;
}

.form-info li i {
    margin-right: 1rem;
    color: #90cdf4;
}

.response-time {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
}

.response-time h4 {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.response-time h4 i {
    margin-right: 0.5rem;
}

.response-time p {
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

/* Contact Form */
.contact-form {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2d3748;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2e3192;
    box-shadow: 0 0 0 3px rgba(46, 49, 146, 0.1);
}

.checkbox-group {
    margin: 2rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4a5568;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 1rem;
    margin-top: 0.2rem;
    transform: scale(1.2);
}

.privacy-link {
    color: #2e3192;
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #2e3192 0%, #00a650 100%);
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 49, 146, 0.3);
}

/* Office Hours Section */
.office-hours {
    padding: 80px 0;
    background: #f8fafc;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.hours-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid #e2e8f0;
}

.hours-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.hours-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #2d3748;
    font-weight: 600;
}

.hours-list {
    text-align: left;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item.emergency {
    background: rgba(248, 113, 113, 0.1);
    margin: 0 -1rem;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(248, 113, 113, 0.2);
}

.hours-item.emergency span:first-child {
    color: #e53e3e;
    font-weight: 600;
}

/* Location Section */
.location-section {
    padding: 80px 0;
    background: 
        linear-gradient(135deg, rgba(0, 166, 80, 0.9) 0%, rgba(46, 49, 146, 0.8) 50%, rgba(0, 166, 80, 0.9) 100%),
        linear-gradient(45deg, #0f1419 0%, #1e3a5f 25%, #2d1b69 50%, #1a4d3a 75%, #0f1419 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.location-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.address-details {
    margin-bottom: 2rem;
}

.address-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.address-item i {
    font-size: 1.5rem;
    color: #2e3192;
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.address-item h4 {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.address-item p {
    color: #e5e7eb;
    margin: 0;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.location-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.location-map {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    text-align: center;
}

.map-content i {
    font-size: 3rem;
    color: #2e3192;
    margin-bottom: 1rem;
    display: block;
}

.map-content h3 {
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-question {
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.faq-question i {
    color: #ffffff;
    transition: transform 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem 2rem;
}

.faq-answer p {
    margin: 0;
    color: #e5e7eb;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Alternative Contacts */
.alternative-contacts {
    padding: 80px 0;
    background: 
        linear-gradient(45deg, 
            rgba(255, 228, 181, 0.8) 0%, 
            rgba(255, 240, 245, 0.8) 25%, 
            rgba(240, 248, 255, 0.8) 50%, 
            rgba(230, 230, 250, 0.8) 75%, 
            rgba(255, 218, 185, 0.8) 100%),
        radial-gradient(circle at 25% 25%, rgba(255, 182, 193, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(173, 216, 230, 0.4) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.alt-contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.alt-contact-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alt-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.alt-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.alt-contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #1f2937;
    font-weight: 600;
}

.alt-contact-card p {
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Emergency Banner */
.emergency-banner {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    padding: 3rem 0;
    margin: 4rem 0;
}

.banner-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner-icon {
    font-size: 3rem;
    color: #fed7d7;
}

.banner-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.banner-text p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.emergency-number {
    color: #fed7d7;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
}

.emergency-number:hover {
    color: white;
}

.banner-action .btn {
    background: white;
    color: #e53e3e;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.banner-action .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Contact Info Section Mobile Optimization */
    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .contact-method-card {
        padding: 2rem;
    }
    
    .method-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .contact-method-card h3 {
        font-size: 1.3rem;
    }
    
    .contact-method-card p {
        font-size: 0.95rem;
    }
    
    .contact-details a {
        font-size: 0.9rem;
    }
    
    .contact-form-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .banner-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .location-actions {
        justify-content: center;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .form-info {
        padding: 2rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .contact-method-card {
        padding: 1.5rem;
    }
    
    .method-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-method-card h3 {
        font-size: 1.2rem;
    }
    
    .contact-method-card p {
        font-size: 0.9rem;
    }
    
    .contact-details a {
        font-size: 0.85rem;
    }
    
    .method-note small {
        font-size: 0.8rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-info {
        padding: 1.5rem;
    }
}