:root {
    --primary-color: #2d5a3d;
    --primary-light: #4a7c59;
    --primary-dark: #1e3d2a;
    --secondary-color: #7fb069;
    --secondary-light: #a3c585;
    --secondary-dark: #5a8c4a;
    --accent-color: #f4e4bc;
    --accent-light: #f7ead1;
    --accent-dark: #e6d4a3;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-muted: #6c757d;
}

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

.navbar-brand {
    font-size: 1.25rem !important;
    font-weight: 600;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--accent-light) 100%);
    position: relative;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.shape-1 {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    opacity: 0.1;
    border-radius: 50%;
}

.shape-2 {
    position: absolute;
    bottom: 20%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    opacity: 0.1;
    border-radius: 50%;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--light-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(45, 90, 61, 0.1);
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(45, 90, 61, 0.15);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Price Cards */
.price-card {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(45, 90, 61, 0.1);
}

.price-display {
    padding: 20px 0;
}

/* Team Members */
.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.1);
}

/* Review Cards */
.review-card {
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
}

.stars i {
    font-size: 1rem;
    margin: 0 2px;
}

/* Case Study Cards */
.case-study-card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(45, 90, 61, 0.1);
}

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

/* Process Steps */
.process-step {
    margin-bottom: 2rem;
}

.step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    font-weight: bold;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 2rem 0;
    width: 50%;
    padding: 0 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-item:nth-child(odd)::before {
    right: -7.5px;
}

.timeline-item:nth-child(even)::before {
    left: -7.5px;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(45, 90, 61, 0.1);
    position: relative;
}

.timeline-date {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Career Cards */
.career-card {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45, 90, 61, 0.1);
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--light-color);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45, 90, 61, 0.1);
}

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

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(45, 90, 61, 0.1);
}

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

/* FAQ Cards */
.faq-card {
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-2px);
}

/* Gallery */
.gallery-img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Contact Form */
.contact-form .form-control {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(45, 90, 61, 0.25);
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
    border-radius: 50%;
}

/* Buttons */
.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, 61, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Footer */
#footer {
    background-color: var(--dark-color) !important;
}

#footer a {
    transition: color 0.3s ease;
}

#footer a:hover {
    color: var(--secondary-color) !important;
}

/* Breadcrumb */
.breadcrumb-section {
    margin-top: 80px;
}

.breadcrumb-img {
    width: 20px;
    height: 20px;
    object-fit: cover;
}

/* Additional Page Styles */
.blog-feature,
.category-card,
.research-card,
.subscribe-option,
.policy-card,
.privacy-section,
.terms-card,
.sustainability-card,
.compliance-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-feature:hover,
.category-card:hover,
.research-card:hover,
.subscribe-option:hover,
.policy-card:hover,
.privacy-section:hover,
.terms-card:hover,
.sustainability-card:hover,
.compliance-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45, 90, 61, 0.1);
}

.featured-article {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(45, 90, 61, 0.1);
}

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

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

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

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

/* Responsive Animations */
@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;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus States */
.btn:focus,
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(45, 90, 61, 0.25);
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #1a4d2e;
        --secondary-color: #2d5a3d;
        --text-muted: #495057;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    #footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        break-after: avoid;
    }
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

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

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.instagram-link {
    background: #e4405f;
    border: 2px solid #e4405f;
}

.instagram-link:hover {
    background: #d62976;
    border-color: #d62976;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

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

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
