/* ============================================
   LEAL CONTRACTING LLC - PROFESSIONAL CONCRETE CONTRACTOR
   Clean, professional design for concrete contractor business
   ============================================ */

/* Reset all default margins and padding, set box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Padding and borders count inside element width */
}

/* Prevent zoom-related positioning issues on mobile */
html {
    -webkit-text-size-adjust: 100%; /* Prevent text resizing on zoom */
    text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
    /* Ensure proper rendering on zoom */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Ensure full width and prevent white space on zoom */
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Body styling - the main container for everything */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6; /* Professional line height */
    color: #1e293b; /* Dark gray text color */
    background-color: #ffffff; /* Pure white background */
    font-size: 16px;
    position: relative; /* Stable positioning context */
    overflow-x: hidden; /* Prevents horizontal scroll */
    -webkit-font-smoothing: antialiased; /* Smooth text rendering */
    -moz-osx-font-smoothing: grayscale;
    /* Prevent zoom from breaking layout */
    margin: 0;
    padding: 0;
    /* Ensure full width and stay centered */
    width: 100%;
    max-width: 100%;
    /* Ensure proper rendering on zoom */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Container - keeps content centered and limits width */
.container {
    max-width: 1200px; /* Maximum width for content */
    margin: 0 auto; /* Centers the container */
    padding: 0 32px; /* Padding on sides */
}

/* Mobile container padding - smaller on phones */
@media (max-width: 640px) {
    .container {
        padding: 0 16px; /* Less padding on small phones */
    }
}

/* ============================================
   NAVIGATION BAR STYLES
   Clean, professional navigation
   ============================================ */

.navbar {
    background-color: rgba(0, 0, 0, 0.3); /* Transparent dark overlay */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    position: fixed; /* Stays at top when scrolling */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* Makes sure it stays on top */
    padding: 1rem 0; /* Reduced padding to fit longer company name */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle white border */
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.75rem 0; /* Reduced padding when scrolled */
    background-color: rgba(255, 255, 255, 0.98); /* Opaque white when scrolled */
    backdrop-filter: blur(20px); /* Blur when scrolled for modern look */
    -webkit-backdrop-filter: blur(20px); /* Safari support */
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar .container {
    display: flex; /* Arranges items in a row */
    justify-content: space-between; /* Space between logo and links */
    align-items: center; /* Centers items vertically */
    gap: 2rem;
}

/* Logo styling - More prominent */
.logo {
    display: flex; /* Flexbox for logo layout */
    flex-direction: column; /* Stack logo and tag */
    gap: 0.25rem;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo h2 {
    color: #ffffff; /* White for logo on hero background */
    font-size: 1.25rem; /* Original size */
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.navbar.scrolled .logo h2 {
    color: #0f172a; /* Dark when scrolled */
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.logo-tag {
    color: rgba(255, 255, 255, 0.9); /* Light color for tag on hero */
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: -2px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.navbar.scrolled .logo-tag {
    color: #475569; /* Gray when scrolled */
    text-shadow: none;
}

/* Navigation links styling - Enhanced */
.nav-links {
    display: flex; /* Arranges links in a row */
    list-style: none; /* Removes bullet points */
    gap: 2.5rem; /* More space between links */
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none; /* Removes underline */
    color: rgba(255, 255, 255, 0.95); /* White on hero background */
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease; /* Smooth transitions */
    position: relative;
    padding: 0.5rem 0;
    display: block;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.navbar.scrolled .nav-links a {
    color: #475569; /* Gray when scrolled */
    text-shadow: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    transition: width 0.3s ease;
}

.navbar.scrolled .nav-links a::after {
    background: linear-gradient(135deg, #475569 0%, #1e293b 100%);
}

.nav-links a:hover {
    color: #ffffff; /* Brighter white on hover */
    transform: translateY(-1px);
}

.navbar.scrolled .nav-links a:hover {
    color: #0f172a; /* Darker when scrolled */
}

.nav-links a:hover::after {
    width: 100%;
}

/* Phone link in navigation - Highly prominent and compelling */
.nav-phone {
    margin-left: 1rem;
}

.nav-phone-link {
    color: #ffffff;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    padding: 0.85rem 1.75rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4), 0 2px 8px rgba(34, 197, 94, 0.3);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    animation: phonePulse 2s ease-in-out infinite;
}

.nav-phone-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nav-phone-link:hover::before {
    width: 300px;
    height: 300px;
}

.nav-phone-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5), 0 4px 12px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    animation: none;
}

.nav-phone-link:active {
    transform: translateY(-1px) scale(1.02);
}

.phone-icon {
    font-size: 1.1rem;
    animation: phoneRing 1.5s ease-in-out infinite;
    display: inline-block;
}

.phone-text {
    font-size: 0.75rem;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phone-number {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

@keyframes phonePulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4), 0 2px 8px rgba(34, 197, 94, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5), 0 4px 12px rgba(34, 197, 94, 0.4);
    }
}

@keyframes phoneRing {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-10deg);
    }
    20%, 40% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(0deg);
    }
}

/* Mobile menu button - Enhanced styling */
.menu-toggle {
    display: none; /* Hidden by default (desktop) */
    flex-direction: column; /* Stacks the spans vertically */
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.navbar.scrolled .menu-toggle span {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    box-shadow: none;
}

/* ============================================
   HERO SECTION STYLES
   Eye-catching hero section
   ============================================ */

.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); /* Fallback gradient */
    color: #ffffff; /* White text for contrast over image */
    padding: 100px 0 80px; /* Reduced top padding to move content up */
    margin-top: 0; /* No margin - navbar overlays */
    position: relative;
    overflow: hidden;
    min-height: 100vh; /* Full viewport height - goes to the fold */
    display: flex;
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
}

/* Background image for hero */
.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('../images/New Concrete Driveway Recolored With Westcoat System.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* No overlay - show images naturally */
.hero-background::after {
    display: none;
}

/* Hero Grid - 3 Column Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    width: 100%;
    align-items: start;
}

.hero-column {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.hero-column-left {
    /* Left column contains all the content - wider */
    padding-right: 1.5rem;
}

.hero-column-middle {
    /* Middle column - visual spacer */
    opacity: 0.3;
}

.hero-column-right {
    /* Right column - contains statistics */
    display: flex;
    align-items: center; /* Centers vertically */
    justify-content: center; /* Centers horizontally */
    padding-left: 1rem;
}

.hero-content {
    position: relative;
    z-index: 2; /* Keeps content above background and overlay */
    text-align: left; /* Left align content in left column */
    max-width: 100%;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero title */
.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: left;
    letter-spacing: -0.8px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-title-main {
    display: block;
    font-size: 2.75rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9), 0 2px 10px rgba(0, 0, 0, 0.7);
    letter-spacing: -0.8px;
    line-height: 1.1;
}

.hero-title-sub {
    display: block;
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-top: 0.25rem;
    opacity: 0.95;
    position: relative;
    padding-left: 0;
}

/* Hero subtitle */
.hero-subtitle {
    font-size: 1.1rem;
    color: #ffffff;
    max-width: 100%;
    margin: 0 0 1.25rem 0;
    line-height: 1.6;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.5);
    text-align: left;
    padding: 0;
}

