/* Core Variables & Settings */
:root {
    /* Brand Colors */
    --primary: #732424;          /* Deep burgundy */
    --primary-dark: #5C2020;     /* Darker burgundy */
    --primary-light: #8b2929;    /* Lighter burgundy */
    --secondary: #f59e0b;        /* Keeping amber as accent */
    --secondary-dark: #d97706;   /* Keeping darker amber */
    --success: #22c55e;          /* Keeping success green */
    --error: #ef4444;           /* Keeping error red */

    /* Neutral Colors with Burgundy Tint */
    --neutral-50: #faf8f8;      /* Lightest - barely tinted white */
    --neutral-100: #f5f1f1;     /* Very light burgundy-gray */
    --neutral-200: #e8e2e2;     /* Light burgundy-gray */
    --neutral-300: #d5cbcb;     /* Soft burgundy-gray */
    --neutral-400: #b8a4a4;     /* Medium burgundy-gray */
    --neutral-500: #8b7474;     /* Mid burgundy-gray */
    --neutral-600: #695757;     /* Darker burgundy-gray */
    --neutral-700: #554545;     /* Very dark burgundy-gray */
    --neutral-800: #3b2e2e;     /* Nearly black with burgundy tint */
    --neutral-900: #2a1f1f;     /* Darkest - almost black */

    /* Overlays & Shadows */
    --overlay-dark: rgba(15, 23, 42, 0.75);
    --overlay-light: rgba(255, 255, 255, 0.95);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Typography */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --spacing-1: 0.25rem;
    /* 4px */
    --spacing-2: 0.5rem;
    /* 8px */
    --spacing-3: 0.75rem;
    /* 12px */
    --spacing-4: 1rem;
    /* 16px */
    --spacing-5: 1.25rem;
    /* 20px */
    --spacing-6: 1.5rem;
    /* 24px */
    --spacing-8: 2rem;
    /* 32px */
    --spacing-10: 2.5rem;
    /* 40px */
    --spacing-12: 3rem;
    /* 48px */
    --spacing-16: 4rem;
    /* 64px */

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-all: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-transform: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-opacity: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Container */
    --container-max: 1280px;
    --container-padding: clamp(1rem, 5vw, 2rem);

    /* Z-Index Layers */
    --z-header: 1000;
    --z-modal: 1100;
    --z-tooltip: 1200;
    --z-toast: 1300;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: var(--neutral-50);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    color: var(--neutral-900);
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--overlay-light);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-header);
    transition: var(--transition-all);
    height: 120px;
    display: flex;
    align-items: center;
}

.header.scrolled {
    height: 90px;
    background: var(--overlay-light);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    max-height: 120px; /* Add this line */
}

.logo img {
    height: 100px;
    width: auto;
    transition: var(--transition-all);
}

.header.scrolled .logo img {
    height: 80px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-6);
    background: var(--primary);
    color: white;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition-all);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.nav-phone:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-phone i {
    font-size: 1.25rem;
}

.phone-number {
    font-size: 1.25rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 200px 0 80px;
    background-image: url('https://pub-8ae8a53f771843a6bf0ae472dc9a08cf.r2.dev/F5_BBDE_34_7_E11_41_FB_983_B_4_E95_E8508_B7_D_225f4fc6cd.jpeg?updated_at=2023-02-10T11:40:38.132Z');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    isolation: isolate;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(115, 36, 36, 0.95),    /* Using burgundy */
        rgba(92, 32, 32, 0.85));    /* Using darker burgundy */
    z-index: -1;
}

/* Remove video background related styles */
.video-background {
    display: none;
}

/* Enhance hero content visibility */
.hero-text {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-text h1 {
    color: white;
}

.hero-text p {
    color: var(--neutral-200);
}

.hero-features {
    display: flex;
    gap: var(--spacing-6);
    margin-top: var(--spacing-8);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
}


/* Adjust hero responsive behavior */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 100px 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-8);
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--spacing-4);
    align-items: center;
}

