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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #E6E6E6;
    /* Font Smoothing for Crisp Text */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

/* ==================== HAMBURGER MENU ==================== */
.hamburger-menu {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
}

.hamburger-menu span {
    width: 28px;
    height: 3px;
    background-color: #1A1A1B;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.page-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

.sidebar {
    width: 280px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: relative;
    z-index: 50;
    /* Above regular content */
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

.sidebar-top {
    height: 35vh;
    background-color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-bottom {
    height: 65vh;
    background-color: #F2B824;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 35px;
}

.nav-links a {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: #1A1A1B;
    letter-spacing: 2px;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.main-content {
    flex-grow: 1;
    padding: 60px 100px 60px 80px;
    background-color: #E6E6E6;
    margin-left: 280px;
    margin-right: 80px;
    width: calc(100% - 360px);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.dash {
    width: 40px;
    height: 3px;
    background-color: #333;
}

.section-header h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    text-transform: uppercase;
    color: #333;
    font-weight: 700;
    margin: 0;
}

.bio-container h3 {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.bold-name {
    font-weight: 800;
    color: #1A1A1B;
    border-bottom: 3px solid #F2B824;
}

.bio-container p {
    max-width: 750px;
    line-height: 1.8;
    margin-bottom: 50px;
    font-weight: 400;
    font-size: 1.2rem;
}

.info-grid {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.services-col {
    flex: 1;
    min-width: 300px;
}

.facts-col {
    flex: 2;
    min-width: 300px;
}

.sub-title {
    font-family: 'Oswald', sans-serif;
    background-color: #F2B824;
    color: #1A1A1B;
    display: inline-block;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.icon-circle.yellow {
    width: 55px;
    height: 55px;
    background-color: transparent;
    border: 2px solid #F2B824;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-circle img {
    width: 24px;
}

.service-text strong {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: #333;
}

.service-text p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: 25px;
}

.fact-circle {
    width: 90px;
    height: 90px;
    background-color: #1A1A1B;
    border-radius: 50%;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.fact-circle:hover {
    transform: translateY(-5px);
}

.fact-circle strong {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    color: #F2B824;
}

.fact-circle span {
    font-size: 9px;
    text-transform: uppercase;
    margin-top: 2px;
    opacity: 0.8;
}


.right-nav {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 80px;
    /* Width of the strip */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    background-color: transparent;
}

.nav-line {
    width: 1px;
    height: 80px;
    background-color: #000000;
    margin: 20px 0;
}

.nav-icons {
    display: flex;
    flex-direction: column;
    gap: 30px;
}


.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;

    /* ADDED: Yellow Border around everyone */
    border: 1.5px solid #F2B824;
    background-color: transparent;

    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.nav-item img {
    width: 18px;
    height: 18px;
    /* CHANGED: Fully visible and Black */
    opacity: 1;
    filter: brightness(0);
    /* Forces icon to be black */
    transition: 0.3s;
}

.nav-item:hover,
.nav-item.active:hover {
    background-color: #F2B824;
    /* Fills with Yellow */
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(242, 184, 36, 0.5);
}

.nav-item:hover img,
.nav-item.active:hover img {
    /* Icon stays black on yellow background for contrast */
    filter: brightness(0);
}

/* When active but NOT hovering, looks same as others */
.nav-item.active {
    background-color: #F2B824;
    box-shadow: none;
}

.nav-item.active img {
    opacity: 1;
    filter: brightness(0);
}



.nav-item::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 55px;
    /* Position to left of icon */
    top: 50%;
    transform: translateY(-50%) translateX(10px);

    background-color: #1A1A1B;
    color: #F2B824;
    padding: 6px 12px;
    font-size: 12px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    white-space: nowrap;

    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.nav-item::after {
    content: '';
    position: absolute;
    right: 47px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #1A1A1B;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-item:hover::before,
.nav-item:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* ==================== MOBILE RESPONSIVENESS ==================== */

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex !important;
        flex-direction: column;
    }

    .page-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

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

    .sidebar-top {
        height: 200px;
    }

    .sidebar-bottom {
        flex-grow: 1;
        padding: 30px 0;
    }

    .profile-circle {
        width: 120px;
        height: 120px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 0.95rem;
    }

    .main-content {
        padding: 40px 30px;
        padding-top: 70px;
        flex-grow: 1;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .section-header h1 {
        font-size: 2.5rem;
    }

    .right-nav {
        display: none;
    }

    .bio-container h3 {
        font-size: 1.3rem;
    }

    .info-grid {
        flex-direction: column;
        gap: 40px;
    }

    .services-col,
    .facts-col {
        min-width: 100%;
    }

    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Mobile phones (480px and below) */
@media (max-width: 480px) {
    .sidebar-top {
        height: 320px;
    }

    .sidebar-bottom {
        padding: 20px 0;
    }

    .profile-circle {
        width: 150px;
        height: 150px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 1.3rem;
        padding: 8px 5px;
    }

    .main-content {
        padding: 30px 15px;
        padding-top: 70px;
    }

    .section-header {
        gap: 10px;
        margin-bottom: 20px;
    }

    .section-header h1 {
        font-size: 1.8rem;
    }

    .dash {
        width: 30px;
        height: 2px;
    }

    .bio-container h3 {
        font-size: 2.1rem;
        margin-bottom: 6px;
    }

    .bio-container p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .sub-title {
        font-size: 0.9rem;
        padding: 5px 12px;
    }

    .info-grid {
        flex-direction: column;
        gap: 30px;
    }

    .services-col,
    .facts-col {
        min-width: 100%;
    }

    .service-item,
    .service-item h4,
    .service-item p {
        font-size: 0.9rem;
    }

    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        gap: 10px;
    }

    .fact-card {
        padding: 15px;
    }
}