@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #4DB6AC; 
    --secondary-color: #81C784; 
    --accent-color: #4DB6AC; /* Aqua */
    --text-color: #333333;
    --background-color: #ffffff; /* Light Purple */
    --gradient-start: #5E35B1; /* Dark Purple */
    --gradient-end: #E57373; /* Light Red */
    --button-gradient-start: #4DB6AC; /* Aqua */
    --button-gradient-end: #81C784; /* Light Green */
    --hover-gradient-start: #81C784; /* Light Green */
    --hover-gradient-end: #4DB6AC; /* Aqua */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

header {
    max-width: 100%;
    justify-content: center; /* Centers the content horizontally */
    align-items: center;     /* Centers the content vertically */
    text-align: center;      /* Centers the text inside the hero-content */
    background-color: transparent;
    z-index: 1000;
    padding: 3rem 5%;
}

.gradient-text {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #000000;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0);
}

.gradient-text .highlight {
    background: linear-gradient(45deg, var(--button-gradient-start), var(--button-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.gradient-icon {
    font-size: 3rem; /* Adjust the size as needed */
    background: linear-gradient(45deg, var(--button-gradient-start), var(--button-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.gradient-icon-solid {
    background: linear-gradient(45deg, var(--button-gradient-start), var(--button-gradient-end));
    -webkit-mask: -webkit-linear-gradient(#fff, #fff);
    -webkit-mask-clip: text;
    -webkit-mask-composite: destination-in;
    color: transparent;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    margin-bottom: 1rem;
    text-align: center;
    margin-top: 5rem;
}

.logo {
    max-width: 200px; /* Adjust this value as needed */
    height: auto;
}

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

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-color);
}
#features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.cta-wrapper {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-radius 0.3s ease;
    box-shadow: none;
    background: linear-gradient(45deg, var(--button-gradient-start), var(--button-gradient-end)); /* Gradient background */
    padding: 0; /* Padding to show gradient as a border */
    border-radius: 30px; /* Rounded corners by default */
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.cta-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.cta-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.cta-form-inner {
    padding: 3px;
    background: linear-gradient(45deg, var(--button-gradient-start), var(--button-gradient-end));
    width: 100%;
}

.cta-input {
    padding: 1.2rem 1.5rem;
    border: none; /* Remove border since the wrapper provides the border */
    font-size: 1.2rem;
    width: 100%;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.cta-input-email {
    border-radius: 28px 28px 0 0;
    margin-bottom: 2px;
}

.cta-input-tel {
    border-radius: 0 0 0 0;
}

.cta-button {
    background: linear-gradient(45deg, var(--button-gradient-start), var(--button-gradient-end));
    color: white;
    padding: 1.2rem;
    border: none; /* Remove border to avoid overlapping with the wrapper gradient */
    border-radius: 0 0 28px 28px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    width: 100%;
}

.cta-button-2 {
    display:block;
    background: linear-gradient(45deg, var(--button-gradient-start), var(--button-gradient-end));
    color: white;
    padding: 1rem 2rem;
    border: none; /* Remove border to avoid overlapping with the wrapper gradient */
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-radius 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    margin-right: 1em;
    text-decoration: none;
}

.cta-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-wrapper:hover .cta-button {
    background: linear-gradient(45deg, var(--hover-gradient-start), var(--hover-gradient-end));
}

.cta-wrapper:hover {
    background: linear-gradient(45deg, var(--hover-gradient-start), var(--hover-gradient-end)); /* Change the gradient on hover */
}



section {
    padding: 5rem 10%;
}

#hero {
    padding: 0 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: #000000;
    background-color: var(--background-color);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #000000;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0);
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: #000000;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0);
}

.hero-image {
    flex: 1;
    position: relative;
}

#heroCanvas {
    width: 100%;
    height: 100%;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.feature-item {
    text-align: center;
    padding: 2.5rem;
    background-color: #ffffff;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.feature-item p {
    font-size: 1.1rem;
    color: #666666;
}

.use-case-carousel, .testimonial-carousel {
    overflow: hidden;
}

.comparison-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.comparison-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.comparison-before, .comparison-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-color);
    left: 50%;
    cursor: ew-resize;
}

footer {
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 3rem 5%;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo, .footer-provider, .social-links {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-provider {
    display: flex;
    justify-content: center;
}

.social-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footerAddress {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-links a:hover {
    text-decoration: underline;
}

.social-links a {
    color: var(--text-color);
    margin-right: 1rem;
    font-size: 1.5rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1rem;
    }

    #hero {
        flex-direction: column;
        padding: 0 5%;
    }
    
    .gradient-text {
        font-size: 3rem;
    }
    
    section {
        padding: 3rem 5%;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 2rem;
    }
    
    .feature-item i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-item h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-item p {
        font-size: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2.5rem;
    }
    
    .footer-logo, .footer-provider, .social-links {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .footer-logo img, .footer-provider img {
        max-width: 180px;
        margin-bottom: 1rem;
    }
    
    .footerAddress {
        text-align: center;
        font-size: 0.9rem;
        line-height: 1.8;
    }
    
    .social-links a {
        margin: 1rem 0.5rem;
    }
    
    footer {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .gradient-text {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    section {
        padding: 2rem 1rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .feature-item i {
        font-size: 2.2rem;
    }
    
    .feature-item h3 {
        font-size: 1.3rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(108, 99, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0);
    }
}


/* Styles for the footer images */
.footer-logo img {
    max-width: 200px;
    margin-bottom: 0.5rem;
}

.footer-provider img {
    max-width: 200px;
}
