/* EcoSleeve Pro - Main CSS */
/* Following Bootstrap 5 framework without overrides */

:root {
    /* Color Palette - 5 primary colors with light/dark shades */
    --primary-color: #2D5A27;
    --primary-light: #4A8F43;
    --primary-dark: #1B3419;
    
    --secondary-color: #7B9E87;
    --secondary-light: #A8C4B2;
    --secondary-dark: #5A7B65;
    
    --accent-color: #F4A261;
    --accent-light: #F7B84B;
    --accent-dark: #E76F51;
    
    --neutral-color: #264653;
    --neutral-light: #52796F;
    --neutral-dark: #1A3A3E;
    
    --earth-color: #E9C46A;
    --earth-light: #F1D08A;
    --earth-dark: #D4A843;
    
    /* Additional shades */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --black: #000000;
    
    /* Conservative font sizes */
    --font-size-small: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-h6: 1rem;
    --font-size-h5: 1.125rem;
    --font-size-h4: 1.25rem;
    --font-size-h3: 1.375rem;
    --font-size-h2: 1.5rem;
    --font-size-h1: 1.75rem;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --element-margin: 2rem;
}

/* 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;
    }
}

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--neutral-color);
    overflow-x: hidden;
}

/* Conservative typography */
.navbar-brand {
    font-size: var(--font-size-xl) !important;
    font-weight: 600;
    color: var(--primary-color);
}

h1, .h1 {
    font-size: var(--font-size-h1);
    color: var(--neutral-color);
    margin-bottom: 1rem;
}

h2, .h2 {
    font-size: var(--font-size-h2);
    color: var(--neutral-color);
    margin-bottom: 1rem;
}

h3, .h3 {
    font-size: var(--font-size-h3);
    color: var(--medium-gray);
    margin-bottom: 0.75rem;
}

h4, .h4 {
    font-size: var(--font-size-h4);
    color: var(--neutral-color);
    margin-bottom: 0.75rem;
}

h5, .h5 {
    font-size: var(--font-size-h5);
    color: var(--neutral-color);
    margin-bottom: 0.5rem;
}

p, .lead {
    font-size: var(--font-size-base);
    margin-bottom: 1rem;
}

/* Header Styles */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 200px;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape-1 {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--secondary-light);
    border-radius: 50%;
    opacity: 0.3;
}

.shape-2 {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: var(--accent-light);
    border-radius: 30%;
    opacity: 0.2;
}

.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Service Cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Pricing Cards */
.pricing-card {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.border-primary {
    border-color: var(--primary-color) !important;
}

/* Team Section */
.team-member img {
    transition: transform 0.3s ease;
    border: 4px solid var(--light-gray);
}

.team-member:hover img {
    transform: scale(1.05);
}

/* Custom grid for team section */
.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%;
    }
}

/* Review Cards */
.review-card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stars i {
    margin-right: 2px;
}

/* Case Study Cards */
.case-study-card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.case-study-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-study-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Process Steps */
.process-step {
    position: relative;
}

.step-number {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Timeline Styles */
.timeline {
    position: relative;
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 20px;
    bottom: -3rem;
    width: 2px;
    background: var(--light-gray);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.timeline-date {
    color: var(--medium-gray);
    font-size: var(--font-size-small);
    font-weight: 600;
}

/* Career Cards */
.career-card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.career-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Core Info Cards */
.info-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Blog Cards */
.blog-card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .card-img-top {
    transform: scale(1.05);
}

/* FAQ Cards */
.faq-card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    margin-bottom: 1rem;
}

.faq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Gallery */
.gallery img {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
}

.contact-item {
    text-align: center;
}

/* Footer */
footer {
    background: var(--neutral-dark) !important;
}

footer h3, footer h4 {
    color: var(--white);
    font-weight: 600;
}

footer p, footer a {
    color: var(--light-gray);
}

footer a:hover {
    color: var(--white);
    text-decoration: none;
}

footer .small {
    color: rgba(248, 249, 250, 0.9);
}

/* Footer enhanced contrast */
footer .list-unstyled li a {
    color: var(--light-gray);
    transition: color 0.3s ease;
}

footer .list-unstyled li a:hover {
    color: var(--white);
}

footer hr {
    border-color: rgba(248, 249, 250, 0.2);
}

footer .text-light {
    color: var(--light-gray) !important;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 90, 39, 0.3);
}

/* Breadcrumb */
.breadcrumb-section {
    padding: 1rem 0;
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.breadcrumb-item:hover img {
    opacity: 1;
}

/* Additional Page Styles */
.blog-item, .featured-article, .news-item, .resource-card, .subscription-benefit {
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.blog-item:hover, .resource-card:hover, .subscription-benefit:hover {
    transform: translateY(-3px);
}

.news-timeline {
    position: relative;
}

.news-date {
    min-width: 80px;
    text-align: center;
    font-weight: bold;
}

.newsletter-form {
    border-radius: 15px;
}

/* Research Cards */
.research-card {
    transition: transform 0.3s ease;
}

.research-card:hover {
    transform: translateY(-5px);
}

/* Partnership Timeline */
.partnership-timeline {
    padding: 2rem 0;
}

.partnership-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.partnership-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Download Cards */
.download-card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Custom spacing */
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img[data-loaded="false"] {
    opacity: 0;
}

img[data-loaded="true"] {
    opacity: 1;
} 


/* Team Social Links - Modern Style */
.team-social-links {
    margin-top: 25px;
    padding: 20px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: scale(0);
    border-radius: inherit;
    transition: transform 0.5s ease;
}

.social-link:hover::before {
    transform: scale(1.2);
}

.social-link:hover {
    transform: translateY(-8px) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #00c6ff);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #0099cc);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f093fb, #f5576c);
}

.x-link {
    background: linear-gradient(45deg, #000000, #434343);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 24px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}