.hero-subtitle strong {
    color: #ffffff;
    font-weight: 600;
}

/* Hero contact info - Subtle and professional */
.hero-contact {
    margin: 1rem 0 1.25rem 0;
    text-align: left;
}

.hero-phone-text {
    font-size: 1rem;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.5);
    padding: 0;
    display: inline-block;
}

.hero-phone-link-subtle {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-phone-link-subtle:hover {
    color: #f1f5f9;
    text-decoration: underline;
}

/* Trust badges under hero */
.trust-badges {
    display: flex;
    justify-content: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.trust-badge {
    padding: 0.4rem 1rem;
    font-size: 0.8125rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Hero buttons */
.hero-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap; /* Wraps on mobile */
}

/* Hero statistics */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
    text-align: center;
    padding: 1.25rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.6);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.5);
    font-weight: 600;
    line-height: 1.3;
}

/* Scroll indicator */
/* Sliding Services Banner */
.hero-services-slider {
    position: absolute;
    bottom: 60px; /* Position above scroll indicator - moved further down */
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
    z-index: 2;
    padding: 1rem 0;
}

.services-slider-track {
    display: flex;
    gap: 2rem;
    width: fit-content;
    animation: slideLeftToRight 30s linear infinite;
    white-space: nowrap;
}

.service-item {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 0, 0, 0.4); /* Darker background for better visibility */
    color: #ffffff;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.service-item:hover {
    background: rgba(0, 0, 0, 0.6); /* Darker on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

@keyframes slideLeftToRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Mobile adjustments for sliding services */
@media (max-width: 768px) {
    .hero-services-slider {
        bottom: 50px; /* Moved down on mobile too */
        padding: 0.75rem 0;
    }
    
    .services-slider-track {
        gap: 1.5rem;
        animation-duration: 25s; /* Faster on mobile */
    }
    
    .service-item {
        padding: 0.4rem 1.2rem;
        font-size: 0.8rem;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2; /* Above overlay */
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 3px solid rgba(255, 255, 255, 0.9);
    border-bottom: 3px solid rgba(255, 255, 255, 0.9);
    transform: rotate(45deg);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   BUTTON STYLES
   Professional buttons
   ============================================ */

.btn {
    padding: 14px 32px; /* Comfortable padding */
    border-radius: 6px;
    text-decoration: none; /* Removes underline */
    font-weight: 600;
    display: inline-flex; /* Flexbox for icon alignment */
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease; /* Smooth transitions */
    border: none;
    cursor: pointer;
    font-size: 0.9375rem;
}

/* Primary button - Enhanced for conversions with glistening effect */
.btn-primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #22c55e 100%);
    background-size: 200% 200%;
    color: white;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5), 0 4px 15px rgba(34, 197, 94, 0.4), 0 0 30px rgba(34, 197, 94, 0.3);
    position: relative;
    overflow: hidden;
    animation: gradientShift 3s ease infinite, btnGlow 2s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Shimmer/Glistening effect */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 3s infinite;
    z-index: 1;
}

