/* ==========================================
   MISSOURI BAIL BONDS - CUSTOM STYLES
   ========================================== */

/* CSS Variables - Colors optimized for Forest Green & Cream branding */
:root {
    /* Client Brand Colors */
    --primary-green: #2d5016;        /* Forest Green - Primary brand color */
    --secondary-cream: #f5f5dc;      /* Cream - Secondary brand color */
    
    /* Complementary Vibrant Colors */
    --accent-gold: #d4a574;          /* Warm gold accent - complements green & cream */
    --dark-forest: #1a3310;          /* Darker green for depth and headers */
    --sage-green: #4a7c59;           /* Lighter sage for variety */
    --warm-brown: #6b4423;           /* Rich brown for contrast */
    
    /* Neutral Colors */
    --off-white: #fafaf5;            /* Slightly warmer white */
    --light-cream: #fefef8;          /* Very light cream for backgrounds */
    --dark-charcoal: #2a2a2a;        /* Dark neutral for text */
    
    /* Functional Colors */
    --white: #ffffff;
    --text-light: rgba(250, 250, 245, 0.85);  /* Light text on dark backgrounds */
    --text-dark: rgba(42, 42, 42, 0.9);       /* Dark text on light backgrounds */
    --shadow-color: rgba(45, 80, 22, 0.15);   /* Green-tinted shadows */
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar-toggler {
    position: relative;
    z-index: 1100;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.navbar-toggler:focus {
    box-shadow: none;
    border-color: var(--accent-gold);
}

.navbar {
    background: transparent;
    padding: 20px 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.navbar.navbar-dark.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
}

.navbar-brand .logo {
    height: 60px;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand .logo {
    height: 50px;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    margin: 0 10px;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-gold) !important;
}

.navbar-buttons .btn {
    padding: 10px 25px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 5px;
    text-transform: uppercase;
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-danger {
    background: var(--primary-green);
    border: 2px solid var(--primary-green);
    color: var(--white);
}

.btn-danger:hover {
    background: var(--dark-forest);
    border-color: var(--dark-forest);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-color);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    background: linear-gradient(135deg, rgba(26, 51, 16, 0.90) 0%, rgba(45, 80, 22, 0.85) 50%, rgba(107, 68, 35, 0.80) 100%), 
                url('https://via.placeholder.com/1920x1080/f5f5dc/2d5016?text=Hero+Background+Image+1920x1080') center center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 150px 0 120px;
    position: relative;
    overflow: visible;
    margin-bottom: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(26, 51, 16, 0.95) 0%, rgba(26, 51, 16, 0.85) 40%, transparent 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 3;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 3;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 3;
}

/* Hero image is now used as background - see .hero-section */

.hero-buttons .btn {
    padding: 15px 40px;
    font-size: 16px;
    position: relative;
    z-index: 10;
}

/* Feature Cards Wrapper - Creates overlap effect */
.feature-cards-wrapper {
    position: relative;
    z-index: 50;
    margin-top: -100px;
    padding-bottom: 60px;
}

/* Feature Cards Row */
.feature-cards-row {
    position: relative;
    z-index: 50;
    padding-bottom: 0;
}

.feature-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
    z-index: 50;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 165, 116, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 28px;
    color: var(--primary-green);
}

.feature-card h5 {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

.feature-card strong {
    font-weight: 700;
}

/* ==========================================
   WHAT IS BAIL SECTION
   ========================================== */
.what-is-bail {
    background: var(--white);
    position: relative;
    padding-top: 20px !important;
}

.video-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(45, 80, 22, 0.4);
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--dark-forest);
    box-shadow: 0 6px 30px rgba(45, 80, 22, 0.6);
}

