/*!
Theme Name: AGV Constructions
Theme URI: https://agvconstructions.com
Author: AGV Constructions
Author URI: https://agvconstructions.com
Description: A modern, minimalistic construction company theme with Caterpillar-inspired branding
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: agv-constructions
Tags: construction, business, one-column, custom-logo, custom-menu, featured-images

AGV Constructions Theme - Building Excellence
*/

/* ============================================
   CSS VARIABLES - CATERPILLAR BRANDING
   ============================================ */
:root {
    /* Primary Colors */
    --agv-yellow: #FFC400;
    --agv-yellow-dark: #E5B000;
    --agv-yellow-light: #FFD740;
    
    /* Black Tones */
    --agv-black: #0A0A0A;
    --agv-charcoal: #1A1A1A;
    --agv-dark-gray: #2D2D2D;
    --agv-gray: #4A4A4A;
    
    /* Blue Tones */
    --agv-blue: #1E3A5F;
    --agv-blue-dark: #0F1E30;
    --agv-blue-light: #2E5A8F;
    --agv-slate: #334155;
    
    /* Neutral */
    --agv-white: #FFFFFF;
    --agv-off-white: #F8F9FA;
    --agv-light-gray: #E5E7EB;
    
    /* Typography */
    --font-heading: 'Oswald', 'Impact', sans-serif;
    --font-body: 'Barlow', 'Roboto', sans-serif;
    
    /* Spacing */
    --section-padding: clamp(4rem, 8vw, 8rem);
    --container-max: 1400px;
    --container-padding: clamp(1rem, 4vw, 2rem);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-yellow: 0 4px 20px rgba(255, 196, 0, 0.3);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--agv-charcoal);
    background-color: var(--agv-white);
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--agv-black);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    margin-bottom: 1.5rem;
    color: var(--agv-gray);
}

a {
    color: var(--agv-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--agv-yellow);
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-padding) 0;
}

.section-dark {
    background-color: var(--agv-charcoal);
    color: var(--agv-white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--agv-white);
}

.section-dark p {
    color: var(--agv-light-gray);
}

.text-center { text-align: center; }
.text-yellow { color: var(--agv-yellow); }

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .overline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--agv-yellow);
    margin-bottom: 1rem;
}

.section-header .overline::before,
.section-header .overline::after {
    content: '';
    width: 2rem;
    height: 2px;
    background: var(--agv-yellow);
}

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

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn svg {
    fill: currentColor;
    transition: fill var(--transition-medium);
}

.btn-primary {
    background: var(--agv-yellow);
    color: var(--agv-black);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn-primary:hover {
    background: var(--agv-yellow-dark);
    color: var(--agv-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-yellow);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--agv-charcoal);
    border: 2px solid var(--agv-charcoal);
}

.btn-outline:hover {
    background: var(--agv-charcoal);
    color: var(--agv-white);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all var(--transition-medium);
}

.site-header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    transition: padding var(--transition-medium);
}

.site-header.scrolled .header-inner {
    padding: 0.75rem 0;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.site-logo .logo-image,
.site-logo .custom-logo,
.custom-logo-link img {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* WordPress custom logo specific */
.custom-logo-link {
    display: flex;
    align-items: center;
}

.site-logo .custom-logo-link {
    text-decoration: none;
}

.logo-mark {
    width: 50px;
    height: 50px;
    background: var(--agv-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.logo-mark span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--agv-black);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .company-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--agv-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.logo-text .tagline {
    font-size: 0.6875rem;
    color: var(--agv-yellow);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-menu li a {
    display: block;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--agv-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 1.25rem;
    right: 1.25rem;
    height: 2px;
    background: var(--agv-yellow);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-medium);
}

.nav-menu li a:hover::after,
.nav-menu li.current-menu-item a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
    color: var(--agv-yellow);
}

/* Dropdown Submenu Styles */
.nav-menu li {
    position: relative;
}

.nav-menu li.menu-item-has-children > a::before {
    content: '';
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform var(--transition-fast);
}

.nav-menu li.menu-item-has-children:hover > a::before {
    transform: translateY(-50%) rotate(180deg);
}

.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--agv-black);
    border-top: 3px solid var(--agv-yellow);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-medium);
    z-index: 1000;
    padding: 0.5rem 0;
    list-style: none;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    display: block;
}

.nav-menu .sub-menu li a {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    text-transform: none;
    letter-spacing: 0;
    border-left: 3px solid transparent;
    transition: all var(--transition-fast);
}

.nav-menu .sub-menu li a:hover {
    background: rgba(255, 196, 0, 0.1);
    border-left-color: var(--agv-yellow);
    padding-left: 1.75rem;
}

.nav-menu .sub-menu li a::after {
    display: none;
}

/* Nested submenus (if needed) */
.nav-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    border-top: none;
    border-left: 3px solid var(--agv-yellow);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--agv-white);
    margin: 6px auto;
    transition: all var(--transition-fast);
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--agv-white);
}

