/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #F5F5F5;
    color: #333;
}

/* Button Styling */
.cta-button {
    display: inline-block;
    background: #3E704D;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.cta-button:hover {
    transform: scale(1.05); /* Slight hover pop effect */
    background: #E63946;
}

@media (max-width: 768px) {
    .cta-button {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
        padding: clamp(10px, 2vw, 15px) clamp(15px, 3vw, 20px);
    }
}

/* Header Section */
.header {
    background: #E8F6F0;
    color: #3E704D;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed; /* Keeps header in place */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000; /* Ensures it stays above everything */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Adds slight shadow */
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 5px 15px; /* ✅ Reduces padding */
    height: 60px; /* ✅ Ensures consistent header height */
    flex-wrap: nowrap;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    height: 60px; /* Adjusted to fit proportionally */
    width: auto;
    border-radius: 5px;
}

.title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    text-align: center;
    min-width: 0;
    margin-left: -30px;
}

.business-name {
    font-size: clamp(28px, 5vw, 44px); /* Smooth scaling */
    white-space: nowrap; /* Prevents wrapping */
    flex-grow: 1;
    color: #4f16c4;
    font-weight: bold;
    text-align: center; 
    margin: 0 auto; /* Centers it inside flexbox */
    transition: font-size 0.3s ease-in-out; /* Smooth size transition */
    font-family: 'Playfair Display', serif;
}

/* Adjust header layout for mobile */
@media (max-width: 600px) {
    .header-container {
        display: flex;
        flex-direction: row; /* Stack items */
        justify-content: space-between; /* Keeps elements evenly spaced */
        align-items: center;
        padding: 10px; /* Reduce padding for more space */
    }

    .logo {
        height: 55px; /* Slightly reduce logo size */
        width: auto;
    }

    .business-name {
        font-size: clamp(24px, 6vw, 32px); /* Dynamically resizes */
        text-align: center;
        white-space: nowrap; /* Prevents wrapping */
        overflow: hidden;
    }
    
    .title-container {
        flex: 1;
        min-width: 0; /* ✅ Ensures it doesn’t force other elements to shrink */
    }
    
    .contact-info {
        display: flex;
        flex-wrap: nowrap; /* ✅ Forces content to stay on one line */
        align-items: center;
        justify-content: center;
        font-size: 12px;
    }
    
    .contact-link {
        white-space: nowrap; /* ✅ Prevents wrapping */
    }

    .logo-container, .menu-toggle {
        flex: 0 0 50px; /* Forces equal size */
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

}

/* Contact Info In Header */
.contact-info {
    display: flex; /* Use flexbox */
    flex-wrap: nowrap; 
    gap: 10px; /* Keep space between phone and email */
    align-items: center; /* Align them properly */
    justify-content: center; /* Keep centered */
    font-size: 14px; /* Default font size */
    white-space: nowrap; /* Prevents text wrapping */
    overflow: hidden; /* Ensures no layout breaking */
    max-width: 100%; /* Prevents overflow issues */
}

/* Adjust for smaller screens */
@media (max-width: 600px) {
    .contact-info {
        font-size: 13px;
        gap: 5px;
    }
}

/* Further tweak at ultra-small sizes */
@media (max-width: 400px) {
    .contact-info {
        font-size: 11px; /* Slightly smaller if needed */
        gap: 3px; /* Reduce gap even more */
    }
}

.contact-link {
    color: #1F3D5A;
    text-decoration: none;
    font-size: 20px;
    margin: 2px;
    align-items: center;
}

/* Adjust size for smaller screens */
@media (max-width: 800px) {
    .contact-link {
        font-size: 18px; /* ✅ Slightly smaller on medium screens */
    }
}

@media (max-width: 600px) {
    .contact-link {
        font-size: 16px; /* ✅ Even smaller for mobile */
    }
}

.contact-link:hover {
    color: blue;
    text-decoration: underline;
}

/* Navigation Bar And Menu Toggle */
.navbar {
    position: fixed;
    top: 90px; /* Adjust based on header height */
    left: 0;
    width: 100%;
    background: #1F3D5A;
    padding: 10px;
    display: flex;
    justify-content: center;  /* Keeps links centered */
    align-items: center;
    flex-wrap: nowrap; /* Prevents items from wrapping */
    overflow: hidden; /* Ensures no extra content pushes layout */
    max-width: 100%; /* Ensures navbar stays within the page width */
    white-space: nowrap; /* Prevents text wrapping */
    font-family: 'Trebuchet MS', sans-serif;
    z-index: 9998; /* Ensures it's above other elements */
}

.menu-toggle {
    flex: 0 0 50px;
    height: 50px;
    width: 50px; /* ✅ Ensures it's square */
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: #2A646D;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    border: none;
    transition: all 0.3s ease-in-out;
    top: 50%;  
    right: 15px;
    transform: translateY(-50%); /* ✅ Centers it properly */
}

/* Medium Screens: Slightly smaller */
@media (max-width: 800px) {
    .menu-toggle {
        font-size: 24px;
        padding: 12px;
    }
}

/* Small Screens: Shrink more */
@media (max-width: 600px) {
    .menu-toggle {
        flex: 0 0 50px; /* ✅ Keeps it same size as logo */
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;  
        right: 15px;
        transform: translateY(-50%); /* ✅ Centers it properly */
        font-size: 24px;
        padding: 10px;
    }    
}

.menu-toggle:hover {
    background-color: #1F3D5A;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap; /* Forces all links to stay on one line */
    padding-left: 0;
    margin: 0;
    max-width: 100%; /* Keeps list within the navbar */
}

.navbar li {
    margin: 0 12px; /* Adjust spacing to fit more links */
    white-space: nowrap; /* Prevents breaking onto multiple lines */
}

.navbar a {
    text-decoration: none;
    color: #A8E6CF;
    font-size: 16px;
    padding: 10px 12px;  /* Added padding to make the links easier to click/tap */
    transition: 0.3s;
    display: block;  /* Ensures the entire button area is clickable */
    border-radius: 5px;  /* Added a border radius for visual appeal */
}

.navbar a:hover {
    background: #88C070;
    color: white;
    text-decoration: underline;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);  /* Added a subtle shadow for better visual feedback */
}

