/* General Styles */
body {
    font-family: coop, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3 {
    color: white;
}

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

section {
    padding: 40px 20px;
    text-align: center;
}

/* 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-face {
    font-family: 'coop2';
    src: url('CooperHewitt-Medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
        }
/* 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 {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #27ae60;
}

/* 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 Section */
/* Hero Section */
.hero {
    background: url('home.jpg') no-repeat center center/cover;
    color: white;
    height: 101vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 0;
    perspective: 1000px; /* For a 3D depth effect */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 50, 50, 0.7));
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    animation: fadeInHero 1.5s ease-out;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(-80px) rotateX(10deg);
    animation: heroTitleAnimation 1.5s ease-out forwards;
    text-transform: uppercase;
    font-family: 'coop', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 5px 5px 20px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(60px) rotateX(-5deg);
    animation: heroSubtitleAnimation 1.8s ease-out forwards;
    font-family: 'coop2', sans-serif;
    letter-spacing: 1.5px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.85);
}

/* Call-to-Action Button */
.cta-button {
    display: inline-block;
    padding: 15px 50px;
    background: #27ae60;
    color: white;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
    transform: scale(0.9) translateY(30px);
    animation: buttonPopIn 2s ease-out forwards;
    opacity: 0;
}

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
    background: #006400;
}

/* Floating Elements for Extra Impact */
.hero .floating-shape {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    z-index: 0;
    animation: floatShape 6s ease-in-out infinite;
}

