@import "hamburgers.css";
:root {
    --bs-primary: #044F7C;
    --bs-primary-dark: #033e63;
    --bs-secondary: #e1e1e1;
    --bs-success: #367c2b;
    --bs-success-dark: #2c6224;
    --bs-warning: #ffde00;
    --bs-warning-dark: #e6c600;
    --bs-info: #474747;
    --bs-dark: #262626;
}

*::selection {
    color: var(--bs-light);
    background-color: var(--bs-primary);
}
::-webkit-scrollbar-thumb {
    background-color: var(--bs-primary);
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
}

/* Fonts */
@font-face {
    font-family: 'JD Sans';
    src: url('../fonts/JDSansLight.TTF') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'JD Sans';
    src: url('../fonts/JDSansLightItalic.TTF') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'JD Sans';
    src: url('../fonts/JDSansBook.TTF') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'JD Sans';
    src: url('../fonts/JDSansBookItalic.TTF') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'JD Sans';
    src: url('../fonts/JDSansSemibold.TTF') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'JD Sans';
    src: url('../fonts/JDSansSemiboldItalic.TTF') format('truetype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'JD Sans';
    src: url('../fonts/JDSansBold.TTF') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'JD Sans';
    src: url('../fonts/JDSansBoldItalic.TTF') format('truetype');
    font-weight: 700;
    font-style: italic;
}



/* Base Styles */
html {
    background-color: var(--bs-primary);
}
body {
    font-family: 'Open Sans', sans-serif;
}

a {
    text-decoration: none;
    cursor: pointer;
}

/* Headings */
h1 {
    color: var(--bs-light);
    font-size: 6rem;
    font-weight: 700;
    line-height: 0;
    text-align: center;
}

h2,
h3 {
    text-transform: capitalize;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
}

h2 {
    color: var(--bs-dark);
    font-size: 2.5rem;
}

h3 {
    color: var(--bs-primary);
}

/* Buttons */
.btn {
    cursor: pointer;
    border-radius: 0;
    text-transform: uppercase;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.btn-primary {
    border: 1px solid var(--bs-primary);
    color: var(--bs-light);
    background-color: var(--bs-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: var(--bs-primary-dark);
    background-color: var(--bs-primary-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
    cursor: pointer;
}

.btn-success {
    border: 1px solid var(--bs-success);
    color: var(--bs-light);
    background-color: var(--bs-success);
}

.btn-success:hover,
.btn-success:focus {
    border-color: var(--bs-success-dark);
    background-color: var(--bs-success-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
    cursor: pointer;
}

.btn-warning {
    border: 1px solid var(--bs-warning);
    color: var(--bs-dark);
    background-color: var(--bs-warning);
}

.btn-warning:hover,
.btn-warning:focus {
    border-color: var(--bs-warning-dark);
    background-color: var(--bs-warning-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
    cursor: pointer;
}

/* Icons */
.social-icon {
    color: var(--bs-white);
}
.fa-brands {
    font-size: 2rem;
}

/* Utility Text Colors */
.text-primary {
    color: var(--bs-primary) !important;
}

.text-success {
    color: var(--bs-success) !important;
}

.text-warning {
    color: var(--bs-warning) !important;
}

/* Footer */
/*footer {
    background: url('../img/footerbg.webp') no-repeat center center;
    background-size: cover;
}*/
footer li {
    padding-top: 8px;
}

footer li a {
    color: var(--bs-light);
    font-size: 12px;
    line-height: 1;
    border-bottom: 3px solid transparent;
}

footer li a:hover {
    border-bottom: 3px solid var(--bs-primary);
    cursor: pointer;
}
.footer-bg {
    top: 0;
    right: -30%;
    width: 80%;
    height: 100%;
    background: url('../img/footer.webp') no-repeat center center;
    background-size: cover;
    position: absolute;
    opacity: 0.75;
}

/* Navbar */
nav {
    background-color: transparent;
    z-index: 1;
    color: var(--bs-light);
}
.navbar {
    top: 0;
    width: 100%;
    z-index: 2;
}
.nav-link {
    color: var(--bs-light) !important;
}
.nav-title {
    color: var(--bs-light) !important;
}
.brand-logo {
    height: 100px;
    width: 300px;
}
.navbar-brand {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}
.dropdown-menu {
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.scrolled {
    background-color: white;
    border-radius: 20px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.scrolled .nav-title {
    font-weight: bold;
    color: var(--bs-primary) !important;
}
.scrolled .nav-link {
    color: var(--bs-dark) !important;
}
.scrolled .btn-light {
    background-color: var(--bs-primary);
    color: var(--bs-light);
}
.scrolled .social-icon {
    color: var(--bs-dark);
}


/* Hero Section */
.hero-header {
    background-image: url('/assets/img/banner.webp');
    background-size: cover;
    background-position: center;
    height: 70vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-header h1 {
    font-size: 10rem;
    letter-spacing: -5px;
    line-height: 1;
    margin: 0;
    z-index: 1;
    position: relative;
}

.solid-text {
    color: white;
    display: block;
    margin-bottom: -150px;
}

.outlined-text {
    color: transparent;
    -webkit-text-stroke: 4px white;
    text-stroke: 4px white;
    font-weight: 800;
    display: block;
    margin-top: 0;
}

.hero-bg-graphic {
    position: absolute;
    top: 45%;
    right: -15%;
    width: 75%;
    height: 100%;
    background: url('/assets/img/banner-graphic.webp') no-repeat center center;
    background-size: cover;
    opacity: 0.75;
    z-index: 0;
}

/* Mini Hero Banners */
.mini-hero {
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cce-hero {
    background-image: url('/assets/img/constructionforestry.webp');
}

.ag-hero {
    background-image: url('/assets/img/agturf.webp');
}

.cce-hero,
.ag-hero {
    background-size: cover;
    background-position: center;
}

.mini-hero-text {
    position: relative;
    width: 250px;
    font-size: 20px;
    z-index: 1;
    border-bottom: 1px solid var(--bs-light);
}

.mini-hero-text h2 {
    width: 300px;
}

/* Background Utilities */
.bg-secondary {
    background-color: var(--bs-secondary) !important;
}

.bg-info {
    background-color: var(--bs-info) !important;
}
.bg-dark {
    background-color: var(--bs-dark) !important;
}

/* Equipment Links */
.eq-links a {
    color: #949494;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.eq-links a:hover {
    color: var(--bs-dark);
    font-weight: bold;
    cursor: pointer;
}

/* Custom */
.section-graphic {
    position: absolute;
    background: url('../img/large-hex.webp') no-repeat center center;
    background-size: cover;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
    transform: rotate(0deg);
    top: 15%;
    right: -15%;
    width: 85%;
    height: 120%;
}
.section-graphic-top {
    position: absolute;
    background: url('../img/large-hex.webp') no-repeat center center;
    background-size: cover;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
    transform: rotate(240deg);
    top: -15%;
    right: -35%;
    width: 85%;
    height: 140%;
}
.sided-images {
    position: relative;
    z-index: 1;
    overflow: visible;
}

.sided-images::before,
.sided-images::after {
    content: "";
    position: absolute;
    width: 500px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 0;
}

.sided-images.hex-parts::before {
    left: -30%;
    top: -100px;
    bottom: -100px;
    background-image: url('/assets/img/parts-hex.webp');
    height: calc(100% + 200px);
}
.sided-images.hex-service::after {
    right: -30%;
    top: -100px;
    bottom: -100px;
    background-image: url('/assets/img/eqservice.webp');
    height: calc(100% + 200px);
}
.sided-images.hex-technology::before {
    left: -30%;
    top: -100px;
    bottom: -100px;
    background-image: url('/assets/img/tech-hex.webp');
    height: calc(100% + 200px);
}


/* Responsive Adjustments */
@media (max-width: 4000px), (max-width: 2300px) {
    .sided-images.hex-parts::before,
    .sided-images.hex-technology::before {
        left: -10%;
    }
    .sided-images.hex-service::after {
        right: -10%;
    }
    .section-graphic {
        transform: rotate(0deg);
        top: 0;
        right: -15%;
        width: 80%;
        height: 165%;
    }
    .section-graphic-top {
        transform: rotate(240deg);
        top: -35%;
        right: -35%;
        width: 85%;
        height: 140%;
    }
}

@media (max-width: 2100px) {
    .sided-images.hex-parts::before,
    .sided-images.hex-technology::before {
        left: -17%;
    }
    .sided-images.hex-service::after {
        right: -15%;
    }
    .section-graphic {
        transform: rotate(0deg);
        top: 0;
        right: -15%;
        width: 80%;
        height: 165%;
    }
    .section-graphic-top {
        transform: rotate(240deg);
        top: -25%;
        right: -35%;
        width: 90%;
        height: 135%;
    }
}

@media (max-width: 2000px) {
    .sided-images.hex-parts::before,
    .sided-images.hex-technology::before {
        left: -20%;
    }
    .sided-images.hex-service::after {
        right: -20%;
    }
    .section-graphic {
        transform: rotate(0deg);
        top: 0;
        right: -15%;
        width: 80%;
        height: 155%;
    }
    .section-graphic-top {
        transform: rotate(240deg);
        top: -15%;
        right: -35%;
        width: 75%;
        height: 140%;
    }
}

@media (max-width: 1800px) {
    .sided-images.hex-parts::before,
    .sided-images.hex-technology::before {
        left: -28%;
    }
    .sided-images.hex-service::after {
        right: -25%;
    }
    .section-graphic {
        transform: rotate(0deg);
        top: 0;
        right: -15%;
        width: 80%;
        height: 130%;
    }
    .section-graphic-top {
        transform: rotate(240deg);
        top: -15%;
        right: -35%;
        width: 85%;
        height: 135%;
    }
}

@media (max-width: 1500px) {
    .sided-images.hex-parts::before,
    .sided-images.hex-technology::before {
        left: -32%;
    }
    .sided-images.hex-service::after {
        right: -28%;
    }
    .section-graphic {
        transform: rotate(0deg);
        top: 15%;
        right: -15%;
        width: 85%;
        height: 120%;
    }
    .section-graphic-top {
        transform: rotate(240deg);
        top: -15%;
        right: -35%;
        width: 85%;
        height: 130%;
    }
}

@media (max-width: 1400px) {
    .brand-logo {
        height: auto;
        width: 250px;
    }
    .fa-brands {
        font-size: 1.5rem;
    }
    .sided-images.hex-parts::before,
    .sided-images.hex-technology::before {
        left: -34%;
    }
    .sided-images.hex-service::after {
        right: -30%;
    }
    .section-graphic {
        transform: rotate(0deg);
        top: 15%;
        right: -15%;
        width: 85%;
        height: 120%;
    }
    .section-graphic-top {
        transform: rotate(240deg);
        top: -15%;
        right: -35%;
        width: 85%;
        height: 140%;
    }
}

@media (max-width: 1343px) {
    .brand-logo {
        height: auto;
        width: 250px;
    }
    .sided-images.hex-parts::before,
    .sided-images.hex-technology::before {
        left: -38%;
    }
    .sided-images.hex-service::after {
        right: -35%;
    }
    .section-graphic {
        transform: rotate(0deg);
        top: 15%;
        right: -15%;
        width: 85%;
        height: 120%;
    }
    .section-graphic-top {
        transform: rotate(240deg);
        top: -30%;
        right: -35%;
        width: 85%;
        height: 120%;
    }
}

@media (max-width: 1230px) {
    .sided-images.hex-parts::before,
    .sided-images.hex-technology::before {
        left: -44%;
    }
    .sided-images.hex-service::after {
        right: -40%;
    }
    .navbar-brand {
        width: 300px;

    }
    .brand-logo {
        height: auto;
        width: 100%;
    }
    .section-graphic {
        transform: rotate(0deg);
        top: 15%;
        right: -15%;
        width: 85%;
        height: 120%;
    }
    .section-graphic-top {
        transform: rotate(240deg);
        top: -30%;
        right: -35%;
        width: 85%;
        height: 120%;
    }
    .footer-bg {
        top: 40%;
        right: -10%;
        width: 110%;
        height: 140%;
    }

}

@media (max-width: 1200px) {
    .navbar-brand {
        width: 275px;
    }
    .navbar-container {
        background-color: white;
        border-radius: 20px;
        width: 100%;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    }
    .navbar-brand {
        width: 250px;
        padding-left: .5rem !important;
        padding-right: .5rem !important;
    }
    .nav-title {
        font-weight: bold;
        color: var(--bs-primary) !important;
    }
    .btn-primary {
        width: 100%;
    }

    .btn-light {
        background-color: var(--bs-primary);
        color: var(--bs-light);
    }
    .nav-link {
        color: var(--bs-dark) !important;
    }
    .nav-title {
        color: var(--bs-primary) !important;
        font-weight: bold;
        border-bottom: 2px solid var(--bs-dark);
    }
    .social-icon {
        color: var(--bs-dark);
    }
    .fa-brands {
        font-size: 2rem;
    }
    .sided-images.hex-parts::before,
    .sided-images.hex-technology::before {
        display: none;
    }
    .sided-images.hex-service::after {
        display: none;
    }
}

@media (max-width: 1199.98px) {
    .dropdown-menu-end {
        right: auto !important;
        left: 0 !important;
    }
}

@media (max-width: 1130px) {
    .sided-images.hex-parts::before,
    .sided-images.hex-technology::before {
        left: -49%;
    }
    .sided-images.hex-service::after {
        right: -45%;
    }
    .section-graphic {
        transform: rotate(0deg);
        top: 15%;
        right: -15%;
        width: 85%;
        height: 120%;
    }
    .section-graphic-top {
        transform: rotate(240deg);
        top: -30%;
        right: -35%;
        width: 85%;
        height: 120%;
    }
    .footer-bg {
        top: 20%;
        right: -10%;
        width: 110%;
        height: 120%;
    }
}

@media (max-width: 1080px) {
    .hero-header h1 {
        font-size: 7.5rem;
    }
    .solid-text {
        margin-bottom: -125px;
    }
    .sided-images.hex-parts::before,
    .sided-images.hex-technology::before {
        left: -47%;
    }
    .sided-images.hex-service::after {
        right: -47%;
    }
    .navbar-brand {

    }
    .brand-logo {
        height: auto;
        width: 100%;
    }
    .section-graphic {
        transform: rotate(0deg);
        top: 15%;
        right: -15%;
        width: 85%;
        height: 120%;
    }
    .section-graphic-top {
        transform: rotate(240deg);
        top: -35%;
        right: -45%;
        width: 85%;
        height: 120%;
    }
    .footer-bg {
        top: 20%;
        right: -10%;
        width: 110%;
        height: 120%;
    }
}

@media (max-width: 950px) {
    .sided-images::before,
    .sided-images::after {
        width: 475px;
    }
    .sided-images.hex-parts::before,
    .sided-images.hex-technology::before {
        left: -50%;
    }
    .sided-images.hex-service::after {
        right: -50%;
    }
    .section-graphic {
        transform: rotate(0deg);
        top: 15%;
        right: -15%;
        width: 85%;
        height: 120%;
    }
    .section-graphic-top {
        transform: rotate(240deg);
        top: -15%;
        right: -35%;
        width: 85%;
        height: 140%;
    }

}
@media (max-width: 991px) {
    .social-icon {
        color: var(--bs-dark);
    }
    .fa-brands {
        font-size: 1.75rem;
    }

    .navbar-brand {
        width: 250px;
        padding-left: .5rem !important;
        padding-right: .5rem !important;
    }
    .nav-title {
        font-weight: bold;
        color: var(--bs-primary) !important;
    }
    .btn-light {
        background-color: var(--bs-primary);
        color: var(--bs-light);
    }
    .nav-link {
        color: var(--bs-dark) !important;
    }
    .nav-title {
        color: var(--bs-primary) !important;
        font-weight: bold;
        border-bottom: 2px solid var(--bs-dark);
    }
    .hero-header {
        height: 50vh;
    }
    .section-graphic {
        transform: rotate(0deg);
        top: 15%;
        right: -15%;
        width: 85%;
        height: 120%;
    }
    .section-graphic-top {
        transform: rotate(240deg);
        top: -15%;
        right: -40%;
        width: 120%;
        height: 70%;
    }
    .footer-bg {
        top: 30%;
        right: -10%;
        width: 110%;
        height: 100%;
    }
}

@media (max-width: 900px), (max-width: 800px) {
    .brand-logo {
        height: auto;
        width: 250px;
    }
    .social-icon {
        color: var(--bs-dark);
    }
    .fa-brands {
        font-size: 1.5rem;
    }
    .sided-images::before,
    .sided-images::after {
        width: 400px;
    }
    .sided-images.hex-parts::before,
    .sided-images.hex-technology::before {
        left: -50%;
    }
    .sided-images.hex-service::after {
        right: -50%;
    }
    .section-graphic {
        transform: rotate(0deg);
        top: 15%;
        right: -15%;
        width: 85%;
        height: 120%;
    }
    .section-graphic-top {
        transform: rotate(240deg);
        top: -15%;
        right: -25%;
        width: 100%;
        height: 60%;
    }
    .footer-bg {
        top: 30%;
        right: -10%;
        width: 110%;
        height: 100%;
    }
}

@media (max-width: 768px) {
    .hero-header h1 {
        font-size: 5rem;
    }
    .solid-text {
        margin-bottom: -75px;
    }

    .outlined-text {
        -webkit-text-stroke: 1px white;
        text-stroke: 1px white;
    }
    .social-icon {
        color: var(--bs-dark);
    }
    .navbar-container {
        background-color: white;
        border-radius: 20px;
    }
    .navbar-brand {
        width: 250px;
        padding-left: .5rem !important;
        padding-right: .5rem !important;
    }
    .nav-title {
        font-weight: bold;
        color: var(--bs-primary) !important;
    }
    .btn-primary {
        width: 100%;
    }

    .btn-light {
        background-color: var(--bs-primary);
        color: var(--bs-light);
    }
    .nav-link {
        color: var(--bs-dark) !important;
    }
    .nav-title {
        color: var(--bs-primary) !important;
        font-weight: bold;
        border-bottom: 2px solid var(--bs-dark);
    }
    .hero-header {
        height: 50vh;
    }

    .sided-images.hex-parts::before,
    .sided-images.hex-technology::before,
    .sided-images.hex-service::after {
        display: none;
    }
    .section-graphic {
        transform: rotate(0deg);
        top: 15%;
        right: -15%;
        width: 85%;
        height: 120%;
    }
    .section-graphic-top {
        transform: rotate(240deg);
        top: -15%;
        right: -10%;
        width: 100%;
        height: 45%;
    }
    .footer-bg {
        top: 30%;
        right: -10%;
        width: 110%;
        height: 100%;
    }
}

@media (max-width: 450px) {
    .navbar-container {
        background-color: white;
        border-radius: 20px;
    }
    .nav-title {
        font-weight: bold;
        color: var(--bs-primary) !important;
    }
    .navbar-brand {
        width: 200px;
        padding-left: .5rem !important;
        padding-right: .5rem !important;
    }
    .btn-light {
        background-color: var(--bs-primary);
        color: var(--bs-light);
    }
    .nav-link {
        color: var(--bs-dark) !important;
    }
    .nav-title {
        color: var(--bs-primary) !important;
        font-weight: bold;
        border-bottom: 2px solid var(--bs-dark);
    }
    .hero-header h1 {
        font-size: 4rem;
    }
    .solid-text {
        margin-bottom: -50px;
    }
    .section-graphic {
        transform: rotate(0deg);
        top: 15%;
        right: -15%;
        width: 85%;
        height: 120%;
    }
    .section-graphic-top {
        transform: rotate(240deg);
        top: -15%;
        right: -10%;
        width: 100%;
        height: 40%;
    }
    .footer-bg {
        top: 60%;
        right: -10%;
        width: 110%;
        height: 50%;
    }

}
