/**
 * Secure Fence & Gate - Updated Professional Design
 * Matching screenshot specifications
 */

/* ============================================
   CSS VARIABLES - THEME COLORS
   ============================================ */

:root {
    /* Brand Colors */
    --color-primary: #f4c430;        /* Yellow/Gold - Primary brand color */
    --color-primary-hover: #e0b320;  /* Darker yellow for hover states */

    /* Neutral Colors */
    --color-black: #000000;          /* Pure black - Headers, text */
    --color-dark-gray: #1a1a1a;      /* Dark gray - Body text */
    --color-medium-gray: #666666;    /* Medium gray - Secondary text */
    --color-medium-dark-gray: #2b2b2b; /* Medium-dark gray - Used in gradients */
    --color-light-gray: #f9fafb;     /* Light gray - Backgrounds */
    --color-white: #ffffff;          /* White - Backgrounds */
    --color-border: #d1d5db;         /* Border gray */

    /* Additional Utility Colors */
    --color-success: #10b981;        /* Green for success states */
    --color-error: #ef4444;          /* Red for error states */
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-black);
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.6rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 4.8rem;
    }
    h2 {
        font-size: 3.6rem;
    }
}

/* ============================================
   CONTAINER
   ============================================ */

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 6vw;
}

@media (min-width: 768px) {
    .container {
        padding: 0 4vw;
    }
}

/* ============================================
   HEADER
   ============================================ */

.main-header {
    background-color: #2b2b2b;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.logo-img {
    height: 50px;
    width: auto;
}

.main-nav {
    display: none;
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
        gap: 3rem;
        align-items: center;
    }

    .main-nav a {
        color: var(--color-white);
        text-decoration: none;
        font-size: 1.4rem;
        font-weight: 500;
        transition: color 0.1s ease;
    }

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

    /* Dropdown Navigation */
    .nav-item-dropdown {
        position: relative;
    }

    .nav-link-dropdown {
        color: var(--color-white);
        text-decoration: none;
        font-size: 1.4rem;
        font-weight: 500;
        transition: color 0.1s ease;
        cursor: pointer;
        display: flex;
        align-items: center;
    }

    .nav-link-dropdown:after {
        content: '';
        display: inline-block;
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 5px solid var(--color-white);
        margin-left: 8px;
        transition: transform 0.2s ease;
    }

    .nav-link-dropdown:hover {
        color: var(--color-primary);
    }

    .nav-link-dropdown:hover:after {
        border-top-color: var(--color-primary);
    }

    .nav-item-dropdown:hover .nav-link-dropdown:after {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #2b2b2b;
        min-width: 200px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        border-radius: 4px;
        padding: 1rem 0;
        margin-top: 1rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.2s ease;
        z-index: 1001;
    }

    .nav-item-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu a {
        display: block;
        padding: 1rem 2rem;
        color: var(--color-white);
        text-decoration: none;
        font-size: 1.4rem;
        font-weight: 500;
        transition: all 0.1s ease;
    }

    .dropdown-menu a:hover {
        background-color: var(--color-dark-gray);
        color: var(--color-primary);
    }
}

/* Phone Button Styling */
.phone-btn {
    background-color: var(--color-primary);
    color: var(--color-black);
    padding: 1.2rem 2.4rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5rem;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 2px 8px rgba(244, 196, 48, 0.3);
}

.phone-btn svg {
    width: 18px;
    height: 18px;
}

.phone-btn:hover {
    background-color: #d4a420;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 196, 48, 0.4);
}

.phone-btn:active {
    transform: translateY(0);
}

/* Legacy support for old class name */
.cta-btn-header {
    background-color: var(--color-primary);
    color: var(--color-black);
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
    white-space: nowrap;
    transition: background-color 0.1s ease;
}

.cta-btn-header:hover {
    background-color: #d4a420;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    margin: 5px 0;
    transition: 0.3s;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Navigation */
.mobile-navigation {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-white);
    z-index: 999;
    padding: 8rem 4rem;
    flex-direction: column;
    gap: 2rem;
}

