﻿
body {
    font-family: Figtree;
    margin: 0;
    padding: 0;
}

.logo-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 60px;
}

.logo-text {
    width: 100px;
    margin-left: 10px;
    vertical-align: middle;
}



/* --- Accessibility Styles --- */
.accessibility {
    position: relative;
    display: inline-block;
}

    .accessibility svg {
        cursor: pointer;
        transition: transform 0.3s ease, fill 0.3s ease;
    }


/* Accessibility Panel */
.accessibility-panel {
    display: none;
    position: absolute;
    top: 130%;
    right: 0;
    background-color: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(105, 191, 175, 0.4);
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 0 12px rgba(105, 191, 175, 0.3);
    min-width: 180px;
    z-index: 999;
    animation: fadeIn 0.3s ease forwards;
}

    .accessibility-panel.active {
        display: block;
    }

    .accessibility-panel h4 {
        color: #69BFAF;
        font-size: 0.875rem;
        font-weight: 400;
        margin-bottom: 10px;
        text-align: center;
        font-family: "Figtree", sans-serif;
    }

.font-controls,
.theme-controls {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
}

.fontScaler,
.themeToggle {
    text-decoration: none;
    color: #fff;
    font-size: 0.8125rem;
    border: 1px solid rgba(105, 191, 175, 0.5);
    border-radius: 5px;
    padding: 4px 8px;
    transition: all 0.3s ease;
    font-family: "Figtree";
}

    .fontScaler:hover,
    .themeToggle:hover {
        background-color: #69BFAF;
        color: #000;
        box-shadow: 0 0 8px rgba(105, 191, 175, 0.7);
    }

/* Theme modes */
[data-theme="dark"] body {
    background-color: black;
    color: #fff;
}

[data-theme="light"] body {
    background-color: #fff;
    color: black;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

    .search-overlay.active {
        display: flex;
    }

/* Wrapper positions input + close button */
.search-wrapper {
    position: relative;
    width: 60%;
    max-width: 600px;
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #000;
    padding: 10px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: -135px;
    right: -80px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #000;
    background: transparent;
    font-size: 1.125rem;
    cursor: pointer;
    line-height: 25px;
    text-align: center;
}


/*menu bar*/

.hidden-menu {
    display: none;
    position: absolute;
    right: 60px;
    top: 120px;
    background: white;
    list-style: none;
    padding: 10px 15px;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.2);
    border-radius: 8px;
    z-index: 100;
}

    .hidden-menu li {
        margin: 10px 0;
    }

        .hidden-menu li a {
            text-decoration: none;
            color: #333;
        }

            .hidden-menu li a:hover {
                color: #007bff;
            }

.show-menu {
    display: block !important;
}


.banner h1 {
    font-family: Figtree;
    font-weight: 500;
    font-size: 4rem;
    margin-top: 6rem;
    margin-bottom: 8px;
    margin-left: 400px;
    max-width: 400px;
}

.banner p {
    font-family: Figtree;
    font-size: 1.2rem;
    font-weight: 200;
    max-width: 20rem;
    margin-left: 600px;
}


:root {
    --radius: 400px; /* distance from center to images */
}

.clock-face {
    position: relative;
    width: 800px;
    height: 800px;
    margin-top: 10rem;
    margin-bottom: 10rem;
    margin-left: 266px;
}

.bundle {
    position: relative;
    width: 100%;
    height: 100%;
    transform-origin: center;
}

    .bundle.rotate {
        animation: rotateOnce 2s linear forwards;
    }

@keyframes rotateOnce {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
    /* full spin */
}


.clock-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    border-radius: 14px;
    object-fit: cover;
    transform: translate(-50%, -50%) translate(var(--x, 0px), var(--y, 0px));
    transition: transform 1.5s ease-in-out;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    border: 2px solid rgba(255,255,255,0.15);
}

