/* General Body Styling */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f9fafb;
    color: #374151;
}

/* Header and Navigation */
.navbar {
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    text-decoration: none;
}

.navbar .logo img {
    vertical-align: middle;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    position: relative;
    color: #374151;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #10B981;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* General Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/design/CascadeBackdropCompressed.jpg');
    background-color: #222;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #fff;
    color: #10B981;
}

.btn:hover {
    opacity: 0.9;
}

.nav-links a:hover {
    color: #10B981;
}

/* Features Section */
.features {
    padding: 2rem 0;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

.feature {
    background: #fff;
    padding: 2rem;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Social Proof Section */
.social-proof {
    padding: 2rem 0;
    text-align: center;
}

.logos {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    overflow: hidden;
    mask-image: linear-gradient(to right, hsl(0 0% 0% / 0), hsl(0 0% 0% / 1) 20%, hsl(0 0% 0% / 1) 80%, hsl(0 0% 0% / 0));
}

.logos:hover .logos-slide {
    animation-play-state: paused;
}

.logos-slide {
    display: flex;
    gap: 40px;
    --scroll-duration: 180s;
    animation: scroll var(--scroll-duration) linear infinite;
    will-change: transform;
    transition: animation-duration 2s ease-out;
}

.logos img {
    height: 50px;
    transition: all 0.3s ease;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Testimonials Section */
.testimonials-new {
    padding: 4rem 0;
    overflow: hidden;
}

.text-center {
    text-align: center;
    margin-bottom: 2rem;
}

.animated-testimonial-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .animated-testimonial-container {
        grid-template-columns: 1fr 1fr;
    }
}

.testimonial-images {
    position: relative;
    height: 400px;
    width: 100%;
}

.testimonial-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    opacity: 0.7;
    transform: scale(0.9);
}

.testimonial-img:first-child {
    opacity: 1;
    transform: scale(1);
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote-container {
    position: relative;
    height: 250px; /* Adjust as needed */
    overflow: hidden;
}

.testimonial-quote {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
}

.testimonial-quote.active {
    opacity: 1;
}

.testimonial-quote h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1rem;
}

.testimonial-quote .designation {
    font-size: 0.9rem;
    color: #6b7280;
}

.stars {
    color: #FBBF24;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.testimonial-nav {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.prev-btn, .next-btn {
    background-color: #f3f4f6;
    border: none;
    border-radius: 9999px;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    transform: scale(1.1);
}

/* Benefits Page */
.benefits-list {
    padding: 2rem 0;
}

.benefit {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
    margin-bottom: 2rem;
}

.benefit img {
    width: 100%;
    border-radius: 5px;
}

/* Pricing Page */
.pricing-table {
    padding: 2rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.plan {
    background: #fff;
    padding: 2rem;
    border-radius: 5px;
    text-align: center;
}

.plan.featured {
    transform: scale(1.05);
    border: 2px solid #10B981;
}

.plan h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.price span {
    font-size: 1rem;
    font-weight: normal;
    color: #777;
}

.plan ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.plan li {
    margin-bottom: 0.5rem;
}

/* Contact Page */
.contact-form-section {
    padding: 2rem 0;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 5px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 20px;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #333;
    transition: all 0.3s ease-in-out;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: row;
        justify-content: space-between;
    }

    .hamburger-menu {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        text-align: center;
        margin-top: 1rem;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .feature-grid,
    .pricing-grid,
    .benefit {
        grid-template-columns: 1fr;
    }

    .benefit {
        text-align: center;
    }

    .benefit img {
        order: -1; /* Move image to the top on mobile */
    }

    .logos {
        flex-direction: column;
    }

    .logos img {
        margin-bottom: 1rem;
    }
}

footer .social-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: #10B981;
}

/* Fade-in animation */
.fade-in-element {
    opacity: 0;
    transition: opacity 0.5s ease-in, transform 0.5s ease-in;
    transform: translateY(20px);
}

.fade-in-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}
