* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f6f8ff;
}

/* ================= NAVBAR ================= */

.navbar {
    background: #0b1033;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 50px;
}

.logo h2 {
    color: white;
    font-size: 36px;
    font-weight: 700;
}

.logo span {
    color: #ffb400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: 500;
    transition: .3s;
}

.nav-links a:hover {
    color:#ffb400;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-right select {
    padding: 10px 25px;
    border: 1px solid white;
    border-radius: 12px;
    background: transparent;
    color: white;
    font-size: 16px;
    cursor: pointer;
    outline: none;
    min-width: 180px;
}

.nav-right select option {
    background: #f4f5f7;
    color: rgb(14, 1, 1);
}

.signup-btn {
    padding: 10px 25px;

    border-radius: 12px;
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #ff4f7b, #ff8b3d);
}

.signin-btn {
    padding: 10px 25px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #ff4f7b, #ff8b3d);
}

/* ================= NAV AUTH AREA ================= */

.nav-auth-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}


/* Ensure icon and username are white */
.nav-auth-area .nav-profile-icon i {
    color: #ffffff !important;
    font-size: 22px;
}

.nav-auth-area .nav-profile-icon span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    margin-left: 6px;
}


.nav-profile-icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    color: #ffffff;
}

.nav-profile-icon i {
    font-size: 22px;
    color: #e0dfca;
}

.nav-profile-icon span {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}

.nav-auth-btns {
    display: flex;
    gap: 6px;
}

.nav-auth-btns .signup-btn,
.nav-auth-btns .signin-btn {
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #ff4f7b, #ff8b3d);
    transition: .3s;
}

