
@import url('https://fonts.googleapis.com/css2?family=Marmelad&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');


:root {  
    --primary-color: #34BC3D;  
    --secondary-color: #035946;   
} 

  
body {
    font-family: "Ubuntu", sans-serif;  
    font-weight: 400;
    font-style: normal;
  }

.modal-header  .modal-title{
    color: var(--primary-color); 
  }


/* General header style  */

.department-header {
    background: linear-gradient(rgba(3, 89, 70, 0.8), rgba(3, 89, 70, 0.9)), url('../images/img9.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    margin-bottom: 20px; 
    border-bottom: 5px solid #2da335;
}

.department-header .header-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.log-icon .fa-circle-user{
    transition: 0.5s;
    font-size: 35px;
}

.log-icon .fa-circle-user:hover{
    transform: TranslateY(-4px);
    cursor: pointer;
}

.log-icon .fa-right-to-bracket{
    transition: 0.5s;
    font-size: 35px;
}
.log-icon .fa-right-to-bracket:hover{
    transform: TranslateX(4px);
    cursor: pointer;
}
/* General header style end  */




.cl-grey{
    color: #6c757d;
}



.section-1 .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.section-1 .btn-primary:hover {
    background-color: #2da335;
    border-color: #2da335;
}

.section {
    padding: 0px 0;
}


.section-2 {
    background-color: white;
}

.section-3  {
    background-color: #F5F7F7;
}

.edu-section {
    position: relative;
    cursor: pointer;
}

.edu-section .img-edu2{
transition: 0.5s ease-in-out;
}
.edu-section .img-edu2:hover{
    transform: scale(0.9);
}

.edu-section .img-edu1 {
    position: absolute;
    color: var(--secondary-color);
    font-size: 100px;
    z-index: 1;
    transition: transform 0.3s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 170px;
    height: 170px;
}


.edu-section .img-edu:hover {
    transform: translateX(-50%, -50%);
}

.introText{
    color: #2da335;
    font-weight: 400;
}

.lead-divider {
    width: 90px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1rem auto;
    border-radius: 2px;
}


/* Dropdown Menu Styles */
.dropdown-item {
    transition: all 0.1s ease;
}

.nav-link.show {
    color: white !important;
}

.dropdown-item:hover {
    border-left: 3px solid #1bca27;
}

/* Hover-based dropdown for large screens */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .nav-item.dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    .imgbox{
       max-height: 200px;
     }


}

/* Navbar Link Styles */
.navbar {
    background-color: var(--secondary-color); 
}

.nav-link {
    color: white ;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8); 
}

.nav-link.dropdown-toggle::after {
    vertical-align: middle;

}

/* Search form styles */
.search-input-wrapper input{
    position: relative;
    width: 600px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-icon {
    position: absolute;
    right: 90px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 2;
    cursor: pointer;
}

.search-input-wrapper input {
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 5px 0 0 5px;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder, 
.search-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus,
.search-input-wrapper input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    box-shadow: 0 0 10px rgba(3, 89, 70, 0.3);
    outline: none;
}

/* Navbar toggler icon styles */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon-custom {
    color: white;
    font-size: 1.2  rem;
    transition: 0.3s all ;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    padding: 5px  10px;
}

.navbar-toggler{
    padding:  0px;
}

.navbar-toggler-icon-custom:hover{
    padding: 5px  12px;
}



/* Mobile styles */
@media (max-width: 992px) {
    .nav-link.dropdown-toggle::after {
        float: right;
    }
    
    .navbar-collapse{
        margin-top: 10px;
    }

    .navbar-nav {
        margin-bottom: 1rem;
    }

    .dropdown-menu {
        background-color: rgba(255, 255, 255, 0.1) !important;
        border: none;
        border-radius: 5px;
    }

    .dropdown-menu li a {
        color: white; 
        padding: 0.5rem 1rem;
        margin-top: 5px;
    }

    .dropdown-menu li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }


    .search-input-wrapper {
        width: 100%;
    }

    .search-icon {
        top: 92.5%;
        transform: translateY(-50%);
        right: 30px;
    }

    .edu-section {
      text-align: center;
     }
}

/* Additional styles for better mobile experience */
@media (max-width: 768px) {
    .search-input-wrapper input {
        border-radius: 5px;
        width: 100% !important;
    }

/* Media Queries for Mobile Responsiveness */
@media (max-width: 992px) {
    .section-1 {
        text-align: center;
    }

    .section-1 .row {
        flex-direction: column;
    }
    
    .section-1 .col-lg-6 {
        width: 100%;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .section-1 img {
        margin-bottom: 2rem;
    }
    
    .section-1 h1 {
        font-size: 2.5rem;
    }
}



    /* Additional section-1 centering for extra small screens */
    .section-1 h1 {
        font-size: 2rem; 
    }

    .section-1 p {
        font-size: 1rem; 
        padding: 0 1rem;
    }
}

/* blog and news styles */




.card {
    border: none;
}


.list-group-item {
    border: none;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}
.blockquote {
    border-left: 4px solid var(--primary-color);
}   


/* Comment form input styling */
 .form-control {
    border: none;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0;
    padding: 0.5rem 0;
}
 .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}
