* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif;
}

body {
    background-color: #ffffff;
    color: #4b4b4b;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
}

/* Header */
.header {
    background-color: #ffffff;
    border-bottom: 2px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.logo-container .logo-text {
    color: #58cc02;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
    margin-right: 32px;
}

.nav-dropdown-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-item {
    color: #777777;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    padding: 20px 0; /* Add padding to make hover area larger */
}

.nav-item:hover, .nav-dropdown-wrapper:hover .nav-item {
    color: #4b4b4b;
}

.chevron {
    transition: transform 0.2s;
}

.nav-dropdown-wrapper:hover .chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 8px 0;
    list-style: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    min-width: 240px;
    z-index: 100;
}

.nav-dropdown-wrapper:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0px);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 24px;
    color: #777;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.dropdown-menu li a:hover {
    color: #4b4b4b;
    background-color: #f7f9fa;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    border-radius: 12px;
    font-weight: 800;
    font-size: 14px;
    padding: 10px 20px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: filter 0.2s, transform 0.1s;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
    text-align: center;
}

.btn:active {
    transform: translateY(2px);
}

.btn:hover {
    filter: brightness(0.95);
}

.btn-login {
    background-color: #ffffff;
    color: #1cb0f6;
    border: 2px solid #e5e5e5;
    border-bottom: 4px solid #e5e5e5;
}

.btn-login:active {
    border-bottom: 2px solid #e5e5e5;
    margin-top: 2px;
}

.btn-signup {
    background-color: #58cc02;
    color: #ffffff;
    border: 2px solid #58cc02;
    border-bottom: 4px solid #58a700;
}

.btn-signup:active {
    border-bottom: 2px solid #58a700;
    margin-top: 2px;
}


/* Main Content Layout */
.main-content {
    display: flex;
    justify-content: center;
    padding: 120px 20px 160px;
    flex: 1;
    background-color: #f7f9fa;
}

.cert-container {
    max-width: 840px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.cert-title {
    font-size: 15px;
    font-weight: 800;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cert-divider-thick {
    border: none;
    border-top: 2px solid #e5e5e5;
    margin: -10px 0 0 0;
}

.cert-verify {
    text-align: center;
    color: #777;
    font-size: 15px;
    margin-top: 20px;
}

.cert-verify a {
    color: #1cb0f6;
    text-decoration: none;
    font-weight: 800;
}

.cert-verify a:hover {
    /* No underline on hover */
}

.divider {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 10px 0;
}

/* Profile Section */
.profile-section {
    display: flex;
    align-items: center;
    gap: 24px;
}

.profile-pic svg, .profile-pic img {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    display: block;
    object-fit: cover;
}

.profile-info {
    flex: 1;
}

.profile-info h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #4b4b4b;
}

.profile-details {
    display: flex;
    gap: 40px;
}

.details-col p {
    font-size: 15px;
    line-height: 1.8;
    color: #777;
}

.details-col strong {
    color: #777;
    font-weight: 800;
}

.details-col a {
    color: #1cb0f6;
    text-decoration: none;
    font-weight: 700;
}

.details-col a:hover {
    /* No underline on hover */
}

/* Sections General */
.score-section h3 {
    font-size: 20px;
    font-weight: 800;
    color: #4b4b4b;
    margin-bottom: 16px;
}

/* Overall Score Card */
.overall-card {
    display: flex;
    border: 2px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;
}

.gauge-container {
    width: 260px;
    padding: 32px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 2px solid #e5e5e5;
}



.desc-container {
    flex: 1;
    padding: 32px 40px;
    background-color: #ffffff;
}

.desc-container h4 {
    font-size: 18px;
    font-weight: 800;
    color: #4b4b4b;
    margin-bottom: 12px;
}

.bullet-list {
    list-style: none;
}

.bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #777;
    line-height: 1.5;
    font-weight: 600;
}

.check-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Subscores Cards */
.subscores-card {
    display: flex;
    border: 2px solid #e5e5e5;
    border-radius: 16px;
    padding: 32px 0;
    justify-content: space-evenly;
}

.subscore-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
}

.subscore-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 0px;
}

.sub-label {
    font-size: 13px;
    font-weight: 800;
    color: #777;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sub-value {
    font-size: 36px;
    font-weight: 900;
    color: #4b4b4b;
    letter-spacing: -0.5px;
}

.sub-desc {
    font-size: 13px;
    color: #afafaf;
    margin-top: 8px;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: #58cc02;
    color: #ffffff;
    padding: 60px 24px 40px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo .logo-text {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-col h3 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
}

.footer-col a:hover {
    opacity: 0.8;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 0 0 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.social-icon:hover {
    opacity: 0.8;
}

/* Mobile Responsiveness */
.hamburger-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 1000;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu-overlay.open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 2px solid #e5e5e5;
}

.close-menu {
    cursor: pointer;
}

.mobile-menu-content {
    padding: 0;
}

.mobile-btn-container {
    padding: 24px;
    border-bottom: 1px solid #e5e5e5;
}

.mobile-btn-dashboard {
    width: 100%;
    margin-bottom: 0;
}

.mobile-nav-section {
    padding: 24px;
    border-bottom: 1px solid #e5e5e5;
}

.mobile-nav-section h3 {
    font-size: 13px;
    font-weight: 900;
    color: #afafaf;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.mobile-nav-section a {
    display: block;
    color: #4b4b4b;
    text-decoration: none;
    font-weight: 800;
    font-size: 17px;
    margin-bottom: 24px;
}

.mobile-nav-section a:last-child {
    margin-bottom: 0;
}

/* Media Queries for Screens smaller than 900px */
@media (max-width: 900px) {
    .nav-links, .auth-buttons {
        display: none;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    .header-container {
        justify-content: space-between;
    }
    
    .header-container .logo-container {
        margin: 0 auto;
    }
    
    .hamburger-menu {
        position: absolute;
        left: 20px;
    }

    /* Certificate Responsiveness */
    .cert-container {
        min-width: 840px;
        margin: 0 auto;
    }
    .main-content {
        padding: 0;
        overflow-x: hidden;
    }
    
    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }
}
