/* Bootstrap 5 Import */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css');

/* FontAwesome Import */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* Lightbox2 Import */
@import url('https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.4/css/lightbox.min.css');

/* Sal.js Animation Import */
@import url('https://unpkg.com/sal.js@0.8.5/dist/sal.css');

/* Custom CSS Variables */
:root {
    /* Primary Eco-Friendly Color Palette */
    --primary-green: #2d8f47;
    --secondary-sage: #87a96b;
    --accent-mint: #a8d5ba;
    --warm-beige: #f4f1e8;
    --earth-brown: #8b6914;
    
    /* Light/Dark Shades */
    --primary-light: #4caf66;
    --primary-dark: #1b5e31;
    --secondary-light: #9fb380;
    --secondary-dark: #6f8754;
    --accent-light: #c2e4d1;
    --accent-dark: #8ec7a3;
    --beige-light: #faf8f3;
    --beige-dark: #e8e3d5;
    --brown-light: #a67c16;
    --brown-dark: #6b4f0e;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Merriweather', Georgia, serif;
    
    /* Conservative Font Sizes */
    --fs-small: 0.875rem;
    --fs-normal: 1rem;
    --fs-medium: 1.125rem;
    --fs-large: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-xxl: 2rem;
    
    /* Spacing */
    --section-padding: 4rem 0;
    --border-radius: 0.5rem;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-size: var(--fs-normal);
    line-height: 1.6;
    color: #333;
    background-color: var(--warm-beige);
    overflow-x: hidden;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

h1 { font-size: var(--fs-xxl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-large); }
h4 { font-size: var(--fs-medium); }
h5, h6 { font-size: var(--fs-normal); }

p {
    margin-bottom: 1rem;
    color: #555;
}

.lead {
    font-size: var(--fs-medium);
    font-weight: 300;
}

/* Header & Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: var(--fs-large);
    font-weight: 700;
    color: var(--primary-green);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--primary-dark);
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-green);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-sage) 50%, var(--accent-mint) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.webp') center/cover no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    padding-top: 100px;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--fs-medium);
    margin-bottom: 2rem;
}

/* Decorative Shapes */
.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--accent-light);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 1;
}

/* Section Spacing */
.section {
    padding: var(--section-padding);
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Services */
.services-card {
    text-align: center;
    padding: 2rem;
    height: 100%;
}

.services-card .fa {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.services-price {
    font-size: var(--fs-large);
    font-weight: 700;
    color: var(--earth-brown);
    margin-top: 1rem;
}

/* Features */
.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-item .fa {
    font-size: 2.5rem;
    color: var(--secondary-sage);
    margin-bottom: 1rem;
}

/* Price Plans */
.price-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: scale(1.05);
}

.price-card.featured {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-sage));
    color: white;
    transform: scale(1.05);
}

.price-card.featured h3,
.price-card.featured .price {
    color: white;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--earth-brown);
    margin: 1rem 0;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.price-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.price-features li:last-child {
    border-bottom: none;
}

/* Team */
.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 4px solid var(--accent-mint);
}

/* Reviews/Testimonials */
.review-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-mint);
    font-family: serif;
}

.review-author {
    font-weight: 600;
    color: var(--primary-green);
    margin-top: 1rem;
}

/* FAQ */
.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--box-shadow);
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    border-bottom: 1px solid var(--beige-dark);
    margin: 0;
    cursor: pointer;
}

.faq-answer {
    padding: 1.5rem;
    color: #555;
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-control {
    border: 2px solid var(--beige-dark);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(45, 143, 71, 0.25);
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-sage));
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-green);
    color: white;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Blog */
.blog-card {
    height: 100%;
}

.blog-excerpt {
    color: #666;
    font-size: var(--fs-small);
}

/* Footer */
.footer {
    background: var(--accent-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: var(--accent-light);
    margin-bottom: 1rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    margin-top: 2rem;
    text-align: center;
}

/* Breadcrumbs */
.breadcrumb {
    background: transparent;
    padding: 1rem 0;
}

.breadcrumb-item img {
    height: 20px;
    width: auto;
}

/* Utilities */
.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-sage));
}

.text-primary-custom {
    color: var(--primary-green);
}

.text-secondary-custom {
    color: var(--secondary-sage);
}

/* Loading Animation */
.nanobar {
    background: var(--primary-green);
    height: 4px;
    z-index: 9999;
}

/* Additional Section Styles */

/* Case Studies Section */
.casestudy-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.casestudy-card:hover {
    transform: translateY(-3px);
}

/* Process Section */
.process-item {
    text-align: center;
    padding: 1.5rem;
    position: relative;
}

.process-item .fa {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.process-item h4 {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Timeline Section */
.timeline-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

.timeline-card:hover {
    transform: scale(1.02);
}

.timeline-card .card-body {
    padding: 2rem;
}

.timeline-card h4 {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Career Section */
.career-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.career-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.career-card .card-body {
    padding: 2rem;
}

.career-card h4 {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.career-card small {
    display: block;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--beige-dark);
}

/* Core Info Section */
.coreinfo-item {
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.coreinfo-item .fa {
    font-size: 2.5rem;
    color: var(--secondary-sage);
    margin-bottom: 1rem;
}

.coreinfo-item h4 {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Enhanced Section Backgrounds */
.section.bg-gradient {
    background: linear-gradient(135deg, var(--beige-light), var(--accent-light));
}

/* Additional Responsive Improvements */
@media (max-width: 767.98px) {
    .process-item,
    .coreinfo-item {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .process-item .fa,
    .coreinfo-item .fa {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .timeline-card .card-body,
    .career-card .card-body {
        padding: 1.5rem;
    }
}

/* Animation for new sections */
.casestudy-card,
.timeline-card,
.career-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.casestudy-card:nth-child(1) { animation-delay: 0.1s; }
.casestudy-card:nth-child(2) { animation-delay: 0.2s; }
.casestudy-card:nth-child(3) { animation-delay: 0.3s; }

.timeline-card:nth-child(1) { animation-delay: 0.1s; }
.timeline-card:nth-child(2) { animation-delay: 0.2s; }
.timeline-card:nth-child(3) { animation-delay: 0.3s; }
.timeline-card:nth-child(4) { animation-delay: 0.4s; }
.timeline-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .casestudy-card,
    .timeline-card,
    .career-card {
        animation: none;
        opacity: 1;
    }
} 


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