.header-phone svg {
    width: 20px;
    height: 20px;
    fill: var(--agv-yellow);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: block; /* Changed from flex to prevent centering issues */
    background: linear-gradient(135deg, var(--agv-black) 0%, var(--agv-blue-dark) 50%, var(--agv-charcoal) 100%);
    overflow: hidden;
    padding-top: 120px; /* Account for fixed header */
    padding-bottom: 60px;
    box-sizing: border-box;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(255, 196, 0, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(30, 58, 95, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

/* Geometric Pattern */
.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: 
        repeating-linear-gradient(45deg, var(--agv-yellow) 0, var(--agv-yellow) 1px, transparent 1px, transparent 50px),
        repeating-linear-gradient(-45deg, var(--agv-yellow) 0, var(--agv-yellow) 1px, transparent 1px, transparent 50px);
}

/* Animated Construction Lines */
.hero-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-lines span {
    position: absolute;
    display: block;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--agv-yellow), transparent);
    animation: lineDrop 8s linear infinite;
    opacity: 0.2;
}

.hero-lines span:nth-child(1) { left: 10%; height: 150px; animation-delay: 0s; }
.hero-lines span:nth-child(2) { left: 25%; height: 200px; animation-delay: 2s; }
.hero-lines span:nth-child(3) { left: 45%; height: 120px; animation-delay: 4s; }
.hero-lines span:nth-child(4) { left: 70%; height: 180px; animation-delay: 1s; }
.hero-lines span:nth-child(5) { left: 85%; height: 160px; animation-delay: 3s; }

@keyframes lineDrop {
    0% { top: -200px; }
    100% { top: 100%; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 196, 0, 0.1);
    border: 1px solid rgba(255, 196, 0, 0.3);
    border-radius: 100px;
    margin-bottom: 2rem;
    margin-top: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--agv-yellow);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-badge span {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--agv-yellow);
}

.hero h1 {
    color: var(--agv-white);
    margin-bottom: 0.75rem;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero h1 .highlight {
    color: var(--agv-yellow);
    position: relative;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--agv-light-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--agv-yellow);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--agv-light-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

/* Hero Image/Visual */
.hero-visual {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 80%;
    opacity: 0.15;
    background: linear-gradient(135deg, var(--agv-yellow) 0%, var(--agv-blue) 100%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s ease infinite;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--agv-light-gray);
}

.scroll-indicator .mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--agv-light-gray);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background: var(--agv-yellow);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

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

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: var(--agv-off-white);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        var(--agv-yellow) 0,
        var(--agv-yellow) 20px,
        var(--agv-black) 20px,
        var(--agv-black) 40px
    );
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--agv-white);
    padding: 2.5rem;
    position: relative;
    transition: all var(--transition-medium);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--agv-yellow);
    transition: height var(--transition-medium);
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--agv-charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    transition: background var(--transition-medium);
}

.service-card:hover .service-icon {
    background: var(--agv-yellow);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--agv-yellow);
    transition: fill var(--transition-medium);
}

.service-card:hover .service-icon svg {
    fill: var(--agv-black);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    color: var(--agv-charcoal);
}

.service-link svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.service-card:hover .service-link svg {
    transform: translateX(5px);
}

.service-card:hover .service-link {
    color: var(--agv-yellow-dark);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--agv-white);
}

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

.about-image {
    position: relative;
}

.about-image-main {
    position: relative;
    overflow: hidden;
}

.about-image-main img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image-accent {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 200px;
    height: 200px;
    background: var(--agv-yellow);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1.5rem;
    text-align: center;
}

.about-image-accent .years {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--agv-black);
    line-height: 1;
}

.about-image-accent span {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--agv-black);
}

.about-content .overline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--agv-yellow-dark);
    margin-bottom: 1rem;
}

.about-content .overline::before {
    content: '';
    width: 3rem;
    height: 2px;
    background: var(--agv-yellow);
}

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

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-feature-icon {
    width: 24px;
    height: 24px;
    background: var(--agv-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-feature-icon svg {
    width: 14px;
    height: 14px;
    fill: var(--agv-black);
}

.about-feature span {
    font-weight: 500;
    color: var(--agv-charcoal);
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-us {
    background: linear-gradient(135deg, var(--agv-charcoal) 0%, var(--agv-blue-dark) 100%);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: 'AGV';
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-heading);
    font-size: 30vw;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.02);
    letter-spacing: -0.05em;
    pointer-events: none;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.why-us-grid-6 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.why-us-tagline {
    color: var(--agv-yellow);
    font-size: 1.25rem;
    font-weight: 600;
    font-style: italic;
    margin-top: 1rem;
}

.why-us-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.why-us-card-feature {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.why-us-card-feature:hover {
    background: rgba(255, 196, 0, 0.1);
    border-color: var(--agv-yellow);
    transform: translateY(-5px);
}

.why-us-icon {
    width: 60px;
    height: 60px;
    background: var(--agv-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.why-us-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--agv-black);
}

.why-us-card-feature h4 {
    color: var(--agv-white);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.why-us-card-feature p {
    color: #9CA3AF;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.why-us-card::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.why-us-card:last-child::after {
    display: none;
}

.why-us-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--agv-yellow);
    line-height: 1;
    margin-bottom: 1rem;
}

.why-us-card h4 {
    font-size: 1.25rem;
    color: var(--agv-white);
    margin-bottom: 1rem;
}

.why-us-card p {
    font-size: 0.9375rem;
    color: var(--agv-light-gray);
    margin: 0;
}

/* ============================================
   PROJECTS/PORTFOLIO SECTION
   ============================================ */
.projects {
    background: var(--agv-white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.project-card {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--agv-yellow);
    margin-bottom: 0.5rem;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--agv-white);
    text-transform: uppercase;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    background: var(--agv-yellow);
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 10px,
            rgba(0, 0, 0, 0.03) 10px,
            rgba(0, 0, 0, 0.03) 20px
        );
}

.cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.cta h2 {
    color: var(--agv-black);
    margin: 0;
}

.cta p {
    color: var(--agv-black);
    max-width: 600px;
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.cta .btn {
    background: var(--agv-black);
    color: var(--agv-white);
}

.cta .btn:hover {
    background: var(--agv-charcoal);
    color: var(--agv-yellow);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: var(--agv-off-white);
}

.testimonial-card {
    background: var(--agv-white);
    padding: 3rem;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card::before {
    content: '"';
    font-family: var(--font-heading);
    font-size: 8rem;
    color: var(--agv-yellow);
    position: absolute;
    top: -1rem;
    left: 2rem;
    line-height: 1;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--agv-charcoal);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author-info span {
    font-size: 0.875rem;
    color: var(--agv-gray);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--agv-charcoal);
}

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

.contact-info h2 {
    color: var(--agv-white);
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: var(--agv-light-gray);
    margin-bottom: 2rem;
}

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

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

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 196, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--agv-yellow);
}

