/* Color Palette - 5 Primary Colors + Shades */
:root {
    --primary-color: #6d83ff;
    --primary-light: #afb7f4;
    --primary-dark: #384af2;
    
    --secondary-color: #16c6a0;
    --secondary-light: #85f5ba;
    --secondary-dark: #069759;
    
    --accent-color: #ff9a12;
    --accent-light: #ffd62b;
    --accent-dark: #c48a13;
    
    --neutral-color: #7c8085;
    --neutral-light: #e7e8ea;
    --neutral-dark: #4c5767;
    
    --background-color: #f8fafc;
    --background-light: #ffffff;
    --background-dark: #2a3742;
    
    --text-primary: #0f141e;
    --text-secondary: #727999;
    --text-light: #ffffff;
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 11px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-color);
}

/* Accessibility - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Typography - Conservative font sizes */
h1 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
h2 { font-size: 1.86rem; font-weight: 600; margin-bottom: 0.94rem; }
h3 { font-size: 1.61rem; font-weight: 600; margin-bottom: 0.91rem; }
h4 { font-size: 1.29rem; font-weight: 500; margin-bottom: 0.80rem; }
h5 { font-size: 1.16rem; font-weight: 500; margin-bottom: 0.66rem; }
h6 { font-size: 1rem; font-weight: 500; margin-bottom: 0.68rem; }

p { font-size: 1rem; margin-bottom: 1rem; }
.lead { font-size: 1.19rem; font-weight: 400; }

/* Header */
.navbar {
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-color) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neutral-light);
}

.navbar-brand {
    font-size: 1.34rem;
    font-weight: 600;
    color: var(--primary-color) !important;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-1px);
}

.breadcrumb-image {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../ECO_images/hero-bg.webp') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.55rem;
    text-shadow: 0 5px 11px rgba(0,0,0,0.1);
}

.hero-section .lead {
    font-size: 1.26rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-section p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 17px 27px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    box-shadow: 0 7px 15px rgba(119, 120, 240, 0.30);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(118, 113, 231, 0.40);
    color: var(--text-light);
}

.btn-lg {
    padding: 16px 37px;
    font-size: 1.19rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background: var(--background-light);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 17px 29px rgba(0, 0, 0, 0.1);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: 16px 12px 0 0;
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    border-radius: 12px;
    background: var(--background-light);
    box-shadow: 0 7px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sections */
section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--background-light) !important;
}

/* Contact Form */
.contact-form {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 16px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid var(--neutral-light);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 7px rgba(115, 127, 236, 0.10);
}

.contact-info {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-top: 2rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    width: 20px;
}

/* Space Container */
.space-container {
    min-height: 80vh;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: var(--text-light);
    margin-top: 76px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--neutral-dark) 100%);
    color: var(--text-light);
}

footer h5, footer h6 {
    color: var(--primary-light);
    margin-bottom: 1rem;
}

footer ul {
    padding: 0;
}

footer ul li {
    margin-bottom: 0.55rem;
}

footer a {
    color: var(--neutral-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-light);
}

footer hr {
    border-color: var(--neutral-color);
    margin: 2rem 0 1rem 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Lists */
.list-unstyled {
    padding-left: 0;
    list-style: none;
}

/* Text Colors */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-success { color: var(--secondary-color) !important; }
.text-light { color: var(--text-light) !important; }

/* Utilities */
.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.rounded {
    border-radius: 8px !important;
}

/* Process Steps */
.process-step {
    padding: 2rem;
    background: var(--background-light);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0 auto 1rem auto;
}

/* Timeline Items */
.timeline-item {
    padding: 2rem;
    background: var(--background-light);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    height: 100%;
}

.timeline-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Info Cards */
.info-card {
    padding: 2rem;
    background: var(--background-light);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.info-card i {
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Accordion Customization */
.accordion-button {
    background: var(--background-light);
    color: var(--text-primary);
    border: none;
    border-radius: 8px !important;
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-light);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(83, 76, 223, 0.20);
    border: none;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.accordion-body {
    background: var(--background-light);
    border-top: 1px solid var(--neutral-light);
}

/* Team Member Images */
.team img {
    border: 4px solid var(--neutral-light);
    transition: all 0.3s ease;
}

.team img:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Gallery Images */
#gallery img {
    transition: all 0.3s ease;
    cursor: pointer;
}

#gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Badge Styles */
.badge {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
}

.bg-success {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark)) !important;
}

/* Navbar Scrolled State */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Progress Bar Container */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: 3px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    border-radius: 50% !important;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 100000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
    color: var(--text-light);
}

/* Loading Animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Error States */
.form-control.is-invalid {
    border-color: #e93b4f;
    box-shadow: 0 0 0 3px rgba(207, 70, 80, 0.10);
}

.invalid-feedback {
    color: #d63048;
    font-size: 0.93rem;
    margin-top: 0.34rem;
}

/* Success States */
.form-control.is-valid {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(8, 189, 122, 0.10);
}

.valid-feedback {
    color: var(--secondary-color);
    font-size: 1.02rem;
    margin-top: 0.31rem;
}

/* Mobile Menu Overlay */
body.mobile-menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
.form-control:focus,
.accordion-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High Contrast Support */
@media (prefers-contrast: high) {
    .btn-primary,
    .badge {
        background: #0006ef !important;
        border: 2px solid #000000 !important;
        color: #ffffff !important;
    }
    
    .card,
    .feature-card,
    .process-step,
    .timeline-item,
    .info-card {
        border: 2px solid #000000 !important;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .card:hover,
    .feature-card:hover,
    .process-step:hover,
    .timeline-item:hover,
    .info-card:hover,
    .scroll-to-top:hover,
    #gallery img:hover,
    .team img:hover {
        transform: none !important;
    }
}

/* Custom spacing */
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
} 


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
