body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7fa;
    margin: 0;
    padding: 0;
}

.topbar {
    background-color: #128C7E;
    color: white;
    padding: 10px 0;
    font-size: 14px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.topbar a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.topbar a:hover {
    color: #25D366;
}

.navbar {
    top: 48px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.hero-section {
    padding: 120px 0 40px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2325D366" fill-opacity="0.3" d="M0,160L80,176C160,192,320,224,480,213.3C640,203,800,149,960,149.3C1120,149,1280,203,1360,229.3L1440,256L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z"></path></svg>');
    z-index: 0;
}

.hero-section h1, .hero-section p, .hero-section .btn {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 2.5rem;
}

.hero-section p {
    font-size: 1.2rem;
}

.form-container {
    background: white;
    color: black;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    opacity: 0;
    margin: 0 auto;
    max-width: 400px;
}

.form-container input, .form-container select, .form-container textarea {
    border-radius: 8px;
    height: 50px;
    font-size: 1rem;
}

.form-container textarea {
    height: 100px;
}

.about-section {
    padding: 60px 0;
    background: #ffffff;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
}

.solutions-section {
    padding: 60px 0;
    background: #f5f7fa;
}

.solution-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    transform: translateY(20px);
    opacity: 0;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.blog-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    transform: translateY(20px);
    opacity: 0;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.videos-section {
    padding: 60px 0;
    background: #e9ecef;
    text-align: center;
}

.video-container {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.video-container h4 {
    margin-bottom: 15px;
    color: #128C7E;
}

.video-container iframe {
    width: 100%;
    height: 200px;
}

.blog-section {
    padding: 60px 0;
    background: #ffffff;
    text-align: center;
}

.contact-section {
    padding: 60px 0;
    background: #ffffff;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    position: relative;
    transform: scale(0.7);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.popup-content .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s;
}

.popup-content .close:hover {
    color: #25D366;
}

.btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background: linear-gradient(135deg, #1eb85a 0%, #0f6c5f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.animate-button {
    transition: background-color 0.3s, transform 0.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.7);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-section, .animate-form, .animate-card, .blog-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-section:nth-child(1) { animation-delay: 0.2s; }
.animate-section:nth-child(2) { animation-delay: 0.4s; }
.animate-section:nth-child(3) { animation-delay: 0.6s; }
.animate-card:nth-child(1), .blog-card:nth-child(1) { animation-delay: 0.2s; }
.animate-card:nth-child(2), .blog-card:nth-child(2) { animation-delay: 0.4s; }
.animate-card:nth-child(3), .blog-card:nth-child(3) { animation-delay: 0.6s; }

.popup.show .popup-content {
    animation: popupFadeIn 0.3s ease-out forwards;
}

@media (max-width: 768px) {
    .topbar {
        font-size: 12px;
        padding: 8px 0;
    }

    .navbar {
        top: 40px;
    }

    .hero-section {
        padding: 100px 0 20px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .form-container {
        margin-top: 20px;
        padding: 15px;
        max-width: 100%;
    }

    .form-container h3 {
        font-size: 1.5rem;
    }

    .form-container input, .form-container select, .form-container textarea {
        height: 45px;
        font-size: 0.9rem;
    }

    .form-container textarea {
        height: 90px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .solution-card, .video-container, .blog-card {
        margin-bottom: 20px;
    }

    .video-container iframe {
        height: 150px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section {
        padding: 130px 0 40px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .form-container {
        max-width: 350px;
    }

    .btn {
        padding: 12px 22px;
        font-size: 1.05rem;
    }
}

@media (min-width: 1025px) {
    .hero-section {
        padding: 150px 0 40px;
    }

    .hero-section .row {
        display: flex;
        align-items: center;
    }

    .hero-section .text-center {
        text-align: left;
    }

    .hero-section .col-lg-6:first-child {
        padding-right: 30px;
    }

    .form-container {
        max-width: 100%;
        margin: 0;
    }

    .btn {
        padding: 14px 28px;
        font-size: 1.15rem;
    }
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    position: relative;
    transform: scale(0.7);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.popup-content .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s;
}

.popup-content .close:hover {
    color: #25D366;
}

.popup.show {
    display: flex;
}

.demo-form {
    max-width: 400px;
    margin: 0 auto;
}