.nav-auth-btns .signup-btn:hover,
.nav-auth-btns .signin-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.profile-btn {
    padding: 8px 18px;
    font-size: 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #ffffff !important;
    background: linear-gradient(135deg, #ffb400, #ff8b3d) !important;
    transition: .3s;
}


.profile-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.logout-btn {
    padding: 8px 18px;
    font-size: 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #ffffff !important;
    background: linear-gradient(135deg, #ffb400, #ff8b3d) !important;
    transition: .3s;
}

.logout-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* ================= HERO ================= */

.hero {
    width: 95%;
    height: 450px;
    margin: 15px auto;
    border-radius: 30px;

    background:
        linear-gradient(rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)),
        url("https://images.unsplash.com/photo-1519501025264-65ba15a82390?w=1600");

    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-left: 80px;
}

.hero-content h3 {
    color: #6d45ff;
    font-size: 42px;
    font-weight: 400;
}

.hero-content h1 {
    font-size: 90px;
    line-height: 1;
    font-weight: 800;

    background: linear-gradient(90deg,
            #1f2a7d,
            #7928ca,
            #ff4d8d,
            #ff8b3d);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 24px;
    color: #ae9090;
    margin-top: 10px;
}

/* ================= SEARCH ================= */

.search-box {
    margin-top: 30px;
    display: flex;
    width: 700px;
}

.search-box input {
    flex: 1;
    padding: 20px;
    border: none;
    border-radius: 20px 0 0 20px;
    font-size: 18px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
}

.search-box button {
    padding: 20px 40px;
    border: none;
    border-radius: 0 20px 20px 0;
    background: linear-gradient(135deg,
            #6d45ff,
            #ff4f7b);

    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

/* ================= STATS ================= */

.stats {
    width: 95%;
    margin: -40px auto 30px;

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.stat-card {
    background: white;
    border-radius: 25px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, .08);

    transition: .3s;
}

.stat-card:hover {
    transform: translateY(-8px);
}

.stat-card i {
    font-size: 35px;
    color: #6d45ff;
    margin-bottom: 10px;
}

.stat-card h2 {
    color: #296cff;
    font-size: 34px;
}

.stat-card p {
    color: #555;
}

/* ================= EXPLORE ================= */

.explore {
    width: 95%;
    margin: 40px auto;
    padding: 40px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;

    background: linear-gradient(135deg,
            #e7e8f0,
            #eef3ff,
            #ffffff);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.explore::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(125, 107, 255, 0.12);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    animation: float1 8s ease-in-out infinite;
}

.explore::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(255, 79, 123, 0.12);
    border-radius: 50%;
    bottom: -80px;
    right: -80px;
    animation: float2 10s ease-in-out infinite;
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(30px);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

.explore h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1f2a7d;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

.explore h2::after {
    content: "";
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg,
            #7d3cff,
            #ff4f7b);
    display: block;
    margin: 10px auto 0;
    border-radius: 10px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.feature-card {
    backdrop-filter: blur(10px);
    transition: 0.4s;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.03);
}

/* ================= FEATURE CARDS ================= */

.feature-card {
    background: white;
    border-radius: 22px;
    padding: 20px;

    display: flex;
    flex-direction: column;

    box-shadow:
        0 8px 18px rgba(0, 0, 0, .08);

    transition: .4s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 18px 35px rgba(0, 0, 0, .15);
}

.feature-card i {
    font-size: 38px;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #1f2a7d;
    margin-bottom: 8px;

}

.feature-card p {
    color: #666;
    font-size: 14px;

}

a {
    text-decoration: none;
}

/* Different card colors */

.card-grid > a:nth-child(1) .feature-card i {
    color: #7d3cff;
}

.card-grid > a:nth-child(2) .feature-card i {
    color: #ff4081;
}

.card-grid > a:nth-child(3) .feature-card i {
    color: #eaaa14;
}

.card-grid > a:nth-child(4) .feature-card i {
    color: #2979ff;
}

.card-grid > a:nth-child(5) .feature-card i {
    color: #ff3d00;
}

.card-grid > a:nth-child(6) .feature-card i {
    color: #00c853;
}

.card-grid > a:nth-child(7) .feature-card i {
    color: #7d3cff;
}

.card-grid > a:nth-child(8) .feature-card i {
    color: #ff6d00;
}

.card-grid > a:nth-child(9) .feature-card i {
    color: #2962ff;
}

.card-grid > a:nth-child(10) .feature-card i {
    color: #00acc1;
}

.card-grid > a:nth-child(11) .feature-card i {
    color: #ff4081;
}

.card-grid > a:nth-child(12) .feature-card i {
    color: #43a047;
}

.card-grid > a:nth-child(13) .feature-card i {
    color: #7b1fa2;
}

.card-grid > a:nth-child(14) .feature-card i {
    color: #4caf50;
}

.card-grid > a:nth-child(15) .feature-card i {
    color: #ff6d00;
}

.card-grid > a:nth-child(16) .feature-card i {
    color: #2962ff;
}

.card-grid > a:nth-child(17) .feature-card i {
    color: #7d3cff;
}

.card-grid > a:nth-child(18) .feature-card i {
    color: #2962ff;
}

.card-grid > a:nth-child(19) .feature-card i {
    color: #ff4081;
}

.card-grid > a:nth-child(20) .feature-card i {
    color: #43a047;
}
/* ================= CTA ================= */

.cta {
    width: 95%;
    margin: 40px auto;

    border-radius: 25px;

    background:
        linear-gradient(135deg,
            #252d78,
            #7a35ff,
            #ff4f7b);

    color: white;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 40px 60px;
}

.cta h2 {
    font-size: 36px;
}

.cta p {
    margin-top: 10px;
}

.cta button {
    padding: 15px 35px;
    border: none;
    border-radius: 15px;

    background: #ff7a3d;
    color: white;

    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

/* ================= RESPONSIVE ================= */

@media(max-width:1200px) {

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 60px;
    }

    .search-box {
        width: 100%;
    }
}

@media(max-width:768px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 16px 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }

    .nav-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 30px 20px;
        height: auto;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: clamp(32px, 8vw, 50px);
    }

    .hero-content h3 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .search-box {
        width: 100%;
    }

    .stats {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

    .explore {
        padding: 30px 18px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .cta {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 20px;
    }
}

@media(max-width:480px) {
    .navbar {
        padding: 14px 12px;
    }

    .logo h2 {
        font-size: 28px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .nav-right select {
        min-width: 140px;
        font-size: 14px;
        padding: 8px 14px;
    }

    .hero {
        width: 100%;
        border-radius: 16px;
        padding: 25px 15px;
    }

    .hero-content h1 {
        font-size: clamp(26px, 7.5vw, 36px);
    }

    .hero-content h3 {
        font-size: 22px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .search-box {
        flex-direction: column;
        gap: 10px;
    }

    .search-box input {
        border-radius: 12px;
        padding: 14px 16px;
        font-size: 15px;
        width: 100%;
    }

    .search-box button {
        border-radius: 12px;
        padding: 14px 20px;
        font-size: 16px;
        width: 100%;
    }

    .explore h2 {
        font-size: 26px;
    }

    .cta h2 {
        font-size: 26px;
    }

    .cta button {
        width: 100%;
        padding: 14px 20px;
    }
}

.sub{
    font-size: 25px;
    color: black;
}