.contact-item-text h4 {
    font-size: 1rem;
    color: var(--agv-white);
    margin-bottom: 0.25rem;
    font-family: var(--font-body);
    text-transform: none;
}

.contact-item-text p,
.contact-item-text a {
    color: var(--agv-light-gray);
    margin: 0;
}

.contact-item-text a:hover {
    color: var(--agv-yellow);
}

/* Contact Form */
.contact-form {
    background: var(--agv-dark-gray);
    padding: 3rem;
}

.contact-form h3 {
    color: var(--agv-white);
    margin-bottom: 2rem;
}

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

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--agv-white);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: var(--agv-charcoal);
    border: 1px solid var(--agv-gray);
    color: var(--agv-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--agv-yellow);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--agv-gray);
}

/* File Upload Styling */
.file-upload-group {
    margin-bottom: 1.5rem;
}

.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--agv-charcoal);
    border: 2px dashed var(--agv-gray);
    text-align: center;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.file-upload-label:hover,
.file-upload-wrapper.dragover .file-upload-label {
    border-color: var(--agv-yellow);
    background: rgba(255, 196, 0, 0.05);
}

.file-upload-label svg {
    width: 48px;
    height: 48px;
    fill: var(--agv-yellow);
    margin-bottom: 1rem;
}

.file-upload-label span {
    color: var(--agv-white);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.file-upload-label small {
    color: var(--agv-gray);
    font-size: 0.75rem;
}

.file-list {
    margin-top: 1rem;
}

.file-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--agv-charcoal);
    border: 1px solid var(--agv-gray);
    margin-bottom: 0.5rem;
}

.file-list-item span {
    color: var(--agv-white);
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    margin-right: 1rem;
}

.file-list-item button {
    background: transparent;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.file-list-item button svg {
    width: 18px;
    height: 18px;
    fill: var(--agv-gray);
    transition: fill var(--transition-fast);
}

.file-list-item button:hover svg {
    fill: #ef4444;
}

/* Form Success/Error Messages */
.form-message {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    animation: slideDown 0.3s ease-out;
    transition: opacity 0.3s, transform 0.3s;
}

.form-message svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.form-message span {
    line-height: 1.5;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid #22c55e;
    color: #22c55e;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #ef4444;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Field Error State */
.field-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* Button Loading State */
.btn-loading {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 0.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--agv-black);
    padding-top: 4rem;
    color: #E5E7EB !important;
}

/* Ensure all footer text is visible on dark background */
.site-footer,
.site-footer p,
.site-footer li,
.site-footer span,
.site-footer div,
.site-footer .footer-column ul li {
    color: #E5E7EB !important;
}

.site-footer a,
.site-footer .footer-column ul li a {
    color: #E5E7EB !important;
}

.site-footer a:hover,
.site-footer .footer-column ul li a:hover {
    color: var(--agv-yellow) !important;
}

/* Contact Form 7 and general form placeholder styling */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder,
#contact input::placeholder,
#contact textarea::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder,
input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
    color: #6B7280 !important;
    opacity: 1 !important;
}

/* Contact form input styling for dark background */
#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .site-logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--agv-light-gray);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: var(--agv-charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--agv-yellow);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: var(--agv-white);
    transition: fill var(--transition-fast);
}

.footer-social a:hover svg {
    fill: var(--agv-black);
}

.footer-column h4 {
    font-size: 1rem;
    color: var(--agv-white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--agv-yellow);
}

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

.footer-column ul li {
    margin-bottom: 0.75rem;
    color: var(--agv-light-gray);
}