.video-play-btn i {
    font-size: 30px;
    color: var(--white);
    margin-left: 5px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

/* ==========================================
   WHY CHOOSE SECTION
   ========================================== */
.why-choose {
    background: linear-gradient(135deg, var(--warm-brown) 0%, var(--primary-green) 100%);
    position: relative;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%236b4423" width="100" height="100"/></svg>');
    opacity: 0.1;
}

.why-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.why-card:hover {
    transform: translateY(-10px);
}

.why-card-featured {
    background: var(--accent-gold);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.why-card-featured:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.4);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: rgba(74, 124, 89, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-card-featured .why-icon {
    background: rgba(45, 80, 22, 0.2);
}

.why-icon i {
    font-size: 36px;
    color: var(--primary-green);
}

.why-card-featured .why-icon i {
    color: var(--dark-forest);
}

.why-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.why-card-featured h4 {
    color: var(--white);
}

.why-card p {
    color: #666;
    margin-bottom: 20px;
}

.why-card-featured p {
    color: rgba(255, 255, 255, 0.9);
}

.why-card .btn {
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    background: transparent;
    padding: 10px 25px;
    font-weight: 600;
}

.why-card .btn:hover {
    background: var(--primary-green);
    color: var(--white);
}

.why-card-featured .btn {
    border: 2px solid var(--dark-forest);
    color: var(--dark-forest);
}

.why-card-featured .btn:hover {
    background: var(--dark-forest);
    color: var(--white);
}

/* ==========================================
   LOCATIONS SECTION
   ========================================== */
.locations-section {
    background: var(--sage-green);
}

.location-content h2 {
    line-height: 1.4;
}

/* ==========================================
   PROCESS SECTION
   ========================================== */
.process-section {
    background: linear-gradient(135deg, var(--dark-forest) 0%, var(--primary-green) 100%);
}

.process-steps {
    padding: 20px 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-forest);
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-section {
    background: var(--light-cream);
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-avatar {
    margin-bottom: 20px;
}

.testimonial-avatar img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.testimonial-info h5 {
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.testimonial-text {
    color: #666;
    line-height: 1.8;
    font-style: italic;
}

/* ==========================================
   TEAM SECTION
   ========================================== */
.team-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    margin-bottom: 20px;
}

.team-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 0 auto;
}

.team-role {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.team-bio {
    color: #666;
    line-height: 1.6;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
    background: linear-gradient(135deg, var(--warm-brown) 0%, var(--dark-forest) 100%);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-control {
    border: 2px solid #e0e0e0;
    padding: 12px 15px;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(45, 80, 22, 0.25);
}

/* ==========================================
   NEWSLETTER SECTION
   ========================================== */
.newsletter-section {
    background: var(--secondary-cream);
}

.newsletter-form .form-control {
    padding: 15px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer-section {
    background: var(--dark-forest);
    color: var(--text-light);
}

.footer-logo {
    max-width: 250px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-gold);
    transform: translateY(-3px);
    color: var(--dark-forest);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .navbar-nav {
        margin-top: 20px;
    }
    
    .navbar-buttons {
        margin-top: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 12px 30px;
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .feature-cards-row {
        margin-top: 30px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-white-50 {
    color: var(--text-light) !important;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 16px;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title,
.hero-subtitle,
.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    animation-delay: 0.2s;
}

.hero-text {
    animation-delay: 0.4s;
}

/* ==========================================
   ADDITIONAL STYLES FOR MULTI-PAGE SITE
   ========================================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--dark-forest) 0%, var(--primary-green) 100%);
    padding: 150px 0 80px;
    text-align: center;
    margin-top: 0;
}

/* Text Accent Color */
.text-accent {
    color: var(--accent-gold);
}

/* Expertise Cards */
.expertise-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(45, 80, 22, 0.15);
}

.expertise-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--sage-green) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.expertise-icon i {
    font-size: 36px;
    color: var(--white);
}

.expertise-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-charcoal);
    margin-bottom: 15px;
}

.expertise-card p {
    color: #666;
    line-height: 1.6;
}

/* Value Cards */
.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-green);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-left-color: var(--accent-gold);
    transform: translateX(10px);
}

.value-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 15px;
}

.value-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-charcoal);
    margin-bottom: 15px;
}

.value-card p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* Approach Steps */
.approach-step {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.approach-step:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
}

.approach-step .step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-gold);
    color: var(--dark-forest);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.approach-step h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 15px;
}

.approach-step p {
    color: var(--text-light);
    margin: 0;
}

