/* ===== CSS Variables ===== */
:root {
    /* Green Color Palette - Professional Forest Theme */
    --primary-color: #255429;        /* Main forest green */
    --primary-dark: #1A3D1E;         /* Darker forest green */
    --primary-light: #4A8F4F;        /* Lighter forest green */
    --secondary-color: #E8F5E8;      /* Very light green */
    --accent-color: #34A853;         /* Vibrant green accent */
    
    /* Text Colors - High Contrast for Readability */
    --text-dark: #1B2A1D;           /* Dark green-tinted text */
    --text-light: #2D4A31;          /* Medium green-tinted text */
    --text-muted: #5A6B5D;          /* Muted green-gray text */
    
    /* Background Colors */
    --white: #FFFFFF;               /* Pure white */
    --light-bg: #F7FDF7;            /* Subtle green-tinted background */
    --dark-bg: #1A1A1A;            /* Dark background */
    
    /* Borders and Effects */
    --border-color: #D1E7D1;        /* Light green border */
    --shadow: rgba(37, 84, 41, 0.1); /* Green-tinted shadow */
    --shadow-dark: rgba(0, 0, 0, 0.15); /* Neutral dark shadow */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --gradient-light: linear-gradient(135deg, var(--secondary-color) 0%, var(--light-bg) 100%);
    
    /* Transitions and Borders */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    
    /* Bootstrap Overrides */
    --bs-primary: #255429;
    --bs-primary-rgb: 37, 84, 41;
}

/* ===== Bootstrap Overrides ===== */
.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    --bs-btn-bg: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-bg: var(--primary-dark);
    --bs-btn-hover-border-color: var(--primary-dark);
    --bs-btn-active-bg: var(--primary-dark);
    --bs-btn-active-border-color: var(--primary-dark);
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h5 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h6 { font-size: clamp(1rem, 1.5vw, 1.25rem); }

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

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

/* ===== Loading Spinner ===== */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

.loading-spinner .spinner-border {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) transparent var(--primary-color) transparent !important;
}

.loading-spinner.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ===== Navigation ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
    transition: var(--transition);
    z-index: 1000;
    position: relative;
}

/* Modern Hamburger Menu */
.navbar-toggler {
    border: none !important;
    padding: 0.5rem !important;
    background: transparent !important;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 8px !important;
    transition: var(--transition);
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler:hover {
    background: var(--secondary-color) !important;
}

/* Custom Hamburger Icon */
.navbar-toggler-icon {
    background: none !important;
    width: 24px !important;
    height: 2px !important;
    position: relative;
    transition: var(--transition);
    transform: rotate(0deg);
}

.navbar-toggler-icon,
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    background: var(--primary-color) !important;
    border-radius: 2px;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    transition: var(--transition);
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

/* Hamburger Animation */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent !important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px var(--shadow);
}

/* Logo Styles */
.navbar-brand {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark) !important;
    transition: all 0.3s ease;
    text-decoration: none;
}

.logo {
    height: 85px;
    width: auto;
    transition: var(--transition);
    margin-right: 0;
    border-radius: 50%;
    padding: 4px;
}



.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary-color);
    text-shadow: 0 1px 3px rgba(37, 84, 41, 0.1);
}

/* Responsive Logo */
@media (max-width: 768px) {
    .logo {
        height: 75px;
        margin-right: 0;
        padding: 3px;
    }
}

@media (max-width: 576px) {
    .logo {
        height: 65px;
        margin-right: 0;
        padding: 3px;
    }
    
    .navbar {
        padding: 0.4rem 0;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 60px;
        margin-right: 0;
        padding: 2px;
    }
}

@media (min-width: 1200px) {
    .logo {
        height: 95px;
        margin-right: 0;
        padding: 5px;
    }
}

@media (min-width: 1400px) {
    .logo {
        height: 105px;
        margin-right: 0;
        padding: 6px;
    }
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: var(--primary-color) !important;
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.navbar-brand:hover .brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: brightness(1.2);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    padding: 0.75rem 1.25rem !important;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 84, 41, 0.3);
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 80%;
}