/* Navbar Mobile Navigation */
@media (max-width: 850px) { /* Adjust when navbar disappears */
    .navbar {
        display: none; /* Completely removes the navbar */
    }
    
    .navbar ul {
        display: none;
        flex-direction: column;
        text-align: center;
        margin-top: 15px;
    }

    .navbar ul.active {
        display: flex;
    }

    .navbar li {
        margin: 10px 0;  /* Adjusted spacing for mobile */
    }

    .navbar a {
        padding: 20px;  /* Increased padding on mobile for better touch targets */
        font-size: 18px;  /* Increased font size on mobile */
    }
}

/* Dropdown Menu */
#dropdown-menu {
    display: none; /* Default state is hidden */
    position: absolute;
    top: 80px; /* Below the header */
    right: 20px;
    background: #6A9FB5;
    width: 200px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    transition: all 0.3s ease-in-out;
}

#dropdown-menu.active {
    display: block; /* Menu becomes visible */
}

#dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#dropdown-menu li {
    margin: 5px 0; /* Adds spacing between buttons */
}

#dropdown-menu a {
    text-decoration: none;
    color: #1F3D5A;
    font-size: 16px;
    display: block;
    padding: 12px 15px;
    background: #A8E6CF; /* Default button color */ 
    border-radius: 8px; /* Rounded buttons */
    text-align: center;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

#dropdown-menu a:hover {
    background: #88C070;
    color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

