/* --- Custom Styles --- */
body {
    font-family: 'Work Sans', sans-serif;
    background-color: #f8f9fa; /* A light grey for the body background */
}

h1, h2, h3, h4, h5, h6, .navbar-brand-text {
    font-family: 'Geologica', sans-serif;
}

/* --- Navigation Bar Styling --- */
header {
    position: sticky;
    top: 0;
    z-index: 1050; /* Ensures the header stays above other content */
    transition: all 0.3s ease-in-out; /* Smooth transition for header changes */
}

.navbar-brand img {
    height: 30px; /* Control the height of your logo */
    width: auto;
    transition: height 0.3s ease-in-out; /* Smooth transition for logo size */
}

.top-nav {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    transition: padding 0.3s ease-in-out; /* Smooth transition for padding */
}

.secondary-nav {
    border-bottom: 1px solid #dee2e6; /* Light grey bottom border */
    padding-top: 0;
    padding-bottom: 0;
    transition: padding 0.3s ease-in-out; /* Smooth transition for padding */
}

/* Styles for when the navbar is scrolled */
.top-nav.navbar-scrolled {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: rgba(255, 255, 255, 0.95) !important; /* Slightly transparent white */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.secondary-nav.navbar-scrolled {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    background-color: rgba(255, 255, 255, 0.95) !important; /* Slightly transparent white */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar-scrolled .navbar-brand img {
    height: 40px; /* Smaller logo when scrolled */
}

.top-nav .nav-link,
.secondary-nav .nav-link {
    color: #343a40 !important; /* Dark text for links */
    font-size: 0.9rem;
    font-weight: 500;
}
.top-nav .nav-link:hover,
.secondary-nav .nav-link:hover {
    color: #7DA062 !important; /* Green hover effect */
}

/* Ensure mobile toggler is hidden on large screens when scrolled */
@media (min-width: 992px) {
    .top-nav.navbar-scrolled .d-lg-none {
        display: none !important;
    }
}

/* New style for the green secondary nav bar */
.secondary-nav-green {
    background-color: #7DA062 !important;
    border-bottom: none;
    transition: all 0.3s ease-in-out;
    padding: 0.5rem 0; /* Adjusted padding for better spacing */
}
.secondary-nav-green.navbar-scrolled {
    background-color: #7DA062 !important; /* Keep it green on scroll */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 0.25rem 0;
}
.secondary-nav-green .nav-link,
.secondary-nav-green .dropdown-mega .nav-link {
    color: #fff !important;
    padding-left: 0.75rem !important; /* Add horizontal padding to links */
    padding-right: 0.75rem !important;
}
.secondary-nav-green .nav-link:hover,
.secondary-nav-green .dropdown-mega .nav-link:hover {
    color: #f0f0f0 !important;
}

/* --- Hero Section Carousel Styling --- */
.hero-section.carousel {
    color: #343a40;
    background-color: #e9ecef; /* Added a fallback background */
}
.carousel-item {
    background-size: cover;
    background-position: center;
    padding: 5rem 0; /* Use padding to control height */
}

.hero-content-box {
    background-color: #f8f9fa;
    padding: 3rem;
    text-align: left;
    position: relative;
    z-index: 2;
}

.hero-content-box h1 {
    font-size: 2.75rem;
    font-weight: 700;
}

.hero-content-box p {
    font-size: 1.1rem;
    color: #6c757d;
}

.read-more-link {
    display: inline-block;
    margin-top: 1.5rem;
    text-decoration: none;
    color: #343a40;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.read-more-link.small {
    font-size: 0.8rem;
    margin-top: 1rem;
    color: #7DA062;
}

.read-more-link::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: #7DA062;
    margin-right: 10px;
    vertical-align: middle;
}

.read-more-link.small::before {
    display: none;
}

.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    color: #343a40;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1);
    transition: all 0.2s ease-in-out;
    z-index: 3; /* Above the slide overlay */
}

.hero-slider-arrow:hover {
    background-color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.hero-slider-arrow.prev {
    left: 2rem;
}
.hero-slider-arrow.next {
    right: 2rem;
}

/* --- Mega Menu Styles --- */
.dropdown-mega {
    position: static;
}

.dropdown-mega .dropdown-toggle::after {
    display: none; /* Hide default dropdown arrow */
}

.mega-menu {
    width: 100vw;
    max-width: 100%;
    left: 0;
    right: 0;
    border: none;
    border-radius: 0;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
    padding: 2rem;
    margin-top: 0.5rem !important; /* Add space from navbar */
}

.mega-menu-col-featured {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("http://googleusercontent.com/file_content/0");
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 350px;
}

.mega-menu-col-featured h3 {
    font-size: 1.75rem;
}

.mega-menu-links h4 {
    font-family: 'Geologica', sans-serif;
    color: #343a40;
}

.menu-item {
    display: block;
    padding: 1rem;
    text-decoration: none;
    color: #343a40;
    background-color: #f8f9fa;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
}

.menu-item::after {
    content: '\F135'; /* Bootstrap Icon unicode for right arrow */
    font-family: 'bootstrap-icons';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.2s ease-in-out;
}

.menu-item:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,.1);
}