.footer-column ul li a {
    color: var(--agv-light-gray);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-column ul li a:hover {
    color: var(--agv-yellow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.footer-bottom p {
    color: var(--agv-light-gray);
    font-size: 0.875rem;
    margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media screen and (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-card:nth-child(2)::after {
        display: none;
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 900px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--agv-charcoal);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        transition: right var(--transition-medium);
        z-index: 999;
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-menu li a {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* Mobile submenu styling */
    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        border-top: none;
        padding-left: 1rem;
        margin: 0;
    }
    
    .nav-menu .sub-menu li a {
        padding: 0.75rem 0;
        font-size: 0.875rem;
    }
    
    .header-cta {
        display: none;
    }
    
    /* Ensure header has proper height on mobile */
    .site-header {
        background: rgba(10, 10, 10, 0.95);
    }
    
    .header-inner {
        padding: 0.75rem 0;
    }
    
    .site-logo .logo-image,
    .site-logo .custom-logo,
    .custom-logo-link img {
        height: 50px;
        max-width: 160px;
    }
    
    .logo-mark {
        width: 40px;
        height: 40px;
    }
    
    .logo-mark span {
        font-size: 1.25rem;
    }
    
    .logo-text .company-name {
        font-size: 1rem;
    }
    
    .logo-text .tagline {
        font-size: 0.625rem;
    }
    
    /* Hero mobile fixes */
    .hero {
        min-height: 100vh;
        min-height: 100svh;
        padding-top: 100px; /* Space for fixed header on mobile */
        padding-bottom: 2rem;
    }
    
    .hero-content {
        padding: 0 0.5rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-badge {
        margin-bottom: 1rem;
        padding: 0.35rem 0.875rem;
    }
    
    .hero-badge span {
        font-size: 0.6875rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us-grid-6 {
        grid-template-columns: 1fr;
    }
    
    .why-us-card::after {
        display: none;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-brand .site-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    /* Extra small screen hero fixes */
    .hero {
        padding-top: 90px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.15;
    }
    
    .hero-description {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .hero-badge {
        padding: 0.3rem 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-badge span {
        font-size: 0.625rem;
    }
    
    .hero-badge-dot {
        width: 6px;
        height: 6px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .hero-stats {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Smaller header on very small screens */
    .site-logo .logo-image,
    .site-logo .custom-logo,
    .custom-logo-link img {
        height: 45px;
        max-width: 140px;
    }
    
    .logo-mark {
        width: 36px;
        height: 36px;
    }
    
    .logo-mark span {
        font-size: 1.125rem;
    }
    
    .logo-text .company-name {
        font-size: 0.875rem;
    }
    
    .logo-text .tagline {
        display: none;
    }
    
    .about-image-accent {
        width: 150px;
        height: 150px;
        right: -1rem;
        bottom: -1rem;
    }
    
    .about-image-accent .years {
        font-size: 3rem;
    }
}

/* Even smaller screens */
@media screen and (max-width: 360px) {
    .hero {
        padding-top: 80px;
    }
    
    .hero h1 {
        font-size: 1.375rem;
    }
    
    .hero-description {
        font-size: 0.8125rem;
    }
    
    .site-logo .logo-image,
    .site-logo .custom-logo,
    .custom-logo-link img {
        height: 40px;
        max-width: 120px;
    }
    
    .logo-text {
        display: none;
    }
    
    .site-logo {
        gap: 0;
    }
}

/* ============================================
   PAGE TEMPLATES
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--agv-charcoal) 0%, var(--agv-blue-dark) 100%);
    padding: calc(var(--section-padding) + 80px) 0 var(--section-padding);
    text-align: center;
}

.page-header h1 {
    color: var(--agv-white);
    margin-bottom: 1rem;
}

.page-header .breadcrumbs {
    color: var(--agv-light-gray);
}

.page-header .breadcrumbs a {
    color: var(--agv-yellow);
}

.page-content {
    padding: var(--section-padding) 0;
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */
.entry-content {
    max-width: 800px;
    margin: 0 auto;
}

.entry-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

/* Comments */
.comments-area {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--section-padding) var(--container-padding);
}

/* Widgets */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--agv-yellow);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children animations */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ============================================
   SERVICE PAGE STYLES
   ============================================ */

/* Service Hero - FULL WIDTH WITH IMAGE */
.service-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--agv-charcoal) 0%, var(--agv-blue-dark) 100%);
    overflow: hidden;
    padding: calc(var(--section-padding) + 100px) 0 var(--section-padding);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.service-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: 
        repeating-linear-gradient(45deg, var(--agv-yellow) 0, var(--agv-yellow) 1px, transparent 1px, transparent 50px),
        repeating-linear-gradient(-45deg, var(--agv-yellow) 0, var(--agv-yellow) 1px, transparent 1px, transparent 50px);
}

.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.65) 50%, rgba(10, 10, 10, 0.45) 100%);
    z-index: 1;
}

.service-hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* If no featured image is set, gradient background shows through */

.service-hero .container {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.service-hero-content {
    max-width: 700px;
}

.service-hero .breadcrumbs {
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.service-hero .breadcrumbs a {
    color: var(--agv-light-gray);
    transition: color var(--transition-fast);
}

.service-hero .breadcrumbs a:hover {
    color: var(--agv-yellow);
}

.service-hero .breadcrumbs .separator {
    margin: 0 0.75rem;
    color: var(--agv-gray);
}

.service-hero .breadcrumbs .current {
    color: var(--agv-yellow);
}

.service-hero h1 {
    color: var(--agv-white);
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.service-hero-excerpt {
    font-size: 1.25rem;
    color: var(--agv-light-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Service Content Grid - FULL WIDTH */
.service-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
}

.service-main-content {
    max-width: none;
}

.service-fullwidth {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hide duplicate Divi hero section in service page content */
.service-fullwidth .et_pb_section_0,
.service-fullwidth .et_pb_section.et_pb_section_0,
body .service-fullwidth .et_pb_section_0,
.service-main-content .et_pb_section_0,
.service-fullwidth .et_pb_section:first-child,
.service-fullwidth > #et-boc > .et_builder_outer_content > .et-l > .et_builder_inner_content > .et_pb_section:first-child,
.service-fullwidth .et_pb_fullwidth_section:first-of-type,
.service-fullwidth .et_pb_fullwidth_header,
#et-boc .et-l .et_builder_inner_content .et_pb_section_0 {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

.service-main-content h2 {
    color: var(--agv-blue-dark);
    margin: 2.5rem 0 1rem;
    font-size: 2rem;
}

.service-main-content h2:first-child {
    margin-top: 0;
}

.service-main-content h3 {
    color: var(--agv-charcoal);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.service-main-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-main-content ul,
.service-main-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.service-main-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--agv-gray);
}

.service-main-content li::marker {
    color: var(--agv-yellow);
}

.service-main-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 2rem 0;
}

/* Service Sidebar */
.service-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: var(--agv-off-white);
    padding: 2rem;
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--agv-yellow);
}

/* Services List Widget */
.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li {
    margin-bottom: 0;
}

.services-list li a,
.services-list li span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    color: var(--agv-charcoal);
    border-bottom: 1px solid var(--agv-light-gray);
    transition: all var(--transition-fast);
}

.services-list li a:hover {
    background: var(--agv-white);
    color: var(--agv-yellow-dark);
    padding-left: 1.5rem;
}

.services-list li.current a,
.services-list li.current span {
    background: var(--agv-yellow);
    color: var(--agv-black);
    font-weight: 600;
}

.services-list li a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    opacity: 0.5;
    transition: all var(--transition-fast);
}

.services-list li a:hover svg {
    opacity: 1;
    transform: translateX(5px);
}

.services-list li.current a svg {
    opacity: 1;
}

/* Contact CTA Widget */
.contact-cta-widget {
    background: var(--agv-charcoal);
    text-align: center;
    padding: 2.5rem 2rem;
}

.contact-cta-widget .widget-icon {
    width: 70px;
    height: 70px;
    background: var(--agv-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.contact-cta-widget .widget-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--agv-black);
}

.contact-cta-widget h4 {
    color: var(--agv-white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-cta-widget p {
    color: var(--agv-light-gray);
    margin-bottom: 1rem;
}

.contact-cta-widget .phone-link {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--agv-yellow);
    margin-bottom: 1.5rem;
}

.contact-cta-widget .phone-link:hover {
    color: var(--agv-yellow-light);
}

.contact-cta-widget .btn-outline {
    width: 100%;
    justify-content: center;
    border-color: var(--agv-white);
    color: var(--agv-white);
}

.contact-cta-widget .btn-outline:hover {
    background: var(--agv-yellow);
    border-color: var(--agv-yellow);
    color: var(--agv-black);
}

/* Service Features Section */
.service-features .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-card .feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 196, 0, 0.1);
    border: 2px solid var(--agv-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.feature-card .feature-icon svg {
    width: 36px;
    height: 36px;
    fill: var(--agv-yellow);
}

.feature-card h4 {
    color: var(--agv-white);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--agv-light-gray);
    font-size: 0.9375rem;
    margin: 0;
}

/* Service Contact Section */
.service-contact {
    background: var(--agv-off-white);
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-info h2 {
    margin-bottom: 1.5rem;
}

.contact-form-info > p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.benefit-item svg {
    width: 24px;
    height: 24px;
    fill: var(--agv-yellow);
    flex-shrink: 0;
}

.benefit-item span {
    font-weight: 500;
    color: var(--agv-charcoal);
}

.service-quote-form {
    background: var(--agv-white);
    box-shadow: var(--shadow-lg);
}

.service-quote-form h3 {
    color: var(--agv-charcoal);
}

.service-quote-form .form-group input,
.service-quote-form .form-group textarea,
.service-quote-form .form-group select {
    background: var(--agv-off-white);
    border-color: var(--agv-light-gray);
    color: var(--agv-charcoal);
}

.service-quote-form .form-group input:focus,
.service-quote-form .form-group textarea:focus,
.service-quote-form .form-group select:focus {
    border-color: var(--agv-yellow);
    background: var(--agv-white);
}

.service-quote-form .form-group label {
    color: var(--agv-charcoal);
}

/* All Services Navigation */
.all-services-navigation {
    background: var(--agv-charcoal);
}

.services-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-nav-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.service-nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--agv-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-medium);
}

.service-nav-card:hover::before {
    transform: scaleX(1);
}

.service-nav-card:hover {
    background: rgba(255, 196, 0, 0.1);
    border-color: var(--agv-yellow);
    transform: translateY(-5px);
}

.service-nav-card.current {
    background: var(--agv-yellow);
    border-color: var(--agv-yellow);
}

.service-nav-card.current::before {
    transform: scaleX(1);
    background: var(--agv-black);
}

.service-nav-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 196, 0, 0.1);
    border: 2px solid var(--agv-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    transition: all var(--transition-medium);
}