.mobile-navigation.active {
    display: flex;
}

.mobile-navigation a {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-black);
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

#phone-mobile-nav {
    background-color: var(--color-primary);
    color: var(--color-black);
    padding: 1.5rem 2rem;
    border-radius: 6px;
    margin-top: 2rem;
    border-bottom: none;
    justify-content: center;
    font-weight: 600;
}

#phone-mobile-nav svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--color-medium-dark-gray) 0%, var(--color-dark-gray) 100%);
    padding: 10rem 0 8rem;
    min-height: 500px;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .hero {
        padding: 12rem 0 10rem;
        min-height: 600px;
    }
}

.hero-content {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 6vw;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-content {
        padding: 0 4vw;
    }
}

.hero h1 {
    color: var(--color-white);
    margin-bottom: 2rem;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 5.6rem;
    }
}

.hero-subtitle {
    font-size: 1.8rem;
    max-width: 700px;
    margin: 0 auto 4rem;
    color: #e0e0e0;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 2.2rem;
    }
}

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

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

.btn-hero-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-black);
    padding: 1.8rem 4rem;
    border-radius: 4px;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 196, 48, 0.3);
}

.btn-hero-primary:hover {
    background-color: #d4a420;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 196, 48, 0.4);
}

.btn-hero-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--color-white);
    padding: 1.8rem 4rem;
    border-radius: 4px;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--color-white);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    transform: translateY(-2px);
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    background-color: #f5f3f0;
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6rem;
    }
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.feature-icon svg {
    color: var(--color-white);
}

.feature-item h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--color-black);
}

.feature-item p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #555555;
}

/* ============================================
   SERVICES INTRO
   ============================================ */

.services-intro {
    padding: 8rem 0 4rem;
    text-align: center;
}

.services-intro h2 {
    font-size: 3rem;
    font-weight: 700;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .services-intro h2 {
        font-size: 3.6rem;
    }
}

/* ============================================
   SERVICES GRID
   ============================================ */

.services-grid-section {
    padding: 8rem 0;
}

.services-grid-section .section-title-center {
    margin-bottom: 6rem;
}

.services-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 640px) {
    .services-grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid-layout {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-item {
    background-color: var(--color-white);
    border: 1px solid #e0e0e0;
    padding: 2rem;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

a.service-item {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

.service-item h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-item p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--color-medium-gray);
}

/* ============================================
   TESTIMONIAL SECTION
   ============================================ */

.testimonial-section {
    background-color: #f5f3f0;
    padding: 8rem 0;
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 6rem;
}

.testimonial-content blockquote p {
    font-size: 2.4rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--color-black);
}

.testimonial-content cite {
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 700;
    color: var(--color-medium-gray);
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-black);
    color: var(--color-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 3rem;
    cursor: pointer;
    transition: background-color 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-nav:hover {
    background-color: #333333;
}

.testimonial-nav.prev {
    left: 0;
}

.testimonial-nav.next {
    right: 0;
}

/* ============================================
   BUILT TO LAST SECTION
   ============================================ */

.built-to-last {
    padding: 8rem 0;
    background-color: var(--color-white);
}

.built-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6rem;
    align-items: center;
}

@media (min-width: 768px) {
    .built-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.built-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.built-content h2 {
    margin-bottom: 2rem;
}

.built-content p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #333333;
}

.built-content h3 {
    font-size: 1.8rem;
    margin: 3rem 0 1.5rem;
}

.built-content ul {
    list-style: none;
    padding: 0;
}

.built-content ul li {
    font-size: 1.6rem;
    padding: 0.8rem 0;
    padding-left: 2.5rem;
    position: relative;
}

.built-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: 700;
}

.badge-container {
    margin-top: 3rem;
}

.pro-badge {
    width: 120px;
    height: auto;
}

/* ============================================
   ABOUT US SECTION
   ============================================ */

