/* ===== LANDING PAGE STYLES ===== */

/* Hero Background Transitions */
#heroBackground > div {
    transition: opacity 1000ms ease-in-out;
}

/* Testimonial Cards */
.testimonial-card {
    height: auto;
}

/* FAQ Animations */
details[open] summary ~ * {
    animation: sweep 0.6s ease-in-out;
}

@keyframes sweep {
    0% { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Testimonial Track */
#testimonialTrack {
    display: flex;
    transition: transform 0.7s ease-out;
}

/* Solution Cards Animations */
.solution-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, box-shadow 0.3s ease;
}

.solution-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* HubSpot Form Styles */
.hubspot-form-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.hubspot-form-container iframe {
    width: 100%;
    min-height: 600px;
    border: none;
    display: block;
}

/* Responsive HubSpot Form */
@media (max-width: 768px) {
    .hubspot-form-container {
        width: 95%;
    }
    .hubspot-form-container iframe {
        min-height: 500px;
    }
}

@media (max-width: 480px) {
    .hubspot-form-container iframe {
        min-height: 450px;
    }
}

/* Testimonials Responsive */
@media (max-width: 1023px) {
    .testimonial-card {
        min-height: 240px;
    }
}

/* Testimonials Container */
.testimonials-container {
    position: relative;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0 0 15px 0;
}

/* Navigation Dots */
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e2e8f0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #4c5f4e;
}

/* Navigation Arrows */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: background-color 0.3s ease;
}

.arrow:hover {
    background-color: #4c5f4e;
}

.arrow svg {
    width: 20px;
    height: 20px;
    fill: #4c5f4e;
}

.arrow.prev {
    left: -20px;
}

.arrow.next {
    right: -20px;
}

/* Video Embed Section */
#videoEmbedSection {
    display: none;
    padding: 4rem 0;
    background-color: #f3f4f6;
}

#videoEmbedSection iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: block;
}

/* About Section Responsive */
@media (min-width: 1024px) and (max-width: 1279px) {
    #about .flex {
        align-items: stretch;
    }
    #about .order-1, #about .order-2 {
        display: flex;
        flex-direction: column;
    }
    #about .order-1 img {
        flex: 1;
        object-fit: cover;
    }
}