/* Mobile Service Navigation - Condensed 2-Column Layout */ 

@media (max-width: 768px) {
    /* Services Mobile - 2 Column Grid */
    .service-nav {
        margin: 2rem 0;
        padding: 0.8rem;
        gap: 0.8rem;
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 1fr);
        max-width: 100%;
    }
    
    .service-nav-item {
        padding: 10px 8px !important;
        font-size: 0.75rem !important;
        text-align: center;
        line-height: 1.2;
        min-height: 50px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        word-break: break-word;
        hyphens: auto;
        flex: none !important;
        width: auto !important;
    }
}

@media (max-width: 480px) {
    /* Extra Small Mobile - Keep 2 Column but Smaller */
    .service-nav {
        padding: 0.6rem !important;
        gap: 0.6rem !important;
        grid-template-columns: 1fr 1fr;
    }
    
    .service-nav-item {
        padding: 8px 6px !important;
        font-size: 0.7rem !important;
        min-height: 45px;
        border-radius: 8px;
    }
}



/* Hide "Ready to Work with Western NY's Most Trusted Contractors?" CTA on Mobile */

@media (max-width: 768px) {
    /* Hide the services CTA section on mobile devices and remove padding/margin */
    .services .container > div[style*="background: linear-gradient(135deg, #d7cb0c"] {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Remove any residual spacing around the hidden element */
    .services .container {
        padding-bottom: 0 !important;
    }
    
    /* Ensure no gap where the CTA was */
    .services-content + div[style*="background: linear-gradient"] {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* Alternative more specific selector if the above doesn't work */
@media (max-width: 768px) {
    /* Target by the heading text content */
    .services h3:contains("Ready to Work with Western NY's Most Trusted Contractors?") {
        display: none !important;
    }
    
    /* Target the parent div containing this CTA and remove all spacing */
    .services div[style*="margin-top: 3rem"][style*="text-align: center"] {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Remove extra bottom spacing from services section */
    .services {
        padding-bottom: 60px !important;
    }
}








/* Contact Info Text Visibility Fix for ALL Devices */

/* Desktop/All Devices - Fix white text visibility */
.contact-info h2 {
    color: #2c3e50 !important;
}

.contact-info > p {
    color: #7f8c8d !important;
}

.contact-item {
    background: #ffffff !important;
    color: #2c3e50 !important;
}

.contact-icon {
    color: #97d45a !important;
}

.contact-item div {
    color: #2c3e50 !important;
}

.contact-item strong {
    color: #2c3e50 !important;
}

/* Ensure all text in contact items is dark on all devices */
.contact-item * {
    color: #2c3e50 !important;
}

/* Contact Info 2-Column Layout for Mobile + Text Visibility Fix */

@media (max-width: 768px) {
    /* Make contact items display in 2-column grid */
    .contact-info {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 1rem;
        align-items: stretch;
    }
    
    /* Keep heading and description full width with dark text */
    .contact-info h2 {
        grid-column: 1 / -1; /* Span full width */
        margin-bottom: 1rem;
        color: #2c3e50 !important;
    }
    
    .contact-info > p {
        grid-column: 1 / -1; /* Span full width */
        margin-bottom: 1.5rem;
        color: #7f8c8d !important;
    }
    
    /* Style individual contact items for 2-column layout */
    .contact-item {
        padding: 1rem 0.8rem !important;
        margin-bottom: 0 !important;
        font-size: 0.9rem;
        text-align: center;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        min-height: 140px;
        height: 100%;
        background: #ffffff !important;
        color: #2c3e50 !important;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    /* Contact icons centered with color */
    .contact-icon {
        font-size: 1.3rem !important;
        margin-right: 0 !important;
        margin-bottom: 0.3rem;
        width: auto !important;
        text-align: center;
        color: #97d45a !important;
        flex-shrink: 0;
    }
    
    /* Contact item text with proper colors */
    .contact-item div {
        text-align: center;
        line-height: 1.3;
        color: #2c3e50 !important;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .contact-item strong {
        font-size: 0.85rem;
        display: block;
        margin-bottom: 0.2rem;
        color: #2c3e50 !important;
    }
    
    /* Ensure all text in contact items is dark */
    .contact-item * {
        color: #2c3e50 !important;
    }
}

@media (max-width: 480px) {
    /* Smaller spacing on very small screens */
    .contact-info {
        gap: 0.8rem;
    }
    
    .contact-item {
        padding: 0.8rem 0.5rem !important;
        min-height: 120px;
        font-size: 0.8rem;
    }
    
    .contact-icon {
        font-size: 1.2rem !important;
    }
    
    .contact-item strong {
        font-size: 0.8rem;
    }
}



















/* Mobile-Friendly Footer CSS */

@media (max-width: 768px) {
    /* Footer main container */
    footer {
        padding: 2rem 0 1rem !important;
    }
    
    /* Footer content grid - 2 columns on mobile */
    .footer-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem !important;
        margin-bottom: 1.5rem !important;
        text-align: left !important;
    }
    
    /* Individual footer sections */
    .footer-section {
        padding: 0 !important;
        margin-bottom: 0 !important;
    }
    
    /* Footer section headings */
    .footer-section h4 {
        font-size: 0.9rem !important;
        margin-bottom: 0.8rem !important;
        line-height: 1.3 !important;
        border-bottom: 1px solid var(--accent-color) !important;
        padding-bottom: 0.3rem !important;
        display: block !important;
        width: 100% !important;
    }
    
    /* Footer section text and links */
    .footer-section p,
    .footer-section a {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.4rem !important;
    }
    
    /* Footer links hover */
    .footer-section a:hover {
        color: var(--accent-color) !important;
    }
    
    /* Footer bottom section */
    .footer-bottom {
        padding-top: 1rem !important;
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
        text-align: center !important;
        border-top: 1px solid var(--secondary-color) !important;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile - single column */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
        text-align: center !important;
    }
    
    .footer-section {
        text-align: center !important;
    }
    
    .footer-section h4 {
        font-size: 0.85rem !important;
        margin-bottom: 0.6rem !important;
        text-align: center !important;
        border-bottom: 1px solid var(--accent-color) !important;
        padding-bottom: 0.2rem !important;
        display: inline-block !important;
        width: auto !important;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.75rem !important;
        margin-bottom: 0.3rem !important;
        text-align: center !important;
    }
    
    .footer-bottom {
        font-size: 0.7rem !important;
        padding-top: 0.8rem !important;
    }
}

/* Optional: Simplify footer content on mobile */
@media (max-width: 768px) {
    /* Hide less important footer sections on mobile to reduce clutter */
    .footer-section:nth-child(4) {
        display: none !important;
    }
    
    /* Make remaining sections span properly */
    .footer-section:nth-child(3) {
        grid-column: span 2 !important;
    }
}

@media (max-width: 480px) {
    /* Show all sections but in single column on very small screens */
    .footer-section:nth-child(4) {
        display: block !important;
    }
    
    .footer-section:nth-child(3) {
        grid-column: span 1 !important;
    }
}





/* Mobile-Friendly Hero Section CSS */

@media (max-width: 768px) {
    /* Hero section mobile optimization */
    .hero {
        padding: 120px 0 60px !important;
        min-height: auto !important;
        background-attachment: scroll !important; /* Better mobile performance */
    }
    
    /* Hero content container */
    .hero-content {
        padding: 0 1rem !important;
    }
    
    /* Hero subtitle */
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 0.8rem !important;
        line-height: 1.3 !important;
        padding: 0 0.5rem !important;
    }
    
    /* Main hero heading */
    .hero h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
        padding: 0 0.5rem !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
    }
    
    /* Hero description paragraph */
    .hero p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
        padding: 0 1rem !important;
        max-width: 100% !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
    }
    
    /* One-contractor highlight box */
    .hero div[style*="background: rgba(215, 203, 12, 0.2)"] {
        margin: 1.5rem 1rem !important;
        padding: 1.2rem !important;
        border-radius: 12px !important;
    }
    
    .hero div[style*="background: rgba(215, 203, 12, 0.2)"] h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.3 !important;
    }
    
    .hero div[style*="background: rgba(215, 203, 12, 0.2)"] p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        padding: 0 !important;
        text-shadow: none !important;
    }
    
    /* Hero buttons - 2 COLUMN LAYOUT */
    .hero-buttons {
        margin-bottom: 2rem !important;
        gap: 0.8rem !important;
        padding: 0 1rem !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        max-width: 400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .btn-primary, 
    .btn-secondary {
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 0.9rem !important;
        text-align: center !important;
        margin: 0 !important;
        white-space: nowrap !important;
        border-radius: 25px !important;
    }
    
    /* Hero images - single column */
    .hero-images {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin: 1.5rem 1rem 0 1rem !important;
    }
    
    /* Individual hero image containers */
    .hero-image {
        aspect-ratio: 16/10 !important; /* Better mobile aspect ratio */
        border-radius: 12px !important;
        margin-bottom: 1rem !important;
    }
    
    /* Hero image carousel controls - always visible on mobile */
    .hero-image .carousel-btn {
        opacity: 1 !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
    }
    
    .hero-image .carousel-prev {
        left: 10px !important;
    }
    
    .hero-image .carousel-next {
        right: 10px !important;
    }
    
    /* Hero image dots - larger for touch */
    .hero-image .dot {
        width: 10px !important;
        height: 10px !important;
    }
    
    .hero-image .carousel-dots {
        bottom: 10px !important;
        gap: 8px !important;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile adjustments */
    .hero {
        padding: 100px 0 50px !important;
    }
    
    .hero-content {
        padding: 0 0.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        padding: 0 0.25rem !important;
    }
    
    .hero h1 {
        font-size: 1.7rem !important;
        line-height: 1.1 !important;
        padding: 0 0.25rem !important;
    }
    
    .hero p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        padding: 0 0.5rem !important;
    }
    
    /* Smaller highlight box */
    .hero div[style*="background: rgba(215, 203, 12, 0.2)"] {
        margin: 1rem 0.5rem !important;
        padding: 1rem !important;
    }
    
    .hero div[style*="background: rgba(215, 203, 12, 0.2)"] h3 {
        font-size: 1rem !important;
    }
    
    .hero div[style*="background: rgba(215, 203, 12, 0.2)"] p {
        font-size: 0.8rem !important;
    }
    
    /* Buttons - keep 2 column but smaller */
    .hero-buttons {
        padding: 0 0.5rem !important;
        gap: 0.6rem !important;
        max-width: 320px !important;
    }
    
    .btn-primary, 
    .btn-secondary {
        padding: 10px 12px !important;
        font-size: 0.8rem !important;
        border-radius: 20px !important;
    }
    
    /* Images */
    .hero-images {
        margin: 1rem 0.5rem 0 0.5rem !important;
        gap: 0.8rem !important;
    }
    
    .hero-image {
        aspect-ratio: 4/3 !important; /* Squarer for small screens */
        border-radius: 10px !important;
    }
    
    /* Smaller carousel controls */
    .hero-image .carousel-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
    
    .hero-image .carousel-prev {
        left: 8px !important;
    }
    
    .hero-image .carousel-next {
        right: 8px !important;
    }
}

/* Performance optimization for mobile */
@media (max-width: 768px) {
    /* Disable parallax effect on mobile for better performance */
    .hero {
        background-attachment: scroll !important;
    }
    
    /* Reduce hero image quality/size on mobile if needed */
    .hero-image img {
        image-rendering: optimizeQuality !important;
    }
}















/* Mobile-Friendly Navigation Bar CSS - Safe Version */

