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

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


body {
    font-family: 'Gabarito', sans-serif;
    overflow-x: hidden;
}

.navbar {
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 100;
}


.navbar__s1 img {
    display: flex;
    width: 200px;
}

.navbar__s2 {
    display: flex;
    gap: 25px;
    align-items: center;
}

.navbar__s2 p {
    display: flex;
}

.navbar__s2 p:hover {
    background-color: #e5e5e5;
    border-radius: 30px;
    border-width: 2px;
    cursor: pointer;
}

.navbar__s3 {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.navbar__s3 p {
    font-weight: 600;
}

.navbar__s3__button {
    background-color: black;
    width: 65px;
    height: 40px;
    border-radius: 30px;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

.navbar__s4,
.navbar__s5 {
    display: none;
}

.user {
    width: 20px;
    height: 20px;
    align-items: center;
}

.title {
    padding: 30px 0;
    text-align: center;
    font-size: 1.8rem;
}


.items {
    display: flex;
    padding: 40px;
    justify-content: center;
    gap: 15px;
}

.items p {
    font-size: 14px;

}

.items p:hover {
    border-bottom: solid black 1px;
    cursor: pointer;
}

.search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 70%;
    max-width: 900px;
    margin: 20px auto;
    padding: 10px 14px;
    border: 2px solid #ccc;
    border-radius: 60px;
    background-color: #fff;
}

.search__s1 {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.search__s1 input {
    border: none;
    outline: none;
    font-size: 16px;
    width: 100%;
}

.search__s2 {
    display: flex;
    align-items: center;
}

.search__button {
    background-color: #34e06f;
    border: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}


.banner {
    padding: 40px;
    display: flex;
}

.banner img {
    border-radius: 20px;

}

.banner__b1 {
    padding: 10px 20px;
}

.banner__b1 img {
    width: 100%;
    border-radius: 20px;
}


.banner__b2 {
    padding: 10px 20px;
}

.banner__b2 img {
    width: 100%;
    border-radius: 10px;
}

.Heading {
    padding: 40px;
    gap: 2px;
    padding-left: 20px;
    padding-bottom: 2px;
}

.course-card h1 {
    color: black;
    font-size: 20px;
    left: 30px;
    padding: 10px;
    ;

}


.course-card__a3 {
    margin: 10px;
    flex-grow: 1;
    flex-basis: 20%;
}

.course-card__a3 p {
    margin-top: 5px;
    font-size: small;
}

.photo-card img {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.photo-card p {
    width: 200px;
}

.photo-card h3 {
    display: flex;
    width: 250px;
    padding: 5px;
}

.photo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px;
}


.photo img {
    width: 100%;
    border-radius: 20px;
     height: 200px;
    object-fit: cover;
}


.photo {
    padding: 10px;
}

.course-card__h3 img {
    border-radius: 20px;

}

.footer {
    background-color: #f3f5f9;
    padding: 50px 20px;
    font-family: Arial, sans-serif;
}

/* TOP SECTION */
.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-col p {
    font-size: 13px;
    margin-bottom: 6px;
    cursor: pointer;
}

.footer-col p:hover {
    text-decoration: underline;
}

/* DIVIDER */
.footer hr {
    margin: 30px 0;
    border: none;
    border-top: 1px solid #ccc;
}

/* BOTTOM SECTION */
.footer-bottom {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

/* BRAND */
.footer-brand img {
    width: 80px;      /* 👈 reduced size */
    height: auto;
    margin-bottom: 6px;
}


.footer-brand p {
    font-size: 12px;
}

/* LINKS */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
}

.footer-links a {
    cursor: pointer;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* CONTROLS */
.footer-controls select {
    padding: 6px 10px;
    margin-right: 8px;
    font-size: 12px;
}


@media (max-width: 768px) {
    .search {
        width: 90%;
    }
}

   
@media (max-width: 600px) {
 .navbar__s1 img {
        width: 120px;
    }

    body {
        font-size: 14px;
    }
    .navbar__s2{
        display: none;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-controls {
        margin-top: 10px;
    }
}
