/* Color Palette Variables */
:root {
    /* Primary Colors */
    --primary-green: #267e4f;
    --secondary-blue: #5784da;
    --accent-yellow: #ebd953;
    --soft-mint: #90dfcb;
    --earth-brown: #897549;
    
    /* Light Shades */
    --light-green: #edffed;
    --light-blue: #f3faff;
    --light-yellow: #fefcf4;
    --light-mint: #f0faf4;
    --light-brown: #f5f3f0;
    
    /* Dark Shades */
    --dark-green: #1c4536;
    --dark-blue: #2f5486;
    --dark-yellow: #bc8a00;
    --dark-mint: #93d2af;
    --dark-brown: #7f6f34;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #4e5664;
    --dark-gray: #343a40;
    --black: #000000;
    
    /* Font Sizes */
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* 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;
        scroll-behavior: auto !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.92rem;
    color: var(--dark-green);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.88rem; }
h3 { font-size: 1.52rem; }
h4 { font-size: 1.36rem; }
h5 { font-size: 1.19rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    font-size: var(--font-size-base);
}

.lead {
    font-size: var(--font-size-lg);
    font-weight: 400;
    color: var(--medium-gray);
}

/* Header Styles */
.navbar-brand {
    font-size: 1.57rem !important;
    font-weight: 700;
    color: var(--primary-green) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-gray) !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-green) !important;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    background: linear-gradient(135deg, var(--light-green), var(--light-mint));
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../MAN_images/hero-cleaning.webp') center/cover no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: 110px;
    padding: 2rem;
    box-shadow: 0 13px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 9px 25px rgba(0, 0, 0, 0.15);
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 7px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

/* Team Cards */
.team-card {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 9px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-3px);
}

.team-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 5px solid var(--primary-green);
}

/* Process Section */
.process-number {
    width: 60px;
    height: 60px;
    font-size: 1.55rem;
    font-weight: bold;
}

/* Timeline Section */
.timeline-year {
    font-size: 0.99rem;
    font-weight: 600;
    display: inline-block;
    min-width: 60px;
}

/* Contact Form and Info */
.contact-info {
    border-left: 8px solid var(--primary-green);
}

.form-control {
    border: 2px solid var(--light-gray);
    border-radius: 11px;
    padding: 0.75rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(48, 140, 92, 0.25);
}

.btn-success {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--secondary-blue);
    color: var(--secondary-blue);
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
}

/* FAQ Accordion */
.accordion-button {
    background-color: var(--light-green);
    border: none;
    border-radius: 8px !important;
    font-weight: 600;
    color: var(--dark-green);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-green);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(29, 101, 72, 0.25);
}

.accordion-item {
    border: 1px solid var(--light-green);
    border-radius: 8px !important;
    margin-bottom: 0.66rem;
}

/* Gallery */
.gallery img {
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-yellow), var(--dark-blue)) !important;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--soft-mint) !important;
}

/* Utility Classes */
.bg-primary-green { background-color: var(--primary-green) !important; }
.bg-secondary-blue { background-color: var(--secondary-blue) !important; }
.bg-accent-yellow { background-color: var(--accent-yellow) !important; }
.bg-soft-mint { background-color: var(--soft-mint) !important; }
.bg-earth-brown { background-color: var(--earth-brown) !important; }

.text-primary-green { color: var(--primary-green) !important; }
.text-secondary-blue { color: var(--secondary-blue) !important; }
.text-accent-yellow { color: var(--accent-yellow) !important; }
.text-soft-mint { color: var(--soft-mint) !important; }
.text-earth-brown { color: var(--earth-brown) !important; }

/* Card Hover Effects */
.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Icon Styles */
.fas, .fab {
    transition: color 0.3s ease;
}

/* Custom Grid Classes */
.col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

@media (max-width: 991.98px) {
    .col-lg-2-4 {
        width: 50%;
    }
}

@media (max-width: 575.98px) {
    .col-lg-2-4 {
        width: 100%;
    }
}

/* Breadcrumb Styles */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item img {
    opacity: 0.7;
}

/* Additional Component Styles */
.certification-card,
.health-benefit,
.innovation-card,
.schedule-card,
.compliance-card,
.equipment-card,
.testimonial-card {
    transition: all 0.3s ease;
}

.certification-card:hover,
.health-benefit:hover,
.innovation-card:hover,
.schedule-card:hover,
.compliance-card:hover,
.equipment-card:hover,
.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Shadow Utilities */
.shadow-soft {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.shadow-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Image Placeholder Styles */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure proper image sizing in containers */
.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.team-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.testimonial-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

/* Gallery specific styles */
.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Navbar scrolled state */
.navbar.scrolled {
    background-color: rgba(248, 249, 250, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Loading Animation for Images */
img[src*=".webp"] {
    transition: opacity 0.3s ease;
}

/* Fade in animation for lazy loaded images */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Back to top button styles */
.back-to-top {
    box-shadow: 0 4px 15px rgba(39, 122, 79, 0.30);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(47, 144, 118, 0.40);
}

/* Focus states for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Loading states */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
} 


/* 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;
}

.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;
    }
}
