
/* GENERAL STYLING */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f8f9ff;
    color: #202044;
}


/* NAVIGATION BAR */

header {
    background: white;
    padding: 20px 8%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo span,
.footer-logo span {
    color: #7665e8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: #44445c;
    font-size: 14px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #7665e8;
}

.nav-button {
    text-decoration: none;
    background: #7665e8;
    color: white;
    padding: 12px 23px;
    border-radius: 30px;
    font-size: 14px;
    transition: 0.3s;
}

.nav-button:hover {
    background: #5846c5;
    transform: translateY(-3px);
}


/* HERO SECTION */

.hero {
    min-height: 600px;
    padding: 90px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    max-width: 570px;
}

.tagline {
    color: #7665e8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 55px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 25px;
}

.hero h1 span,
.section-heading h2 span {
    color: #7665e8;
}

.hero-description {
    color: #77778d;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    text-decoration: none;
    padding: 14px 25px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.primary-btn {
    background: #7665e8;
    color: white;
}

.primary-btn:hover {
    background: #5846c5;
    transform: translateY(-4px);
}

.secondary-btn {
    border: 1px solid #7665e8;
    color: #7665e8;
}

.secondary-btn:hover {
    background: #7665e8;
    color: white;
}


/* HERO IMAGE CARD */

.hero-image {
    width: 420px;
    max-width: 100%;
}

.image-card {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, #7665e8, #b5a7ff);
    border-radius: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(118, 101, 232, 0.25);
}

.circle {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
    top: -70px;
    right: -40px;
}

.image-card h2 {
    font-size: 27px;
    z-index: 1;
}

.image-card p {
    margin-top: 10px;
    font-size: 14px;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    bottom: 30px;
    left: 40px;
    font-size: 55px;
}


/* FEATURES SECTION */

.features {
    padding: 90px 8%;
    background: white;
}

.section-heading {
    text-align: center;
    margin-bottom: 55px;
}

.section-heading h2 {
    font-size: 35px;
    margin-bottom: 12px;
}

.section-heading > p:last-child {
    color: #88889b;
    font-size: 14px;
}

.feature-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background: #f8f7ff;
    padding: 35px 28px;
    border-radius: 20px;
    transition: 0.3s;
    border: 1px solid #eeebff;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(118, 101, 232, 0.12);
}

.feature-icon {
    font-size: 35px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 13px;
    color: #85859b;
    line-height: 1.8;
}


/* ABOUT SECTION */

.about {
    padding: 100px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.about-content {
    max-width: 550px;
}

.about-content h2 {
    font-size: 36px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.about-content > p:not(.tagline) {
    color: #85859b;
    line-height: 1.9;
    font-size: 14px;
    margin-bottom: 30px;
}

.about-box {
    width: 380px;
    max-width: 100%;
    padding: 55px 30px;
    background: linear-gradient(135deg, #e7e2ff, #f3edff);
    border-radius: 30px;
    text-align: center;
}

.about-symbol {
    font-size: 85px;
    font-weight: 800;
    color: #7665e8;
    margin-bottom: 15px;
}

.about-box h3 {
    font-size: 19px;
}

.about-box p {
    color: #85859b;
    font-size: 13px;
    margin-top: 10px;
}


/* CALL TO ACTION */

.cta {
    background: linear-gradient(135deg, #7665e8, #5543c5);
    color: white;
    text-align: center;
    padding: 85px 20px;
}

.cta .tagline {
    color: #ded8ff;
}

.cta h2 {
    font-size: 35px;
    margin-bottom: 15px;
}

.cta > p:not(.tagline) {
    font-size: 14px;
    color: #e4e0ff;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #7665e8;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


/* FOOTER */

footer {
    background: #19182e;
    color: white;
    padding: 45px 8% 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
}

.footer-logo p {
    font-size: 12px;
    color: #aaa9c0;
    font-weight: 400;
    letter-spacing: 0;
    margin-top: 8px;
}

.social-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.social-links a {
    text-decoration: none;
    color: #c5c3d8;
    font-size: 13px;
    transition: 0.3s;
}

.social-links a:hover {
    color: white;
}

.copyright {
    border-top: 1px solid #34334b;
    padding-top: 20px;
    text-align: center;
    color: #88879f;
    font-size: 12px;
}


/* RESPONSIVE DESIGN */

@media (max-width: 900px) {

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .feature-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .about {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {

    header {
        padding: 18px 5%;
    }

    .navbar {
        flex-wrap: wrap;
        gap: 15px;
    }

    .logo {
        font-size: 23px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 18px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .nav-button {
        padding: 9px 15px;
        font-size: 12px;
    }

    .hero {
        padding: 70px 6%;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-description {
        font-size: 13px;
    }

    .image-card {
        height: 280px;
    }

    .feature-container {
        grid-template-columns: 1fr;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .about-box {
        padding: 40px 20px;
    }

    .cta h2 {
        font-size: 27px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}
