/* ===================================
   SECTIONS
   Hero, Services, Benefits, Why Choose,
   Gallery, Testimonials, About, Contact, FAQ
   =================================== */

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: calc(100vh - 137px);
    /* Account for top-bar (41px) + header (80px) + padding (16px) */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: url('../assets/images/herobanner.png') center center/cover no-repeat;
    padding-top: var(--space-10);
    padding-left: var(--space-5);
    padding-right: var(--space-5);
    padding-bottom: 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.85) 30%,
            rgba(255, 255, 255, 0) 75%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding-bottom: 60px;
}

.hero-text-content {
    margin-bottom: var(--space-5);
}

.hero-badge {
    display: inline-block;
    background-color: var(--primary);
    color: var(--text-white);
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-4);
    box-shadow: 0 3px 10px rgba(233, 67, 51, 0.3);
}

.hero-title {
    font-size: var(--font-4xl);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-2);
    letter-spacing: -0.02em;
    color: var(--gray-900);
}

.hero-subtitle {
    font-size: var(--font-md);
    line-height: 1.6;
    max-width: 610px;
    margin: 0 auto;
    font-weight: 400;
    color: #e94333;
}

.hero-location {
    font-family: 'Oswald', sans-serif;
    font-size: var(--font-sm);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--space-2);
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-features {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    padding: var(--space-5) var(--space-5);
    background: linear-gradient(to top,
            rgba(26, 24, 24, 0.85) 0%,
            rgba(26, 24, 24, 0.7) 60%,
            transparent 100%);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.feature-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.feature-icon svg,
.feature-icon i {
    width: 100%;
    height: 100%;
    color: var(--primary-light);
    stroke-width: 2;
    font-size: 100%;
    /* Scaling to container */
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item span {
    font-size: var(--font-xs);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.02em;
}

/* ===================================
   FADING HERO SECTION (ELEGANT)
   =================================== */
.hero-fading {
    position: relative;
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--space-10);
    padding-left: var(--space-5);
    padding-right: var(--space-5);
    padding-bottom: 0;
    overflow: hidden;
    /* No top gradient shadow */
}

.hero-fading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    /* elegant subtle dark overlay to ensure text is readable */
    z-index: 1;
}

.hero-fading .hero-content {
    z-index: 2;
    /* ensure text pops */
}

.hero-fading .hero-title,
.hero-fading .hero-subtitle {
    color: var(--text-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* subtle text shadow for readability */
}

.hero-fading .hero-subtitle {
    font-weight: 500;
}

.hero-fading .hero-features {
    background: rgba(0, 0, 0, 0.4);
    /* solid elegant bar instead of gradient fade */
    backdrop-filter: blur(4px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-fading .hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-fading .hero-slideshow-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation-iteration-count: infinite;
    /* animation will be set inline */
}
@keyframes fadeAnim {
  0% { opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; }
}


/* Ensure content appears above slideshow */
.hero-fading .hero-content,
.hero-fading .hero-cta {
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {

    .hero,
    .hero-fading {
        min-height: 85vh;
        padding-top: 100px;
    }

    .hero-title {
        font-size: var(--font-3xl);
    }

    .hero-features {
        gap: var(--space-5);
        padding: var(--space-4);
    }
}

@media (max-width: 768px) {

    .hero,
    .hero-fading {
        min-height: calc(100vh - 127px);
        /* top-bar (41px) + header (70px) + padding (16px) */
        padding-top: var(--space-8);
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: var(--font-2xl);
    }

    .hero-subtitle {
        font-size: var(--font-sm);
        max-width: 100%;
    }

    .hero-features {
        display: grid;
        grid-template-columns: repeat(2, auto);
        gap: var(--space-4) var(--space-8);
        padding: var(--space-5) var(--space-5);
        justify-content: center;
    }

    .feature-item {
        display: flex;
        align-items: center;
        gap: var(--space-3);
    }

    .feature-icon {
        width: 20px;
        height: 20px;
    }

    .feature-item span {
        font-size: var(--font-sm);
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {

    .hero,
    .hero-fading {
        min-height: 400px;
        /* top-bar (37px) + header (70px) + padding (16px) */
        padding-top: var(--space-6);
    }

    .hero-badge {
        font-size: 10px;
        padding: var(--space-1) var(--space-3);
    }

    .hero-title {
        font-size: var(--font-xl);
    }

    .hero-subtitle {
        font-size: var(--font-xs);
    }

    .hero-features {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
        padding: var(--space-4) var(--space-4);
        /* Full width background maintained from base styles */
    }

    .feature-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-2);
    }

    .feature-icon {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    .feature-icon svg {
        width: 16px;
        height: 16px;
    }

    .feature-item span {
        font-size: 11px;
        font-weight: 500;
        line-height: 1.2;
    }
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    padding: var(--space-12) var(--space-5);
    background-color: var(--bg-primary);
}

/* ===================================
   FENCE BENEFITS SECTION
   =================================== */
.benefits-section {
    padding: var(--space-12) var(--space-5);
    background-color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(233, 67, 51, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.benefits-section .section-header {
    position: relative;
    z-index: 1;
}

.benefits-section .benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    position: relative;
    z-index: 1;
}

.benefit-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-7);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-5);
    background: linear-gradient(135deg, var(--primary-subtle) 0%, rgba(233, 67, 51, 0.08) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base), background var(--transition-base);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(233, 67, 51, 0.12) 0%, rgba(233, 67, 51, 0.15) 100%);
}

.benefit-icon svg,
.benefit-icon i,
.value-icon-wrap i {
    width: 32px;
    height: 32px;
    font-size: 30px;
    color: var(--primary);
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    letter-spacing: 0;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: var(--font-sm);
    line-height: 1.7;
    margin: 0;
}

/* Responsive benefits grid */
@media (max-width: 900px) {
    .benefits-section .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .benefits-section .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: var(--space-6);
    }
}