textarea.form-control {
    border: 1px solid #dee2e6;
    border-radius: 4px;
}
textarea.form-control:focus {
    border-color: var(--primary-color);
}






.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-wrapper:hover {
    cursor: pointer;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(3, 89, 70, 0.5);
}

.middle-image {
    transform: scale(1.1);
    z-index: 1;
}

.middle-image:hover {
    transform: scale(1.1) translateY(-3px); 
}

/* Media Queries for Section 2 */
@media (max-width: 992px) {
    
    .section-2 .col-md-4 {
        margin-bottom: 30px;
    }

    .post .post-title {
        font-size: 1rem;
    }
}


/* Section 4 and 5 Styles */
.section-3 {
    padding: 80px 0;
}




.section-3 h2 {
    color: var(--secondary-color);
    font-weight: 600;
}

.section-3 p{
    color: #6c757d;
    line-height: 1.8;
}



/* Mobile Styles for Sections 3 and 4 */
/* @media (max-width: 992px) {
    .section-3{
        padding: 60px 0;
    }
    
    .section-3 .row {
        flex-direction: column;
    }
    
    .section-3 .col-lg-6{
        width: 100%;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .section-3 img {
        margin-bottom: 2rem;
    }
    
    .section-3 h2 {
        font-size: 1.5rem;
    }
    
    .section-3 p {
        font-size: 1rem;
        padding: 0 1rem;
    }
} */

/* Features Section Styles */
.features-section {
    background-color: #035946; 
    padding: 80px 0;
    color: white;
}

.feature-item {
    position: relative;
    padding: 0 20px;
}

.feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    color: var(--primary-color);
}

.feature-item h3 {
    color: white;
    font-weight: 600;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Mobile Styles for Features Section */
@media (max-width: 992px) {
    .features-section {
        padding: 60px 0;
    }
    
    .feature-item {
        margin-bottom: 30px;
        padding: 0;
    }
    
    .feature-item:not(:last-child)::after {
        display: none;
    }
    
    .feature-item:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 30px;
    }
}

/* Social Media Icons */
.social-icons { 
    display: flex;
    align-items: center;
}

.social-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 0.8;
}

.social-icon.instagram {
    background-image: url('images/instagram.png');
}

.social-icon.whatsapp {
    background-image: url('images/whatsapp-business-icon.webp');
}

.social-icon.facebook {
    background-image: url('images/facebook-logo-255556941.webp');
}

/* Flip Card Styles */
.flip-card {
    background-color: transparent;
    perspective: 1000px;
    width: 250px;
    height: 250px;
    margin: 15px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.flip-card-front {
    background-color: var(--secondary-color);
    color: white;
}

.flip-card-front i {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.flip-card-front p {
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    padding: 0 0.8rem;
}

.flip-card-back {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.flip-card-back .btn {
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.flip-card-back .btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: scale(1.05);
}

/* Responsive styles for flip cards */
@media (max-width: 992px) {
    .flip-card {
        width: 220px;
        height: 220px;
        margin: 10px;
    }

    .flip-card-front i {
        font-size: 2.2rem;
        margin-bottom: 0.6rem;
    }

    .flip-card-front p {
        font-size: 1rem;
        padding: 0 0.6rem;
    }

    .flip-card-back .btn {
        padding: 6px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .flip-card {
        width: 200px;
        height: 200px;
        margin: 8px;
    }

    .flip-card-front i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .flip-card-front p {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 576px) {
    .flip-card {
        width: 180px;
        height: 180px;
        margin: 6px;
    }

    .flip-card-front i {
        font-size: 1.8rem;
        margin-bottom: 0.4rem;
    }

    .flip-card-front p {
        font-size: 0.85rem;
        padding: 0 0.4rem;
    }

    .flip-card-back .btn {
        padding: 5px 14px;
        font-size: 0.85rem;
    }
}

/* Department Header and Introduction Styles */
.department-header {
    margin-bottom: 2rem;
}

.department-header h1 {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.intro-section {
    margin-bottom: 3rem;
}

.intro-section .lead {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive styles for header and intro */
@media (max-width: 768px) {
    .department-header h1 {
        font-size: 2rem;
    }

    .intro-section .lead {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .department-header h1 {
        font-size: 1.8rem;
    }

    .intro-section .lead {
        font-size: 0.95rem;
    }
}

/* styles pages kiyes nou ye */

            .supporter-card {
                padding: 1.5rem;
                background: white;
                border-radius: 10px;
                box-shadow: 0 2px 8px rgba(0,0,0,0.1);
                transition: transform 0.3s ease, box-shadow 0.3s ease;

            }

            .supporter-card:hover {
                transform: translateY(-5px);
                box-shadow: 0 4px 15px rgba(0,0,0,0.15);
            }

            

            .supporter-name {
                color: #035946;
                font-weight: 600;
                margin-bottom: 0.5rem;
                font-size : 14px;
            }

            .supporter-title {
                color: #666;
                font-size: 0.9rem;
                margin-bottom: 0;
            }

           
            .background-green {
                background: linear-gradient(180deg,rgba(37, 218, 49, 0.5) 0%, rgba(7, 143, 113, 0.12) 40%);
              }