/* Base & Color Scheme */
:root {
    --primary: #206C86;
    --secondary: #DBF6FF;
    --text-main: #2AB0DD;
    --text-secondary: #000000;
    --gray-bg: #f5f5f5;
    --gray-border: #dcdcdc;
    --bg: #ffffff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.site {
    margin: 0;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    /* color: var(--text-secondary); */
    background: linear-gradient(180deg, rgba(129, 170, 34, 0.39) 99.99%) !important;
}

.container-1200 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 32px;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

/* --- Top Bar --- */
/* --- Top Bar (White section) --- */
.top-bar {
    background-color: #ffffff;
    padding: 15px 0;
}

.top-bar__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    /* 3 columns: Left, Center(logo), Right */
    align-items: center;
    gap: 20px;
}

.top-bar__left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.top-bar__center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-bar__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.mobile-menu-toggle {
    display: none;
}

.phone-number {
    color: #81ba00;
    /* Theme Green matching the nav bar */
    font-weight: 800;
    font-size: 34px;
    text-decoration: none;
    line-height: 1;
}

.site-logo img {
    max-height: 60px;
    /* Adjust based on your logo size */
    display: block;
}

/* --- Main Header & Navigation (Green section) --- */
.main-header {
    background: #81ba00;
    /* Exact green from your image */
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.main-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.main-nav__menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-nav__menu>li>a {
    display: flex;
    align-items: center;
    padding: 22px 18px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.2s ease;
}

.arrow {
    font-size: 12px;
    margin-left: 6px;
}

/* Active & Hover State (Darker Green Block) */
.main-nav__menu>li:hover>a,
.main-nav__menu>li.active>a {
    background-color: #6a9900;
    /* Dark green block effect */
    color: #ffffff;
}

/* --- Social Icons in Header --- */
.header-socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.header-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}

.header-socials svg {
    width: 16px;
    height: 16px;
}

.header-socials a:hover {
    background-color: #ffffff;
    color: #81ba00;
    /* Icon turns green on hover */
    transform: scale(1.05);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {

    /* Stack top bar items on mobile */
    .top-bar__inner {
        grid-template-columns: auto 1fr;
        /* Toggle on left, Logo in center */
        grid-template-rows: auto auto;
        padding: 10px 20px;
    }

    .top-bar__left {
        grid-column: 1;
        grid-row: 1;
        gap: 15px;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .mobile-menu-toggle span {
        width: 100%;
        height: 3px;
        background-color: #333;
        border-radius: 2px;
    }

    .top-bar__phone {
        display: none;
        /* Hide phone number on very small screens to save space */
    }

    .top-bar__center {
        grid-column: 2;
        grid-row: 1;
        justify-content: center;
    }

    .top-bar__right {
        display: none;
        /* Hide promo image on mobile to save space */
    }

    .main-header__inner {
        flex-direction: column;
        padding: 0;
    }

    .header-socials {
        display: none;
        /* Hide socials in mobile nav (usually moved to footer) */
    }

    /* Mobile Nav Setup */
    .main-nav {
        width: 100%;
        display: none;
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav__menu {
        flex-direction: column;
    }

    .main-nav__menu>li>a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Updated Hover & Active State */
.main-nav__menu>li:hover>a,
.main-nav__menu>li.active>a {
    background-color: transparent;
    color: #ffffff;
    /* Cyan text instead of background */
}

/* New Phone Button */
.btn-phone-pill {
    background-color: #0d6efd;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 16px;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.btn-phone-pill:hover {
    background-color: #0b5ed7;
}

/* Dropdown Container */
.has-dropdown {
    position: relative;
}

/* Updated Dropdown Design (Image 2) */
.dropdown {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    /* Soft blue from image */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    margin: 0;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10;
}

/* The pointer triangle on top of the dropdown */
.dropdown::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 35px;
    /* Aligns with the text of the nav item */
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #e2e2e2;
    /* Light grey triangle */
}

.has-dropdown:hover .dropdown {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 10px 25px;
    color: #000000;
    /* White text */
    font-size: 14px;
    font-weight: 500;
    border-bottom: none;
    /* Removed the border */
}

.dropdown li a:hover {
    background-color: transparent;
    color: #000000;
    opacity: 0.8;
}

/* =========================================
   HERO CAROUSEL (#myCarousel)
   ========================================= */
#banner {
    width: 100%;
    overflow: hidden;
}

#myCarousel .carousel-item img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    object-position: center;
    display: block;
}

#myCarousel .carousel-control-prev,
#myCarousel .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50%;
    opacity: 1;
}

#myCarousel .carousel-control-prev { left: 16px; }
#myCarousel .carousel-control-next { right: 16px; }

#myCarousel .carousel-control-prev-icon,
#myCarousel .carousel-control-next-icon {
    width: 18px;
    height: 18px;
}

#myCarousel .carousel-indicators {
    bottom: 12px;
}

#myCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    margin: 0 4px;
}

#myCarousel .carousel-indicators button.active {
    background: #ffffff;
}