.service-nav-card:hover .service-nav-icon {
    background: var(--agv-yellow);
    border-color: var(--agv-yellow);
}

.service-nav-card.current .service-nav-icon {
    background: var(--agv-black);
    border-color: var(--agv-black);
}

.service-nav-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--agv-yellow);
    transition: fill var(--transition-medium);
}

.service-nav-card:hover .service-nav-icon svg {
    fill: var(--agv-black);
}

.service-nav-card.current .service-nav-icon svg {
    fill: var(--agv-yellow);
}

.service-nav-card h4 {
    color: var(--agv-white);
    font-size: 1.125rem;
    margin-bottom: 1rem;
    min-height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-nav-card.current h4 {
    color: var(--agv-black);
}

.service-nav-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--agv-yellow);
    transition: gap var(--transition-fast);
}

.service-nav-card:hover .learn-more {
    gap: 0.75rem;
}

.service-nav-card .learn-more svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.service-nav-card .current-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--agv-black);
    color: var(--agv-yellow);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
}

/* Service Page Responsive */
@media screen and (max-width: 1024px) {
    .service-content-grid {
        grid-template-columns: 1fr;
    }
    
    .service-features .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-form-wrapper {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .service-hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 3rem;
    }
    
    .service-hero .container {
        padding-top: 1rem;
    }
    
    .service-hero h1 {
        font-size: 1.75rem;
    }
    
    .service-hero-excerpt {
        font-size: 1rem;
    }
    
    .service-features .features-grid {
        grid-template-columns: 1fr;
    }
    
    .services-nav-grid {
        grid-template-columns: 1fr;
    }
    
    .service-nav-card h4 {
        font-size: 1rem;
        min-height: auto;
    }
}

