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

html {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    background: #f8fbff;
    color: #222;
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================
   HEADER
========================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .08);
    z-index: 999;
}

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

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #5b3df5;
}

.logo span {
    color: #00c896;
}

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

.nav-links a {
    font-weight: 500;
    color: #222;
    transition: .3s;
}

.nav-links a:hover {
    color: #5b3df5;
}

.btn {
    background: #5b3df5;
    color: #fff;
    padding: 12px 26px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 600;
    transition: .3s;
}

.btn:hover {
    background: #4324ea;
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* =========================
   HERO
========================= */

.hero {
    width: 100%;
    padding-top: 130px;
    padding-bottom: 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 18px;
    background: #eef2ff;
    color: #5b3df5;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #5b3df5;
}

.hero p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.outline {
    background: #fff;
    border: 2px solid #5b3df5;
    color: #5b3df5;
}

.outline:hover {
    background: #5b3df5;
    color: #fff;
}

/* =========================
   SLIDER
========================= */

.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
}

.slide {
    display: none;
    width: 100%;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.active {
    display: block;
}

.dots {
    text-align: center;
    margin-top: 15px;
}

.dot {
    height: 12px;
    width: 12px;
    display: inline-block;
    background: #ccc;
    border-radius: 50%;
    margin: 5px;
    cursor: pointer;
}

.dot.activeDot {
    background: #5b3df5;
}

/* =========================
   WHY SECTION
========================= */

.section {
    width: 100%;
    padding: 70px 0;
}

.section h2 {
    font-size: 40px;
    text-align: center;
    margin-bottom: 20px;
}

.section p {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    line-height: 1.9;
    color: #555;
}

/* =========================
   CONTACT
========================= */

.contact-section {
    width: 100%;
    padding: 90px 0;
    background: #f7f9ff;
}

.contact-title {
    text-align: center;
    margin-bottom: 60px;
}

.contact-title h2 {
    font-size: 40px;
    color: #222;
    margin-bottom: 15px;
}

.contact-title p {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
    line-height: 1.8;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 40px;
    align-items: stretch;
}

.contact-info {
    background: linear-gradient(135deg, #5b3df5, #7c5cff);
    padding: 45px;
    border-radius: 20px;
    color: #fff;
    height: 100%;
}

.contact-info h3 {
    font-size: 30px;
    margin-bottom: 20px;
}

.contact-info p {
    line-height: 1.8;
    margin-bottom: 25px;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
    font-size: 18px;
}

.info-box span {
    font-size: 26px;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
}

.row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.input-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.input-group input,
.input-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    transition: .3s;
}

.input-group textarea {
    resize: vertical;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: #5b3df5;
    box-shadow: 0 0 0 3px rgba(91, 61, 245, .15);
}

.contact-btn {
    margin-top: 15px;
    padding: 15px 35px;
    background: #5b3df5;
    color: #fff;
    font-size: 17px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: .3s;
}

.contact-btn:hover {
    background: #4324ea;
    transform: translateY(-2px);
}

/* =========================
   FEATURES
========================= */

.features-section {
    width: 100%;
    padding: 100px 0;
    background: linear-gradient(180deg, #fff, #f5f9ff);
}

.section-heading {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 70px;
}

.section-badge {
    display: inline-block;
    background: #eef2ff;
    color: #5b3df5;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 18px;
}

.section-heading h2 {
    font-size: 42px;
    color: #1f2937;
    margin-bottom: 20px;
}

.section-heading p {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    transition: .35s;
    border: 1px solid #edf0f7;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(91, 61, 245, .15);
    border-color: #5b3df5;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #5b3df5, #8b6cff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    border-radius: 20px;
}

.feature-card h3 {
    font-size: 24px;
    color: #222;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

/* =========================
   TESTIMONIALS
========================= */

.testimonial-section {
    width: 100%;
    padding: 100px 0;
    background: #f7f9fc;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(91, 61, 245, .08);
    border-radius: 20px;
    padding: 35px;
    transition: .35s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(91, 61, 245, .15);
}

.stars {
    color: #ffc107;
    font-size: 22px;
    margin-bottom: 20px;
}

.testimonial-card p {
    line-height: 1.9;
    color: #555;
    margin-bottom: 30px;
    font-size: 16px;
}

.user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #5b3df5, #8b6cff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.user h4 {
    font-size: 18px;
    color: #222;
    margin-bottom: 4px;
}

.user span {
    color: #777;
    font-size: 14px;
}

/* =========================
   FOOTER
========================= */

footer {
    width: 100%;
    background: #111827;
    padding: 35px;
    color: #fff;
    text-align: center;
}

/* =========================
   WHATSAPP
========================= */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
    z-index: 9999;
    transition: .3s;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #1EBE57;
}

@keyframes whatsappPulse {

    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, .7);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* =========================
   TABLET
========================= */

@media (max-width: 991px) {

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-heading h2 {
        font-size: 35px;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero h1 {
        font-size: 38px;
    }

    .nav-links {
        position: absolute;
        top: 75px;
        left: -100%;
        width: 100%;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 25px 30px;
        transition: .4s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
    }

    .nav-links li {
        padding: 12px 0;
    }

    .nav-links.show {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .contact-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }

    .row {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-title h2 {
        font-size: 32px;
    }

    .contact-info,
    .contact-form {
        padding: 30px;
    }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 768px) {

    .features-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .testimonial-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .features-section,
    .testimonial-section {
        padding: 70px 0;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .section-heading p {
        font-size: 16px;
    }

    .feature-card {
        padding: 30px;
    }

    .whatsapp-float {
        width: 58px;
        height: 58px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* =========================
   EXTRA SMALL MOBILE
========================= */

@media (max-width: 500px) {

    .container {
        width: 92%;
    }

    .navbar {
        height: 70px;
    }

    .nav-links {
        top: 70px;
    }

    .logo {
        font-size: 23px;
    }

    .hero {
        padding-top: 110px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .contact-title h2 {
        font-size: 28px;
    }

    .contact-btn {
        width: 100%;
    }

    .contact-info,
    .contact-form {
        padding: 25px;
    }
}

/* =========================
   TOUCH / CLICK BLAST
========================= */

.blast-particle {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    z-index: 999999;
    transform: translate(-50%, -50%);
    animation: blastAnimation 700ms ease-out forwards;
}

@keyframes blastAnimation {

    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: .9;
    }

    100% {
        opacity: 0;
        transform:
            translate(
                calc(-50% + var(--x)),
                calc(-50% + var(--y))
            )
            scale(0);
    }
}