.hero-text {
    color: white;
    animation: fadeInUp 0.8s ease-out;
}

.hero-text h1 {
    color: white;
    margin-bottom: var(--spacing-6);
    position: relative;
}

.hero-text h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: var(--radius-full);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-8);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-features {
    display: flex;
    gap: var(--spacing-6);
    margin-top: var(--spacing-8);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
}

.feature i {
    color: var(--secondary);
    font-size: 1.25rem;
}

/* Quote Form */
.quote-form {
    background: var(--overlay-light);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(12px);
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
    max-width: 480px;
    width: min(100%, 480px);
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    color: var(--neutral-900);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-2);
}

.form-header p {
    color: var(--neutral-600);
    font-size: 1rem;
}

.form-progress {
    margin: 2rem 0;
}

.progress-steps {
    display: flex;
    justify-content: center;
    gap: var(--spacing-4);
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neutral-200);
    transform: translateY(-50%);
    z-index: 1;
}

.step {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--neutral-200);
    color: var(--neutral-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: var(--transition-all);
}

.step.active {
    background: var(--primary);
    color: white;
}

.step.complete {
    background: var(--success);
    color: white;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.form-step.active {
    display: block;
}

.form-group {
    margin-bottom: var(--spacing-4);
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group-icon {
    position: absolute;
    left: var(--spacing-4);
    color: var(--neutral-500);
    transition: var(--transition-all);
    pointer-events: none;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: var(--spacing-4) var(--spacing-4) var(--spacing-4) calc(var(--spacing-4) * 2 + 20px);
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: var(--transition-all);
    background: white;
    color: var(--neutral-900);
    appearance: none;
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.input-group input:focus+.input-group-icon,
.input-group select:focus+.input-group-icon {
    color: var(--primary);
}

.button-group {
    display: flex;
    gap: var(--spacing-4);
    margin-top: var(--spacing-6);
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: var(--spacing-4) var(--spacing-6);
    border-radius: var(--radius-full);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    transition: var(--transition-all);
    cursor: pointer;
    border: none;
}

.btn-prev {
    background: var(--neutral-200);
    color: var(--neutral-700);
}

.btn-next,
.btn-submit {
    background: var(--primary);
    color: white;
    margin-left: auto;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    background: var(--secondary);
}

.btn-prev:hover,
.btn-next:hover,
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.form-footer {
    margin-top: var(--spacing-6);
    padding-top: var(--spacing-4);
    border-top: 1px solid var(--neutral-200);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--spacing-4);
    color: var(--neutral-600);
    font-size: 0.875rem;
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
}

.trust-badges i {
    color: var(--success);
}

/* Service Areas Section */
.service-areas {
    background: white;
    width: 100%;
    padding: var(--spacing-16) 0;
    position: relative;
}

.section-tag {
    display: inline-block;
    padding: var(--spacing-2) var(--spacing-4);
    background: rgba(115, 36, 36, 0.1);  /* Using burgundy with opacity */
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-4);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: var(--spacing-6);
    padding: var(--spacing-4);
    width: 100%;
}

.area-card {
    background: white;
    padding: var(--spacing-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-all);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    justify-self: center;
}


.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition-all);
}

.area-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.area-card:hover::before {
    opacity: 1;
}

.area-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-4);
    transition: var(--transition-all);
}

.area-icon i {
    color: var(--primary);
    font-size: 1.5rem;
    transition: var(--transition-all);
}