/* ============================================
   SERVICE CARD IMAGE STYLES
   ============================================ */
.service-card-image {
    width: calc(100% + 5rem);
    height: 200px;
    overflow: hidden;
    margin: -2.5rem -2.5rem 0 -2.5rem;
    position: relative;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.service-card:hover .service-card-image img {
    transform: scale(1.1);
}

/* Position icon at bottom-left of image, overlapping onto content */
.service-card-image + .service-icon {
    position: relative;
    margin-top: -35px;
    margin-bottom: 1rem;
    z-index: 2;
    background: var(--agv-yellow);
}

.service-card-image + .service-icon svg {
    fill: var(--agv-black);
}

/* Project Card with Real Images */
.project-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   DIVI BUILDER CONTENT STYLES
   ============================================ */

/* Divi Fullwidth Header - Hero Section */
.divi-content .et_pb_fullwidth_section:first-child,
.divi-content .et_pb_section_0.et_pb_fullwidth_section {
    background: linear-gradient(135deg, var(--agv-black) 0%, var(--agv-blue-dark) 50%, var(--agv-charcoal) 100%);
    min-height: 100vh;
    padding-top: 100px; /* Account for fixed header */
}

.divi-content .et_pb_fullwidth_header {
    padding-top: 80px;
    padding-bottom: 80px;
}

.divi-content .et_pb_fullwidth_header .et_pb_module_header {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: none;
    margin-bottom: 1.5rem;
}

.divi-content .et_pb_fullwidth_header .et_pb_fullwidth_header_subhead {
    color: var(--agv-yellow);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.divi-content .et_pb_fullwidth_header_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responsive Divi hero */
@media screen and (max-width: 768px) {
    .divi-content .et_pb_fullwidth_section:first-child,
    .divi-content .et_pb_section_0.et_pb_fullwidth_section {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .divi-content .et_pb_fullwidth_header .et_pb_module_header {
        font-size: 2.25rem;
    }
    
    .divi-content .et_pb_fullwidth_header .et_pb_fullwidth_header_subhead {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .divi-content .et_pb_fullwidth_section:first-child,
    .divi-content .et_pb_section_0.et_pb_fullwidth_section {
        padding-top: 90px;
    }
    
    .divi-content .et_pb_fullwidth_header .et_pb_module_header {
        font-size: 1.75rem;
    }
}

/* ============================================
   DIVI BUILDER CONTENT STYLES
   ============================================ */

/* Divi Fullwidth Header - Hero Section */
.divi-content .et_pb_fullwidth_section:first-child,
.divi-content .et_pb_section_0.et_pb_fullwidth_section {
    background: linear-gradient(135deg, var(--agv-black) 0%, var(--agv-blue-dark) 50%, var(--agv-charcoal) 100%);
    min-height: 100vh;
    padding-top: 100px; /* Account for fixed header */
}

.divi-content .et_pb_fullwidth_header {
    padding-top: 80px;
    padding-bottom: 80px;
}

.divi-content .et_pb_fullwidth_header .et_pb_module_header {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: none;
    margin-bottom: 1.5rem;
}

.divi-content .et_pb_fullwidth_header .et_pb_fullwidth_header_subhead {
    color: var(--agv-yellow);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.divi-content .et_pb_fullwidth_header_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responsive Divi hero */
@media screen and (max-width: 768px) {
    .divi-content .et_pb_fullwidth_section:first-child,
    .divi-content .et_pb_section_0.et_pb_fullwidth_section {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .divi-content .et_pb_fullwidth_header .et_pb_module_header {
        font-size: 2.25rem;
    }
    
    .divi-content .et_pb_fullwidth_header .et_pb_fullwidth_header_subhead {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .divi-content .et_pb_fullwidth_section:first-child,
    .divi-content .et_pb_section_0.et_pb_fullwidth_section {
        padding-top: 90px;
    }
    
    .divi-content .et_pb_fullwidth_header .et_pb_module_header {
        font-size: 1.75rem;
    }
}

/* Higher specificity for Divi Hero */
.divi-content #et-boc .et-l .et_pb_section.et_pb_fullwidth_section:first-of-type,
.site-main.divi-content .et_pb_section_0 {
    background: linear-gradient(135deg, #1a1a1a 0%, #1a365d 50%, #2d3748 100%) !important;
    min-height: 100vh;
    padding-top: 100px;
}

.site-main.divi-content .et_pb_fullwidth_header .et_pb_module_header {
    color: #ffffff !important;
    font-size: 3.5rem !important;
}

.site-main.divi-content .et_pb_fullwidth_header .et_pb_fullwidth_header_subhead {
    color: #FFC400 !important;
}

/* ============================================
   DIVI CONTACT SECTION FIXES
   ============================================ */

/* Contact Section Background */
.divi-content #contact,
.site-main.divi-content .et_pb_section_4 {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%) !important;
    padding: 80px 0 !important;
}

/* Contact section text colors */
.divi-content #contact h2,
.divi-content #contact h3,
.divi-content #contact h4,
.divi-content .et_pb_section_4 h2,
.divi-content .et_pb_section_4 h3,
.divi-content .et_pb_section_4 h4,
.divi-content .et_pb_section_4 .et_pb_module_header {
    color: #ffffff !important;
}

.divi-content #contact p,
.divi-content #contact .et_pb_blurb_description,
.divi-content .et_pb_section_4 p,
.divi-content .et_pb_section_4 .et_pb_blurb_description {
    color: #E5E7EB !important;
}

/* Contact blurb icons */
.divi-content #contact .et-pb-icon,
.divi-content .et_pb_section_4 .et-pb-icon {
    color: #FFC400 !important;
    font-size: 40px !important;
}

/* Contact form wrapper */
.divi-content #contact .et_pb_contact_form,
.divi-content .et_pb_section_4 .et_pb_contact_form_0 {
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 30px !important;
    border-radius: 8px !important;
}

/* Form title */
.divi-content #contact .et_pb_contact_form h1,
.divi-content .et_pb_section_4 .et_pb_contact_form h1 {
    color: #ffffff !important;
    font-size: 1.75rem !important;
    margin-bottom: 1.5rem !important;
}

/* Form inputs */
.divi-content #contact input[type="text"],
.divi-content #contact input[type="email"],
.divi-content #contact textarea,
.divi-content .et_pb_section_4 input[type="text"],
.divi-content .et_pb_section_4 input[type="email"],
.divi-content .et_pb_section_4 textarea {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    padding: 12px 16px !important;
    border-radius: 4px !important;
}

.divi-content #contact input::placeholder,
.divi-content .et_pb_section_4 input::placeholder,
.divi-content .et_pb_section_4 textarea::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Form submit button */
.divi-content #contact .et_pb_contact_submit,
.divi-content .et_pb_section_4 .et_pb_contact_submit,
.divi-content #contact button[type="submit"],
.divi-content .et_pb_section_4 button[type="submit"] {
    background: #FFC400 !important;
    color: #1a1a1a !important;
    border: none !important;
    padding: 12px 32px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.divi-content #contact .et_pb_contact_submit:hover,
.divi-content .et_pb_section_4 .et_pb_contact_submit:hover,
.divi-content #contact button[type="submit"]:hover,
.divi-content .et_pb_section_4 button[type="submit"]:hover {
    background: #FFD740 !important;
    transform: translateY(-2px) !important;
}

/* Captcha/math question styling */
.divi-content #contact .et_pb_contact_captcha_question,
.divi-content .et_pb_section_4 .et_pb_contact_captcha_question {
    color: #ffffff !important;
}

/* Contact form row alignment */
.divi-content #contact .et_pb_contact_form .et_pb_contact_field,
.divi-content .et_pb_section_4 .et_pb_contact_form .et_pb_contact_field {
    margin-bottom: 15px !important;
}

/* Fix button container */
.divi-content #contact .et_contact_bottom_container,
.divi-content .et_pb_section_4 .et_contact_bottom_container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 20px !important;
}

/* Responsive contact section */
@media screen and (max-width: 768px) {
    .divi-content #contact,
    .site-main.divi-content .et_pb_section_4 {
        padding: 60px 20px !important;
    }
    
    .divi-content #contact .et_pb_contact_form,
    .divi-content .et_pb_section_4 .et_pb_contact_form_0 {
        padding: 20px !important;
    }
}

/* Additional Contact Form Fixes */
/* Form container background */
.divi-content #contact .et_pb_contact_form_container,
.divi-content .et_pb_section_4 .et_pb_contact_form_container {
    background: rgba(45, 55, 72, 0.7) !important;
    padding: 30px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Form inputs - darker style */
.divi-content #contact .et_pb_contact_form input,
.divi-content #contact .et_pb_contact_form textarea,
.divi-content .et_pb_section_4 .et_pb_contact_form input,
.divi-content .et_pb_section_4 .et_pb_contact_form textarea {
    background: rgba(26, 32, 44, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    padding: 14px 16px !important;
    border-radius: 4px !important;
    font-size: 15px !important;
}

/* Form labels */
.divi-content #contact .et_pb_contact_form label,
.divi-content .et_pb_section_4 .et_pb_contact_form label {
    color: #E5E7EB !important;
}

/* Submit button - Yellow style */
.divi-content #contact .et_pb_button,
.divi-content .et_pb_section_4 .et_pb_button,
.divi-content #contact input[type="submit"],
.divi-content .et_pb_section_4 input[type="submit"] {
    background: #FFC400 !important;
    color: #1a1a1a !important;
    border: none !important;
    padding: 14px 36px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.divi-content #contact .et_pb_button:hover,
.divi-content .et_pb_section_4 .et_pb_button:hover,
.divi-content #contact input[type="submit"]:hover,
.divi-content .et_pb_section_4 input[type="submit"]:hover {
    background: #FFD740 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(255, 196, 0, 0.3) !important;
}

/* Description paragraph visibility */
.divi-content #contact .et_pb_text p,
.divi-content .et_pb_section_4 .et_pb_text p {
    color: #CBD5E0 !important;
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
    margin-bottom: 2rem !important;
}

/* Captcha styling */
.divi-content #contact .et_pb_contact_form .et_contact_bottom_container,
.divi-content .et_pb_section_4 .et_pb_contact_form .et_contact_bottom_container {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
    margin-top: 15px !important;
}

.divi-content #contact .et_pb_contact_captcha,
.divi-content .et_pb_section_4 .et_pb_contact_captcha {
    color: #E5E7EB !important;
    font-size: 14px !important;
}

.divi-content #contact .input.et_pb_contact_captcha,
.divi-content .et_pb_section_4 .input.et_pb_contact_captcha {
    width: 60px !important;
    text-align: center !important;
    background: rgba(26, 32, 44, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

/* ============================================
   CRITICAL FIXES - HIGHEST PRIORITY
   These rules use maximum specificity to override all other styles
   ============================================ */

/* Footer text visibility - CRITICAL FIX */
footer.site-footer .footer-column ul li,
#colophon.site-footer .footer-column ul li,
.site-footer .footer-column ul li,
footer .footer-column ul li,
#colophon .footer-column ul li,
body footer li,
body .site-footer li {
    color: #E5E7EB !important;
}

/* Footer brand description text */
footer.site-footer .footer-brand p,
#colophon.site-footer .footer-brand p,
.site-footer .footer-brand p,
footer .footer-brand p,
#colophon .footer-brand p,
body footer .footer-brand p,
body .site-footer .footer-brand p {
    color: #E5E7EB !important;
}

/* Footer links */
footer.site-footer a,
#colophon.site-footer a,
.site-footer .footer-column a,
footer .footer-column a,
#colophon .footer-column a {
    color: #E5E7EB !important;
}

footer.site-footer a:hover,
#colophon.site-footer a:hover,
.site-footer .footer-column a:hover,
footer .footer-column a:hover,
#colophon .footer-column a:hover {
    color: #FFC400 !important;
}

/* Contact Form 7 placeholder styling - VISIBLE DARK GRAY */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder,
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder,
body .wpcf7 input::placeholder,
body .wpcf7 textarea::placeholder,
#contact .wpcf7 input::placeholder,
#contact .wpcf7 textarea::placeholder,
input::placeholder,
textarea::placeholder,
.wpcf7-form-control::placeholder {
    color: #4A5568 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #4A5568 !important;
}

/* Webkit placeholder fix */
.wpcf7 input::-webkit-input-placeholder,
.wpcf7 textarea::-webkit-input-placeholder,
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #4A5568 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #4A5568 !important;
}

/* Firefox placeholder fix */
.wpcf7 input::-moz-placeholder,
.wpcf7 textarea::-moz-placeholder,
input::-moz-placeholder,
textarea::-moz-placeholder {
    color: #4A5568 !important;
    opacity: 1 !important;
}

/* MS Edge placeholder fix */
.wpcf7 input:-ms-input-placeholder,
.wpcf7 textarea:-ms-input-placeholder,
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #4A5568 !important;
}

/* Contact Form 7 inputs on dark background */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
}
