/* ===================================================================
   COLOR PALETTE & VARIABLES
   =================================================================== */
:root {
    /* Main Brand Colors (Red, Blue, Green Palette) */
    --neon-green: #7cf03d;      /* Main Brand */
    --forest-green: #4CAF50;    /* Secondary Green */
    --bright-green-glow: #39ff14; /* Max Glow Effect */
    --accent-red: #D32F2F;      /* Logo & Primary Accent */
    --accent-blue: #1976D2;     /* Logo & Secondary Accent */
    
    /* Backgrounds & Text */
    --bg-dark: #1a1a1a;         /* Almost Black */
    --text-white: #fff;
    --text-off-white: #f0f0f0;  
    --text-light-gray: #ccc;    /* Light Gray */
    --text-dark: #333;          /* Dark Gray (Used on light backgrounds) */
    
    /* General Settings */
    --link-color: var(--neon-green);
    --transition-speed: 0.3s;
}

/* ===================================================================
   BASE STYLES & RESET
   =================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-off-white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

.bg-dark {
    background-color: var(--bg-dark);
}

.bg-neon {
    background: linear-gradient(90deg, var(--forest-green), var(--neon-green));
    color: var(--text-dark);
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--text-white);
    text-shadow: 0 0 5px var(--neon-green);
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 50px;
    text-align: center;
    color: var(--text-white);
    text-transform: uppercase;
}

/* --- LOGO (Red & Blue) --- */
.logo {
    font-size: 1.8em;
    font-weight: 900;
    letter-spacing: 1px;
    white-space: nowrap;
}
.logo span:nth-child(1) { /* Davila */
    color: var(--accent-red);
}
.logo span:nth-child(2) { /* Construction */
    color: var(--accent-blue);
}

/* --- CTA Button --- */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--neon-green);
    color: var(--bg-dark);
    font-weight: bold;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    text-transform: uppercase;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--neon-green);
    border-color: var(--neon-green);
    text-shadow: none; /* Override general link shadow */
}


/* ===================================================================
   HEADER & NAVIGATION
   =================================================================== */
.main-header {
    background: rgba(26, 26, 26, 0.9);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.desktop-nav ul {
    list-style: none;
    display: flex;
}

.desktop-nav li {
    margin-left: 30px;
}

.desktop-nav a {
    color: var(--text-off-white);
    font-weight: 500;
    padding: 5px 0;
    transition: border-bottom 0.3s ease;
}

.desktop-nav a:hover,
.desktop-nav .cta-nav-link:hover {
    border-bottom: 2px solid var(--neon-green);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--neon-green);
    font-size: 1.8em;
    cursor: pointer;
}

/* --- Mobile Menu Styles --- */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(5px);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.4s ease-out;
    padding-top: 100px;
}

.mobile-nav-menu.is-open {
    transform: translateX(0);
}

.mobile-nav-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.mobile-nav-menu li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(124, 240, 61, 0.2);
}

.mobile-nav-menu a {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--text-off-white);
}

/* ===================================================================
   HOMEPAGE SECTIONS
   =================================================================== */
/* --- Hero Section --- */
.hero-section {
    /* Placeholder for background image */
    background: url('img/hero-bg.jpg') no-repeat center center/cover; 
    height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4em;
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 2.2em;
    font-weight: 300;
    min-height: 40px; 
}

.intro-text {
    font-size: 1.2em;
    margin: 20px 0 30px;
    color: var(--text-light-gray);
}

/* Typing Animation Cursor */
#typing-text {
    border-right: 3px solid var(--neon-green);
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--neon-green); }
}

/* --- Feature Cards (Why Choose Us) - HOMEPAGE STYLE REFERENCE --- */
.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-dark);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(124, 252, 61, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(57, 255, 20, 0.3); 
}

.icon-large {
    font-size: 3em;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--neon-green);
    margin-bottom: 10px;
}