/* ===================================
   HOW IT WORKS SECTION
   =================================== */
.how-it-works {
    padding: var(--space-12) var(--space-5);
    background-color: var(--bg-secondary);
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 var(--space-4);
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    background-color: var(--primary);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: var(--font-xl);
    font-weight: 700;
    margin-bottom: var(--space-5);
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(233, 67, 51, 0.3);
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.step-content p {
    color: var(--text-secondary);
    font-size: var(--font-sm);
    line-height: 1.7;
    max-width: 200px;
    margin: 0 auto;
}

.process-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    margin-top: 27px;
    flex-shrink: 0;
}

/* Responsive how it works */
@media (max-width: 900px) {
    .process-steps {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        max-width: 400px;
        padding-left: var(--space-5);
    }

    .process-step {
        flex-direction: row;
        text-align: left;
        padding: var(--space-3) 0;
        width: 100%;
        position: relative;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: var(--font-lg);
        margin-bottom: 0;
        margin-right: var(--space-5);
        flex-shrink: 0;
    }

    .step-content h3 {
        font-size: var(--font-base);
        margin-bottom: var(--space-1);
    }

    .step-content p {
        max-width: none;
        margin: 0;
        font-size: var(--font-xs);
    }

    .process-connector {
        display: none;
    }

    /* Vertical line connecting circles */
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        left: 24px;
        /* Center of 48px circle */
        top: calc(var(--space-3) + 48px);
        /* Below the circle */
        width: 2px;
        height: calc(100% - 48px + var(--space-3));
        background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
        transform: translateX(-50%);
    }
}

/* ===================================
   WHY CHOOSE US SECTION
   =================================== */
.why-choose {
    padding: var(--space-12) var(--space-5);
    background-color: var(--gray-900);
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(233, 67, 51, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(233, 67, 51, 0.05) 0%, transparent 40%);
    z-index: 0;
}

.why-choose .container {
    position: relative;
    z-index: 1;
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
}

.why-choose-text {
    color: var(--text-white);
}

.why-choose-text .section-eyebrow {
    color: var(--primary-light);
    text-align: left;
}

.why-choose-text .section-title {
    color: var(--text-white);
    text-align: left;
    margin-bottom: var(--space-5);
}

