/* Contact Page Styles */

/* Hero Section */
.contact-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #1e5f5a 0%, #164540 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    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 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center no-repeat;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
}

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

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #f59e0b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

/* Section Header */
.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    color: #1e5f5a;
    margin-bottom: 10px;
}

.section-header p {
    color: #666;
    font-size: 1.05rem;
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

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

.form-group {
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-group label i {
    color: #f59e0b;
    font-size: 0.9rem;
}

.required {
    color: #dc2626;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e5f5a;
    box-shadow: 0 0 0 4px rgba(30, 95, 90, 0.1);
}

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

.char-counter {
    text-align: right;
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
}

.error-message {
    display: none;
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 5px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc2626;
}

.form-group.error .error-message {
    display: block;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-submit,
.btn-reset {
    flex: 1;
    padding: 16px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit {
    background: linear-gradient(135deg, #1e5f5a 0%, #164540 100%);
    color: white;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 95, 90, 0.3);
}

.btn-reset {
    background: white;
    color: #666;
    border: 2px solid #e5e7eb;
}

.btn-reset:hover {
    border-color: #1e5f5a;
    color: #1e5f5a;
}

.form-response {
    margin-top: 25px;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: 500;
    display: none;
}

.form-response.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-response.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Contact Info Container */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e5f5a 0%, #164540 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.card-content h3 {
    color: #1e5f5a;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.card-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 8px;
}

.card-content strong {
    color: #333;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f59e0b;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 12px;
}

/* Social Section */
.social-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.social-section h3 {
    color: #1e5f5a;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e5f5a;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #1e5f5a 0%, #164540 100%);
    color: white;
    transform: translateY(-3px);
}

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

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e5f5a;
    margin-bottom: 50px;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

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

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

.faq-section .section-header h2 {
    font-size: 2.5rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

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

.faq-question h3 {
    color: #1e5f5a;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.faq-question i {
    color: #f59e0b;
    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.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* Quick Links Section */
.quick-links-section {
    padding: 100px 0;
    background: white;
}

.quick-links-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e5f5a;
    margin-bottom: 50px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.quick-link-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.quick-link-card:hover {
    border-color: #1e5f5a;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 95, 90, 0.15);
}

.quick-link-card i {
    font-size: 3rem;
    color: #f59e0b;
    margin-bottom: 20px;
}

.quick-link-card h3 {
    color: #1e5f5a;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.quick-link-card p {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        gap: 40px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-section {
        padding: 60px 0;
    }

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

    .contact-form-container {
        padding: 30px;
    }

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

    .form-actions {
        flex-direction: column;
    }

    .btn-submit,
    .btn-reset {
        width: 100%;
    }

    .map-section,
    .faq-section,
    .quick-links-section {
        padding: 60px 0;
    }

    .map-section h2,
    .faq-section .section-header h2,
    .quick-links-section h2 {
        font-size: 2rem;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .contact-form-container {
        padding: 20px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .contact-card {
        flex-direction: column;
        padding: 25px;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .contact-hero,
    .map-section,
    .footer {
        display: none;
    }

    .contact-section {
        padding: 20px 0;
    }
}