/* Center text */
.clock-face .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease;
    max-width: 380px;
    font-family: Figtree;
}

    .clock-face .content.show {
        opacity: 1;
    }


/* final clock positions */

.pos-12 {
    top: 4%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pos-1 {
    top: 12%;
    left: 75%;
    transform: translate(-50%, -50%);
}

.pos-2 {
    top: 28%;
    left: 88%;
    transform: translate(-50%, -50%);
}

.pos-3 {
    top: 50%;
    left: 94%;
    transform: translate(-50%, -50%);
}

.pos-4 {
    top: 65%;
    left: 88%;
    transform: translate(-50%, -50%);
}

.pos-5 {
    top: 85%;
    left: 60%;
    transform: translate(-50%, -50%);
}

.pos-6 {
    top: 85%;
    left: 45%;
    transform: translate(-50%, -50%);
}

.pos-7 {
    top: 65%;
    left: 16%;
    transform: translate(-50%, -50%);
}

.pos-8 {
    top: 50%;
    left: 9%;
    transform: translate(-50%, -50%);
}

.pos-9 {
    top: 28%;
    left: 15%;
    transform: translate(-50%, -50%);
}

.pos-10 {
    top: 12%;
    left: 25%;
    transform: translate(-50%, -50%);
}

.pos-11 {
    top: 12%;
    left: 25%;
    transform: translate(-50%, -50%);
}



/* Header text */
.clock-face .content h2 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    margin-left: 1rem;
    line-height: 1.2;
    font-family: figtree;
}

/* Paragraph text */
.clock-face .content p {
    font-size: 0.9rem;
    font-weight: 200;
    margin-left: 2rem !important;
    line-height: 1.6;
    margin: 0;
}


.row {
    position: relative;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 4rem;
}

.career-image {
    position: absolute;
    margin-left: 60px;
}

    .career-image img {
        max-width: 650px;
        height: 350px;
    }


        .career-image img:hover {
            border: 1px solid #69BFAF;
            box-shadow: 0 0 8px #69BFAF;
        }

.career-text {
    position: relative;
    max-width: 50%;
    padding: 30px;
    margin-left: 55%;
}

    .career-text .tag {
        display: inline-block;
        font-size: 0.9375rem;
        letter-spacing: 2px;
        color: #aaa;
        margin-top: 20px;
    }

    .career-text h3 {
        font-size: 2.5rem;
        font-weight: 500;
        margin-top: 20px;
        margin-bottom: 20px;
        font-family: Figtree;
        line-height: 1.2;
        max-width: 400px;
    }

    .career-text p {
        font-size: 0.9rem;
        font-weight: 200;
        font-family: Figtree;
        line-height: 1.5;
        max-width: 90%;
    }

    .career-text .tag-1 {
        margin-top: 350px;
        margin-right: 10rem;
        font-size: 0.9rem;
        font-weight: 200;
        font-family: Figtree;
        line-height: 1.5;
    }