.menu-item:hover::after {
    opacity: 1;
}

.menu-item h5 {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.menu-item p {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0;
}

.menu-item.special-item {
    background-color: #f2f7ef; /* Light green */
}

.mega-menu-footer {
    border-top: 1px solid #dee2e6;
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.footer-link {
    text-decoration: none;
    font-weight: bold;
    color: #7DA062;
    margin-right: 2rem;
}

.footer-link i {
    transition: transform 0.2s ease-in-out;
}

.footer-link:hover i {
    transform: translateX(5px);
}

/* Keep "Energy" tab highlighted when menu is open */
.dropdown-mega:hover > .nav-link,
.dropdown-mega .nav-link.show {
    color: #7DA062 !important;
}


/* --- Applications Section Styles --- */
.applications-section {
    background-color: #fff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #343a40;
}

.application-content h3 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.slider-controls .btn {
    background-color: #f2f7ef; /* Light green */
    color: #7DA062;
    border: none;
    width: 40px;
    height: 40px;
}
.slider-controls .btn:hover {
    background-color: #7DA062;
    color: #fff;
}

.applications-nav .nav-link {
    color: #6c757d;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    position: relative;
}

.applications-nav .nav-link.active {
    color: #7DA062;
}

.applications-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1.5rem;
    right: 1.5rem;
    height: 2px;
    background-color: #7DA062;
}


/* --- Search Overlay Styles --- */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1060; /* Higher than navbar */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #343a40;
    cursor: pointer;
}

.search-overlay-content {
    width: 90%;
    max-width: 600px;
}

.search-overlay-content .input-group .form-control {
    height: 60px;
    border-right: 0;
    border-radius: 0;
    border-color: #ced4da;
    font-size: 1.25rem;
}

.search-overlay-content .input-group .form-control:focus {
    box-shadow: none;
    border-color: #7DA062;
}

.search-overlay-content .input-group .btn {
    height: 60px;
    border-radius: 0;
    background-color: #343a40;
    border-color: #343a40;
    color: #fff;
    font-size: 1.5rem;
}

/* --- Search Results Page Styles --- */
.search-result-item {
    border-bottom: 1px solid #dee2e6;
    padding: 1.5rem 0;
    transition: background-color 0.2s ease-in-out;
}
.search-result-item:hover {
    background-color: #f2f7ef;
}
.search-result-item a {
    font-size: 1.25rem;
    font-weight: 700;
    color: #7DA062;
    text-decoration: none;
}
.search-result-item p {
    color: #6c757d;
    margin-top: 0.5rem;
}

/* --- About Us Section Styles --- */
.about-section {
    background-color: #fff;
}

/* New style for the green about section */
.about-section-green {
    background-color: #7DA062 !important;
    color: #fff;
}

.about-section-green h2, .about-section-green .about-content .btn {
    color: #fff;
}
.about-section-green .about-content .btn {
    border-color: #fff;
}

.about-section-green .about-content p.text-secondary {
    color: #f0f0f0 !important;
}

.stat-box {
    background-color: #f8f9fa;
    padding: 2rem;
    text-align: center;
    border-radius: 0.25rem;
}
.about-section-green .stat-box {
    background-color: #f2f7ef; /* A lighter green for contrast */
}
.about-section-green .stat-label {
    color: #4a6839; /* A darker green for the label */
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #7DA062;
}

