:root {
    /* Color Palette - 5 primary colors with light/dark shades */
    --primary-color: #8B4513;          /* Saddle Brown */
    --secondary-color: #D2B48C;        /* Tan */
    --accent-color: #CD853F;           /* Peru */
    --neutral-color: #F5F5DC;          /* Beige */
    --earth-color: #A0522D;            /* Sienna */
    
    /* Light shades */
    --primary-light: #A0522D;
    --secondary-light: #F5DEB3;
    --accent-light: #DEB887;
    --neutral-light: #FFFEF7;
    --earth-light: #BC8F8F;
    
    /* Dark shades */
    --primary-dark: #654321;
    --secondary-dark: #D2691E;
    --accent-dark: #8B4513;
    --neutral-dark: #F0E68C;
    --earth-dark: #8B4513;
    
    /* Typography */
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 18px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 15px;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* Conservative Typography */
h1, .display-4 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h3, h4, h5, h6 {
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.lead {
    font-size: var(--font-size-large);
    font-weight: 300;
    color: #666;
}

/* Header Styles */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--neutral-light) 0%, var(--secondary-light) 100%);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(139,69,19,0.1)" stroke-width="2"/></svg>');
    transform: rotate(45deg);
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

.card-text {
    color: #666;
    font-size: var(--font-size-small);
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--neutral-light);
}

/* Team Section */
.rounded-circle {
    border: 3px solid var(--secondary-color);
    transition: border-color 0.3s ease;
}

.rounded-circle:hover {
    border-color: var(--primary-color);
}

/* Gallery Styles */
#gallery img {
    transition: transform 0.3s ease;
    border-radius: 8px;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Form Styles */
.form-control {
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 8px;
}

/* Footer Styles */
#footer {
    background-color: #2c3e50;
    color: #ecf0f1;
}

#footer h5, #footer h6 {
    color: var(--secondary-light);
}

#footer a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

#footer a:hover {
    color: var(--secondary-light);
}

/* Breadcrumb Styles */
.breadcrumb-section {
    margin-top: 76px;
    background-color: var(--neutral-light);
    border-bottom: 1px solid var(--secondary-color);
}

/* Animation Styles - Using Sal.js only */
[data-sal] {
    transition-duration: 0.5s;
    transition-timing-function: ease-out;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    [data-sal] {
        transition: none !important;
    }
}

/* Icon Styles */
.fa, .fas, .far, .fal, .fab {
    color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-success {
    color: #28a745 !important;
}

.text-muted {
    color: #6c757d !important;
}

/* Custom Grid Adjustments - NO Bootstrap overrides */
.col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

/* Utility Classes */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.rounded {
    border-radius: 0.375rem;
}

/* FAQ Section Styles */
#faq .card {
    background-color: #fff;
    border-left: 4px solid var(--primary-color);
}

#faq .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

#faq .card-text {
    color: #555;
    font-size: var(--font-size-small);
}

/* Process Section Styles */
#process .bg-primary {
    background-color: var(--primary-color) !important;
}

/* Reviews Section Styles */
#reviews .blockquote-footer {
    font-size: 0.875rem;
    color: var(--accent-color);
}

/* Contact Info Styles */
#contact .fa-2x {
    font-size: 2em;
    margin-bottom: 1rem;
}

/* Lightbox Customization */
.lb-data .lb-caption {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
}

/* Services Item Specific Styles */
[id*="services-item"] .list-unstyled li {
    padding: 0.25rem 0;
    font-size: var(--font-size-small);
}

[id*="services-item"] .text-primary {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Team Grid Fix for 5 members */
@media (min-width: 992px) {
    .col-lg-2-4 {
        width: 20%;
    }
}

/* Ensure consistent spacing */
.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
} 


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.instagram-link:hover {
    background: #e4405f;
    border-color: #e4405f;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
