/********** Template CSS **********/
:root {
    --primary: #348E38;
    --secondary: #525368;
    --light: #E8F5E9;
    --dark: #0F4229;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** 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 {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.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;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 20px 0;
    color: var(--dark);
    font-size: 14px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    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) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 8px 0;
        font-size: 13px;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(15, 66, 41, .6);
    z-index: 1;
}

.carousel-caption .container {
    position: relative;
    z-index: 2;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.carousel-caption h3 {
    font-size: 2rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.carousel-caption p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

/* Carousel size matching the reference design */
#header-carousel {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

#header-carousel .carousel-item {
    position: relative;
    width: 100%;
    height: 600px;
}

#header-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 1440px) {
    #header-carousel .carousel-item {
        height: 500px;
    }
}

@media (max-width: 1200px) {
    #header-carousel .carousel-item {
        height: 450px;
    }
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        height: 400px;
    }
}

@media (max-width: 576px) {
    #header-carousel .carousel-item {
        height: 350px;
    }
}

.page-header {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}

/* Image Card Styling */
.image-card-wrapper {
    padding: 20px;
}

.image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    background: #fff;
    border: 3px solid transparent;
}

.image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.image-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.image-card:hover img {
    transform: scale(1.05);
}

.image-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 142, 56, 0.8), rgba(15, 66, 41, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.image-card:hover .image-card-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.image-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content i {
    display: block;
    margin-bottom: 15px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.overlay-content h5 {
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.overlay-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Responsive adjustments for image card */
@media (max-width: 768px) {
    .image-card img {
        height: 300px;
    }
    
    .image-card-wrapper {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .image-card img {
        height: 250px;
    }
    
    .image-card-wrapper {
        padding: 10px;
    }
}

/* Enhanced About Us Section Styling */
.section-badge {
    margin-bottom: 2rem;
}

.section-badge .badge {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.about-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2);
}

.about-image-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.about-image-card:hover img {
    transform: scale(1.02);
}

.image-stats-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(52, 142, 56, 0.95), rgba(15, 66, 41, 0.98));
    padding: 25px;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    margin-bottom: 10px;
    opacity: 0.9;
}

.stat-content h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.stat-content small {
    font-size: 0.8rem;
    opacity: 0.8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.about-intro {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, rgba(52, 142, 56, 0.05), rgba(15, 66, 41, 0.05));
    border-radius: 15px;
    border-left: 4px solid var(--primary);
}

.intro-icon {
    text-align: center;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(52, 142, 56, 0.3);
}

.icon-circle i {
    color: white;
}

.features-grid {
    margin: 2rem 0;
}

.feature-card {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(52, 142, 56, 0.1);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(52, 142, 56, 0.1), rgba(15, 66, 41, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.2rem;
}

.feature-content h6 {
    margin-bottom: 5px;
    color: var(--dark);
}

.feature-content small {
    line-height: 1.4;
}

.mission-section {
    background: linear-gradient(135deg, rgba(52, 142, 56, 0.05), rgba(15, 66, 41, 0.05));
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--primary);
}

.mission-header h5 {
    display: flex;
    align-items: center;
}

.mission-header h5 i {
    margin-right: 10px;
}

.department-role {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.department-role h6 {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.department-role h6 i {
    margin-right: 10px;
}

.role-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.role-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(52, 142, 56, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.role-item:hover {
    background: rgba(52, 142, 56, 0.1);
    transform: translateX(5px);
}

.role-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.role-icon i {
    font-size: 1.1rem;
}

.vision-statement {
    margin-top: 2rem;
}

.vision-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(52, 142, 56, 0.3);
}

.vision-icon {
    flex-shrink: 0;
}

.vision-icon i {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.vision-content p {
    margin: 0;
    line-height: 1.8;
}

/* Responsive adjustments for About section */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .about-image-card img {
        height: 400px;
    }
    
    .about-image-wrapper {
        padding: 15px;
    }
    
    .feature-card {
        margin-bottom: 15px;
    }
    
    .vision-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Plantation Details Interactive Styling */
.spice-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.spice-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(52, 142, 56, 0.2);
}

.spice-description {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(52, 142, 56, 0.05);
    border: 1px solid transparent;
}

.spice-description:hover {
    background: rgba(52, 142, 56, 0.1);
    border-color: var(--primary);
    transform: scale(1.02);
}

#plantation-filters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
    border-radius: 25px;
}

#plantation-filters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
    padding: 5px 15px;
    margin: 0 5px;
    border-radius: 15px;
}

#plantation-filters li:hover,
#plantation-filters li.active {
    color: var(--dark);
    background: var(--primary);
    color: white;
}

/* Sub-Filter Styling */
#district-sub-filters,
#tehsil-sub-filters {
    display: inline-block;
    background: rgba(52, 142, 56, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid rgba(52, 142, 56, 0.2);
}

/* Expected Output Details Horizontal Layout */
#expected-output-details .row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

#expected-output-details .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

