/* General Styles */
body {
    font-family: coop, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
 h1{
    color: white;
 }
 h2, h3 {
    color: black;
}

a {
    text-decoration: none;
    color: white;
}

section {
 
    text-align: left;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
      font-family: 'coop2', Arial, sans-serif;
    overflow-x: hidden;
}
@font-face {
    font-family: 'coop';
    src: url('CooperHewitt-Heavy.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
        }
        @font-face {
    font-family: 'coop2';
    src: url('CooperHewitt-Medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
     font-display: swap;
        }

/* Navbar Styling */
/* Navbar Styling */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 40px 80px; /* Default padding for larger screens (desktop) */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

/* Navbar Shrinks on Scroll */
.navbar.shrink {
    padding: 40px 80px; /* Keep same padding on scroll for desktop */
    background: black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Mobile-Specific Styles */
@media screen and (max-width: 1112px) {
    .navbar {
        padding: 50px 100px; /* Adjust padding for mobile */
    }

    /* Enable scrolling on mobile and customize scrollbar */
    .mobile-nav {
        display: block;
        height: 100vh; /* Full viewport height */
        overflow-y: auto; /* Enable vertical scrolling */
    }

    /* Custom Scrollbar for Mobile */
    .mobile-nav::-webkit-scrollbar {
        width: 8px; /* Set scrollbar width */
    }

    .mobile-nav::-webkit-scrollbar-thumb {
        background-color: #27ae60; /* Set thumb color */
        border-radius: 10px;
    }

    .mobile-nav::-webkit-scrollbar-track {
        background: #f1f1f1; /* Set track color */
        border-radius: 10px;
    }
}

/* Desktop-Specific Styles */
@media screen and (min-width: 1112px) {
    .navbar {
        padding: 40px 80px; /* Larger padding for desktop */
    }

    /* You can add any other desktop-specific adjustments here */
}

/* Change text color to white when shrunk */
.navbar.shrink .nav-links ul li a {
    color: #fff;
}

.navbar .logo img {
    height: 50px;
    transition: height 0.3s ease-in-out;
}

.navbar.shrink .logo img {
    height: 40px;
}

/* Navigation Links */
.nav-links ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links ul li {
    position: relative;
}

.nav-links ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

/* Underline Animation */
.nav-links ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #27ae60;
    transition: width 0.3s ease;
}

/* Hover Effect */
.nav-links ul li a:hover {
    color: #27ae60;
}

.nav-links ul li a:hover::after {
    width: 100%; /* Expands the underline to full width */
}

/* Dropdown Menu Arrow */
.nav-links ul li .dropdown {
    position: relative;
    display: inline-block;
}

.nav-links ul li .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-right: 20px; /* Extra space to prevent overlap with the arrow */
}

.nav-links ul li .dropdown-toggle .dropdown-icon {
    margin-left: 8px;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.nav-links ul li .dropdown:hover .dropdown-icon {
    transform: rotate(180deg); /* Arrow rotation on hover */
}

/* Dropdown Menu (before scroll) */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; /* Below the parent menu item */
    left: 50%; /* Center the dropdown under the parent */
    transform: translateX(-50%);
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* More prominent shadow */
    padding: 10px 0; /* Space around dropdown items */
    border-radius: 8px; /* Rounded corners */
    list-style: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease, opacity 0.3s ease;
    min-width: 200px;
    text-align: left; /* Align dropdown items to the left */
}

/* Dropdown Menu (after scroll) */
.navbar.shrink .dropdown-menu {
    background: black;
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Dropdown Items */
.dropdown-menu li {
    padding: 8px 20px;
    transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-menu li a {
    text-decoration: none;
    color: black;
    font-size: 14px;
    font-weight: 500;
}

/* Change dropdown text color when scrolled */
.navbar.shrink .dropdown-menu li a {
    color: white;
}

.dropdown-menu li:hover a {
    color: black; /* Highlight text */
}

/* Dropdown Icon */
.dropdown > a::after {
    content: "▼";
    margin-left: 5px;
    font-size: 12px;
    color: #333;
    transition: transform 0.3s ease;
}

.dropdown:hover > a::after {
    transform: rotate(180deg); /* Arrow flips on hover */
}

/* CTA Button */
.ccta-button {
    display: inline-block;
    padding: 10px 20px;
    background: #27ae60;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.ccta-button:hover {
    background: #006400;
}

/* Container Styling */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Responsive Styles */
/* Mobile-specific styles */
/* Mobile-specific styles */
.hamburger-menu {
    display: none; /* Hide by default */
    flex-direction: column;
    gap: 7px;
    cursor: pointer;
    position: absolute; /* For precise positioning */
    top: 32.5px; /* Adjust vertical spacing */
    left: 25px; /* Move farther to the left */
    z-index: 15; /* Ensure the hamburger icon is above other elements */
}

.hamburger-menu span {
    width: 30px;
    height: 3px;
    background-color: #27ae60;
    border-radius: 5px;
}

/* Phone Icon - Visible only on mobile */
/* Mobile Phone Icon Container */
.phone-icon-container {
    position: absolute;
    top: 12.5px;
    right: 15px;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px; /* Adjust as needed */
    height: 60px; /* Adjust as needed */
}

/* Image within the phone icon */
.phone-icon-container img {
    width: 100%; /* Make sure the image fills the container */
    height: 100%; /* Make sure the image fills the container */
    object-fit: contain; /* Ensure the image keeps its aspect ratio */
}



/* Mobile-specific Media Queries */
@media screen and (max-width: 1112px) {
    /* Logo positioning */
    .navbar .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Hide navigation links on mobile */
    .nav-links {
        display: none;
    }

    /* Show hamburger menu on mobile */
    .hamburger-menu {
        display: flex;
    }

    /* Hide CTA button on mobile */
    .ccta-button {
        display: none;
    }

    /* Show mobile menu when hamburger is clicked */
    .mobile-nav.active {
        display: block;
    }

    /* Show Phone Icon container on mobile */
    .phone-icon-container {
        display: block; /* Show phone icon container on mobile */
    }
}


/* Desktop Styles */
@media screen and (min-width: 1112px) {
    .phone-icon {
        display: none; /* Hide phone icon on desktop */
    }

    /* Ensure the navigation links show on desktop */
    .nav-links {
        display: flex;
    }

    .hamburger-menu {
        display: none; /* Hide hamburger menu on desktop */
    }

    .ccta-button {
        display: inline-block; /* Show CTA button on desktop */
    }
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}

.mobile-nav.active {
    display: block;
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: flex-end;
}

.close-btn {
    color:#333;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: black;
}

/* Mobile Navigation List */
.mobile-nav ul {
    list-style: none;
    margin-top: 1rem;
    padding: 0;
}

.mobile-nav ul li {
    margin-bottom: 1rem;
}

.mobile-nav ul li a {
    text-decoration: none;
    color: #000;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space between text and dropdown icon */
    padding: 10px;
    transition: background 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.mobile-nav ul li a:hover {
    background: #27ae60;
    color: #fff;
    border-radius: 5px;
}

/* Dropdown Menu */
/* Mobile Navigation Dropdown */
.mobile-nav ul li .servicesDropdown {
    display: none; /* Initially hidden */
    list-style: none;
    padding-left: 1.5rem; /* Indent items for a cleaner look */
    margin-top: 0.5rem; /* Add space between parent and dropdown */
    background: fff;
    border-left: 2px solid #27ae60; /* Highlight the dropdown area */
    transition: max-height 0.3s ease, opacity 0.3s ease; /* Smooth open/close animation */
    overflow: hidden; /* Prevent content overflow */
    max-height: 0; /* Collapsed by default */
    opacity: 0; /* Fully transparent by default */
}

.mobile-nav ul li .servicesDropdown.open {
    display: block; /* Show dropdown menu */
    max-height: 500px; /* Limit dropdown expansion */
    opacity: 1; /* Fully visible */
}

.mobile-nav ul li .dropdown-toggle {
    font-size: 1rem;
    cursor: pointer; /* Indicate it's clickable */
    display: flex;
    justify-content: space-between; /* Align text and icon */
    align-items: center;
    padding: 10px;
    color: #000; /* Default color */
    transition: background 0.3s ease, color 0.3s ease; /* Smooth hover effect */
}

.mobile-nav ul li .dropdown-toggle:hover {
    background: #27ae60; /* Highlight background on hover */
    color: #fff; /* Change text color on hover */
}

.mobile-nav ul li .dropdown-toggle .dropdown-icon {
    font-size: 1rem;
    margin-left: 10px;
    transition: transform 0.3s ease; /* Rotate animation for the icon */
}

.mobile-nav ul li .dropdown-toggle.open .dropdown-icon {
    transform: rotate(90deg); /* Rotate icon when dropdown is open */
}

/* Hero Section */
.hero {
  position: relative; /* Allows for child elements to be positioned absolutely */
  width: 100%;
  height: 550px;
  overflow: hidden;
}

.hero-image {
  margin-top: 50px;
  margin-left:px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: ''; /* Creates the overlay */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Dark overlay, adjust opacity as needed */
  z-index: 1; /* Ensures overlay is above the image, but below the text */
}

.hero-text {
  position: absolute; /* Allows text to overlay the image */
  top: 60%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Adjusts to center perfectly */
  text-align: center;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Makes text stand out on the image */
  z-index: 2; /* Ensures text is above the overlay */
}

.hero-text h1 {
  font-family: 'coop', sans-serif;
  font-size: 4em;
  margin: 0;
}

@media (max-width: 768px) {
    .hero-text h1{
        font-size: 3em;
    }

}
/* HERO SECTION */
/* (Your hero styles are already defined in your shared header/hero markup) */

/* Contact Section */
/* Contact Section */
.contact-section {
    padding: 50px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Contact Container */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
}

 .contact-section h2 {
    font-size: 2.5rem;
     font-family: 'coop', sans-serif;
     color: black;
 }



/* Contact Form Box */
.contact-box {
    flex: 1;
    min-width: 320px;
    background: #27ae60;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
}

.contact-box p {
     font-family: 'coop2', sans-serif;
    font-size: 1.25rem;
    color: white;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 30px;
}
.contact-box p a {
    color: black; /* Change this to your desired color */
    text-decoration: none; /* Removes underline */
    font-weight: bold; /* Makes the link stand out */
}

.contact-box p a:hover {
    color: white; /* Darker shade when hovered */
    text-decoration: underline; /* Adds underline on hover */
}
/* Form Styling */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    display: flex;
    gap: 15px;
}

.input-group input {
    flex: 1;
}

input, textarea {
    width: 100%;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: 0.3s;
}

input:focus, textarea:focus {
    border-color: black;
    outline: none;
}

/* Submit Button */
button {
     font-family: 'coop2', sans-serif;
    background: black;
    color: white;
    padding: 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #333;
}
@media (max-width: 768px) {
    .contact-box {
        width: 90%; /* Makes the box take up 90% of the screen width */
        padding: 20px; /* Reduces padding for a more compact look */
    }

    .input-group {
        flex-direction: column; /* Stacks inputs vertically */
        gap: 10px;
    }

    input, textarea {
        padding: 12px;
        font-size: 0.95rem;
    }

    button {
        padding: 12px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {

.contact-section h2 {
    font-size: 2rem;

 }
.contact-box p {
    font-size: 1rem;
}
    .contact-box {
        width: 100%; /* Makes it even more compact */
        padding: 15px;
    }

    input, textarea {
        padding: 10px;
        font-size: 0.9rem;
    }

    button {
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* Map Grid */
.map-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    min-width: 320px;
    opacity: 0;
    transform: translateY(50px);
}
.map-item h3{
    text-align: center;
     font-family: 'coop', sans-serif;
     font-size: 1.5rem;
}
.map-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.map-item img:hover {
    transform: scale(1.05);
}
/* Footer Styling */
.footer {
    background-color: black;
    color: #fff;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Logo Section */
.footer-logo img {
    max-width: 150px;
    margin: 0 auto;
}

/* Contact Section */
.footer-contact h4,
.footer-social h4,
.footer-counties h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #27ae60;
}

.footer-contact a {
    color: #27ae60;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}
/* Social Icons */
.footer-social .social-icon {
    margin: 0 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-social .social-img {
    width: 30px;
    height: 30px;
   
    transition: filter 0.3s ease, transform 0.3s ease;
}

.footer-social .social-icon:hover .social-img {
    filter: brightness(0) saturate(100%) hue-rotate(90deg); /* greenish hover effect */
    transform: scale(1.1);
}


/* Counties Served */
.footer-counties p {
    font-size: 16px;
}

/* CTA Button */
.footer-cta .cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: #27ae60;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.footer-cta .cta-button:hover {
    background: #27ae60;
}

/* Bottom Section */
.footer-bottom {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #ccc;
    border-top: 1px solid #555;
    padding-top: 20px;
}

.footer-bottom a {
    color: #27ae60;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact,
    .footer-social,
    .footer-counties,
    .footer-cta {
        margin-bottom: 20px;
    }
}


/* Scroll Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;

    }

    .input-group {
        flex-direction: column;
    }

    .map-grid {
        grid-template-columns: 1fr;
    }
}




/* GSAP Animation Hook */
[data-animation] {
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-main .container,
  .contact-info .container {
    flex-direction: column;
  }
}