/* --- Service Cards Preview --- */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--bg-dark);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    border-bottom: 4px solid var(--forest-green);
    transition: all 0.3s ease;
    color: var(--text-off-white);
}

.service-card:hover {
    transform: scale(1.03);
    border-bottom-color: var(--neon-green);
    box-shadow: 0 5px 15px rgba(57, 255, 20, 0.2);
}

.service-card i {
    font-size: 3.5em;
    color: var(--accent-blue);
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--text-white);
}

/* --- Stats Counter --- */
.stats-counter-section {
    background-color: var(--bg-dark);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 4em;
    font-weight: bold;
    color: var(--accent-red); 
    display: block;
    line-height: 1;
}

.stat-suffix {
    font-size: 2em;
    font-weight: bold;
    color: var(--neon-green);
    vertical-align: top;
    margin-left: -5px;
    display: inline-block;
}

.stat-item p {
    color: var(--text-light-gray);
    text-transform: uppercase;
    font-size: 1.1em;
    margin-top: 10px;
}

/* --- Final CTA --- */
.final-cta-section {
    text-align: center;
    padding: 60px 0;
}

.final-cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.final-cta-section p {
    color: var(--text-dark);
    margin-bottom: 25px;
}

/* ===================================================================
   ABOUT PAGE STYLES (MATCHES HOMEPAGE FEATURE CARD STYLE)
   =================================================================== */
.about-us-page {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.about-hero {
    text-align: center;
    padding: 50px 0 20px;
}

.about-hero h2 {
    font-size: 3.5em;
    color: var(--accent-blue);
    margin-bottom: 10px;
}

.about-hero .tagline {
    font-size: 1.5em;
    color: var(--neon-green);
    font-style: italic;
}

.about-intro {
    max-width: 800px;
    margin: 40px auto 70px;
    text-align: center;
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-light-gray);
}

/* --- Services Grid (Matches Feature Cards Grid) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.service-card {
    /* Style properties match .feature-card */
    background-color: var(--bg-dark);
    padding: 30px; 
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(124, 252, 61, 0.1); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; 
}

.service-card:hover {
    transform: translateY(-10px); /* Lift up effect */
    box-shadow: 0 10px 20px rgba(57, 255, 20, 0.3); 
}

/* ICON STYLING (Smaller, Subtle Blue Base, Strong Neon Glow on Hover) */
.service-icon {
    font-size: 2.5em; /* Reduced size */
    color: var(--accent-blue); /* Base color is blue */
    margin-bottom: 15px;
    opacity: 0.3; /* Subtle transparency */
    transition: opacity 0.5s ease, color 0.5s ease, text-shadow 0.5s ease;
}

.service-card:hover .service-icon {
    opacity: 1; 
    color: var(--neon-green); /* Changes color to neon green on hover */
    /* Stronger Glow on Hover */
    text-shadow: 
        0 0 10px rgba(124, 252, 61, 0.8), 
        0 0 20px rgba(124, 252, 61, 0.6),
        0 0 30px rgba(124, 252, 61, 0.4); 
}

.service-card h3 {
    color: var(--neon-green); /* Header color matches feature card */
    margin-bottom: 15px;
    border-bottom: none; 
    padding-bottom: 0;
}

.service-desc {
    color: var(--text-light-gray);
    margin-bottom: 20px;
    font-style: italic;
}

.service-list {
    list-style: none;
    text-align: center; 
    padding: 0;
}

.service-list li {
    padding: 5px 0;
    font-size: 0.9em;
    color: var(--text-light-gray);
}

.service-list i {
    color: var(--neon-green); /* Ensure checkmarks are neon */
    margin-right: 8px;
    font-size: 0.9em;
}

/* --- Mission Statement --- */
.mission-statement {
    text-align: center;
    background-color: var(--bg-dark);
    padding: 40px;
    border-radius: 8px;
    border: 2px dashed var(--neon-green);
}