/* Welcome Section */
.welcome-section {
    position: relative;
    width: 100%; /* Ensures full width */
    height: 100vh; /* Makes sure it always fills the screen */
    background: url('images/arlington-landscaping.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    padding-top: 80px;
}

.welcome-section h1 {
    color: #E63946;
    font-weight: bold;
}

.welcome-bg {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the full image is always visible */
    z-index: -1; /* Moves image behind text */
}

/* 📌 Adjust padding for tablets (medium screens) */
@media (max-width: 768px) {
    .welcome-section {
        background: url('images/arlington-landscaping-mobile.webp') center/cover no-repeat;
        height: 85vh;
        padding-top: 50px;
    }

    .welcome-text {
        max-width: 90%;
        padding: 12px;
        top: 50%;
    }
}

/* 📌 Adjust padding for phones (small screens) */
@media (max-width: 480px) {
    .welcome-section {
        padding-top: 60px; /* Further reduced for smaller screens */
        padding-bottom: 20px;
    }
}

.welcome-container h1 {
    font-size: clamp(24px, 5vw, 36px); /* Responsive font size */
    margin-bottom: 15px; /* ✅ Adds space below heading */
}

.welcome-container p {
    font-size: 18px;
    margin-bottom: 20px; /* ✅ Adds space below paragraph */
    max-width: 700px; /* ✅ Prevents text from being too wide */
    margin-left: auto;
    margin-right: auto;
}

.welcome-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Space between image and text */
    text-align: left;
    max-width: 1200px;
    width: 100%;
    padding: 20px;
}

.welcome-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px; /* Soft rounded corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Adds a slight shadow for depth */
}

.welcome-text {
    position: absolute;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for readability */
    padding: 15px 20px;
    border-radius: 8px;
    max-width: 550px; /* Prevents it from stretching too wide */
    max-height: 50vh; /* Limits how tall the box can get */
    overflow: hidden; /* Prevents it from growing indefinitely */
    text-overflow: ellipsis; /* Ensures text wraps correctly */
    top: 55%; /* Moves it slightly lower */
    transform: translateY(-50%); /* Keeps it centered */
}
       
.welcome-text h2 {
    font-size: clamp(28px, 5vw, 44px);
    color: #E63946;
    margin-bottom: 15px;
}

.welcome-text p {
    font-size: 18px;
    margin-bottom: 20px;
}

.welcome-text .cta-button {
    background: #0056B3;
    color: white;
    font-weight: bold;
    padding: 14px 20px;
    font-size: 18px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease-in-out, transform 0.2s ease;
}

.welcome-text .cta-button:hover {
    background: #E63946;
    transform: scale(1.05);
}

.welcome-container .cta-button {
    background: #0056B3;
    color: white;
    font-weight: bold;
    padding: 14px 20px;
    font-size: 18px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease-in-out, transform 0.2s ease;
}

.welcome-container .cta-button:hover {
    background: #E63946;
    color: white;
    transform: scale(1.05); /* Slight pop effect */
}

@media (max-width: 850px) {
    .welcome-section {
        height: auto;
        min-height: 70vh; /* Adjusts height for better visibility */
    }

    .welcome-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .welcome-image img {
        max-width: 90%;
        height: auto;
    }

    .welcome-text {
        max-width: 90%;
        top: 60%; /* Centers it better */
    }

    .welcome-bg {
        object-fit: cover; /* Keeps full coverage on mobile */
    }
}

/* Services Section */
.services-section {
    padding: 25px 15px;
    background: #F1FAF6; /* Soft warm white */
    text-align: center;
}

.services-container h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #275636;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-item {
    background: #a8e0e6;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