.about-us-section {
    padding: 8rem 0;
    background-color: #f5f3f0;
}

.about-grid-new {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid-new {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text-content h2 {
    margin-bottom: 3rem;
}

.about-text-content p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #333333;
}

.btn-about {
    display: inline-block;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 1.2rem 3rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 2rem;
    transition: background-color 0.1s ease;
}

.btn-about:hover {
    background-color: #333333;
}

.about-image-content img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* ============================================
   QUOTE FORM SECTION
   ============================================ */

.quote-form-section {
    padding: 8rem 0;
    background-color: var(--color-light-gray);
}

.quote-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.quote-header h2 {
    margin-bottom: 1.5rem;
}

.quote-header p {
    font-size: 1.6rem;
    color: var(--color-medium-gray);
}

.quote-form {
    max-width: 900px;
    margin: 0 auto;
}

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

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-col label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    color: var(--color-dark-gray);
}

.form-col input,
.form-col select,
.form-row-full input,
.form-row-full textarea {
    width: 100%;
    padding: 1.4rem 1.6rem;
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
    border: 2px solid var(--color-border);
    border-radius: 6px;
    background-color: var(--color-white);
    transition: all 0.2s ease;
}

.form-col input:hover,
.form-col select:hover,
.form-row-full input:hover,
.form-row-full textarea:hover {
    border-color: #9ca3af;
}

.form-col input:focus,
.form-col select:focus,
.form-row-full input:focus,
.form-row-full textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(244, 196, 48, 0.1);
}

.form-row-full {
    margin-bottom: 2rem;
}

.form-row-full label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    color: var(--color-dark-gray);
}

.form-submit {
    text-align: left;
    margin-top: 1rem;
}