.btn-1 {
    background: linear-gradient(90deg, #4ef1c0, #58e3f2);
    color: #fff;
    font-family: 'Figtree';
    padding: 12px 24px;
    margin-left: 565px;
    margin-top: 100px;
    text-decoration: none;
    font-weight: 100;
    box-shadow: 0 0 8px rgba(72, 255, 223, 0.6);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-2 {
    width: 150px;
    height: 50px;
    margin-left: 590px;
    margin-top: -80px;
    margin-bottom: 5rem;
    color: white;
    background-color: #000000;
    box-shadow: #69BFAF99 0px 0px 40px 0px;
    cursor: pointer;
}

.btn-3 {
    width: fit-content;
    padding: 10px 10px;
    height: 40px;
    margin-left: 610px;
    background-color: #69BFAF;
    box-shadow: #69BFAF4D 0px 0px 10px 0px;
    cursor: pointer;
}


[data-theme="light"]
button.btn-2 {
    background-color: rgba(26, 61, 89, 0.3);
    color: #1A3D59;
    box-shadow: #1A3D5999 0px 0px 20px 0px;
}

.stories {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin: 5rem 0;
}

    .stories h3 {
        font-size: 3rem;
        font-weight: 200;
    }

.card {
    position: relative;
    width: 370px;
    height: 230px;
}

.layer-1,
.layer-2,
.layer-3 {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(217, 217, 217, 0.07);
    box-shadow: 0 0 12px rgba(105, 191, 175, 0.3);
    font-family: "Figtree", sans-serif;
    transition: all 0.4s ease;
    cursor: pointer;
    overflow: hidden;
}

[data-theme="light"] .layer-1,
[data-theme="light"] .layer-2,
[data-theme="light"] .layer-3 {
    border: 2px solid lightgrey;
    box-shadow: 0 0 20px rgba(26, 61, 89, 0.2);
}
/* Glow effect on hover */
.layer-1:hover,
.layer-2:hover,
.layer-3:hover {
    box-shadow: 0 0 20px rgba(105, 191, 175, 0.8);
}


/* Top glowing layer */
.layer-1 {
    z-index: 3;
    padding: 2rem;
    height: 150px;
    transform: translateY(50px);
    box-shadow: 0 0 20px rgba(105, 191, 175, 0.2);
}

/* Slightly shifted back layer */
.layer-2 {
    z-index: 2;
    height: 175px;
    padding: 2rem;
    transform: translateY(25px);
    opacity: 0.7;
}

/* Further back faint layer */
.layer-3 {
    z-index: 1;
    height: 200px;
    padding: 2rem;
    transform: translateY(0px);
    opacity: 1;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 300;
    margin-bottom: 1rem;
}

.card text {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
}

    .card text span {
        font-size: 0.9rem;
        opacity: 0.8;
        margin-left: 5px;
    }

.layer-1.active,
.layer-2.active,
.layer-3.active {
    transform: translate(0px, 9px) scale(0.8);
    z-index: 5;
    opacity: 1;
}

/* Content fade animation */

.layer-2 p,
.layer-2 text,
.layer-3 p,
.layer-3 text {
    opacity: 0;
}

.layer-2.active p,
.layer-2.active text,
.layer-3.active p,
.layer-3.active text {
    opacity: 1;
    transition: opacity 0.4s ease;
}

/* Hidden content when layer goes behind */
.layer-1.hide-content p,
.layer-1.hide-content text,
.layer-2.hide-content p,
.layer-2.hide-content text,
.layer-3.hide-content p,
.layer-3.hide-content text {
    opacity: 0;
}



/* ---- MEDIA QUERY FOR SMALLER DESKTOPS (Below 1280) ---- */
@media (max-width: 1280px) {

    /* Banner Section */
    .banner h1 {
        margin-left: 400px;
    }

    .banner p {
        margin-left: 600px;
    }

    /* Circle Clock Section */
    .clock-face {
        width: 750px;
        height: 750px;
        margin-left: 245px;
        margin-top: 6rem;
    }

    .clock-img {
        width: 130px;
        height: 130px;
    }

    .clock-face .content h2 {
        margin-left: 2rem;
    }

    .clock-face .content p {
        margin-left: 1.2rem;
    }

    /* Career Section */
    .career-image img {
        max-width: 600px;
        height: auto;
        margin-top: 20px;
    }

    .career-text {
        margin-left: 55%;
        max-width: 40%;
    }

        .career-text p {
            max-width: 95%;
        }


    /* Buttons */
    .btn-1 {
        margin-left: 520px;
    }

    .btn-2 {
        margin-left: 550px;
    }

    .btn-3 {
        margin-left: 570px;
    }
}


/*1152px*/

@media (max-width: 1152px) {

    /* ========== BANNER ========== */


    .banner h1 {
        margin-left: 400px;
        font-size: 3rem;
        max-width: 380px;
    }

    .banner p {
        margin-left: 550px;
        font-size: 1.05rem;
    }


    /* ========== CIRCLE CLOCK ========== */
    .clock-face {
        width: 700px;
        height: 700px;
        margin-left: 210px;
        margin-top: 8rem;
    }

    .clock-img {
        width: 120px;
        height: 120px;
    }

    .clock-face .content h2 {
        font-size: 2.3rem;
    }


    /* ========== CAREER SECTION ========== */
    .career-image img {
        max-width: 550px;
        height: auto;
    }

    .career-text {
        margin-left: 55%;
        max-width: 45%;
    }

        .career-text h3 {
            font-size: 2.3rem;
            max-width: 360px;
        }

        .career-text .tag {
            font-size: 0.9rem
        }


    /* ========== BUTTONS ========== */
    .btn-1 {
        margin-left: 460px;
    }

    .btn-2 {
        margin-left: 480px;
    }

    .btn-3 {
        margin-left: 505px;
    }


    /* ========== STORIES SECTION ========== */
    .stories h3 {
        font-size: 2.6rem;
    }

    .card {
        width: 330px;
        height: 210px;
    }

    .layer-1,
    .layer-2,
    .layer-3 {
        padding: 1.8rem;
    }
}

@media (max-width: 1024px) {

    /* ========== BANNER ========== */

    .banner {
        background-position: 70% center !important;
        padding-bottom: 14rem !important;
    }

        .banner h1 {
            margin-left: 360px;
            font-size: 2.8rem;
            max-width: 360px;
        }

        .banner p {
            margin-left: 480px;
            font-size: 1rem;
        }


    /* ========== CIRCLE CLOCK ========== */
    .clock-face {
        width: 720px;
        height: 720px;
        margin-left: 130px;
        margin-top: 10rem;
    }

    .clock-img {
        width: 120px;
        height: 120px;
    }

    .clock-face .content h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }

    .clock-face .content p {
        margin-bottom: 4rem;
        line-height: 2;
    }



    /* ========== CAREER SECTION ========== */
    .row {
        height: auto;
        flex-direction: row;
        text-align: start;
        padding: 2rem 0;
        margin: 0 2rem;
    }

    .career-image {
        position: relative;
        margin: 0 auto;
    }

        .career-image img {
            max-width: 420px;
            height: 250px;
        }

    .career-text {
        margin-left: 50px;
        max-width: 90%;
        padding: 20px;
    }

        .career-text h3 {
            font-size: 2rem;
            max-width: 100%;
            margin-bottom: 0.8rem;
        }

        .career-text p {
            max-width: 100%;
            margin-bottom: 0;
            margin-top: 0;
        }

        .career-text .tag-1 {
            margin-top: 2rem;
            margin-right: 0;
        }

        .career-text .tag {
            font-size: 0.9rem;
            margin-top: 0;
        }

    .btn-1 {
        margin-top: 5rem;
        margin-left: 385px;
    }

    .btn-2 {
        margin-left: 430px;
    }

    .btn-3 {
        margin-left: 440px;
    }


    /* ========== STORIES SECTION ========== */
    .stories h3 {
        font-size: 2.4rem;
    }

    .card {
        width: 300px;
        height: 200px;
    }

    .layer-1,
    .layer-2,
    .layer-3 {
        padding: 1.5rem;
    }
}


/*900px */


@media (max-width: 900px) {

    .banner {
        background-position: 88% center !important;
        padding-bottom: 14rem !important;
    }

        .banner h1 {
            margin-left: 310px;
        }

        .banner p {
            margin-left: 425px;
        }

    .btn-1 {
        margin-left: 325px;
    }

    .btn-2 {
        margin-left: 365px;
    }

    .btn-3 {
        margin-left: 390px;
    }

    .clock-face {
        margin-left: 75px;
    }

    .career-image {
        width: 400px;
    }

    .career-text {
        margin-left: 40px;
    }
}