.stat-label {
    font-size: 1rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

/* --- Vision Section Styles --- */
.vision-section {
    background-color: #f8f9fa;
    position: relative;
    overflow-x: hidden; /* Ensure this section itself doesn't cause horizontal scroll */
}

.vision-slider-viewport {
    overflow: hidden; /* This will clip the overflowing cards */
}

.vision-title-bg {
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 8rem;
    font-weight: 700;
    color: #e9ecef;
    z-index: 1;
    white-space: nowrap;
    user-select: none;
}

.vision-main-content {
    position: relative;
    z-index: 2;
}

.vision-main-content h2 {
    font-size: 2.75rem;
}

.vision-cards-wrapper {
    display: flex;
    flex-wrap: nowrap; /* Prevent cards from wrapping to the next line */
    transition: transform 0.5s ease-in-out;
    /* The width of this wrapper will be dynamically set by JS or implicitly by its content */
}

.vision-card {
    flex-shrink: 0; /* Prevent cards from shrinking */
    width: 50%; /* Default for desktop (2 cards visible) */
    padding: 0 1rem;
    box-sizing: border-box; /* Include padding in the width calculation */
}

@media (max-width: 991.98px) {
    .vision-card {
        width: 100%; /* 1 card on mobile */
    }
}

.vision-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.vision-card-body {
    background-color: #fff;
    padding: 1.5rem;
}

.vision-card-body small {
    color: #6c757d;
    font-weight: 500;
}

.vision-card-body h5 {
    font-family: 'Geologica', sans-serif;
    font-size: 1.25rem;
    margin-top: 0.5rem;
}

.vision-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.dots .dot {
    height: 10px;
    width: 10px;
    background-color: #ced4da;
    border-radius: 50%;
    display: inline-block;
    border: none;
    margin: 0 5px;
}

.dots .dot.active {
    background-color: #7DA062;
}

.arrows .arrow {
    background: #fff;
    border: 1px solid #dee2e6;
    color: #343a40;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer; /* Indicate it's clickable */
}
.arrows .arrow:hover {
    background: #7DA062;
    color: #fff;
    border-color: #7DA062;
}
.arrows .arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* --- Solutions Section Styles --- */
.solutions-section {
    background-color: #fff;
    position: relative; /* Needed for arrow positioning */
}

.solutions-nav {
    border-bottom: 1-px solid #dee2e6;
    margin-bottom: 2rem;
}

.solutions-nav .nav-link {
    background: none;
    border: none;
    color: #6c757d;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    position: relative;
}

.solutions-nav .nav-link.active {
    color: #7DA062;
}

.solutions-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 1.5rem;
    right: 1.5rem;
    height: 2px;
    background-color: #7DA062;
}

.solutions-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    grid-auto-rows: 300px;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-item-content {
    transform: translateY(0);
}

.gallery-item-content .text-content {
    flex-grow: 1;
}