@media (max-width: 991px) {
    #myCarousel .carousel-item img {
        height: 380px;
    }
}

@media (max-width: 767px) {
    #myCarousel .carousel-item img {
        height: 240px;
        object-position: center;
    }

    #myCarousel .carousel-control-prev,
    #myCarousel .carousel-control-next {
        width: 36px;
        height: 36px;
    }

    #myCarousel .carousel-control-prev { left: 8px; }
    #myCarousel .carousel-control-next { right: 8px; }

    #myCarousel .carousel-indicators button {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    #myCarousel .carousel-item img {
        height: 190px;
    }
}

/* =========================================
   RESPONSIVE LAYOUT FIXES
   ========================================= */
@media (max-width: 991px) {

    /* Hide the pill button on mobile so it doesn't crowd the layout, 
       assuming your top-bar__phone handles mobile phone display */
    .header-action-btn {
        display: none;
    }

    /* Keep your existing mobile CSS below... */
    .dropdown {
        background: var(--gray-bg);
    }

    .dropdown::before {
        display: none;
        /* Hide triangle on mobile dropdowns */
    }

    .dropdown li a {
        color: var(--text-secondary);
    }
}

/* =========================================
   FOOTER STYLES
   ========================================= */

/* --- Top CTA Bar --- */
/* =========================================
   FOOTER STYLES (LIGHT THEME)
   ========================================= */

.site-footer {
    background-color: rgb(127, 180, 1);
    ;
    /* Light gray background */
    color: #333333;
    /* Dark gray text */
    padding-top: 60px;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

.footer-grid {
    display: grid;
    /* 4 Columns matching the layout */
    grid-template-columns: 2.5fr 1fr 1fr 1.2fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 220px;
    margin-bottom: 15px;
}

.footer-heading {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    /* Theme Blue */
    margin: 0 0 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #ffffff;
    padding-right: 20px;
}

/* Links Columns */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    font-size: 14px;
    color: #ffffff;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #0b5ed7;
}

/* Contact Info Column */
.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.footer-contact-info li {
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-contact-info strong {
    color: #ffffff;
    font-weight: 700;
}

.text-muted {
    color: #ffffff;
}

.footer-contact-info a.text-muted:hover {
    color: #0b5ed7;
}

/* Social Icon Circles */
.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #ffffff;
    /* Blue Border */
    border-radius: 50%;
    color: #ffffff;
    background-color: transparent;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-socials svg {
    width: 14px;
    height: 14px;
}

/* Footer Bottom (Copyright) */
.footer-bottom {
    background-color: transparent;
    color: #555555;
    padding: 20px 0;
    font-size: 13px;
    border-top: none;
}

.footer-bottom p {
    margin: 0;
}

.text-center {
    text-align: center;
}

.text-primary-link {
    color: #fafafa;
    text-decoration: none;
    font-weight: 500;
}

.text-primary-link:hover {
    text-decoration: underline;
}

/* --- Responsive Footer Layout --- */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-desc {
        padding-right: 0;
    }

    .footer-socials {
        justify-content: center;
    }
}

.text-primary {
    color: var(--primary) !important;
}

/* --- Scroll To Top Button --- */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--theme-green) !important;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

.scroll-to-top:hover {
    background-color: #29C3D4;
    /* Slightly darker blue */
    transform: translateY(-3px);
}

