/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Black, White & Red Theme - Professional Roofing */
    --primary-color: #000000; /* Black */
    --secondary-color: #dc2626; /* Bold Red */
    --accent-color: #ff0000; /* Bright Red */
    --success-color: #dc2626; /* Red */
    --dark-color: #000000; /* Black */
    --darker-color: #000000; /* Black */
    --light-color: #f8fafc; /* Light Gray */
    --lighter-color: #ffffff; /* White */
    --white: #ffffff;
    --text-dark: #000000;
    --text-medium: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    
    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), #dc2626);
    --gradient-success: linear-gradient(135deg, var(--success-color), #ff0000);
    --gradient-overlay: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(220, 38, 38, 0.3));
    
    /* Fonts */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    
    /* Enhanced Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --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);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-colored: 0 10px 30px rgba(220, 38, 38, 0.2);
    
    /* Enhanced Transitions */
    --transition-fast: all 0.15s ease;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-slow: all 0.5s ease-in-out;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

/* Enhanced Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-family: var(--font-primary);
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-smooth);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background: var(--dark-color);
    border-color: var(--dark-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-2xl), 0 15px 40px rgba(220, 38, 38, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.01);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--dark-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* Enhanced Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition-smooth);
    border-bottom: 2px solid var(--secondary-color);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: var(--shadow-lg), 0 4px 20px rgba(220, 38, 38, 0.15);
    padding: 12px 0;
    border-bottom: 2px solid var(--secondary-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 55px;
    width: auto;
    transition: var(--transition-smooth);
    max-width: 200px;
    object-fit: contain;
    /* Remove filter initially to see the original logo */
}

.navbar.scrolled .logo {
    height: 45px;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.5));
}

/* If logo needs to be white, uncomment this */
/* 
.logo {
    filter: brightness(0) invert(1);
}
.logo:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(245, 158, 11, 0.5));
}
*/

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-color);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.phone-link {
    background: var(--accent-color);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
}

.phone-link:hover {
    background: var(--secondary-color);
    color: var(--white) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition-smooth);
}

/* Enhanced Hero Section with Roofing Background */
.hero {
    height: 100vh;
    background: var(--gradient-overlay), 
                url('../images/roofrepair2.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Fallback hero background for when image doesn't load */
.hero.fallback {
    background: var(--gradient-overlay), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="roofPattern" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23374151;stop-opacity:1" /><stop offset="50%" style="stop-color:%234b5563;stop-opacity:1" /><stop offset="100%" style="stop-color:%23374151;stop-opacity:1" /></linearGradient></defs><rect fill="url(%23roofPattern)" width="1200" height="600"/><polygon fill="%23dc2626" points="100,200 300,150 500,200 700,150 900,200 1100,150 1200,200 1200,0 0,0 0,200" opacity="0.8"/><polygon fill="%234b5563" points="0,400 200,350 400,400 600,350 800,400 1000,350 1200,400 1200,600 0,600" opacity="0.9"/></svg>');
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(30, 64, 175, 0.1) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.5; }
    100% { opacity: 0.8; }
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: heroFadeIn 1.5s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    color: var(--white);
    backdrop-filter: blur(10px);
}

.badge i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    color: var(--text-medium);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

/* Enhanced About Section with Tools Background */
.about {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(254, 254, 254, 0.95) 100%),
                url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-4.0.3&auto=format&fit=crop&w=2076&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="2" fill="%23e5e7eb" opacity="0.3"/><circle cx="75" cy="75" r="2" fill="%23e5e7eb" opacity="0.3"/><rect x="45" y="45" width="10" height="10" fill="%23f3f4f6" opacity="0.2"/></svg>');
    background-size: 80px 80px;
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.about-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.about-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl), var(--shadow-colored);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
}

.card-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-lg);
}

.card-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-accent);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.about-card:hover .card-icon::before {
    opacity: 1;
    transform: scale(1.1);
}

.about-card:hover .card-icon {
    transform: rotate(360deg) scale(1.1);
}