/* Contact Section - Keeps Side by Side on All Screens */
.contact-section {
    background: #D6EDE3;
    padding: 25px 15px; /* Reduced top and bottom padding */
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-container {
    display: flex;
    flex-wrap: nowrap; /* Prevents stacking on smaller screens */
    max-width: 1100px;
    width: 100%;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Keep the image to the left and form to the right */
.contact-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #3E704D;
    padding: 10px; /* Reduced padding */
    min-width: 200px; /* Ensures the logo doesn't shrink too much */
}

.contact-image img {
    max-width: 100%;
    height: auto;
    max-height: 250px;
}

/* Form Container Always Takes More Space */
.contact-form-container {
    flex: 2;
    padding: 20px;
    text-align: left;
    min-width: 350px; /* Ensures the form always has space */
}

.contact-form-container h2 {
    margin-bottom: 15px;
    color: #275636;
}

.contact-form-container label {
    display: block;
    font-weight: bold;
    margin-top: 12px;
}

.contact-form-container input,
.contact-form-container textarea {
    width: 100%;
    padding: 10px; 
    margin-top: 4px; /* Slightly reduced margin */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form-container textarea {
    height: 100px; /* Reduced height */
    resize: none;
}

.contact-form-container button {
    margin-top: 15px;
    padding: 12px 20px;
    border: none;
    background: #0056B3;
    color: white;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease-in-out, transform 0.2s;
}

.contact-form-container button:hover {
    background: #E63946;
    transform: scale(1.05); /* Subtle button pop effect */
}

/* Keep Side by Side Even on Mobile */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: row;  /* Keeps them side-by-side on smaller screens */
    }

    .contact-image {
        min-width: 150px; /* Ensures logo remains visible */
    }

    .contact-form-container {
        padding: 15px; /* Slightly reduced padding */
        min-width: 250px;
    }

    .contact-form-container h2 {
        font-size: 18px;
    }

    .contact-form-container input,
    .contact-form-container textarea {
        font-size: 14px;
    }

    .contact-form-container button {
        font-size: 14px;
        padding: 10px 18px;
    }
}

/* Highlights Section */
.highlights-section {
    padding: 25px 15px;
    background: #A8E6CF;
    text-align: center;
}

.highlights-container h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #275636;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Ensures even spacing */
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.highlight-item {
    background: #AACBEA;;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.highlight-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.highlight-item p {
    font-size: 16px;
    color: #333;
}

/* Testimonials Section */
.testimonials-section {
    background: url('images/arlington-landscaping-design.webp') center/cover no-repeat;
    padding: 25px 10px;
    text-align: center;
    color: white; /* Ensures text is readable over the background */
}

.testimonials-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #E63946; 
    font-weight: bolder;
}

.testimonial {
    background: rgba(0, 0, 0, 0.6); /* Adds a semi-transparent dark overlay to enhance readability */
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    border-radius: 8px;
    font-style: italic;
    font-size: 18px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Add a subtle left border for a "review quote" feel */
.testimonial::before {
    content: "“";
    font-size: 40px;
    font-weight: bold;
    color: #E63946; /* Red accent color */
    position: absolute;
    top: -10px;
    left: 15px;
}

.testimonial span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #398de6;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .testimonial {
        font-size: 16px;
        padding: 15px;
    }

    .testimonials-section  {
        font-size: 24px;
    }
}