.dropdown-toggle::after {
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-toggle:hover {
    background: var(--gradient-primary) !important;
    color: var(--white) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem 0;
    margin-top: 1rem;
    background: var(--white);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(37, 84, 41, 0.1);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 1rem 2rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
    font-size: 0.9rem;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-left-color: var(--white);
    transform: translateX(5px);
    padding-left: 2.5rem;
}

/* Mobile Navigation Improvements */
@media (max-width: 991.98px) {
    /* Force override Bootstrap dropdown behavior */
    .dropdown-toggle[data-bs-toggle="dropdown"] {
        pointer-events: auto !important;
    }
    
    .dropdown-menu.show {
        display: none !important;
    }
    
    .navbar-collapse {
        background: var(--white);
        border-radius: var(--border-radius);
        box-shadow: 0 10px 30px var(--shadow);
        margin-top: 1rem;
        padding: 1.5rem;
        border: 1px solid var(--border-color);
    }
    
    .navbar-nav {
        gap: 0.5rem;
    }
    
    .nav-item {
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .nav-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
    
    .nav-link {
        padding: 0.75rem 0 !important;
        font-weight: 600;
        font-size: 1.1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Simplified mobile dropdown behavior */
    .dropdown-menu {
        position: static;
        transform: none;
        border: none;
        box-shadow: none;
        background: var(--light-bg);
        border-radius: var(--border-radius);
        margin: 0.5rem 0 0 0;
        padding: 0.75rem;
        min-width: auto;
        float: none;
        width: 100%;
        border: 1px solid var(--border-color);
        /* Default hidden state */
        display: none;
    }
    
    /* When JavaScript shows the dropdown */
    .dropdown-menu[style*="display: block"] {
        display: block !important;
        animation: slideDownFast 0.2s ease-out;
    }
    
    .dropdown-item {
        padding: 0.75rem 1rem !important;
        border-radius: 8px !important;
        margin-bottom: 0.25rem !important;
        font-weight: 500;
        transition: var(--transition);
        color: var(--text-dark) !important;
        border-left: none !important;
        font-size: 0.95rem !important;
        text-transform: none !important;
        letter-spacing: normal !important;
    }
    
    .dropdown-item:hover,
    .dropdown-item:focus,
    .dropdown-item:active {
        background: var(--secondary-color) !important;
        color: var(--primary-color) !important;
        padding-left: 1rem !important;
        transform: none !important;
        border-left-color: transparent !important;
    }
    
    .dropdown-item:last-child {
        margin-bottom: 0;
    }
    
    .dropdown-item i {
        width: 20px;
        margin-right: 0.75rem;
        color: var(--primary-color);
    }
    
    .dropdown-toggle::after {
        margin-left: auto;
        margin-right: 0;
        transition: var(--transition);
    }
    
    .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }
    
    /* Disable Bootstrap hover behavior on mobile */
    .dropdown:hover .dropdown-menu {
        display: none;
        opacity: 0;
        visibility: hidden;
    }
    
    /* Touch feedback for mobile */
    .nav-link:active,
    .dropdown-item:active {
        background: var(--primary-color) !important;
        color: var(--white) !important;
        transform: scale(0.98);
    }
    
    /* Smooth menu animation */
    .navbar-collapse {
        animation: slideDown 0.3s ease-out;
    }
    
    .navbar-collapse.collapsing {
        animation: slideUp 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes slideUp {
        from {
            opacity: 1;
            transform: translateY(0);
        }
        to {
            opacity: 0;
            transform: translateY(-20px);
        }
    }
    
    @keyframes slideDownFast {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Improved touch targets */
    .nav-link,
    .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Better visual feedback */
    .dropdown-toggle[aria-expanded="true"] {
        background: var(--secondary-color);
        border-radius: var(--border-radius);
    }
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dropdown-item:hover::before {
    transform: scaleY(1);
}

.dropdown-item i {
    margin-right: 0.75rem;
    width: 16px;
    text-align: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.dropdown-item:hover i {
    color: var(--white);
    transform: scale(1.1);
}

.dropdown-divider {
    height: 1px;
    margin: 0.5rem 0;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border: none;
    opacity: 0.3;
}

/* ===== Buttons ===== */
.btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 84, 41, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 84, 41, 0.4);
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

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

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(37, 84, 41, 0.9) 0%, rgba(52, 168, 83, 0.8) 100%),
                url('https://images.unsplash.com/photo-1551836022-deb4988cc6c0?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    z-index: 1;
}

/* ===== Service Hero Section ===== */
.service-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(37, 84, 41, 0.9) 0%, rgba(52, 168, 83, 0.8) 100%),
                url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    z-index: 1;
}

.service-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    color: var(--white);
}

.service-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 1;
    line-height: 1.8;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    font-weight: 400;
}

.service-cta {
    margin-top: 2rem;
}

.breadcrumb {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.breadcrumb-item a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

/* ===== Detail Cards ===== */
.detail-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(37, 84, 41, 0.15);
    border-color: var(--primary-color);
}

.detail-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.detail-card:hover .detail-icon {
    transform: scale(1.1);
}

.detail-icon i {
    font-size: 2rem;
    color: var(--white);
}

.detail-card h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.detail-card p {
    color: var(--text-light);
    margin: 0;
}