.gallery-item-content h5 {
    font-family: 'Geologica', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.gallery-item-content p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.gallery-item-content .arrow-link {
    background-color: #dc3545; /* Using a red color from the image */
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-left: 1rem;
}

.solutions-slider-arrows {
    display: none; /* Hidden by default, shown on mobile */
}

/* --- Projects Section Styles --- */
.projects-hero {
    position: relative;
    height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/1a-01.webp') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    color: #fff;
}

.projects-hero-content {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 0.25rem;
}

.projects-hero-content .text-uppercase {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.projects-hero-content h1 {
    font-family: 'Geologica', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
}

.projects-hero-content .lead {
    font-size: 1.1rem;
    max-width: 400px;
}

.projects-hero-content .btn {
    border-radius: 50px; /* Make the button rounded */
}

.projects-grid-section {
    background-color: #fff;
}

.project-card {
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border-radius: .25rem;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-card-content {
    padding: 1.5rem;
}

.project-card-content .category {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.project-card-content h5 {
    font-family: 'Geologica', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #343a40;
}

.project-card-content .show-more-link {
    color: #7DA062;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

.project-card-content .show-more-link i {
    transition: transform 0.2s ease-in-out;
}

.project-card-content .show-more-link:hover i {
    transform: translateX(5px);
}

/* --- Contact Section Styles --- */
.contact-section {
    position: relative;
    background-color: #ADC8D3; /* Light blue background from image */
    overflow: hidden;
}
.contact-section .container-fluid {
    position: relative;
    z-index: 2;
}

.contact-form-wrapper {
    background-color: #007828; /* Red-orange color from image */
    color: #fff;
    padding: 4rem;
    margin-top: -60px; 
    margin-bottom: -60px; 
    position: relative;
    z-index: 2;
}

.contact-form-wrapper h2 {
    font-family: 'Geologica', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form .form-control {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    color: #fff;
    padding: 10px 0;
}
.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.75);
}
.contact-form .form-control:focus {
    box-shadow: none;
    border-bottom-color: #fff;
}

.contact-form .btn-submit {
    border: 2px solid #fff;
    border-radius: 0;
    padding: 10px 20px;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    margin-top: 1rem;
    background: transparent;
    color: #fff;
}
.contact-bg-col {
    background: url("https://images.unsplash.com/photo-1560179707-f14e90ef3623?q=80&w=1974&auto=format&fit=crop") no-repeat center center;
    background-size: cover;
    min-height: 600px;
    height: 100%;
}

/* --- Footer Styles --- */
.site-footer {
    background-color: #fff;
    padding: 4rem 0;
    font-size: 0.9rem;
}
.footer-logo {
    max-height: 30px;
    margin-bottom: 1rem;
}
.partner-logo {
    max-height: 25px;
    margin-right: 1.5rem;
}
.footer-about p {
    font-size: 0.85rem;
}
.site-footer h5 {
    font-family: 'Geologica', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #343a40;
}
.footer-links li {
    margin-bottom: 0.5rem;
}
.footer-links a {
    text-decoration: none;
    color: #6c757d;
}
.footer-links a:hover {
    color: #7DA062;
}
.footer-bottom {
    border-top: 1px solid #dee2e6;
    margin-top: 2rem;
    padding-top: 2rem;
}
.social-icons {
    display: flex;
    justify-content: flex-end;
}
.social-icons a {
    color: #343a40;
    font-size: 1.25rem;
    margin-left: 1.5rem;
}
.social-icons a:hover {
    color: #7DA062;
}


/* ============================================= */
/* --- MOBILE OPTIMIZATION RESPONSIVE STYLES --- */
/* ============================================= */

@media (max-width: 991.98px) {
    /* Stack secondary nav items below primary in mobile menu */
    .secondary-nav .navbar-nav {
        padding-top: 1rem;
        border-top: 1px solid #dee2e6;
        margin-top: 1rem;
    }

    /* Adjust font size for hero section on mobile */
    .hero-section .display-4 {
        font-size: 2rem;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .hero-section {
        height: auto;
        padding: 5rem 0;
    }

    .hero-content-box {
        margin: 0 1rem; /* Add some margin on smaller screens */
    }

    .hero-slider-arrow {
        display: none; /* Hide arrows on mobile */
    }

    /* On screens smaller than LG, stack the mega menu featured column */
    .mega-menu-col-featured {
        margin-bottom: 2rem;
    }

    .vision-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .solutions-gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 300px);
        grid-auto-rows: 300px;
        gap: 1.5rem;
        overflow-x: auto; /* Enable horizontal scrolling */
        scroll-snap-type: x mandatory; /* Snap scrolling */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        scrollbar-width: none; /* Hide scrollbar for Firefox */
    }
    .solutions-gallery::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Chrome, Safari, Opera */
    }
    
    .gallery-item {
        flex: 0 0 80%; /* Each item takes 80% of the viewport width */
        max-width: 80%;
        scroll-snap-align: center; /* Center the item when scrolling snaps */
        height: 300px; /* Give a fixed height to items */
    }
    
    .gallery-item:nth-child(1) {
        grid-column: auto; /* Reset grid properties */
        grid-row: auto;
    }


    .contact-form-wrapper {
        margin-top: 0;
        margin-bottom: 0;
    }
    .footer-about, .footer-bottom {
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
    .social-icons a {
        margin: 0 0.75rem;
    }
}

@media (max-width: 767.98px) {
    .section-title, .application-content h3, .vision-main-content h2, .about-content h2 {
        font-size: 2rem; /* Reduce heading sizes on mobile */
    }

    .hero-content-box {
        padding: 2rem;
    }
    .hero-content-box h2 {
        font-size: 2rem;
    }
    .hero-content-box .h2 {
        font-size: 1.5rem;
    }
    .hero-content-box p {
        font-size: 1rem;
    }

    /* Make applications nav tabs wrap */
    .applications-nav {
        flex-wrap: wrap; 
    }
    .applications-nav .nav-link {
        padding: 0.5rem 1rem;
    }

    /* Stack columns in About Us section */
    .about-section .about-stats {
        margin-bottom: 2rem;
    }
    .stat-box {
        padding: 1.5rem;
    }
    .stat-number {
        font-size: 2.5rem;
    }

    .vision-title-bg {
        font-size: 4rem;
        top: 0;
    }

    /* Projects section mobile adjustments */
    .projects-hero {
        height: auto;
        padding: 4rem 0;
        text-align: center;
    }
    .projects-hero-content h1 {
        font-size: 2.5rem;
    }
    .contact-form-wrapper {
        padding: 2rem;
    }
    .contact-form-wrapper h2 {
        font-size: 2rem;
    }
}

/* --- Add these styles to your existing CSS file --- */

.nav-icon {
    color: #343a40;
    font-size: 1.5rem;
    margin-left: 1rem;
    text-decoration: none;
}

.navbar-toggler {
    border: none;
    font-size: 1.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* --- Added style for simple mobile footer --- */
.footer-links-simple {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.footer-links-simple a {
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
}
.footer-links-simple a:hover {
    color: #7DA062;
}

/* ============================================= */
/* --- MOBILE OPTIMIZATION RESPONSIVE STYLES --- */
/* ============================================= */
@media (max-width: 991.98px) {
    .secondary-nav, .hero-slider-arrow {
        display: none;
    }
    .top-nav .collapse {
        /* This rule was removed as it was incorrect */
    }
    .hero-section.carousel {
        height: 100vh;
        padding-top: 0 !important; /* This removes the unwanted space */
    }
    .hero-slide-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .hero-content-box h1 {
        font-size: 3rem;
    }
    .hero-content-box h2 {
        font-size: 1.5rem;
    }
    .hero-content-box p {
        font-size: 1.1rem;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-content-box .btn {
        margin-top: 1rem;
    }
}
