:root {
    --green-color: rgb(129, 167, 34);
    --light-green-color: rgba(134, 187, 2, 0.75);
    --blue-color: rgb(18, 33, 116);
    --light-blue-color: rgba(18, 33, 116, 0.5);

    --logo-blue: #1d6fb7;
    --logo-orange: #fb7b1c;
    --logo-red: #e10613;
    --logo-green: #39a935;
    --logo-dark-blue: #29225c;

    --contact-background: var(--logo-dark-blue);
    --contact-color: var(--logo-blue);
    --nav-bar-color: var(--blue-color);
    --nav-bar-dropdown: var(--light-blue-color);
    --text-light-color: white;

    --icon-size: 40px;
    --animation-length: 0.5s;
    --anim-delay: 0.05s;
    /* --animation-length: 0.001s; */
    /* --anim-delay: 0.001s; */
    --pin-drop-height: -100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ==============================NavBar Styles============================== */
.nav-phone {
    width: 100%;
    height: 40px;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding-right: 20px;
    display: flex;
    align-items: center;
    justify-content: end;
    position: relative;
    z-index: 20;
}

header {
    position: relative;
    top: -20px;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0 2%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dark-header {
    width: 100%;
    height: 120px;
    background-color: var(--logo-dark-blue);
    position: absolute;
    top: 0;
}

.navbar-logo {
    width: 200px;
}

.navbar ul {
    list-style: none;
}

.navbar ul li {
    position: relative;
    float: left;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: 400;
    padding: 0 20px;
    display: block;
}

.navbar a:hover {
    color: var(--logo-orange);
}

.navbar ul li ul {
    position: absolute;
    left: 0;
    width: 200px;
    background: white;
    display: none;
}

.navbar .nav-dropdown {
    color: var(--logo-dark-blue);
    font-size: 1.3rem;
    font-weight: 300;
    padding: 5px 10px;
}

.navbar ul li ul li {
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar .nav-dropdown:hover {
    background-color: var(--logo-orange);
    color: var(--logo-dark-blue);
    width: 100%;
}

.navbar ul li:focus-within,
.navbar ul li:hover>ul {
    display: initial;
}

#menu-bar {
    display: none;
}

.toggle {
    position: relative;
    height: 40px;
    width: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 10px;
    transition-duration: 0.5s;
    display: none;
}

#middle {
    transition-duration: 0.5s;
}

#top,
#bottom {
    width: 100%;
}

.hamburger {
    width: 100%;
    height: 4px;
    background: white;
    border-radius: 4px;
}

@media (max-width: 1080px) {
    header {
        padding: 20px;
    }

    .toggle {
        display: flex;
    }

    .navbar {
        position: absolute;
        top: 60px;
        left: -100%;
        width: 80%;
        padding: 10% 0;
        background: rgba(0, 0, 0, 0.8);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        transition: transform 0.5s ease-in;
    }

    .navbar ul li {
        width: 100%;
        padding: 20px 0;
    }

    .navbar ul li ul {
        position: relative;
        width: 100%;
    }

    .navbar ul li ul li {
        background: rgba(70, 70, 70, 0.8);
        padding: 10px 0;
    }

    .navbar .nav-dropdown {
        color: white;
    }

    .navbar ul li ul li ul {
        width: 100%;
        left: 0;
    }

    #menu-bar:checked~.navbar {
        transform: translateX(125%);
    }

    #menu-bar:checked+.toggle .hamburger {
        position: absolute;
        transition-duration: 0.5s;
    }

    #menu-bar:checked+.toggle #middle {
        transform: scale(0);
        transition-duration: 0.5s;
    }

    #menu-bar:checked+.toggle #top {
        width: 100%;
        transform: rotate(45deg);
        transition-duration: 0.5s;
    }

    #menu-bar:checked+.toggle #bottom {
        width: 100%;
        transform: rotate(-45deg);
        transition-duration: 0.5s;
    }

    #menu-bar:checked+.toggle {
        transform: rotate(180deg);
        transition-duration: 0.5s;
    }
}


/* ==============================Carousel Styles============================== */
.carousel {
    width: 100%;
    height: 70vh;
    top: -170px;
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    position: absolute;
    z-index: 1;
}

/* ==============================About Styles============================== */
.about-container {
    display: flex;
    justify-content: center;
    position: relative;
    top: -120px;
}

.about-flex-container {
    max-width: 1500px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-text-container {
    display: flex;
    position: relative;
    width: 100%;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.about-text-container::before {
    content: "";
    position: absolute;
    z-index: -10;
    top: -70px;
    left: -100vw;
    width: 200vw;
    bottom: -50px;
    background-color: #678db3;
    background-color: var(--logo-blue);
}

.about-slogan p {
    position: relative;
    padding: 0 20px;
    font-size: 4.5rem;
    font-weight: 400;
    color: black;
    color: white;
    z-index: 2;
}

.about-slogan {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about-text {
    width: 50%;
    font-size: 1.275rem;
    font-weight: 500;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    color: white;
}

.about-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 5px;
    background-color: white;
}

.about-text p:first-of-type {
    margin-bottom: 20px;
}

.map-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
    /* margin-top: 100px; */
    margin-bottom: -70px;
}

.map-container-left {
    padding-left: 20px;
}

.map-container-left ul {
    font-size: 2rem;
    font-weight: 600;
    line-height: 130px;
    list-style-type: none;
}

.map-container-left .fa-circle-check {
    color: var(--logo-green);
    font-size: 2rem;
}

.map-container-left .fa-circle {
    font-size: 0.5rem;
    position: relative;
    transform: translate(-5px, -8px);
}

.check-icon {
    width: 50px;
    position: relative;
    transform: translateY(20%);
}

.map-container-right {
    width: 100%;
    max-width: 700px;
    aspect-ratio: 1152 / 1274;
    position: relative;
}

.map {
    background-image: url(images/map-green.png);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: -1;
}

/* ==============================Product Styles============================== */
.product-container-title {
    text-align: center;
    font-weight: 400;
    font-size: 3rem;
    color: var(--logo-dark-blue);
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    left: 50%;
    transform: translateX(-50%);
}

.product-container-title::before {
    content: "";
    height: 3px;
    width: 100%;
    background-color: var(--logo-dark-blue);
    position: absolute;
    bottom: -10px;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 50px 0;
    position: relative;
}

.product-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 2000px;
    gap: 20px;
    position: relative;
}