/* Service Badge */
.service-badge {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: var(--accent-gold);
    color: var(--dark-forest);
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* Service Items */
.service-item {
    background: var(--light-cream);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.service-item i {
    font-size: 1.2rem;
}

/* Service Features */
.service-features {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-feature-item {
    display: flex;
    gap: 15px;
}

.feature-check {
    width: 30px;
    height: 30px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Automation Grid */
.automation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.automation-item {
    background: var(--light-cream);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.automation-item:hover {
    background: var(--accent-gold);
    transform: scale(1.05);
}

.automation-item i {
    font-size: 2rem;
    color: var(--primary-green);
    display: block;
    margin-bottom: 10px;
}

.automation-item:hover i {
    color: var(--dark-forest);
}

/* Transformation List */
.transformation-list {
    list-style: none;
    padding: 0;
}

.transformation-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
}

.transformation-list li:last-child {
    border-bottom: none;
}

/* Industry Cards */
.industry-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(45, 80, 22, 0.15);
}

.industry-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--primary-green) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.industry-icon i {
    font-size: 3rem;
    color: var(--white);
}

.industry-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-charcoal);
    margin-bottom: 15px;
}

.industry-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Portfolio Items */
.portfolio-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(45, 80, 22, 0.15);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--sage-green) 0%, var(--primary-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--accent-gold);
    color: var(--dark-forest);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-charcoal);
    margin-bottom: 15px;
}

.portfolio-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.portfolio-tag {
    padding: 5px 12px;
    background: var(--light-cream);
    border-radius: 5px;
    font-size: 0.85rem;
    color: var(--primary-green);
}

/* Contact Form Enhancements */
.contact-info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 20px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 1.3rem;
}

.contact-info-text h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-charcoal);
    margin-bottom: 5px;
}

.contact-info-text p {
    color: #666;
    margin: 0;
}

/* CTA Buttons */
.cta-buttons .btn {
    padding: 15px 40px;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-outline-primary {
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-green);
    color: var(--white);
}

/* Responsive Adjustments for New Elements */
@media (max-width: 767px) {
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .service-badge {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .automation-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-icon {
        width: 80px;
        height: 80px;
    }
    
    .industry-icon i {
        font-size: 2rem;
    }
    
    .value-number {
        font-size: 2rem;
    }
}

/* Impact Stats */
.impact-stat {
    padding: 30px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 15px;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 600;
}

/* Navbar specific fixes for all pages */
.navbar-expand-lg {
    position: fixed !important;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar-expand-lg.scrolled {
    background-color: rgba(26, 51, 16, 0.98) !important;
}

/* Mobile navbar - keep transparent initially */
@media (max-width: 991px) {
    .navbar {
        background: transparent !important;
    }
    
    .navbar.scrolled {
        background: rgba(255, 255, 255, 0.98) !important;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
        border: 2px solid #2d5016;
    }
    
    .navbar-toggler {
        background: rgba(26, 51, 16, 0.8);
        border: 2px solid rgba(255, 255, 255, 0.5);
    }
}

/* Process Section - Side by Side Layout with Center Image */
.process-step-side {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.process-step-side .step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-forest);
    flex-shrink: 0;
}

.process-step-side .step-content {
    flex-grow: 1;
}

.process-step-side .step-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.process-step-side .step-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.process-center-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive adjustments for process section */
@media (max-width: 991px) {
    .process-center-image {
        margin: 40px 0;
        max-width: 400px;
    }
    
    .process-step-side {
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .process-step-side .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .process-center-image {
        max-width: 300px;
    }
}

/* Logo Switching - Different logos for transparent vs scrolled navbar */
.navbar-brand .logo-transparent {
    display: block;
}

.navbar-brand .logo-scrolled {
    display: none;
}

.navbar.scrolled .logo-transparent {
    display: none;
}

.navbar.scrolled .logo-scrolled {
    display: block;
}

/* Navbar color variations */
.navbar-brand .logo {
    transition: all 0.3s ease;
}

/* ==========================================
   404 ERROR PAGE STYLES
   ========================================== */
.error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--light-cream) 0%, var(--white) 100%);
}