@media (max-width: 768px) {
    /* Header container adjustments */
    header {
        padding: 1rem 0 !important;
    }
    
    .header-container {
        padding: 0 15px !important;
    }
    
    .header-content {
        gap: 0.5rem !important;
    }
    
    /* Logo optimization - BIGGER SIZE */
    .logo img {
        height: 55px !important;
        max-width: 200px !important;
    }
    
    /* Mobile menu toggle - enhance existing */
    .mobile-menu-toggle {
        padding: 8px !important;
        gap: 4px !important;
    }
    
    .mobile-menu-toggle span {
        width: 24px !important;
        height: 3px !important;
    }
    
    /* Header CTA section - make more compact */
    .header-cta {
        gap: 0.4rem !important;
        align-items: flex-end !important;
    }
    
    /* DPW Badge - smaller */
    .header-cta > div[style*="background: linear-gradient"] {
        transform: scale(0.85) !important;
        transform-origin: right center !important;
    }
    
    /* Phone number - smaller but visible */
    .phone-number {
        font-size: 0.8rem !important;
    }
    
    /* CTA button - more compact */
    .cta-button {
        padding: 8px 14px !important;
        font-size: 0.8rem !important;
        border-radius: 18px !important;
    }
    
    /* Improve existing mobile menu when active */
    .nav-menu.active {
        padding: 1.5rem !important;
        gap: 1.2rem !important;
    }
    
    .nav-menu.active a {
        padding: 0.8rem 1rem !important;
        font-size: 1rem !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
        text-align: center !important;
    }
    
    .nav-menu.active a:hover {
        background: var(--bg-light) !important;
        color: var(--accent-color) !important;
        transform: translateX(3px) !important;
    }
    
    /* Scrolled header state improvements */
    header.scrolled {
        padding: 0.8rem 0 !important;
    }
    
    header.scrolled .logo img {
        height: 50px !important;
        max-width: 180px !important;
    }
    
    header.scrolled .phone-number {
        font-size: 0.75rem !important;
    }
    
    header.scrolled .cta-button {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile adjustments */
    .header-container {
        padding: 0 10px !important;
    }
    
    /* Logo still bigger on small screens */
    .logo img {
        height: 50px !important;
        max-width: 180px !important;
    }
    
    /* More compact CTA for small screens */
    .header-cta > div[style*="background: linear-gradient"] {
        transform: scale(0.75) !important;
    }
    
    .phone-number {
        font-size: 0.75rem !important;
    }
    
    .cta-button {
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
    }
    
    /* Mobile menu for small screens */
    .nav-menu.active {
        padding: 1rem !important;
        gap: 1rem !important;
    }
    
    .nav-menu.active a {
        padding: 0.7rem 0.8rem !important;
        font-size: 0.9rem !important;
    }
    
    /* Scrolled state with bigger logo */
    header.scrolled .logo img {
        height: 45px !important;
        max-width: 160px !important;
    }
}























/* Mobile-Friendly About Section CSS */

@media (max-width: 768px) {
    /* About section mobile optimization */
    .about {
        padding: 60px 0 !important;
    }
    
    /* About content - single column on mobile */
    .about-content {
        display: block !important;
        gap: 0 !important;
    }
    
    /* About text section */
    .about-text {
        padding: 0 1rem !important;
        margin-bottom: 2rem !important;
    }
    
    .about-text h2 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
    }
    
    .about-text p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.2rem !important;
        text-align: left !important;
    }
    
    /* Value proposition box */
    .value-proposition {
        margin: 1.5rem 0 !important;
        padding: 1.5rem !important;
        border-radius: 12px !important;
        border-left: 4px solid var(--accent-green) !important;
    }
    
    .value-proposition h3 {
        font-size: 1.1rem !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
        color: var(--text-dark) !important;
    }
    
    .value-list {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .value-list li {
        margin-bottom: 0.8rem !important;
        padding-left: 1.8rem !important;
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        position: relative !important;
    }
    
    .value-list li::before {
        content: '★' !important;
        position: absolute !important;
        left: 0 !important;
        color: var(--accent-green) !important;
        font-weight: bold !important;
        font-size: 1rem !important;
    }
    
    /* About image - mobile optimized */
    .about-image {
        height: 300px !important;
        margin: 2rem 1rem 0 1rem !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        position: relative !important;
        box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
    }
    
    .about-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    
    /* About image CTA overlay - mobile optimized */
    .about-image > div[style*="position: absolute"] {
        bottom: 15px !important;
        left: 15px !important;
        right: 15px !important;
        padding: 1rem !important;
        border-radius: 8px !important;
        text-align: center !important;
    }
    
    .about-image > div[style*="position: absolute"] p {
        font-size: 0.85rem !important;
        margin-bottom: 0.8rem !important;
        text-align: center !important;
    }
    
    .about-image > div[style*="position: absolute"] a {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
        border-radius: 20px !important;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile adjustments */
    .about {
        padding: 50px 0 !important;
    }
    
    .about-text {
        padding: 0 0.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .about-text h2 {
        font-size: 1.6rem !important;
        line-height: 1.1 !important;
        padding: 0 0.5rem !important;
    }
    
    .about-text p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1rem !important;
    }
    
    /* Smaller value proposition */
    .value-proposition {
        margin: 1rem 0.5rem !important;
        padding: 1.2rem !important;
    }
    
    .value-proposition h3 {
        font-size: 1rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .value-list li {
        margin-bottom: 0.6rem !important;
        padding-left: 1.5rem !important;
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    
    .value-list li::before {
        font-size: 0.9rem !important;
    }
    
    /* Smaller about image */
    .about-image {
        height: 250px !important;
        margin: 1.5rem 0.5rem 0 0.5rem !important;
        border-radius: 10px !important;
    }
    
    /* Smaller CTA overlay */
    .about-image > div[style*="position: absolute"] {
        bottom: 10px !important;
        left: 10px !important;
        right: 10px !important;
        padding: 0.8rem !important;
        border-radius: 6px !important;
    }
    
    .about-image > div[style*="position: absolute"] p {
        font-size: 0.8rem !important;
        margin-bottom: 0.6rem !important;
        line-height: 1.3 !important;
    }
    
    .about-image > div[style*="position: absolute"] a {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
        border-radius: 15px !important;
    }
}

/* Additional mobile-specific improvements */
@media (max-width: 768px) {
    /* Remove any grid gaps that might cause spacing issues */
    .about-content {
        align-items: stretch !important;
        justify-content: center !important;
    }
    
    /* Ensure text contrast on mobile */
    .about-text h2,
    .about-text p,
    .value-proposition h3,
    .value-list li {
        color: var(--text-dark) !important;
    }
    
    .value-list li {
        color: var(--text-light) !important;
    }
    
    /* Better touch targets for any interactive elements */
    .about a,
    .about button {
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Landscape phone optimization */
@media (max-width: 896px) and (orientation: landscape) {
    .about-image {
        height: 200px !important;
        margin: 1rem !important;
    }
    
    .about-text h2 {
        font-size: 1.5rem !important;
    }
    
    .about-text p {
        font-size: 0.9rem !important;
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    /* Optimize image loading */
    .about-image img {
        image-rendering: optimizeQuality !important;
    }
    
    /* Reduce motion for users who prefer it */
    @media (prefers-reduced-motion: reduce) {
        .about-image,
        .value-proposition {
            transition: none !important;
        }
    }
}








/* Mobile-Friendly Why Choose Natal (Specialties) Section CSS */

@media (max-width: 768px) {
    /* Specialties section mobile optimization */
    .specialties {
        padding: 60px 0 !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    /* Background image optimization for mobile */
    .specialties::before {
        opacity: 0.1 !important; /* Lighter for better text readability */
        background-attachment: scroll !important; /* Better mobile performance */
    }
    
    .specialties .container {
        position: relative !important;
        z-index: 1 !important;
        padding: 0 1rem !important;
    }
    
    /* Section header mobile optimization */
    .specialties .section-header {
        margin-bottom: 2.5rem !important;
        text-align: center !important;
    }
    
    .specialties .section-title {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
        color: var(--white) !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
        padding: 0 0.5rem !important;
    }
    
    .specialties .section-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        color: #bdc3c7 !important;
        padding: 0 1rem !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
    }
    
    /* Specialties grid - 2 columns on mobile */
    .specialties-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
        margin-top: 2rem !important;
    }
    
    /* Individual specialty items */
    .specialty-item {
        text-align: center !important;
        padding: 1.2rem 0.8rem !important;
        background: rgba(255,255,255,0.12) !important;
        border-radius: 12px !important;
        transition: all 0.3s ease !important;
        backdrop-filter: blur(8px) !important;
        border: 1px solid rgba(255,255,255,0.15) !important;
        min-height: 140px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .specialty-item:hover {
        background: rgba(255,255,255,0.18) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    }
    
    /* Specialty icons */
    .specialty-icon {
        font-size: 1.6rem !important;
        color: var(--accent-green) !important;
        margin-bottom: 0.8rem !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
        flex-shrink: 0 !important;
    }
    
    /* Specialty item headings */
    .specialty-item h3 {
        font-size: 0.85rem !important;
        margin-bottom: 0.5rem !important;
        font-weight: 600 !important;
        color: var(--white) !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
        line-height: 1.3 !important;
        flex-shrink: 0 !important;
    }
    
    /* Specialty item descriptions */
    .specialty-item p {
        font-size: 0.7rem !important;
        opacity: 0.9 !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        color: #e8e8e8 !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
        flex-grow: 1 !important;
        display: flex !important;
        align-items: center !important;
    }
    
    /* CTA section at bottom */
    .specialties div[style*="text-align: center"][style*="margin-top: 2rem"] {
        margin-top: 2rem !important;
        padding: 1.2rem !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border-radius: 12px !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }
    
    .specialties div[style*="text-align: center"] p {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
        color: var(--white) !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
        line-height: 1.4 !important;
    }
    
    .specialties div[style*="text-align: center"] a {
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
        border-radius: 20px !important;
        display: inline-block !important;
        min-width: 150px !important;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile - single column */
    .specialties {
        padding: 50px 0 !important;
    }
    
    .specialties .container {
        padding: 0 0.5rem !important;
    }
    
    .specialties .section-title {
        font-size: 1.6rem !important;
        line-height: 1.1 !important;
        padding: 0 0.25rem !important;
    }
    
    .specialties .section-subtitle {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        padding: 0 0.5rem !important;
    }
    
    /* Single column grid for very small screens */
    .specialties-grid {
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
        margin-top: 1.5rem !important;
    }
    
    .specialty-item {
        padding: 1rem 0.6rem !important;
        min-height: 120px !important;
        border-radius: 10px !important;
    }
    
    .specialty-icon {
        font-size: 1.4rem !important;
        margin-bottom: 0.6rem !important;
    }
    
    .specialty-item h3 {
        font-size: 0.8rem !important;
        margin-bottom: 0.4rem !important;
        line-height: 1.2 !important;
    }
    
    .specialty-item p {
        font-size: 0.65rem !important;
        line-height: 1.3 !important;
    }
    
    /* Smaller CTA section */
    .specialties div[style*="text-align: center"][style*="margin-top: 2rem"] {
        margin: 1.5rem 0.5rem 0 0.5rem !important;
        padding: 1rem !important;
        border-radius: 10px !important;
    }
    
    .specialties div[style*="text-align: center"] p {
        font-size: 0.85rem !important;
        margin-bottom: 0.8rem !important;
        line-height: 1.3 !important;
    }
    
    .specialties div[style*="text-align: center"] a {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
        border-radius: 18px !important;
        min-width: 140px !important;
    }
}

/* Enhanced contrast and readability */
@media (max-width: 768px) {
    /* Ensure all text is readable against dark background */
    .specialties * {
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
    }
    
    /* Better backdrop effects */
    .specialty-item {
        box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
    }
    
    /* Improve touch targets */
    .specialty-item,
    .specialties a {
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .specialty-item {
        flex-direction: column !important;
    }
}

/* Landscape phone optimization */
@media (max-width: 896px) and (orientation: landscape) {
    .specialties {
        padding: 40px 0 !important;
    }
    
    .specialties-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.8rem !important;
    }
    
    .specialty-item {
        min-height: 100px !important;
        padding: 0.8rem 0.5rem !important;
    }
    
    .specialty-item h3 {
        font-size: 0.8rem !important;
    }
    
    .specialty-item p {
        font-size: 0.65rem !important;
    }
}

/* Performance optimization for mobile */
@media (max-width: 768px) {
    /* Remove parallax effect for better performance */
    .specialties::before {
        background-attachment: scroll !important;
    }
    
    /* Optimize backdrop filters for older devices */
    @supports not (backdrop-filter: blur(10px)) {
        .specialty-item {
            background: rgba(255,255,255,0.2) !important;
        }
        
        .specialties div[style*="text-align: center"] {
            background: rgba(255,255,255,0.15) !important;
        }
    }
}

















/* Mobile-Friendly Meet the Owner (Team) Section CSS */

@media (max-width: 768px) {
    /* Team highlight section mobile optimization */
    .team-highlight {
        padding: 2.5rem 0 !important;
        background: var(--primary-color) !important;
        color: var(--white) !important;
        text-align: center !important;
    }
    
    .team-highlight .container {
        padding: 0 1rem !important;
    }
    
    /* Team content mobile layout */
    .team-content {
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    /* Main heading */
    .team-highlight h3 {
        color: var(--accent-color) !important;
        font-size: 1.6rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.2 !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
    }
    
    /* Description paragraphs */
    .team-highlight p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.2rem !important;
        color: #e8e8e8 !important;
        text-align: left !important;
        padding: 0 0.5rem !important;
    }
    
    /* Team stats - 2x2 grid on mobile */
    .team-stats {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1.2rem !important;
        margin-top: 1.5rem !important;
        max-width: 320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Individual stat items */
    .team-stat {
        text-align: center !important;
        background: rgba(255,255,255,0.08) !important;
        padding: 1rem 0.8rem !important;
        border-radius: 12px !important;
        backdrop-filter: blur(5px) !important;
        border: 1px solid rgba(255,255,255,0.1) !important;
        transition: all 0.3s ease !important;
    }
    
    .team-stat:hover {
        background: rgba(255,255,255,0.12) !important;
        transform: translateY(-2px) !important;
    }
    
    /* Stat numbers */
    .team-stat-number {
        font-size: 2rem !important;
        font-weight: bold !important;
        color: var(--accent-green) !important;
        display: block !important;
        margin-bottom: 0.3rem !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
    }
    
    /* Stat labels */
    .team-stat-label {
        color: #bdc3c7 !important;
        font-size: 0.75rem !important;
        margin-top: 0.3rem !important;
        line-height: 1.3 !important;
        font-weight: 500 !important;
    }
    
    /* Team CTA section mobile optimization */
    .team-highlight div[style*="text-align: center"][style*="margin-top: 2rem"] {
        margin-top: 1.5rem !important;
        padding: 1.2rem !important;
        background: rgba(215, 203, 12, 0.12) !important;
        border-radius: 12px !important;
        border: 1px solid rgba(215, 203, 12, 0.3) !important;
        backdrop-filter: blur(8px) !important;
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
    }
    
    .team-highlight div[style*="text-align: center"] p {
        font-size: 0.85rem !important;
        margin-bottom: 1rem !important;
        color: var(--white) !important;
        opacity: 0.9 !important;
        line-height: 1.4 !important;
        text-align: center !important;
        padding: 0 !important;
    }
    
    .team-highlight div[style*="text-align: center"] a {
        background: var(--accent-color) !important;
        color: var(--primary-color) !important;
        padding: 10px 20px !important;
        text-decoration: none !important;
        border-radius: 20px !important;
        font-weight: 600 !important;
        font-size: 0.85rem !important;
        transition: all 0.3s ease !important;
        display: inline-block !important;
        min-width: 160px !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile adjustments */
    .team-highlight {
        padding: 2rem 0 !important;
    }
    
    .team-highlight .container {
        padding: 0 0.5rem !important;
    }
    
    /* Smaller heading */
    .team-highlight h3 {
        font-size: 1.4rem !important;
        line-height: 1.1 !important;
        margin-bottom: 0.8rem !important;
    }
    
    /* Smaller paragraphs */
    .team-highlight p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1rem !important;
        padding: 0 0.25rem !important;
    }
    
    /* Compact team stats */
    .team-stats {
        gap: 1rem !important;
        margin-top: 1.2rem !important;
        max-width: 280px !important;
    }
    
    .team-stat {
        padding: 0.8rem 0.6rem !important;
        border-radius: 10px !important;
    }
    
    .team-stat-number {
        font-size: 1.8rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .team-stat-label {
        font-size: 0.7rem !important;
        line-height: 1.2 !important;
    }
    
    /* Smaller CTA section */
    .team-highlight div[style*="text-align: center"][style*="margin-top: 2rem"],
    .team-highlight div[style*="margin-top: 1.5rem"] {
        margin-top: 1.2rem !important;
        padding: 1rem !important;
        border-radius: 10px !important;
        margin-left: 0.25rem !important;
        margin-right: 0.25rem !important;
    }
    
    .team-highlight div[style*="text-align: center"] p {
        font-size: 0.8rem !important;
        margin-bottom: 0.8rem !important;
        line-height: 1.3 !important;
    }
    
    .team-highlight div[style*="text-align: center"] a {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
        border-radius: 18px !important;
        min-width: 140px !important;
    }
}

/* Alternative layout for very small screens */
@media (max-width: 360px) {
    /* Single column stats for very narrow screens */
    .team-stats {
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
        max-width: 200px !important;
    }
    
    .team-stat {
        padding: 0.8rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        text-align: left !important;
    }
    
    .team-stat-number {
        font-size: 1.6rem !important;
        margin-bottom: 0 !important;
        margin-right: 0.8rem !important;
    }
    
    .team-stat-label {
        font-size: 0.7rem !important;
        text-align: right !important;
        flex-grow: 1 !important;
    }
}

/* Enhanced readability and accessibility */
@media (max-width: 768px) {
    /* Ensure good contrast */
    .team-highlight h3,
    .team-highlight p,
    .team-stat-number,
    .team-stat-label {
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
    }
    
    /* Better touch targets */
    .team-highlight a {
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Improved spacing */
    .team-content > *:not(:last-child) {
        margin-bottom: 1rem !important;
    }
}

/* Landscape phone optimization */
@media (max-width: 896px) and (orientation: landscape) {
    .team-highlight {
        padding: 1.5rem 0 !important;
    }
    
    .team-highlight h3 {
        font-size: 1.3rem !important;
    }
    
    .team-highlight p {
        font-size: 0.8rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .team-stats {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0.8rem !important;
        max-width: 100% !important;
    }
    
    .team-stat {
        padding: 0.6rem 0.4rem !important;
    }
    
    .team-stat-number {
        font-size: 1.5rem !important;
    }
    
    .team-stat-label {
        font-size: 0.65rem !important;
    }
}

































































/* Mobile-Friendly Hero Section CSS */

@media (max-width: 768px) {
    /* Hero section mobile optimization */
    .hero {
        padding: 120px 0 60px !important;
        min-height: auto !important;
        background-attachment: scroll !important; /* Better mobile performance */
    }
    
    /* Hero content container */
    .hero-content {
        padding: 0 1rem !important;
    }
    
    /* Hero subtitle - make more concise */
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 0.6rem !important;
        line-height: 1.2 !important;
        padding: 0 0.5rem !important;
        /* Hide long subtitle on mobile - replace with shorter version */
        display: none !important;
    }
    
    /* Add shorter subtitle for mobile */
    .hero-subtitle::after {
        content: "Jamestown's Premier Contractors | Concrete • Siding • Roofing" !important;
        display: block !important;
        font-size: 0.9rem !important;
        color: var(--accent-color) !important;
        font-weight: 600 !important;
        margin-bottom: 0.6rem !important;
    }
    
    /* Main hero heading - more concise */
    .hero h1 {
        font-size: 1.8rem !important;
        line-height: 1.1 !important;
        margin-bottom: 0.8rem !important;
        padding: 0 0.5rem !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
        /* Hide long title, replace with shorter version */
    }
    
    /* Shorter hero title for mobile */
    .hero h1::after {
        content: "Driveways • Patios • Sidewalks • Decorative Concrete • & More" !important;
        display: block !important;
        font-size: 1.8rem !important;
        line-height: 1.1 !important;
        color: var(--white) !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
    }
    
    /* Hide original long text, replace with concise version */
    .hero h1 {
        font-size: 0 !important; /* Hide original text */
        margin-bottom: 0.8rem !important;
    }
    
    /* Hero description paragraph - much shorter */
    .hero p {
        display: none !important; /* Hide long description */
    }
    
    /* Add concise description */
    .hero p::after {
        content: "Driveways • Patios • Sidewalks • Stamped & Decorative Concrete" !important;
        display: block !important;
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1rem !important;
        padding: 0 1rem !important;
        color: var(--white) !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
    }
    
    /* One-contractor highlight box - more concise */
    .hero div[style*="background: rgba(215, 203, 12, 0.2)"] {
        margin: 1rem 1rem !important;
        padding: 1rem !important;
        border-radius: 12px !important;
    }
    
    .hero div[style*="background: rgba(215, 203, 12, 0.2)"] h3 {
        font-size: 1rem !important;
        margin-bottom: 0.4rem !important;
        line-height: 1.2 !important;
    }
    
    .hero div[style*="background: rgba(215, 203, 12, 0.2)"] p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        padding: 0 !important;
        text-shadow: none !important;
        /* Make this text shorter too */
        display: none !important;
    }
    
    .hero div[style*="background: rgba(215, 203, 12, 0.2)"] p::after {
        content: "One trusted team for all your exterior needs – concrete, siding, roofing & more." !important;
        display: block !important;
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
        color: var(--primary-color) !important;
    }
    
    /* Hero buttons - 2 COLUMN LAYOUT */
    .hero-buttons {
        margin-bottom: 1.5rem !important;
        gap: 0.8rem !important;
        padding: 0 1rem !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        max-width: 400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .btn-primary, 
    .btn-secondary {
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 0.9rem !important;
        text-align: center !important;
        margin: 0 !important;
        white-space: nowrap !important;
        border-radius: 25px !important;
    }
    
    /* Hero images - single column but smaller */
    .hero-images {
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
        margin: 1rem 1rem 0 1rem !important;
    }
    
    /* Individual hero image containers - smaller */
    .hero-image {
        aspect-ratio: 16/9 !important; /* Wider ratio for less height */
        border-radius: 12px !important;
        margin-bottom: 0.8rem !important;
    }
    
    /* Show only 2 images on mobile to reduce scrolling */
    .hero-image:nth-child(n+3) {
        display: none !important;
    }
    
    /* Hero image carousel controls */
    .hero-image .carousel-btn {
        opacity: 1 !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
    
    .hero-image .carousel-prev {
        left: 8px !important;
    }
    
    .hero-image .carousel-next {
        right: 8px !important;
    }
    
    /* Hero image dots */
    .hero-image .dot {
        width: 8px !important;
        height: 8px !important;
    }
    
    .hero-image .carousel-dots {
        bottom: 8px !important;
        gap: 6px !important;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile adjustments */
    .hero {
        padding: 100px 0 40px !important;
    }
    
    .hero-content {
        padding: 0 0.5rem !important;
    }
    
    /* Even more concise on small screens */
    .hero-subtitle::after {
        font-size: 0.8rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .hero h1::after {
        font-size: 1.6rem !important;
        line-height: 1.0 !important;
    }
    
    .hero p::after {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
        padding: 0 0.5rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    /* Smaller highlight box */
    .hero div[style*="background: rgba(215, 203, 12, 0.2)"] {
        margin: 0.8rem 0.5rem !important;
        padding: 0.8rem !important;
    }
    
    .hero div[style*="background: rgba(215, 203, 12, 0.2)"] h3 {
        font-size: 0.9rem !important;
    }
    
    .hero div[style*="background: rgba(215, 203, 12, 0.2)"] p::after {
        font-size: 0.75rem !important;
    }
    
    /* Buttons - keep 2 column but smaller */
    .hero-buttons {
        padding: 0 0.5rem !important;
        gap: 0.6rem !important;
        max-width: 320px !important;
        margin-bottom: 1rem !important;
    }
    
    .btn-primary, 
    .btn-secondary {
        padding: 10px 12px !important;
        font-size: 0.8rem !important;
        border-radius: 20px !important;
    }
    
    /* Images - even smaller */
    .hero-images {
        margin: 0.8rem 0.5rem 0 0.5rem !important;
        gap: 0.6rem !important;
    }
    
    .hero-image {
        aspect-ratio: 16/9 !important;
        border-radius: 10px !important;
        margin-bottom: 0.6rem !important;
    }
    
    /* Show only 1 image on very small screens */
    .hero-image:nth-child(n+2) {
        display: none !important;
    }
}

/* Performance optimization for mobile */
@media (max-width: 768px) {
    /* Disable parallax effect on mobile for better performance */
    .hero {
        background-attachment: scroll !important;
    }
    
    /* Reduce hero image quality/size on mobile if needed */
    .hero-image img {
        image-rendering: optimizeQuality !important;
    }
}


















/* Global Mobile-Friendly H2 Headers CSS */

@media (max-width: 768px) {
    /* All H2 headers mobile optimization */
    h2,
    .section-title {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
        padding: 0 1rem !important;
        text-align: center !important;
        word-break: break-word !important;
        hyphens: none !important; /* Disable hyphens - keep words whole */
        font-weight: 700 !important;
        letter-spacing: -0.5px !important;
        position: relative !important;
        overflow-wrap: break-word !important; /* Break between words, not within words */
        word-wrap: break-word !important;
    }
    
    /* Section subtitles/descriptions under H2s */
    h2 + p,
    .section-title + p,
    .section-subtitle {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        padding: 0 1.5rem !important;
        margin-bottom: 1.5rem !important;
        text-align: center !important;
        font-weight: 400 !important;
        opacity: 0.9 !important;
        max-width: 600px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        /* Limit text to prevent overwhelming on mobile */
        display: -webkit-box !important;
        -webkit-line-clamp: 4 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    /* Section headers container */
    .section-header {
        margin-bottom: 2.5rem !important;
        padding: 1.5rem 1rem !important;
        background: rgba(255, 255, 255, 0.8) !important;
        border-radius: 15px !important;
        margin-left: 1rem !important;
        margin-right: 1rem !important;
        backdrop-filter: blur(10px) !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    }
    
    /* Underline styling for all section titles */
    h2::after,
    .section-title::after {
        content: '' !important;
        position: absolute !important;
        bottom: -8px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 60px !important;
        height: 3px !important;
        background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-green) 100%) !important;
        border-radius: 2px !important;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile adjustments for all H2s */
    h2,
    .section-title {
        font-size: 1.4rem !important;
        line-height: 1.1 !important;
        padding: 0 0.5rem !important;
        margin-bottom: 0.8rem !important;
        word-spacing: -2px !important;
    }
    
    /* Smaller subtitles */
    h2 + p,
    .section-title + p,
    .section-subtitle {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        padding: 0 1rem !important;
        margin-bottom: 1.2rem !important;
        /* Limit to 3 lines on very small screens */
        -webkit-line-clamp: 3 !important;
    }
    
    /* Compact section headers */
    .section-header {
        margin-bottom: 2rem !important;
        padding: 1.2rem 0.8rem !important;
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
        border-radius: 12px !important;
    }
    
    /* Smaller underlines */
    h2::after,
    .section-title::after {
        width: 50px !important;
        height: 2px !important;
        bottom: -6px !important;
    }
}

/* Specific section styling improvements */
@media (max-width: 768px) {
    /* Services section */
    .services h2,
    .services .section-title {
        color: var(--text-dark) !important;
    }
    
    .services .section-header {
        background: rgba(248, 253, 246, 0.8) !important;
    }
    
    /* About section */
    .about h2,
    .about .section-title {
        color: var(--text-dark) !important;
    }
    
    .about .section-header {
        background: rgba(255, 255, 255, 0.9) !important;
    }
    
    /* Testimonials section */
    .testimonials h2,
    .testimonials .section-title {
        color: var(--text-dark) !important;
    }
    
    .testimonials .section-header {
        background: rgba(255, 255, 255, 0.9) !important;
    }
    
    /* FAQ section */
    .faq h2,
    .faq .section-title {
        color: var(--text-dark) !important;
    }
    
    .faq .section-header {
        background: rgba(255, 255, 255, 0.9) !important;
    }
    
    /* Contact section */
    .contact-section h2,
    .contact-section .section-title {
        color: var(--text-dark) !important;
    }
    
    .contact-section .section-header {
        background: rgba(248, 249, 250, 0.9) !important;
    }
    
    /* Dark sections (like specialties) */
    .specialties h2,
    .specialties .section-title,
    .team-highlight h2,
    .team-highlight h3 {
        color: var(--white) !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
    }
    
    .specialties .section-header,
    .team-highlight .section-header {
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
    }
    
    .specialties .section-subtitle,
    .team-highlight .section-subtitle {
        color: #bdc3c7 !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
    }
}

/* Additional improvements for readability */
@media (max-width: 768px) {
    /* Better spacing between sections */
    .section {
        padding: 60px 0 !important;
    }
    
    /* Improved text contrast */
    h2,
    .section-title {
        text-shadow: none !important;
    }
    
    /* Better mobile typography */
    h2 + p,
    .section-subtitle {
        text-rendering: optimizeLegibility !important;
        -webkit-font-smoothing: antialiased !important;
    }
    
    /* Ensure good touch targets for any interactive headers */
    h2 a,
    .section-title a {
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        padding: 0.5rem !important;
    }
    
    /* Remove any margins that might cause spacing issues */
    h2,
    .section-title {
        margin-top: 0 !important;
    }
    
    /* Better text wrapping for long titles - NO HYPHENS */
    h2,
    .section-title {
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        hyphens: none !important; /* Ensures no hyphens are used */
        word-break: normal !important; /* Changed from break-word to normal for better word handling */
    }
}

/* Landscape phone optimization */
@media (max-width: 896px) and (orientation: landscape) {
    h2,
    .section-title {
        font-size: 1.3rem !important;
        margin-bottom: 0.6rem !important;
    }
    
    h2 + p,
    .section-subtitle {
        font-size: 0.8rem !important;
        margin-bottom: 1rem !important;
        -webkit-line-clamp: 2 !important;
    }
    
    .section-header {
        padding: 1rem 0.8rem !important;
        margin-bottom: 1.5rem !important;
    }
}

/* Dark mode support (if your site uses it) */
@media (max-width: 768px) and (prefers-color-scheme: dark) {
    .section-header {
        background: rgba(44, 62, 80, 0.8) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    h2,
    .section-title {
        color: #ffffff !important;
    }
    
    h2 + p,
    .section-subtitle {
        color: #bdc3c7 !important;
    }
}













/* About Section - Same Background as Services Section */

.about {
    background: linear-gradient(135deg, #f8fdf6 0%, #f2fced 100%) !important;
    position: relative !important;
    overflow: hidden !important;
}

.about::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: 
        radial-gradient(circle at 20% 80%, rgba(215, 203, 12, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(151, 212, 90, 0.05) 0%, transparent 50%) !important;
    pointer-events: none !important;
}

.about .container {
    position: relative !important;
    z-index: 1 !important;
}

.about .section-title {
    color: var(--text-dark) !important;
}

.about .section-title::after {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-green) 100%) !important;
}

.about .section-subtitle {
    color: var(--text-light) !important;
}

/* Mobile specific styling for about section */
@media (max-width: 768px) {
    .about .section-header {
        background: rgba(248, 253, 246, 0.8) !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(215, 203, 12, 0.1) !important;
    }
}









/* Contact Section - Same Background as Services Section */

.contact-section {
    background: linear-gradient(135deg, #f8fdf6 0%, #f2fced 100%) !important;
    position: relative !important;
    overflow: hidden !important;
}

.contact-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: 
        radial-gradient(circle at 20% 80%, rgba(215, 203, 12, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(151, 212, 90, 0.05) 0%, transparent 50%) !important;
    pointer-events: none !important;
}

.contact-section .container {
    position: relative !important;
    z-index: 1 !important;
}

.contact-section .section-title {
    color: var(--text-dark) !important;
}

.contact-section .section-title::after {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-green) 100%) !important;
}

.contact-section .section-subtitle {
    color: var(--text-light) !important;
}

/* Contact Info Cards - Enhanced for new background */
.contact-item {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(215, 203, 12, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 8px 25px rgba(215, 203, 12, 0.08) !important;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(215, 203, 12, 0.2) !important;
    box-shadow: 0 12px 35px rgba(215, 203, 12, 0.12) !important;
}

/* Contact Form - Enhanced for new background */
.contact-form,
.wpcf7-form,
.wpcf7 form {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(215, 203, 12, 0.15) !important;
    backdrop-filter: blur(15px) !important;
    box-shadow: 0 15px 45px rgba(215, 203, 12, 0.1) !important;
}

/* Form inputs enhanced for new background */
.contact-form input,
.contact-form textarea,
.contact-form select,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid rgba(215, 203, 12, 0.2) !important;
    backdrop-filter: blur(5px) !important;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    border-color: var(--accent-green) !important;
    box-shadow: 0 0 0 3px rgba(151, 212, 90, 0.15) !important;
    background: rgba(255, 255, 255, 1) !important;
}

/* Submit button enhanced */
.submit-btn,
.contact-form .submit-btn,
.wpcf7 input[type="submit"] {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover)) !important;
    box-shadow: 0 8px 25px rgba(215, 203, 12, 0.25) !important;
}

.submit-btn:hover,
.contact-form .submit-btn:hover,
.wpcf7 input[type="submit"]:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-dark)) !important;
    box-shadow: 0 12px 35px rgba(215, 203, 12, 0.35) !important;
}

/* Mobile specific styling for contact section */
@media (max-width: 768px) {
    .contact-section .section-header {
        background: rgba(248, 253, 246, 0.9) !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(215, 203, 12, 0.15) !important;
        box-shadow: 0 8px 25px rgba(215, 203, 12, 0.08) !important;
    }
    
    /* Mobile contact items */
    .contact-item {
        background: rgba(255, 255, 255, 0.95) !important;
        border: 1px solid rgba(215, 203, 12, 0.15) !important;
        backdrop-filter: blur(12px) !important;
    }
    
    /* Mobile contact form */
    .contact-form,
    .wpcf7-form,
    .wpcf7 form {
        background: rgba(255, 255, 255, 0.98) !important;
        border: 1px solid rgba(215, 203, 12, 0.2) !important;
        backdrop-filter: blur(15px) !important;
        box-shadow: 0 15px 40px rgba(215, 203, 12, 0.12) !important;
    }
}

























/* Mobile: Make hero image cards bigger */

@media (max-width: 768px) {
    
    /* Make hero images container single column with bigger cards */
    .hero-images {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-top: 2rem !important;
    }
    
    /* Make each image card much bigger */
    .hero-image {
        aspect-ratio: 16/10 !important; /* Wider aspect ratio */
        height: 300px !important; /* Fixed height - adjust as needed */
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    /* Ensure carousel container fills the bigger card */
    .hero-image .testimonial-carousel,
    .hero-image .carousel-container {
        height: 100% !important;
        width: 100% !important;
        border-radius: 15px !important;
    }
    
    /* Make sure images fill the bigger containers */
    .hero-image .carousel-slide {
        height: 100% !important;
        width: 100% !important;
    }
    
    .hero-image .carousel-slide img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    
    /* Make navigation buttons bigger for mobile */
    .hero-image .carousel-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
        opacity: 1 !important; /* Always visible on mobile */
        background: rgba(255,255,255,0.95) !important;
    }
    
    .hero-image .carousel-prev {
        left: 12px !important;
    }
    
    .hero-image .carousel-next {
        right: 12px !important;
    }
    
    /* Make dots bigger and more visible */
    .hero-image .carousel-dots {
        bottom: 12px !important;
        gap: 8px !important;
    }
    
    .hero-image .dot {
        width: 12px !important;
        height: 12px !important;
        background: rgba(255,255,255,0.8) !important;
    }
    
    .hero-image .dot.active {
        background: var(--accent-color) !important;
        transform: scale(1.3) !important;
    }
}

/* For larger phones (landscape or bigger screens) */
@media (min-width: 481px) and (max-width: 768px) {
    .hero-image {
        height: 350px !important; /* Even bigger for larger phones */
        aspect-ratio: 16/9 !important;
    }
}

/* For smaller phones - still bigger than default */
@media (max-width: 480px) {
    .hero-image {
        height: 280px !important; /* Bigger but not too big for small screens */
        margin: 0 0.5rem !important; /* Small margin on sides */
    }
    
    .hero-image .carousel-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
    
    .hero-image .carousel-prev {
        left: 10px !important;
    }
    
    .hero-image .carousel-next {
        right: 10px !important;
    }
}

/* Optional: Even bigger for tablets in portrait */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-images {
        grid-template-columns: 1fr 1fr !important; /* 2 columns on tablet */
        gap: 1.5rem !important;
    }
    
    .hero-image {
        height: 280px !important;
    }
}




















/* Group DPW, CTA, and Menu together on the right */
    .header-cta {
        order: 2 !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.8rem !important;
    }/* ULTIMATE MOBILE NAVBAR - Best Possible Experience */

@media (max-width: 768px) {
    /* Premium mobile header with glass effect */
    header {
        padding: 0.8rem 0 !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid rgba(215, 203, 12, 0.2) !important;
        box-shadow: 0 2px 20px rgba(0,0,0,0.08) !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    header.scrolled {
        padding: 0.6rem 0 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 0 4px 30px rgba(0,0,0,0.12) !important;
    }
    
    /* Perfect mobile layout - logo far left, everything else right */
    .header-content {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 0.8rem !important;
        min-height: 60px !important;
        padding: 0 15px !important;
        max-width: 100% !important;
    }
    
    /* Logo - Far left side */
    .logo {
        order: 1 !important;
        flex-shrink: 0 !important;
        margin-right: auto !important;
    }
    
    .logo img {
        height: 75px !important;
        max-width: 300px !important;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)) !important;
        transition: all 0.3s ease !important;
    }
    
    header.scrolled .logo img {
        height: 65px !important;
        max-width: 260px !important;
    }
    
    /* Premium DPW badge - styled perfectly */
    .header-cta > div[style*="background: linear-gradient"] {
        order: 2 !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.4rem !important;
        background: linear-gradient(135deg, #2c3e50, #34495e) !important;
        padding: 0.5rem 0.8rem !important;
        border-radius: 8px !important;
        border: 1px solid var(--accent-color) !important;
        box-shadow: 0 3px 12px rgba(44, 62, 80, 0.25) !important;
        transform: none !important;
        margin: 0 !important;
        white-space: nowrap !important;
        font-size: 0.65rem !important;
    }
    
    .header-cta > div[style*="background: linear-gradient"] > div:first-child {
        width: 18px !important;
        height: 18px !important;
        background: var(--accent-color) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-weight: bold !important;
        color: var(--primary-color) !important;
        font-size: 0.55rem !important;
        border: 1px solid var(--white) !important;
    }
    
    /* Hide phone number on mobile */
    .header-cta .phone-number {
        display: none !important;
    }
    
    /* Premium CTA button - perfectly sized */
    .cta-button {
        order: 3 !important;
        background: linear-gradient(135deg, #d7cb0c, #c4b60b) !important;
        color: #2c3e50 !important;
        padding: 10px 16px !important;
        font-size: 0.85rem !important;
        font-weight: 700 !important;
        border-radius: 25px !important;
        box-shadow: 0 4px 15px rgba(215, 203, 12, 0.4) !important;
        white-space: nowrap !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        border: none !important;
        text-decoration: none !important;
    }
    
    .cta-button:active {
        transform: translateY(1px) !important;
        box-shadow: 0 2px 8px rgba(215, 203, 12, 0.3) !important;
    }
    
    /* Modern hamburger menu - premium styling */
    .mobile-menu-toggle {
        order: 4 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 44px !important;
        height: 44px !important;
        padding: 10px !important;
        background: rgba(44, 62, 80, 0.05) !important;
        border: 1px solid rgba(44, 62, 80, 0.1) !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        gap: 4px !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-menu-toggle:hover {
        background: rgba(44, 62, 80, 0.1) !important;
        border-color: rgba(44, 62, 80, 0.2) !important;
    }
    
    .mobile-menu-toggle span {
        display: block !important;
        width: 22px !important;
        height: 3px !important;
        background: #2c3e50 !important;
        border-radius: 2px !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    /* Smooth hamburger animation */
    .mobile-menu-toggle.active {
        background: rgba(215, 203, 12, 0.1) !important;
        border-color: rgba(215, 203, 12, 0.3) !important;
    }
    
    .mobile-menu-toggle.active span {
        background: #d7cb0c !important;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px) !important;
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0 !important;
        transform: scale(0) !important;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px) !important;
    }
    
    /* Premium slide-down mobile menu */
    .nav-menu {
        position: fixed !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        transform: translateY(-100%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important;
        border-top: 1px solid rgba(215, 203, 12, 0.2) !important;
        padding: 0 !important;
        margin: 0 !important;
        z-index: 9999 !important;
        max-height: 75vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .nav-menu.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Premium menu items with perfect spacing */
    .nav-menu li {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
    
    .nav-menu a {
        display: flex !important;
        align-items: center !important;
        padding: 18px 24px !important;
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        color: #2c3e50 !important;
        text-decoration: none !important;
        border-bottom: 1px solid rgba(0,0,0,0.06) !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        min-height: 60px !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    .nav-menu a::before {
        content: '' !important;
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        width: 0 !important;
        background: linear-gradient(135deg, #d7cb0c, #c4b60b) !important;
        transition: width 0.3s ease !important;
        z-index: -1 !important;
    }
    
    .nav-menu a:hover {
        color: #2c3e50 !important;
        padding-left: 32px !important;
        background: rgba(215, 203, 12, 0.08) !important;
    }
    
    .nav-menu a:hover::before {
        width: 4px !important;
    }
    
    .nav-menu a:active {
        background: rgba(215, 203, 12, 0.15) !important;
        transform: scale(0.98) !important;
    }
    
    /* Clean menu bottom spacing */
    .nav-menu li:last-child a {
        border-bottom: none !important;
        margin-bottom: 20px !important;
    }
    
    /* Hide navigation wrapper */
    .nav-wrapper {
        display: contents !important;
    }
}

/* Small mobile optimization */
@media (max-width: 480px) {
    .header-content {
        padding: 0 12px !important;
        gap: 0.6rem !important;
    }
    
    .logo img {
        height: 65px !important;
        max-width: 260px !important;
    }
    
    header.scrolled .logo img {
        height: 55px !important;
        max-width: 220px !important;
    }
    
    .header-cta > div[style*="background: linear-gradient"] {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.6rem !important;
    }
    
    .cta-button {
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
    }
    
    .mobile-menu-toggle {
        width: 40px !important;
        height: 40px !important;
        padding: 8px !important;
    }
    
    .mobile-menu-toggle span {
        width: 20px !important;
        height: 2px !important;
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
}

/* iOS specific improvements */
@supports (-webkit-touch-callout: none) {
    .nav-menu {
        -webkit-overflow-scrolling: touch !important;
    }
    
    .cta-button:active {
        -webkit-tap-highlight-color: transparent !important;
    }
}

















































































































/* Enhanced Glassy Look for Natal Contact Widget Buttons */
.natal-contact-widget .call-now-btn {
    background: rgba(215, 203, 12, 0.75) !important;
    backdrop-filter: blur(10px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #2c3e50 !important;
    box-shadow: 0 8px 25px rgba(215, 203, 12, 0.25), 
                inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
}

.natal-contact-widget .call-now-btn:hover {
    background: rgba(196, 182, 11, 0.85) !important;
    backdrop-filter: blur(12px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(200%) !important;
    box-shadow: 0 12px 30px rgba(215, 203, 12, 0.35), 
                inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-2px) !important;
}

.natal-contact-widget .text-us-btn {
    background: rgba(44, 62, 80, 0.75) !important;
    backdrop-filter: blur(10px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.25), 
                inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
}

.natal-contact-widget .text-us-btn:hover {
    background: rgba(26, 37, 47, 0.85) !important;
    backdrop-filter: blur(12px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(200%) !important;
    box-shadow: 0 12px 30px rgba(44, 62, 80, 0.35), 
                inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-2px) !important;
}












/* FIX CONTACT FORM CONFIRMATION TEXT - Add to WordPress Customizer > Additional CSS */

/* Contact Form 7 confirmation messages */
.wpcf7-response-output {
    color: #2c3e50 !important;
    background: rgba(151, 212, 90, 0.1) !important;
    border: 2px solid #97d45a !important;
    padding: 15px 20px !important;
    border-radius: 10px !important;
    margin-top: 15px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(151, 212, 90, 0.2) !important;
}

/* Success message - green styling */
.wpcf7-mail-sent-ok {
    color: #2c3e50 !important;
    background: rgba(151, 212, 90, 0.15) !important;
    border: 2px solid #97d45a !important;
}

/* Error message - red styling */
.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
    color: #721c24 !important;
    background: rgba(220, 53, 69, 0.1) !important;
    border: 2px solid #dc3545 !important;
}

/* Spam/validation messages */
.wpcf7-spam-blocked {
    color: #856404 !important;
    background: rgba(255, 193, 7, 0.1) !important;
    border: 2px solid #ffc107 !important;
}

/* Individual field validation errors */
.wpcf7-not-valid-tip {
    color: #721c24 !important;
    background: rgba(220, 53, 69, 0.1) !important;
    padding: 5px 10px !important;
    border-radius: 5px !important;
    margin-top: 5px !important;
    font-size: 0.9rem !important;
    display: block !important;
    border-left: 3px solid #dc3545 !important;
}

/* Form submission loading state */
.wpcf7-spinner {
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwIDNDMTMuODY2IDMgMTcgNi4xMzQgMTcgMTBDMTcgMTMuODY2IDEzLjg2NiAxNyAxMCAxN0M2LjEzNCAxNyAzIDEzLjg2NiAzIDEwQzMgNi4xMzQgNi4xMzQgMyAxMCAzWk0xMCAxLjVDNS4zMDYgMS41IDEuNSA1LjMwNiAxLjUgMTBDMS41IDE0LjY5NCA1LjMwNiAxOC41IDEwIDE4LjVDMTQuNjk0IDE4LjUgMTguNSAxNC42OTQgMTguNSAxMEMxOC41IDUuMzA2IDE0LjY5NCAxLjUgMTAgMS41WiIgZmlsbD0iIzJjM2U1MCIvPgo8cGF0aCBkPSJNMTMuNSAxMEMxMy41IDExLjkzMyAxMS45MzMgMTMuNSAxMCAxMy41QzguMDY3IDEzLjUgNi41IDExLjkzMyA2LjUgMTBDNi41IDguMDY3IDguMDY3IDYuNSAxMCA2LjVDMTEuOTMzIDYuNSAxMy41IDguMDY3IDEzLjUgMTBaIiBmaWxsPSIjOTdkNDVhIi8+Cjwvc3ZnPgo=') center center no-repeat !important;
    width: 20px !important;
    height: 20px !important;
    margin: 10px auto !important;
    display: block !important;
    animation: spin 1s linear infinite !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Make sure form labels and text are dark */
.contact-form label,
.contact-form .wpcf7 label,
.wpcf7-form label {
    color: #2c3e50 !important;
}

.contact-form,
.wpcf7-form {
    color: #2c3e50 !important;
}

/* Form title */
.contact-form h3 {
    color: #2c3e50 !important;
}

/* Mobile responsive confirmation messages */
@media (max-width: 768px) {
    .wpcf7-response-output {
        padding: 12px 15px !important;
        font-size: 0.9rem !important;
        margin-top: 10px !important;
        border-radius: 8px !important;
    }
    
    .wpcf7-not-valid-tip {
        font-size: 0.8rem !important;
        padding: 4px 8px !important;
    }
}



























/* Hide header on privacy policy page only */
body.page-privacy-policy header,
body.privacy-policy header,
.privacy-policy-page header,
body[class*="privacy"] header {
    display: none !important;
}

/* Alternative selectors based on different URL structures */
body.page-template-privacy header,
body.page-id-privacy header,
.page-privacy header {
    display: none !important;
}

/* If using WordPress page slug */
body.page-privacy-policy header#header,
body.privacy-policy header#header {
    display: none !important;
}

/* Adjust main content spacing when header is hidden */
body.page-privacy-policy main,
body.privacy-policy main,
.privacy-policy-page main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Remove any top spacing from hero/first section */
body.page-privacy-policy .hero,
body.page-privacy-policy .container:first-child,
body.privacy-policy .hero,
body.privacy-policy .container:first-child {
    padding-top: 20px !important;
    margin-top: 0 !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    body.page-privacy-policy header,
    body.privacy-policy header {
        display: none !important;
    }
    
    body.page-privacy-policy main,
    body.privacy-policy main {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}

/* If you need to target by URL path instead */
body[data-page="privacy-policy"] header,
body[data-template="privacy"] header {
    display: none !important;
}








/* EMERGENCY MOBILE SPEED FIX */
@media (max-width: 768px) {
  /* Hide heavy background elements */
  .specialties::before { display: none !important; }
  .about::before { display: none !important; }
  .services::before { display: none !important; }
  
  /* Speed up animations */
  * { 
    animation-duration: 0.1s !important; 
    transition-duration: 0.1s !important; 
  }
  
  /* Hide inactive carousel slides */
  .carousel-slide:not(.active) { display: none !important; }
  .service-detail:not(.active) { display: none !important; }
  
  /* Optimize images */
  img { 
    height: auto !important; 
    max-width: 100% !important; 
  }
}

/* Reduce repaints on all devices */
.testimonial-card, .service-nav-item { 
  will-change: auto !important; 
}














@media (min-width: 768px) {
    .hero-images .ti-widget.ti-goog {
        grid-column: 1 / -1 !important;
        justify-self: center !important;
        margin: 1.5rem auto 0 auto !important;
    }
}



.hero {
    padding-bottom: 40px !important; /* Reduced significantly */
}

.hero-images {
    margin-bottom: 0 !important;
}

.ti-widget.ti-goog {
    margin-bottom: 0 !important;
    padding: 4px 8px !important; /* Tighter padding */
}

.hero + .section,
.hero + section {
    padding-top: 40px !important; /* Reduced gap to next section */
}













/* Ensure CF7 fields match your existing styling */
.contact-form .wpcf7-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-dark);
    font-family: inherit;
}

.contact-form .wpcf7-form-control:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(151, 212, 90, 0.1);
}

.contact-form .wpcf7-textarea {
    height: 90px;
    resize: vertical;
    font-family: inherit;
}

/* Submit button styling */
.contact-form .wpcf7-submit.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: var(--primary-color);
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.contact-form .wpcf7-submit.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(215, 203, 12, 0.3);
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-dark));
}

/* Mobile responsive */
@media (max-width: 768px) {
    .contact-form .wpcf7-form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}


















/* CSS to match the NATAL logo font styling exactly */

/* Import bold industrial fonts that match the logo */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Bebas+Neue&family=Oswald:wght@400;500;600;700&family=Impact&display=swap');

/* Main hero title styling to match NATAL logo */
.hero h1 {
    font-family: 'Anton', 'Impact', 'Arial Black', sans-serif !important;
    font-weight: 400 !important; /* Anton is naturally bold */
    font-size: 3.5rem !important;
    line-height: 0.9 !important;
    letter-spacing: 0.02em !important;
    color: #ffffff !important;
    text-shadow: 
        3px 3px 6px rgba(0,0,0,0.8),
        -1px -1px 3px rgba(0,0,0,0.6) !important;
    margin-bottom: 0.8rem !important;
    padding: 0 0.5rem !important;
    text-align: center !important;
    text-transform: uppercase !important;
    font-style: normal !important;
    /* Strong, industrial look like the logo */
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Alternative option 1: Bebas Neue (very close to logo style) */
.hero h1.bebas {
    font-family: 'Bebas Neue', 'Arial Black', sans-serif !important;
    font-weight: 400 !important;
    font-size: 3.8rem !important;
    line-height: 0.85 !important;
    letter-spacing: 0.03em !important;
}

/* Alternative option 2: Oswald Bold (condensed like logo) */
.hero h1.oswald {
    font-family: 'Oswald', 'Arial Black', sans-serif !important;
    font-weight: 700 !important;
    font-size: 3.4rem !important;
    line-height: 0.9 !important;
    letter-spacing: 0.01em !important;
}

/* Alternative option 3: Impact (system font, very bold) */
.hero h1.impact {
    font-family: 'Impact', 'Arial Black', sans-serif !important;
    font-weight: 900 !important;
    font-size: 3.3rem !important;
    line-height: 0.9 !important;
    letter-spacing: 0.02em !important;
}

/* Enhanced version with yellow accent like logo */
.hero h1.logo-accent {
    background: linear-gradient(135deg, #d7cb0c 0%, #f0e71a 50%, #d7cb0c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Fallback for browsers that don't support background-clip: text */
    color: #d7cb0c;
    text-shadow: 
        2px 2px 4px rgba(0,0,0,0.9),
        -1px -1px 2px rgba(0,0,0,0.7);
}

/* Strong industrial shadow effect matching logo's bold presence */
.hero h1.industrial-shadow {
    color: #ffffff !important;
    text-shadow: 
        4px 4px 8px rgba(0,0,0,0.9),
        -2px -2px 4px rgba(0,0,0,0.7),
        0 0 20px rgba(0,0,0,0.5) !important;
    /* Add subtle stroke for extra boldness */
    -webkit-text-stroke: 1px rgba(0,0,0,0.3);
    text-stroke: 1px rgba(0,0,0,0.3);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.4rem !important;
        line-height: 0.9 !important;
        letter-spacing: 0.01em !important;
        padding: 0 0.25rem !important;
    }
    
    .hero h1.bebas {
        font-size: 2.6rem !important;
        line-height: 0.85 !important;
    }
    
    .hero h1.oswald {
        font-size: 2.3rem !important;
        line-height: 0.9 !important;
    }
    
    .hero h1.impact {
        font-size: 2.2rem !important;
        line-height: 0.9 !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.0rem !important;
        line-height: 0.85 !important;
        padding: 0 0.15rem !important;
        letter-spacing: 0.005em !important;
    }
    
    .hero h1.bebas {
        font-size: 2.2rem !important;
        line-height: 0.8 !important;
    }
    
    .hero h1.oswald {
        font-size: 1.9rem !important;
        line-height: 0.85 !important;
    }
    
    .hero h1.impact {
        font-size: 1.8rem !important;
        line-height: 0.85 !important;
    }
}

/* Exact logo recreation attempt */
.hero h1.exact-logo-match {
    font-family: 'Anton', 'Impact', sans-serif !important;
    font-weight: 400 !important;
    font-size: 3.6rem !important;
    line-height: 0.85 !important;
    letter-spacing: 0.015em !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    text-shadow: 
        3px 3px 8px rgba(0,0,0,0.9),
        -1px -1px 4px rgba(0,0,0,0.7),
        0 0 15px rgba(0,0,0,0.6) !important;
    /* Extra bold appearance */
    -webkit-text-stroke: 0.5px rgba(255,255,255,0.1);
    text-stroke: 0.5px rgba(255,255,255,0.1);
    font-stretch: condensed;
}

/* Premium animation that matches the industrial theme */
.hero h1.construction-entrance {
    animation: constructionEntrance 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation-fill-mode: both;
}

@keyframes constructionEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
        text-shadow: none;
    }
    50% {
        opacity: 0.7;
        transform: translateY(-10px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        text-shadow: 
            3px 3px 8px rgba(0,0,0,0.9),
            -1px -1px 4px rgba(0,0,0,0.7),
            0 0 15px rgba(0,0,0,0.6);
    }
}









/* Target the main hero title - Natal Concrete Construction */
.hero h1 {
    color: #d7cb0c !important; /* Yellow color from your site */
    text-shadow: 
        -4px -4px 0 #2c3e50,  /* Dark blue outline - top left */
        4px -4px 0 #2c3e50,   /* Dark blue outline - top right */
        -4px 4px 0 #2c3e50,   /* Dark blue outline - bottom left */
        4px 4px 0 #2c3e50,    /* Dark blue outline - bottom right */
        0 0 10px rgba(0,0,0,0.5) !important; /* Keep existing shadow for depth */
}

/* If you also want to style the logo in the header */
.logo img {
    /* This would apply to the actual logo image - you might need to replace the logo file itself for color changes */
}

/* Alternative approach - if you want to target any text that says "Natal Concrete Construction" */
h1:contains("Natal Concrete Construction"),
.hero h1[class*="natal"],
.hero h1 {
    color: #d7cb0c !important;
    -webkit-text-stroke: 2px #2c3e50; /* Modern browsers outline */
    text-stroke: 2px #2c3e50; /* Text stroke for outline */
    text-shadow: 
        -2px -2px 0 #2c3e50,
        2px -2px 0 #2c3e50,
        -2px 2px 0 #2c3e50,
        2px 2px 0 #2c3e50,
        0 0 15px rgba(0,0,0,0.6) !important;
}

/* Mobile responsive version */
@media (max-width: 768px) {
    .hero h1 {
        color: #d7cb0c !important;
        text-shadow: 
            -1px -1px 0 #2c3e50,
            1px -1px 0 #2c3e50,
            -1px 1px 0 #2c3e50,
            1px 1px 0 #2c3e50,
            0 0 8px rgba(0,0,0,0.6) !important;
        -webkit-text-stroke: 1px #2c3e50;
        text-stroke: 1px #2c3e50;
    }
}





/* Target the hero subtitle with very thin outline */
.hero-subtitle {
    color: #ffffff !important; /* White text */
    text-shadow: 
        -0.5px -0.5px 0 #2c3e50,  /* Very thin dark blue outline - top left */
        0.5px -0.5px 0 #2c3e50,   /* Very thin dark blue outline - top right */
        -0.5px 0.5px 0 #2c3e50,   /* Very thin dark blue outline - bottom left */
        0.5px 0.5px 0 #2c3e50,    /* Very thin dark blue outline - bottom right */
        0 0 8px rgba(0,0,0,0.4) !important; /* Subtle shadow for depth */
    -webkit-text-stroke: 0.3px #2c3e50; /* Very thin stroke for modern browsers */
    text-stroke: 0.3px #2c3e50; /* Very thin text stroke */
    font-weight: 600 !important; /* Keep it bold for better visibility */
}

/* Mobile responsive version - even thinner */
@media (max-width: 768px) {
    .hero-subtitle {
        color: #ffffff !important;
        text-shadow: 
            -0.3px -0.3px 0 #2c3e50,
            0.3px -0.3px 0 #2c3e50,
            -0.3px 0.3px 0 #2c3e50,
            0.3px 0.3px 0 #2c3e50,
            0 0 6px rgba(0,0,0,0.4) !important;
        -webkit-text-stroke: 0.2px #2c3e50;
        text-stroke: 0.2px #2c3e50;
    }
}

/* Extra small mobile - minimal outline */
@media (max-width: 480px) {
    .hero-subtitle {
        color: #ffffff !important;
        text-shadow: 
            -0.2px -0.2px 0 #2c3e50,
            0.2px -0.2px 0 #2c3e50,
            -0.2px 0.2px 0 #2c3e50,
            0.2px 0.2px 0 #2c3e50,
            0 0 4px rgba(0,0,0,0.5) !important;
        -webkit-text-stroke: 0.1px #2c3e50;
        text-stroke: 0.1px #2c3e50;
    }
}







/* Make the main hero title smaller on mobile only */
@media (max-width: 768px) {
    .hero h1::after {
        font-size: 1.4rem !important; /* Reduced from 1.8rem */
        line-height: 1.0 !important; /* Tighter line height */
    }
}

/* Even smaller for very small phones */
@media (max-width: 480px) {
    .hero h1::after {
        font-size: 1.2rem !important; /* Even smaller for tiny screens */
        line-height: 0.95 !important; /* Very tight line height */
    }
}

/* Alternative - if you want to make it much smaller */
@media (max-width: 768px) {
    .hero h1::after {
        font-size: 1.1rem !important; /* Much smaller option */
        line-height: 1.1 !important;
        margin-bottom: 0.5rem !important; /* Adjust spacing */
    }
}

/* Extra small mobile - tiny text */
@media (max-width: 480px) {
    .hero h1::after {
        font-size: 1.0rem !important; /* Very small for phones */
        line-height: 1.0 !important;
    }
}


















/* Clean version - just the main title styling that works */
@media (min-width: 769px) {
    .hero h1 {
        font-size: 3.8rem !important;
        line-height: 0.9 !important;
        margin-bottom: 1.5rem !important;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 4.2rem !important;
        line-height: 0.85 !important;
        margin-bottom: 1.8rem !important;
    }
}

@media (min-width: 1440px) {
    .hero h1 {
        font-size: 4.6rem !important;
        line-height: 0.8 !important;
        margin-bottom: 2rem !important;
    }
}

/* Keep subtitle styling intact */
@media (min-width: 769px) {
    .hero-subtitle {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
    }
    
    .hero-subtitle::after {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
    }
}











/* Make hero subtitle match the main title's font and styling - balanced size */
.hero-subtitle {
    font-family: 'Anton', 'Impact', 'Arial Black', sans-serif !important;
    font-weight: 400 !important; /* Anton is naturally bold */
    color: #ffffff !important; /* White text */
    text-shadow: 
        -2px -2px 0 #2c3e50,  /* Thicker dark blue outline - top left */
        2px -2px 0 #2c3e50,   /* Thicker dark blue outline - top right */
        -2px 2px 0 #2c3e50,   /* Thicker dark blue outline - bottom left */
        2px 2px 0 #2c3e50,    /* Thicker dark blue outline - bottom right */
        0 0 8px rgba(0,0,0,0.4) !important; /* Subtle shadow for depth */
    -webkit-text-stroke: 1px #2c3e50; /* Thicker modern browsers outline */
    text-stroke: 1px #2c3e50; /* Thicker text stroke for outline */
    text-transform: none !important; /* Keep normal case */
    letter-spacing: 0.01em !important;
    line-height: 1.2 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Perfect balanced size for desktop */
@media (min-width: 769px) {
    .hero-subtitle {
        font-family: 'Anton', 'Impact', 'Arial Black', sans-serif !important;
        font-weight: 400 !important;
        color: #ffffff !important;
        font-size: 1.6rem !important; /* Balanced size - bigger but not too big */
        text-shadow: 
            -2px -2px 0 #2c3e50,
            2px -2px 0 #2c3e50,
            -2px 2px 0 #2c3e50,
            2px 2px 0 #2c3e50,
            0 0 8px rgba(0,0,0,0.4) !important;
        -webkit-text-stroke: 1px #2c3e50;
        text-stroke: 1px #2c3e50;
        text-transform: none !important;
        letter-spacing: 0.01em !important;
        line-height: 1.2 !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
    }
}

/* Slightly bigger for larger screens */
@media (min-width: 1200px) {
    .hero-subtitle {
        font-size: 1.8rem !important; /* Slightly bigger for large screens */
    }
}





























































.hero h1 {
    font-size: 5.5rem !important; /* Increased from 3.5rem */
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem !important; /* Increased from 2.2rem */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem !important; /* Increased from 1.8rem */
    }
}

























/* Hide DPW Badge and Free Estimate Button on Mobile Only */
@media (max-width: 768px) {
    /* Hide the DPW certification badge */
    .header-cta > div[style*="background: linear-gradient(135deg, #2c3e50, #34495e)"] {
        display: none !important;
    }
    
    /* Alternative selector for DPW badge if the above doesn't work */
    .header-cta > a[href*="DPW-Contractor-List.pdf"] {
        display: none !important;
    }
    
    /* Hide the Free Estimate CTA button */
    .header-cta .cta-button {
        display: none !important;
    }
    
    /* Alternative selector for CTA button */
    .header-cta a[href="#contact"] {
        display: none !important;
    }
    
    /* Adjust header CTA spacing after hiding elements */
    .header-cta {
        gap: 0.5rem !important;
        min-width: auto !important;
    }
    
    /* Keep only the phone number visible on mobile */
    .header-cta .phone-number {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
}

/* Extra small mobile screens */
@media (max-width: 480px) {
    /* Ensure elements stay hidden on very small screens */
    .header-cta > div[style*="background: linear-gradient(135deg, #2c3e50, #34495e)"],
    .header-cta .cta-button {
        display: none !important;
    }
    
    /* Adjust phone number size for very small screens */
    .header-cta .phone-number {
        font-size: 0.75rem !important;
    }
}











/* Fix Hero Title Spacing - Add breathing room between subtitle and main title */

/* Desktop spacing improvements */
.hero-subtitle {
    margin-bottom: 1.5rem !important; /* Increased space below subtitle */
}

.hero h1 {
    margin-top: 1.5rem !important; /* Add space above main title */
    margin-bottom: 1.5rem !important; /* Add space below main title */
    line-height: 1.1 !important; /* Improve line spacing within title */
    letter-spacing: 0.02em !important; /* Add slight letter spacing */
}

/* If using the ::after pseudo-element version */
.hero h1::after {
    line-height: 1.1 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    letter-spacing: 0.02em !important;
}

/* Add spacing to the yellow highlight box */
.hero div[style*="background: rgba(215, 203, 12, 0.2)"] {
    margin-top: 2rem !important; /* More space above yellow box */
    margin-bottom: 2rem !important; /* More space below yellow box */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-subtitle {
        margin-bottom: 1.2rem !important;
    }
    
    .hero h1 {
        margin-top: 1.2rem !important;
        margin-bottom: 1.2rem !important;
        line-height: 1.0 !important;
        letter-spacing: 0.01em !important;
    }
    
    .hero h1::after {
        line-height: 1.0 !important;
        margin-top: 1.2rem !important;
        margin-bottom: 1.2rem !important;
        letter-spacing: 0.01em !important;
    }
    
    .hero div[style*="background: rgba(215, 203, 12, 0.2)"] {
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .hero-subtitle {
        margin-bottom: 1rem !important;
    }
    
    .hero h1 {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
        line-height: 0.95 !important;
    }
    
    .hero h1::after {
        line-height: 0.95 !important;
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .hero div[style*="background: rgba(215, 203, 12, 0.2)"] {
        margin-top: 1.2rem !important;
        margin-bottom: 1.2rem !important;
    }
}

/* Additional breathing room for the entire hero content */
.hero-content {
    padding: 2rem 1rem !important;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 1.5rem 1rem !important;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1rem 0.5rem !important;
    }
}



























/* Mobile-only fix for testimonial carousel images */
@media (max-width: 768px) {
    /* Target testimonial carousel containers specifically */
    .testimonial-with-carousel .testimonial-carousel {
        margin-bottom: 1.5rem !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
    }
    
    /* Make carousel container much taller for better image visibility */
    .testimonial-with-carousel .carousel-container {
        height: 220px !important; /* Increased from 180px */
    }
    
    /* Ensure images fill the container properly */
    .testimonial-with-carousel .carousel-slide img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 12px !important;
    }
    
    /* Make navigation buttons more prominent and accessible */
    .testimonial-with-carousel .carousel-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
        opacity: 1 !important; /* Always visible on mobile */
        background: rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 3px 10px rgba(0,0,0,0.3) !important;
    }
    
    .testimonial-with-carousel .carousel-prev {
        left: 10px !important;
    }
    
    .testimonial-with-carousel .carousel-next {
        right: 10px !important;
    }
    
    /* Make dots more visible */
    .testimonial-with-carousel .carousel-dots {
        bottom: 10px !important;
        gap: 8px !important;
    }
    
    .testimonial-with-carousel .dot {
        width: 10px !important;
        height: 10px !important;
        background: rgba(255, 255, 255, 0.8) !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    }
    
    .testimonial-with-carousel .dot.active,
    .testimonial-with-carousel .dot:hover {
        background: var(--accent-color, #d7cb0c) !important;
        transform: scale(1.2) !important;
    }
}

/* Extra small mobile screens */
@media (max-width: 480px) {
    .testimonial-with-carousel .carousel-container {
        height: 200px !important;
    }
    
    .testimonial-with-carousel .carousel-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
    
    .testimonial-with-carousel .carousel-prev {
        left: 8px !important;
    }
    
    .testimonial-with-carousel .carousel-next {
        right: 8px !important;
    }
    
    .testimonial-with-carousel .dot {
        width: 8px !important;
        height: 8px !important;
    }
}








.hero-image .carousel-slide:first-child {
    opacity: 1 !important;
}






















/* Very Compact Contact Info */
.contact-info {
    padding: 0.5rem 0;
}

.contact-info h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.2;
}

.contact-item {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.contact-icon {
    font-size: 1rem;
    margin-right: 0;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item div {
    line-height: 1.1;
    font-size: 0.85rem;
}

.contact-item strong {
    font-size: 0.8rem;
    margin-bottom: 0.1rem;
    display: block;
    font-weight: 700;
}

.contact-item div:not(strong) {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 1px;
}

/* Remove extra spacing from contact section wrapper */
.contact-content {
    gap: 2rem; /* Reduce gap between info and form */
}

/* Mobile - keep very compact */
@media (max-width: 768px) {
    .contact-info {
        padding: 0.3rem 0;
    }
    
    .contact-item {
        padding: 0.4rem 0.6rem;
        margin-bottom: 0.4rem;
        flex-direction: row;
        text-align: left;
    }
    
    .contact-icon {
        margin-bottom: 0;
        margin-right: 0;
        width: 18px;
        font-size: 0.9rem;
    }
    
    .contact-item strong {
        font-size: 0.75rem;
    }
    
    .contact-item div:not(strong) {
        font-size: 0.7rem;
    }
}
















/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* Main typography system */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

/* Headings - matches your logo's clean, professional look */
h1, h2, h3, h4, h5, h6,
.section-title,
.modal-title,
.hero h1 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Main hero title - bold and impactful */
.hero h1 {
    font-weight: 700;
    font-size: 3.5rem;
    letter-spacing: -0.03em;
}

/* Section titles */
.section-title {
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Navigation and buttons - clean and readable */
.nav-menu,
.btn-primary,
.btn-secondary,
.cta-button,
.service-cta-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Body text and descriptions */
p, .section-subtitle, .testimonial-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.65;
}

/* Form labels and inputs */
.form-label,
.form-input,
.form-textarea {
    font-family: 'Inter', sans-serif;
}

/* Contact info - professional and clean */
.contact-item {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.contact-item strong {
    font-weight: 600;
}












/* Force full image display on mobile - no cropping with bigger containers */
@media (max-width: 768px) {
    .service-carousel-slide img {
        width: 100% !important;
        height: auto !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        background: #f8f9fa !important;
    }
    
    .service-carousel-slide {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #f8f9fa !important;
        border-radius: 10px !important;
    }
    
    .service-carousel-container {
        height: 400px !important; /* Bigger container */
        min-height: 400px !important;
        background: #f8f9fa !important;
        border-radius: 15px !important;
        padding: 10px !important;
    }
    
    .service-images {
        height: 420px !important; /* Bigger container */
        min-height: 420px !important;
    }
}

/* Tablet - also show full images with bigger containers */
@media (max-width: 1024px) and (min-width: 769px) {
    .service-carousel-slide img {
        object-fit: contain !important;
        object-position: center !important;
        background: #f8f9fa !important;
    }
    
    .service-carousel-slide {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #f8f9fa !important;
    }
    
    .service-carousel-container {
        height: 450px !important; /* Bigger container for tablet */
    }
    
    .service-images {
        height: 450px !important;
    }
}


































/* Horizontal scrolling for ALL carousels on mobile */
@media (max-width: 768px) {
    /* Service carousels */
    .service-carousel-container,
    /* Testimonial carousels */
    .testimonial-carousel .carousel-container,
    /* Hero carousels */
    .hero-image .carousel-container {
        display: flex !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 10px !important;
        padding: 10px !important;
        background: #f8f9fa !important;
        border-radius: 15px !important;
        position: relative;
    }
    
    /* All carousel slides */
    .service-carousel-slide,
    .testimonial-carousel .carousel-slide,
    .hero-image .carousel-slide {
        flex: 0 0 85% !important; /* Each image takes 85% width */
        height: 100% !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: white !important;
        border-radius: 10px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        opacity: 1 !important; /* Override any opacity animations */
    }
    
    /* All carousel images */
    .service-carousel-slide img,
    .testimonial-carousel .carousel-slide img,
    .hero-image .carousel-slide img {
        width: 100% !important;
        height: auto !important;
        max-height: 100% !important;
        object-fit: contain !important;
        border-radius: 8px !important;
    }
    
    /* Hide ONLY carousel navigation controls on mobile - NOT page CTAs */
@media (max-width: 768px) {
    /* Only hide carousel navigation, be very specific */
    .service-carousel .service-carousel-btn,
    .service-carousel .service-carousel-dots,
    .testimonial-carousel .carousel-btn,
    .testimonial-carousel .carousel-dots,
    .hero-image .carousel-btn,
    .hero-image .carousel-dots {
        display: none !important;
    }
    
    /* Ensure hero CTA buttons remain visible and functional */
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary,
    .hero .cta-button {
        display: inline-block !important;
        pointer-events: auto !important;
        visibility: visible !important;
    }
}

/* Same fix for tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .service-carousel .service-carousel-btn,
    .service-carousel .service-carousel-dots,
    .testimonial-carousel .carousel-btn,
    .testimonial-carousel .carousel-dots,
    .hero-image .carousel-btn,
    .hero-image .carousel-dots {
        display: none !important;
    }
}
    
    /* Container heights for different carousel types */
    .service-carousel-container {
        height: 400px !important;
    }
    
    .testimonial-carousel .carousel-container {
        height: 200px !important;
    }
    
    .hero-image .carousel-container {
        height: 250px !important;
    }
    
    /* Parent container adjustments */
    .service-images {
        height: 420px !important;
    }
    
    .testimonial-carousel {
        margin-bottom: 1rem !important;
    }
    
    /* Universal scrollbar styling for all carousels */
    .service-carousel-container::-webkit-scrollbar,
    .carousel-container::-webkit-scrollbar {
        height: 6px;
    }
    
    .service-carousel-container::-webkit-scrollbar-track,
    .carousel-container::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.1);
        border-radius: 3px;
    }
    
    .service-carousel-container::-webkit-scrollbar-thumb,
    .carousel-container::-webkit-scrollbar-thumb {
        background: #d7cb0c;
        border-radius: 3px;
    }
    
    /* CSS-only swipe hint - MOBILE */
    .service-carousel-container::before,
    .testimonial-carousel .carousel-container::before,
    .hero-image .carousel-container::before {
        content: "👆 Swipe to view more";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(44, 62, 80, 0.9);
        color: white;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
        z-index: 20;
        white-space: nowrap;
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        pointer-events: none;
        
        /* Animation */
        animation: swipeHintFade 4s ease-in-out;
        animation-fill-mode: forwards;
    }
    
    /* Delay hints for different carousel types */
    .testimonial-carousel .carousel-container::before {
        animation-delay: 0.5s;
    }
    
    .hero-image .carousel-container::before {
        animation-delay: 1s;
    }
}

/* Tablet scrolling - 2 carousels visible with swipe hints */
@media (max-width: 1024px) and (min-width: 769px) {
    .service-carousel-container,
    .testimonial-carousel .carousel-container,
    .hero-image .carousel-container {
        display: flex !important;
        overflow-x: auto !important;
        scroll-behavior: smooth !important;
        gap: 15px !important;
        padding: 15px !important;
        position: relative;
    }
    
    .service-carousel-slide,
    .testimonial-carousel .carousel-slide,
    .hero-image .carousel-slide {
        flex: 0 0 45% !important; /* 2 carousels visible - 45% each */
        height: 100% !important;
        position: relative !important;
        opacity: 1 !important;
        background: white !important;
        border-radius: 10px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .service-carousel-slide img,
    .testimonial-carousel .carousel-slide img,
    .hero-image .carousel-slide img {
        object-fit: contain !important;
        border-radius: 8px !important;
    }
    
    /* Hide carousel buttons on tablet - no button scroll effect */
    .service-carousel-btn,
    .service-carousel-dots,
    .carousel-btn,
    .carousel-dots {
        display: none !important;
    }
    
    .service-carousel-container {
        height: 450px !important;
    }
    
    .testimonial-carousel .carousel-container {
        height: 220px !important;
    }
    
    .hero-image .carousel-container {
        height: 280px !important;
    }
    
    /* CSS-only swipe hint - TABLET */
    .service-carousel-container::before,
    .testimonial-carousel .carousel-container::before,
    .hero-image .carousel-container::before {
        content: "👆 Swipe to view more";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(44, 62, 80, 0.9);
        color: white;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
        z-index: 20;
        white-space: nowrap;
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        pointer-events: none;
        
        /* Animation */
        animation: swipeHintFade 4s ease-in-out;
        animation-fill-mode: forwards;
    }
    
    /* Delay hints for different carousel types */
    .testimonial-carousel .carousel-container::before {
        animation-delay: 0.5s;
    }
    
    .hero-image .carousel-container::before {
        animation-delay: 1s;
    }
}

/* Animation keyframes */
@keyframes swipeHintFade {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    15% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    85% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}























/* OVERRIDE - Force hero buttons to work - add this at the very end */
.hero-buttons a,
.hero a.btn-primary,
.hero a.btn-secondary {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 999 !important;
}

/* Mobile specific override */
@media (max-width: 768px) {
    .hero-buttons a,
    .hero a.btn-primary,
    .hero a.btn-secondary {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: relative !important;
        z-index: 999 !important;
    }
}















/* Fix gray text for services sections, customer reviews, FAQ, project discussion, and contact - ALL DEVICES */

/* Services sections */
.services .section-subtitle,
.services .section-title + p,
.services h2 + p,
.service-detail p,
.service-description,
.service-content p,
.services p {
    color: #2c3e50 !important;
    opacity: 1 !important;
}

/* Customer reviews/testimonials */
.testimonials .section-subtitle,
.testimonials .section-title + p,
.testimonials h2 + p,
.testimonials p,
.testimonial-text,
.testimonial-content p,
.reviews .section-subtitle,
.reviews p {
    color: #2c3e50 !important;
    opacity: 1 !important;
}

/* FAQ section */
.faq .section-subtitle,
.faq .section-title + p,
.faq h2 + p,
.faq p,
.faq-content p,
.faq-answer p {
    color: #2c3e50 !important;
    opacity: 1 !important;
}

/* Project discussion section */
.project .section-subtitle,
.project .section-title + p,
.project h2 + p,
.project p,
.project-content p {
    color: #2c3e50 !important;
    opacity: 1 !important;
}

/* Contact section */
.contact .section-subtitle,
.contact .section-title + p,
.contact h2 + p,
.contact p,
.contact-section .section-subtitle,
.contact-section .section-title + p,
.contact-section h2 + p,
.contact-section p {
    color: #2c3e50 !important;
    opacity: 1 !important;
}










/* Make text white in Why Choose Us section */
.why-choose-us .section-subtitle,
.why-choose-us .section-title + p,
.why-choose-us h2 + p,
.why-choose-us p,
.why-choose-us .specialty-item p,
.why-choose-us .specialty-item h3,
.specialties .section-subtitle,
.specialties .section-title + p,
.specialties h2 + p,
.specialties p,
.specialties .specialty-item p,
.specialties .specialty-item h3 {
    color: #ffffff !important;
    opacity: 1 !important;
}




/* Move phone number below button and make it smaller */
@media (min-width: 769px) {
    .header-cta {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        gap: 0.3rem !important;
        justify-self: end !important;
        order: 3 !important;
    }
    
    /* DPW badge at top */
    .header-cta > div[style*="background: linear-gradient"] {
        order: 1 !important;
        font-size: 0.65rem !important;
        padding: 0.25rem 0.5rem !important;
        margin-bottom: 0 !important;
    }
    
    /* Estimate button in middle */
    .cta-button {
        order: 2 !important;
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
        border-radius: 15px !important;
    }
    
    /* Phone number at bottom - smaller */
    .phone-number {
        order: 3 !important;
        font-size: 0.85rem !important;
        font-weight: 600 !important;
        color: var(--accent-color) !important;
        white-space: nowrap !important;
    }
}

/* Large desktop adjustments */
@media (min-width: 1200px) {
    .header-cta {
        gap: 0.4rem !important;
    }
    
    .phone-number {
        font-size: 0.9rem !important;
    }
}













/* Reduce top spacing in hero section */
.hero {
    padding-top: 150px !important; /* Reduced from 200px */
}

/* For scrolled header state, reduce even more */
header.scrolled + .hero,
.hero {
    padding-top: 120px !important; /* Even less space when header is smaller */
}

/* Alternative approach - target the hero content directly */
.hero-content {
    padding-top: 0 !important;
    margin-top: -30px !important; /* Pull content up */
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero {
        padding-top: 100px !important; /* Already optimized for mobile */
    }
}

/* Large desktop - moderate reduction */
@media (min-width: 1200px) {
    .hero {
        padding-top: 140px !important; /* Balanced for large screens */
    }
}





/* Add location info after phone number - Desktop only */
@media (min-width: 769px) {
    .phone-number {
        font-size: 0.7rem !important;
        color: #2c3e50 !important;
        font-weight: 400 !important;
    }
    
    .phone-number::after {
        content: " 📍 Jamestown, NY 14701";
        font-size: 0.7rem;
        color: #2c3e50;
        font-weight: 400;
        margin-left: 0.5rem;
    }
}

/* Make phone number same color on mobile and other devices */
.phone-number {
    color: #2c3e50 !important;
}








/* Make navigation links bold - Desktop */
@media (min-width: 769px) {
    .nav-menu a {
        font-weight: 800 !important;
        font-size: 1.05rem !important;
        letter-spacing: 0.3px !important;
        color: var(--text-dark) !important;
    }
    
    .nav-menu a:hover {
        font-weight: 900 !important;
        color: var(--accent-color) !important;
    }
}






/* Center navigation and make it smaller - Desktop */
@media (min-width: 769px) {
    .nav-menu {
        justify-content: center !important;
        text-align: center !important;
    }
    
    .nav-menu a {
        font-weight: 800 !important;
        font-size: 0.95rem !important; /* Slightly smaller */
        letter-spacing: 0.3px !important;
        color: var(--text-dark) !important;
    }

	
	
	
	
	
	
	
/* Make all service detail sections more compact on desktop */
@media (min-width: 769px) {
    .service-detail-content {
        gap: 1.5rem !important; /* Reduce gap between text and image */
        align-items: stretch !important; /* Ensure equal height columns */
    }
    
    .service-text {
        padding: 1.8rem !important; /* Reduce from 3rem */
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }
    
    .service-text h3 {
        font-size: 1.9rem !important; /* Reduce from 2.2rem */
        margin-bottom: 1rem !important; /* Reduce from 1.5rem */
        line-height: 1.1 !important;
    }
    
    .service-text p {
        margin-bottom: 1.2rem !important; /* Reduce from 2rem */
        font-size: 1rem !important; /* Reduce from 1.1rem */
        line-height: 1.5 !important; /* Reduce from 1.6 */
    }
    
    .service-features {
        margin-bottom: 1.2rem !important; /* Reduce from 2rem */
        flex-grow: 1 !important; /* Allow features list to take available space */
    }
    
    .service-features li {
        padding: 0.5rem 0 !important; /* Reduce from 0.8rem */
        font-size: 0.9rem !important; /* Reduce from 1rem */
        line-height: 1.4 !important; /* Reduce from 1.5 */
        padding-left: 1.8rem !important;
        position: relative !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    
    .service-features li:last-child {
        border-bottom: none !important;
    }
    
    /* Fix checkmarks for all service sections */
    .service-features li::before {
        content: '✓' !important;
        position: absolute !important;
        left: 0 !important;
        top: 0.5rem !important;
        color: #97d45a !important;
        font-weight: bold !important;
        font-size: 1.1rem !important;
        line-height: 1 !important;
    }
    
    .service-images {
        height: 420px !important; /* Reduce from 500px but keep reasonable size */
    }
    
    .service-cta {
        padding: 1rem !important; /* Reduce from 1.5rem */
        margin-top: auto !important; /* Push CTA to bottom */
    }
    
    .service-cta h4 {
        margin-bottom: 0.8rem !important; /* Reduce from 1rem */
        font-size: 1.1rem !important; /* Reduce from 1.3rem */
    }
    
    .service-cta-buttons {
        gap: 0.8rem !important; /* Reduce gap between buttons */
    }
    
    .service-cta-btn {
        padding: 10px 20px !important; /* Make buttons slightly smaller */
        font-size: 0.9rem !important; /* Reduce button text */
    }
}

/* Ensure proper layout for service content */
.service-detail {
    min-height: auto !important;
}
	
	
	
	
	
	
	
	
	
	
	
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}