/* CSS Variables - Color Palette */
:root {
    /* Primary Colors */
    --primary-color: #2f883c;        /* Forest Green */
    --secondary-color: #51aa4b;      /* Green */
    --tertiary-color: #83c140;       /* Light Green */
    --quaternary-color: #ffdc00;     /* Amber */
    --quinary-color: #694f45;        /* Brown */
    
    /* Light Shades */
    --primary-light: #50a349;
    --secondary-light: #7ebe77;
    --tertiary-light: #a6d56c;
    --quaternary-light: #f0a936;
    --quinary-light: #907d6f;
    
    /* Dark Shades */
    --primary-dark: #217126;
    --secondary-dark: #398449;
    --tertiary-dark: #76b036;
    --quaternary-dark: #dc5300;
    --quinary-dark: #69443c;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --gray: #9d9d9d;
    --dark-gray: #393939;
    --black: #0d0d0d;
    
    /* Fonts */
    --font-size-base: 1rem;
    --font-weight-normal: 400;
    --font-weight-bold: 600;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

h1 { font-size: 2.33rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.87rem; }
h4 { font-size: 1.56rem; }
h5 { font-size: 1.37rem; }
h6 { font-size: 1.23rem; }

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.lead {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--secondary-dark);
}

/* Header & Navigation */
.navbar-brand {
    font-size: 1.52rem !important;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: var(--font-weight-normal);
    color: var(--dark-gray) !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-scrolled {
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    background-color: rgba(248, 249, 250, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    min-height: 100vh;
}

.hero-title {
    font-size: 2.54rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.34rem;
    margin-bottom: 1.61rem;
    opacity: 0.9;
}

.hero-desc {
    font-size: 1.20rem;
    opacity: 0.8;
}

/* Cards & Components */
.service-card, .feature-card, .pricing-card, .review-card, 
.case-study-card, .blog-card, .job-card, .info-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover, .feature-card:hover, .case-study-card:hover, .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 16px rgba(0,0,0,0.15);
}

.service-card img, .case-study-card img, .blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
}

/* Pricing Cards */
.pricing-card.featured {
    border: 7px solid var(--primary-color);
    transform: scale(1.05);
    background: linear-gradient(145deg, var(--white), var(--light-gray));
}

.price, .price-large {
    font-size: 1.52rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.price-large {
    font-size: 2rem;
}

/* Team Section */
.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--primary-light);
}

/* Process Steps */
.process-step {
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.58rem;
    font-weight: var(--font-weight-bold);
    margin: 0 auto 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.62rem;
    box-shadow: 0 7px 8px rgba(0,0,0,0.1);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 9px 16px rgba(0,0,0,0.1);
}

.form-control {
    border: 3px solid var(--light-gray);
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 139, 41, 0.25);
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.20rem;
}

.contact-info i {
    margin-right: 0.75rem;
    color: var(--quaternary-color);
}

.contact-info-item {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.contact-info-item p {
    margin: 0;
    font-weight: var(--font-weight-bold);
    color: var(--dark-gray);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(41, 128, 44, 0.30);
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
}

/* Accordion/FAQ */
.accordion-item {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.accordion-item h6 {
    background: linear-gradient(135deg, var(--tertiary-light), var(--quaternary-light));
    margin: 0;
    padding: 1rem;
    color: var(--primary-dark);
    cursor: pointer;
    transition: background 0.3s ease;
    position: relative;
}

.accordion-item h6:after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.26rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.accordion-item.active h6:after {
    transform: translateY(-50%) rotate(45deg);
}

.accordion-item h6:hover {
    background: linear-gradient(135deg, var(--tertiary-color), var(--quaternary-color));
}

.accordion-item p {
    padding: 1rem;
    margin: 0;
    background: var(--light-gray);
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Gallery */
.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-light), var(--quinary-dark)) !important;
}

footer a {
    color: var(--tertiary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--quaternary-color);
}

/* Breadcrumb */
.breadcrumb-nav {
    background: var(--light-gray) !important;
    border-bottom: 1px solid var(--gray);
}

/* Feature Items */
.feature-item i {
    color: var(--secondary-color);
}

/* Reviews */
.review-card {
    background: linear-gradient(145deg, var(--white), var(--light-gray));
    border-left: 4px solid var(--primary-color);
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-success {
    color: var(--secondary-color) !important;
}

/* Image Resolutions */
img {
    max-width: 100%;
    height: auto;
}

/* Specific image sizing */
.hero-section img {
    width: 100%;
    max-width: 500px;
    height: 400px;
    object-fit: cover;
}

.service-card img,
.case-study-card img,
.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.team-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
