/* Contact Page Specific Styles */

/* Contact Hero Section */
.contact-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #035206 0%, #046307 100%);
    overflow: hidden;
    margin-top: 80px;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: floatBackground 60s linear infinite;
    z-index: 0;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 2rem;
}

.contact-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #D4AF37;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 30px;
}

.contact-hero .hero-badge i {
    color: #D4AF37;
    font-size: 16px;
}

.contact-hero .hero-badge span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.contact-hero h1 {
    font-size: clamp(3.6rem, 5vw, 5.6rem);
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.contact-hero p {
    font-size: 1.8rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Contact Info Cards Section */
.contact-info-section {
    padding: 8rem 0;
    background: var(--white);
}

.contact-info-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.info-card {
    background: linear-gradient(135deg, 
        rgba(4, 99, 7, 0.03) 0%, 
        rgba(255, 215, 0, 0.03) 100%);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
    border: 1px solid rgba(4, 99, 7, 0.1);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, 
        rgba(4, 99, 7, 0.05) 0%, 
        rgba(255, 215, 0, 0.05) 100%);
}

.info-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    position: relative;
}

.info-card-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2px dashed var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.info-card h3 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.info-card p {
    font-size: 1.6rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.info-link:hover {
    color: var(--accent);
    gap: 1.2rem;
}

/* Main Contact Section */
.main-contact-section {
    padding: 10rem 0;
    background: linear-gradient(135deg, 
        rgba(4, 99, 7, 0.02) 0%, 
        rgba(255, 215, 0, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.main-contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 1px 1px, var(--primary) 1px, transparent 0);
    background-size: 50px 50px;
    opacity: 0.03;
    pointer-events: none;
}

.main-contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: start;
}

/* Contact Details */
.contact-details {
    position: sticky;
    top: 120px;
}

.section-header-left {
    margin-bottom: 4rem;
}

.section-header-left h2 {
    font-size: clamp(3rem, 4vw, 4.2rem);
    color: var(--text);
    margin-bottom: 2rem;
}

.accent-bar-left {
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    margin-bottom: 2rem;
    border-radius: 50px;
}

.contact-intro {
    font-size: 1.7rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact Features */
.contact-features {
    margin-bottom: 4rem;
}

.contact-feature-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.feature-check {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.feature-text p {
    font-size: 1.5rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Emergency Contact */
.emergency-contact {
    display: flex;
    gap: 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 0, 0, 0.05) 0%, 
        rgba(255, 100, 0, 0.05) 100%);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid #ff6b6b;
    margin-bottom: 4rem;
}

.emergency-icon {
    width: 60px;
    height: 60px;
    background: #ff6b6b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.4rem;
    flex-shrink: 0;
}

.emergency-text h4 {
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.emergency-text p {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.emergency-phone {
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b6b;
    text-decoration: none;
    transition: var(--transition-fast);
}

.emergency-phone:hover {
    color: #ff4757;
    transform: scale(1.05);
}

/* Social Connect */
.social-connect {
    margin-top: 4rem;
}

.social-connect h4 {
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.social-connect .social-links {
    display: flex;
    gap: 1.5rem;
}

.social-connect .social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, 
        rgba(4, 99, 7, 0.1) 0%, 
        rgba(255, 215, 0, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.8rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-connect .social-link:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Contact Form Container */
.contact-form-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.form-wrapper {
    padding: 4rem;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h3 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.form-header p {
    font-size: 1.6rem;
    color: var(--text-light);
}

/* Map Section */
.map-section {
    position: relative;
    overflow: hidden;
}

.map-container {
    width: 100%;
    height: 500px;
    position: relative;
}

.map-container iframe {
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%);
}

/* FAQ Section */
.faq-section {
    padding: 10rem 0;
    background: var(--white);
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

.faq-grid {
    display: grid;
    gap: 2rem;
}

.faq-item {
    background: linear-gradient(135deg, 
        rgba(4, 99, 7, 0.02) 0%, 
        rgba(255, 215, 0, 0.02) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid rgba(4, 99, 7, 0.1);
    transition: var(--transition-medium);
    cursor: pointer;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, 
        rgba(4, 99, 7, 0.05) 0%, 
        rgba(255, 215, 0, 0.05) 100%);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h4 {
    font-size: 1.9rem;
    color: var(--primary);
    margin: 0;
}

.faq-question i {
    font-size: 1.6rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-top: 2rem;
}

.faq-answer p {
    font-size: 1.6rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .info-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .main-contact-container {
        gap: 5rem;
    }
}

@media (max-width: 992px) {
    .contact-hero {
        min-height: 50vh;
        margin-top: 70px;
    }
    
    .info-cards-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .info-card {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .main-contact-container {
        grid-template-columns: 1fr;
        gap: 6rem;
    }
    
    .contact-details {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .contact-info-section {
        padding: 6rem 0;
    }
    
    .contact-info-container,
    .main-contact-container,
    .faq-container {
        padding: 0 2rem;
    }
    
    .main-contact-section {
        padding: 8rem 0;
    }
    
    .form-wrapper {
        padding: 3rem;
    }
    
    .info-card {
        padding: 3rem 2rem;
    }
    
    .contact-feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .emergency-contact {
        flex-direction: column;
        text-align: center;
    }
    
    .faq-section {
        padding: 8rem 0;
    }
}

@media (max-width: 576px) {
    .contact-hero h1 {
        font-size: 3rem;
    }
    
    .contact-hero p {
        font-size: 1.6rem;
    }
    
    .info-card-icon {
        width: 70px;
        height: 70px;
        font-size: 2.6rem;
    }
    
    .form-wrapper {
        padding: 2rem;
    }
    
    .form-header h3 {
        font-size: 2.4rem;
    }
    
    .faq-item {
        padding: 2rem;
    }
    
    .faq-question h4 {
        font-size: 1.7rem;
    }
}
