/* General Styles */

html {
    scroll-behavior: smooth;
}

* {
    transition: all 0.3s ease; /* Applies to all properties with a smooth transition */
}


body {
    font-family: 'Inter', sans-serif;
    background-color: #EEEEEE;
    margin: 0;
    padding: 0;
}

h1 {
    margin-block-start: 0;
    margin-block-end: 0;
}

.b-10 {
    margin-bottom: 10px;
}

.b-30 {
    margin-bottom: 30px;
}

.l-5 {
    margin-left: 5px;
}

.r_5 {
    margin-right: -5px;
}

header {
    position: absolute; /* Keeps the header at the top of the screen */
    top: 0;          /* Aligns it to the top */
    left: 0;
    width: 100%;     /* Ensures it stretches across the screen */
    background-color: none;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);*/
    z-index: 1000;   /* Ensures the header stays on top of other elements */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1340px;
    max-width: 90%;
    padding: 30px 0;
    margin: 0 auto;
}

.header-container .logo img {
    height: 50px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin: 0 20px;
}

/* Remove right margin from the last list item */
nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    position: relative; /* Ensures the pseudo-element can be positioned relative to the link */
    transition: color 0.3s ease; /* Transition for color change */
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
    transform: scaleX(0); /* Initially, the underline is invisible */
    transform-origin: bottom right; /* Makes the underline grow from the right */
    transition: transform 0.3s ease; /* Smooth transition for the underline */
}

.footer-section nav ul li a::after {
    background-color: white;
}


nav ul li a:hover::after {
    transform: scaleX(1); /* On hover, make the underline visible */
    transform-origin: bottom left; /* Makes the underline grow from the left */
}

/* Hero Section */
#hero {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url('/video/cq_back_vid_2.mp4') no-repeat center center fixed;
    background-size: cover;
    height: 850px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Stacks the logo and button vertically */
    text-align: center;
    width: 100%;
}

@media (max-width: 700px) {
    #hero {
        height: 650px;
    }
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Places the video behind the content */
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Ensures the video is in the background */
}

.hero-container {
    position: relative; /* Keeps the content (logo and button) on top of the video */
    width: 100%;
    max-width: 90%;
    text-align: center;
    z-index: 1; /* Keeps content above video */
}


.hero-logo img {
    width: 100%; /* Scales the SVG to 90% of the container */
    max-width: 500px; /* Ensures it doesn't exceed its container */
    margin-bottom: 30px;
    height: auto; /* Keeps the aspect ratio */
}


.hero-button-container {
    display: flex;
    justify-content: center; /* Centers the button horizontally */
}

.hero-button {
    display: inline-block;
    width: 250px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    color: white;
    border: 2px solid white;
    border-radius: 9px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background-color: white;
    color: black;
}

.split-section {
    width: 100%;
    padding: 90px 0;
}

.split-section a {
    color: black;
    text-decoration: none;
    font-weight: 600;
    opacity: 1;
    transition: all 0.3s ease;
}

.split-section a:hover {
    color: black;
    text-decoration: none;
    opacity: 0.6;
}

.background-white {
    background-color: #FFF;
}

.section-container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically centers the sections */
    width: 1280px;
    max-width: 90%;
    margin: 0 auto;
}

.left-section {
    width: calc(50% - 30px); /* 50% of the container minus half of the gap (60px) */
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers the text inside the section */
}

.left-section h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 40px;
    font-weight: 500;
}

.left-section p {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 300;
}

.right-section {
    width: calc(50% - 30px); /* 50% of the container minus half of the gap (60px) */
}

.right-section img {
    width: 100%; /* Ensures the image is responsive */
    height: auto;
}

/* Media query for screens 800px or smaller */
@media (max-width: 900px) {
    .section-container {
        flex-direction: column; /* Stacks the sections vertically */
        text-align: center; /* Centers the text for small screens */
    }

    .left-section, .right-section {
        width: 100%; /* Makes both sections take full width */
        margin-bottom: 30px; /* Adds space between the sections */
    }

    .split-section .hero-button {
        margin-bottom: 30px;
    }
}

.text-uppercase {
    text-transform: uppercase;
}

.pdf-button {
    display: inline-block;
    width: 250px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    color: #000;
    border: 2px solid #000;
    border-radius: 9px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px; /* Adds space above the button */
}