.mission-statement i {
    font-size: 3em;
    color: var(--neon-green);
    margin-bottom: 15px;
}

.mission-statement h3 {
    font-size: 2em;
    color: var(--accent-red);
    margin-bottom: 20px;
}

.mission-statement p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.2em;
    line-height: 1.7;
    color: var(--text-off-white);
}

/* ===================================================================
   SERVICES PAGE STYLES
   =================================================================== */

/* --- Hero Section --- */
.services-hero {
    padding: 80px 0 50px;
    border-bottom: 2px solid var(--forest-green);
}

.services-hero .section-title {
    margin-bottom: 15px;
}

.services-hero .hero-tagline {
    font-size: 1.4em;
    color: var(--text-light-gray);
    margin-bottom: 30px;
}

/* --- Detailed Services Grid --- */
.detailed-services-grid {
    padding-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-detail-card {
    background-color: var(--bg-dark);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(124, 240, 61, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-green);
    box-shadow: 0 10px 20px rgba(57, 255, 20, 0.2);
}

.card-icon-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-blue);
}

.card-icon-title i {
    font-size: 2.5em; /* Match icon size consistency */
    margin-right: 15px;
    color: var(--accent-red); 
}

.card-icon-title h3 {
    font-size: 1.5em;
    color: var(--text-white);
}

.service-main-desc {
    color: var(--text-light-gray);
    margin-bottom: 20px;
}

.features-heading {
    font-size: 1.1em;
    color: var(--neon-green);
    margin-bottom: 10px;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 5px 0;
    color: var(--text-off-white);
}

.features-list li i {
    margin-right: 10px;
    font-size: 0.9em;
}

/* --- Final CTA Services --- */
.final-cta-services {
    padding: 60px 0;
    margin-top: 50px;
}

/* ===================================================================
   GALLERY PAGE STYLES
   =================================================================== */

.gallery-page-content {
    padding-top: 50px;
}

/* --- Gallery Header --- */
.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-header .section-title {
    margin-bottom: 10px;
}

.gallery-header .subtitle {
    font-size: 1.1em;
    color: var(--text-light-gray);
    margin-bottom: 20px;
}

.project-counter {
    font-size: 1.2em;
    color: var(--text-off-white);
}

.project-counter .neon-glow {
    font-weight: bold;
    font-size: 1.5em;
    margin-right: 5px;
}

/* --- Filter Buttons --- */
.filter-controls {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    background-color: var(--bg-dark);
    color: var(--text-off-white);
    border: 1px solid var(--forest-green);
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    font-weight: 500;
}

.filter-btn:hover {
    background-color: var(--forest-green);
    color: var(--text-dark);
}

.filter-btn.active {
    background-color: var(--neon-green);
    color: var(--text-dark);
    border-color: var(--neon-green);
    font-weight: bold;
    box-shadow: 0 0 15px rgba(124, 240, 61, 0.5);
}

.filter-btn i {
    margin-right: 8px;
    font-size: 1.1em;
}

/* --- Image Grid --- */
.image-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* --- Hover Overlays --- */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Green with opacity */
    background: rgba(124, 240, 61, 0.85); 
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-dark); /* Dark text on green overlay */
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content h3 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.overlay-content i {
    font-size: 2em;
    margin-bottom: 10px;
}

.overlay-content p {
    font-weight: 500;
    font-style: italic;
}

/* --- CTA Section --- */
.gallery-cta-section {
    text-align: center;
    padding: 40px;
    background-color: var(--bg-dark);
    border: 2px solid var(--accent-blue);
    border-radius: 8px;
}

.gallery-cta-section .section-title {
    margin-bottom: 15px;
    font-size: 2em;
    color: var(--accent-red);
}

/* ===================================================================
   LIGHTBOX CUSTOMIZATION (NEW STYLES)
   =================================================================== */
#custom-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.lightbox-hidden {
    display: none !important;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border: 3px solid var(--neon-green);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.5); /* Strong box shadow */
    border-radius: 5px;
    transition: opacity 0.3s ease;
}

