:root {
    /* Primary Color Palette - Sustainable Theme */
    --primary-green: #4CAF50;
    --primary-blue: #2196F3;
    --primary-teal: #009688;
    --primary-amber: #FFC107;
    --primary-orange: #FF9800;
    
    /* Light Shades */
    --light-green: #E8F5E8;
    --light-blue: #E3F2FD;
    --light-teal: #E0F2F1;
    --light-amber: #FFF8E1;
    --light-orange: #FFF3E0;
    
    /* Dark Shades */
    --dark-green: #2E7D32;
    --dark-blue: #1565C0;
    --dark-teal: #00695C;
    --dark-amber: #F57F17;
    --dark-orange: #E65100;
    
    /* Additional Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark: #212529;
}

/* Body and Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
        scroll-behavior: auto;
    }
}

/* Conservative Typography */
.navbar-brand {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-green);
}

h1, .h1 {
    font-size: 2rem;
    font-weight: 700;
}

h2, .h2 {
    font-size: 1.75rem;
    font-weight: 600;
}

h3, .h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4, .h4 {
    font-size: 1.25rem;
    font-weight: 500;
}

h5, .h5 {
    font-size: 1.1rem;
    font-weight: 500;
}

h6, .h6 {
    font-size: 1rem;
    font-weight: 500;
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--light-blue) 100%);
    position: relative;
    overflow: hidden;
}

.hero-decoration {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
    transform: rotate(15deg);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Feature Cards */
.feature-card {
    padding: 2rem 1rem;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    font-weight: 500;
}

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

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

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

/* Cards */
.card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Team Section */
.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

/* Process Steps */
.process-step .step-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

/* Timeline */
.timeline-item .timeline-year {
    font-size: 1.2rem;
}

/* Contact Form */
.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Footer - High Contrast Colors Only */
footer {
    background-color: var(--dark);
    color: var(--white);
}

footer h5, footer h6 {
    color: var(--white);
}

footer a {
    color: var(--light-gray);
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--white);
}

/* Breadcrumb */
.breadcrumb-section {
    padding: 1rem 0;
    border-bottom: 1px solid #dee2e6;
}

/* Gallery Lightbox Integration */
.gallery img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

/* FAQ Cards */
#faq .card {
    border-left: 3px solid var(--primary-green);
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary-green);
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--light-green);
    border-radius: 10px;
    padding: 1.5rem;
}

/* Blog Cards */
.blog-card img {
    height: 180px;
    object-fit: cover;
}

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

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

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

/* Animation Integration with Sal.js */
[data-sal] {
    transition-duration: 0.5s;
    transition-property: opacity, transform;
}

/* Space Page Styling */
#space {
    min-height: calc(100vh - 200px);
    margin-top: 76px;
    background: var(--light-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom Grid Helper Classes (Bootstrap Compatible) */
.col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

/* Contact Info Cards */
.contact-item {
    padding: 1rem 0;
}

.contact-info .card {
    background: var(--light-teal);
    border: none;
}

/* Additional Spacing */
.py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Shadow Utilities */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Border Radius */
.rounded-lg {
    border-radius: 0.75rem;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Icon Styling */
.fa-2x {
    font-size: 2em;
}

.fa-3x {
    font-size: 3em;
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus States */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}


.hero-section h1 {
    padding-top: 200px;
}


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.instagram-link {
    background: linear-gradient(135deg, #e4405f, #f77737, #fcaf45);
}

.instagram-link:hover {
    background: linear-gradient(135deg, #d62976, #e4405f, #f77737);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
