/********** Template CSS **********/
:root {
    --primary: #1b6d41;
    --secondary: #8D9297;
    --light: #F8F9FA;
    --dark: #182333;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Topbar ***/
.topbar-custom {
    background: linear-gradient(135deg, #1b6d41 0%, #2d8f5a 50%, #1b6d41 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.topbar-item {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.topbar-item:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.topbar-item:last-child {
    border-right: none;
}

.topbar-item small {
    font-size: 13px;
    font-weight: 500;
}

.topbar-item .fa {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.topbar-item:hover .fa {
    color: #ffffff;
    transform: scale(1.1);
}

.topbar-custom .btn-outline-primary {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
    transition: all 0.3s ease;
}

.topbar-custom .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/*** Modern Navbar ***/
.navbar-modern {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(27, 109, 65, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-modern.sticky-top {
    top: -100px;
    transition: all 0.5s ease;
}

.navbar-modern.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.logo-wrapper {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.logo-wrapper:hover {
    transform: translateY(-2px);
}

.logo-img {
    height: 60px;
    width: 60px;
    object-fit: contain;
    margin-right: 15px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(27, 109, 65, 0.2));
}

.logo-wrapper:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(27, 109, 65, 0.3));
}

.logo-text h2 {
    color: var(--primary);
    font-weight: 700;
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.2;
}

.logo-text small {
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link-modern {
    margin-left: 30px;
    padding: 25px 0;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.nav-link-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 109, 65, 0.1), rgba(45, 143, 90, 0.1));
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-link-modern:hover::before,
.nav-link-modern.active::before {
    left: 0;
}

.nav-link-modern:hover,
.nav-link-modern.active {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-link-modern i {
    transition: all 0.3s ease;
}

.nav-link-modern:hover i,
.nav-link-modern.active i {
    transform: scale(1.1);
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .nav-link-modern {
        margin-left: 0;
        padding: 15px 20px;
        border-radius: 8px;
        margin-bottom: 5px;
    }

    .navbar .navbar-nav {
        margin-top: 25px;
        border-top: 1px solid rgba(27, 109, 65, 0.1);
        padding-top: 20px;
    }

    .logo-text h2 {
        font-size: 1.5rem;
    }

    .logo-img {
        height: 50px;
        width: 50px;
        margin-right: 12px;
    }

    /* Mobile Toggle Button Styling */
    .navbar-toggler {
        border: 3px solid #000000 !important;
        background: #ffffff !important;
        width: 50px !important;
        height: 50px !important;
        padding: 0 !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
        transition: all 0.3s ease !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .navbar-toggler:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
        border-color: #333333 !important;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25) !important;
        outline: none !important;
    }

    .navbar-toggler-icon {
        background-image: none !important;
        width: 20px !important;
        height: 20px !important;
        position: relative !important;
        display: block !important;
    }

    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after,
    .navbar-toggler-icon {
        content: '' !important;
        position: absolute !important;
        width: 20px !important;
        height: 3px !important;
        background-color: #000000 !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
    }

    .navbar-toggler-icon {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }

    .navbar-toggler-icon::before {
        top: -6px !important;
        left: 0 !important;
    }

    .navbar-toggler-icon::after {
        top: 6px !important;
        left: 0 !important;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background-color: transparent !important;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
        transform: rotate(45deg) !important;
        top: 0 !important;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
        transform: rotate(-45deg) !important;
        top: 0 !important;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
#header-carousel .carousel-item {
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.carousel-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.carousel-image-wrapper img {
    transition: transform 0.8s ease;
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.carousel-item:hover .carousel-image-wrapper img {
    transform: scale(1.05);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(27, 109, 65, 0.8) 0%, 
        rgba(0, 0, 0, 0.6) 30%, 
        rgba(0, 0, 0, 0.4) 60%, 
        rgba(27, 109, 65, 0.7) 100%);
    z-index: 1;
    transition: all 0.3s ease;
}

.carousel-item:hover .carousel-overlay {
    background: linear-gradient(135deg, 
        rgba(27, 109, 65, 0.7) 0%, 
        rgba(0, 0, 0, 0.5) 30%, 
        rgba(0, 0, 0, 0.3) 60%, 
        rgba(27, 109, 65, 0.6) 100%);
}

.carousel-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-badge {
    display: inline-block;
    background: rgba(27, 109, 65, 0.9);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(27, 109, 65, 0.3);
}

.carousel-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-description {
    font-size: 1.2rem;
    color: #f8f9fa;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(27, 109, 65, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(27, 109, 65, 0.3);
}

.carousel-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.carousel-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-buttons .btn-primary {
    background: linear-gradient(45deg, var(--primary), #2d8f5a);
    border: none;
}

.carousel-buttons .btn-primary:hover {
    background: linear-gradient(45deg, #2d8f5a, var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 109, 65, 0.4);
}

.carousel-buttons .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.carousel-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 4;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(27, 109, 65, 0.8);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(27, 109, 65, 0.3);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
    filter: brightness(0) invert(1);
}

.carousel-caption .breadcrumb-item+.breadcrumb-item::before {
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .carousel-title {
        font-size: 3rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }
    
    .carousel-control-prev {
        left: 20px;
    }
    
    .carousel-control-next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        height: 100vh;
        min-height: 500px;
        max-height: 700px;
        position: relative;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        top: 0;
        left: 0;
    }

    .carousel-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .carousel-description {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .carousel-badge {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 15px;
    }
    
    .carousel-features {
        gap: 10px;
        margin-bottom: 25px;
    }
    
    .feature-tag {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .carousel-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .carousel-buttons .btn {
        width: 200px;
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 16px;
        height: 16px;
        background-size: 16px 16px;
    }
}

@media (max-width: 576px) {
    #header-carousel .carousel-item {
        height: 100vh;
        min-height: 400px;
        max-height: 600px;
    }
    
    .carousel-title {
        font-size: 2rem;
    }
    
    .carousel-description {
        font-size: 1rem;
    }
    
    .carousel-buttons .btn {
        width: 180px;
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-2 {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
.facts-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, rgba(27, 109, 65, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(27, 109, 65, 0.8) 100%);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.facts-overlay:hover {
    background: linear-gradient(135deg, rgba(27, 109, 65, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(27, 109, 65, 0.9) 100%);
    transform: scale(1.02);
}

.facts-overlay h1 {
    font-size: 120px;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.3));
    transition: all 0.3s ease;
}

.facts-overlay:hover h1 {
    -webkit-text-stroke: 3px var(--primary);
    filter: drop-shadow(0 6px 12px rgba(255, 255, 255, 0.4));
}

.facts-overlay h4 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.facts-overlay:hover h4 {
    transform: translateY(-2px);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.facts-overlay p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.facts-overlay:hover p {
    transform: translateY(-1px);
}

.facts-overlay a {
    transition: all 0.3s ease;
    position: relative;
}

.facts-overlay a:hover {
    color: var(--primary) !important;
    transform: translateX(5px);
}

.facts-overlay a:hover i {
    transform: translateX(3px);
}


/*** Service ***/
.service-item {
    transition: all 0.4s ease;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    border: 1px solid rgba(27, 109, 65, 0.1);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(27, 109, 65, 0.2);
    border-color: rgba(27, 109, 65, 0.3);
}

.service-item img {
    transition: all 0.4s ease;
    height: 250px;
    object-fit: cover;
}

.service-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.service-text {
    position: relative;
    background: #ffffff;
    transition: all 0.4s ease;
}

.service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, var(--primary), #2d8f5a);
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 15px;
}

.service-item:hover .service-text::before {
    height: 100%;
    opacity: 1;
}

.service-text * {
    position: relative;
    transition: all 0.4s ease;
    z-index: 1;
}

.service-item:hover .service-text * {
    color: #FFFFFF !important;
}

.service-text h5 {
    font-weight: 700;
    margin-bottom: 15px;
    transition: all 0.4s ease;
}

.service-item:hover .service-text h5 {
    transform: translateY(-2px);
}

.service-text p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-text a {
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-item:hover .service-text a {
    transform: translateX(5px);
}

.service-item:hover .service-text a i {
    transform: translateX(3px);
}


/*** Appointment ***/
.appointment {
    background: linear-gradient(135deg, rgba(27, 109, 65, 0.9) 0%, rgba(37, 150, 190) 50%, rgba(27, 109, 65, 0.8) 100%), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.appointment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(27, 109, 65, 0.1) 0%, transparent 50%, rgba(45, 143, 90, 0.1) 100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.appointment .form-control {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.appointment .form-control:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.appointment .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.appointment .form-floating > label {
    color: rgba(255, 255, 255, 0.8);
}

.appointment .btn-primary {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.appointment .btn-primary:hover {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}


/*** Team ***/
.team-text {
    position: absolute;
    width: 75%;
    bottom: 30px;
    left: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    width: 100%;
}

.team-text * {
    transition: .5s;
}

.team-item:hover .team-text * {
    letter-spacing: 2px;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/
.footer {
    color: #999999;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #999999;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #999999;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

/*** Modern Effects & Animations ***/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Glassmorphism Effects */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Enhanced Button Styles */
.btn-modern {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 109, 65, 0.4);
}

/* Enhanced Section Styling */
.section-modern {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23e9ecef" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Card Hover Effects */
.card-modern {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(27, 109, 65, 0.1);
    transition: all 0.4s ease;
    overflow: hidden;
}

.card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(27, 109, 65, 0.2);
    border-color: rgba(27, 109, 65, 0.3);
}

/* Text Animations */
.text-animate {
    animation: fadeInUp 0.8s ease-out;
}

.text-animate-delay-1 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.text-animate-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.text-animate-delay-3 {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Loading Animation */
.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), #2d8f5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Borders */
.border-modern {
    position: relative;
}

.border-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary), #2d8f5a) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .section-modern {
        padding: 60px 0;
    }
    
    .card-modern {
        margin-bottom: 30px;
    }
    
    .btn-modern {
        width: 100%;
        margin-bottom: 15px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    
    
    .card-modern {
        background: #2d2d2d;
        color: #ffffff;
    }
}

/* Shopping Cart Styles */
.cart-container {
    position: relative;
}

.cart-badge {
    font-size: 0.7rem;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cart-icon {
    transition: all 0.3s ease;
    color: var(--primary);
}

#cart-icon:hover {
    transform: scale(1.1);
    color: var(--primary);
}

.cart-item {
    transition: all 0.3s ease;
}

.cart-item:hover {
    background-color: rgba(27, 109, 65, 0.05) !important;
}

.modal-content {
    border: 1px solid rgba(27, 109, 65, 0.2);
}

.modal-header {
    border-bottom: 1px solid rgba(27, 109, 65, 0.2);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.modal-footer {
    border-top: 1px solid rgba(27, 109, 65, 0.2);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.btn-close {
    filter: none;
}

/* Cart item styling */
.cart-item img {
    border: 2px solid rgba(27, 109, 65, 0.1);
    transition: all 0.3s ease;
}

.cart-item:hover img {
    border-color: var(--primary);
    transform: scale(1.05);
}

/* Quantity buttons */
.btn-outline-secondary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-secondary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-outline-danger {
    border-color: #dc3545;
    color: #dc3545;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

/* WhatsApp button styling */
#checkout-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    transition: all 0.3s ease;
}

#checkout-btn:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

#checkout-btn:disabled {
    background: #6c757d;
    transform: none;
    box-shadow: none;
}

/* Notification styling */
.alert {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Add to cart button styling */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #2d7a4a);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2d7a4a, var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(27, 109, 65, 0.3);
}

/* Cart modal responsive */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 10px;
    }
    
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-item img {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .cart-item .text-end {
        text-align: center !important;
        margin-top: 10px;
    }
}