.card-icon i {
    color: var(--white);
    font-size: 2.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.about-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

/* Enhanced Services Section with Roof Repair Background */
.services {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(248, 250, 252, 0.7) 100%),
                url('../images/roofrepair.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(30, 64, 175, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 50%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><polygon points="30,10 50,25 30,40 10,25" fill="%23f3f4f6" opacity="0.4"/></svg>');
    background-size: auto, auto, 120px 120px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 35px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 20px 40px rgba(220, 38, 38, 0.2);
    border-color: var(--secondary-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.05), transparent);
    transition: var(--transition-smooth);
}

.service-card:hover::before {
    left: 100%;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.03;
    transition: var(--transition-smooth);
}

.service-card:hover::after {
    bottom: -20%;
    right: -20%;
    opacity: 0.08;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-md);
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-accent);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon::before {
    opacity: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
}

.service-icon i {
    color: var(--white);
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.service-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Enhanced Service Areas Section with Service Area Vans Background */
.service-areas {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.6) 0%, rgba(254, 254, 254, 0.6) 50%, rgba(248, 250, 252, 0.6) 100%),
                url('../images/serviceareavans.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-areas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><polygon points="30,0 60,30 30,60 0,30" fill="%23f3f4f6" opacity="0.3"/><circle cx="30" cy="30" r="3" fill="%23e5e7eb" opacity="0.5"/></svg>');
    background-size: 100px 100px;
    pointer-events: none;
}

/* Enhanced Service Areas Header Readability */
.service-areas .section-header {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.service-areas .section-header h2 {
    color: var(--dark-color);
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.service-areas .section-header p {
    color: var(--text-medium);
    font-size: 1.3rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.service-areas-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.service-areas-map {
    text-align: center;
    position: relative;
}

.service-areas-map::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-xl);
    opacity: 0.1;
    z-index: -1;
}

.service-map-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl), 0 20px 40px rgba(30, 64, 175, 0.15);
    transition: var(--transition-smooth);
    border: 3px solid var(--white);
}

.service-map-img:hover {
    transform: scale(1.03) rotate(1deg);
    box-shadow: var(--shadow-2xl), 0 30px 60px rgba(30, 64, 175, 0.2);
}

.counties-grid h3 {
    color: var(--dark-color);
    margin-bottom: 35px;
    font-size: 1.75rem;
    position: relative;
    padding-bottom: 15px;
}

.counties-grid h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.counties-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.county-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.county-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: var(--transition-smooth);
}

.county-item:hover::before {
    transform: scaleY(1);
}

.county-item:hover {
    transform: translateX(8px) scale(1.02);
    box-shadow: var(--shadow-lg), var(--shadow-colored);
    border-color: var(--primary-color);
}

.county-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.county-item:hover i {
    color: var(--secondary-color);
    transform: scale(1.2);
}

.county-item span {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.05rem;
    transition: var(--transition-smooth);
}

.county-item:hover span {
    color: var(--primary-color);
}

/* Enhanced Testimonials Section with Happy Clients Background */
.testimonials {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(248, 250, 252, 0.75) 100%),
                url('../images/happyclient.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(30, 64, 175, 0.08) 0%, transparent 50%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><star cx="25" cy="25" r="2" fill="%23f59e0b" opacity="0.2"/></svg>');
    background-size: auto, auto, 100px 100px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: var(--light-color);
    padding: 45px 35px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 4rem;
    color: var(--primary-color);
    font-family: Georgia, serif;
    opacity: 0.2;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-colored);
    border-color: var(--primary-color);
}

.testimonial-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0.1;
    transition: var(--transition-smooth);
}

.testimonial-card:hover::after {
    transform: scale(1.2);
    opacity: 0.15;
}

.stars {
    margin-bottom: 20px;
}

.stars i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin: 0 2px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.testimonial-author strong {
    color: var(--dark-color);
    display: block;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Enhanced Gallery Section with Construction Background */
.gallery {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(254, 254, 254, 0.95) 100%),
                url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><rect x="10" y="10" width="20" height="20" fill="%23f3f4f6" opacity="0.4" rx="2"/><rect x="50" y="50" width="20" height="20" fill="%23f3f4f6" opacity="0.4" rx="2"/><circle cx="25" cy="65" r="3" fill="%23e5e7eb" opacity="0.3"/></svg>');
    background-size: 120px 120px;
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 3px solid var(--white);
}

