/* Your original CSS is preserved. Only the .mobile-nav section has been adapted for styling consistency. */

:root {
    --orange: #E7792C;
    --brown: #6F2518;
    --white: #ffffff;
    --black: #000000;
}

body {
    margin: 0;
    font-family: sans-serif;
    color: var(--black);
}

header {
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    position: fixed;
    width: 100%;
    z-index: 9900;
    top: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
}

h1 {
    font-size: 45px;
}

.top-banner {
    height: 15vh;
    background-image: url('../images/extra-banner.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

.top-banner .extra-content h1 {
    margin: 0;
    font-size: 36px;
}

@media (min-width: 769px) {
    .top-banner .extra-content {
        justify-content: flex-start;
        text-align: left;
        padding-left: 60%;
    }
}

.extra-content {
    max-width: 1000px;
    padding: 0 20px;
    margin: 0 auto;
}

.extra-content h1 {
    position: relative;
    top: -100px;
    color: white;
    font-size: 36px;
    z-index: 5000;
}

.extra-content h2 {
    position: relative;
    top: -55px;
    font-size: 28px;
}
.extra-content img {
    position: relative;
    top: -45px;
}

.extra-content p,
.extra-content li {
    position: relative;
    top: -55px;
    font-size: 18px;
    line-height: 1.6;
}

.image-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.left-image,
.right-image {
    height: 50px;
}

.scroller-container {
    position: relative;
    overflow: hidden;
    height: 80vh;
    z-index: 1;
    padding-top: 0;
    margin-top: 0;
    top: 0;
}

.scroller {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.scroller li {
    font-size: 22px;
    line-height: 45px;
}

.scroller a {
    color: #c2d3fc;
    font-size: 22px;
    padding: 30px 0 0 42px;
    display: inline-block;
}

.slide {
    flex: 0 0 100%;
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10%;
    color: white;
    box-sizing: border-box;
}

.button {
    text-decoration: none;
    letter-spacing: 0.02em;
    font-weight: 700;
}

.dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10;
}

.arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    user-select: none;
}

.left-arrow { left: 20px; }
.right-arrow { right: 20px; }

.reference {
    height: 130px;
    overflow: hidden;
    background-color: #f5f5f5;
    position: relative;
}

.reference p {
    font-size: 18px;
    color: gray;
    padding: 15px 0 15px 25px;
    line-height: 10px;
    background-color: #fff;
    margin: 0;
}

.scrolling-image {
    display: flex;
    align-items: center;
    height: 90px;
    width: max-content;
    animation: scroll-left 60s linear infinite;
}

.scrolling-image img {
    height: 100%;
    width: auto;
}

@media (min-width: 769px) {
    .arrow { display: block; }
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    padding-left: 40px;
}

.top-nav {
    margin-right: 70px;
    z-index: 9000;
}

.top-nav .menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 20px;
    z-index: 9100;
}

.top-nav .menu > li {
    position: relative;
    list-style: none;
}

.top-nav .menu > li a,
.top-nav .submenu li a {
    text-decoration: none;
    color: white;
}

.top-nav .submenu li {
    list-style: none;
    padding-top: 10px;
    padding-left: 0;
}

.top-nav .submenu li a {
    display: block;
    padding-left: 0;
}

.top-nav .menu > li a:hover,
.top-nav .submenu li a:hover {
    color: black;
}

.top-nav .submenu {
    padding-top: 10px;
    z-index: 9100;
}

.top-nav .menu > li {
    padding-bottom: 10px;
}

.top-nav .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(231, 121, 44, 0.8);
    padding: 10px 20px;
    white-space: nowrap;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    z-index: 2000;
}

.top-nav .menu > li:hover .submenu {
    display: block;
}

/* ADAPTED MOBILE NAV */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: rgba(231, 121, 44, 0.8);
    padding: 20px 20px 20px 0;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 999;
    font-family: sans-serif;
    font-size: 20px;
    color: white;
}

.mobile-nav.active {
    display: block;
    z-index: 9300;
}

.mobile-nav a {
    text-decoration: none;
    color: white;
    padding: 0px 0 0 0;
    display: block;
}

.mobile-nav a:hover {
    color: black;
}

/* Hamburger visibility on small screens */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    padding: 20px;
    z-index: 9990;
}

.dot {
    width: 36px;
    height: 36px;
    position: relative;
    cursor: pointer;
}

.progress-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

circle {
    fill: none;
    stroke-width: 4;
    r: 16;
    cx: 18;
    cy: 18;
}

.bg {
    stroke: #ccc;
}

.progress {
    stroke: #fff;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer .footer-column {
    flex: 1;
    margin: 10px;
    max-width: 25%;
}

footer .footer-column .logo {
    max-width: 150px;
    margin-bottom: 20px;
}

footer .footer-column h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

footer .footer-column ul {
    list-style: none;
    padding: 0;
}

footer .footer-column ul li {
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

footer .footer-column ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
}

footer .footer-column ul li a:hover {
    color: var(--orange);
}

@keyframes progressAnim {
    from { stroke-dashoffset: 100; }
    to { stroke-dashoffset: 0; }
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
  #site-header .logo {
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .hide-logo .logo {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
  }

  .logo img {
      height: 40px;
      padding-left: 0px;
  }
}

@media (max-width: 768px) {
    .top-nav .menu {
        display: none;
        flex-direction: column;
        background: var(--white);
        position: absolute;
        top: 60px;
        right: 20px;
        box-shadow: 0 0 10px rgba(0,0,0,0.2);
        z-index: 1000;
    }

    .top-nav .menu.show {
        display: flex;
    }

    .top-nav .submenu {
        position: static;
        box-shadow: none;
        background: rgba(231,121,44,0.8);
    }

    .hamburger {
        display: block;
    }
}

@media (max-width: 600px) {

    .scroller li {
        font-size: 16px;
        line-height: 25px;
    }

    .dots {
        bottom: 20px;
    }

    footer .footer-column ul li a {
        font-size: 13px;
    }

    footer .footer-column p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        font-size: 13px;
    }

    .extra-content h1 {
        font-size: 26px;
    }

    h1 {
        position: relative;
        margin-top: 0;
        left: -10;
        font-size: 30px;
    }

    .extra-content h2 {
        font-size: 18px;
    }
}