/* Updated styles for hover effect */
.area-card:hover .area-icon {
    background: var(--primary-light, #60a5fa); /* Light blue background */
}

.area-card:hover .area-icon i {
    color: var(--secondary-light, #fcd34d); /* Soft yellow for the icon */
}

/* Responsive layout for areas grid */
@media (min-width: 768px) {
.area-card:last-child:nth-child(3n - 1) {
    grid-column: 2 / 3;
}
.area-card:last-child:nth-child(3n - 2) {
    grid-column: 2 / 3;
}

    .areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        justify-content: center;
    }

    /* Center the last card when it's alone on a row */
    .areas-grid::after {
        content: "";
        grid-column: span 1;
    }
}

@media (min-width: 1200px) {
    .areas-grid {
        grid-template-columns: repeat(3, minmax(280px, 1fr));
    }

    /* Remove the pseudo-element for 3-column layout */
    .areas-grid::after {
        display: none;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .areas-grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
    }

    /* Center the last card when it's alone on a row in 2-column layout */
    .area-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 400px; /* Adjust this value as needed */
    }
}

@media (max-width: 767px) {
    .areas-grid {
        grid-template-columns: 1fr;
    }

    .area-card {
        max-width: 400px; /* Adjust this value as needed */
        margin-left: auto;
        margin-right: auto;
    }
}

/* Testimonials Section */
.testimonials {
    background: var(--neutral-50);
    padding: var(--spacing-16) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-6);
    padding: var(--spacing-4);
    width: 100%;
}

.testimonial-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        justify-content: center;
    }

    /* Center the last card when it's alone on a row */
    .testimonials-grid::after {
        content: "";
        grid-column: span 1;
    }
}

@media (min-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, minmax(280px, 1fr));
    }

    /* Remove the pseudo-element for 3-column layout */
    .testimonials-grid::after {
        display: none;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
    }

    /* Center the last card when it's alone on a row in 2-column layout */
    .testimonial-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
    }
}

@media (max-width: 1199px) and (min-width: 820px) {
    .testimonial-card {
        max-width: 500px;
    }
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

blockquote {
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.testimonial-info h4 {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.testimonial-info p {
    font-size: 0.9rem;
    color: #666;
}

.rating {
    color: #ffc107;
}

/* Project Gallery */
.project-gallery {
    background: white;
    padding: var(--spacing-16) 0;
}

.gallery-grid {
    display: grid;
    gap: var(--spacing-4); /* Reduced gap */
    padding: var(--spacing-4);
    width: 100%;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16/9;
    width: 100%;
    max-width: 100%; /* Changed from 400px to 100% */
    justify-self: stretch; /* Added to fill the space */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-all);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-6);
    opacity: 0;
    transition: var(--transition-all);
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-2);
    font-weight: 600;
}

.gallery-overlay p {
    color: var(--secondary-light, #ffd700);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-3);
}

.gallery-overlay a {
    color: var(--primary-light, #60a5fa);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-all);
}

.gallery-overlay a:hover {
    color: white;
    text-decoration: underline;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Increased minimum width */
    }
}

@media (min-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr); /* Changed to 1fr for equal sizing */
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* Changed to 1fr for equal sizing */
    }

    .gallery-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 100%; /* Changed from 400px to 100% */
    }
}

@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        max-width: 100%; /* Changed from 400px to 100% */
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    padding: var(--spacing-16) 0;
    color: white;
}

.cta-banner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-8);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.cta-content h2 {
    color: white;
    margin-bottom: var(--spacing-4);
    font-size: 2.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-6);
    opacity: 0.9;
}

.cta-features {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-4);
    margin: var(--spacing-8) 0;
    list-style-type: none;
}

.cta-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    font-size: 1.1rem;
}

.cta-features i {
    color: var(--secondary);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    background: var(--secondary);
    color: var(--neutral-900);
    padding: var(--spacing-4) var(--spacing-8);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-all);
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: var(--secondary-dark);
}

