/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    /* Primary Colors */
    --white: #ffffff;
    --black: #191919;
    --yellow: #FFB800;

    /* Functional Colors */
    --body-bg: var(--white);
    --body-text: var(--black);
    --heading-color: var(--black);
    --accent-color: var(--yellow);
    
    /* Component Colors */
    --nav-bg: var(--white);
    --nav-text: var(--black);
    --nav-hover: var(--yellow);
    --button-bg: var(--yellow);
    --button-hover: var(--black);
    --footer-bg: var(--black);
    --footer-text: var(--white);
    --card-bg: var(--white);
    --border-color: rgba(25, 25, 25, 0.1);

    /* Footer Styles */
    --dark-bg: #1a1a1a;
    --darker-bg: #111111;
    --light-text: #b0b0b0;
    --accent-color: #ffd700;
}

/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--body-text);
    background-color: var(--body-bg);
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar {
    position: relative;
    top: 0;
    width: 100%;
    background-color: var(--nav-bg);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-sizing: border-box;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--nav-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--nav-hover);
}

.nav-links .contact-button {
    background-color: var(--button-bg);
    color: var(--black);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links .contact-button:hover {
    background-color: var(--button-hover);
    color: var(--white);
}

/* Reset default button styles */
button.hamburger {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
}

/* Base hamburger styles */
.navbar .hamburger {
    display: none; /* Hidden by default */
    position: relative;
    cursor: pointer;
    padding: 10px;
    margin-right: 15px;
    background: transparent;
    border: none;
    z-index: 1001;
}

.navbar .hamburger i {
    font-size: 24px;
    color: #000; /* Adjust color as needed */
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 1rem;
        position: relative;
    }
    
    .navbar .hamburger {
        display: block !important;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .navbar .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 0px);
        left: 0;
        right: 0;
        background: #fff;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        z-index: 1000;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .navbar .nav-links.active {
        display: block;
    }

    .navbar .nav-links li {
        display: block;
        margin: 1rem 0;
        text-align: center;
        padding: 0;
    }
}