/* ===== Gallery Items ===== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 84, 41, 0.9);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

.gallery-overlay h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-overlay p {
    margin: 0;
    opacity: 0.9;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    margin-top: 2rem;
}

/* ===== Feature Cards ===== */
.feature-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.15);
    border-color: var(--primary-color);
}

.feature-card.text-center {
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Responsive feature cards */
@media (max-width: 768px) {
    .feature-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .feature-icon i {
        font-size: 1.25rem;
    }
    
    .feature-card h5 {
        font-size: 1.1rem;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 84, 41, 0.7) 0%, rgba(26, 61, 30, 0.8) 100%);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    color: var(--white);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 1;
    line-height: 1.8;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    font-weight: 400;
}

.hero-buttons {
    margin-bottom: 3rem;
}

.hero-stats {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 1;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down {
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== Section Styles ===== */
.section-padding {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
    z-index: 5;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    position: relative;
    color: var(--dark);
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== About Section ===== */
#about {
    background: var(--white);
    position: relative;
    z-index: 10;
    margin-top: -1px;
}

.about-content {
    padding-right: 2rem;
}

.about-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(37, 84, 41, 0.1);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 84, 41, 0.2);
    background: var(--white);
    border-color: var(--primary-color);
}

.feature-item i {
    font-size: 2rem;
    margin-right: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-item h5 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-item p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.about-images {
    position: relative;
}

.main-image {
    width: 100%;
    border-radius: var(--border-radius-lg);
}

.floating-image {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 50%;
    height: 310px;
    border: 8px solid var(--white);
    border-radius: var(--border-radius);
    object-fit: cover;
    object-position: center top;
    aspect-ratio: auto;
}

.square-image {
    position: absolute;
    top: 47rem;
    left: 0rem;
    width: 140px;
    height: 150px;
    border: 6px solid var(--white);
    border-radius: var(--border-radius);
    object-fit: cover;
    object-position: center center;
    z-index: 2;
}

/* Responsive floating image adjustments */
@media (max-width: 768px) {
    .floating-image {
        width: 70%;
        height: 300px;
        bottom: -1rem;
        right: -1rem;
        border: 4px solid var(--white);
    }
    
    .square-image {
        width: 100px;
        height: 100px;
        top: -0.5rem;
        left: -1rem;
        border: 4px solid var(--white);
    }
}

@media (max-width: 576px) {
    .floating-image {
        width: 75%;
        height: 300px;
        bottom: -0.5rem;
        right: -0.5rem;
        object-position: center top;
    }
    
    .square-image {
        width: 80px;
        height: 80px;
        top: -0.3rem;
        left: -0.5rem;
        border: 3px solid var(--white);
    }
}

/* ===== Services Section ===== */
/*
.services-filter-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.services-filter-btn {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
    min-width: 120px;
    text-align: center;
}

.services-filter-btn:hover,
.services-filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 84, 41, 0.3);
}
*/

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-dark);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

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

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
    margin-top: auto;
}

.service-link:hover {
    color: var(--primary-dark);
}

.service-link i {
    transition: var(--transition);
}

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

/* ===== Portfolio Section ===== */
.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--light-bg);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.portfolio-item {
    transition: var(--transition);
}

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    background: var(--white);
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-dark);
}

.portfolio-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

/* Portfolio Filter Responsive */
.portfolio-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.filter-btn {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    min-width: 100px;
    text-align: center;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 84, 41, 0.3);
}

/* Portfolio View All Button */
.portfolio-view-all {
    text-align: center;
    margin-top: 3rem;
}

.portfolio-view-all .btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(37, 84, 41, 0.3);
    transition: var(--transition);
}

.portfolio-view-all .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 84, 41, 0.4);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

/* Responsive Portfolio */
@media (max-width: 768px) {
    .portfolio-filter {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .filter-btn {
        width: 200px;
        justify-content: center;
    }
    
    .portfolio-card img {
        height: 250px;
    }
    
    .portfolio-overlay h5 {
        font-size: 1.3rem;
    }
    
    .portfolio-overlay p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .portfolio-filter {
        gap: 0.5rem;
    }
    
    .filter-btn {
        width: 180px;
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .portfolio-card img {
        height: 220px;
    }
    
    .portfolio-overlay h5 {
        font-size: 1.2rem;
    }
    
    .portfolio-overlay p {
        font-size: 0.85rem;
    }
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 84, 41, 0.9);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: var(--transition);
}

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

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

.portfolio-overlay h5 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.portfolio-overlay p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.portfolio-link {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition);
}

.portfolio-link:hover {
    transform: scale(1.1);
    color: var(--primary-dark);
}

/* ===== Testimonials ===== */
.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px var(--shadow-dark);
}

.testimonial-content {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.stars {
    color: #FFD700;
    margin-bottom: 1rem;
}

.stars i {
    margin-right: 0.25rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--border-color);
}

