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

/* Used to center the navbar (main menu) and other space adjustments */
.navbar {
    background: transparent;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    position: fixed;  /* stays at top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid black; 
}

/* Seperates JE duplet and the menu and puts them at opposite sides of the website */
.navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

/* Customizes the JE Duplet (or whatever is at the top left part */
#navbar__logo {
    background-image: linear-gradient(to right, #4a90e2, #6fb1fc); /* muted royal → soft sky blue */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 3rem;
    font-family: 'Sacramento', cursive;
}

/* Class for icon */
.fa-gem {
    margin-right: 0.5rem;
}

/* Puts menu/navbar in a horizontal way */
.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

/* Moves up Home, Tech, and Products */
.navbar__item {
    height: 80px; 
}

/* Changes color and spacing (relative to each other) of Home, Tech, and Products */
.navbar__links {
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 1.2rem;
    height: 100%;
}

/* Spaces the Sign Up section properly */
.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

/* Adds the border around Sign Up */
.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 12px 28px;
    height: auto;
    width: auto;
    border: none;
    outline: none; 
    border-radius: 6px;
    background-color: black;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Adds the transition for when you hover over he Sign Up button */
.button:hover {
    background-color: white;        /* background becomes white */
    color: black;                   /* text becomes black */
    border: 2px solid black;        /* optional: keep a visible border */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Adds the transition for when you hover over Home, Tech or Products */
.navbar__links:hover {
    color: white;                   /* text turns white */
    transition: all 0.3s ease;
}

/* Puts the navbar/menu into a dropdown format (when tab is compressed) */
@media screen and (max-width: 960px) {
    .navbar__container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }
    
    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 0;
        transition: all 0.5s ease;
        height: 50vh;
        z-index: -1;
    }

    /* javascript related portion */
    .navbar__menu.active {
        background: #fff;
        top: 100%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: 50vh;
        font-size: 1.6rem;
    }

    #navbar__logo {
        padding-left: 25px;
    }

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #4a90e2;
    }

    .navbar__item {
        width: 100%;
    }

    .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .navbar__btn {
        padding-bottom: 2rem;
    }

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80px;
        margin: 0;
    }

    .navbar__toggle .bar {
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* HERO IMAGE - full width at top */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* full viewport height */
    overflow: hidden;
}

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

/* NAVBAR transparent at top */
.navbar {
    background: transparent;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    position: fixed;  /* fixed so it overlaps hero */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* NAVBAR when scrolled */
.navbar.scrolled {
    background: #d6eaff; /* your original navbar color */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


/* History Section CSS */
.history {
    background-color: #F0F8FF;
    padding-bottom: 2rem;
}

.history__container {
    display: flex;
    flex-direction: column; 
    align-items: center;   
    justify-content: center;
    margin: 0 auto;
    background-color: #F0F8FF;
    z-index: 1;
    width: 100%;
    max-width: 950px;
    padding: 50px 20px;
    text-align: center;    
    line-height: 1.5;
}

/* Changing the color of h1 tag in title */
.history__title h1 {
    font-size: 5rem;
    color: black;
    font-family: 'Questrial', sans-serif;
    font-weight: 100;
}

.history__img--container {
    text-align: center;
    margin-bottom: 50px;
}

#main__img {
    height: 100%;
    width: 100%;
}

/* Changing the attributes of h1 tag in content */
.history__content h1 {
    font-size: 2rem;
    font-weight: 100;
    color: #708090; 
    margin-bottom: 150px;
    font-family: 'Questrial', sans-serif;
}

/* Why Choose Us (title) */
.history__title2 h1 {
    font-size: 5rem;
    color: black;
    font-family: 'Questrial', sans-serif;
    font-weight: 100;
    margin-bottom: 35px;
}

/* Values Section CSS */
.values {
    background-color: #F0F8FF;
    padding-bottom: 2rem;
    text-align: center;
    margin-top: -4rem;
}

.values__container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.value__item {
  flex: 1 1 250px;
  max-width: 300px;
}

.value__circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1rem auto;
  color: white;
  font-size: 2rem;
}

.value__item h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Questrial', sans-serif;
}

.value__item p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.4;
}

/* Skeptical section CSS */
.skeptical {
    background-color: #F0F8FF;
    padding-bottom: 2rem;
}

.skeptical__container {
    display: flex;
    flex-direction: column; 
    align-items: center;   
    justify-content: center;
    margin: 0 auto;
    background-color: #F0F8FF;
    z-index: 1;
    width: 100%;
    max-width: 950px;
    padding: 50px 20px;
    text-align: center;    
    line-height: 1.5
}

/* Still skeptical title */
.skeptical h1 {
    font-size: 5rem;
    color: black;
    margin-bottom: 10px;
    font-family: 'Questrial', sans-serif;
    font-weight: 100;
    letter-spacing: 0.1rem;
}