/* Desktop styles */
@media screen and (min-width: 769px) {
    .navbar {
        padding: 1rem 0;
        width: 95%;
        max-width: 1400px;
        margin: 0 auto;
    }

    .hero-content {
        width: 95%;
        max-width: 1400px;
        margin: 0 auto;
    }

    .nav-links {
        display: flex !important;
        gap: 2rem;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(25, 25, 25, 0.7), rgba(25, 25, 25, 0.7)), 
                url('../images/fence-images/hero-fence.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .hero {
        padding: 3rem 2rem;
        height: auto;
    }

    .hero-content {
        width: 90%;
        padding: 0;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .hero-cta .cta-button,
    .hero-cta .phone-button {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .hero-cta .phone-button {
        margin-bottom: 1rem;
    }
}

/* Ensure desktop layout remains unchanged */
@media screen and (min-width: 769px) {
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }

    .hero-cta .cta-button,
    .hero-cta .phone-button {
        width: auto;
    }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    padding: 5rem 0;
    background-color: var(--body-bg);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--heading-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--border-color);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card ul li {
    margin: 0.5rem 0;
    color: var(--gray-600);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    padding: 3rem 0;
    background-color: white;
}

.about-content {
    display: grid;
    gap: 2rem;
}

.about-text h2 {
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.feature i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature:hover i {
    transform: scale(1.1);
}

.feature h4 {
    margin-bottom: 0.75rem;
    color: var(--heading-color);
    font-size: 1.25rem;
}

.feature p {
    color: var(--body-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================================================
   Service Areas Section
   ========================================================================== */
.service-areas {
    padding: 5rem 0;
    background-color: var(--body-bg);
}

.service-areas h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--body-text);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.area-column h3 {
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.area-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.area-links li {
    margin-bottom: 0.5rem;
}

.area-links a {
    color: var(--body-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.area-links a:hover {
    color: var(--accent-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .areas-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .area-column h3 {
        text-align: center;
    }
    
    .area-links {
        text-align: center;
    }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background: linear-gradient(rgba(25, 25, 25, 0.9), rgba(25, 25, 25, 0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.cta-button, .phone-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button {
    background-color: var(--button-bg);
    color: var(--black);
}

.phone-button {
    background-color: var(--button-bg);
    color: var(--black);
    gap: 10px;
}

.cta-button:hover,
.phone-button:hover {
    background-color: var(--button-hover);
    color: var(--white);
}

.phone-button i {
    font-size: 20px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }

    .services-grid, 
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
} 

/* ==========================================================================
   Category Breakdown Section
   ========================================================================== */
.categories {
    padding-top: 2rem;
    padding-bottom: 4rem;
    background-color: var(--body-bg);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: none;
    border: 2px solid var(--black);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active {
    background-color: var(--black);
    color: var(--white);
}

.tab-button:hover {
    background-color: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
}

.fence-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.fence-type {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.fence-type h3 {
    margin-bottom: 1rem;
    color: var(--black);
}

.materials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.material-tag {
    background-color: var(--yellow);
    color: var(--black);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.fence-type p {
    margin-bottom: 1.5rem;
}

.fence-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.fence-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.fence-images img:hover {
    transform: scale(1.05);
}

.fence-quote-button {
    margin-top: auto;
    padding: 12px 24px;
    background-color: var(--button-bg);
    color: var(--black);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: block;
}

.fence-quote-button:hover {
    background-color: var(--button-hover);
    color: var(--white);
}

/* Add to Media Queries section */
@media (max-width: 768px) {
    .category-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .fence-types-grid {
        grid-template-columns: 1fr;
    }
    
    .fence-images {
        grid-template-columns: 1fr;
    }
    
    .fence-images img {
        height: 250px;
    }
} 

/* Service Finder Section */
.service-finder {
    padding: 4rem 0;
    background-color: var(--body-bg);
    border-top: 1px solid var(--border-color);
}

.service-finder h4 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--heading-color);
}

.finder-wrapper {
    display: flex;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.finder-select {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    background-color: var(--black);
    color: var(--white);
    cursor: pointer;
}

/* Style for dropdown options */
.finder-select option {
    background-color: var(--black);
    color: var(--white);
    padding: 12px;
}

/* Hover state for select */
.finder-select:hover, 
.finder-select:focus {
    border-color: var(--yellow);
    outline: none;
}

.finder-button {
    padding: 12px 24px;
    background-color: var(--button-bg);
    color: var(--black);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.finder-button:hover {
    background-color: var(--button-hover);
    color: var(--white);
}

/* Add icon to button */
.finder-button i {
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .finder-wrapper {
        flex-direction: column;
    }
    
    .finder-select,
    .finder-button {
        width: 100%;
    }
} 

/* Footer Styles */
.main-footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
}

.contact-details h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.phone-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-areas h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.service-regions {
    color: var(--light-text);
    line-height: 1.8;
    font-size: 0.95rem;
}

.service-regions a {
    color: var(--yellow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-regions a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--light-text);
    font-size: 0.9rem;
}

.sitemap-link {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sitemap-link:hover {
    color: var(--accent-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
} 

/* Update other link colors */
.phone-link,
.social-links a,
.sitemap-link {
    color: var(--yellow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-link:hover,
.social-links a:hover,
.sitemap-link:hover {
    color: var(--white);
} 

/* Categories Section */
.categories {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

/* If needed, adjust hero section bottom padding */
.hero {
    padding-bottom: 2rem;
}

/* Adjust the section intro text spacing */
.section-intro {
    margin-bottom: 2rem;
}

.categories h2 {
    margin-bottom: 1rem;
} 

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Adjust this value based on your header height */
} 

/* ==========================================================================
   Customer Success Stories Section
   ========================================================================== */
.success-stories {
    width: 100%;
    position: relative;
    padding: 3rem 0;
}

.reviews-grid {
    display: flex;
    gap: 2rem;
    width: 100%;
}

.review-card {
    background: #191919;
    color: #fff;
    border-radius: 10px;
    padding: 2rem;
}

/* Desktop Styles */
@media screen and (min-width: 769px) {
    .reviews-grid {
        overflow-x: hidden;
        flex-wrap: nowrap;
        margin: 0 auto;
        max-width: 1400px;
        padding: 0 2rem;
    }

    .review-card {
        flex: 0 0 calc(33.333% - 1.33rem); /* Three cards per row */
        scroll-snap-align: start;
    }

    .scroll-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: var(--yellow);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
        cursor: pointer;
    }

    .scroll-left { left: 1rem; }
    .scroll-right { right: 1rem; }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .success-stories {
        padding: 3rem 1rem;
    }

    .reviews-grid {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin: 0 -1rem;
        padding: 0 1rem;
        gap: 0;
    }

    .review-card {
        flex: 0 0 90%;
        width: 90%;
        margin-right: 1rem;
        scroll-snap-align: center;
    }

    /* Hide scrollbar on mobile */
    .reviews-grid::-webkit-scrollbar {
        display: none;
    }
    
    .reviews-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .scroll-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 35px;
        height: 35px;
        background: var(--yellow);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
    }

    .scroll-left { left: 5px; }
    .scroll-right { right: 5px; }
}

/* Shared styles for review content */
.review-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 1.5rem 0;
    text-align: center;
    font-style: italic;
}

.review-author {
    text-align: center;
    margin-top: 1rem;
    font-weight: 600;
}

.rating {
    color: var(--yellow);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* ==========================================================================
   Secondary Pages - Product Specific Styling
   ========================================================================== */

/* 
   Privacy Fence Page Styles
   ========================================================================== */

/* Compact Hero Section */
.hero-compact {
    composes: hero;
    height: 50vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-compact .hero-content {
    max-width: 800px;
    padding: 0 1rem;
}

/* Default hero background for secondary pages */
.hero-secondary-default {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('../images/fence-images/hero-fence.webp') no-repeat center;
    background-size: cover;
}

/* Responsive adjustments for compact hero */
@media (max-width: 768px) {
    .hero-compact {
        height: 40vh;
    }
} 

/* Product Overview Section */
.product-overview {
    padding: 4rem 0;
    background: var(--white);
}

.overview-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.overview-content h2 {
    color: var(--heading-color);
    margin-bottom: 1.5rem;
}

.overview-content p {
    margin-bottom: 2rem;
    line-height: 1.6;
    color: var(--body-text);
}

.overview-cta {
    margin-top: 2rem;
}

/* Secondary CTA Section */
.secondary-cta {
    padding: 4rem 0;
    background: var(--light-bg);
    text-align: center;
}

.secondary-cta h2 {
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.secondary-cta p {
    margin-bottom: 2rem;
    color: var(--body-text);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .overview-content {
        padding-right: 0;
    }
    
    .overview-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
    }
    
    .secondary-cta {
        padding: 3rem 0;
    }
} 

/* ==========================================================================
   Quote Page Styles
   ========================================================================== */

.quote-form-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.form-group h3 {
    color: var(--heading-color);
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    margin-bottom: 0.5rem;
    color: var(--heading-color);
    font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 0 2px rgba(var(--yellow-rgb), 0.1);
}

.form-submit {
    text-align: center;
}

.form-submit button {
    min-width: 200px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-wrapper {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .quote-form-section {
        padding: 2rem 0;
    }
} 

/* Who is Elevated Section */
.who-is-elevated {
    padding: 2rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.who-is-elevated::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--yellow), transparent);
}

.who-is-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    align-items: center;
    position: relative;
}

.who-is-text {
    position: relative;
    padding: 0.5rem 0;
}

.who-is-text h2 {
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.who-is-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--yellow);
}

.who-is-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.who-is-paragraphs p {
    line-height: 1.4;
    color: var(--body-text);
    position: relative;
    padding-left: 1rem;
}

.who-is-paragraphs p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: var(--yellow);
    opacity: 0.5;
}

.who-is-image {
    position: relative;
}

.who-is-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--yellow);
    border-radius: 10px;
    z-index: 1;
}

.who-is-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.who-is-image:hover img {
    transform: translate(-5px, -5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .who-is-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .who-is-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .who-is-elevated {
        padding: 4rem 0;
    }

    .who-is-text h2 {
        font-size: 2rem;
    }

    .who-is-image::before {
        top: -10px;
        right: -10px;
    }
} 

/* Add to the Who is Elevated Section styles */
.elevated-link {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.elevated-link:hover {
    color: var(--heading-color);
    text-decoration: underline;
} 

.sitemap-page {
    padding: 2rem 0;
}

.sitemap-page h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.sitemap-page h2 {
    margin: 2rem 0 1rem;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

.city-section {
    margin-bottom: 2rem;
}

.city-section h3 {
    color: #666;
    margin-bottom: 1rem;
}

.fence-types-list {
    list-style: none;
    padding-left: 1rem;
}

.fence-types-list li {
    margin-bottom: 0.5rem;
}

.fence-types-list a {
    color: #0066cc;
    text-decoration: none;
}

.fence-types-list a:hover {
    text-decoration: underline;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--nav-text);
    font-size: 24px;
    z-index: 1001;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--nav-bg);
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        flex-direction: column;
        gap: 1rem;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links .contact-button {
        width: auto;
        margin: 0.5rem auto;
        display: inline-block;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    /* General text alignment */
    h1, h2, h3, h4, 
    .section-intro,
    .about-text,
    .who-is-text,
    .service-card,
    .feature {
        text-align: center;
    }

    /* Container padding */
    .container {
        padding: 0 1rem;
    }

    /* Section spacing */
    .services,
    .about,
    .who-is-elevated,
    .categories {
        padding: 3rem 0;
    }

    /* Services grid */
    .services-grid,
    .features-grid {
        display: grid;
        gap: 2rem;
        padding: 0 1rem;
    }

    /* About section */
    .about-content {
        text-align: center;
    }

    .about-text p {
        text-align: center;
        margin: 0 auto;
        max-width: 90%;
    }

    /* Who is section */
    .who-is-paragraphs p {
        text-align: center;
        margin: 1rem auto;
        max-width: 90%;
    }

    /* Category tabs */
    .category-tabs {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    /* Features */
    .feature {
        text-align: center;
        padding: 2rem 1rem;
    }

    .feature p {
        margin: 0 auto;
    }
}

/* Base styles for fence images */
.fence-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.fence-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .fence-images {
        grid-template-columns: 1fr; /* Change to single column */
    }

    /* Hide the second image in each fence-images container */
    .fence-images img:nth-child(2) {
        display: none;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .success-stories {
        padding: 3rem 0;
        width: 100%;
    }

    .reviews-container {
        width: 100%;
        position: relative;
    }

    .reviews-grid {
        display: flex;
        width: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 1rem 0;
    }

    .review-card {
        flex: 0 0 85%; /* Make card take up 85% of container width */
        margin: 0 auto;
        scroll-snap-align: center;
        background: #191919;
        color: #fff;
        padding: 2rem;
        border-radius: 10px;
        margin-left: 2rem; /* Add space on left */
        margin-right: 2rem; /* Add space on right */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    /* Hide scrollbar but keep functionality */
    .reviews-grid::-webkit-scrollbar {
        display: none;
    }
    
    .reviews-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    /* Adjust arrow positions */
    .scroll-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 35px;
        height: 35px;
        background: var(--yellow);
        border: none;
        border-radius: 50%;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .scroll-left {
        left: 0.5rem;
    }

    .scroll-right {
        right: 0.5rem;
    }

    /* Review content styles */
    .review-text {
        text-align: center;
        font-size: 1.1rem;
        line-height: 1.6;
        margin: 1.5rem 0;
        font-style: italic;
    }
}

/* Agricultural tab specific styles */
#agricultural .fence-images {
    grid-template-columns: 1fr; /* Change to single column */
    gap: 0; /* Remove gap since we only have one image */
}

#agricultural .fence-images img {
    width: 100%;
    height: 300px; /* Make images taller */
    object-fit: cover;
    border-radius: 8px;
}

/* Ensure mobile responsiveness */
@media screen and (max-width: 768px) {
    #agricultural .fence-images img {
        height: 250px; /* Slightly shorter on mobile */
    }
}

/* Footer bottom section */
.footer-content-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-section {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text);
}

.powered-by span {
    font-size: 0.9rem;
}

.powered-by img {
    height: 30px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.powered-by img:hover {
    opacity: 1;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .footer-content-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .copyright-section {
        flex-direction: column;
        gap: 0.5rem;
    }

    .powered-by {
        justify-content: center;
    }
}