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

body {
    background: #e8f1f4;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #e8f1f4; 
    z-index: 1000;
    transition: top 0.3s ease; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}



.navbar .logo a {
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    color: #1e7057;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-size: 1.2em;
    font-weight: 500;
}

.auth-buttons .btn {
    margin-left: 10px;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
}

.btn-login {
    color: #000;
    transition: background-color 2s ease;
}

.btn-login:hover {
    transform: 1s;
    background-color: #34777b;
    color: #fff;
}

.btn-primary {
    background-color: #34777b;
    color: #fff;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.search i {
    cursor: pointer;
    margin-left: -50px;
    shape-outside: circle(50%);
    clip-path: circle(6rem at right center);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 4px 0px;
    transition: 0.4s;
}

.search-popup {
    display: none;
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.search-popup .search-container {
    background-color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-popup input {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.search-popup button {
    padding: 0.5rem 1rem;
    background-color: #007bff;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
}

.search-popup .close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 10%;
        right: 0;
        background-color: #333;
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        color: #fff;
    }

    .nav-links.active {
        display: flex;
    }

    .auth-buttons {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
}

.quarter-circle-wrapper {
    position: absolute;
    height: 600px;
    width: 600px;
    top: 0;
    right: 0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -1;
}

.quarter-circle {
    position: relative;
    height: 600px;
    width: 600px;
    background: linear-gradient(75deg, #dffffc, #76bab4);
    border-radius: 0 0 0 100%;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 50px;
}

.hero-content {
    width: 50%;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 40px;
    margin-bottom: 30px;
}

.hero-image {
    width: 100%;
    max-width: 300px;
}

.hero-image img {
    width: 300px;
}

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

.semesters {
    padding: 60px 50px;
    text-align: center;
}

.semesters h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.semesters-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 20px;
    border: 0px 0px 1px 0px solid #ccc;
}

.card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 30%;
    box-sizing: 0px 2px 8px rgba(0,0,0,.1);
}

.card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.card .btn {
    margin-left: 10px;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
}

@media (max-width: 768px) {
    .semesters-container {
        flex-direction: column;
        align-items: center;
    }
    .card {
        width: 80%;
    }
    
}

footer {
    background-color: #538f8c;
    color: #fff;
    padding: 40px 50px;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-section p,
.footer-section ul,
.footer-section .social-links {
    font-size: 16px;
    color: #ccc;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links i {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #aaa;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        width: 80%;
    }
}