.pdf-button:hover {
    background-color: #000;
    color: #FFF;
}

.footer-section {
    width: 100%;
    background-color: #000; /* Dark background */
    padding: 60px 0;
    color: #fff;
    text-align: center;
}

.footer-container {
    width: 1280px;
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px; /* Spacing between elements */
}

.footer-logo img {
    width: 80px;
    height: auto;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    /* gap: 30px;  Space between menu items */
}

.footer-nav ul li {
    display: inline-block;
}

.footer-nav ul li a {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #FFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    opacity: 0.8; /* Slight transparency for subtle styling */
}

.footer-thank-you {
    text-align: center;
    margin-top: 30px; /* Space between nav and thank-you section */
    margin-bottom: 30px; /* Space before the copyright */
}

.footer-thank-you h3 {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #FFF;
    margin-bottom: 15px;
}

.footer-thank-you p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #FFF;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

footer nav ul li:first-child {
    margin-left: 0; /* Removes left margin from the first list item */
}

/* Byte 19 Credit */

.footer-byte19-container img {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}

.footer-byte19 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: white;
    margin-bottom: 10px;
}

.footer-byte19 a {
    color: white; /* Match the theme color */
    text-decoration: none;
    font-weight: 600;
    position: relative;
    display: inline-block; /* Ensures proper positioning */
}

.footer-byte19 a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px; /* Distance from text */
    width: 100%; /* Full width initially */
    height: 2px;
    background-color: white;
    transform: scaleX(0); /* Start with no underline visible */
    transform-origin: left; /* Start animation from the left */
    transition: transform 0.3s ease-in-out; /* Smooth transition */
}

.footer-byte19 a:hover::after {
    transform: scaleX(1); /* Expand underline from left to right */
}



@media (max-width: 400px) {
    .footer-nav li:nth-child(2) { /* Target the second menu item (REVIEWS) */
        display: none;
    }
}

@media (max-width: 600px) {
    .header-nav li:nth-child(3) { /* Target the second menu item (REVIEWS) */
        display: none;
    }
}

@media (max-width: 600px) {
    .header-nav li:nth-child(4) { /* Target the second menu item (REVIEWS) */
        display: none;
    }
}


/* Footer Credit Section */
.footer-credit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
    color: #ffffff;
    top: 50px;
    z-index: 4;
}

/* Shark Logo in Footer */
.footer-credit p {
    position: relative;
    top: -4px;
    right: -11px;
    font-size: 18px;
}

.footer-credit svg path {
    fill: #ffffff; /* Change to your desired color */
    transition: fill 0.3s ease;
}


.footer-credit svg:hover path {
    fill: #6837C9; /* Change to your desired color */
}

.second-cities h3 {
    color: var(--dark-color);
}

/* Smaller Waves and Fin */
/* Waves section */
.waves {
    position: relative;
    overflow: hidden;
    height: 22px; /* Exact height of your wave SVG */
    width: 100%;
    background-image: url('/image/wave-small.svg'); /* Path to your wave */
    background-repeat: repeat-x; /* Tile horizontally forever */
    background-size: 50px 22px; /* Exact size of one wave */
    animation: wave-scroll 10s linear infinite; /* Infinite scroll */
    z-index: 3;
    top: 50px;
}

/* Animation to move the waves */
@keyframes wave-scroll {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -100px 0; /* Move by exactly one wave width */
    }
}

/* Shark Fin */
.shark-fin {
    position: relative;
    top: 72px;
    z-index: 1; /* Behind the wave */
    width: 100%; /* Full width of the footer */
    overflow: hidden; /* Hide anything outside the container */
}

/* Shark Fin Image */
.shark-fin img {
    width: auto;
    height: 100%; /* Ensures it matches the height */
    left: 0; /* Start from the left */
    animation: fin-drift 20s linear infinite; /* Animation to move left to right */
}


/* Continuous scrolling animation for shark fin */
@keyframes fin-drift {
    0% {
        transform: translateX(-200px); /* Start off-screen to the left (full width of the viewport) */
    }
    100% {
        transform: translateX(100vw); /* Move to the right off-screen (full width of the viewport) */
    }
}

.ocean-wrapper {
    position: relative;
    height: 20px;
    z-index: 2;
}

.ocean-color {
    height: 88px;
    width: 100%;
    background-color: #1a1a1a;
    position: absolute;
    top: 49px;
    left: 0;
}