/* Footer Section */
.footer {
    background: linear-gradient(to right, #3E704D, #275636); /* Gradient for depth */
    color: white;
    text-align: center;
    padding: 30px 20px;  /* Increased padding for better spacing */
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;  /* Prevents stacking */
    padding: 20px;
    width: 100%;
}

.footer-section {
    width: 45%;
    text-align: left;
    padding: 10px;
    border-radius: 8px;  /* Rounded corners for the footer sections */
    background-color: rgba(255, 255, 255, 0.1);  /* Slightly transparent background */
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;  /* Slightly larger text for section titles */
    font-weight: bold;
    color: #88C070;  /* Color for the section titles */
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section li {
    margin: 8px 0;  /* More spacing for list items */
    font-size: 16px;  /* Set the font size for list items */
}

.footer-section a {
    text-decoration: none;
    color: #6A9FB5;  /* Muted blue for a softer look */
    font-size: 16px;
    transition: color 0.3s ease-in-out;  /* Smooth transition on hover */
}

.footer-section a:hover {
    color: white;  /* Highlight links on hover */
    text-decoration: underline;
}

/* Copyright */
.copyright {
    padding: 15px 10px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.copyright a {
    color: #88C070;
    text-decoration: none;
    font-size: 16px;
}

.copyright a:hover {
    color: blue;  /* Highlight links on hover */
    text-decoration: underline;
}

/* Prevent footer stacking on small screens */
@media (max-width: 768px) {
    .footer-content {
        display: flex;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .footer-section {
        width: 45%;
        text-align: left;
    }
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%; /* Ensures full width */
    height: 100vh; /* Makes sure it always fills the screen */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
}

.hero picture,
.hero img {
    width: 100%; /* Ensure the image spans the full width */
    height: 100vh; /* Maintain height */
    object-fit: cover; /* Ensures full coverage without distortion */
}

.hero-text {
    position: absolute;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5); /* Adding slight dark overlay to improve text visibility */
    padding: 15px;
    border-radius: 5px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); /* Enhances readability */
    top: 40%; /* Move text higher */
    transform: translateY(-50%);
    max-width: 90%; /* Prevents text from stretching too wide */
}

.hero-text h2 {
    font-size: clamp(1.4rem, 3vw, 1.8rem); /* Responsive heading size */
    color: #0af977;
    font-weight: bold;
    text-transform: uppercase; /* Makes it more striking */
    letter-spacing: 1px;
}

.hero-text p {
    font-size: clamp(1rem, 2.5vw, 1.2rem); /* Responsive paragraph size */
    font-weight: 500;
}

.hero-text .cta-button {
    display: inline-block;
    background: #E63946; /* Bold color */
    color: white;
    padding: 10px 18px;
    font-size: clamp(1rem, 2.5vw, 1.2rem); /* Responsive button text */
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.hero-text .cta-button:hover {
    background: #3E704D;
    transform: scale(1.05);
}

/* Adjust hero section for mobile */
@media (max-width: 768px) {
    .hero {
        height: 60vh; /* Adjusts height for smaller screens */
    }

    .hero picture,
    .hero img {
        height: 60vh; /* Prevents excessive height */
    }

    .hero-text {
        font-size: 14px;
        padding: 10px;
        top: 52%; /* Move text higher on mobile too */
    }
}

.about-services {
    background-color: #f5f5f5; /* Light background for contrast */
    padding: 20px;
    text-align: center;
}

.about-services .container {
    max-width: 800px;
    margin: 0 auto;
}

.about-services h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem); /* Responsive heading size */
    font-weight: bold;
    color: #E63946; /* Ensure it stands out */
    text-align: center;
    margin-bottom: 15px;
}

.about-services p {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: #255367;
    line-height: 1.6;
    margin-bottom: 15px;
}

.about-services strong {
    color: #2c3e50; /* Make key terms stand out */
}

@media (max-width: 768px) {
    .about-services {
        padding: 30px 15px;
    }

    .about-services h2 {
        font-size: clamp(1.5rem, 3vw, 2.2rem);
    }

    .about-services p {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
        line-height: 1.5;
    }
}

/* Gallery Styling */
.gallery {
    padding: 30px 20px;
    background-color: #F1FAF6;
    text-align: center;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive sizing */
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
}

.gallery h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem); /* Responsive heading size */
    font-weight: bold;
    color: #E63946;
    text-align: center;
    margin-bottom: 15px;
}

.gallery p {
    font-size: clamp(1rem, 2.2vw, 1.2rem); /* Responsive paragraph size */
    color: #154a60;
}

.gallery-item {
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
}

.gallery-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3; /* Ensures consistent sizing */
    object-fit: cover;
    border-radius: 5px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Slightly smaller for tablets */
    }
}

@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr)); /* Single column for small screens */
    }
    
    .gallery h2 {
        font-size: clamp(1.5rem, 3vw, 2.2rem); /* Adjusted for mobile */
    }
    
    .gallery p {
        font-size: clamp(0.9rem, 2vw, 1.1rem); /* Adjusted for mobile readability */
        line-height: 1.5;
    }
}

.cta-container {
    margin-top: 20px; /* Slightly increased spacing */
    padding-bottom: 20px; /* Ensures button isn't too close to footer */
    text-align: center;
}