.testimonial-author h6 {
    margin: 0;
    color: var(--text-dark);
}

.testimonial-author small {
    color: var(--text-muted);
}

/* ===== Contact Section ===== */
.contact-form {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px var(--shadow);
}

.form-control,
.form-select {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 84, 41, 0.25);
}

.contact-info {
    padding-left: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--shadow-dark);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--white);
    font-size: 1.25rem;
}

.contact-details h5 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    margin: 0;
    color: var(--text-light);
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0F1E11 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
    border-top: 4px solid var(--primary-color);
}

.footer-widget h5,
.footer-widget h6 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.newsletter-form .input-group {
    margin-top: 1rem;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    margin-left: 1.5rem;
    font-size: 0.875rem;
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(37, 84, 41, 0.2);
    pointer-events: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 84, 41, 0.4);
}

/* Responsive back-to-top positioning */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Ensure button stays in viewport */
@media (max-width: 320px) {
    .back-to-top {
        bottom: 0.75rem;
        right: 0.75rem;
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 1199.98px) {
    .hero-stats {
        margin-top: 2rem;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .contact-info {
        padding-left: 0;
        margin-top: 3rem;
    }
}

@media (max-width: 991.98px) {
    .section-padding {
        padding: 4rem 0;
    }

    .hero-section {
        background-attachment: scroll;
    }

    .floating-image {
        position: static;
        width: 100%;
        margin-top: 2rem;
        border: 4px solid var(--white);
    }

    .portfolio-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Mobile dropdown adjustments */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none;
        border: 1px solid var(--border-color);
        margin-top: 0.5rem;
        border-radius: var(--border-radius);
    }

    .dropdown-item {
        padding: 0.75rem 1.5rem;
        border-left: none;
    }

    .dropdown-item:hover {
        transform: none;
        padding-left: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-buttons {
        text-align: center;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .service-card,
    .contact-form {
        padding: 2rem;
    }
    
    .portfolio-card img {
        height: 250px;
    }
    
    .footer-bottom-links a {
        display: block;
        margin: 0.5rem 0;
    }
}

@media (max-width: 575.98px) {
    .hero-stats {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .feature-item,
    .contact-item {
        padding: 1rem;
    }
    
    .service-card,
    .testimonial-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    .section-title::after {
        width: 40px;
    }
}

/* ===== Animation Classes ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition);
}

.slide-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition);
}

.slide-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* ===== Utility Classes ===== */
.text-primary {
    color: var(--primary-color) !important;
}

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

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

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== Print Styles ===== */
@media print {
    .navbar,
    .back-to-top,
    .hero-buttons,
    .contact-form {
        display: none !important;
    }
    
    .hero-section {
        background: none !important;
        color: var(--text-dark) !important;
        min-height: auto !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
}

/* ===== High Contrast Mode ===== */
@media (prefers-contrast: high) {
    :root {
        --shadow: rgba(0, 0, 0, 0.5);
        --shadow-dark: rgba(0, 0, 0, 0.7);
    }
    
    .btn-primary {
        background: var(--primary-dark);
    }
    
    .service-card,
    .testimonial-card,
    .portfolio-card {
        border: 2px solid var(--text-dark);
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-down {
        animation: none;
    }
}

/* ===== Focus Styles ===== */
.btn:focus,
.form-control:focus,
.form-select:focus,
.nav-link:focus,
.portfolio-link:focus,
.social-link:focus,
.back-to-top:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== Selection Styles ===== */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--white);
}

/* ===== Facebook Testimonials Styles ===== */
.facebook-testimonial-card {
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 10px 30px var(--shadow);
    margin-bottom: 2rem;
}

.facebook-testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-dark);
}

.facebook-header {
    background: linear-gradient(135deg, #4267B2 0%, #365899 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.facebook-header i {
    font-size: 1.2rem;
}

.testimonial-screenshot {
    position: relative;
    overflow: hidden;
}

.testimonial-image {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.facebook-testimonial-card:hover .testimonial-image {
    transform: scale(1.05);
}

.zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    color: white;
    text-align: center;
}

.facebook-testimonial-card:hover .zoom-overlay {
    opacity: 1;
}

.zoom-overlay i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.zoom-overlay span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Carousel Styling */
#testimonialsCarousel .carousel-indicators {
    bottom: -50px;
}

#testimonialsCarousel .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: none;
    margin: 0 5px;
    opacity: 0.5;
    transition: var(--transition);
}

#testimonialsCarousel .carousel-indicators .active {
    opacity: 1;
    transform: scale(1.2);
}

#testimonialsCarousel .carousel-control-prev,
#testimonialsCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border-radius: 50%;
    border: none;
    opacity: 0.8;
    transition: var(--transition);
}