.gallery-item:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: var(--shadow-2xl), 0 25px 50px rgba(30, 64, 175, 0.2);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
}

.gallery-item:hover::before {
    opacity: 1;
    animation: shimmer 0.8s ease-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gallery-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, -20px) rotate(180deg); }
}

.gallery-placeholder i {
    font-size: 3.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: var(--transition-bounce);
    position: relative;
    z-index: 1;
}

.gallery-item:hover .gallery-placeholder i {
    transform: scale(1.2) rotateY(360deg);
}

.gallery-placeholder p {
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

/* Enhanced Contact Section with Contact Us Background */
.contact {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 252, 0.8) 100%),
                url('../images/contactus.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%23e5e7eb" opacity="0.4"/><circle cx="80" cy="80" r="1" fill="%23e5e7eb" opacity="0.4"/><rect x="45" y="45" width="10" height="10" fill="%23f3f4f6" opacity="0.3" rx="1"/></svg>');
    background-size: 150px 150px;
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light-color);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-light);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--white);
    font-size: 1.3rem;
}

.contact-details h3 {
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.contact-details a:hover {
    color: var(--secondary-color);
}

.contact-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-badge i {
    color: var(--accent-color);
}

/* Enhanced Contact Form */
.contact-form-container {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
    padding: 50px 45px;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl), var(--shadow-colored);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.contact-form-container::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.05;
}

.contact-form h3 {
    color: var(--dark-color);
    margin-bottom: 35px;
    text-align: center;
    position: relative;
    font-size: 1.8rem;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1.05rem;
    background: var(--white);
    transition: var(--transition-smooth);
    font-family: var(--font-secondary);
    box-shadow: var(--shadow-xs);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.15), var(--shadow-md);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--text-light);
    box-shadow: var(--shadow-sm);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-light);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition-smooth);
    background: var(--white);
    padding: 0 5px;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -10px;
    left: 10px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group select {
    color: var(--text-dark);
}

.form-group select option {
    padding: 10px;
}

.contact-form .btn {
    width: 100%;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, var(--darker-color) 0%, var(--dark-color) 100%);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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="1" fill="%23374151" opacity="0.3"/></svg>');
    background-size: 60px 60px;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    max-width: 200px;
    object-fit: contain;
    /* Remove filter initially to see the original logo */
}

/* If footer logo needs to be white, uncomment this */
/* 
.footer-logo {
    filter: brightness(0) invert(1);
}
*/

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    color: #9ca3af;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.footer-section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.footer-section i {
    color: var(--accent-color);
    margin-right: 8px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding: 50px 20px;
        transition: var(--transition-smooth);
        gap: 30px;
        border-top: 2px solid var(--secondary-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.4rem; }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-areas-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .counties-list {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .about-card,
    .service-card {
        padding: 25px 20px;
    }
    
    .contact-item {
        padding: 15px;
    }
    
    .contact-form-container {
        padding: 25px 15px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Focus styles for accessibility */
button:focus,
.btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .back-to-top {
        display: none;
    }
    
    .hero {
        height: auto;
        padding: 50px 0;
    }
    
    * {
        box-shadow: none !important;
    }
}

/* Demo Disclaimer Banner */
.demo-disclaimer {
    background: linear-gradient(135deg, #dc2626, #ff0000);
    color: white;
    padding: 1rem 0;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.demo-disclaimer .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.demo-disclaimer i {
    font-size: 1.3rem;
    animation: pulse 2s infinite;
}

.demo-disclaimer .demo-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Adjust navbar position to account for demo banner */
.navbar {
    margin-top: 60px;
}

/* Adjust hero padding to account for demo banner and navbar */
.hero {
    padding-top: calc(var(--section-padding) + 60px);
}

@media (max-width: 768px) {
    .demo-disclaimer {
        font-size: 1rem;
        padding: 0.8rem 0;
    }
    
    .demo-disclaimer .container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 1rem;
    }
    
    .navbar {
        margin-top: 70px;
    }
    
    .hero {
        padding-top: calc(var(--section-padding) + 70px);
    }
}