/* CSS Variables - Color Palette */
:root {
    --primary-color: #265228;
    --primary-light: #3b6d45;
    --primary-dark: #1a3d16;
    --secondary-color: #f0f8f0;
    --secondary-light: #f8fcf8;
    --secondary-dark: #dbffd8;
    --accent-color: #8fb443;
    --accent-light: #a3e574;
    --accent-dark: #78a545;
    --neutral-color: #7f927c;
    --neutral-light: #a1a4a0;
    --neutral-dark: #415742;
    --text-dark: #2d3e2f;
    --text-light: #ffffff;
    --border-color: #ccf3c9;
    --success-color: #59ba5d;
    --warning-color: #f57100;
    --danger-color: #fb4340;
    --shadow-light: rgba(59, 101, 44, 0.10);
    --shadow-medium: rgba(52, 95, 41, 0.20);
    --shadow-dark: rgba(50, 83, 40, 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: 21px;
    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.58rem;
}

h1 { font-size: 2.64rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.76rem; }
h4 { font-size: 1.52rem; }
h5 { font-size: 1.31rem; }
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 112px var(--shadow-medium);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.62rem;
    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(39, 100, 39, 0.70), rgba(63, 102, 54, 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.65rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px var(--shadow-dark);
    margin-bottom: 1rem;
}

.hero-section p {
    color: var(--text-light);
    font-size: 1.27rem;
    text-shadow: 1px 1px 2px var(--shadow-dark);
}

/* Cards */
.card {
    border: none;
    border-radius: 112px;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
    background-color: var(--text-light);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 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.55rem;
    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.55rem;
    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 7px 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(137, 180, 78, 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(157, 206, 81, 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-dark), 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.41rem;
}

/* 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.70rem;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.17rem;
    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 - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