.product-container a {
    position: relative;
    display: block;
    width: 20%;
    aspect-ratio: 2 / 2;
    margin: 5px;
    text-decoration: none;
    cursor: pointer;
    border-radius: 50%;
}

.product-card {
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.product-image-card {
    width: 100%;
    height: 100%;
    position: relative;
    transition: all 0.3s;
}

.product-image-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: black;
    z-index: 1;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.product-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease-in-out;
}

.product-info {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: all 0.3s;
    z-index: 2;
}

.product-info-title {
    color: var(--logo-orange);
    font-size: 2.5rem;
    font-weight: 200;
    width: 100%;
}

.product-info-description {
    color: white;
    padding: 0 10px;
}

.product-card:hover img {
    scale: 1.3;
}

.product-card:hover .product-info {
    opacity: 1;
}

.product-card:hover .product-image-card::before {
    opacity: 0.8;
}

/* ==============================Footer Styles============================== */

.footer-container {
    width: 100%;
    background-color: rgb(62, 62, 62);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: first baseline
}

.footer-container div {
    padding-top: 20px;
    padding-bottom: 20px;
    width: 30%;
    min-width: 300px;
    height: 90%;
}

.footer-contact {
    line-height: 40px;
    text-align: center;
}

.footer-image {
    text-align: center;
    font-size: 3rem;
    color: white;
    background: var(--nav-bar-color);
    transform: translateY(100px);
}

.footer-image p {
    margin-top: auto;
    margin-bottom: auto;
}

.footer-links {
    text-align: center;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-light-color);
    transition: all 0.1s ease-in-out;
}

.footer-links a:hover {
    font-size: 1.4rem;
}

.contact-title {
    color: var(--text-light-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-text {
    color: var(--text-light-color);
    font-size: 1.1rem;
}

.footer-icons {
    display: inline;
}

.footer-icons a {
    display: inline;
    font-size: 3rem;
    margin: 0 10px;
    color: var(--text-light-color);
    transition: all 0.2s ease-in-out;
}

.footer-icons a:hover {
    color: rgb(141, 141, 141);
}

/* ==============================Responsive Styles============================== */

@media (max-width: 1290px) {
    .map-container-left ul {
        font-size: 2rem;
        font-weight: 600;
        line-height: 60px;
    }
}

@media (max-width: 1080px) {
    .navbar-logo {
        position: relative;
        top: -40px;
        left: -20px;
        width: 150px;
    }
}

@media (max-width: 1050px) {
    .product-container a {
        width: 300px;
    }
}

@media (max-width: 900px) {
    .carousel p {
        font-size: 10vw;
    }
}

@media (max-width: 800px) {
    .about-container {
        top: -150px;
    }

    .about-text-container {
        width: 100%;
        margin-bottom: 0;
        flex-direction: column;
        align-items: center;
    }

    .about-slogan, .about-text {
        width: 100%;
        margin-bottom: 50px;
        text-align: center;
    }

    .about-slogan {
        line-height: 70px;
    }
    
    .about-text-container::before {
        top: -70px;
        bottom: 0;
    }

    .about-text::before {
        top: -25px;
        left: 5%;
        height: 4px;
        width: 90%;
    }

    .map-container {
        margin-top: 30px;
    }
}

@media (orientation: landscape) and (max-height: 720px) {
    .carousel p {
        font-size: 12vh;
    }
}

@media (max-width: 600px) {
    .carousel {
        height: 50vh;
    }

    .nav-phone {
        font-size: 1.125rem;
    }

    .map-container-left ul {
        font-size: 1.3rem;
        line-height: 40px;
    }

    .map-container-left .fa-circle {
        font-size: 0.5rem;
        transform: translate(-1px, -5px);
    }
    
    .check-icon {
        width: 30px;
    }
}

@media (max-width: 400px) {
    .product-container-title {
        font-size: 10vw;
    }

    .product-container a {
        width: 90%;
        aspect-ratio: 2 / 1;
    }

    .product-info-title {
        font-size: 10vw;
    }

    .product-info-description {
        font-size: 5vw;
    }

    .about-slogan p {
        font-size: 3rem;
        line-height: 50px;
    }

    .about-text {
        font-size: 1rem;
    }

    .map-container {
        margin-top: 10px;
    }

    .map-container-left ul {
        font-size: 1rem;
        line-height: 20px;
    }
}

@media (max-width: 350px) {
    .nav-phone {
        font-size: 1rem;
    }

    .navbar-logo {
        width: 100px;
    }
}

@media (max-height: 900px) {
    .carousel {
        align-items: end;
    }

    .carousel p {
        padding-bottom: 50px;
    }
}

@media (pointer: coarse) {
    .product-info {
        opacity: 1;
    }

    .product-image-card::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-color: black;
        z-index: 1;
        opacity: 0.6;
    }
}