/* CSS Variables - Color Palette */
:root {
    --primary-color: #2b692c;
    --primary-light: #63946b;
    --primary-dark: #22541f;
    --secondary-color: #f0f8f0;
    --secondary-light: #f8fcf8;
    --secondary-dark: #fefffe;
    --accent-color: #91d255;
    --accent-light: #9acf70;
    --accent-dark: #6ca12a;
    --neutral-color: #647667;
    --neutral-light: #bfbfbf;
    --neutral-dark: #425c45;
    --text-dark: #335238;
    --text-light: #ffffff;
    --border-color: #f6fdf6;
    --success-color: #42ab4c;
    --warning-color: #ffa600;
    --danger-color: #fb2827;
    --shadow-light: rgba(49, 104, 51, 0.10);
    --shadow-medium: rgba(51, 99, 33, 0.20);
    --shadow-dark: rgba(43, 82, 41, 0.30);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 19px;
    background-color: var(--secondary-light);
}

/* Reduced Motion Support */
@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 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.72rem;
}

h1 { font-size: 2.56rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.89rem; }
h4 { font-size: 1.52rem; }
h5 { font-size: 1.28rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--neutral-dark);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Header & Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    box-shadow: 0 6px 12px var(--shadow-medium);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.60rem;
    font-weight: 700;
    color: var(--text-light) !important;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-light) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border-color: var(--text-light);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 100vh;
    background: linear-gradient(rgba(27, 72, 29, 0.70), rgba(47, 82, 34, 0.50)), 
                url('../images/hero-bg.webp') center/cover no-repeat;
    color: var(--text-light);
    position: relative;
    padding-top: 120px;
}

.hero-section h1 {
    color: var(--text-light);
    font-size: 3.59rem;
    font-weight: 700;
    text-shadow: 2px 2px 13px var(--shadow-dark);
    margin-bottom: 1rem;
}

.hero-section p {
    color: var(--text-light);
    font-size: 1.21rem;
    text-shadow: 1px 1px 2px var(--shadow-dark);
}

/* Cards */
.card {
    border: none;
    border-radius: 17px;
    box-shadow: 0 8px 15px var(--shadow-light);
    transition: all 0.3s ease;
    background-color: var(--text-light);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px var(--shadow-medium);
}

.card-img-top {
    border-radius: 15px 15px 0 0;
    height: 200px;
    object-fit: cover;
    width: 100%;
}

/* Feature Cards */
.feature-card, .feature-box {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover, .feature-box:hover {
    background: linear-gradient(135deg, var(--text-light), var(--secondary-light));
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.feature-card i, .feature-box i {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: scale(1.03);
}

.service-card .price {
    font-size: 1.52rem;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(45deg, var(--accent-light), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pricing Cards */
.pricing-card {
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--secondary-color), var(--text-light));
    transform: scale(1.05);
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: scale(1.1) translateY(-10px);
}

/* Team Section */
.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid var(--accent-light);
    transition: all 0.3s ease;
}

.team-member:hover img {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* Process Steps */
.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.57rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 10px var(--shadow-light);
}

/* Timeline */
.timeline-item {
    text-align: center;
    position: relative;
}

.year {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 6px 8px var(--shadow-light);
}

/* Forms */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background-color: var(--text-light);
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(153, 187, 89, 0.25);
    background-color: var(--text-light);
}

.focused {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

.was-validated .form-control:valid {
    border-color: var(--success-color);
}

.was-validated .form-control:invalid {
    border-color: var(--danger-color);
}

/* Buttons */
.btn {
    border-radius: 10px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-light);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Background Variations */
.bg-light {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light)) !important;
}

/* FAQ Accordion */
.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 10px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    font-weight: 600;
    border: none;
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(136, 201, 87, 0.25);
}

.accordion-body {
    padding: 1.5rem;
    background-color: var(--text-light);
}

/* Gallery */
#gallery img {
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 250px;
    object-fit: cover;
    width: 100%;
}

#gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px var(--shadow-medium);
}

/* Reviews */
.review-card {
    background: linear-gradient(135deg, var(--text-light), var(--secondary-light));
    border-left: 4px solid var(--accent-color);
}

.review-card .card-body {
    padding: 2rem;
}

/* Career Cards */
.career-card, .info-card, .case-study-card {
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.career-card:hover, .info-card:hover, .case-study-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 20px var(--shadow-light);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--text-light);
}

footer h5 {
    color: var(--accent-light);
    margin-bottom: 1rem;
}

footer a {
    color: var(--text-light);
    opacity: 0.8;
    transition: all 0.3s ease;
}

footer a:hover {
    opacity: 1;
    color: var(--accent-light);
}

/* Breadcrumbs */
.breadcrumb-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-image {
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.8;
}

/* Space Page */
#space {
    background: linear-gradient(135deg, var(--secondary-color), var(--text-light));
    padding-top: 120px;
}

#space h1 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

#space .lead {
    color: var(--neutral-dark);
    font-size: 1.42rem;
}

/* Content Cards for Additional Pages */
.content-card {
    background: var(--text-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    height: 100%;
    transition: all 0.3s ease;
}

.content-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px var(--shadow-light);
}

.content-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.29rem;
}

.content-card p {
    color: var(--neutral-dark);
    margin-bottom: 0;
}

/* Contact Info Styling */
.contact-info {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
}

.contact-info h4 {
    color: var(--primary-color);
    margin-bottom: 1.64rem;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.19rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: var(--accent-color);
    width: 20px;
    margin-right: 10px;
}

/* Utility Classes */
.text-primary-custom { color: var(--primary-color) !important; }
.bg-primary-custom { background-color: var(--primary-color) !important; }
.text-accent-custom { color: var(--accent-color) !important; }
.bg-accent-custom { background-color: var(--accent-color) !important; }

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
} 


/* 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;
}

.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;
    }
}

/* Ensure images are always visible - disable animations for images */
img {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    visibility: visible !important;
}

/* Disable SAL animations specifically for images */
img[data-sal] {
    opacity: 1 !important;
    transform: none !important;
}

/* Disable fade-in animations for images */
img.fade-in {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}