/* Sparkle particles effect */
.btn-primary::after {
    display: none; /* Removed star/sparkle */
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.6), 0 6px 20px rgba(34, 197, 94, 0.5), 0 0 40px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 50%, #16a34a 100%);
    background-size: 200% 200%;
    border-color: rgba(255, 255, 255, 0.4);
    animation: gradientShift 1.5s ease infinite, btnGlow 1s ease-in-out infinite;
}

.btn-primary:hover::before {
    animation: shimmer 1.5s infinite;
}

.btn-primary:hover::after {
    display: none; /* Star removed */
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.01);
}

/* Make button content appear above shimmer */
.btn-primary > * {
    position: relative;
    z-index: 3;
}

.btn-pulse {
    animation: btnPulse 2.5s ease-in-out infinite, gradientShift 3s ease infinite, btnGlow 2s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5), 0 4px 15px rgba(34, 197, 94, 0.4), 0 0 30px rgba(34, 197, 94, 0.3);
    }
    50% {
        box-shadow: 0 10px 30px rgba(34, 197, 94, 0.6), 0 5px 18px rgba(34, 197, 94, 0.5), 0 0 35px rgba(34, 197, 94, 0.4);
    }
}

/* Shimmer animation */
@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Gradient shift animation */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Glow pulse animation */
@keyframes btnGlow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5), 0 4px 15px rgba(34, 197, 94, 0.4), 0 0 30px rgba(34, 197, 94, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(34, 197, 94, 0.6), 0 4px 15px rgba(34, 197, 94, 0.5), 0 0 40px rgba(34, 197, 94, 0.5);
    }
}

/* Sparkle animation */
@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

/* Large button for prominent CTAs */
.btn-large {
    padding: 14px 60px; /* Made longer - increased horizontal padding */
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 320px; /* Minimum width to make it longer */
}

.btn-icon {
    font-size: 1.3rem;
    display: inline-block;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
}

.btn-text strong {
    font-size: 1.125rem;
    font-weight: 700;
    display: block;
}

.btn-text small {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 2px;
}

.btn-arrow {
    transition: transform 0.3s ease;
    font-size: 1.3rem;
    font-weight: 700;
    display: inline-block;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(6px); /* Arrow moves right on hover */
}

.btn-pulse:hover {
    animation: gradientShift 1.5s ease infinite, btnGlow 1s ease-in-out infinite; /* Keep shimmer on hover */
}

/* Secondary button */
.btn-secondary {
    background-color: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    background-color: #ffffff;
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Full width button */
.btn-full {
    width: 100%;
    justify-content: center;
}


/* Inline phone links */
.inline-phone {
    color: #22c55e;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    transition: color 0.2s ease;
}

.inline-phone:hover {
    color: #16a34a;
    text-decoration: underline;
}

/* ============================================
   SECTION HEADER STYLES
   Section titles and badges
   ============================================ */

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

.section-badge {
    display: inline-block;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   SERVICES SECTION STYLES
   Service cards grid
   ============================================ */

.services {
    padding: 100px 0;
    background-color: #ffffff; /* Fallback */
    position: relative;
    overflow: hidden;
}

/* Background image for services section */
.services-background {
    position: absolute;
    inset: 0;
    background-image: url('../images/Front Entryway with exposed aggregate and stamped concrete borders.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect */
    z-index: 0;
}

/* No overlay - show images naturally */
.services-background::after {
    display: none;
}

.services .container {
    position: relative;
    z-index: 2; /* Above background and overlay */
}

/* Update section header text colors for services section with image background */
.services .section-header {
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.services .section-header h2 {
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.6);
}

.services .section-header p {
    color: #ffffff;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.5);
}

.services .section-badge {
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.5);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    gap: 2rem;
}

.service-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    opacity: 0; /* Hidden by default, animated in */
    transform: translateY(30px);
}

.service-card:hover {
    transform: translateY(-5px); /* Lifts on hover */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.service-features li {
    color: #475569;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22c55e; /* Green checkmark */
    font-weight: bold;
}

/* ============================================
   PORTFOLIO SECTION STYLES
   Image gallery grid
   ============================================ */

.portfolio {
    padding: 100px 0;
    background-color: #f8fafc; /* Fallback */
    position: relative;
    overflow: hidden;
}

/* Background image for portfolio section */
.portfolio-background {
    position: absolute;
    inset: 0;
    background-image: url('../images/One Car Driveway with Extension Regular Concrete.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect */
    z-index: 0;
}

/* No overlay - show images naturally */
.portfolio-background::after {
    display: none;
}

.portfolio .container {
    position: relative;
    z-index: 2; /* Above background and overlay */
}

/* Update section header text colors for portfolio section with image background */
.portfolio .section-header {
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.portfolio .section-header h2 {
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.6);
}

.portfolio .section-header p {
    color: #ffffff;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.5);
}

.portfolio .section-badge {
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.5);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    gap: 1.5rem;
}

.portfolio-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    opacity: 0; /* Hidden by default, animated in */
    transform: translateY(30px);
}

.portfolio-image {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
}

.portfolio-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Covers the area */
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1); /* Zooms in on hover */
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    color: white;
    padding: 2rem;
    transform: translateY(100%); /* Hidden by default */
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0); /* Slides up on hover */
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.8);
}