.error-icon {
    font-size: 5rem;
    color: var(--primary-green);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.error-number {
    font-size: 10rem;
    font-weight: 900;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0 var(--accent-gold);
}

.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-charcoal);
}

.error-text {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
}

.error-suggestions ul {
    display: inline-block;
    text-align: left;
}

.error-suggestions li {
    font-size: 1.1rem;
    color: #666;
}

.error-search .search-form .form-control {
    border: 2px solid var(--primary-green);
    padding: 15px 20px;
}

.error-search .search-form .form-control:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 165, 116, 0.25);
}

.quick-link-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.quick-link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(45, 80, 22, 0.15);
}

.quick-link-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--sage-green) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.quick-link-icon i {
    font-size: 2rem;
    color: var(--white);
}

.quick-link-card h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-charcoal);
    margin-bottom: 10px;
}

.quick-link-card p {
    color: #666;
    margin-bottom: 20px;
}

/* ==========================================
   MINIMAL COMING SOON PAGE STYLES
   ========================================== */
.minimal-coming-soon {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--dark-forest) 0%, var(--primary-green) 100%);
    position: relative;
    overflow: hidden;
}

.minimal-coming-soon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(245, 245, 220, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.minimal-coming-soon .container {
    position: relative;
    z-index: 2;
}

/* Large Logo */
.large-logo {
    animation: fadeInScale 1s ease-in-out;
}

.large-logo img {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.3));
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* We Will Be Live In Text */
.live-in-text {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-in-out 0.3s both;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Countdown Container */
.countdown-container {
    animation: fadeInUp 1s ease-in-out 0.6s both;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 3px solid var(--accent-gold);
    border-radius: 20px;
    padding: 30px 20px;
    transition: all 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 60px rgba(212, 165, 116, 0.3);
}

.countdown-value {
    font-size: 5rem;
    font-weight: 900;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    font-family: 'Arial Black', sans-serif;
}

.countdown-text {
    font-size: 1.2rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .large-logo img {
        max-width: 400px;
    }
    
    .live-in-text {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .countdown-value {
        font-size: 3.5rem;
    }
    
    .countdown-text {
        font-size: 1rem;
    }
    
    .countdown-item {
        padding: 25px 15px;
    }
}

@media (max-width: 767px) {
    .large-logo img {
        max-width: 300px;
    }
    
    .live-in-text {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .countdown-value {
        font-size: 2.5rem;
    }
    
    .countdown-text {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }
    
    .countdown-item {
        padding: 20px 10px;
        border-width: 2px;
    }
    
    .minimal-coming-soon {
        padding: 40px 15px;
    }
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .error-number {
        font-size: 6rem;
    }
    
    .error-title {
        font-size: 1.8rem;
    }
    
    .coming-soon-title {
        font-size: 2rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-box {
        padding: 20px 15px;
    }
}

/* ==========================================
   NAVBAR - WHITE SCROLLED STATE OVERRIDES
   ========================================== */

/* Text links turn green on white background */
.navbar.scrolled .nav-link {
    color: #2d5016 !important;  /* Forest green */
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: #d4a574 !important;  /* Accent gold on hover/active */
}

/* GET STARTED button - green outline */
.navbar.scrolled .btn-outline-light {
    border: 2px solid #2d5016 !important;
    color: #2d5016 !important;
    background: transparent !important;
}

.navbar.scrolled .btn-outline-light:hover {
    background: #2d5016 !important;
    color: #ffffff !important;
    border-color: #2d5016 !important;
}

/* CONTACT US button - solid green */
.navbar.scrolled .btn-danger {
    background: #2d5016 !important;
    border-color: #2d5016 !important;
    color: #ffffff !important;
}

.navbar.scrolled .btn-danger:hover {
    background: #1a3310 !important;  /* Darker green on hover */
    border-color: #1a3310 !important;
}

/* Mobile hamburger icon on white navbar */
.navbar.scrolled .navbar-toggler {
    background: rgba(45, 80, 22, 0.1) !important;
    border: 2px solid #2d5016 !important;
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgb(45, 80, 22)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}