@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* Custom styles for Greenhopper */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
}

.site-header {
    background-color: #000;
    border-bottom: 2px solid #ffcc00;
    margin-bottom: 0 !important;
}

.site-header .navbar-nav .nav-link,
.site-header .navbar-nav li a {
    color: #fff !important;
    text-transform: uppercase;
    font-size: 14px;
    margin-left: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav li a:hover,
.site-header .navbar-nav li.current-menu-item>a,
.site-header .navbar-nav li.current_page_item>a {
    color: #ffcc00 !important;
}

.site-header .navbar-brand {
    color: #fff !important;
}

.custom-logo {
    height: 100px;
    width: auto;
}

/* Hero Video Section */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    border-bottom: 2px solid #ffcc00;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.video-background iframe {
    width: 100vw;
    height: 56.25vw;
    /* 16:9 Aspect Ratio */
    min-height: 80vh;
    min-width: 142.22vh;
    /* 16:9 Aspect Ratio based on 80vh */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-overlay {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 10% 5%;
}

.hero-banner-green {
    background-color: #3b8a0d;
    color: #fff;
    padding: 10px 40px;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0;
    width: 60%;
}

.hero-banner-gold {
    background: linear-gradient(to right, #cfb53b, #f3e5ab, #8c7322);
    color: #fff;
    padding: 15px 40px;
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    width: 80%;
    text-align: center;
}

.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.post-thumbnail img {
    max-height: 500px;
    object-fit: cover;
    width: 100%;
}

/* Our Expertise Section */
.expertise-header {
    background-color: #000;
    border-bottom: 2px solid #ffcc00;
    text-align: center;
    padding: 15px 0;
}

.expertise-header h2 {
    color: #fff;
    margin: 0;
    font-weight: 300;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.service-item {
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 40px;
}

.service-overlay {
    background-color: rgb(0 0 0 / 17%);
    /* Light overlay or transparent */
    padding: 50px 0px 20px;
}

.service-title {
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    font-weight: 500;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2.2rem;
}

.service-slider-img-wrap {
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.2);
    height: 320px;
}

.service-slider-img-wrap img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.btn-find-out {
    background-color: #0b3d1c;
    color: #fff;
    border: 2px solid #000;
    border-radius: 4px;
    padding: 10px 40px;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.btn-find-out:hover {
    background-color: #ffcc00;
    color: #000;
}

/* Slick Slider Overrides */
.service-slick-slider {
    position: relative;
}

.service-slick-slider .slick-prev,
.service-slick-slider .slick-next {
    z-index: 10;
    width: 40px;
    height: 40px;
}

.service-slick-slider .slick-prev {
    left: 10px;
}

.service-slick-slider .slick-next {
    right: 10px;
}

.service-slick-slider .slick-prev:before,
.service-slick-slider .slick-next:before {
    font-size: 40px;
    opacity: 0.9;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* Live Portal Section */
.live-portal-badge {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: #0b3d1c;
    /* Dark green matching theme */
    color: #fff;
    padding: 10px 20px;
    font-size: 1.5rem;
    font-weight: 500;
    z-index: 10;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.live-portal-section:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: #ffc80038;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.event-happening-now h2 {
    color: #000;
}

.event-details p {
    color: #0b3d1c;
}

/* CTA Section */
.cta-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 400px;
    display: flex;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    /* Dark overlay */
    padding: 50px 20px;
}

.cta-overlay h3 {
    font-size: 2.5rem;
}

.cta-overlay h2 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Client Logos */
.client-logo {
    max-height: 100px;
    width: auto;
    margin: 0 auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Footer Menu */
#footer-menu-list {
    padding-left: 0;
    margin-bottom: 0;
}

#footer-menu-list li {
    margin-right: 25px;
}

#footer-menu-list li:last-child {
    margin-right: 0;
}

#footer-menu-list li a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 500;
}

#footer-menu-list li a:hover {
    color: #ffcc00;
}

.services-loop-section .service-loopeach {
    margin-bottom: 50px !important;
}

.flex-row-reverse h2 {
    text-align: left;
}

.flex-row-reverse .service-excerpt {
    text-align: left;
}

.flex-row-reverse .service-link {
    float: left;
}

/* Custom Contact Form Styles */
.custom-contact-form label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}
.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"],
.custom-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fafafa;
    font-family: inherit;
}
.custom-contact-form input[type="submit"] {
    background-color: #1b7a0d;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 2px;
    transition: background-color 0.3s;
}
.custom-contact-form input[type="submit"]:hover {
    background-color: #155d0a;
}

@media screen and (max-width: 991px) {
    .custom-logo {
        height: 70px;
    }

    #primary-menu-list li {
        text-align: center;
        margin-top: 15px
    }
}

@media screen and (max-width: 767px) {
    .custom-logo {
        height: 50px;
    }
}