/* Hero Section Background */
.hero-bg {
    background-color: #0a0a0a;
    background-image: radial-gradient(circle at 25% 25%, rgba(167, 139, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(244, 114, 182, 0.1) 0%, transparent 50%);
}

/* General scroll reveal animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Specific animation delays for sections */
.reveal-on-scroll:nth-child(1) {
    transition-delay: 0s;
}

.reveal-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.reveal-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}

.reveal-on-scroll:nth-child(5) {
    transition-delay: 0.4s;
}

.reveal-on-scroll:nth-child(6) {
    transition-delay: 0.5s;
}

/* Contact Hero Background */
.contact-hero-bg {
    background-color: #0a0a0a;
    background-image:
        radial-gradient(circle at 10% 90%, rgba(167, 139, 250, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(244, 114, 182, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 10px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 10px);
    background-size: cover, cover, cover, 10px 10px, 10px 10px;
    background-position: center center, center center, center center, 0 0, 0 0;
    animation: hero-background-pan 60s linear infinite;
}

@keyframes hero-background-pan {
    0% {
        background-position: center center, center center, center center, 0 0, 0 0;
    }

    100% {
        background-position: center center, center center, center center, 100px 100px, 100px 100px;
    }
}

/* Contact Form Styling */
.contact-form-container {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.contact-form-container label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container input[type="tel"],
.contact-form-container textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1.25rem;
    background-color: hsl(var(--input));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    color: hsl(var(--foreground));
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-container input[type="text"]:focus,
.contact-form-container input[type="email"]:focus,
.contact-form-container input[type="tel"]:focus,
.contact-form-container textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.2);
}

.contact-form-container textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form-container button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 3rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px -1px hsl(var(--primary)/0.1), 0 2px 4px -1px hsl(var(--primary)/0.06);
    cursor: pointer;
}

.contact-form-container button:hover {
    background-color: hsl(var(--primary)/0.9);
    box-shadow: 0 6px 12px -2px hsl(var(--primary)/0.2), 0 4px 6px -2px hsl(var(--primary)/0.1);
}

/* Business Contact Info Styling */
.contact-info-card {
    background-color: hsl(var(--secondary));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-item svg {
    color: hsl(var(--primary));
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
}

.contact-info-item div {
    flex-grow: 1;
}

.contact-info-item h4 {
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.25rem;
}

.contact-info-item p,
.contact-info-item a {
    color: hsl(var(--muted-foreground));
    font-size: 0.95rem;
    line-height: 1.4;
}

.contact-info-item a:hover {
    color: hsl(var(--primary));
    text-decoration: underline;
}

/* Google Map Embed */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid hsl(var(--border));
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    /* Fixed height for the map */
    border: 0;
}

/* FAQ Section */
.faq-item {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question-button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background-color: hsl(var(--card));
    color: hsl(var(--foreground));
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question-button:hover {
    background-color: hsl(var(--secondary));
}

.faq-question-button svg {
    transition: transform 0.3s ease;
}

.faq-question-button[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    /* Remove bottom padding here, add it to p inside */
    color: hsl(var(--muted-foreground));
    font-size: 1rem;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.faq-answer.expanded {
    max-height: 1000px;
    /* Increased to accommodate more content */
    padding-bottom: 1.25rem;
    /* Add bottom padding when expanded */
}

.faq-answer p {
    margin-top: 0.5rem;
    /* Small top margin for paragraph within answer */
}