#lightbox-caption {
    margin-top: 15px;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    color: var(--neon-green);
}

/* Close Button */
.lightbox-close {
    position: absolute;
    top: -30px;
    right: 0px;
    color: var(--text-white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2010;
}

.lightbox-close:hover {
    color: var(--accent-red);
}

/* Navigation Buttons */
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 3em;
    padding: 15px;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    z-index: 2005;
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

.lightbox-prev:hover, .lightbox-next:hover {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--bright-green-glow);
}


/* ===================================================================
   CONTACT PAGE STYLES (RESTORED LAYOUT AND FORM)
   =================================================================== */
.contact-page-content {
    padding: 80px 0;
}

.two-column-layout {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.contact-sidebar {
    flex: 1;
}

.contact-form-container {
    flex: 2;
    background-color: var(--bg-dark);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* --- Info Cards --- */
.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    background-color: var(--bg-dark);
    padding: 25px;
    border-left: 5px solid var(--accent-blue);
    border-radius: 4px;
}

.info-card i {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.info-card h3 {
    color: var(--neon-green);
    margin-bottom: 5px;
}

/* --- Why Contact Us Section --- */
.why-contact-us-section {
    background-color: var(--bg-dark);
    padding: 25px;
    border-radius: 4px;
}

.why-contact-us-section h3 {
    color: var(--accent-red);
    margin-bottom: 15px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.why-contact-us-section ul {
    list-style: none;
}

.why-contact-us-section li {
    padding: 8px 0;
    color: var(--text-light-gray);
}

.why-contact-us-section li i {
    color: var(--neon-green);
    margin-right: 10px;
}

/* --- Enhanced Form --- */
.enhanced-form .form-group {
    margin-bottom: 20px;
}

.enhanced-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--text-white);
}

.enhanced-form input[type="text"],
.enhanced-form input[type="email"],
.enhanced-form input[type="tel"],
.enhanced-form textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-dark);
    border: 1px solid var(--forest-green);
    color: var(--text-white);
    border-radius: 4px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.enhanced-form input:focus,
.enhanced-form textarea:focus {
    border-color: var(--neon-green);
    outline: none;
    box-shadow: 0 0 5px rgba(57, 255, 20, 0.5); /* Neon glow on focus */
}

.recaptcha-group {
    margin-top: 30px;
}

/* FIX: reCAPTCHA blending with dark background */
.g-recaptcha {
    background-color: var(--bg-dark); 
    border-radius: 4px;
    padding: 10px 0;
    /* Used for fine-tuning widget alignment */
    transform: scale(0.95);
    transform-origin: left;
}


/* ===================================================================
   STATUS PAGES (Success/Error)
   =================================================================== */