.hero .floating-shape:nth-child(1) {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.hero .floating-shape:nth-child(2) {
    top: 80%;
    right: 10%;
    animation-delay: 1.5s;
}

.hero .floating-shape:nth-child(3) {
    bottom: 20%;
    left: 40%;
    animation-delay: 3s;
}

/* Keyframe Animations */
@keyframes fadeInHero {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroTitleAnimation {
    0% {
        opacity: 0;
        transform: translateY(-80px) rotateX(10deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

@keyframes heroSubtitleAnimation {
    0% {
        opacity: 0;
        transform: translateY(60px) rotateX(-5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

@keyframes buttonPopIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes floatShape {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}
/* Mobile Specific Adjustments */
@media screen and (max-width: 768px) {
    .hero {
        height: 80vh; /* Reduce height for mobile */
    }

    .hero h1 {
        font-size: 3rem; /* Smaller font size for mobile */
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1.5rem; /* Smaller font size for mobile */
        margin-bottom: 25px;
    }

    .cta-button {
        padding: 12px 12px;
        font-size: 1rem;
        transform: scale(1) translateY(0); /* Adjust button scale */
    }

    .hero .floating-shape {
        width: 120px;
        height: 120px;
        animation-duration: 8s; /* Slower floating effect on mobile */
    }
}

/* Very Small Devices */
@media screen and (max-width: 480px) {
    .hero {
        height: 100vh; /* Further reduce height for smaller screens */
    }

    .hero h1 {
        font-size: 2.5rem; /* Even smaller title font size */
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 1rem; /* Even smaller subtitle font size */
        margin-bottom: 20px;
    }

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

    .hero .floating-shape {
        width: 100px;
        height: 100px;
        animation-duration: 10s; /* Slower floating effect */
    }
}


/* Services Section */
/* Services Section */
.services-section {
    padding: 50px 20px;
    background-color: white;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}


/* Section Title Styling */
.section-titleb {
    font-family: 'coop', Arial, sans-serif; /* Apply custom font */
    font-size: 3rem;
    color: black;
    margin-bottom: 20px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: pop-in 0.8s forwards 0.2s; /* Animation for the title */
}

/* Keyframe Animation for Pop-in */
@keyframes pop-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Increased minimum size of cards */
    gap: 20px;
    width: 100%;

}

/* Service Card */
.service-card {
   
    background-color: #27ae60;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-decoration: none;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-image img {
    width: 100%;
    height: 220px; /* Increased height for better visuals */
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-info {
    padding: 20px;
    text-align: center;
}

.service-info h3 {
    font-size: 1.5rem; /* Increased font size for better readability */
    color: white;
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
}

.service-card:hover .service-info h3 {
    color: black;
}

/* Pop-Up Animation for service cards */
.service-card.pop-up {
    opacity: 1;
    transform: translateY(0);
}
 /* Responsive Styles */
@media (max-width: 768px){
    .section-titleb{
        font-size: 2.5rem;
    }
}


/* About Section */
#about-us {
    padding: 50px 20px;
    background: url('your-background-image.jpg') center center / cover no-repeat;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.about-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1400px;
    width: 100%;
    margin: auto;
    position: relative;
    z-index: 2; /* Ensure content is above the background */
}

/* Other styles remain unchanged */


.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: none;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.about-text.animate {
    opacity: 1;
    transform: translateX(0);
}

.section-title {
    font-family: 'coop', Arial, sans-serif; /* Apply custom font */
    font-size: 3rem;
    margin-bottom: 20px;
    color: black;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-description {
    font-size: 1.25rem;
    margin-bottom: 20px;
    line-height: 1.6;
    color: black;
}



.cta-button5 {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: #27ae60;
    color: #fff;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    transform: scale(1.1);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: none;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.about-image.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

/* Animations */
@keyframes fade-in-left {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-in-right {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
 /* Responsive Styles */
@media (max-width: 768px){
    .section-title{
        font-size: 2.5rem;
    }
    .about-description {
    font-size: 1rem;
 
}

}

/* Why Choose Us Section */
/* Why Choose Us Section */
/* Why Choose Us Section */
.why-choose-us {
    background-color: #white;
    padding: 50px 20px;
    text-align: center;
    width: 100%;
}

/* Headline Animation */
.why-choose-us .section-title {
    font-size: 3rem;
    font-family: 'coop', Arial, sans-serif; /* Apply custom font */
    color: #333;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: headline-pop 1s forwards;
}

@keyframes headline-pop {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Points Container */
.points-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

/* Point Cards */
.point-card {
    background-color: #27ae60;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 18%;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.point-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.point-card h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
}

.point-card p {
    color: white;
    font-size: 1rem;
}

.point-card .icon img {
    width: 75px;
    height: 75px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.point-card:hover .icon img {
    transform: rotate(360deg);
}

/* Scroll Animation for Point Cards */
.point-card.pop-up {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
      .why-choose-us .section-title{
        font-size: 2.5rem;
    }
    .point-card {
        width: 45%;
    }

    /* Adjust heading size to 2.5rem for screens up to 768px */
    .point-card h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .why-choose-us .section-title{
        font-size: 2.5rem;
    }
    .point-card {
        width: 100%;
    }

    /* Adjust heading size to 2.5rem for screens up to 480px */
    .point-card h2 {
        font-size: 2.5rem;
    }
}



/* Testimonials Section */
/* Reviews Section */
./* Reviews Section */
/* Reviews Section */
.reviews-section {
    width: 100%;
    padding: 50px 20px;
    background-color: black;
    box-sizing: border-box;
    text-align: center;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

/* Reviews Section */
.reviews-section {
    text-align: center;
    padding: 60px 20px;
    background: black;
     overflow-x: hidden;
}

/* Reviews Heading */
.reviews-heading {
    font-size: 3rem;
    font-family: 'coop', Arial, sans-serif; 
    font-weight: bold;
    margin-bottom: 40px;
    color: white;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.reviews-heading.scroll-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Carousel Container */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    padding: 10px;
}

/* Review Carousel */
.review-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;  /* Enables horizontal scrolling */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    transition: transform 0.1s ease-in-out;
}

/* Hide scrollbar on mobile */
.review-carousel::-webkit-scrollbar {
    display: none;
}


/* Individual Review Box */
.review-box {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    flex: 0 0 30%;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Review Text */
.review-text {
    font-size: 1.25rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Review Info */
.review-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Reviewer Name */
.review-name {
    font-size: 1rem;
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
}

/* Stars */
.review-stars {
    display: flex;
    justify-content: center;
    font-size: 1.3rem;
    color: #ffbb33;
}

.star {
    margin: 0 2px;
}

/* CTA Container */
.cta-container {
    margin-top: 40px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 14px 35px;
    background-color: #27ae60;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
    opacity: 0;
    transform: translateY(50px);
}

.cta-button.scroll-animate {
    opacity: 1;
    transform: translateY(0);
}

.cta-button:hover {
    background-color: #218c54;
    transform: scale(1.05);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .review-box {
        flex: 0 0 45%;
    }
}

@media screen and (max-width: 768px) {
    .reviews-heading {
        font-size: 2.5rem;
        margin-bottom: 25px;
    }

    .review-box {
        flex: 0 0 100%;
        padding: 20px;
        margin: 10px 0;
    }

    .review-text {
        font-size: 1rem;
    }

    .review-name {
        font-size: 1rem;
    }

    .review-stars {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .reviews-heading {
        font-size: 2.5rem;
    }

    .review-box {
        padding: 15px;
    }

    .review-text {
        font-size: 1rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    /* Hide arrows on mobile */
@media screen and (max-width: 768px) {
    .carousel-arrow {
        display: none;
    }
}
}



/* Areas Served Section */
/* Areas Served Section */
.areas-served {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

/* Left Side (Map Grid) */
.areas-served-left {
    width: 48%;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Map Grid Styling */
.areas-served-maps {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 Grid */
    gap: 15px;
    width: 100%;  /* Adjust this value to make the box smaller/larger */
    max-width: 575px; /* Example: Limit max size */
    height: auto; /* Keeps aspect ratio */
}


.map-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.map-item h3{
    text-align: center;
     font-family: 'coop', sans-serif;
     font-size: 1.5rem;
     color: black;
}

/* Right Side (Text Content) */
.areas-served-right {
    width: 48%;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.areas-served-right h2 {
    font-family: 'coop', sans-serif;
    font-size: 3rem;
    color: #333;
    margin-bottom: 20px;
}

.areas-served-right a {
 
 
    color: #27ae60;
  
}
.areas-served-right p {
    font-size: 1.25rem;
    color: #555;
    line-height: 1.6;
}

/* Visibility Animations */
.visible-left {
    opacity: 1;
    transform: translateX(0);
}

.visible-right {
    opacity: 1;
    transform: translateX(0);
}

.visible-left .map-item img {
    opacity: 1;
    transform: scale(1);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .areas-served {
        flex-direction: column-reverse;
        text-align: center;
    }

    .areas-served-left, .areas-served-right {
        width: 100%;
    }

    .areas-served-maps {
        grid-template-columns: 1fr; /* Stacks images in a single column */
    }

    .areas-served-right p {
     margin-bottom: 20px;
     font-size: 1rem;
     text-align: center;
}
.areas-served-right h2 {
    
    font-size: 2.5rem;
  
}

}
 


/* Contact Section */
/* Contact + Call to Action Section */
.contact-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 20px;
    background: url('path/to/your-image.jpg') center/cover no-repeat;
    background-color: #f8f8f8;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 0; /* Start off hidden */
    transform: translateY(50px); /* Start from below */
    transition: opacity 1s ease-out, transform 1s ease-out; /* Smooth transition */
}


/* Left Side: Contact Form */
.contact-form-container {
    background-color: #27ae60;
    border-radius: 10px;
    padding: 30px;
    width: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Contact Form Inputs */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
}

.contact-form textarea {
    height: 150px;
    resize: none;
}

/* Call to Action Button */
.cta-button1 {
    background-color: black;
    color: white;
    padding: 15px 30px;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    background-color: #006400;
}

/* Right Side: Contact Info */
.contact-info {
    max-width: 600px;
    padding-left: 30px;
    text-align: left;
}

/* Heading for Contact Info */
.contact-info h2 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 20px;
    font-family: 'coop', Arial, sans-serif; /* Apply custom font */
    font-weight: 700;
    line-height: 1.2;
    text-align: center; /* Center the heading */
}

/* Paragraph Styling for Contact Info */
.contact-info p {
    font-size: 1.25rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
   font-family: 'coop2', Arial, sans-serif; 
    max-width: 90%;
    text-align: center; /* Center the text */
    margin-left: auto;
    margin-right: auto;
}

/* Animations */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(50px); /* Start from below */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Normal position */
    }
}

/* Make the contact-cta section visible when it enters the viewport */
.visible-contact {
    opacity: 1;
    transform: translateY(0);
    animation: slideIn 1s ease-out forwards;
}

/* Mobile Responsive Design for Contact + Call to Action Section */
@media screen and (max-width: 768px) {
    .contact-cta {
        flex-direction: column; /* Stack the content vertically on mobile */
        padding: 40px 20px; /* Adjust padding for smaller screens */
        text-align: center; /* Center-align all text inside the section */
    }

    .contact-form-container {
        width: 100%; /* Make the contact form take full width */
        margin-bottom: 30px; /* Add space between the form and the contact info */
        text-align: center; /* Center-align the form content */
    }

    .cta-button {
        width: 100%; /* Make the CTA button take full width */
        padding: 15px; /* Adjust padding for better fit on smaller screens */
    }

    .contact-info {
        max-width: 100%; /* Ensure contact info container takes full width */
        padding-left: 0; /* Remove left padding */
        text-align: center; /* Center-align text */
    }

    .contact-info h2 {
        font-size: 2.5rem; /* Adjust heading size for mobile */
        margin-bottom: 15px; /* Reduce margin for smaller screens */
        text-align: center; /* Ensure the heading is centered */
        display: block; /* Make sure the heading behaves like a block element */
    }

    .contact-info p {
        marhi
        font-size: 1.2rem; /* Adjust paragraph font size for mobile */
        margin-bottom: 20px; /* Reduce bottom margin */
        text-align: center; /* Ensure the paragraph is centered */
        display: block; /* Ensure the paragraph is centered as a block element */
    }
}

/* Very Small Devices (Extra Small Phones) */
@media screen and (max-width: 480px) {
    .contact-info h2 {
        font-size: 2.5rem; /* Further reduce heading font size */
    }

    .contact-info p {
        margin-left: 20px;
        font-size: 1rem; /* Further reduce paragraph font size */
        margin-bottom: 15px; /* Adjust margin for smaller screens */
    }

    .cta-button {
        font-size: 1rem; /* Adjust font size for button */
        padding: 12px 25px; /* Adjust padding for smaller screens */
    }
}


/* 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;
    }
}

