/* Basic Reset & Body Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin-top: 20px; /* Added top margin to push header down */
}

/* Header Styles */
.site-header {
    background-color:black;
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-top: -50px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Side: Logo */
.header-left .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    display: flex; /* Helps with vertical alignment of image */
    align-items: center;
}

.header-left .logo img {
    max-height: 60px; /* Control the height of your logo */
}

/* Center: Search Box */
.header-center {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.search-form {
    display: flex;
    width: 100%;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.search-button {
    padding: 10px 15px;
    border: 1px solid #0F6B4B;
    background-color: #0F6B4B;
    color: white;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    border-left: none;
}

/* Right Side: Contact & Hamburger */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-link {
    text-decoration: none;
    color: #0F6B4B;
    font-weight: 500;
    white-space: nowrap; /* Prevents "Contact Us" from wrapping */
}

/* New styles for the Contact Us button */
.contact-btn {
    background-color: #0F6B4B;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-right: 15px; /* Added right margin */
}

.hamburger-btn {
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    border: none;
    cursor: pointer;
    
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Hamburger 'X' animation */
.hamburger-btn.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-btn.open span:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu (Toggled by Hamburger) */
.mobile-menu {
    display: flex;
    flex-direction: column;
    background-color: #333;
    position: fixed; /* Use fixed to overlay content */
    top: 0;
    right: 0;
    width: 280px; /* Set a width for the side menu */
    height: 100%;
    transform: translateX(100%); /* Move it off-screen to the right */
    transition: transform 0.3s ease-in-out;
    will-change: transform; /* Optimization for smooth animation */
    z-index: 999; /* Set z-index higher than the header (1000) */
    padding-top: 120px; /* Add padding to clear the header */
}

.mobile-menu.open {
    transform: translateX(0); /* Slide it into view */
}

.mobile-menu a {
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    border-bottom: 1px solid #444;
}

.mobile-menu a:hover {
    background-color: #555;
}

/* Style for the currently active menu item */
.mobile-menu a.active {
    background-color: #0F6B4B;
    color: #ffffff;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

    .header-center {
        order: 3; /* Move search to the bottom */
        width: 100%;
        padding: 15px 0 0 0;
    }

    .contact-btn {
        display: none; /* Hide "Contact Us" on small screens */
    }
}

main {
    padding: 20px;
}




/* Footer */
    .site-footer {
        background-color: var(--brand-dark, #073525);
        color: rgba(255, 255, 255, 0.7);
        padding: clamp(60px, 8vw, 80px) 20px 0;
        position: relative;
        overflow: hidden;
    }

    .site-footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image:
            linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
        background-size: 60px 60px;
        opacity: 0.5;
    }
    
.color-shifting-text1 {
    display: inline-block;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;

    background: linear-gradient(
        90deg,
        #ffffff,
        #00b86b,
        #ffffff,
        #d4af37,
        #ffffff
    );

    background-size: 300% auto;

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: colorShift 5s linear infinite;

    transition: transform .3s ease;
}

.color-shifting-text1:hover {
    transform: scale(1.05);
}

@keyframes colorShift {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 300% center;
    }
}

    .footer-shell {
        width: min(1240px, 100%);
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 40px 30px;
        position: relative;
        z-index: 2;
    }

    .footer-title {
        font-size: 16px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 20px;
        letter-spacing: 0.02em;
    }

    .footer-about .footer-title {
        font-size: 18px;
    }

    .footer-description {
        font-size: 14px;
        line-height: 1.7;
    }

    .footer-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .footer-list li {
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .footer-list a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: color 0.3s ease, transform 0.3s ease;
        display: inline-block;
    }

    .footer-list a:hover {
        color: var(--brand-accent, #D4AF37);
        transform: translateX(3px);
    }

    .footer-contact .footer-list i {
        color: var(--brand-accent, #D4AF37);
        width: 16px;
        text-align: center;
    }

    .footer-cta .hero-btn {
        width: 100%;
    }

    .footer-bottom-bar {
        margin-top: clamp(50px, 7vw, 70px);
        padding: 24px 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        z-index: 2;
    }

    .bottom-bar-shell {
        width: min(1240px, 100%);
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
        font-size: 13px;
    }

    .legal-links {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .legal-links a {
        color: rgba(255, 255, 255, 0.6);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .legal-links a:hover {
        color: #fff;
    }

    @media (max-width: 768px) {
        .bottom-bar-shell {
            flex-direction: column-reverse;
            gap: 16px;
            text-align: center;
        }
    }
