
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

header {
    background-color: #2E7D32;
    color: white;
    padding: 1rem;
    text-align: center;
}

.header-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}


.wordmark {
    margin: 0;
    font-family: "Segoe Script", "Pacifico", "Brush Script MT", cursive;
    font-weight: 600;
    font-size: 25px;
    letter-spacing: 0.5px;
    line-height: 1;
    color: #000;
}

.logo {
    width: 50px;
    height: 50px;
}

.home {
    font-size: 1.8rem;
    padding-top: 20px;
}

.hamburger {
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.nav-menu {
    display: none;
    width: 100%;
}

.nav-menu.active {
    display: block;
}

.nav-menu ul {
    list-style: none;
    padding: 1rem 0;
}

.nav-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.8rem;
    font-weight: bold;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(0, 0, 0, 0.35);
    color: #ffff;
}

main section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.about-profile-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.about {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.para {
    margin-bottom: 1rem ;
    line-height: 1.6;
}

.profile {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 320px;
    margin: 0 auto;
}

 h2 {
    margin-bottom: 1rem;
}

.profile-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.course-grid {
    display: grid;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.course-card {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.2rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease;
}

.course-card:hover {
    transform: translateY(-3px);
}

.course-card h3 {
    color: #2E7D32;
    margin-bottom: 0.5rem;
}

.course-title {
    font-weight: bold;
    margin: 0.4rem 0;
}

.course-card.completed {
    background: #e8f5e9;
    border: 2px solid #2E7D32;
}

.credits {
    font-size: 1.1rem;
    color: #272626;
}

 .total-credits {
    padding-top: 10px;
}

.tech {
    font-size: 0.95rem;
    color: #272525;
    margin-top: 0.6rem;
}

.completed {
    background: #e8f5e9;
    border-color: #2E7D32;
    box-shadow: 0 3px 10px rgba(46, 125, 50, 0.2);
}

.completed-badge {
    display: inline-block;
    background: #2E7D32;
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-top: 0.8rem;
}
.course-dialog h2 {
    margin: .25rem 0 .75rem;
    text-align: center;
}

.course-dialog .course-code {
    display: inline-block;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: #2E7D32;
    color: #111;
    font-weight: 800;
    letter-spacing: .5px;
}

.course-dialog h3 {
    margin: 0 0 .75rem;
    text-align: center;
}

.course-dialog .close-modal {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: .45rem .65rem;
    border: 1px solid rgb(0 0 0 / 15%);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.filter-controls {
    text-align: center;
    margin-bottom: 1rem;
}

.filter-btn {
    margin: 0.3rem;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
}

.filter-btn.active {
    background: #2E7D32;
    color: white;
}

footer {
    text-align: center;
    padding: 2rem 1rem;
    background: #424242;
    color: white;
    margin-top: 2rem;
}

.social-links {
    align-items: center;
    gap: 20px;
    
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-links a img {
    width: 40px;
    height: 40px;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}


.social-links a:nth-child(1):hover img {
    filter: brightness(0) saturate(100%) invert(100%);
    transform: scale(1.2);
}

.social-links a:nth-child(2):hover img {
    filter: invert(34%) sepia(82%) saturate(2871%) hue-rotate(192deg) brightness(96%) contrast(97%);
    transform: scale(1.2);
    
}

.social-links a:nth-child(3):hover img {
    filter: invert(25%) sepia(95%) saturate(5856%) hue-rotate(356deg) brightness(94%) contrast(105%);
    transform: scale(1.2);
    
}