/* Reset default margin and padding, box-sizing for all elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General body styling */
body {
    font-family: 'Poppins', sans-serif;
}

/* Header Styling */
header {
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: black;
    padding: 0 9%;
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: space-between;
    
    /* Remove fixed height to let content dictate height */
}

/* Adjustments for Header to accommodate font-size changes */
header a, header .navlist li {
    font-size: inherit; /* Inherit font size from the body */
}

/* Logo and header link styling */
header .logo {
    font-size: 16px;
    font-weight: 500;
}
header a {
    text-decoration: none;
}
header span {
    font-size: 18px;
    color: #f7a52a;
    font-weight: bold;
}
header s {
    color: aliceblue;
}

/* Navigation list styling */
ul.navlist {
    display: flex;
}

.navlist li {
    margin: 0 1rem;
}

.navlist li a {
    display: inline-flex;
    font-weight: 530;
    color: white;
    text-decoration: none;
}

.navlist li a:hover,
.navlist li a.active {
    color: #f7a52a;
    -webkit-background-clip: text;
}

/* Right header content styling */
.right-header {
    display: flex;
    align-items: center;
    justify-content: end;
    grid-gap: .8rem;
}

/* Accessibility settings */
.accessibility-settings {
    position: fixed;
    top: 70px;
    right: 20px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.accessibility-icon i {
    color: #333;
    cursor: pointer;
}

.accessibility-icon i:hover {
    color: #555;
}




/* Other styles */
.custom-div {
    background-color: #ffffff;
    padding: 20px;
    width: 90%;
    text-align: center;
    border: 2px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 18px;
}

.title {
    color: #b6abab;
    font-size: 14px;
    font-weight: 700;
    padding-bottom: 8px;
}

.greeting {
    font-size: 30px;
    padding-bottom: 7px;
    font-family: 'PT Sans', sans-serif;
    font-weight: 600;
}

.greeting s {
    color: #f7a52a;
}

.message {
    font-size: 18px;
}

/* Worker section */
hr {
    border-color: #f7a52a;
}

.workers-section {
    width: 95%;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.workers-section h2 {
    text-align: left;
    padding-bottom: 10px;
    margin: 0;
}

.worker-container {
    display: flex;
}

.worker-container a {
    margin: 0 10px;
    text-align: center;
    text-decoration: none;
    color: #333;
    padding: 6px 34px;
    font-weight: 500;
}

.worker-container img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    margin-bottom: 10px;
}

.worker-container p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.worker-container a:hover {
    background-color: #f7a52a;
    color: #fff;
    border-radius: 12px;
}

/* Style for the material section */
.material-popup {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
    border-radius: 8px;
}

#close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    cursor: pointer;
    color: red;
}

.material-heading {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.material-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.material-btn {
    display: block;
    width: 200px;
    padding: 10px;
    margin: 10px 0;
    background-color: #f7a52a;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
}

.material-btn:hover {
    background-color: #4CAF50;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 999;
}

/* Responsive styles */
@media(max-width:1200px){
    html{
        font-size: 100%;
    }
}

@media(max-width:991px){
    header, section, footer {
        padding-left: 3%;
        padding-right: 3%;
    }
}

@media (max-width: 768px) {
    header {
        padding: 2rem 3%;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    header .logo {
        font-size: 14px;
    }

    header span, header s {
        font-size: 12px;
    }

    ul.navlist {
        position: absolute;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 300px;
        background: black;
        display: none;
        flex-direction: column;
        border-radius: 10px;
    }

    ul.navlist.active {
        display: flex;
        align-items: center;
    }

    .navlist li {
        margin: 1rem 0;
    }

    .menu-icon {
        display: block;
        cursor: pointer;
        width: 20px;
        height: 18px;
    }

    .bar {
        width: 100%;
        height: 3px;
        background-color: white;
        margin: 6px 0;
        transition: 0.4s;
    }

    .menu-icon.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
        background-color: red;
    }

    .menu-icon.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-icon.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
        background-color: white;
    }

    .custom-div {
        padding-top: 2px;
    }

    .title {
        padding-top: 3px;
        font-size: 10px;
    }

    .greeting {
        font-size: 14px;
        padding-bottom: 4px;
    }

    .message {
        font-size: 12px;
    }

    .workers-section {
        padding: 20px;
        padding-top: 6px;
    }

    .workers-section h2 {
        font-size: 14px;
    }

    .worker-container {
        padding-top: 14px;
        padding-right: 2px;
    }

    .worker-container a {
        padding: 2px;
        font-weight: 500;
    }

    .worker-container img {
        width: 50px;
        height: 50px;
    }

    .worker-container p {
        font-size: 11px;
        color: black;
    }

    .worker-container a:hover {
        border-radius: 6px;
    }
}