.why-choose-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-md);
    line-height: 1.8;
    margin-bottom: var(--space-7);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    transition: all var(--transition-base);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(233, 67, 51, 0.3);
    transform: translateY(-4px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-suffix {
    color: var(--primary);
    font-size: 32px;
}

.stat-label {
    font-size: var(--font-sm);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Responsive why-choose */
@media (max-width: 900px) {
    .why-choose-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .why-choose-text .section-eyebrow,
    .why-choose-text .section-title {
        text-align: center;
    }

    .stats-grid {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 500px) {
    .stat-number {
        font-size: 36px;
    }

    .stat-suffix {
        font-size: 24px;
    }
}

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery {
    padding: var(--space-12) var(--space-5);
    background-color: var(--bg-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-5);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover {
    box-shadow: var(--shadow-xl);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 24, 24, 0.92);
    padding: var(--space-5);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay p {
    color: var(--text-white);
    font-weight: 600;
    font-size: var(--font-base);
    margin: 0;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-300) 0%, var(--gray-100) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
}

.gallery-placeholder svg,
.gallery-placeholder i {
    width: 60px;
    height: 60px;
    font-size: 60px;
    color: var(--text-muted);
}

.gallery-placeholder p {
    color: var(--text-primary);
    font-weight: 600;
    font-size: var(--font-base);
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials {
    padding: var(--space-12) var(--space-5);
    background-color: var(--gray-100);
}

.testimonials .section-eyebrow {
    color: var(--primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
}

.testimonials-cta {
    text-align: center;
    margin-top: var(--space-9);
    display: none;
}

/* ===================================
   CTA BANNER
   =================================== */
.cta-banner {
    padding: var(--space-10) var(--space-5);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
    margin: 0 auto;
}

.cta-banner-text h2 {
    font-family: var(--font-heading);
    font-size: var(--font-2xl);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--space-2);
}

.cta-banner-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-md);
    margin: 0;
}

.cta-banner-actions {
    display: flex;
    gap: var(--space-4);
    flex-shrink: 0;
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--text-white);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--font-base);
    transition: all var(--transition-base);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-white);
}

.btn-lg {
    padding: var(--space-4) var(--space-7);
    font-size: var(--font-md);
}

/* Responsive CTA Banner */
@media (max-width: 800px) {
    .cta-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner-text h2 {
        font-size: var(--font-xl);
    }

    .cta-banner-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    background-color: var(--bg-primary);
    margin: 80px 0;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.about-image-side {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.about-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right,
            transparent 0%,
            transparent 70%,
            rgba(255, 255, 255, 0.1) 100%);
}

.about-content-side {
    display: flex;
    align-items: center;
    padding: var(--space-8) var(--space-10);
    background-color: var(--bg-primary);
}

.about-content-inner {
    max-width: 540px;
}

.about-content-inner .section-eyebrow {
    text-align: left;
}

.about-content-inner .section-title {
    text-align: left;
    margin-bottom: var(--space-5);
    font-size: var(--font-3xl);
}

.about-lead {
    font-size: var(--font-lg);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

.about-content-inner p {
    color: var(--text-secondary);
    font-size: var(--font-base);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

.about-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-top: var(--space-6);
    margin-bottom: var(--space-6);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background-color: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.trust-badge svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.dave-logan-feature {
    /* display: flex; */
    display: none;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background-color: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-7);
}

.dave-logan-feature img {
    width: 80px;
    height: auto;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.dave-logan-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dave-logan-text strong {
    font-size: var(--font-base);
    font-weight: 600;
    color: var(--text-primary);
}

.dave-logan-text span {
    font-size: var(--font-sm);
    color: var(--text-muted);
}

.about .btn-primary {
    margin-right: 12px;
}

/* Responsive about section */
@media (max-width: 900px) {
    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .about-image-side {
        height: 350px;
    }

    .about-content-side {
        padding: var(--space-9) var(--space-5);
    }

    .about-content-inner {
        max-width: 100%;
    }

    .about-content-inner .section-title {
        font-size: var(--font-2xl);
    }
}

@media (max-width: 600px) {
    .about-content-side {
        padding: var(--space-7) var(--space-4);
    }

    .about-trust-badges {
        flex-direction: column;
        gap: var(--space-3);
    }

    .trust-badge {
        justify-content: center;
    }

    .dave-logan-feature {
        flex-direction: column;
        text-align: center;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .dave-logan-text {
        align-items: center;
    }

    /* Full width button on mobile */
    .about-content-inner .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: var(--space-12) var(--space-5);
    background-color: var(--gray-100);
}

.contact .section-header {
    margin-bottom: var(--space-8);
}

.contact-info-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
    margin-bottom: var(--space-9);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5);
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.contact-info-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-white);
}