/* Make portfolio images clickable */
.portfolio-image {
    cursor: pointer;
}

/* ============================================
   LIGHTBOX MODAL STYLES
   Full-screen image viewer
   ============================================ */

.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1.125rem;
    padding: 0 2rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: fixed;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-close {
    top: 30px;
    right: 30px;
    font-size: 3rem;
    line-height: 1;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Hide navigation buttons on mobile */
@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 2.5rem;
    }
    
    .lightbox-caption {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* ============================================
   TESTIMONIALS SECTION STYLES
   Customer reviews and feedback
   ============================================ */

.testimonials {
    padding: 100px 0;
    background-color: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    gap: 2rem;
}

.testimonial-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    opacity: 0; /* Hidden by default, animated in */
    transform: translateY(30px);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #475569 0%, #1e293b 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.875rem;
    color: #64748b;
}

/* ============================================
   ABOUT SECTION STYLES
   Company information
   ============================================ */

.about {
    padding: 100px 0;
    background-color: #ffffff; /* Fallback */
    position: relative;
    overflow: hidden;
}

/* Background image for about section */
.about-background {
    position: absolute;
    inset: 0;
    background-image: url('../images/Decorative Walkway and Decorative Walls.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect */
    z-index: 0;
}

/* No overlay - show images naturally */
.about-background::after {
    display: none;
}

.about .container {
    position: relative;
    z-index: 2; /* Above background */
}

/* Update section badge for about section with image background */
.about .section-badge {
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* About section text with background for better contrast */
.about .about-text {
    background: rgba(0, 0, 0, 0.4);
    padding: 2.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Force white text in about section with background image */
.about .about-text h2 {
    color: #ffffff !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.6);
}

.about .about-text p,
.about .about-text .about-intro {
    color: #ffffff !important;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* Stats section within about should also be white */
.about .stat-item {
    background-color: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.about .stat-item .stat-number {
    color: #ffffff !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.6);
}

.about .stat-item .stat-label {
    color: #ffffff !important;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.5);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #0f172a; /* Default dark text */
}

.about-intro {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #475569; /* Default dark text */
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #64748b; /* Default dark text */
}

/* Statistics grid */
.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background-color: #f8fafc;
    border-radius: 8px;
}

.stat-item .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    font-size: 0.875rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Visual cards */
.about-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.visual-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.visual-card:hover {
    transform: translateX(10px); /* Slides right on hover */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.visual-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.visual-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.visual-card p {
    color: #64748b;
    line-height: 1.7;
}

/* ============================================
   CONTACT SECTION STYLES
   Contact form and information
   ============================================ */

.contact {
    padding: 100px 0;
    background-color: #f8fafc; /* Fallback */
    position: relative;
    overflow: hidden;
}


.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Form is slightly wider */
    gap: 4rem;
}

/* Contact form */
.contact-form-wrapper {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #475569;
}

.form-group textarea {
    resize: vertical; /* Only vertical resize */
    min-height: 120px;
}

/* Contact info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: #64748b;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #64748b;
    line-height: 1.7;
}

.contact-item a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #0f172a;
    text-decoration: underline;
}


.phone-subtext {
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Form notes and guarantees */
.form-note {
    text-align: center;
    margin-top: 1rem;
    color: #64748b;
    font-size: 0.9375rem;
}

.form-guarantee {
    text-align: center;
    margin-top: 0.75rem;
    padding: 1rem;
    background-color: #f0fdf4;
    border-radius: 8px;
    color: #16a34a;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid #86efac;
}

/* ============================================
   FOOTER STYLES
   Footer information
   ============================================ */

.footer {
    background-color: #0f172a; /* Dark background */
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: #cbd5e1;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
}

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

/* ============================================
   ANIMATION STYLES
   Scroll animations
   ============================================ */

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   Mobile and tablet styles
   ============================================ */

@media (max-width: 768px) {
    /* Navigation - Mobile styles */
    .navbar {
        padding: 1rem 0; /* Less padding on mobile */
    }
    
    .navbar .container {
        gap: 1rem;
        padding: 0 16px; /* Less padding on mobile */
    }
    
    .logo h2 {
        font-size: 1.5rem;
    }
    
    .logo-tag {
        font-size: 0.65rem;
    }
    
    .nav-links {
        display: none; /* Hide on mobile initially */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        gap: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }
    
    .nav-links a {
        color: #475569; /* Dark text in mobile menu */
        text-shadow: none;
    }
    
    .nav-links a::after {
        background: linear-gradient(135deg, #475569 0%, #1e293b 100%);
    }
    
    .nav-links a:hover {
        color: #0f172a;
    }

    .nav-links.active {
        display: flex; /* Show when active */
    }

    .nav-links li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        font-size: 1rem;
        padding: 0.75rem 0;
    }
    
    .nav-links a::after {
        display: none; /* Hide underline animation on mobile */
    }

    .nav-phone {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .nav-phone-link {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .phone-icon {
        font-size: 1.5rem;
    }
    
    .phone-text {
        font-size: 0.7rem;
    }
    
    .phone-number {
        font-size: 1.1rem;
    }
    
    .btn-large {
        padding: 16px 30px;
        font-size: 1rem;
    }
    
    .btn-text {
        align-items: center;
        text-align: center;
    }
    
    .btn-text small {
        font-size: 0.7rem;
    }

    .menu-toggle {
        display: flex; /* Show menu button on mobile */
        margin-left: auto;
    }

    /* Hero - Optimized for mobile viewport fold and zoom */
    .hero {
        padding: 60px 0 40px; /* Reduced padding to move content up */
        min-height: 100vh; /* Use standard viewport height for stability on zoom */
        display: flex;
        align-items: flex-start; /* Align to top for mobile */
        padding-top: 140px; /* Increased top padding to move content down even more on mobile */
        position: relative; /* Ensure stable positioning on zoom */
    }
    
    /* Hero Grid - Stack columns on mobile */
    .hero-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 1.5rem; /* Reduced gap */
        width: 100%;
    }
    
    .hero-column-left {
        padding-right: 0;
    }
    
    .hero-column-middle {
        display: none; /* Hide empty middle column on mobile */
    }
    
    .hero-column-right {
        padding-left: 0;
    }
    
    .hero-content {
        text-align: center; /* Center content on mobile */
        padding: 1.25rem 1rem; /* Reduced padding for compact layout */
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    
    .hero-title {
        font-size: 1.75rem; /* Smaller for mobile */
        text-align: center; /* Center on mobile */
        margin-bottom: 0.75rem; /* Reduced margin */
        line-height: 1.2;
    }
    
    .hero-title-main {
        font-size: 1.75rem; /* Optimized for mobile */
        text-align: center;
        line-height: 1.2;
    }
    
    .hero-title-sub {
        font-size: 1.125rem; /* Smaller subtitle */
        text-align: center;
        margin-top: 0.375rem; /* Reduced margin */
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.9375rem; /* Smaller on mobile - 15px */
        margin-bottom: 1rem; /* Reduced margin */
        text-align: center; /* Center on mobile */
        line-height: 1.5;
    }
    
    .hero-contact {
        text-align: center; /* Center on mobile */
        margin: 0.75rem 0; /* Reduced margin */
    }
    
    .hero-phone-text {
        font-size: 0.9375rem; /* Smaller phone text */
    }
    
    .hero-buttons {
        flex-direction: column; /* Stack buttons on mobile */
        gap: 0.875rem; /* Reduced gap */
        width: 100%;
        justify-content: center; /* Center buttons on mobile */
        margin-top: 1rem; /* Add margin top */
    }
    
    .hero-buttons .btn {
        width: 100%; /* Full width buttons on mobile */
        min-height: 44px; /* Touch target minimum */
        padding: 12px 24px; /* Comfortable touch padding */
    }
    
    .trust-badges {
        justify-content: center; /* Center badges on mobile */
    }

    .hero-stats {
        flex-direction: row; /* Keep horizontal on mobile */
        gap: 0.5rem; /* Reduced gap */
        padding: 0.875rem;
        flex-wrap: wrap; /* Allow wrapping if needed */
        justify-content: center;
    }
    
    .hero-stat {
        text-align: center;
        padding: 0.625rem 0.5rem; /* Reduced padding */
        flex: 1;
        min-width: 0; /* Allow flex shrinking */
    }
    
    .stat-number {
        font-size: 1.5rem; /* Smaller stat numbers */
        line-height: 1.2;
    }
    
    .stat-label {
        font-size: 0.6875rem; /* Smaller labels - 11px */
        line-height: 1.3;
        margin-top: 0.25rem;
    }

    /* Sections - Optimized for mobile */
    section {
        padding: 50px 0; /* Reduced padding for mobile */
    }
    
    .section-header {
        margin-bottom: 2rem; /* Less margin on mobile */
        padding: 0 1rem; /* Add padding for mobile */
    }
    
    .section-header h2 {
        font-size: 1.75rem; /* Smaller on mobile */
        line-height: 1.3;
        margin-bottom: 0.75rem; /* Reduced margin */
    }
    
    .section-header p {
        font-size: 0.9375rem; /* Smaller on mobile - 15px */
        line-height: 1.6; /* Better readability */
    }

    /* Services Grid - Single column on mobile */
    .services-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 1.5rem; /* Reduced gap */
    }

    .service-card {
        padding: 1.5rem; /* Reduced padding for mobile */
    }

    .service-card h3 {
        font-size: 1.25rem; /* Smaller headings on mobile */
        margin-bottom: 0.75rem;
    }

    .service-card p {
        font-size: 0.9375rem; /* Smaller text on mobile */
        line-height: 1.6;
    }

    /* Portfolio Grid - Single column on mobile */
    .portfolio-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 1.5rem; /* Reduced gap */
    }

    .portfolio-item {
        margin-bottom: 0; /* Remove extra margin */
    }

    /* Testimonials Grid - Single column on mobile */
    .testimonial-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 1.5rem; /* Reduced gap */
    }

    .testimonial-card {
        padding: 1.5rem; /* Reduced padding */
    }

    .testimonial-text {
        font-size: 0.9375rem; /* Smaller text on mobile */
        line-height: 1.6;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 2rem; /* Reduced gap */
    }

    .about-image {
        margin-bottom: 1.5rem; /* Add margin below image */
    }

    .about-text h2 {
        font-size: 1.75rem; /* Smaller on mobile */
        margin-bottom: 1rem;
    }

    .about-text p {
        font-size: 0.9375rem; /* Smaller text on mobile */
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .stats {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 1rem; /* Reduced gap */
    }

    .stat-item {
        padding: 1rem; /* Reduced padding */
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 2rem; /* Reduced gap */
    }

    .contact-info {
        margin-bottom: 2rem; /* Add margin */
    }

    .contact-form-wrapper {
        padding: 1.5rem; /* Reduced padding */
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px; /* Comfortable padding */
        width: 100%; /* Full width on mobile */
    }

    /* Footer - Optimized for mobile */
    .footer {
        padding: 40px 0 20px; /* Reduced padding */
    }

    .footer-content {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 2rem; /* Reduced gap */
        text-align: center; /* Center align on mobile */
    }

    .footer-section {
        margin-bottom: 1.5rem;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1.125rem; /* Slightly smaller */
        margin-bottom: 1rem;
    }

    .footer-section ul {
        list-style: none;
        padding: 0;
    }

    .footer-section li {
        margin-bottom: 0.5rem;
        font-size: 0.9375rem; /* Smaller text */
    }

    .footer-bottom {
        text-align: center; /* Center align on mobile */
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 2rem;
    }

    .footer-bottom p {
        font-size: 0.875rem; /* Smaller text */
        margin-bottom: 0.5rem;
    }
    
    /* Nav phone button - hide on mobile, use floating button instead */
    .nav-phone {
        display: none;
    }
    
    /* Floating call button - adjust size for mobile */
    .floating-call-btn {
        bottom: 20px;
        right: 20px;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .floating-call-icon {
        font-size: 1.125rem;
    }
    
    .floating-call-number {
        font-size: 0.875rem;
    }
    
    .trust-badges {
        gap: 1rem;
    }
    
    .trust-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr; /* Single column on mobile */
    }

    /* Portfolio - Single column on mobile (768px) since mobile is priority */
    .portfolio-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 1.5rem; /* Reduced gap */
    }
    
    @media (max-width: 640px) {
        .portfolio-grid {
            grid-template-columns: 1fr; /* Single column on small mobile too */
            gap: 1rem; /* Less gap on small screens */
        }
        
        /* Smaller text on very small phones */
        body {
            font-size: 15px; /* Slightly smaller base font */
        }
        
        /* Better touch targets for mobile */
        .btn {
            min-height: 44px; /* Minimum touch target size */
            padding: 12px 24px;
        }
        
        /* Images should be responsive */
        img {
            max-width: 100%;
            height: auto;
        }
        
        /* Service cards stack better */
        .services-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        
        .service-card {
            padding: 1.5rem; /* Less padding on mobile */
        }
        
        .service-icon {
            font-size: 2.5rem; /* Smaller icons on mobile */
        }
        
        .service-card h3 {
            font-size: 1.25rem; /* Smaller headings on mobile */
        }
        
        /* Portfolio items */
        .portfolio-item {
            margin-bottom: 1rem;
        }
        
        .portfolio-image {
            padding-top: 66.67%; /* 3:2 aspect ratio on mobile */
        }
        
        /* Testimonial cards */
        .testimonial-card {
            padding: 1.5rem;
        }
        
        .testimonial-text {
            font-size: 0.95rem; /* Slightly smaller text */
        }
        
        /* Contact form */
        .contact-form {
            padding: 1.5rem;
        }
        
        .form-group input,
        .form-group textarea {
            font-size: 16px; /* Prevents zoom on iOS */
            padding: 12px;
        }
        
        /* Hero stats */
        .hero-stats {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        
        .stat-item {
            padding: 1rem;
        }
        
        /* Ensure all images are responsive */
        .portfolio-image img,
        .service-card img,
        .about-image img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        /* Better spacing for mobile */
        .section-header {
            margin-bottom: 2rem;
        }
        
        /* Trust badges wrap better */
        .trust-badges {
            flex-wrap: wrap;
            justify-content: center;
        }
        
        /* About section images */
        .about-image {
            margin-bottom: 2rem;
        }
        
        /* Contact info spacing */
        .contact-info {
            margin-bottom: 2rem;
        }
        
        /* Form inputs full width on mobile */
        .form-group {
            margin-bottom: 1.25rem;
        }
        
        /* Footer adjustments */
        footer {
            padding: 2rem 0;
            text-align: center;
        }
        
        .footer-content {
            flex-direction: column;
            gap: 2rem;
        }
    }
}

/* Portfolio CTA Section */
.portfolio-cta {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    text-align: center;
    color: white;
}

.portfolio-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.portfolio-cta p {
    font-size: 1.125rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

/* Mobile optimizations for CTA sections */
@media (max-width: 640px) {
    .portfolio-cta {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }
    
    .portfolio-cta h3 {
        font-size: 1.5rem;
    }
    
    .portfolio-cta p {
        font-size: 1rem;
    }
    
    .portfolio-cta-buttons {
        flex-direction: column;
    }
    
    .portfolio-cta-buttons .btn {
        width: 100%;
    }
}

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

.portfolio-cta .btn-primary {
    background: linear-gradient(135deg, #475569 0%, #1e293b 100%);
    box-shadow: 0 4px 14px rgba(30, 41, 59, 0.3);
}

.portfolio-cta .btn-primary:hover {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    box-shadow: 0 6px 20px rgba(30, 41, 59, 0.4);
}

.portfolio-cta .btn-secondary {
    background: white;
    color: #0f172a;
    border: 2px solid white;
}

.portfolio-cta .btn-secondary:hover {
    background: #f8fafc;
}

/* About CTA */
.about-cta {
    margin: 2rem 0;
    text-align: center;
    padding: 2rem;
    background: transparent; /* Removed conflicting background */
    border-radius: 12px;
}

/* Ensure button in about section has proper styling */
.about-cta .btn-primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #22c55e 100%);
    background-size: 200% 200%;
    color: white;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5), 0 4px 15px rgba(34, 197, 94, 0.4), 0 0 30px rgba(34, 197, 94, 0.3);
    position: relative;
    overflow: hidden;
    animation: gradientShift 3s ease infinite, btnGlow 2s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.about-cta .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 3s infinite;
    z-index: 1;
}

.about-cta .btn-primary > * {
    position: relative;
    z-index: 3;
}

.about-cta .btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.6), 0 6px 20px rgba(34, 197, 94, 0.5), 0 0 40px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 50%, #16a34a 100%);
    background-size: 200% 200%;
    border-color: rgba(255, 255, 255, 0.4);
    animation: gradientShift 1.5s ease infinite, btnGlow 1s ease-in-out infinite;
}

.about-cta .btn-primary:hover::before {
    animation: shimmer 1.5s infinite;
}

.cta-subtext {
    margin-top: 0.75rem;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px; /* Less padding on very small screens */
    }

    /* Hero - Extra compact for small phones */
    .hero {
        padding: 50px 0 30px; /* Reduced padding to move content up on small screens */
        min-height: 100vh; /* Use standard viewport height for stability on zoom */
        padding-top: 130px; /* Increased top padding to move content down even more on small screens */
        position: relative; /* Ensure stable positioning on zoom */
    }

    .hero-content {
        padding: 1rem 0.875rem; /* Reduced padding for small screens */
    }

    .hero-title {
        font-size: 1.5rem; /* Smaller title for small phones */
        margin-bottom: 0.5rem;
    }

    .hero-title-main {
        font-size: 1.5rem;
    }

    .hero-title-sub {
        font-size: 1rem; /* Smaller subtitle */
        margin-top: 0.25rem;
    }

    .hero-subtitle {
        font-size: 0.875rem; /* 14px - readable but compact */
        margin-bottom: 0.875rem;
    }

    .hero-contact {
        margin: 0.5rem 0;
    }

    .hero-phone-text {
        font-size: 0.875rem;
    }

    .hero-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 0.75rem;
        margin-top: 0.875rem;
    }

    .hero-buttons .btn {
        width: 100%;
        min-height: 44px; /* Touch target minimum */
        padding: 12px 20px;
        justify-content: center;
        font-size: 0.9375rem; /* Slightly smaller button text */
    }

    .hero-stats {
        padding: 0.75rem;
        gap: 0.375rem;
    }

    .hero-stat {
        padding: 0.5rem 0.375rem;
    }

    .stat-number {
        font-size: 1.25rem; /* Smaller stat numbers */
    }

    .stat-label {
        font-size: 0.625rem; /* 10px - compact but readable */
    }

    /* Services slider - optimized for small screens */
    .hero-services-slider {
        bottom: 40px; /* Adjusted position for small screens */
        padding: 0.5rem 0;
    }

    .service-item {
        padding: 0.375rem 1rem; /* Smaller padding */
        font-size: 0.75rem; /* Smaller font */
    }

    .btn {
        width: 100%;
        justify-content: center;
        min-height: 44px; /* Touch target minimum */
    }

    /* Navbar - compact for small screens */
    .navbar {
        padding: 0.75rem 0;
    }

    /* Section padding - reduced for small screens */
    section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }
}

