:root {
    --color-primary: #1E8449;
    --color-primary-light: #27AE60;
    --color-primary-dark: #196F3D;
    --color-white: #FFFFFF;
    --color-gray-100: #F8F9FA;
    --color-gray-200: #E9ECEF;
    --color-gray-600: #6C757D;
    --color-gray-800: #343A40;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition-default: all 0.3s ease;
}

body {
    scroll-behavior: smooth;
    font-family: 'Open Sans', sans-serif;
    color: var(--color-gray-800);
}

.btn-primary-custom {
    background-color: var(--color-primary);
    color: var(--color-white);
    transition: var(--transition-default);
}

.btn-primary-custom:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    transition: var(--transition-default);
}

.btn-outline-custom:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-custom.border-white {
    border-color: var(--color-white);
}

header {
    transition: background-color 0.3s ease;
    background-color: var(--color-primary-dark);
    box-shadow: var(--shadow-sm);
}

.nav-link-custom {
    position: relative;
    color: var(--color-white);
}

.nav-link-custom:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-link-custom.active {
    color: var(--color-white);
    font-weight: 600;
}

.nav-link-custom.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 50;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 10;
}

.section-heading {
    position: relative;
    display: block;
    padding-bottom: 15px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80px;
    height: 3px;
    background-color: var(--color-primary);
    transform: translateX(-50%);
}

.section-heading-left {
    text-align: left;
}

.section-heading-left::after {
    left: 0;
    transform: none;
}

.feature-card {
    transition: var(--transition-default);
    border-radius: 0.5rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card {
    transition: var(--transition-default);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-card-image {
    height: 200px;
    overflow: hidden;
}

.service-card-image img {
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.partner-logo {
    transition: var(--transition-default);
}

.partner-logo:hover {
    transform: translateY(-5px);
}

.form-control-custom {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control-custom:focus {
    color: #495057;
    background-color: #fff;
    border-color: var(--color-primary-light);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(30, 132, 73, 0.25);
}

.footer-link {
    transition: all 0.2s ease;
}

.footer-link:hover i {
    transform: translateX(3px);
}

footer .text-gray-400, 
footer .text-gray-500 {
    color: rgba(255, 255, 255, 0.8) !important;
}

footer a.text-gray-400:hover {
    color: #ffffff !important;
}

.bg-pattern {
    position: relative;
    overflow: hidden;
}

.bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f0f0f0' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.diagonal-box {
    position: relative;
}

.diagonal-box::before,
.diagonal-box::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: white;
    z-index: 1;
}

.diagonal-box::before {
    top: 0;
    transform: translateY(-100%) skewY(2deg);
    transform-origin: bottom right;
}

.diagonal-box::after {
    bottom: 0;
    transform: translateY(100%) skewY(-2deg);
    transform-origin: top left;
}

#back-to-top.visible {
    animation: pulse 2s infinite;
}

@media (max-width: 768px) {
    .section-heading {
        padding-bottom: 10px;
    }
    
    .section-heading::after {
        width: 60px;
        height: 2px;
    }
    
    .feature-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .service-card-image {
        height: 180px;
    }
}

@media (max-width: 640px) {
    .hero-overlay {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    }
}

.btn-primary-custom {
    background-color: #1E8449;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #196F3D;
}

.section-heading::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #1E8449;
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-heading-left::after {
    margin: 20px 0 0;
}

.service-image-container {
    height: 400px;
    overflow: hidden;
    border-radius: 0.75rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1023px) {
    .service-image-container {
        height: 300px;
    }
}

.experience-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background-color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 20;
}

.value-card {
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid #1E8449;
}

.process-step {
    position: relative;
}

.process-connector {
    display: none;
}

@media (min-width: 768px) {
    .process-connector {
        display: block;
        position: absolute;
        top: 50%;
        right: -5%;
        width: 10%;
        height: 3px;
        background-color: #1E8449;
        z-index: 0;
    }
}

.process-step:last-child .process-connector {
    display: none;
}

.process-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1E8449;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(30, 132, 73, 0.3);
}

.hero-parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.stats-container {
    background-color: rgba(30, 132, 73, 0.05);
    border-radius: 1rem;
    padding: 2rem;
}

.stats-item {
    text-align: center;
    padding: 1rem;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1E8449;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.team-card {
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 0.75rem;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.team-image-container {
    height: 300px;
    overflow: hidden;
}

.team-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.team-card:hover .team-image-container img {
    transform: scale(1.05);
}

.service-image-container {
    height: 400px;
    overflow: hidden;
    border-radius: 0.75rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1023px) {
    .service-image-container {
        height: 300px;
    }
}

@media (max-width: 639px) {
    .service-image-container {
        height: 250px;
    }
}

.gallery-item {
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.gallery-image {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    padding: 0.5rem 1rem;
    background-color: rgba(30, 132, 73, 0.8);
    border-radius: 0.25rem;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-title {
    transform: translateY(0);
}

.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0 0.25rem;
    cursor: pointer;
}

.filter-btn.active {
    background-color: #1E8449;
    color: white;
}

.filter-btn:not(.active) {
    background-color: rgba(30, 132, 73, 0.1);
    color: #1E8449;
}

.filter-btn:not(.active):hover {
    background-color: rgba(30, 132, 73, 0.2);
}

.facebook-cta {
    background-color: rgba(30, 132, 73, 0.05);
    border-radius: 1rem;
    padding: 2.5rem;
    margin-top: 3rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.facebook-cta:hover {
    border-color: rgba(30, 132, 73, 0.2);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.facebook-icon {
    background-color: #1877F2;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    box-shadow: 0 4px 6px -1px rgba(24, 119, 242, 0.4);
}

.hero-parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}