/* --- Responsive Layout (Mobile & Tablet) --- */
@media (max-width: 991px) {

    /* Header Responsive (Kept from before) */
    .top-bar {
        display: block;
    }

    .top-bar__inner {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 15px 10px;
        align-items: center;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 50px;
        height: 50px;
        background: #4a4a4a;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: #ffffff;
    }

    .top-bar__phone {
        grid-column: 2;
        grid-row: 1;
        justify-content: center;
        font-size: 20px;
    }

    .top-bar__socials {
        grid-column: 2;
        grid-row: 2;
        justify-content: center;
        border-top: 1px solid var(--gray-border);
        padding-top: 10px;
    }

    .top-bar__socials a {
        border-left: none;
    }

    .top-bar__socials a:last-child {
        border-right: none;
    }

    .main-header__inner {
        flex-direction: column;
        position: relative;
    }

    .site-logo {
        padding: 20px 0;
        text-align: center;
    }

    .site-logo img {
        margin: 0 auto;
    }

    .main-nav {
        width: 100%;
        display: none;
        border-top: 1px solid var(--gray-border);
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav__menu {
        flex-direction: column;
    }

    .main-nav__menu>li>a {
        padding: 15px 20px;
        border-bottom: 1px solid var(--gray-border);
    }

    .dropdown {
        position: static;
        box-shadow: none;
        visibility: visible;
        opacity: 1;
        transform: none;
        display: none;
        background: var(--gray-bg);
    }

    .has-dropdown.active-dropdown .dropdown {
        display: block;
    }

    .dropdown li a {
        padding-left: 40px;
    }

    /* Footer Responsive */
    .footer-cta__inner {
        flex-direction: column;
        text-align: center;
        padding-left: 0;
    }

    .footer-cta__text {
        padding: 20px 15px;
    }

    .footer-cta__button-wrapper {
        width: 100%;
        clip-path: none;
        padding: 20px;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-contact-list li {
        justify-content: center;
    }

    .footer-social-boxes {
        align-items: center;
    }

    .footer-bottom__inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* =========================================
   WHY CHOOSE US SECTION
   ========================================= */
.why-choose-section {
    background-color: #E4F6FF;
    /* Dark grey background matching image */
    padding: 60px 0;
    /* border-bottom: 12px solid #3DBFEA; */
    /* Thick cyan border at the bottom */
    font-family: 'Inter', Arial, sans-serif;
}

.why-title {
    color: #000000;
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
}

/* Grid Layout */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns on desktop */
    gap: 30px;
}

/* Individual Card Styling */
.why-card {
    background-color: #ffffff;
    padding: 35px 20px;
    text-align: left;
    height: 100%;
    /* Ensures all cards stretch evenly if text lengths vary */
    box-sizing: border-box;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Cyan Top/Bottom Borders for Title */
.why-card-header {
    border-top: 2px solid #3DBFEA;
    border-bottom: 2px solid #3DBFEA;
    padding: 12px 0;
    margin-bottom: 20px;
}

.why-card-title {
    color: #3DBFEA;
    /* Cyan text */
    font-size: 16px;
    font-weight: 800;
    margin: 0;
    text-transform: capitalize;
    text-align: center;
    ;
}

/* Paragraph inside the card */
.why-card-body p {
    color: #000000;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   RESPONSIVE QUERIES
   ========================================= */
@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablets */
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .why-choose-section {
        padding: 60px 0;
    }

    .why-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .why-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }

    .why-card {
        padding: 25px 20px;
    }
}

/* =========================================
   SERVICES HEADER SECTION
   ========================================= */
.services-header-wrapper {
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Inter', Arial, sans-serif;
    width: 100%;
}

.services-main-title {
    color: #000000;
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

/* Flexbox container to align lines, stars, and text */
.services-subtitle-row {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 700px;
    /* Controls the total width of the lines */
    margin: 0 auto;
    gap: 15px;
}

/* Flexible lines that stretch to fill empty space */
.header-line {
    flex-grow: 1;
    height: 1px;
    background-color: #e0e0e0;
    /* Light grey line */
}

.header-star {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    /* Prevents the star from squishing */
}

.services-subtitle-text {
    font-size: 16px;
    color: #000000;
    font-weight: 400;
    white-space: nowrap;
    /* Keeps the text on one line on desktop */
}

/* =========================================
   RESPONSIVE QUERIES
   ========================================= */
@media (max-width: 768px) {
    .services-main-title {
        font-size: 30px;
    }

    .services-subtitle-row {
        max-width: 100%;
        padding: 0 20px;
        gap: 10px;
    }

    .services-subtitle-text {
        font-size: 14px;
        white-space: normal;
        /* Allows text to wrap on very small screens if needed */
    }

    .header-star {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .services-main-title {
        font-size: 26px;
    }

    /* Shrink lines slightly to give text more room on mobile */
    .header-line {
        flex-grow: 0.5;
    }
}

/* =========================================
   FOOTER STYLES
   ========================================= */

.site-footer {
    background-color: #81ba00;
    /* Main Theme Green matching the header */
    color: #ffffff;
    padding-top: 60px;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

/* 3 Column Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    /* Matches visual proportions */
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    max-width: 220px;
    margin-bottom: 20px;
}

.footer-heading {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 25px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 25px;
    padding-right: 30px;
}

/* Solid Phone Button */
.footer-phone-btn {
    display: inline-block;
    background-color: #6a9900;
    /* Slightly darker green for contrast */
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.footer-phone-btn:hover {
    background-color: #557a00;
}

/* Links Column (Categories) */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
    /* Dashed separator line */
    margin-bottom: 12px;
    padding-bottom: 12px;
}

.footer-links li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-links a {
    font-size: 14px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #e2e2e2;
}

.chevron {
    font-size: 11px;
    font-weight: bold;
}

/* Contact Info Column */
.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
}

.footer-contact-info svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.text-white {
    color: #ffffff !important;
    text-decoration: none;
}

.text-white:hover {
    color: #e2e2e2 !important;
}

/* Footer Bottom (Copyright & Socials) */
.footer-bottom {
    background-color: #5c7719;
    /* Dark olive green matching the image */
    padding: 20px 0;
    font-size: 13px;
    color: #ffffff;
}

.footer-bottom__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
}

.text-primary-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.text-primary-link:hover {
    text-decoration: underline;
}

/* Social Icons */
.footer-socials {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-socials a {
    color: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials a:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.footer-socials svg {
    width: 20px;
    height: 20px;
}

/* --- Responsive Footer Layout --- */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-bottom__inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-desc {
        padding-right: 0;
    }

    .footer-contact-info li {
        justify-content: center;
    }

    .footer-links a {
        justify-content: center;
    }
}