* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    overflow-x: hidden;
    background-color: #f9f9f9;
}

.logo{
    height:50px;
}

/* Moving Background Container */
#background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.moving-image {
    position: absolute;
    border-radius: 8px;
    transition: transform 0.3s;
}

.moving-image:hover {
    transform: scale(1.05);
    z-index: 10;
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5530 !important;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-icon {
    margin-left: 10px;
    font-size: 2rem;
}

.navbar-nav .nav-link {
    color: #2c5530 !important;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
    margin: 0 10px;
}

.navbar-nav .nav-link:hover {
    color: #4a7c59 !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: #4a7c59;
    transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Slider Section */
.slider-section {
    margin-top: 76px;
}

.carousel-item {
    height: 500px;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 20px;
    bottom: 50%;
    transform: translateY(50%);
}

.carousel-caption h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Section Styles */
section {
    position: relative;
    z-index: 1;
}

.section-title {
    color: #2c5530;
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 50px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 3px;
    background: #4a7c59;
}

/* About Section */
.about-image img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c5530;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #555;
}

/* Blog Section */
.blog-card {
    border: none !important;
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-card .card-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c5530;
}

.blog-card .card-text {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    color: #4a7c59;
    font-weight: 600;
    text-decoration: none;
}

/* Team Section */
.team-member {
    border: none !important;
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #f0f0f0;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #2c5530;
}

.member-role {
    color: #4a7c59;
    margin-bottom: 15px;
    font-weight: 500;
}

.member-desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-map {
    border: none !important;
    overflow: hidden;
}

.contact-info {
    border: none !important;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #4a7c59;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    flex-shrink: 0;
}

.contact-form .form-control {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
}

.submit-btn {
    background: #4a7c59;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1rem;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #2c5530;
}

/* Footer */
footer {
    background: #2c5530 !important;
}

.powered-by {
    font-size: 1.1rem;
    color: #a8d5ba;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1.2rem;
    }
    
    .carousel-item {
        height: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
/* Blog Modal Styles */
.blog-modal-image img {
    max-height: 300px;
    object-fit: cover;
    width: 100%;
}

.blog-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-content p {
    margin-bottom: 1rem;
}

.modal-header .btn-close {
    margin: -0.5rem auto -0.5rem -0.5rem;
}