@media (max-width: 768px) {
    .cta-banner {
        padding: var(--spacing-6);
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .cta-features {
        gap: var(--spacing-3);
    }

    .cta-features li {
        font-size: 1rem;
    }

    .cta-button {
        padding: var(--spacing-3) var(--spacing-6);
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    background: var(--neutral-900);
    color: white;
    padding-top: var(--spacing-16);
}

.footer-main {
    padding-bottom: var(--spacing-12);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--spacing-12);
    padding: 0;
}

.footer-brand {
    max-width: 380px;
}

.footer-brand img {
    height: 100px;
    width: auto;
    margin-bottom: var(--spacing-6);
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: var(--neutral-300);
    margin-bottom: var(--spacing-6);
    font-size: 1rem;
    line-height: 1.6;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    color: var(--neutral-300);
    transition: var(--transition-all);
    text-decoration: none;
}

.footer-contact a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-contact i {
    color: var(--primary-light);
    font-size: 1.125rem;
}

.footer-column h3 {
    color: white;
    margin-bottom: var(--spacing-6);
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

.footer-column a {
    color: var(--neutral-400);
    transition: var(--transition-all);
    font-size: 0.9375rem;
    text-decoration: none;
}

.footer-column a:hover {
    color: white;
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: var(--spacing-4);
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-all);
    color: white;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--neutral-800);
    padding: var(--spacing-6) 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--neutral-500);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: var(--spacing-6);
}

.footer-legal a {
    color: var(--neutral-500);
    font-size: 0.875rem;
    transition: var(--transition-all);
}

.footer-legal a:hover {
    color: white;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-8);
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
        text-align: center;
    }

    .footer-contact {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding-top: var(--spacing-12);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-8);
    }

    .footer-column {
        align-items: center;
    }

    .footer-column ul {
        align-items: center;
    }

    .footer-contact {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: var(--spacing-4);
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

/* Mobile Call Button */
.mobile-call-btn {
    display: none;
    position: fixed;
    bottom: var(--spacing-6);
    right: var(--spacing-6);
    width: 56px;
    height: 56px;
    background: var(--secondary);
    color: white;
    border-radius: var(--radius-full);
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: var(--z-header);
    transition: var(--transition-all);
    text-decoration: none;
    overflow: hidden;
}

.mobile-call-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease-out, height 0.3s ease-out;
}

.mobile-call-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.mobile-call-btn:hover::before {
    width: 120%;
    height: 120%;
}

.mobile-call-btn:active {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-call-btn i {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.mobile-call-btn:hover i {
    transform: scale(1.1);
}

.mobile-call-btn:active i {
    transform: scale(0.95);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-8);
        padding: var(--spacing-8) var(--spacing-4);
    }

    .hero-call-btn {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-text h1::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-features {
        justify-content: center;
    }

    .quote-form {
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    .header {
        height: 90px;
    }

    .header.scrolled {
        height: 70px;
    }

    .logo img {
        height: 70px;
    }

    .header.scrolled .logo img {
        height: 60px;
    }

    .nav-phone {
        padding: var(--spacing-2) var(--spacing-4);
        text-decoration: none;
    }

    .phone-number {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 100px 0;
    }

    .mobile-call-btn {
        display: flex;
    }

    .areas-grid,
    .testimonials-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .cta-features {
        flex-direction: column;
        align-items: center;
    }

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

    .footer-links a:hover {
        transform: none;
    }

    .social-links {
        justify-content: center;
    }
}

/* Print Styles */
@media print {

    .video-background,
    .nav-phone,
    .mobile-call-btn {
        display: none;
    }
}

/* Remove preloader styles */
.preloader {
    display: none;
}

/* Enhanced Why Choose Us Section */
.why-choose-us {
    background: linear-gradient(to bottom, var(--neutral-50), white);
    padding: var(--spacing-16) 0;
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%232563eb" opacity="0.1"/></svg>') repeat;
    opacity: 0.5;
    z-index: 0;
}

.why-choose-us .container {
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    gap: var(--spacing-6);
    padding: var(--spacing-4);
    width: 100%;
}

.feature-card {
    background: white;
    padding: var(--spacing-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-all);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.animated {
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(115, 36, 36, 0.1);  /* Using burgundy with opacity */
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-6);
    transition: var(--transition-all);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
}

.feature-card:hover .feature-icon i {
    color: white;
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition-all);
}

.feature-card h3 {
    margin-bottom: var(--spacing-4);
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--neutral-600);
    margin-bottom: var(--spacing-6);
    font-size: 1.125rem;
    line-height: 1.6;
}

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

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    color: var(--neutral-700);
    margin-bottom: var(--spacing-3);
    font-size: 1rem;
}