.contact-info-content h3 {
    font-family: var(--font-heading);
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.contact-info-content a,
.contact-info-content span {
    font-size: var(--font-base);
    font-weight: 600;
    color: var(--text-primary);
}

.contact-info-content a:hover {
    color: var(--primary);
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-container {
    background-color: var(--bg-primary);
    padding: var(--space-9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.form-header {
    text-align: center;
    margin-bottom: var(--space-7);
}

.form-header h3 {
    font-family: var(--font-heading);
    font-size: var(--font-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.form-header p {
    color: var(--text-secondary);
    font-size: var(--font-base);
}

/* Service Area */
.service-area-section {
    margin-top: var(--space-10);
    padding: var(--space-7);
    background-color: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.service-area-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.service-area-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.service-area-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-white);
}

.service-area-title h3 {
    font-family: var(--font-heading);
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.service-area-title p {
    color: var(--text-secondary);
    font-size: var(--font-sm);
}

.service-area-cities {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    justify-content: center;
}

.city-tag {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background-color: var(--bg-primary);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.city-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.city-tag.primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
}

.city-tag.primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Responsive contact section */
@media (max-width: 900px) {
    .contact-info-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .contact-info-row {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: var(--space-6);
    }

    .service-area-section {
        padding: var(--space-5);
    }

    .service-area-header {
        flex-direction: column;
        text-align: center;
    }

    .service-area-cities {
        gap: var(--space-2);
    }

    .city-tag {
        padding: var(--space-1) var(--space-3);
        font-size: var(--font-xs);
    }
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq {
    padding: var(--space-11) var(--space-5);
    background-color: var(--bg-secondary);
}
section#faq + .faq {
    padding-top: 0;
}
.faq h2.section-title {
    max-width: 775px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: var(--text-white);
    padding: var(--space-11) var(--space-5);
    text-align: center;
}

.cta-content h2 {
    font-size: var(--font-4xl);
    font-weight: 700;
    margin-bottom: var(--space-5);
    color: var(--text-white);
}

.cta-content p {
    font-size: var(--font-md);
    line-height: 1.7;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto var(--space-7);
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   NEW FLEXIBLE SECTIONS (2026 Update)
   =================================== */

/* Services Overview */
.services-overview {
    padding: var(--space-12) var(--space-5);
    background: var(--bg-primary);
}

.services-overview-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.services-content h2 {
    margin-bottom: var(--space-4);
}

.services-text {
    color: var(--text-secondary);
    margin-bottom: var(--space-5);
}

.services-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    margin-bottom: 24px;
}
ul.services-list.single_col {
    grid-template-columns: 1fr;
    max-width: 450px;
}

.services-list li .service-list-item,
.services-list li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-primary);
    font-weight: 500;
    font-size: var(--font-base);
    padding: var(--space-3);
    background: var(--text-white);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    text-decoration: none;
    height: 100%;
    line-height: normal;
}

.services-overview .services-list li {
    background: var(--primary-subtle);
}

.services-list li i {
    color: var(--primary);
}

.services-list li a br {
    display: none;
}

.services-list li a:hover {
    background: var(--primary-subtle);
    color: var(--primary);
    transform: translateX(5px);
}

.services-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
    display: block;
}

/* Res/Com Section */
.res-com-section {
    padding: var(--space-12) var(--space-5);
    background: var(--bg-secondary);
}

.res-com-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    max-width: 1200px;
    margin: 0 auto;
}

.res-com-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.res-com-card img {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

.res-com-card-content {
    padding: var(--space-6);
    flex-grow: 1;
}

.res-com-card h3 {
    margin-bottom: var(--space-3);
    font-size: var(--font-2xl);
}

.res-com-text {
    margin-bottom: var(--space-4);
    color: var(--text-secondary);
}

.res-com-text a.btn {
    margin-top: var(--space-6);
}

/* Blog Resources */
.blog-resources {
    padding: var(--space-12) var(--space-5);
    background: var(--bg-secondary);
    text-align: center;
}

.blog-resources h2 {
    margin-bottom: var(--space-3);
}

.blog-resources p {
    margin-bottom: var(--space-5);
    font-size: var(--font-lg);
    color: var(--text-secondary);
}

/* Responsive Overrides */
@media(max-width: 900px) {

    .services-overview-container,
    .res-com-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 600px) {
    .services-list {
        grid-template-columns: 1fr;
    }

    .res-com-card img {
        height: 250px;
    }

    .about .btn-primary {
        margin-right: 0;
        margin-bottom: 14px;
    }
    .about-content-side {
        padding-bottom: 0;
    }
    .benefits-section,
    .how-it-works,
    .service-intro-section,
    .faq,
    .blog-resources,
    .fence-type-styles,
    .service-process,
    .fence-types-section,
    .fence-type-showcase,
    .why-choose-page {
        padding: 50px 0 !important;
    }
     .services-overview,
     .res-com-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .benefit-icon svg, .benefit-icon i, .value-icon-wrap i {
        width: 24px;
        height: 24px;
        font-size: 24px;
    }
    .slider-dots {
        padding-top: 10px;
    }
    .stat-number {
        font-size: 38px;
    }
}