.submit-btn {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 1.6rem 4.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover {
    background-color: var(--color-dark-gray);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Google Maps Autocomplete Dropdown Styling */
.pac-container {
    font-family: 'Poppins', sans-serif;
    border-radius: 6px;
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 4px;
}

.pac-item {
    padding: 1rem 1.2rem;
    font-size: 1.4rem;
    border-top: 1px solid #e5e7eb;
    cursor: pointer;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover {
    background-color: var(--color-light-gray);
}

.pac-item-selected {
    background-color: #fef3c7;
}

.pac-icon {
    margin-top: 6px;
}

.pac-item-query {
    font-size: 1.4rem;
    color: var(--color-dark-gray);
}

.form-success {
    display: none;
    max-width: 900px;
    margin: 4rem auto 0;
    padding: 3rem;
    background-color: #f0f9f0;
    border: 2px solid #4caf50;
    border-radius: 4px;
    text-align: center;
}

.form-success.show {
    display: block;
}

.form-success p {
    font-size: 1.6rem;
    color: #2e7d32;
}

/* ============================================
   404 ERROR PAGE
   ============================================ */

.error-page-section {
    padding: 8rem 0 10rem;
    background-color: var(--color-light-gray);
    min-height: 60vh;
}

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

.error-code {
    font-size: 12rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 2rem;
    font-family: 'Manrope', sans-serif;
}

.error-title {
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    margin-bottom: 2rem;
    font-family: 'Manrope', sans-serif;
}

.error-message {
    font-size: 1.8rem;
    color: var(--color-medium-gray);
    line-height: 1.6;
    margin-bottom: 4rem;
}

.error-cta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 6rem;
    flex-wrap: wrap;
}

.btn-error-primary,
.btn-error-secondary {
    display: inline-block;
    padding: 1.6rem 4rem;
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-error-primary {
    background-color: var(--color-black);
    color: var(--color-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-error-primary:hover {
    background-color: var(--color-dark-gray);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.btn-error-secondary {
    background-color: transparent;
    color: var(--color-black);
    border: 2px solid var(--color-black);
}

.btn-error-secondary:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.error-links {
    padding-top: 4rem;
    border-top: 1px solid var(--color-border);
}

.error-links-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    margin-bottom: 1.5rem;
}

.error-links-list {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-links-list li a {
    font-size: 1.6rem;
    color: var(--color-medium-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.error-links-list li a:hover {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .error-code {
        font-size: 8rem;
    }

    .error-title {
        font-size: 2.8rem;
    }

    .error-message {
        font-size: 1.6rem;
    }

    .error-cta {
        flex-direction: column;
        gap: 1.5rem;
    }

    .btn-error-primary,
    .btn-error-secondary {
        width: 100%;
        max-width: 300px;
    }

    .error-links-list {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    padding: 8rem 0;
    background-color: #f5f3f0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 6rem;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-white);
    margin-bottom: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 2rem;
    text-align: left;
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.1s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-icon {
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 2rem;
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--color-medium-gray);
}

/* ============================================
   FOOTER
   ============================================ */

.main-footer {
    background-color: #2b2b2b;
    color: var(--color-white);
    padding: 6rem 0 2rem;
}

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

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 1.6rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.1s ease;
}

.footer-col ul li a:hover {
    color: var(--color-primary);
}

.footer-contact li {
    color: #cccccc;
    font-size: 1.4rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--color-white);
    transition: color 0.1s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid #444444;
    color: #999999;
    font-size: 1.3rem;
}

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

.footer-bottom a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */

.reviews-section {
    padding: 8rem 0;
    background-color: var(--color-white);
}

.reviews-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.reviews-summary {
    text-align: center;
    margin-bottom: 6rem;
}

.rating-display {
    display: inline-block;
}

.stars-large {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.rating-text {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-black);
}

.review-count {
    font-size: 1.4rem;
    color: var(--color-medium-gray);
}

.reviews-carousel-wrapper {
    position: relative;
    margin-bottom: 4rem;
    padding: 0 6rem;
}

@media (max-width: 768px) {
    .reviews-carousel-wrapper {
        padding: 0 5rem;
    }
}

.reviews-carousel {
    overflow: hidden;
    width: 100%;
}

.reviews-grid {
    display: flex;
    gap: 3rem;
    transition: transform 0.4s ease;
}

.review-card {
    flex: 0 0 100%;
    max-width: 100%;
    background-color: #f5f3f0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2.5rem;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

@media (min-width: 768px) {
    .review-card {
        flex: 0 0 calc(50% - 1.5rem);
        max-width: calc(50% - 1.5rem);
    }
}

@media (min-width: 1024px) {
    .review-card {
        flex: 0 0 calc(33.333% - 2rem);
        max-width: calc(33.333% - 2rem);
    }
}

.reviews-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-black);
    color: var(--color-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 3rem;
    cursor: pointer;
    transition: background-color 0.1s ease, opacity 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.reviews-nav:hover:not(:disabled) {
    background-color: #333333;
}

.reviews-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.reviews-nav.prev {
    left: 0;
}

.reviews-nav.next {
    right: 0;
}

@media (max-width: 768px) {
    .reviews-nav {
        width: 40px;
        height: 40px;
        font-size: 2.5rem;
    }
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.reviewer-info {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--color-black);
}

.review-time {
    font-size: 1.2rem;
    color: #999999;
}

.review-rating {
    display: flex;
    gap: 0.2rem;
}

.star {
    font-size: 2rem;
}

.star-full {
    color: var(--color-primary);
}

.star-half {
    color: var(--color-primary);
    opacity: 0.5;
}

.star-empty {
    color: #cccccc;
}

.review-body p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #333333;
}

.reviews-footer {
    text-align: center;
    margin-top: 4rem;
}

.btn-reviews {
    display: inline-block;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 1.5rem 3rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.6rem;
    transition: background-color 0.1s ease, transform 0.1s ease;
}

.btn-reviews:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

/* ============================================
   FENCE INSTALLATION PAGE
   ============================================ */


.installation-intro {
    padding: 8rem 0;
    background-color: var(--color-white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6rem;
    align-items: center;
}

@media (min-width: 768px) {
    .intro-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.intro-content h2 {
    margin-bottom: 2rem;
}

.intro-content p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #333333;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.service-types {
    padding: 8rem 0;
    background-color: #f5f3f0;
}

.section-title-center {
    text-align: center;
    margin-bottom: 6rem;
    font-size: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .section-title-center {
        font-size: 3.6rem;
    }
}

.service-type-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .service-type-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 6rem;
    }
}

.service-type-card {
    background-color: var(--color-white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.service-type-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.service-type-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-type-content {
    padding: 3rem;
}

.service-type-content h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

.service-type-content p {
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--color-medium-gray);
}


.why-choose-us {
    padding: 8rem 0;
    background-color: #f5f3f0;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6rem;
    align-items: center;
}

@media (min-width: 768px) {
    .why-choose-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.why-choose-content h2 {
    margin-bottom: 2rem;
}

.why-choose-content p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #333333;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 3rem;
}

.benefits-list li {
    font-size: 1.6rem;
    padding: 1rem 0;
    padding-left: 3rem;
    position: relative;
    color: #333333;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: 700;
    font-size: 2rem;
}

.why-choose-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.fence-guide {
    padding: 8rem 0;
    background-color: var(--color-white);
}

.fence-guide h2 {
    text-align: center;
    margin-bottom: 6rem;
    font-size: 3rem;
}

@media (min-width: 768px) {
    .fence-guide h2 {
        font-size: 3.6rem;
    }
}

.guide-content {
    max-width: 900px;
    margin: 0 auto;
}

.guide-section {
    margin-bottom: 4rem;
}

.guide-section h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.guide-section p {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 1.5rem;
}

.guide-section ul {
    list-style: disc;
    padding-left: 2.5rem;
}

.guide-section ul li {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 1rem;
}

.guide-section ul li strong {
    color: var(--color-black);
    font-weight: 700;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-page-section {
    padding: 8rem 0;
    background-color: #f5f5f5;
}

.about-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .about-page-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 6rem;
    }
}

.about-page-image {
    width: 100%;
}

.about-page-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-page-content h1 {
    font-size: 4rem;
    margin-bottom: 2.5rem;
    color: var(--color-black);
}

.about-page-content h2 {
    font-size: 2.8rem;
    margin-top: 3.5rem;
    margin-bottom: 2rem;
    color: var(--color-black);
}

.about-page-content p {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 2rem;
}

.about-page-content p strong {
    color: var(--color-black);
    font-weight: 700;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.hidden {
    display: none !important;
}

/* ============================================
   CONTACT INFO SECTION
   ============================================ */

.contact-info-section {
    padding: 8rem 0;
    background-color: var(--color-light-gray);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-info-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6rem;
    }
}

.contact-info-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.contact-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-black);
}

.contact-info-item h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-black);
}

.contact-info-item p {
    font-size: 1.6rem;
    color: #333333;
    line-height: 1.8;
}

.contact-info-item a {
    color: var(--color-black);
    text-decoration: none;
    font-weight: 600;
}

.contact-info-item a:hover {
    color: var(--color-primary);
}

/* Legal Content Styles (Privacy Policy, Terms of Service) */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 0;
}

.legal-content h1 {
    font-size: 3.6rem;
    margin-bottom: 2rem;
    color: var(--color-black);
}

.legal-content h2 {
    font-size: 2.4rem;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    color: var(--color-black);
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #333333;
}

.legal-content p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #333333;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    color: #333333;
}

.legal-content a {
    color: var(--color-black);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--color-primary);
}

.legal-content strong {
    color: var(--color-black);
    font-weight: 700;
}

/* Mobile responsiveness for legal pages */
@media (max-width: 768px) {
    .legal-content {
        padding: 3rem 0;
    }
    
    .legal-content h1 {
        font-size: 2.8rem;
    }
    
    .legal-content h2 {
        font-size: 2rem;
        margin-top: 3rem;
    }
    
    .legal-content h3 {
        font-size: 1.6rem;
    }
}