.skeptical h2 {
    font-size: 2rem;
    color: #708090; 
    font-family: 'Questrial', sans-serif;
    font-weight: 100;
}

/* Colors and spaces the Videos button */
.main__btn {
    font-size: 1rem;
    padding: 14px 32px;
    border: 2px solid black;      /* black border */
    border-radius: 6px;
    color: #fff;                   /* initial text color: white */
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.35s ease;
    outline: none;
    background-color: black;       /* initial background: black */
    margin-top: 2rem;
}

/* Concerns the a tag within the Get Started button */
.main__btn a {
    position: relative;
    z-index: 2;
    color: #fff;
    text-decoration: none;
}

/* hover animation */
.main__btn:hover {
    background-color: white;       /* background becomes white */
    color: black;                  /* text becomes black */
    border: 2px solid black;       /* keeps border visible */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2); /* subtle shadow on hover */
}


/* Mobile Responsive */
@media screen and (max-width: 760px) {
    .main__container {
        display: grid;
        grid-template-columns: auto;
        align-items: center;
        justify-self: center;
        width: 100%;
        margin: 0 auto;
        height: 90vh;
    }

    .main__content {
        text-align: center;
        margin-bottom: 4rem;
    }

    .main__content h1 {
        font-size: 2.5rem;
        margin-top: 2rem;
    }

    .main__content h2 {
        font-size: 3rem;
    }

    .main__content p {
        margin-top: 1rem;
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .main__content h1 {
        font-size: 2rem;
        margin-top: 3rem;
    }

    .main__content h2 {
        font-size: 2rem;
    }

    .main__content p {
        margin-top: 2rem;
        font-size: 1.5rem;
    }

    .main__btn {
        padding: 12px 36px;
        margin: 2.5rem 0;
    }
}

/* About Me Section CSS */
.aboutMe {
    background: #F0F8FF;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
}

.aboutMe h1 {
    font-size: 5rem;
    font-family: 'Questrial', sans-serif;
    font-weight: 100;
    margin-bottom: 50px;
}

.aboutMe__container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Ethan Z's About Me */
.bio {
    margin: 1rem;
    height: 525px;
    width: 420px;
    border-radius: 4px;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%,
    rgba(17,17,17,0.6) 100%), url('/images/pic3.jpg');
    background-size: cover;
    position: relative;
    color: #fff;
}

/* Justin C's About Me */
.bio:nth-child(2) {
    background-image: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0) 0%,
        rgba(17,17,17,0.6) 100%), 
    url('/images/pic2.jpg');
    background-size: cover;
    position: relative;
    color: #fff;
}

/* Ethan L's AboutMe */
.bio:nth-child(3) {
    background-image: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0) 0%,
        rgba(17,17,17,0.6) 100%), 
    url('/images/pic2.jpg');
    background-size: cover;
    position: relative;
    color: #fff;
}

/* My About Me */
.bio:nth-child(4) {
    background-image: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0) 0%,
        rgba(17,17,17,0.6) 100%), 
    url('/images/pic3.jpg');
    background-size: cover;
    position: relative;
    color: #fff;
}

.bio__info {
    position: absolute;
    bottom: 80px;              /* adjust as needed */
    left: 30px;
    width: 400px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    border-radius: 6px;
    font-size: 1.3rem;
    opacity: 0;                /* invisible */
    visibility: hidden;        /* ensures it's not clickable */
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Show the bio info when hovering over the button */
.bio button:hover + .bio__info {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* (Optional) Also allow hovering over the info itself so it doesn't disappear */
.bio__info:hover {
    display: block;
}

.aboutMe h2 {
    position: absolute;
    top: 350px;
    left: 30px;
}

.bio p {
    position: absolute;
    top: 400px;
    left: 30px;
}

.bio button {
    color: white;                   /* white text */
    padding: 10px 20px;
    border: 2px solid black;        /* black border */
    outline: none;
    border-radius: 4px;
    background-color: black;        /* solid black background */
    position: absolute;
    top: 440px;
    left: 30px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;      /* smooth hover effect */
}

/* Hover effect: invert colors */
.bio button:hover {
    background-color: white;        /* background turns white */
    color: black;                   /* text turns black */
    border: 2px solid black;        /* keeps the border visible */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2); /* subtle shadow */
}

@media screen and (max-width: 960px) {
    .aboutMe {
        height: 1600px;
    }

    .aboutMe h1 {
        font-size: 2rem;
        margin-top: 12rem;
    }

    @media screen and (max-width: 480px) {
        .aboutMe {
            height: 1400px;
        }
    }

    .aboutMe h1 {
        font-size: 1.2rem;
    }

    .bio {
        width: 300px;
    }
}

/* Footer CSS */
.footer__container {
    background-color: #F0F8FF;
    padding: 5rem 0;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
}

.footer__logo {
    color: black;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
    margin-top: 650px;
    font-family: 'Sacramento', cursive;
}