.status-page {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.status-page .container {
    max-width: 600px;
    padding: 40px;
    background-color: var(--bg-dark);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.success-icon {
    font-size: 4em;
    color: var(--neon-green);
    margin-bottom: 20px;
}

.error-icon {
    font-size: 4em;
    color: var(--accent-red);
    margin-bottom: 20px;
}

.status-page p {
    margin-bottom: 25px;
    color: var(--text-light-gray);
}

.status-actions {
    /* FIX: Flexbox to space buttons evenly and allow wrapping */
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 15px; /* Use gap property for spacing */
}

.status-actions a {
    /* Reset margins and allow flexbox to handle spacing */
    margin: 0;
    display: inline-flex; 
    align-items: center;
    
    /* Ensure icon inside button has space */
    padding: 12px 18px; 
}
.status-actions a i {
    margin-right: 8px;
}


/* ===================================================================
   FOOTER
   =================================================================== */
.main-footer {
    background-color: var(--bg-dark);
    padding: 50px 0;
    border-top: 3px solid var(--forest-green);
    color: var(--text-light-gray);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand, .footer-links, .footer-social {
    min-width: 200px;
}

.footer-brand .logo {
    margin-bottom: 10px;
}

.footer-links h3, .footer-social h3 {
    color: var(--text-white);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    display: block;
    padding: 5px 0;
    color: var(--text-light-gray);
}

.footer-social {
    text-align: right;
}

.social-icons a {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--text-light-gray);
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--neon-green);
}

.copyright {
    margin-top: 20px;
    font-size: 0.9em;
    opacity: 0.7;
}

/* ===================================================================
   ANIMATIONS & EFFECTS
   =================================================================== */

/* --- Stronger Neon Glow Effect --- */
.neon-glow {
    color: var(--neon-green);
    text-shadow: 
        0 0 10px rgba(124, 252, 61, 0.8), 
        0 0 20px rgba(124, 252, 61, 0.6),
        0 0 30px rgba(124, 252, 61, 0.4); 
}

/* --- Glow Pulse for Buttons/Links --- */
@keyframes glow-pulse {
    0% { box-shadow: 0 0 8px var(--bright-green-glow); }
    50% { box-shadow: 0 0 25px var(--bright-green-glow), 0 0 40px rgba(57, 255, 20, 0.6); } 
    100% { box-shadow: 0 0 8px var(--bright-green-glow); }
}

.glow-effect:hover {
    animation: glow-pulse 1.5s infinite alternate;
    border-color: var(--bright-green-glow) !important;
}

/* --- Shimmer Animation (For large text) --- */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.shimmer-text {
    background: linear-gradient(
        90deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        var(--text-white) 50%, 
        rgba(255, 255, 255, 0.1) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 5s infinite linear;
}

/* --- Fade In (Scroll Reveal) --- */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
    transform: translateY(20px);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal.delay-1 { transition-delay: 0.2s; }
.scroll-reveal.delay-2 { transition-delay: 0.4s; }
.scroll-reveal.delay-3 { transition-delay: 0.6s; }
.scroll-reveal.delay-4 { transition-delay: 0.8s; }
.scroll-reveal.delay-5 { transition-delay: 1.0s; }


/* ===================================================================
   RESPONSIVE DESIGN (Media Queries)
   =================================================================== */
@media (max-width: 992px) {
    /* Grids */
    .feature-cards-grid, .stats-grid, .service-cards-grid, .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .detailed-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Contact Page */
    .two-column-layout {
        /* Stack columns vertically on tablet/mobile */
        flex-direction: column;
    }
    .contact-form-container {
        order: -1; 
    }
    
    /* Footer */
    .footer-content {
        justify-content: space-around;
        text-align: center;
    }
    .footer-social {
        text-align: center;
        margin-top: 30px;
    }
    .social-icons a {
        margin: 0 10px;
    }
}

@media (max-width: 768px) {
    /* Typography */
    .hero-content h1 {
        font-size: 3em;
    }
    .hero-content h2 {
        font-size: 1.5em;
    }
    .section-title {
        font-size: 2em;
    }
    
    /* Header & Navigation */
    .desktop-nav {
        display: none;
    }
    .mobile-nav-toggle {
        display: block;
    }

    /* Grids to single column */
    .feature-cards-grid, 
    .stats-grid,
    .service-cards-grid,
    .services-grid,
    .detailed-services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Lightbox Responsive Fixes */
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 10px; right: 10px; }
    .lightbox-content { max-width: 95%; max-height: 95%; }
    .lightbox-prev, .lightbox-next { 
        font-size: 2em; 
        padding: 5px; 
        background: rgba(0, 0, 0, 0.5); 
        border-radius: 4px;
    }

    .g-recaptcha {
        /* Ensure it scales down properly on smaller screens */
        transform: scale(0.85); 
        transform-origin: left;
    }
    
    /* Force buttons to stack full-width on mobile to avoid squeezing */
    .status-actions a {
        width: 100%;
        margin: 5px 0 !important;
        justify-content: center;
    }
}