@media (max-width: 991.98px) {
    #expected-output-details .row {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    #expected-output-details .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 575.98px) {
    #expected-output-details .row {
        flex-direction: column;
    }
    
    #expected-output-details .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

#district-sub-filters li,
#tehsil-sub-filters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .3s;
    padding: 4px 12px;
    margin: 0 3px;
    border-radius: 12px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid transparent;
}

#district-sub-filters li:hover,
#tehsil-sub-filters li:hover {
    background: rgba(52, 142, 56, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
}

#district-sub-filters li.active,
#tehsil-sub-filters li.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(52, 142, 56, 0.3);
}

.clickable-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: rgba(52, 142, 56, 0.05) !important;
}

.filter-section,
.statistics-section {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .about-image-card img {
        height: 350px;
    }
    
    .about-image-wrapper {
        padding: 10px;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}


/*** Facts & Quote ***/
.facts,
.quote {
    background: rgba(15, 66, 41, .6);
}


/*** Service ***/
.service-item {
    position: relative;
    text-align: center;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transform: scale(1.2);
    transition: .3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.service-item:hover .service-text {
    background: rgba(15, 66, 41, .6);
}

.service-item .service-text h4,
.service-item .service-text p {
    transition: .3;
}

.service-item:hover .service-text h4 {
    color: #FFFFFF;
}

.service-item:hover .service-text p {
    color: var(--light);
}

.service-item .service-text .btn-square {
    width: 100px;
    height: 100px;
    background: transparent;
    transition: .5s;
}

.service-item:hover .service-text .btn-square {
    background: var(--light);
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--light);
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;
}

.service-item:hover .service-text .btn {
    width: 112px;
}


/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 66, 41, .6);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    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;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #072A19;
}

.copyright a {
    color: #FFFFFF;
}

.copyright a:hover {
    color: var(--primary);
}

/* My Plant Section Styling */
.plant-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.plant-image-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.plant-image-container:hover img {
    transform: scale(1.05);
}

.plant-info .info-item {
    padding: 12px 15px;
    background: rgba(52, 142, 56, 0.05);
    border-radius: 10px;
    border-left: 3px solid var(--primary);
}

.plant-info .info-item label {
    display: block;
    margin-bottom: 5px;
}

.plant-info .info-item span {
    font-size: 1.1rem;
    color: var(--dark);
}

/* Search Form Styling */
.form-floating .form-control:focus,
.form-floating .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(52, 142, 56, 0.25);
}

.form-floating .form-control:focus + label,
.form-floating .form-select:focus + label {
    color: var(--primary);
}

/* Table Styling */
.table-hover tbody tr:hover {
    background-color: rgba(52, 142, 56, 0.05);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.table th {
    border-top: none;
    border-bottom: 2px solid var(--primary);
    color: var(--dark);
    color: var(--dark);
    font-weight: 600;
}

.table td {
    vertical-align: middle;
    border-color: rgba(52, 142, 56, 0.1);
}

/* Badge Styling */
.badge.bg-primary {
    background-color: var(--primary) !important;
    font-size: 0.8rem;
    padding: 6px 12px;
}

/* Button Styling */
.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Modal Styling */
.modal-header {
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    border-bottom: none;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments for My Plant section */
@media (max-width: 768px) {
    .plant-image-container img {
        height: 250px;
    }
    
    .plant-info .info-item {
        padding: 10px 12px;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
}

/* Gallery Section Styling */
.gallery-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 142, 56, 0.8), rgba(15, 66, 41, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h5 {
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.gallery-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Responsive adjustments for Gallery */
@media (max-width: 768px) {
    .gallery-item img {
        height: 200px;
    }
}

/* Contact Us Section Styling */
.contact-info {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(52, 142, 56, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.contact-item:hover {
    background: rgba(52, 142, 56, 0.1);
    border-left-color: var(--primary);
    transform: translateX(5px);
}

.contact-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(52, 142, 56, 0.1), rgba(15, 66, 41, 0.1));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: linear-gradient(135deg, var(--primary), var(--dark));
    transform: scale(1.1);
}

.contact-item:hover .contact-icon i {
    color: white !important;
}

.contact-details h5 {
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-details p {
    color: var(--dark);
    line-height: 1.6;
    margin: 0;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-form .form-floating {
    margin-bottom: 20px;
}

.contact-form .form-control,
.contact-form .form-control:focus {
    border: 2px solid rgba(52, 142, 56, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(52, 142, 56, 0.25);
}

.contact-form .form-floating label {
    color: var(--dark);
    font-weight: 500;
}

.contact-form .form-control:focus + label {
    color: var(--primary);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 15px 30px;
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(52, 142, 56, 0.3);
}

/* Responsive adjustments for Contact section */
@media (max-width: 768px) {
    .contact-info,
    .contact-form {
        padding: 20px;
    }
    
    .contact-item {
        padding: 15px;
        gap: 15px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon i {
        font-size: 1.5rem !important;
    }
    
    .contact-form .btn {
        padding: 12px 25px;
        width: 100%;
    }
}