.feature-list li i {
    color: var(--success);
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-6);
    }
}

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

    .feature-card {
        padding: var(--spacing-6);
    }
}

/* Section Spacing Adjustments */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-12);
    padding: 0 var(--spacing-4);
}

/* Grid Adjustments */
.hero-content {
    gap: var(--spacing-8);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--spacing-4);
}

.areas-grid,
.features-grid,
.testimonials-grid,
.gallery-grid {
    display: grid;
    gap: var(--spacing-6);
    padding: var(--spacing-4);
    width: 100%;
}

/* Responsive Grid Adjustments */
@media (min-width: 768px) {

    .areas-grid,
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    }

    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    }
}

/* Section Padding Adjustments */
.service-areas,
.why-choose-us,
.testimonials,
.project-gallery,
.cta-section {
    padding: var(--spacing-16) 0;
}

/* Form Adjustments */
.quote-form {
    width: min(100%, 480px);
    margin: 0 auto;
    padding: 2rem;
}

/* Footer Adjustments */
.footer-grid {
    display: grid;
    gap: var(--spacing-8);
    padding: var(--spacing-4);
}

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

/* Mobile Adjustments */
@media (max-width: 767px) {
    :root {
        --container-padding: var(--spacing-4);
    }

    .section-header {
        margin-bottom: var(--spacing-8);
    }

    .hero {
        padding-top: calc(64px + var(--spacing-8));
    }

    .quote-form {
        padding: var(--spacing-6);
    }
}

@media (max-width: 1200px) {
    .area-card {
        flex-basis: calc(50% - var(--spacing-6));
        max-width: 400px; /* Adjust this value as needed */
    }
    .areas-grid::after {
        flex-basis: calc(50% - var(--spacing-6));
    }
}

@media (max-width: 767px) {
    .area-card,
    .areas-grid::after {
        flex-basis: 100%;
    }
}

@media (min-width: 1200px) {
    .areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 300px));
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .areas-grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
    }

    .area-card:last-child:nth-child(odd) {
        grid-column: 1 / 3;
    }
}

@media (max-width: 767px) {
    .areas-grid {
        grid-template-columns: 1fr;
    }
}

/* Existing styles */
.features-grid {
    display: grid;
    gap: var(--spacing-6);
    padding: var(--spacing-4);
    width: 100%;
}

/* New styles for responsive layout */
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        justify-content: center;
    }

    /* Center the last card when it's alone on a row */
    .features-grid::after {
        content: "";
        grid-column: span 1;
    }
}

@media (min-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(3, minmax(280px, 1fr));
    }

    /* Remove the pseudo-element for 3-column layout */
    .features-grid::after {
        display: none;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
    }

    /* Center the last card when it's alone on a row in 2-column layout */
    .feature-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 400px; /* Adjust this value as needed */
    }
}

@media (max-width: 767px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        max-width: 400px; /* Adjust this value as needed */
        margin-left: auto;
        margin-right: auto;
    }
}

/* Existing styles */
.gallery-grid {
    display: grid;
    gap: var(--spacing-6);
    padding: var(--spacing-4);
    width: 100%;
}

/* New styles for responsive layout */
@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        justify-content: center;
    }

    /* Center the last card when it's alone on a row */
    .gallery-grid::after {
        content: "";
        grid-column: span 1;
    }
}

@media (min-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(280px, 1fr));
    }

    /* Remove the pseudo-element for 3-column layout */
    .gallery-grid::after {
        display: none;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
    }

    /* Center the last card when it's alone on a row in 2-column layout */
    .gallery-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 400px; /* Adjust this value as needed */
    }
}

