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

body {
    font-family: 'Segoe UI', sans-serif;
    background: #f9f9f9;
    color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-left {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 90px;
    /* height: 60px; */
    margin-right: 8px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    font-size: 15px;
    color: #333;
    position: relative;
    padding: 5px 8px;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #7f56d9;
}

.nav-link.active {
    color: #7f56d9;
    font-weight: 600;
}

.sign-in {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.sign-in.outline {
    background-color: transparent;
    color: #7f56d9;
    border: 1px solid #7f56d9;
}

.sign-in.filled {
    background-color: #7f56d9;
    color: white;
    border: none;
}
.hero {
    background: linear-gradient(to right, #1a1f36, #2f2e41);
    color: white;
    padding: 80px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 40px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-content button {
    color: #7f56d9;
    padding: 12px 24px;
    border: none;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
}

.hero img {
    flex: 1;
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-top: 20px;
}
.btn{
    text-decoration: none;
    color: #7f56d9;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 60px 20px;
    background: #f8f9fc;
}

.feature {
    background: white;
    border-radius: 12px;
    padding: 30px;
    width: 300px;
    margin: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.feature h3 {
    color: #7f56d9;
}

.feature p {
    font-size: 0.95rem;
    color: #444;
}

.latest-articles {
    padding: 60px 20px;
    background: #fff;
    text-align: center;
}

.latest-articles h2 {
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #1a1f36;
}

.articles-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.article-card {
    background: #f3f4f8;
    border-radius: 12px;
    padding: 20px;
    width: 300px;
    text-align: left;
}

.article-card h4 {
    color: #7f56d9;
    margin-bottom: 10px;
}

.article-card p {
    color: #555;
    font-size: 0.9rem;
}

.cta {
    background-color: #7f56d9;
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta button {
    padding: 12px 24px;
    background: white;
    color: #7f56d9;
    border: none;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}

.custom-footer {
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
    color: #333;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.footer-logo img {
    width: 110px;
    /* height: 60px; */
    background-color: transparent;
    mix-blend-mode: multiply;
}

#copyAbleLink{
    margin: 20px;
    text-align: right;
    cursor: pointer;
}

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

.footer-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.footer-nav a:hover {
    color: #8854d0;
}

.footer-socials {
    display: flex;
    gap: 30px;
}

.footer-socials img {
    width: 40px;
    height: 40px;
}

.footer-divider {
    margin: 30px auto;
    border: none;
    height: 2px;
    background-color: #b388ff;
    max-width: 1300px;
}

.footer-bottom p {
    font-size: 14px;
    margin: 0;
}


@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero img {
        margin-top: 30px;
    }
}


@media (max-width: 768px) {

    header {
        flex-direction: column;
        padding: 15px 20px;
    }

    .nav-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .carousel-section {
        width: 90%;
        margin: 20px auto;
        border-radius: 12px;
    }

    .carousel-item img {
        height: 250px;
    }

    .carousel-btn {
        font-size: 24px;
        padding: 6px 12px;
    }

    .carousel-content {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 10px;
        padding: 16px;
        box-shadow: none;
        background-color: #ffffff;
    }

    .carousel-content h3 {
        font-size: 20px;
    }

    .carousel-content p {
        font-size: 14px;
    }

    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .filters-search {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .filters-search select {
        flex: 1 1 30%;
        font-size: 13px;
    }

    .filters-search input[type="text"] {
        flex: 1 1 65%;
        min-width: 0;
        padding: 6px 8px;
        font-size: 13px;
        border: 1px solid #ccc;
        border-radius: 6px;
        transition: width 0.4s ease;
    }

    #search-btn {
        flex: 1 1 30%;
        max-width: none;
        padding: 8px 12px;
        background-color: #7f56d9;
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 14px;
        cursor: pointer;
    }

    #search-input:focus {
        width: 100%;
        box-shadow: 0 0 0 2px #cbb0ff;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card img {
        height: 180px;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 10px;
    }

    .footer-socials {
        gap: 20px;
    }
}