#testimonialsCarousel .carousel-control-prev {
    left: -25px;
}

#testimonialsCarousel .carousel-control-next {
    right: -25px;
}

#testimonialsCarousel .carousel-control-prev:hover,
#testimonialsCarousel .carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

#testimonialsCarousel .carousel-control-prev-icon,
#testimonialsCarousel .carousel-control-next-icon {
    background-size: 20px;
}

/* Modal Styling */
.modal-header {
    background: linear-gradient(135deg, #4267B2 0%, #365899 100%);
    color: white;
    border-bottom: none;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-body img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 30px var(--shadow);
}

/* Desktop Large Screens - Ideal size */
@media (min-width: 1400px) {
    .facebook-testimonial-card {
        max-width: 500px;
        margin: 0 auto 2rem auto;
    }
    
    .testimonial-image {
        max-height: 380px;
    }
}

/* Desktop Medium Screens */
@media (min-width: 992px) and (max-width: 1399px) {
    .facebook-testimonial-card {
        max-width: 450px;
        margin: 0 auto 2rem auto;
    }
    
    .testimonial-image {
        max-height: 350px;
    }
}

/* Tablet Screens */
@media (min-width: 768px) and (max-width: 991px) {
    .facebook-testimonial-card {
        max-width: 400px;
        margin: 0 auto 2rem auto;
    }
    
    .testimonial-image {
        max-height: 320px;
        min-height: 200px;
    }
    
    #testimonialsCarousel .carousel-control-prev {
        left: -15px;
    }
    
    #testimonialsCarousel .carousel-control-next {
        right: -15px;
    }
}

/* Mobile Responsive Adjustments - Better positioning */
@media (max-width: 767px) {
    #testimonialsCarousel .carousel-control-prev,
    #testimonialsCarousel .carousel-control-next {
        width: 35px;
        height: 35px;
        opacity: 0.7;
        background: rgba(var(--primary-rgb), 0.8);
        backdrop-filter: blur(5px);
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    #testimonialsCarousel .carousel-control-prev {
        left: 5px;
    }
    
    #testimonialsCarousel .carousel-control-next {
        right: 5px;
    }
    
    #testimonialsCarousel .carousel-control-prev:hover,
    #testimonialsCarousel .carousel-control-next:hover {
        opacity: 0.9;
        transform: translateY(-50%) scale(1);
    }
    
        #testimonialsCarousel .carousel-control-prev-icon,
    #testimonialsCarousel .carousel-control-next-icon {
        background-size: 16px;
    }
    
    .facebook-header {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .facebook-testimonial-card {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-image {
        min-height: 220px;
        max-height: 320px;
    }
    
    .zoom-overlay i {
        font-size: 2rem;
    }
    
    .zoom-overlay span {
        font-size: 1rem;
    }
    
    #testimonialsCarousel .carousel-indicators {
        bottom: -40px;
    }
}

/* Extra Small Mobile Screens */
@media (max-width: 480px) {
    #testimonialsCarousel .carousel-control-prev,
    #testimonialsCarousel .carousel-control-next {
        width: 30px;
        height: 30px;
        opacity: 0.6;
    }
    
    #testimonialsCarousel .carousel-control-prev {
        left: 2px;
    }
    
    #testimonialsCarousel .carousel-control-next {
        right: 2px;
    }
    
    #testimonialsCarousel .carousel-control-prev-icon,
    #testimonialsCarousel .carousel-control-next-icon {
        background-size: 14px;
}

/* ===== Gallery Styles ===== */
.gallery-hero {
    background: linear-gradient(135deg, rgba(37, 84, 41, 0.9) 0%, rgba(52, 168, 83, 0.8) 100%), 
                url('https://images.unsplash.com/photo-1586023492125-27b2c045efd7?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.gallery-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.gallery-stats {
    margin-top: 3rem;
}

.gallery-filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 3rem;
}

.filter-btn {
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow);
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
    background: var(--white);
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-dark);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 84, 41, 0.9) 0%, rgba(52, 168, 83, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.gallery-content h5 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.gallery-content p {
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.gallery-content .zoom-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(37, 84, 41, 0.3);
}

.gallery-card:hover .zoom-icon {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    transform: scale(1.2);
    box-shadow: 0 12px 35px rgba(37, 84, 41, 0.5);
}

.gallery-item {
    transition: var(--transition);
}

/* Gallery Preview Section */
.gallery-preview {
    background: var(--light-bg);
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.preview-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px var(--shadow);
    transition: var(--transition);
    height: 250px;
}

.preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-dark);
}

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

.preview-card:hover img {
    transform: scale(1.05);
}

.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(10px);
    transition: var(--transition);
}

.preview-card:hover .preview-overlay {
    transform: translateY(0);
}

.preview-overlay h5 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