@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        max-width: 400px; /* Adjust this value as needed */
        margin-left: auto;
        margin-right: auto;
    }
}

/* Adjust the gallery item styles if needed */
.gallery-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16/9;
}

.rating {
    min-width: 110px;
}


@media (max-width: 480px) {
    .hero-features {
        flex-direction: column;  /* Stack features vertically on very narrow screens */
        align-items: center;
    }

    .feature {
        width: 100%;
        justify-content: center;
    }
}

.hero-text-highlight {
    color: var(--secondary);
}

/* Add to your existing CSS */
.crane-size-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.crane-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Update hover state to only apply when not disabled */
.crane-option:not(.disabled):hover {
    border-color: var(--primary);
    background: #fff5f5;
}

.crane-option.selected {
    border-color: var(--primary);
    background: #fff5f5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Add disabled state styles */
.crane-option .disabled {
    cursor: not-allowed;
    opacity: 0.6;
    background: var(--neutral-100);
    border-color: var(--neutral-200);
}

.crane-option.disabled i {
    color: var(--neutral-400);
}

.crane-option.disabled span {
    color: var(--neutral-500);
}

.crane-option i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.crane-option span {
    font-weight: 600;
}

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

/* Add styles for disabled button state */
.btn-next:disabled {
    background: var(--neutral-300);
    cursor: not-allowed;
    opacity: 0.7;
    transform: none !important; /* Prevent hover transform when disabled */
    box-shadow: none !important; /* Prevent hover shadow when disabled */
}

.btn-next:disabled:hover {
    background: var(--neutral-300);
    transform: none;
    box-shadow: none;
}

/* Existing button styles for reference */
.btn-next {
    background: var(--primary);
    color: white;
    margin-left: auto;
    padding: var(--spacing-4) var(--spacing-6);
    border-radius: var(--radius-full);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    transition: var(--transition-all);
    cursor: pointer;
    border: none;
}

.owner-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.owner-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.owner-image {
    flex-shrink: 0;
    text-align: center;
}

.owner-image img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    margin-bottom: 15px;
}

.owner-info h3 {
    font-size: 24px;
    margin: 0;
    color: #333;
}

.owner-info span {
    font-size: 18px;
    color: #666;
}

.owner-message {
    position: relative;
    padding: 30px;
}

.quote-icon {
    color: #8B0000;
    font-size: 36px;
    margin-bottom: 20px;
}

.owner-message blockquote {
    font-size: 20px;
    line-height: 1.6;
    color: #444;
    font-style: italic;
    margin: 0 0 30px 0;
}

.owner-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #8B0000;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.owner-cta:hover {
    background-color: #660000;
}

@media (max-width: 768px) {
    .owner-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .owner-image img {
        width: 220px;
        height: 220px;
    }

    .owner-message {
        padding: 20px 0;
    }

    .owner-message blockquote {
        font-size: 18px;
    }
}

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #000;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slider-track {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7),    /* Darker overlay at top */
        rgba(115, 36, 36, 0.85) /* Burgundy at bottom */
    );
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
    animation: slideUp 0.8s ease-out;
    transform: translateY(-2rem);
}

.slide-content h2 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.slide-content p {
    font-size: 1.75rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.slider-nav {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.5rem;
    z-index: 3;
    padding: 1rem;
}

.slider-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
    border-color: white;
}

.hero-cta {
    position: absolute;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #8B0000;
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-cta:hover {
    background: #660000;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .slide-content h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        line-height: 1.2;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
    }

    .slide-content p {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
        padding: 0 0.5rem;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    }

    .hero-cta {
        bottom: 6.5rem;
        padding: 1rem 1.75rem;
        font-size: 1.125rem;
        width: auto;
        min-width: 200px;
        max-width: 90%;
        justify-content: center;
    }

    .slider-nav {
        bottom: 2rem;
        gap: 1rem;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 2rem;
    }

    .slider-dot {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 90vh;
        min-height: 400px;
    }

    .slide-content {
        padding: 0 1rem;
    }

    .slide-content h2 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .slide-content p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .hero-cta {
        bottom: 5.5rem;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        width: calc(100% - 2rem);
    }

    .slide::before {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.7),
            rgba(115, 36, 36, 0.85)
        );
    }
}