/* Floating Call Button - Subtle and professional */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    background: #ffffff;
    color: #0f172a;
    text-decoration: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    min-width: auto;
}

.floating-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: #f8fafc;
}

.floating-call-icon {
    font-size: 1.25rem;
}

.floating-call-number {
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.3px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-call-btn {
        animation: none;
    }
}

/* ============================================
   3D INTERACTIVE SHED BUILDER STYLES
   Styles for the 3D interactive shed builder page
   ============================================ */

/* Main builder interface container */
.builder-interface {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

/* Left side: Building controls panel */
.builder-controls {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: fit-content;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
}

/* Control sections within the panel */
.builder-control-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.builder-control-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.builder-control-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

/* Grid of building buttons */
.builder-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

/* Individual building button */
.builder-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    color: #334155;
    text-align: left;
    font-family: inherit;
}

.builder-btn:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

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

.builder-btn-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Action buttons container */
.builder-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.builder-actions .btn {
    flex: 1;
    min-width: 120px;
}

/* Instructions box */
.builder-instructions {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.builder-instructions h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.builder-instructions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.builder-instructions li {
    padding: 0.5rem 0;
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.6;
    border-bottom: 1px solid #e2e8f0;
}

.builder-instructions li:last-child {
    border-bottom: none;
}

/* Right side: 3D canvas container */
.builder-canvas-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 3D canvas wrapper - already styled inline in HTML */
#shed-3d-canvas {
    border: 2px solid #e2e8f0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Price summary in builder */
.builder-price-summary {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.builder-price-summary h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.builder-cta {
    margin-top: 1.5rem;
}

/* Builder section header adjustments */
.shed-builder-3d .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* Active navigation link style */
.nav-links .active {
    color: #3b82f6;
    font-weight: 600;
}

/* Responsive design for 3D builder */
@media (max-width: 1200px) {
    .builder-interface {
        grid-template-columns: 350px 1fr;
    }
}

@media (max-width: 968px) {
    .builder-interface {
        grid-template-columns: 1fr;
    }
    
    .builder-controls {
        max-height: none;
    }
    
    .builder-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #shed-3d-canvas {
        height: 500px !important;
    }
}

@media (max-width: 640px) {
    .builder-controls,
    .builder-price-summary {
        padding: 1.5rem;
    }
    
    .builder-buttons {
        grid-template-columns: 1fr;
    }
    
    .builder-actions {
        flex-direction: column;
    }
    
    .builder-actions .btn {
        width: 100%;
    }
    
    #shed-3d-canvas {
        height: 400px !important;
    }
}

