/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    transition: opacity 3s ease;
}

.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid rgba(180, 0, 1, 255);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header Styles */
.header {
    background-color: rgba(180, 0, 1, 255);
    color: #ecf0f1;
    padding: 8px 20px;
    transition: transform 0.3s ease;
}

.header.hide {
    transform: translateY(-100%);
}

.header-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: nowrap;
    gap: 15px;
}

.header-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.header-item i {
    margin-right: 6px;
    font-size: 16px;
}

.header-item span {
    font-size: 12px;
}

/* Navigation Bar Styles */
.navbar {
    background-color: #ffffff;
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: top 0.3s ease;
}

.navbar.hide {
    top: -100px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo {
    height: 90px;
    width: auto;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 5px;
}

.upendo {
    color: rgba(180, 0, 1, 255);
}

.life-solutions {
    color: #000000;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-item {
    color: #2c3e50;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: bold;
}

.nav-item:hover {
    color: rgba(180, 0, 1, 255);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #2c3e50;
    cursor: pointer;
}
.nav-menu a{
    text-decoration: none;
    color: black;
    font-weight: bold;
}
.nav-menu a:hover{
    color: rgba(180, 0, 1, 255);
}


/* Hero Section Styles */
.hero-section {
    position: relative;
    overflow: hidden;
    margin-top: 15px;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    z-index: 2;
    width: 90%;
    padding: 0 20px;
}

.carousel-caption h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.carousel-caption p {
    font-size: 1.2rem;
}

/* Know More Section Styles */
.know-more {
    background-color: rgba(180, 0, 1, 255);
    padding: 20px 0;
    text-align: center;
    cursor: pointer;
}

.know-more-content {
    max-width: 1200px;
    margin: 0 auto;
}

.animated-text {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: bold;
    display: inline-block;
    position: relative;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.arrow {
    display: inline-block;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.animated-text:hover .arrow {
    transform: translateX(10px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* About Us Section Styles */
.about-us {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text {
    text-align: left;
}

.about-text h2 {
    font-size: 2rem;
    color: rgba(180, 0, 1, 255);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Two-Column Section Styles */
/* .two-column-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.box {
    background-color: #ffffff;
    padding: 30px;
    
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.box:hover::before {
    opacity: 1;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.box h2 {
    font-size: 1.5rem;
    color: rgba(180, 0, 1, 255);
    margin-bottom: 15px;
    text-align: center;
}

.box p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    text-align: center;
} */



/* Stakeholders Section */
.stakeholders-section {
    background: #f9f9f9;
    padding: 5rem 20px;
    border-top: 1px solid #eee;
    margin-top: 4rem;
}

.stakeholders-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stakeholders-container h2 {
    color: #B40001;
    font-size: 2.4rem;
    margin-bottom: 4rem;
    font-weight: 600;
}

.stakeholder-slider {
    position: relative;
    overflow: hidden;
}

.stakeholder-item {
    display: none;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
    border-left: 4px solid #B40001;
}

.stakeholder-item.active {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: slideIn 0.5s ease;
}

.stakeholder-logo {
    flex: 0 0 200px;
    padding: 1rem;
    border-right: 1px solid #eee;
}

.stakeholder-logo img {
    max-width: 150px;
    height: auto;
    filter: grayscale(0%);
}

blockquote p {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
}

blockquote p::before {
    content: open-quote;
    color: #B40001;
    font-size: 3rem;
    position: absolute;
    left: -1.5rem;
    top: -1rem;
}

blockquote footer cite {
    display: block;
    color: #B40001;
    font-weight: 600;
    font-style: normal;
}

blockquote footer span {
    color: #666;
    font-size: 0.95rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.prev-btn, .next-btn {
    display: none; /* Hide navigation arrows */
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.stakeholder-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stakeholder-dot.active {
    background: #B40001;
    transform: scale(1.2);
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .stakeholder-item.active {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 1rem; /* Reduced from 1.5rem */
    }
    .stakeholder-logo {
        border-right: none;
        padding: 0;
        margin: 0 auto 0.5rem; /* Added bottom margin */
        max-width: 150px;
      
    }
    .stakeholder-logo img {
        width: 100%;
        height: auto;
        max-width: 150px;
        margin-bottom: 50px;
    }
    blockquote p {
        padding-left: 0;
    }
    blockquote p::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .stakeholders-section {
        padding: 3rem 15px;
    }
    .stakeholders-container h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    .stakeholder-item.active {
        padding: 1.5rem;
    }
    blockquote p {
        margin-bottom: 1rem; /* Reduce text paragraph spacing */
    }
}

@media (max-width: 576px) {
    .stakeholders-container h2 {
        font-size: 1.6rem;
    }
    blockquote p {
        font-size: 1rem;
    }
    blockquote footer cite {
        font-size: 0.95rem;
    }
    blockquote footer span {
        font-size: 0.85rem;
    }
    .stakeholder-logo {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .stakeholders-section {
        padding: 2rem 10px;
    }
    .stakeholder-item.active {
        padding: 1rem;
    }
}

/* Two-Column Section */
.two-column-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.two-column-section .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.box {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(180, 0, 1, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.box:hover::before {
    opacity: 1;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.box h2 {
    font-size: 1.5rem;
    color: #B40001;
    margin-bottom: 15px;
}

.box p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
    

    blockquote p {
        padding-left: 0;
    }

    blockquote p::before {
        display: none;
    }
}

@media (max-width: 768px) {
   

    .two-column-section {
        padding: 40px 15px;
    }

    .two-column-section .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .box {
        padding: 20px;
    }

    .box h2 {
        font-size: 1.3rem;
    }

    .box p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
   

    blockquote p {
        font-size: 1rem;
    }

    blockquote footer cite {
        font-size: 0.95rem;
    }

    blockquote footer span {
        font-size: 0.85rem;
    }

    .prev-btn, .next-btn {
        width: 35px;
        height: 35px;
    }

   
}

@media (max-width: 480px) {
   

    .two-column-section {
        padding: 30px 10px;
    }
}

/* Two-Column Section */
.two-column-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.two-column-section .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.box {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(180, 0, 1, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.box:hover::before {
    opacity: 1;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.box h2 {
    font-size: 1.5rem;
    color: #B40001;
    margin-bottom: 15px;
}

.box p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
    

    blockquote p {
        padding-left: 0;
    }

    blockquote p::before {
        display: none;
    }
}

@media (max-width: 768px) {
   

    .two-column-section {
        padding: 40px 15px;
    }

    .two-column-section .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .box {
        padding: 20px;
    }

    .box h2 {
        font-size: 1.3rem;
    }

    .box p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
  

    blockquote p {
        font-size: 1rem;
    }

    blockquote footer cite {
        font-size: 0.95rem;
    }

    blockquote footer span {
        font-size: 0.85rem;
    }

    .prev-btn, .next-btn {
        width: 35px;
        height: 35px;
    }

   
}

@media (max-width: 480px) {.stakeholder-item.active {
        padding: 1rem;
    }

    .two-column-section {
        padding: 30px 10px;
    }
}
/* Footer Styles */
/* .footer {
    background-color: rgba(62, 60, 61, 255);
    color: #ffffff;
    padding: 40px 20px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-links, .footer-contact, .footer-social {
    list-style: none;
    padding: 0;
}

.footer-links li, .footer-contact li {
    margin-bottom: 10px;
}

.footer-links a, .footer-contact a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-contact a:hover {
    color: #c10001;
}

.footer-contact i {
    margin-right: 10px;
    color: #c10001;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #ffffff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #c10001;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
} */

/* Footer Styles */
.footer {
    background-color: rgba(62, 60, 61, 255);
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.footer-column h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    position: relative;
    padding-left: 15px;
}

.footer-links li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ffffff;
    font-size: 1.1em;
    line-height: 1;
}


.footer-links a {
    color: #e0e0e0;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 2px 0;
}

.footer-links a:hover {
    color: #c10001;
}

.footer-contact li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 20px;
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.footer-social a {
    font-size: 1.6rem;
    color: white;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #c10001;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 25px 0 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-links li {
        padding-left: 15px;
    }
    
    .footer-links li::before {
        color: #ffffff;
        left: 0;
    }
}

@media (max-width: 480px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }
    
    .footer-links li {
        font-size: 0.9rem;
    }
}
/* Scroll-to-Top Button Styles */
#scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(180, 0, 1, 255);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

#scroll-to-top:hover {
    background-color: #c10001;
}

/* Responsive Design for Mobile Devices */
@media (max-width: 768px) {
    .header {
        padding: 6px 10px;
    }

    .header-content {
        gap: 10px;
    }

    .header-item i {
        font-size: 14px;
    }

    .header-item span {
        font-size: 10px;
    }

    .navbar {
        padding: 10px 15px;
    }

    .logo {
        height: 70px;
        margin-right: 8px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        padding: 80px 30px;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        transition: 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .hero-carousel {
        height: 200px;
    }

    .carousel-item img {
        height: 200px;
    }

    .carousel-caption h1 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    .carousel-control-prev, .carousel-control-next {
        width: 30px;
        height: 30px;
    }

    .carousel-control-prev::before, .carousel-control-next::before {
        width: 10px;
        height: 10px;
    }

    .animated-text {
        font-size: 1.2rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-text {
        text-align: center;
    }

    .about-text h2 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 0.9rem;
        text-align: left;
    }

    .about-image img {
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    .two-column-section {
        padding-top: 20px;
    }

    .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .box {
        padding: 20px;
    }

    .box h2 {
        font-size: 1.3rem;
    }

    .box p {
        font-size: 0.9rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-column h3 {
        font-size: 1rem;
    }

    .footer-links li, .footer-contact li {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .footer-social {
        justify-content: flex-start;
        gap: 10px;
    }

    .footer-social a {
        font-size: 1rem;
    }
}



/* Our Programmes Content Section Styles */
.programmes-content {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.programmes-content .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.programmes-content h2 {
    font-size: 2rem;
    color: rgba(180, 0, 1, 255);
    margin-bottom: 20px;
}

.programmes-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}
/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    min-width: 220px;
    z-index: 1000;
    border-radius: 5px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: #333;
    padding: 12px 20px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f5f5f5;
}

.dropdown-content a:hover {
    background: rgba(180, 0, 1, 0.05);
    color: rgba(180, 0, 1, 255);
}

/* Programme Header Styles */
.programme-header {
    position: relative;
    height: 400px;
    overflow: hidden;
    position: relative;
    overflow: hidden;
    margin-top: 15px;
}

.programme-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
 
}


.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.programme-header h1 {
    color: #fff;
    font-size: 3rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Content Section Styles */
.programme-content {
    padding: 60px 20px;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 30px;
    margin: 30px 0;
}

.section-title {
    color: rgba(180, 0, 1, 255);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.donate-btn {
    background: rgba(180, 0, 1, 255);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.donate-btn:hover {
    background: #c10001;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(180,0,1,0.3);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .programme-header {
        height: 200px;

    }
    .programme-header img{
        height: 200px;
    }
    .programme-header h1 {
        font-size: 2rem;
    }
    
    .section-box {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}
/* Programme List Styling */
.programme-list {
    margin: 20px 0;
    padding-left: 30px;
}

.programme-list li {
    margin-bottom: 10px;
    line-height: 1.6;
    position: relative;
}

.programme-list li::before {
    content: "•";
    color: rgba(180, 0, 1, 255);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Initiative Grid */
.initiative-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.initiative-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid rgba(180, 0, 1, 255);
    transition: transform 0.3s ease;
}

.initiative-card:hover {
    transform: translateY(-5px);
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .programme-header h1 {
        font-size: 2rem;
        padding: 0 15px;
    }
    
    .section-box {
        padding: 20px;
        margin: 20px 0;
    }
    
    .initiative-grid {
        grid-template-columns: 1fr;
    }
}
/* Additional CSS Styles */
.urgent-alert {
    background: #FFF3F3;
    border-left: 4px solid #B40001;
    padding: 15px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lead-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 30px;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.challenge-card {
    text-align: center;
    padding: 25px;
    border-radius: 8px;
    background: #F8F9FA;
    transition: transform 0.3s ease;
}

.challenge-card i {
    font-size: 2rem;
    color: #B40001;
    margin-bottom: 15px;
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.strategy-section {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #EEE;
    border-bottom: 1px solid #EEE;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.strategy-card {
    position: relative;
    padding: 25px;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.strategy-number {
    position: absolute;
    top: -15px;
    left: -15px;
    background: #B40001;
    color: #FFF;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.impact-banner {
    background: #F8F9FA;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.impact-banner i {
    font-size: 2.5rem;
    color: #B40001;
}

.cta-section {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: #F8F9FA;
    border-radius: 8px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .challenge-grid {
        grid-template-columns: 1fr;
    }
    
    .strategy-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-section {
        padding: 20px;
    }
    
    .donate-btn {
        width: 100%;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .programme-header h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .challenge-card {
        padding: 20px;
    }
}
/* Additions to CSS */
.icon-red {
    color: #B40001;
}

.advocacy-section {
    margin: 30px 0;
    padding: 20px;
    background: #FFF9F9;
    border-radius: 8px;
}

.advocacy-card {
    padding: 20px;
    margin: 15px 0;
    border-left: 3px solid #B40001;
    background: #FFF;
}

.initiative-card i,
.advocacy-card i {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

/* Enhanced Responsive Features */
@media (max-width: 768px) {
    .initiative-grid,
    .strategy-grid {
        grid-template-columns: 1fr;
    }
    
    .urgent-alert {
        flex-direction: column;
        text-align: center;
    }
    
    .impact-banner {
        padding: 15px;
    }
    
    .donate-btn {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .programme-header h1 {
        font-size: 1.8rem;
    }
    
    .strategy-card {
        padding: 20px;
    }
    
    .advocacy-card {
        padding: 15px;
    }
}

.strategy-card h3 {
    color: #B40001;
    margin: 10px 0;
}

.initiative-card h3 {
    color: #444;
    margin: 15px 0;
}

.impact-banner h3 {
    color: #B40001;
    margin-bottom: 5px;
}
/* New CSS Additions */
.priority-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.priority-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f5f5f5;
}

.priority-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.priority-card {
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.risk-factors {
    background: #fff5f5;
    border: 1px solid #ffe5e5;
}

.statistics-card {
    background: #f8f9fa;
    border: 1px solid #eee;
}

.commitment-card {
    background: #fff;
    border: 2px solid #b40001;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.card-header i {
    color: #b40001;
    font-size: 1.8rem;
}

.disease-list {
    list-style: none;
}

.disease-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.disease-list span {
    color: #666;
    font-size: 0.9em;
}

.stat-item {
    text-align: center;
    padding: 20px;
    margin: 15px 0;
    background: #fff;
    border-radius: 8px;
}

.stat-number {
    color: #b40001;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    color: #444;
    font-size: 0.95rem;
    margin-top: 8px;
}

.approach-list {
    display: grid;
    gap: 20px;
}

.approach-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #fff8f8;
    border-radius: 8px;
}

.approach-number {
    width: 40px;
    height: 40px;
    background: #b40001;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
}

.callout-banner {
    background: #b40001;
    color: #fff;
    padding: 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.callout-banner i {
    font-size: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .priority-grid {
        grid-template-columns: 1fr;
    }
    
    .priority-card {
        padding: 25px;
    }
    
    .callout-banner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .disease-list li {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .approach-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Add to styles.css */
.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
}

button[type="submit"] {
    background-color: #2962ff;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: #fff8f8;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 2.5rem;
    color: #b40001;
    margin-bottom: 1rem;
}

select {
    appearance: none;
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 1rem center/1em;
}
/* Add to styles.css */
select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    cursor: pointer;
}

.benefit-card h3 {
    color: #b40001;
    margin: 1rem 0;
}

@media (max-width: 480px) {
    .benefit-card {
        padding: 1.5rem;
    }
    
    .partner-form {
        padding: 1rem;
    }
}
.nav-menu a {
    text-decoration: none;
}

/* If you want to ensure no underline on hover as well */
.nav-menu a:hover {
    text-decoration: none;
}

/* For dropdown items specifically (if needed) */
.dropdown-content a {
    text-decoration: none;
}
.image-column {
    background-color: #f8f9fa;
}
.partner-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.form-column {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}


.image-column {
    position: relative;
    /* border-radius: 12px; */
    overflow: hidden;
    aspect-ratio: 1/1; /* Maintain square ratio */
    width: 100%;
    background: #f5f5f5;
}

.partner-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem; /* Reduced padding without caption */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .image-column {
        /* order: -1; */
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .image-column {
        max-width: 100%;
    }
    
    .partner-image {
        padding: 0.25rem;
    }
}
/* Add to existing styles */
.donation-guidance h3 {
    font-size: 1.4rem;
    text-align: center;
}

@media (max-width: 768px) {
    .donation-guidance {
        padding: 1rem !important;
    }
    
    .donation-guidance h4 {
        font-size: 1rem !important;
    }
    
    .donation-guidance p {
        font-size: 0.95rem;
    }
}
/* Media Page Styles */
.media-header {
    position: relative;
    height: 400px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('images/media-header.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.media-header h1 {
    color: white;
    font-size: 3rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-dropdown {
    margin-bottom: 2rem;
    border-bottom: 2px solid #eee;
}

.dropdown-header {
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-header h2 {
    color: #2c3e50;
    font-size: 1.8rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.grid-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.grid-item img {
    width: 50%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.grid-item:hover .image-overlay {
    transform: translateY(0);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .media-header {
        height: 300px;
    }
    
    .media-header h1 {
        font-size: 2rem;
    }
    
    .dropdown-header h2 {
        font-size: 1.4rem;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
}
.fa-chevron-down {
    transition: transform 0.3s ease;
}

.rotate {
    transform: rotate(180deg);
}
/* Media Header Styles */
.media-header {
    position: relative;
    margin-bottom: 2rem;
}

.header-container {
    position: relative;
    width: 100%;
    height: 400px;
}

.header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.header-text {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.header-text h2 {
    color: white;
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.header-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #fff;
}

@media (max-width: 768px) {
    .header-container {
        height: 200px;
    }
    
    .header-text h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        height: 250px;
    }
    
    .header-text h2 {
        font-size: 2rem;
        padding-bottom: 5px;
    }
    
    .header-text h2::after {
        width: 60px;
        height: 2px;
    }
}


/* Image Gallery Styles */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
    gap: 1.5rem;
    padding: 2rem 0;
    margin: 0 auto;
    max-width: 1200px;
}

.grid-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    aspect-ratio: 3 / 2; /* Maintain 900x600 aspect ratio */
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  
}

.grid-item:hover {
    transform: translateY(-5px);
}

/* Pagination Controls */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

.pagination-btn {
    background-color: rgba(180, 0, 1, 255);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pagination-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.pagination-btn:hover:not(:disabled) {
    background-color: #c10001;
}

.page-indicator {
    font-size: 1rem;
    color: #333;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr; /* 1 column for mobile */
        gap: 1rem;
    }

    .grid-item {
        aspect-ratio: 3 / 2; /* Maintain aspect ratio */
    }

    .pagination-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
}


  /* Updated CSS */
  .video-gallery {
    padding: 4rem 0;
    background: #f9f9f9;
    min-height: 70vh; /* Prevent footer overlap */
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    margin: 0 0.5rem;
}

.video-thumbnail {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-thumbnail video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.video-info {
    padding: 1rem;
}

.video-title {
    color: #b40001;
    margin: 0 0 0.5rem;
    font-size: 1rem;
    line-height: 1.3;
    min-height: 3em; /* Consistent title height */
}

.video-play {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #b40001;
    text-decoration: none;
    font-weight: 500;
}

.video-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem 1rem;
    flex-wrap: wrap;
}

.page-link {
    padding: 0.5rem 1rem;
    background: #b40001;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Lightbox Styles */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    width: 90%;
    max-width: 800px;
    position: relative;
}

.lightbox-content video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.close-btn {
    position: absolute;
    top: -35px;
    right: 0;
    color: white;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }
    
    .video-card {
        margin: 0 1rem;
    }

    .video-title {
        font-size: 0.9rem;
    }
}
/* Pagination Styling */
.pagination-controls, .video-pagination {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.page-link {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: #f0f0f0;
}

.page-link.current-page {
    background-color: #2c3e50;
    color: white;
    border-color: #2c3e50;
    font-weight: bold;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
}

.grid-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn:hover:not(.disabled) {
    background-color: #f0f0f0;
    border-color: #999;
}

.pagination-btn.disabled {
    color: #ffffff;
    cursor: not-allowed;
    pointer-events: none;
    background-color: #999;
}

.page-indicator {
    font-weight: 500;
    color: #0c0b0b;
}
.video-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #f8f9fa;
    margin: 2rem 0;
    border-radius: 8px;
}

.video-placeholder h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.video-placeholder p {
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* Add this media query for landscape orientation on mobile devices */
@media screen and (max-width: 1024px) and (orientation: landscape) {
    .navbar {
        padding: 0.5rem 1rem;
    }

    .logo-container {
        flex-shrink: 0;
    }

    .logo {
        height: 40px; /* Reduce logo size */
    }

    .logo-text {
        font-size: 0.9rem; /* Reduce text size */
    }

    .nav-menu {
        position: fixed;
        top: 60px; /* Adjust based on navbar height */
        right: 0;
        flex-direction: column;
        background: #fff;
        width: 50%;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-item {
        padding: 0.5rem 1rem;
    }

    .dropdown-content {
        position: static;
        background: #f8f9fa;
        box-shadow: none;
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    /* Adjust header content for landscape */
    .header-content {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.3rem 1rem;
    }

    .header-item {
        font-size: 0.8rem;
    }
}
        /* Custom SweetAlert Styles */
        .custom-swal-popup {
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
            border-radius: 12px !important;
            padding: 2rem !important;
        }
    
        .custom-swal-title {
            color: #333 !important;
            font-size: 1.5rem !important;
            margin-bottom: 1rem !important;
        }
    
        .custom-swal-text {
            color: #666 !important;
            font-size: 1rem !important;
            line-height: 1.5 !important;
        }
    
        .custom-swal-icon {
            width: 2.5em !important;
            height: 2.5em !important;
            margin: 1rem auto !important;
        }
    
        /* .custom-swal-icon .swal2-success-ring {
            border-color: rgba(180, 0, 1, 0.2) !important;
        } */
    
        .custom-swal-icon [class^="swal2-success-line"] {
            background-color: #b40001 !important;
        }
    
        .custom-swal-button {
            background: #b40001 !important;
            color: white !important;
            border-radius: 8px !important;
            padding: 0.75rem 2rem !important;
            font-size: 1rem !important;
            font-weight: 600 !important;
            transition: all 0.3s ease !important;
            margin-top: 1rem !important;
        }
    
        .custom-swal-button:hover {
            background: #9b0000 !important;
            transform: translateY(-1px);
        }
    
        /* Mobile Responsiveness */
        @media (max-width: 480px) {
            .custom-swal-popup {
                width: 90% !important;
                padding: 1.5rem !important;
                margin: 0 5% !important;
            }
    
            .custom-swal-title {
                font-size: 1.2rem !important;
                margin-bottom: 0.75rem !important;
            }
    
            .custom-swal-text {
                font-size: 0.9rem !important;
                line-height: 1.4 !important;
            }
    
            .custom-swal-icon {
                width: 2em !important;
                height: 2em !important;
                margin: 0.5rem auto !important;
            }
    
            .custom-swal-button {
                padding: 0.6rem 1.5rem !important;
                font-size: 0.9rem !important;
            }
        }
    
        /* Animation */
        @keyframes swal2-show-animation {
            0% {
                transform: scale(0.95);
                opacity: 0;
            }
            100% {
                transform: scale(1);
                opacity: 1;
            }
        }
    
        .swal2-show-animation {
            animation: swal2-show-animation 0.3s ease-out;
        }
        /* Existing dropdown styles - ensure these are present */
.nav-item.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: -100%;
        background: #fff;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: #f8f9fa;
    }

    .dropdown-toggle::after {
        float: right;
    }
}
/* Base Styles */
:root {
    --primary-color: #1a365d;
    --secondary-color: #2a9d8f;
    --text-color: #333;
}

.job-section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Filters */
.filters-container {
    margin-bottom: 2rem;
    .search-bar {
        width: 100%;
        padding: 1rem;
        margin-bottom: 1rem;
    }
    .filter-group {
        display: grid;
        gap: 1rem;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Job Cards Grid */
.jobs-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.job-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    
    &:hover {
        transform: translateY(-5px);
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    
    .modal-content {
        background: white;
        padding: 2rem;
        max-width: 600px;
        margin: 1rem auto;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-group {
        grid-template-columns: 1fr !important;
    }
    
    .modal-content {
        width: 95%;
        height: 90vh;
        overflow-y: auto;
    }
}
  /* Location Sharing Styles */
  .location-container {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.location-status {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #f8f9fa;
}

.location-button {
    background: #b40001;
    color: white;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-button:hover {
    background: #9b0000;
    transform: translateY(-1px);
}

.location-button:active {
    transform: translateY(0);
}

.location-button.success {
    background: #28a745;
}

.location-button.error {
    background: #dc3545;
}

.fa-map-marker-alt {
    font-size: 1.1rem;
}
.location-note {
    display: block;
    color: #666;
    margin-top: 0.5rem;
    font-size: 0.9em;
}

.location-button.success {
    background: #28a745 !important;
}

.location-button.error {
    background: #dc3545 !important;
}
/* Location Button States */
.location-button.success {
    background: #28a745 !important;
    color: white !important;
}

.location-button.error {
    background: #dc3545 !important;
    color: white !important;
}

/* Manual Override Field */
#location_override {
    margin-top: 0.5rem;
    font-size: 0.9em;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
}

/* Loading Animation */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
      /* Add this to your existing CSS */
      .no-jobs-container {
        max-width: 1200px;
        margin: 80px auto;
        padding: 40px;
        text-align: center;
        background: #f9fafc;
        border-radius: 12px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border: 1px solid #e0e6ed;
    }

    .no-jobs-icon {
        font-size: 48px;
        color: #dc3545;
        margin-bottom: 20px;
    }

    .no-jobs-message {
        font-size: 24px;
        color: #dc3545;
        margin-bottom: 20px;
        line-height: 1.4;
        font-weight: 500;
    }

    .no-jobs-submessage {
        color: #6b7c93;
        font-size: 18px;
        line-height: 1.6;
        max-width: 800px;
        margin: 0 auto;
    }

    @media (max-width: 768px) {
        .no-jobs-container {
            margin: 40px 20px;
            padding: 30px 20px;
        }

        .no-jobs-message {
            font-size: 20px;
        }

        .no-jobs-submessage {
            font-size: 16px;
        }

        .no-jobs-icon {
            font-size: 40px;
        }
    }
    /* Contact Page Styles */
.map-section {
    padding: 2rem 1rem;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

.contact-content {
    padding: 4rem 1rem;
    background: #f9f9f9;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3,
.contact-form h3 {
    color: #b40001;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-intro,
.form-intro {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.detail-item i {
    color: #b40001;
    font-size: 1.5rem;
    margin-top: 0.3rem;
}

.detail-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.detail-item p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #b40001;
    outline: none;
}

.submit-btn {
    background: #b40001; /* This is your brand color */
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
  
}

.submit-btn:hover {
    background: #9b0000; /* Darker shade for hover state */
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .map-container iframe {
        height: 300px;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    .detail-item {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-content {
        padding: 2rem 1rem;
    }

    .contact-info h3,
    .contact-form h3 {
        font-size: 1.5rem;
    }
}
/* Add to your CSS */
.text-center {
    text-align: center;
}

.submit-btn {
    background: #b40001;
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block; /* Makes button width content-based */
    margin-top: 1.5rem;
}

.submit-btn:hover {
    background: #9b0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(180,0,1,0.3);
}

/* Remove any existing margin-top from the button */
/* Testimonials Section */
.testimonials-section {
    background: #f9f9f9;
    padding: 4rem 20px;
    margin-top: 4rem;
}

.testimonial-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-container h2 {
    color: rgba(180, 0, 1, 255);
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.testimonial-item {
    display: none;
    padding: 2.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.quote-icon {
    color: rgba(180, 0, 1, 255);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.author-info {
    margin-top: 1.5rem;
}

.author-name {
    color: rgba(180, 0, 1, 255);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.author-role {
    color: #666;
    font-size: 0.95rem;
    font-style: italic;
}

.slider-dots {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: rgba(180, 0, 1, 255);
    transform: scale(1.2);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 15px;
    }
    
    .testimonial-container h2 {
        font-size: 1.8rem;
    }
    
    .testimonial-item {
        padding: 2rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .testimonial-item {
        padding: 1.5rem;
    }
    
    .quote-icon {
        font-size: 1.5rem;
    }
    
    .author-name {
        font-size: 1rem;
    }
    
    .author-role {
        font-size: 0.85rem;
    }
}
 /* Stakeholders Section */
.stakeholders-section {
    background: #f9f9f9;
    padding: 5rem 20px;
    border-top: 1px solid #eee;
    margin-top: 4rem;
}

.stakeholders-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stakeholders-container h2 {
    color: #b40001;
    font-size: 2.4rem;
    margin-bottom: 4rem;
    font-weight: 600;
}

.stakeholder-item {
    display: none;
    /* background: #f8f9fa; */
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
    border-left: 4px solid #B40001;
}

.stakeholder-item.active {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: slideIn 0.5s ease;
}

.stakeholder-logo {
    flex: 0 0 200px;
    padding: 1rem;
    border-right: 1px solid #eee;
}

/* .stakeholder-logo img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.stakeholder-item:hover .stakeholder-logo img {
    filter: grayscale(0);
} */
/* Stakeholder color images */
.stakeholder-logo img {
    filter: grayscale(0%) !important;
    -webkit-filter: grayscale(0%) !important;
    max-width: 150px;
    height:auto;
}

/* Remove any hover effects if they exist */
.stakeholder-logo img:hover {
    filter: grayscale(0%) !important;
    -webkit-filter: grayscale(0%) !important;
    transform: none !important;
}
blockquote p {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
}

blockquote p::before {
    content: open-quote;
    color: #B40001;
    font-size: 3rem;
    position: absolute;
    left: -1.5rem;
    top: -1rem;
}

footer cite {
    display: block;
    color: #B40001;
    font-weight: 600;
    font-style: normal;
}

footer span {
    color: #666;
    font-size: 0.95rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.prev-btn, .next-btn {
    background: none;
    border: 2px solid #B40001;
    color: #B40001;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}
.donors{
    color: #B40001;
}

.prev-btn:hover, .next-btn:hover {
    background: #B40001;
    color: white;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .stakeholder-item.active {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .stakeholder-logo {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
    
    blockquote p {
        padding-left: 0;
    }
    
    blockquote p::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .stakeholders-container h2 {
        font-size: 1.8rem;
    }
    
    blockquote p {
        font-size: 1rem;
    }
    
    footer cite {
        font-size: 0.95rem;
    }
    
    footer span {
        font-size: 0.85rem;
    }
}
/* Testimonial Dots */
.slider-dots {
    text-align: center;
    margin-top: 20px;
}

.testimonial-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-dot.active {
    background-color: #B40001;
}

.testimonial-dot:hover {
    background-color: #95a5a6;
}


/* Mobile Font Adjustments */
@media (max-width: 768px) {
    /* Contact Header */
    .contact-content h3 {
        font-size: 20px;
    }

    /* Contact Info Text */
    .contact-intro,
    .form-intro,
    .detail-item p {
        font-size: 14px;
    }

    /* Form Elements */
    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
    }

    /* Location Button */
    #get-location {
        font-size: 14px;
        padding: 8px 12px;
    }

    /* Location Status Text */
    .location-status {
        font-size: 13px;
    }

    /* Submit Button */
    .submit-btn {
        font-size: 15px;
        padding: 12px 24px;
    }

    /* Contact Details Icons */
    .detail-item i {
        font-size: 16px;
    }

    /* Map Section */
    .map-section {
        padding: 15px 0;
    }

    .map-container iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    /* Further adjustments for very small screens */
    .contact-content h3 {
        font-size: 18px;
    }

    .contact-intro,
    .form-intro,
    .detail-item p {
        font-size: 13px;
    }

    .submit-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* Mobile Font Adjustments */
@media (max-width: 768px) {
    /* Hero Section */
    .carousel-caption h1 {
        font-size: 1.8rem;
        line-height: 2.2rem;
    }
    .carousel-caption p {
        font-size: 1rem;
        margin-top: 0.5rem;
    }

    /* About Us Section */
    .about-us h2 {
        font-size: 1.8rem;
    }
    .about-text p {
        font-size: 0.95rem;
    }

    /* Two-Column Section */
    .box h2 {
        font-size: 1.4rem;
    }
    .box p {
        font-size: 0.9rem;
    }

    /* Stakeholders Section */
    .stakeholders-section h2 {
        font-size: 1.6rem;
    }
    blockquote p {
        font-size: 0.95rem;
    }
    blockquote footer cite {
        font-size: 0.9rem;
    }

    /* Testimonials Section */
    .testimonials-section h2 {
        font-size: 1.6rem;
    }
    .testimonial-text {
        font-size: 0.95rem;
    }
    .author-name {
        font-size: 0.9rem;
    }

    /* Footer Section */
    .footer-column h3 {
        font-size: 1.1rem;
    }
    .footer-links a,
    .footer-contact li {
        font-size: 0.85rem;
    }
    .footer-bottom p {
        font-size: 0.8rem;
    }

    /* Navigation */
    .logo-text {
        font-size: 0.9rem;
    }
    .nav-menu a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    /* Hero Section */
    .carousel-caption h1 {
        font-size: 1.5rem;
        line-height: 1.8rem;
    }
    .carousel-caption p {
        font-size: 0.85rem;
    }

    /* Know More Section */
    .animated-text {
        font-size: 0.9rem;
    }

    /* About Us Section */
    .about-us h2 {
        font-size: 1.5rem;
    }
    .about-text p {
        font-size: 0.85rem;
    }

    /* Stakeholders Section */
    .stakeholders-section h2 {
        font-size: 1.4rem;
    }
    blockquote p {
        font-size: 0.85rem;
    }

    /* Testimonials Section */
    .testimonial-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    /* Footer */
    .footer-column h3 {
        font-size: 1rem;
    }
}
/* Mobile Font Adjustments */
@media (max-width: 768px) {
    /* Programme Header */
    .header-overlay h1 {
        font-size: 1.8rem;
        line-height: 2.2rem;
    }

    /* Content Sections */
    .urgent-alert p {
        font-size: 0.95rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .lead-text {
        font-size: 0.95rem;
    }

    /* Challenge Grid */
    .challenge-card h3 {
        font-size: 1.1rem;
    }
    .challenge-card p {
        font-size: 0.9rem;
    }
    .challenge-card i {
        font-size: 1.5rem;
    }

    /* Strategy Section */
    .strategy-card h3 {
        font-size: 1.1rem;
    }
    .strategy-card p {
        font-size: 0.9rem;
    }
    .strategy-number {
        font-size: 1.8rem;
    }

    /* Impact Banner */
    .impact-banner h3 {
        font-size: 1.2rem;
    }
    .impact-banner p {
        font-size: 0.9rem;
    }
    .impact-banner i {
        font-size: 1.8rem;
    }

    /* CTA Section */
    .cta-section p {
        font-size: 1rem;
    }
    .donate-btn {
        font-size: 0.95rem;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    /* Programme Header */
    .header-overlay h1 {
        font-size: 1.5rem;
        line-height: 1.8rem;
    }

    /* Content Sections */
    .urgent-alert p {
        font-size: 0.85rem;
    }
    .section-title {
        font-size: 1.4rem;
    }
    .lead-text {
        font-size: 0.85rem;
    }

    /* Challenge Grid */
    .challenge-grid {
        grid-template-columns: 1fr;
    }
    .challenge-card {
        padding: 15px;
    }

    /* Strategy Section */
    .strategy-grid {
        grid-template-columns: 1fr;
    }
    .strategy-card {
        padding: 15px;
    }

    /* Impact Banner */
    .impact-banner {
        padding: 15px;
    }
    .impact-banner h3 {
        font-size: 1.1rem;
    }

    /* CTA Section */
    .cta-section p {
        font-size: 0.9rem;
    }
    .donate-btn {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
}
/* Mobile Font Adjustments */
@media (max-width: 768px) {
    /* Programme Header */
    .header-overlay h1 {
        font-size: 1.8rem;
        line-height: 2.2rem;
    }

    /* Content Sections */
    .lead-text {
        font-size: 0.95rem;
    }
    .section-title {
        font-size: 1.6rem;
    }

    /* Priority Cards */
    .priority-card h3 {
        font-size: 1.2rem;
    }
    .disease-list li {
        font-size: 0.95rem;
    }
    .stat-number {
        font-size: 1.8rem;
    }
    .stat-label {
        font-size: 0.9rem;
    }

    /* Initiative Grid */
    .initiative-card h3 {
        font-size: 1.1rem;
    }
    .initiative-card p {
        font-size: 0.9rem;
    }
    .initiative-card i {
        font-size: 1.8rem;
    }

    /* Strategy Cards */
    .strategy-card h3 {
        font-size: 1.1rem;
    }
    .strategy-card p {
        font-size: 0.9rem;
    }
    .strategy-number {
        font-size: 1.8rem;
    }

    /* Impact Banners */
    .impact-banner h3 {
        font-size: 1.2rem;
    }
    .impact-banner p {
        font-size: 0.9rem;
    }
    .impact-banner i {
        font-size: 1.8rem;
    }

    /* CTA Buttons */
    .donate-btn {
        font-size: 0.95rem;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    /* Programme Header */
    .header-overlay h1 {
        font-size: 1.5rem;
        line-height: 1.8rem;
    }

    /* Content Sections */
    .lead-text {
        font-size: 0.85rem;
    }
    .section-title {
        font-size: 1.4rem;
    }

    /* Grid Adjustments */
    .initiative-grid,
    .strategy-grid {
        grid-template-columns: 1fr;
    }

    /* Cards */
    .priority-card,
    .initiative-card,
    .strategy-card {
        padding: 15px;
    }

    /* Impact Banners */
    .impact-banner {
        padding: 15px;
    }
    .impact-banner h3 {
        font-size: 1.1rem;
    }

    /* CTA Buttons */
    .donate-btn {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
}
/* Mobile Font Adjustments */
@media (max-width: 768px) {
    /* Programme Header */
    .header-overlay h1 {
        font-size: 1.8rem;
        line-height: 2.2rem;
    }

    /* Donation Guidance */
    .donation-guidance h3 {
        font-size: 1.3rem;
    }
    .donation-type h4 {
        font-size: 1.1rem;
    }
    .donation-type p {
        font-size: 0.95rem;
    }
    .till-number {
        font-size: 1.1rem;
    }

    /* Form Elements */
    .section-title {
        font-size: 1.6rem;
    }
    label {
        font-size: 0.95rem;
    }
    input, 
    select {
        font-size: 0.95rem;
        padding: 0.8rem;
    }

    /* Location Section */
    .location-status {
        font-size: 0.9rem;
    }
    .location-button {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    /* Programme Header */
    .header-overlay h1 {
        font-size: 1.5rem;
        line-height: 1.8rem;
    }

    /* Donation Guidance */
    .donation-guidance h3 {
        font-size: 1.2rem;
    }
    .donation-type h4 {
        font-size: 1rem;
    }
    .donation-type p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    /* Form Elements */
    .section-title {
        font-size: 1.4rem;
    }
    label {
        font-size: 0.9rem;
    }
    input,
    select {
        font-size: 0.875rem;
    }

    /* Location Section */
    .location-button {
        font-size: 0.85rem;
    }
    .location-note {
        font-size: 0.75rem;
    }

    /* Submit Button */
    button[type="submit"] {
        font-size: 0.95rem;
    }
}
/* Mobile Font Adjustments */
@media (max-width: 768px) {
    /* Programme Header */
    .header-overlay h1 {
        font-size: 1.8rem;
        line-height: 2.2rem;
    }

    /* Jobs Content */
    .no-jobs-message {
        font-size: 1.6rem;
        margin: 1rem 0;
    }

    .no-jobs-submessage {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 1rem;
    }

    .no-jobs-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    /* Programme Header */
    .header-overlay h1 {
        font-size: 1.5rem;
        line-height: 1.8rem;
    }

    /* Jobs Content */
    .no-jobs-message {
        font-size: 1.4rem;
    }

    .no-jobs-submessage {
        font-size: 0.85rem;
        line-height: 1.5;
        padding: 0 0.5rem;
    }

    .no-jobs-icon {
        font-size: 2.5rem;
    }

    .no-jobs-container {
        padding: 1.5rem;
    }
}
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu.active {
    display: block; /* Show menu when active */
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Hide menu by default on mobile */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff; /* Adjust to match your theme */
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex; /* Show menu as a column when active */
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .nav-menu a {
        font-size: 18px;
        color: #333; /* Adjust to match your theme */
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 24px;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        padding: 10px 20px;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none; /* Hide hamburger on desktop */
    }

    .nav-menu {
        display: flex !important; /* Always show on desktop */
    }
}
#scroll-to-top {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #B40001; /* Match your theme */
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0.8;
}

#scroll-to-top:hover {
    opacity: 1;
    transform: scale(1.1);
}

#scroll-to-top i {
    font-size: 20px;
    line-height: 50px;
}

@media (max-width: 480px) {
    #scroll-to-top {
        width: 40px;
        height: 40px;
    }

    #scroll-to-top i {
        font-size: 16px;
        line-height: 40px;
    }
}



/* Dropdown Menu Styling */
.nav-item.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 5px;
}

/* Ensure dropdown links are styled properly */
.dropdown-content a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #f4f4f4;
}

/* Show dropdown on hover for desktop */
.nav-item.dropdown:hover .dropdown-content {
    display: block;
}

/* Show dropdown when active (for click/touch) */
.nav-item.dropdown.active .dropdown-content {
    display: block;
}

/* Mobile menu adjustments */
@media (max-width: 768px) {
    .nav-item.dropdown {
        position: static; /* Prevent positioning issues in mobile menu */
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: #f9f9f9;
        min-width: 100%;
    }

    .dropdown-content a {
        padding: 10px 30px; /* Indent dropdown items */
        font-size: 14px;
    }

    /* Ensure dropdowns are hidden by default in mobile menu */
    .nav-menu.active .dropdown-content {
        display: none;
    }

    /* Show dropdown when active in mobile menu */
    .nav-menu.active .nav-item.dropdown.active .dropdown-content {
        display: block;
    }
}

/* Jobs Section */
.jobs-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.jobs-list {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.job-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
}

.job-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.job-header h3 {
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.job-location {
    color: #7f8c8d;
    font-size: 0.9rem;
    display: block;
}

.job-description {
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.job-details {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.job-footer {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.apply-button {
    background: #3498db;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.apply-button:hover {
    background: #2980b9;
}

.view-details {
    color: #3498db;
    text-decoration: none;
    margin-left: 1rem;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    /* Ensure proper stacking order */
    .contact-container {
        display: flex;
        flex-direction: column;
    }

    /* Contact info comes first in mobile view */
    .contact-info {
        order: 1;
        width: 100%;
        margin-bottom: 2rem;
    }

    /* Form comes second in mobile view */
    .contact-form {
        order: 2;
        width: 100%;
    }

    /* Improve detail item layout */
    .detail-item {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    /* Adjust icon sizing */
    .detail-item i {
        font-size: 1.2rem;
        min-width: 30px;
    }

    /* Better text alignment */
    .detail-item div {
        flex: 1;
    }
}

@media (max-width: 480px) {
    /* Final mobile adjustments */
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .detail-item i {
        margin-bottom: 0.5rem;
    }

    .contact-info h3,
    .contact-form h3 {
        font-size: 1.5rem;
        text-align: center;
    }
}
/* Add this to your existing styles */
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        order: -1; /* Move info above form on mobile */
        margin-bottom: 0;
    }

    .detail-item {
        background: #f8f9fa;
        padding: 1.5rem;
        border-radius: 8px;
        margin-bottom: 1.5rem;
        transition: transform 0.3s ease;
    }

    .detail-item:hover {
        transform: translateY(-3px);
    }

    .detail-item i {
        background: #b40001;
        color: white;
        padding: 1rem;
        border-radius: 50%;
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
    }

    .detail-item div {
        flex: 1;
    }

    .detail-item h4 {
        color: #b40001;
        margin-bottom: 0.8rem;
    }
}

@media (max-width: 480px) {
    .contact-info {
        padding: 1.5rem;
    }

    .detail-item {
        padding: 1rem;
    }

    .detail-item i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
.submit-btn {
    background-color: #b40001 !important;
    color: white !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    background-image: none !important;
}

.submit-btn:hover,
.submit-btn:active,
.submit-btn:focus {
    background-color: #9b0000 !important; /* Slightly darker shade for interaction */
    color: white !important;
    outline: none !important;
    box-shadow: 0 5px 15px rgba(180, 0, 1, 0.3) !important;
}

/* Remove any potential gradient backgrounds */
.submit-btn::-moz-focus-inner {
    border: 0 !important;
}
.loading-icon {
    display: none;
    margin-left: 8px;
}

.submit-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}
/* Add to existing styles */
.button-loader {
    display: none;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}
.jobs-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.jobs-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding: 2rem;
}

.job-card {
    background: rgba(180, 0, 1, 0.1);
    border: 2px solid rgba(180, 0, 1, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.job-card:hover {
    transform: translateY(-5px);
}

.job-header h3 {
    color: #b40001;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.job-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #666;
    font-size: 0.95rem;
}

.job-details {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.job-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.job-card.active .job-content {
    max-height: 1000px;
}

.roles-section,
.qualifications-section {
    margin: 1.5rem 0;
}

.roles-section h4,
.qualifications-section h4 {
    color: #b40001;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.job-content ul {
    list-style: none;
    padding-left: 1.5rem;
}

.job-content li {
    margin-bottom: 0.5rem;
    position: relative;
}

.job-content li::before {
    content: "•";
    color: #b40001;
    position: absolute;
    left: -1rem;
}

.apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #b40001;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease;
    margin-top: 1rem;
}

.apply-btn:hover {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .jobs-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .job-card {
        padding: 1rem;
    }
    
    .job-header h3 {
        font-size: 1.2rem;
    }
    
    .job-details {
        flex-direction: column;
        gap: 0.5rem;
    }
}


/* Updated Color Scheme */
.jobs-container {
    background: #f8f6f6; /* Light warm gray to complement red */
}

.job-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e8e1e1;
    box-shadow: 0 4px 20px rgba(180, 0, 1, 0.08);
}

.application-info {
    margin-top: 2rem;
    border-top: 1px dashed #e0d4d4;
    padding-top: 1.5rem;
}

.email-instruction {
    display: none;
    background: rgba(180, 0, 1, 0.05);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    align-items: center;
    gap: 0.8rem;
    color: #b40001;
    animation: fadeIn 0.3s ease;
}

.email-instruction.show {
    display: flex;
}

.email-instruction i {
    font-size: 1.2rem;
}

.apply-btn {
    background: #b40001;
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    background: #9b0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(180, 0, 1, 0.15);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
  .image-gallery {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            padding: 20px;
        }

        .image-gallery img {
            width: 400px;
            height: 250px;
            max-width: 100%;
            object-fit: cover;
            border-radius: 5px;
            cursor: pointer;
            transition: transform 0.2s ease;
        }

        .image-gallery img:hover {
            transform: scale(1.05);
        }

        .pagination {
            text-align: center;
            margin: 20px 0;
            font-family: Arial, sans-serif;
        }

        .pagination a {
            display: inline-block;
            padding: 8px 16px;
            margin: 0 5px;
            text-decoration: none;
            color: #333;
            background-color: #f4f4f4;
            border-radius: 25px;
            transition: background-color 0.3s, color 0.3s;
            font-size: 16px;
        }

        .pagination a:hover:not(.disabled) {
            background-color: #ddd;
        }

        .pagination a.active {
            background-color: #B40001;
            color: white;
        }

        .pagination a.disabled {
            color: #ccc;
            background-color: #f4f4f4;
            pointer-events: none;
        }

        .pagination .dots {
            display: inline-block;
            padding: 8px 16px;
            margin: 0 5px;
            color: #333;
            font-size: 16px;
        }

        .lightbox {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.9);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .lightbox.show {
            opacity: 1;
        }

        .lightbox-content {
            max-width: 90%;
            max-height: 80%;
            width: auto;
            height: auto;
            margin: auto;
            display: block;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border-radius: 5px;
        }

        .close {
            position: absolute;
            top: 15px;
            right: 35px;
            color: #f1f1f1;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .close:hover {
            color: #bbb;
        }

        .prev, .next {
            cursor: pointer;
            position: absolute;
            top: 50%;
            width: auto;
            padding: 16px;
            margin-top: -22px;
            color: white;
            font-weight: bold;
            font-size: 18px;
            transition: 0.6s ease;
            border-radius: 0 3px 3px 0;
            user-select: none;
        }

        .next {
            right: 0;
            border-radius: 3px 0 0 3px;
        }

        .prev:hover, .next:hover {
            background-color: rgba(0,0,0,0.8);
        }

        @media (max-width: 768px) {
            .image-gallery {
                grid-template-columns: repeat(2, 1fr);
            }

            .pagination a {
                padding: 6px 12px;
                font-size: 14px;
                margin: 0 3px;
            }

            .pagination .dots {
                font-size: 14px;
                padding: 6px 12px;
            }
        }

        @media (max-width: 480px) {
            .image-gallery {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .pagination a {
                padding: 5px 10px;
                font-size: 12px;
                margin: 0 2px;
            }

            .pagination .dots {
                font-size: 12px;
                padding: 5px 10px;
            }

            .close {
                font-size: 30px;
                top: 10px;
                right: 20px;
            }

            .prev, .next {
                font-size: 24px;
                padding: 10px;
            }
        }
         .partner-section {
            max-width: 800px;
            margin: 2rem auto;
            padding: 0 1.5rem;
        }

        .form-column {
            background: white;
            padding: 2.5rem;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }

        .donation-guidance {
            margin-bottom: 2.5rem;
            padding: 2rem;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
            border-left: 4px solid #b40001;
        }

        .donation-guidance h3 {
            color: #b40001;
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
            text-align: center;
        }

        .donation-type {
            margin-bottom: 1.5rem;
            padding: 1.2rem;
            background: #f8f9fa;
            border-radius: 8px;
        }

        .donation-type h4 {
            font-size: 1.1rem;
            margin-bottom: 0.75rem;
            color: #333;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .donation-type p {
            margin: 0;
            color: #666;
            line-height: 1.6;
        }

        .till-number {
            font-size: 1.3rem;
            color: #b40001;
            font-weight: 700;
            letter-spacing: 1px;
        }

        /* Form Styles */
        .form-group {
            margin-bottom: 1.75rem;
        }

        label {
            display: block;
            margin-bottom: 0.75rem;
            font-weight: 600;
            color: #444;
        }

        input, select {
            width: 100%;
            padding: 1rem;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        input:focus, select:focus {
            border-color: #b40001;
            box-shadow: 0 0 8px rgba(180, 0, 1, 0.2);
            outline: none;
        }

        button[type="submit"] {
            background-color: #b40001;
            color: white;
            padding: 1.25rem 2rem;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            width: 100%;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        button[type="submit"]:hover {
            background-color: #9b0000;
            transform: translateY(-2px);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .partner-section {
                padding: 0 1rem;
            }

            .form-column {
                padding: 1.75rem;
            }

            .donation-guidance {
                padding: 1.5rem;
            }

            .till-number {
                font-size: 1.2rem;
            }
        }

        @media (max-width: 480px) {
            .form-column {
                padding: 1.25rem;
            }

            .donation-guidance {
                padding: 1rem;
            }

            .donation-type h4 {
                font-size: 1rem;
            }

            button[type="submit"] {
                padding: 1rem;
                font-size: 1rem;
            }
        }
        /* Mobile Optimization - Preserving Header Sizes */

    /* Base Font Adjustment */

    /* Mobile Optimization */
@media (max-width: 768px) {
    /* Base Font Adjustment */
    html {
        font-size: 14px;
    }

    /* Header & Navigation */
    .header {
        padding: 5px 10px;
    }

    .header-item span {
        font-size: 10px;
    }

    .logo {
        height: 50px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        padding: 60px 25px;
        background: #fff;
        flex-direction: column;
    }

    .nav-item {
        font-size: 0.9rem;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }

    /* Hero Section */
    .hero-carousel {
        height: 250px;
    }

    .carousel-caption h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    /* Content Sections */
    .section-title {
        font-size: 1.4rem;
    }

    .about-container,
    .two-column-section .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .box {
        padding: 20px;
        margin: 15px 0;
    }

    /* Typography Adjustments */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    p, li { font-size: 0.9rem; }

    /* Spacing Optimization */
    /* section {
        padding: 30px 15px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    } */

    /* Image Optimization */
    .gallery img {
        max-width: 100%;
        height: auto;
    }

    /* Form Elements */
    input, textarea, select {
        font-size: 14px;
        padding: 10px;
    }

    /* Utility Classes */
    .mobile-hidden {
        display: none !important;
    }

    .mobile-full-width {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    /* Extra Small Devices */
    html {
        font-size: 13px;
    }

    .header-item span {
        font-size: 9px;
    }

    .carousel-caption h1 {
        font-size: 1.4rem;
    }

    .logo {
        height: 45px;
    }

    .hero-carousel {
        height: 200px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .box {
        padding: 15px;
    }
}

    /* Mobile Dropdown Fixes */
    .dropdown-toggle::after {
        content: "▶";
        margin-left: 8px;
        font-size: 0.8em;
        transition: transform 0.3s ease;
    }

    .dropdown.active .dropdown-toggle::after {
        transform: rotate(90deg);
    }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background-color: #f8f9fa;
        margin-left: 15px;
        animation: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
        opacity: 1;
        transform: none;
    }

    .dropdown-content a {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }


@media (max-width: 480px) {

    .dropdown-content a {
        padding: 8px 12px;
    }
}

/* Dropdown Animation */
@keyframes slideDown {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}
.application-info {
    display: none;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.job-card.active .application-info {
    display: block;
}

.days-posted .fa-clock {
    margin-right: 5px;
}

.email-instruction {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.email-instruction.show {
    display: flex;
    align-items: center;
    gap: 8px;
}
/* Hide menu toggle on desktop */
@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;
    }
    
    /* Remove dropdown arrows on desktop */
    .nav-item.dropdown .dropdown-toggle::after {
        content: none !important;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-item.dropdown .dropdown-toggle::after {
        content: "▸";
        float: right;
        transition: transform 0.3s ease;
    }
    
    .nav-item.dropdown.active .dropdown-toggle::after {
        transform: rotate(90deg);
    }
}

/* Desktop Dropdown Styles */
.nav-item.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(10px);
    z-index: 1000;
}

/* Hover effects for desktop */
@media (min-width: 769px) {
    .nav-item.dropdown:hover .dropdown-content {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        background: #f8f9fa;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-item.dropdown.active .dropdown-content {
        max-height: 500px; /* Adjust based on content */
        opacity: 1;
        visibility: visible;
    }
}

/* Ensure navigation bar stability */
.navbar {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1000;
}

/* Dropdown link styling */
.dropdown-content a {
    padding: 12px 16px;
    display: block;
    color: #333;
    transition: background 0.2s ease;
}

.dropdown-content a:hover {
    background: rgba(180, 0, 1, 0.05);
}

#submitBtn {
    position: relative;
}

.loading-icon {
    display: none;
    margin-left: 8px;
}

#submitBtn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}
#submitContactBtn {
    position: relative;
}

.loading-icon {
    display: none;
    margin-left: 8px;
}

#submitContactBtn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    max-width: 400px;
}

.tab button {
    padding: 10px 20px;
    cursor: pointer;
}

.tabcontent {
    display: none;
    padding: 20px 0;
}
/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    padding-left: 15px;
}

.whatsapp-icon {
    transition: all 0.4s ease;
}

.whatsapp-text {
    position: absolute;
    left: 70px;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.4s ease;
    font-size: 16px;
    font-weight: 500;
    margin-left: 10px;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    width: 200px;
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    left: 80px;
}

/* Animation for initial appearance */
@keyframes floatIn {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.whatsapp-float {
    animation: floatIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    animation-delay: 1s; /* Delay to show after page loads */
    transform: translateX(-100px);
    opacity: 0;
}

/* Pulse animation for attention */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Add pulse animation after 3 seconds */
.whatsapp-float {
    animation: floatIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards, 
               pulse 1.5s 3s infinite;
    animation-delay: 1s, 3s;
}
/* Mobile - Hide Carousel Arrows */
@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }
    .whatsapp-float{
         width: 40px;
         height: 40px;
       border-radius: 30px;
        font-size: 20px;
        left: 10px;
        padding-left: 11px;
        bottom: 20px;
    }

}

/* Landscape Mobile Optimization */
@media only screen and (max-width: 767px) and (orientation: landscape) {
    .navbar {
        position: sticky !important;
        top: 0;
        z-index: 1000;
        padding: 6px 10px !important;
    }
    
    .logo {
        height: 50px !important;
    }
    
    .nav-menu {
        max-height: 70vh !important;
        overflow-y: auto !important;
    }
    
    .header {
        display: none !important;
    }
    
    .hero-carousel {
        height: 300px !important;
    }
    
    .carousel-item img {
        height: 300px !important;
    }
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px; /* Added side padding */
    margin-top: 30px;
    border-top: 1px solid #444;
}

.copyright {
    margin: 0;
    padding-left: 15px; /* Add left padding */
}

.footer-links-right {
    display: flex;
    gap: 25px; /* Increased gap between links */
    padding-right: 15px; /* Add right padding */
}

.footer-links-right a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.footer-links-right a:hover {
    color: #b40001; /* Red color on hover */
    text-decoration: none; /* Remove underline */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px 15px;
    }
    
    .copyright,
    .footer-links-right {
        padding: 0;
    }
    
    .footer-links-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px; /* Increased side padding */
    margin-top: 30px;
    border-top: 1px solid #444;
}

.copyright {
    margin: 0;
    padding-left: 30px; /* Increased left padding */
}

.footer-links-right {
    display: flex;
    gap: 25px;
    padding-right: 30px; /* Increased right padding */
}

/* Keep existing hover styles */
.footer-links-right a:hover {
    color: #b40001;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px; /* Increased side padding */
    margin-top: 30px;
    border-top: 1px solid #444;
}

.copyright {
    margin: 0;
    padding-left: 30px; /* Increased left padding */
}

.footer-links-right {
    display: flex;
    gap: 25px;
    padding-right: 30px; /* Increased right padding */
}

/* Keep existing hover styles */
.footer-links-right a:hover {
    color: #b40001;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .footer-bottom {
        padding: 20px 30px; /* Adjusted mobile padding */
    }
    
    .copyright,
    .footer-links-right {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .footer-bottom {
        padding: 20px 15px; /* Smaller screens padding */
    }
}



/* Interactive Map */
/* .map-container {
    border-radius: 20px;
    overflow: hidden;
    transform: translateZ(0);
    border: 1px solid rgba(0, 0, 0, 0.1);
} */
     /* About ULISO Page Specific Styles */
        .about-uliso-header {
            position: relative;
            height: 500px;
            overflow: hidden;
        }
        
        .about-uliso-header img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }
        
     
        
        .header-overlay h1 {
            font-size: 3.5rem;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            animation: fadeInDown 1s ease;
        }
        
        .header-overlay p {
            font-size: 1.5rem;
            max-width: 700px;
            margin: 0 auto 30px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
            animation: fadeIn 1.5s ease;
        }
        
        .scroll-down {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            color: white;
            font-size: 2rem;
            animation: bounce 2s infinite;
            cursor: pointer;
        }
        
        .about-uliso-content {
            padding: 80px 20px;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .section-card {
            background: white;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            padding: 40px;
            margin-bottom: 50px;
            border-left: 5px solid #B40001;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .section-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.12);
        }
        
        .section-card h2 {
            color: #B40001;
            font-size: 2.2rem;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 15px;
        }
        
        .section-card h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 3px;
            background: #B40001;
        }
        
        .section-card p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #555;
            margin-bottom: 25px;
        }
        
        .achievement-item {
            display: flex;
            align-items: flex-start;
            gap: 25px;
            margin-bottom: 30px;
            padding: 20px;
            border-radius: 8px;
            transition: background-color 0.3s ease;
        }
        
        .achievement-item:hover {
            background-color: rgba(180, 0, 1, 0.03);
        }
        
        .achievement-icon {
            flex-shrink: 0;
            width: 60px;
            height: 60px;
            background: rgba(180, 0, 1, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #B40001;
            font-size: 1.8rem;
            transition: all 0.3s ease;
        }
        
        .achievement-item:hover .achievement-icon {
            background: #B40001;
            color: white;
            transform: scale(1.1);
        }
        
        .achievement-content h3 {
            color: #B40001;
            margin-bottom: 12px;
            font-size: 1.4rem;
        }
        
        .achievement-content p {
            margin-bottom: 0;
        }
        
        .awards-list {
            list-style: none;
            padding-left: 0;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }
        
        .awards-list li {
            position: relative;
            padding: 15px 15px 15px 45px;
            margin-bottom: 0;
            line-height: 1.6;
            background: rgba(180, 0, 1, 0.05);
            border-radius: 6px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .awards-list li:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(180, 0, 1, 0.1);
        }
        
        .awards-list li::before {
            content: "✓";
            position: absolute;
            left: 15px;
            top: 15px;
            color: #B40001;
            font-weight: bold;
            font-size: 1.2rem;
        }
        
        .awards-list li strong {
            color: #B40001;
            font-weight: 600;
        }
        
        .county-badge-container {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 20px;
        }
        
        .county-badge {
            background: #B40001;
            color: white;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
        }
        
        .county-badge i {
            margin-right: 8px;
            font-size: 0.8rem;
        }
        .copyright {
            color: white;
        }
        .impact-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin: 40px 0;
        }
        
        .stat-item {
            text-align: center;
            padding: 30px 20px;
            background: rgba(180, 0, 1, 0.05);
            border-radius: 10px;
            transition: all 0.3s ease;
        }
        
        .stat-item:hover {
            background: #B40001;
            color: white;
            transform: translateY(-5px);
        }
        
        .stat-item:hover .stat-number,
        .stat-item:hover .stat-label {
            color: white;
        }
        
        .stat-number {
            font-size: 3rem;
            font-weight: 700;
            color: #B40001;
            margin-bottom: 10px;
            transition: all 0.3s ease;
        }
        
        .stat-label {
            font-size: 1.1rem;
            color: #555;
            transition: all 0.3s ease;
        }
        
        .timeline-container {
            position: relative;
            max-width: 1000px;
            margin: 40px auto;
        }
        
        .timeline-container::before {
            content: '';
            position: absolute;
            width: 3px;
            background-color: #B40001;
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -1.5px;
        }
        
        .timeline-item {
            padding: 10px 40px;
            position: relative;
            width: 50%;
            box-sizing: border-box;
        }
        
        .timeline-item::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            background-color: white;
            border: 4px solid #B40001;
            border-radius: 50%;
            top: 15px;
            z-index: 1;
        }
        
        .left {
            left: 0;
            text-align: right;
        }
        
        .right {
            left: 50%;
        }
        
        .left::after {
            right: -12px;
        }
        
        .right::after {
            left: -12px;
        }
        
        .timeline-content {
            padding: 20px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .timeline-year {
            font-weight: bold;
            color: #B40001;
            margin-bottom: 10px;
        }
        
        @media (max-width: 768px) {
            .about-uliso-header {
                height: 400px;
            }
            
            .header-overlay h1 {
                font-size: 2.5rem;
            }
            
            .header-overlay p {
                font-size: 1.2rem;
            }
            
            .achievement-item {
                flex-direction: column;
                gap: 15px;
            }
            
            .timeline-container::before {
                left: 31px;
            }
            
            .timeline-item {
                width: 100%;
                padding-left: 70px;
                padding-right: 25px;
            }
            
            .timeline-item::after {
                left: 21px;
            }
            
            .left, .right {
                left: 0;
                text-align: left;
            }
        }
        
        @media (max-width: 480px) {
            .about-uliso-header {
                height: 350px;
            }
            
            .header-overlay h1 {
                font-size: 2rem;
            }
            
            .section-card {
                padding: 30px 20px;
            }
            
            .awards-list {
                grid-template-columns: 1fr;
            }
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
            40% {transform: translateY(-20px) translateX(-50%);}
            60% {transform: translateY(-10px) translateX(-50%);}
        }
        /* Mission/Vision Section Specific Styles */
.quality-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.quality-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.quality-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #B40001;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .section-card {
        padding: 30px 20px;
    }
    
    .section-card h2 {
        font-size: 1.8rem;
        padding-bottom: 10px;
    }
    
    .achievement-item {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .achievement-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .achievement-content h3 {
        font-size: 1.2rem;
    }
    
    .quality-list li {
        padding-left: 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .section-card {
        padding: 25px 15px;
        margin-bottom: 30px;
    }
    
    .section-card h2 {
        font-size: 1.6rem;
    }
    
    .achievement-content h3 {
        font-size: 1.1rem;
    }
    
    .achievement-content p {
        font-size: 0.95rem;
    }
    
    .quality-list li {
        margin-bottom: 8px;
    }
}
a{
    color:white;
    text-decoration: none;
}
      .mail{
    text-decoration: none;
    color: white;
   }
   .mail:hover{
    text-decoration: underline;
    color: #b40001;
    font-size: 15px;
   }
   .learn-more-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #B40001;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #B40001;
}

.learn-more-btn:hover {
    background-color: transparent;
    color: #B40001;
    transform: translateX(5px);
}

.learn-more-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.learn-more-btn:hover i {
    transform: translateX(5px);
}





 