/* Remove border from embedded map iframe for a clean look */
.map-iframe {
    border: 0;
}

/* Contact Page Styles */
.contact-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(to bottom right, #000, #0d0d0d);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.contact-hero-text {
    flex: 1;
    min-width: 50%;
}

.contact-hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.contact-hero-description {
    font-size: 1.125rem;
    color: #a1a1aa;
    margin-bottom: 2rem;
    max-width: 600px;
}

.contact-hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-hero-stats .stat-item {
    text-align: center;
}

.contact-hero-stats .stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.contact-hero-stats .stat-label {
    font-size: 0.875rem;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-hero-image {
    flex: 1;
    min-width: 40%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 221, 0, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(100px);
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
}

.contact-hero-img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 1rem;
}

/* Contact Form Section */
.contact-form-section {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 1.5rem;
    background-color: var(--background);
}

.contact-form-container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.contact-form-content {
    flex: 2;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
    position: relative;
}

.section-subtitle {
    color: #a1a1aa;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    display: flex;
    justify-content: center;
}

.form-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 0.75rem;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.1rem;
    color: var(--foreground);
}

.form-input {
    width: 100%;
    background-color: black;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    color: var(--foreground);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.2);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.form-input,
.form-textarea {
    padding: 0.75rem 0.75rem;
    font-size: 0.9375rem;
}

.submit-button {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-button:hover {
    background-color: #eab308;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.2);
}

.button-icon {
    width: 18px;
    height: 18px;
}

/* Contact Info Sidebar */
.contact-info-sidebar {
    flex: 1;
    position: relative;
    top: 80px;
}

.contact-info-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    width: 100%;
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.contact-info-description {
    color: #a1a1aa;
    margin-bottom: 2rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    background-color: rgba(250, 204, 21, 0.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.contact-details {
    flex: 1;
}

.contact-method {
    font-size: 0.875rem;
    font-weight: 500;
    color: #a1a1aa;
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
}

.contact-value:hover {
    color: var(--primary);
}

address.contact-value {
    font-style: normal;
    line-height: 1.5;
}

.contact-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--muted);
    color: var(--foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
    transform: translateY(-2px);
}

/* Map Section */
.map-section {
    padding: 0 0 5rem;
}

.map-iframe {
  border: 0;
  width: 100%;
  height: 450px;
  display: block;
  max-width: 100%;
  border-radius: 12px; /* Optional: rounded corners for a modern look */
  box-shadow: 0 2px 16px rgba(0,0,0,0.08); /* Optional: subtle shadow */
}
.map-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
}

.map-iframe {
    display: block;
    filter: grayscale(30%) contrast(110%) brightness(90%);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.faq-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(255, 221, 0, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(100px);
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
}


.faq-accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.5rem;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1rem;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: #a1a1aa;
    line-height: 1.6;
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.125rem;
}

.faq-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.faq-link:hover {
    text-decoration: underline;
}

/* Contact CTA Section */
.contact-cta {
    padding: 5rem 0;

}

.cta-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.cta-text {
    color: #a1a1aa;
    font-size: 1.125rem;
    max-width: 500px;
}

.cta-button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button-group .cta-button {
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button-group .cta-button.primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border: none;
    text-decoration: none;
}

.cta-button-group .cta-button.primary:hover {
    background-color: #eab308;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.2);
}

.cta-button-group .cta-button.secondary {
    background-color: transparent;
    color: var(--foreground);
    border: 1px solid gray;
    text-decoration: none;
}

.cta-button-group .cta-button.secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .contact-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-hero-text {
        min-width: 100%;
    }

    .contact-hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-hero-stats {
        justify-content: center;
    }

    .contact-form-container {
        flex-direction: column;
    }

    .contact-info-sidebar {
        position: static;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 6rem 0 3rem;
    }

    .contact-hero-title {
        font-size: 2.25rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .cta-card {
        padding: 2rem;
        text-align: center;
        justify-content: center;
    }

    .cta-button-group {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-hero-title {
        font-size: 1.8rem;
    }

    .contact-hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-form-content {
        padding: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1rem 0;
    }
}

/* Initial state before animation */
[data-animate] {
    opacity: 0;
}

/* Triggered state */
[data-animate].animate {
    opacity: 1;
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

/* Animation types */
[data-animate="fade-in"].animate {
    animation-name: fadeIn;
}

[data-animate="slide-up"].animate {
    animation-name: slideUp;
}

[data-animate="slide-left"].animate {
    animation-name: slideLeft;
}

[data-animate="zoom-in"].animate {
    animation-name: zoomIn;
}

/* Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}


[data-animate] {
    opacity: 0;
}

[data-animate].animate {
    opacity: 1;
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

/* Animation types */
[data-animate="slide-left"].animate {
    animation-name: slideLeft;
}

[data-animate="slide-right"].animate {
    animation-name: slideRight;
}

[data-animate="fade-in"].animate {
    animation-name: fadeIn;
}

[data-animate="zoom-in"].animate {
    animation-name: zoomIn;
}

/* Keyframes */
@keyframes slideLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}