/* Modern Lightbox Override */
.lightbox {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px);
}

.lb-outerContainer {
    background: transparent !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8) !important;
}

.lb-container {
    background: var(--white) !important;
    border-radius: 15px !important;
    padding: 0 !important;
}

.lb-image {
    border-radius: 15px 15px 0 0 !important;
    max-height: 80vh !important;
    object-fit: contain !important;
}

.lb-dataContainer {
    background: var(--white) !important;
    border-radius: 0 0 15px 15px !important;
    padding: 20px !important;
    color: var(--text-dark) !important;
}

.lb-data .lb-details {
    width: 100% !important;
    text-align: center !important;
}

.lb-data .lb-caption {
    font-family: var(--font-heading) !important;
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
}

.lb-data .lb-number {
    font-family: var(--font-primary) !important;
    font-size: 0.9rem !important;
    color: var(--text-muted) !important;
    font-weight: 500 !important;
}

.lb-close {
    background: var(--primary-color) !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    top: -22px !important;
    right: -22px !important;
    border: 3px solid var(--white) !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
    background-image: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(37, 84, 41, 0.3) !important;
}

.lb-close:after {
    content: "✕" !important;
    font-size: 18px !important;
    color: var(--white) !important;
    font-weight: bold !important;
}

.lb-close:hover {
    background: var(--primary-dark) !important;
    transform: scale(1.1) !important;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    background: var(--primary-color) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    border: 3px solid var(--white) !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
    background-image: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: -25px !important;
}

.lb-nav a.lb-prev:after {
    content: "‹" !important;
    font-size: 30px !important;
    color: var(--white) !important;
    font-weight: bold !important;
}

.lb-nav a.lb-next:after {
    content: "›" !important;
    font-size: 30px !important;
    color: var(--white) !important;
    font-weight: bold !important;
}

.lb-nav a.lb-prev {
    left: 20px !important;
}

.lb-nav a.lb-next {
    right: 20px !important;
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    background: var(--primary-dark) !important;
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

/* Loading animation */
.lb-loader {
    background: var(--primary-color) !important;
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
    margin: -30px 0 0 -30px !important;
    border: 4px solid var(--white) !important;
    animation: lightboxSpin 1s linear infinite !important;
    box-shadow: 0 4px 12px rgba(37, 84, 41, 0.2) !important;
}

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

/* Enhanced gallery card hover effects */
.gallery-card {
    cursor: zoom-in;
    transform-style: preserve-3d;
}

.gallery-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 30px 60px var(--shadow-dark);
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.15);
}



/* Mobile lightbox adjustments */
@media (max-width: 768px) {
    .lb-image {
        max-height: 70vh !important;
    }
    
    .lb-dataContainer {
        padding: 15px !important;
    }
    
    .lb-data .lb-caption {
        font-size: 1.1rem !important;
    }
    
    .lb-close {
        width: 40px !important;
        height: 40px !important;
        top: -20px !important;
        right: -20px !important;
    }
    
    .lb-close:after {
        font-size: 16px !important;
    }
    
    .lb-nav a.lb-prev,
    .lb-nav a.lb-next {
        width: 45px !important;
        height: 45px !important;
        margin-top: -22px !important;
    }
    
    .lb-nav a.lb-prev:after,
    .lb-nav a.lb-next:after {
        font-size: 26px !important;
    }
    
    .lb-nav a.lb-prev {
        left: 10px !important;
    }
    
    .lb-nav a.lb-next {
        right: 10px !important;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 576px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

@media (max-width: 400px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* Testimonial Modals Responsive */
.modal-dialog {
    margin: 1rem;
    max-width: calc(100% - 2rem);
}

.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 15px 15px 0 0;
    border-bottom: none;
    padding: 1.5rem;
}

.modal-body {
    padding: 2rem;
    background: var(--light-bg);
}

.modal-body img {
    max-height: 70vh;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-body img {
        max-height: 60vh;
        width: 100%;
        object-fit: contain;
    }
    
    .modal-title {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.25rem;
        max-width: calc(100% - 0.5rem);
    }
    
    .modal-header {
        padding: 0.75rem;
    }
    
    .modal-body {
        padding: 0.75rem;
    }
    
    .modal-body img {
        max-height: 50vh;
        width: 100%;
    }
    
    .modal-title {
        font-size: 0.9rem;
    }
    
    .btn-close {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-title {
        font-size: 2.5rem;
    }
    
    .gallery-subtitle {
        font-size: 1.1rem;
    }
    
    .gallery-filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
        justify-content: center;
    }
    
    .gallery-image {
        height: 220px;
    }
    
    .gallery-preview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .preview-card {
        height: 200px;
    }
}

/* ===== Hero Section Enhancements ===== */
.hero-title .magic-vision {
    color: #8B4513 !important; /* Wood brown color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    position: relative;
}

/* Alternative white styling for better contrast */
.hero-title .magic-vision-alt {
    color: #FFFFFF !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.2), rgba(139, 69, 19, 0.1));
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    display: inline-block;
}

/* Wood texture effect with bright white glow */
.hero-title .magic-vision-wood,
.service-title .hero-highlight,
.hero-title .hero-highlight {
    color: #8B4513 !important;
    font-family: 'Georgia', 'Times New Roman', serif;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.4),
        2px 2px 4px rgba(139, 69, 19, 0.3),
        3px 3px 6px rgba(0, 0, 0, 0.2);
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
}

.hero-title .magic-vision-wood::before,
.service-title .hero-highlight::before,
.hero-title .hero-highlight::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg, 
        transparent 20%, 
        rgba(255, 255, 255, 0.1) 25%, 
        transparent 30%,
        transparent 70%,
        rgba(255, 255, 255, 0.1) 75%,
        transparent 80%
    );
    pointer-events: none;
    border-radius: 8px;
    z-index: -1;
}