/* Add landscape mode optimization */
@media (max-height: 480px) and (orientation: landscape) {
    .hero-slider {
        height: 120vh;
    }

    .slide-content {
        transform: translateY(0);
        padding-top: 4rem;
    }

    .slide-content h2 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .slide-content p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-cta {
        bottom: 4rem;
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .slider-nav {
        bottom: 1rem;
    }
}

/* Add loading state styles */
.slide {
    transition: opacity 0.5s ease-in-out;
    will-change: opacity;
}

.slide-content {
    transition: transform 0.5s ease-out;
    will-change: transform;
}

/* Optional: Add smooth transition for background images */
.slide {
    background-position: center;
    background-size: cover;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-out;
}

.slide.active {
    transform: scale(1);
}

.slide:not(.active) {
    transform: scale(1.05);
}

/* Add these styles for the slider progress bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 3;
}

.slider-progress-bar {
    width: 0;
    height: 100%;
    background: var(--secondary);
    transition: width 0.1s linear;
}

.slider-progress-bar.animating {
    width: 100%;
    transition: width 5s linear;
}

/* Update the media queries for better button handling */
@media (max-width: 768px) {
    .hero-cta {
        bottom: 6.5rem;
        padding: 1rem 1.75rem;
        font-size: 1.125rem;
        width: auto;
        min-width: 200px;
        max-width: 90%;
        justify-content: center;
    }
}

/* Add new breakpoint specifically for smaller tablets/large phones */
@media (max-width: 720px) {
    .hero-cta {
        width: calc(100% - 3rem);
        max-width: 300px;
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

/* Keep existing mobile styles */
@media (max-width: 480px) {
    .hero-cta {
        bottom: 5.5rem;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        width: calc(100% - 2rem);
    }
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid #8B0000;
    background: transparent;
    color: #8B0000;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #8B0000;
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    padding: 1rem;
    text-align: center;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom {
    margin-top: 1rem;
    font-size: 1.5rem;
}

/* Modal Styles */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.modal-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
}

.modal-caption h3 {
    color: white;
}

.modal-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 1rem;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
}

.modal-prev {
    left: 1rem;
}

.modal-next {
    right: 1rem;
}

@media (max-width: 768px) {
    .gallery-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 80%;
        max-width: 300px;
    }
}

/* Icon base styles */
[class^="icon-"], [class*=" icon-"] {
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

/* Specific icon sizes */
.nav-phone .icon-phone-alt {
    font-size: 1.2em;
    margin-right: 0.5em;
}

.hero-features .feature i {
    font-size: 1.5em;
    margin-right: 0.5em;
    color: var(--secondary); /* Your brand color */
}

.input-group-icon i {
    font-size: 1.2em;
    color: #666;
}

.hero-call-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
    background: var(--secondary);
    color: var(--neutral-800);
    padding: var(--spacing-4) var(--spacing-8);
    border-radius: var(--radius-full);
    text-decoration: none;
    margin-top: var(--spacing-8);
    width: fit-content;
    transition: var(--transition-all);
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: var(--secondary-dark);
}

.hero-call-btn i {
    font-size: 1.5rem;
    color: var(--neutral-800);
}

.hero-call-btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hero-call-btn strong {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--neutral-900);
}

.hero-call-btn small {
    font-size: 1rem;
    opacity: 0.85;
    color: var(--neutral-800);
}

@media (max-width: 480px) {
    .hero-call-btn {
        width: 100%;
        justify-content: center;
        padding: var(--spacing-4);
    }
}
