/* MVD Movers - Simplified Custom Styles with Orange & Dark Green Theme */

:root {
    --primary-color: #FF8C00;        /* Dark Orange */
    --primary-dark: #E67E00;         /* Darker Orange */
    --secondary-color: #2D5016;      /* Dark Green */
    --secondary-light: #3D6B1F;      /* Lighter Dark Green */
    --accent-color: #FFA500;         /* Bright Orange */
    --text-dark: #212529;
    --text-light: #6c757d;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --success-color: #2D5016;
    --border-color: #e9ecef;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header Styles */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}
/* HERO FIX */
.hero-wrap {
    height: 70vh;
    max-height: 700px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile fix */
@media (max-width: 768px) {
    .hero-wrap {
        height: 90vh;
    }
}

.navbar-brand i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    color: var(--text-dark) !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link i {
    margin-right: 0.25rem;
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 500px;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Card Hover Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.2) !important;
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.2);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    border-color: var(--secondary-light);
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

/* Typography */
.display-4, .display-5, .display-6 {
    font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Badge Styles */
.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-success {
    color: var(--secondary-color) !important;
}

/* Card Styles */
.card {
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.card-body {
    padding: 2rem;
}

/* Form Styles */
.form-control, .form-select {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Footer Styles */
footer {
    background-color: var(--secondary-color) !important;
}

footer a:hover {
    color: var(--primary-color) !important;
    transition: color 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0 !important;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* Enhanced Mobile Animations and Transitions */

/* Smooth Transitions */
.btn, .nav-link, .card, .gallery-item {
    transition: all 0.3s ease;
}

/* Mobile Touch Feedback */
@media (max-width: 768px) {
    .btn:active, .nav-link:active, .card:active {
        transform: scale(0.98);
    }
    
    .btn:hover, .nav-link:hover, .card:hover {
        transform: translateY(-2px);
    }
    
    /* Mobile-specific hover states */
    .card:hover {
        box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
    }
    
    .gallery-item:hover {
        transform: translateY(-5px);
    }
    
    .gallery-item:hover .gallery-overlay {
        background: linear-gradient(135deg, rgba(45, 80, 22, 0.95), rgba(255, 140, 0, 0.95));
    }
}

/* Mobile Animations */
@media (max-width: 576px) {
    /* Fade in animation for mobile */
    .fade-in-mobile {
        animation: fadeInMobile 0.6s ease-out;
    }
    
    @keyframes fadeInMobile {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Slide in animation for navigation */
    .navbar-collapse.show {
        animation: slideInNav 0.3s ease-out;
    }
    
    @keyframes slideInNav {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    

    
    /* Smooth scroll behavior */
    html {
        scroll-behavior: smooth;
    }
}

/* Loading animations for mobile */
@media (max-width: 768px) {
    .skeleton {
        background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
        background-size: 200% 100%;
        animation: loading 1.5s infinite;
    }
    
    @keyframes loading {
        0% {
            background-position: 200% 0;
        }
        100% {
            background-position: -200% 0;
        }
    }
}

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

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-muted {
    color: #6c757d !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Icon Sizes */
.display-4 i {
    font-size: 3rem;
}

/* Compact Form Styles */
.compact-form .form-control,
.compact-form .form-select {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

.compact-form .form-label {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.compact-form .mb-3 {
    margin-bottom: 1rem !important;
}

/* Contact Form Specific */
.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/* Service Page Styles */
.service-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 4rem 0;
    color: white;
}

.service-content {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

/* FAQ Styles */
.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

/* Testimonial Styles */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    height: 100%;
}

.testimonial-rating {
    color: var(--primary-color);
}

/* Stats Section */
.stats-section {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 0;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Loading Animation */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Gallery Styles */
.gallery-section {
    background: var(--light-color);
    padding: 3rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 1rem;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(45, 80, 22, 0.9), transparent);
    color: white;
    padding: 1rem;
    border-radius: 0 0 1rem 1rem;
}

/* Alert Styles */
.alert-success {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

/* Border Colors */
.border-primary {
    border-color: var(--primary-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}

/* Background Colors */
.bg-light-orange {
    background-color: rgba(255, 140, 0, 0.1);
}

.bg-light-green {
    background-color: rgba(45, 80, 22, 0.1);
}

.bg-opacity-10 {
    opacity: 0.1;
}

/* Check Icons */
.bi-check-circle-fill.text-success {
    color: var(--secondary-color) !important;
}

.bi-check-circle.text-success {
    color: var(--secondary-color) !important;
}

/* Link Hover */
a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
}

/* Navbar Toggle */
.navbar-toggler {
    border-color: var(--primary-color);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

/* Modal Styles */
.modal-content {
    border-radius: 1rem;
}

.modal-header {
    padding: 1rem 1rem 0;
}

.modal-body {
    padding: 2rem;
}

.modal .btn-close {
    padding: 1rem;
}

.modal .form-control,
.modal .form-select {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid var(--border-color);
}

.modal .form-control:focus,
.modal .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.15);
}

/* Modal Icon Circle */
.modal .bg-primary.bg-opacity-10 {
    background-color: rgba(255, 140, 0, 0.1) !important;
}

/* Modal Animation */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* Home Quote Form Card */
.card.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.card.border-0 {
    border: none !important;
}

/* Form Enhancements */
input.form-control::placeholder,
select.form-select {
    color: #6c757d;
}

input.form-control:focus::placeholder {
    color: #adb5bd;
}

/* Button with Icon */
.btn i {
    margin-right: 0.5rem;
}

/* Enhanced Mobile Responsive Styles */

/* Mobile Navigation */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-brand i {
        font-size: 1.5rem;
    }
    
    .navbar-toggler {
        border: 2px solid var(--primary-color);
        padding: 0.25rem 0.5rem;
        border-radius: 0.375rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
    }
    
    .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='%23FF8C00' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    .navbar-nav {
        background: var(--white);
        border-radius: 0.5rem;
        padding: 1rem;
        box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }
    
    .nav-link:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
    
    .nav-link i {
        margin-right: 0.5rem;
        font-size: 1.2rem;
    }
    
    .navbar .btn {
        margin-top: 1rem;
        padding: 0.75rem;
        font-size: 1.1rem;
    }
}

/* Tablet Styles */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0 !important;
    }

    .display-4 {
        font-size: 2.2rem;
        font-weight: 700;
    }

    .display-5 {
        font-size: 1.8rem;
    }

    .display-6 {
        font-size: 1.6rem;
    }

    section {
        padding: 3rem 0;
    }
    
    .hero-overlay h1 {
        font-size: 2.5rem !important;
        margin-bottom: 1rem;
    }
    
    .hero-overlay .lead {
        font-size: 1.1rem !important;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .card {
        margin-bottom: 1.5rem;
        border-radius: 0.75rem;
        overflow: hidden;
    }
    
    .card-img-top {
        height: 200px;
        object-fit: cover;
    }
    
    .gallery-item {
        margin-bottom: 1rem;
    }
    
    .gallery-overlay h4 {
        font-size: 1.2rem;
    }
    
    .form-control, .form-select {
        font-size: 1rem;
        padding: 0.75rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
}

/* Mobile Phone Styles */
@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-section {
        padding: 3rem 0 !important;
    }
    
    .hero-overlay h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    .hero-overlay .lead {
        font-size: 1rem !important;
    }
    
    .display-4 {
        font-size: 1.8rem;
    }

    .display-5 {
        font-size: 1.5rem;
    }

    .display-6 {
        font-size: 1.3rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    .gallery-item {
        margin-bottom: 0.75rem;
    }
    
    .gallery-overlay {
        padding: 1rem;
    }
    
    .gallery-overlay h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .gallery-overlay p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }
    
    .form-control, .form-select {
        font-size: 0.95rem;
        padding: 0.625rem;
    }
    
    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
    
    .modal-dialog {
        margin: 1rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .hero-overlay h1 {
        font-size: 1.8rem !important;
    }
    
    .display-4 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .card-img-top {
        height: 150px;
    }
    
    .gallery-overlay h4 {
        font-size: 0.95rem;
    }
    
    .gallery-overlay p {
        font-size: 0.85rem;
    }
}

/* Enhanced Mobile Form Optimizations */

/* Touch-friendly form elements */
@media (max-width: 768px) {
    .form-control, .form-select {
        min-height: 48px; /* iOS touch target size */
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 12px 16px;
        border-radius: 8px;
        border: 2px solid var(--border-color);
        background-color: var(--white);
        transition: all 0.3s ease;
    }
    
    .form-control:focus, .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.1);
        outline: none;
    }
    
    .form-label {
        font-weight: 600;
        color: var(--text-dark);
        margin-bottom: 8px;
        font-size: 14px;
    }
    
    .form-check {
        margin-bottom: 16px;
    }
    
    .form-check-input {
        width: 20px;
        height: 20px;
        border: 2px solid var(--border-color);
        cursor: pointer;
    }
    
    .form-check-input:checked {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
    }
    
    .form-check-label {
        font-size: 14px;
        cursor: pointer;
        padding-left: 8px;
    }
    
    /* Mobile form groups */
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-row {
        margin-bottom: 16px;
    }
    
    /* Mobile form buttons */
    .btn-form {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 8px;
        margin-bottom: 12px;
    }
    
    .btn-form:last-child {
        margin-bottom: 0;
    }
}

/* Enhanced Mobile Form Layouts */
@media (max-width: 576px) {
    .contact-form, .quote-form {
        padding: 20px;
        border-radius: 12px;
    }
    
    .form-section {
        margin-bottom: 24px;
    }
    
    .form-section-title {
        font-size: 18px;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 16px;
        padding-bottom: 8px;
        border-bottom: 2px solid var(--primary-color);
    }
    
    /* Two-column mobile form layout */
    .form-row-two-col {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Three-column mobile form layout */
    .form-row-three-col {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Mobile form validation */
@media (max-width: 768px) {
    .form-control.is-valid {
        border-color: var(--success-color);
        background-image: none;
    }
    
    .form-control.is-invalid {
        border-color: #dc3545;
        background-image: none;
    }
    
    .invalid-feedback {
        font-size: 12px;
        margin-top: 4px;
        color: #dc3545;
    }
    
    .valid-feedback {
        font-size: 12px;
        margin-top: 4px;
        color: var(--success-color);
    }
}

/* Mobile form loading states */
@media (max-width: 768px) {
    .btn.loading {
        position: relative;
        color: transparent !important;
        pointer-events: none;
    }
    
    .btn.loading::after {
        content: "";
        position: absolute;
        width: 20px;
        height: 20px;
        top: 50%;
        left: 50%;
        margin-left: -10px;
        margin-top: -10px;
        border: 2px solid var(--white);
        border-radius: 50%;
        border-top-color: transparent;
        animation: spin 1s linear infinite;
    }
    
    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }
}

/* Touch gesture optimizations */
@media (max-width: 768px) {
    /* Improved touch targets */
    .btn, .nav-link, .card, .gallery-item {
        min-height: 44px; /* Minimum touch target size */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Swipe hints */
    .swipe-hint {
        position: relative;
        overflow: hidden;
    }
    
    .swipe-hint::after {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        animation: swipe 3s infinite;
    }
    
    @keyframes swipe {
        0% {
            left: -100%;
        }
        50%, 100% {
            left: 100%;
        }
    }
}

/* Enhanced Mobile Hero Section */
@media (max-width: 768px) {
    .hero-section {
        position: relative;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    
    .hero-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(45, 80, 22, 0.8), rgba(255, 140, 0, 0.6));
        z-index: 1;
    }
    
    .hero-content {
        position: relative;
        z-index: 2;
        text-align: center;
        padding: 2rem 1rem;
        max-width: 100%;
    }
    
    .hero-overlay {
        padding: 3rem 2rem;
        border-radius: 1rem;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
    }
    
    .hero-overlay h1 {
        font-size: 2.5rem !important;
        font-weight: 800;
        color: var(--text-dark);
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .hero-overlay .lead {
        font-size: 1.1rem !important;
        color: var(--text-light);
        margin-bottom: 2rem;
        line-height: 1.6;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    /* Hero image optimization */
    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    /* Hero animations */
    .hero-overlay {
        animation: heroFadeIn 1s ease-out;
    }
    
    @keyframes heroFadeIn {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (max-width: 576px) {
    .hero-overlay {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .hero-overlay h1 {
        font-size: 2rem !important;
    }
    
    .hero-overlay .lead {
        font-size: 1rem !important;
    }
    
    .hero-buttons .btn {
        max-width: 250px;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* Mobile Gallery Enhancements */
@media (max-width: 768px) {
    .gallery-section {
        padding: 3rem 0;
    }
    
    .gallery-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .gallery-item {
        position: relative;
        overflow: hidden;
        border-radius: 0.75rem;
        cursor: pointer;
        height: 250px;
        box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    }
    
    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    
    .gallery-item:hover img {
        transform: scale(1.05);
    }
    
    .gallery-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(45, 80, 22, 0.95), transparent);
        padding: 1.5rem;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }
    
    .gallery-item:hover .gallery-overlay {
        transform: translateY(0);
    }
    
    .gallery-overlay h4 {
        color: var(--white);
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }
    
    .gallery-overlay p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.9rem;
        margin: 0;
    }
}

@media (max-width: 576px) {
    .gallery-item {
        height: 200px;
    }
    
    .gallery-overlay {
        padding: 1rem;
    }
    
    .gallery-overlay h4 {
        font-size: 1rem;
    }
    
    .gallery-overlay p {
        font-size: 0.85rem;
    }
}