/* ===== File Upload Styling ===== */
.file-upload-area {
    border: 2px dashed #e3e6f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    margin-bottom: 1rem;
}

.file-upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(37, 84, 41, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 84, 41, 0.15);
}

.file-upload-area.dragover {
    border-color: var(--primary-color);
    background: rgba(37, 84, 41, 0.1);
    border-style: solid;
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(37, 84, 41, 0.2);
}

.file-upload-content {
    pointer-events: none;
}

.file-upload-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.file-upload-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.file-upload-subtitle {
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.file-upload-browse {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.file-upload-browse:hover {
    color: var(--secondary-color);
}

.file-upload-hint {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 0;
    font-style: italic;
}

/* File Input Hidden */
.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Uploaded Files Display */
.uploaded-files {
    margin-top: 1rem;
}

.uploaded-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid #e3e6f0;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.uploaded-file-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.uploaded-file-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.uploaded-file-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.uploaded-file-name {
    font-weight: 500;
    color: #2c3e50;
}

.uploaded-file-size {
    color: #6c757d;
    font-size: 0.9rem;
}

.uploaded-file-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.uploaded-file-remove:hover {
    background: #dc3545;
    color: white;
}



.uploaded-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.uploaded-file-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(37, 84, 41, 0.1);
}

.uploaded-file-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.uploaded-file-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.uploaded-file-details {
    flex: 1;
}

.uploaded-file-name {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    font-size: 0.9rem;
}

.uploaded-file-size {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
}

.uploaded-file-remove {
    background: none;
    border: none;
    color: var(--danger-color);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.uploaded-file-remove:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Progress bar for file uploads */
.upload-progress {
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.upload-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .file-upload-area {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .file-upload-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .file-upload-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .file-upload-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .file-upload-hint {
        font-size: 0.8rem;
    }
    
    .uploaded-file-item {
        padding: 0.6rem 0.8rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .uploaded-file-info {
        width: 100%;
    }
    
    .uploaded-file-remove {
        align-self: flex-end;
    }
}
    
    .uploaded-file-name {
        font-size: 0.85rem;
    }
    
    .uploaded-file-size {
        font-size: 0.75rem;
    }
}

/* ===== Contact Section Responsive Fixes ===== */
.contact-details p {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Specific email styling for better mobile display */
.contact-details p[data-email],
.contact-details p:contains("@") {
    font-size: 0.9rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .contact-details p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .contact-item {
        margin-bottom: 1.5rem;
        padding: 0.5rem 0;
    }
    
    .contact-details h5 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .contact-details p {
        font-size: 0.8rem;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Force break long email addresses */
    .contact-details p[data-email] {
        word-break: break-all;
        white-space: normal;
        text-overflow: clip;
    }
}

/* ===== Social Media Links Enhancements ===== */
.social-link.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    position: relative;
}

.social-link.disabled:hover {
    transform: none;
    opacity: 0.4;
}

/* Instagram link highlighting */
.social-link:not(.disabled):hover {
    transform: translateY(-2px);
    color: var(--primary-color);
}

/* ===== Logo Size Enhancements - Extra Large ===== */
.navbar-brand .logo {
    height: 200px;
    width: auto;
}

.navbar-brand:hover .logo {
    transform: scale(1.05);
}

/* Responsive logo sizes - Extra large on all screens */
@media (max-width: 1200px) {
    .navbar-brand .logo {
        height: 190px;
    }
}

@media (max-width: 992px) {
    .navbar-brand .logo {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .navbar-brand .logo {
        height: 170px;
    }
}

@media (max-width: 576px) {
    .navbar-brand .logo {
        height: 140px;
    }
}

@media (max-width: 480px) {
    .navbar-brand .logo {
        height: 120px;
    }
}


/* ===== Modern Service Items Grid ===== */
.services-grid {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--secondary-rgb), 0.05) 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    margin-bottom: 2rem;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    margin-bottom: 0.75rem;
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.15);
    border-color: var(--primary-color);
}

.service-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.service-item span {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-grid {
        padding: 1.5rem;
    }
    
    .service-item {
        padding: 0.75rem;
    }
    
    .service-item span {
        font-size: 0.9rem;
    }
}

/* ===== Step Numbers for Process Sections ===== */
.step-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 30px;
    text-align: center;
}

