:root {
    --primary-color: #1a6b54;
    --secondary-color: #f8f9fa;
    --accent-color: #ffc107;
    --text-color: #333333;
    --light-text: #ffffff;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 0;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Topbar Styles */
.topbar {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 8px 0;
    position: relative;
}

.topbar a {
    color: var(--light-text);
    font-size: 14px;
}

.topbar a:hover {
    color: var(--accent-color);
}

.topbar .social-icons a {
    font-size: 16px;
    margin-left: 15px;
}

/* Header Section Styles */
.header-section {
    background-color: var(--light-text);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 15px 0;
    position: relative;
}


.logo-container {
    text-align: left;
}

.logo-img {
    height: 60px;
    width: auto;
}

.organization-name {
    text-align: center;
}

.organization-name h1 {
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.organization-name p {
    color: #333333;
    font-size: 14px;
    margin-bottom: 0;
    font-weight: bolder;
}

.search-container {
    padding: 10px;
}

.search-form .input-group {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-form .form-control {
    border: none;
    padding: 10px 20px;
    font-size: 14px;
}

.search-form .btn {
    padding: 10px 20px;
    background-color: var(--primary-color);
    border: none;
    color: var(--light-text);
}

#search-button:hover {
    background-color: #333333;
}
/* Navbar Styles */
.navbar {
    background-color: var(--primary-color) !important;
    padding: 0;
    position: relative;
}

.navbar-nav {
    margin: 0 auto;
}

.nav-link {
    color: var(--light-text) !important;
    padding: 15px 20px !important;
    font-size: 15px;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
    margin-top: 0;
    border-radius: 0;
    border: none;
    background-color: var(--primary-color);
}

.dropdown-item {
    color: var(--light-text);
    padding: 10px 20px;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

/* Main Content */
main {
    padding-top: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .topbar {
        text-align: center;
    }
    
    .topbar .social-icons {
        margin-top: 5px;
    }
    
    .logo-container {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .organization-name h1 {
        font-size: 24px;
    }
    
    .organization-name p {
        font-size: 12px;
    }
    
    .search-container {
        margin-top: 15px;
    }
}

/* When scrolling, only fix the navbar */
.navbar-scrolled .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-scrolled main {
    padding-top: 50px;
}

/* Footer Styles */
.footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 4rem 0 0;
}

.footer h5 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: none;
}

.footer ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    margin-top: 3rem;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    margin-bottom: 2rem;
    overflow: hidden;
}

.carousel-item {
    height: 600px;
    background-color: #000;
    border: none;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    opacity: 0.7;
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    padding: 0 20%;
}

.carousel-caption h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

/* About Section Styles */
.about-section {
    padding: 5rem 0;
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.about-image img {
    width: 100%;
    height: auto;
}

/* Projects Section Styles */
.project-card {
    margin: 15px;
    border: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    height: 200px;
    object-fit: cover;
}

.project-card .card-body {
    padding: 1.5rem;
}

.project-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* Partners Section Styles */
.partners-section {
    background-color: var(--secondary-color);
}

.partner-item {
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
}

.partner-item img {
    max-height: 80px;
    width: auto;
    margin-bottom: 1rem;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
}

.partner-item h6 {
    color: var(--text-color);
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }

    .carousel-caption {
        padding: 0 10%;
    }

    .carousel-caption h2 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .about-section {
        padding: 3rem 0;
    }

    .about-image {
        margin-bottom: 2rem;
    }
}

/* Contact Page Styles */
.page-header {
    background-color: var(--secondary-color);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.page-header h1 {
    color: var(--primary-color);
    font-weight: 700;
}

.contact-info, .contact-form {
    background-color: var(--light-text);
    height: 100%;
}

.icon-box {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
}

.contact-list li {
    transition: transform 0.3s ease;
}

.contact-list li:hover {
    transform: translateX(5px);
}

.contact-form .form-control {
    border: 1px solid rgba(0,0,0,0.1);
    padding: 0.8rem;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.contact-form .btn-primary {
    padding: 0.8rem 2rem;
    font-weight: 500;
}

.map-container {
    overflow: hidden;
    position: relative;
}

.map-container iframe {
    transition: transform 0.3s ease;
}

.map-container:hover iframe {
    transform: scale(1.02);
}

/* Responsive Contact Page */
@media (max-width: 768px) {
    .contact-info {
        margin-bottom: 2rem;
    }
    
    .icon-box {
        width: 35px;
        height: 35px;
    }
}

/* Project Slider Styles */
.project-slider {
    padding: 2rem 0;
    overflow: hidden;
}

.project-slider .swiper-container {
    padding: 1rem;
    margin: -1rem;
    border: none;
}

.project-slider .swiper-slide {
    height: auto;
    border: none;
}

.project-slider .swiper-pagination {
    position: relative;
    margin-top: 2rem;
}

.project-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    opacity: 0.5;
}

.project-slider .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Remove scrollbar from project slider */
.project-slider .swiper-container::-webkit-scrollbar {
    display: none;
}

.project-slider .swiper-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-collapse {
        background-color: var(--primary-color);
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 0.5rem;
    }

    .nav-link {
        padding: 0.5rem 0 !important;
    }

    .dropdown-menu {
        background-color: transparent;
        border: none;
        padding-left: 1rem;
    }

    .dropdown-item {
        color: var(--secondary-color);
    }
}

/* Add padding to main content to account for fixed header */
main {
    display: block;
}

/* JavaScript will add this class when scrolling */
.navbar-scrolled .topbar,
.navbar-scrolled .header-section {
    transform: translateY(-100%);
}

.navbar-scrolled .navbar {
    top: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar {
        top: 0px; /* Adjusted for mobile */
    }
    
    main {
        padding-top: 0px; /* Adjusted for mobile */
    }

    .navbar-scrolled .navbar {
        top: 0;
    }
}

/* Remove any unwanted borders */
.swiper-container,
.swiper-wrapper,
.swiper-slide,
.carousel,
.carousel-inner,
.carousel-item {
    border: none !important;
    outline: none !important;
}

/* Recent Projects Section */
.recent-projects {
    background-color: var(--secondary-color);
    padding: 80px 0;
}

.project-slider {
    position: relative;
    padding: 20px 0;
}

.project-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-card .card-body {
    padding: 1.5rem;
}

.project-card .card-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-card .card-text {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.project-card .btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.project-card .btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
}

/* Swiper Navigation Styles */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

.comname{
    font-size: 25px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .project-card img {
        height: 200px;
    }
    
    .project-card .card-body {
        padding: 1rem;
    }
    
    .project-card .card-title {
        font-size: 1.1rem;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
} 

