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


body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom, #c9ea7b, #f3eef5);
    color: #4b3f72;
    min-height: 100vh;
}

/* NAVBAR */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Logo */
.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;
    color: #4b3f72;
}

/* Navbar Menu */
nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    text-decoration: none;
    color: #4d3f87;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    color: #4d3f87;
    transition: 0.3s ease;
}

/* Hover Underline */
nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 3px;
    background: #b8d85b;
    border-radius: 10px;

    transition: 0.3s;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: #8dbb2e;
}

/* =========================
   CARD SECTION
========================= */

.card-section {
    width: 100%;
    min-height: 90vh;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 60px;
    padding: 60px 10%;
}

/* =========================
   CARD
========================= */

.card {
    width: 320px;

    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);

    border-radius: 25px;
    overflow: hidden;

    box-shadow:
            0 10px 25px rgba(0, 0, 0, 0.12),
            0 0 30px rgba(184, 216, 91, 0.4);

    transition: 0.3s;
}

/* Hover Card */
.card:hover {
    transform: translateY(-10px);

    box-shadow:
            0 15px 35px rgba(0, 0, 0, 0.18),
            0 0 40px rgba(184, 216, 91, 0.6);
}

/* =========================
   CARD IMAGE
========================= */

.card-image {
    width: 100%;
    height: 275px;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
    padding: 15px;
}

.card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 15px;

    transition: 0.4s;
}

/* Hover Zoom */
.card:hover .card-image img {
    transform: scale(1.08);
}

/* =========================
   CARD CONTENT
========================= */

.card-content {
    padding: 25px;
    text-align: center;
}

.card-content h2 {
    font-size: 24px;
    color: #4d3f87;

    margin-bottom: 15px;
}

.card-content p {
    font-size: 15px;
    line-height: 28px;
    color: #555;

    margin-bottom: 25px;
}

/* =========================
   BUTTON
========================= */

.btn-outline {
    width: 170px;
    height: 50px;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    text-decoration: none;

    border: 2px solid #b8d85b;
    border-radius: 12px;

    font-size: 16px;
    font-weight: 600;

    color: #8dbb2e;

    transition: 0.3s;
}

.btn-outline:hover {
    background: #b8d85b;
    color: white;

    transform: translateY(-3px);
}

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

@media (max-width: 768px) {

    header {
        padding: 15px 20px;
    }

    nav {
        gap: 15px;
    }

    nav a {
        font-size: 15px;
    }

    .card-section {
        padding: 40px 20px;
    }

    .card {
        width: 100%;
        max-width: 350px;
    }

}


   /*RESPONSIVE MOBILE*/

@media (max-width: 480px) {

    .logo {
        font-size: 24px;
    }

    nav a {
        font-size: 14px;
    }

    .card-content h2 {
        font-size: 20px;
    }

    .btn-outline {
        width: 100%;
    }

}