/* Feature icon with step number */
.feature-icon .step-number {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1.25rem;
}

/* ===== Blog System Styles ===== */
.blog-hero {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.9) 0%, rgba(205, 133, 63, 0.8) 100%), 
                url('https://images.unsplash.com/photo-1541976590-713941681591?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 120px 0 80px;
}

/* Blog Category Cards */
.blog-category-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.blog-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.2);
    border-color: var(--primary-color);
}

.blog-category-card.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
}

.blog-category-card.featured:hover {
    transform: translateY(-8px) scale(1.02);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.blog-category-card.featured .category-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.category-icon i {
    font-size: 2rem;
    color: white;
}

.blog-category-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.blog-category-card.featured h4 {
    color: white;
}

.blog-category-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-category-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.15);
}

.blog-card.featured {
    border: 2px solid var(--primary-color);
}

.blog-card.featured::before {
    content: "Featured";
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 2;
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-card.horizontal .blog-image {
    height: 120px;
    min-width: 200px;
    flex-shrink: 0;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card.horizontal {
    flex-direction: row;
    height: auto;
}

.blog-card.horizontal .blog-content {
    padding: 1rem 1.5rem;
}

.blog-content h3,
.blog-content h4 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-content h3 a,
.blog-content h4 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover,
.blog-content h4 a:hover {
    color: var(--primary-color);
}

.blog-content p {
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: auto;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-meta i {
    color: var(--primary-color);
}

/* Blog Navigation */
.blog-navigation {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 2rem;
    position: sticky;
    top: 100px;
    z-index: 10;
}

.blog-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.blog-nav-links a:hover,
.blog-nav-links a.active {
    background: var(--primary-color);
    color: white;
}

/* Blog Sidebar */
.blog-sidebar {
    padding-left: 2rem;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.sidebar-widget h5 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
}

.recent-posts li:last-child {
    border-bottom: none;
}

.recent-posts a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.recent-posts a:hover {
    color: var(--primary-color);
}

.recent-posts .post-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Blog Post Content */
.blog-post-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-post-content h2 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

.blog-post-content blockquote {
    background: rgba(var(--primary-rgb), 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 10px 10px 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .blog-sidebar {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .blog-card.horizontal {
        flex-direction: column;
    }
    
    .blog-card.horizontal .blog-image {
        height: 200px;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 100px 0 60px;
        background-attachment: scroll;
    }
    
    .blog-category-card {
        padding: 2rem 1.5rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-icon i {
        font-size: 1.5rem;
    }
    
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .blog-navigation {
        position: static;
        margin-bottom: 1rem;
    }
    
    .blog-nav-links {
        justify-content: flex-start;
    }
}

/* Blog Search */
.blog-search {
    position: relative;
    margin-bottom: 1rem;
}

.blog-search input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.blog-search input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.blog-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.blog-search button:hover {
    background: var(--secondary-color);
}

/* Blog Post Hero */
.blog-post-hero {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.9) 0%, rgba(205, 133, 63, 0.8) 100%), 
                url('https://images.unsplash.com/photo-1541976590-713941681591?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 120px 0 80px;
    color: white;
}

.blog-post-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-post-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    opacity: 0.8;
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-post-meta i {
    color: var(--secondary-color);
}

/* Blog Post Content Enhancements */
.featured-image img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-post-content .lead {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 2rem;
    background: rgba(var(--primary-rgb), 0.02);
    padding: 2rem 2rem 2rem 3rem;
    border-radius: 0 15px 15px 0;
}

.author-bio {
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.author-bio img {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-posts h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

/* Responsive Blog Post Design */
@media (max-width: 768px) {
    .blog-post-hero {
        padding: 100px 0 60px;
        background-attachment: scroll;
    }
    
    .blog-post-title {
        font-size: 2.25rem;
    }
    
    .blog-post-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-post-meta {
        gap: 1rem;
        justify-content: center;
    }
    
    .blog-post-content .lead {
        font-size: 1.2rem;
        padding: 1.5rem 1.5rem 1.5rem 2rem;
    }
}

/* Blog Category Badge */
.blog-category .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}