/* Contact Page Styles */

/* Hero Section */
.contact-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(239, 83, 80, 0.5) 0%, rgba(211, 47, 47, 0.55) 100%),
                url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1474&q=80') center/cover;
    margin-top: 0;
    font-family: var(--font-secondary);
}

/* Dark Overlay */
.contact-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

/* Grid Overlay */
.contact-hero .grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(239, 83, 80, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(239, 83, 80, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 2;
}

/* Accent Lines */
.contact-hero .accent-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(239, 83, 80, 0.5), transparent);
    z-index: 3;
}

.contact-hero .line-1 {
    top: 20%;
    left: 0;
    width: 100%;
    height: 2px;
    animation: lineSlide 3s ease-in-out infinite;
}

.contact-hero .line-2 {
    top: 60%;
    left: 0;
    width: 100%;
    height: 2px;
    animation: lineSlide 3s ease-in-out infinite reverse;
}

@keyframes lineSlide {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Hero Content */
.contact-hero .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1100px;
    padding: 0 40px;
}

.contact-hero .beta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 83, 80, 0.15);
    border: 2px solid rgba(239, 83, 80, 0.5);
    color: rgba(255, 255, 255, 0.95);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 1s ease-out;
}

.contact-hero .beta-dot {
    width: 8px;
    height: 8px;
    background: #EF5350;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-hero .hero-title {
    font-size: 48px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -2px;
    color: white;
    font-family: var(--font-secondary);
    animation: heroTitleFadeIn 1.2s ease-out forwards;
    opacity: 0;
    transform: translateY(50px);
    font-size: clamp(32px, 5vw, 52px);
}

.contact-hero .hero-title .highlight {
    font-style: italic;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
}

.contact-hero .hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ef4444 0%, #22c55e 100%);
}

@keyframes heroTitleFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-hero .hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    font-family: var(--font-secondary);
    animation: heroSubtitleFadeIn 1s ease-out 0.5s forwards;
    opacity: 0;
    transform: translateY(30px);
    font-size: clamp(16px, 2.5vw, 19px);
}

@keyframes heroSubtitleFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Main Section */
.contact-main {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, white 50%, #f8f9fa 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* Contact Info */
.contact-info {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    font-size: 1.8rem;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.info-subtitle {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.info-item > i {
    color: var(--primary-green);
    font-size: 1.1rem;
    width: 20px;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.info-item h3 {
    font-size: 1rem;
    color: var(--dark-text);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

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

.info-item a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--accent-red);
}

/* Social Links */
.social-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.social-links h3 {
    font-size: 1.1rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(239, 83, 80, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-red));
    color: white;
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-subtitle {
    color: var(--light-text);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    font-size: 0.95rem !important;
    color: var(--dark-text) !important;
    margin-bottom: 0.5rem !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
}

.form-group label i {
    color: var(--primary-green) !important;
    font-size: 0.85rem !important;
    width: 14px !important;
    display: inline-block !important;
}

.required {
    color: var(--accent-red);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-secondary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

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

.submit-btn {
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-red));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.4);
}

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

.map-section h2 {
    text-align: center;
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 3rem;
    font-weight: 700;
}

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

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, white 100%);
}

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

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header .subtitle {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(76, 175, 80, 0.05);
}

.faq-question > i:first-child {
    color: var(--primary-green);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.faq-question h3 {
    flex: 1;
    font-size: 1.1rem;
    color: var(--dark-text);
    font-weight: 600;
    margin: 0;
}

.faq-question > i:last-child {
    color: var(--light-text);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem 4.3rem;
}

.faq-answer p {
    color: var(--light-text);
    line-height: 1.8;
    margin: 0;
}

/* CTA Section */
.contact-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.95) 0%, rgba(67, 160, 71, 0.95) 100%),
                url('https://images.unsplash.com/photo-1556761175-b413da4baf72?ixlib=rb-4.0.3&auto=format&fit=crop&w=1974&q=80') center/cover fixed;
    text-align: center;
    color: white;
    position: relative;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.contact-cta .container {
    position: relative;
    z-index: 1;
}

.contact-cta h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.contact-cta .lead {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-red);
    color: white;
    box-shadow: 0 10px 40px rgba(239, 83, 80, 0.4);
}

.btn-primary:hover {
    background: #B71C1C;
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(239, 83, 80, 0.6);
}

.btn-secondary {
    background: white;
    color: var(--primary-green);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: #f5f5f5;
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 45vh;
    }

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

    .contact-info,
    .contact-form-wrapper {
        padding: 2rem;
    }

    .map-section,
    .faq-section,
    .contact-cta {
        padding: 60px 0;
    }

    .section-header h2,
    .contact-cta h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        min-height: 40vh;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .info-item {
        flex-direction: column;
    }

    .faq-question {
        padding: 1.2rem 1.5rem;
    }

    .faq-answer {
        padding: 0 1.5rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.2rem 1.5rem;
    }
}

/* Form Message Styles */
.form-message {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.5;
    animation: slideDown 0.3s ease-out;
}

.form-message.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.form-message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Submit button loading state */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
