/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.no-scroll {
    overflow: hidden;
}

/* Header Styles */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.logo-container {
    flex: 1;
    min-width: 250px;
    order: 2;
    text-align: center;
    display: flex;
    justify-content: center;
}

.logo-img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    margin: 0 auto;
}

.desktop-img {
    display: block;
    width: 100%;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
}

.mobile-img {
    display: none;
    height: 160px;
    width: 160px;
    margin: 5px auto;
    border-radius: 50%;
    cursor: pointer;
}

@media (max-width: 1023px) {
    .desktop-img {
        display: none;
    }

    .mobile-img {
        display: block;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: #0056B3;
    color: white;
    padding: 15px 20px;
    width: 100%;
    border-radius: 10px;
    flex-wrap: wrap;
}

/* Navigation Styles */
nav {
    background-color: #0056B3;
    position: relative;
}

.mobile-menu-btn {
    display: none;
    color: white;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    background-color: #0056B3;
    font-size: 1.5rem;
}

.navbar {
    display: flex;
    list-style: none;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.navbar>li {
    padding: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.navbar>li>a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.navbar>li:hover>a {
    background-color: #1E90FF;
    color: white;
}

.has-dropdown {
    cursor: pointer;
}



.has-dropdown>.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    box-shadow: 0 8px 16px rgba(30, 144, 255, 0.2);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.has-dropdown:hover>.dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown li {
    position: relative;
    transition: background-color 0.2s;
}

.dropdown li a {
    padding: 12px 20px;
    display: block;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid #1E90FF;
    transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.dropdown li a:hover {
    background-color: #1E90FF;
    padding-left: 25px;
}

.dropdown.nested {
    left: 100%;
    top: 0;
    border-radius: 0 4px 4px 4px;
}

.donate-btn {
    background-color: #e74c3c;
    font-weight: bold;
}

.donate-btn:hover {
    background-color: #c0392b !important;
    transform: scale(1.05);
}

.navbar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Mobile styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .navbar {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 80%;
        max-width: 300px;
        background-color: #2c3e50;
        z-index: 1000;
        overflow-y: auto;
        padding: 20px 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .navbar.active {
        display: flex;
        transform: translateX(0);
    }

    .navbar>li {
        width: 100%;
    }

    .navbar>li>a {
        padding: 15px 20px;
        text-align: left;
        border-bottom: 1px solid #34495e;
    }

    .has-dropdown>.dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: transparent;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .has-dropdown.active>.dropdown {
        max-height: 1000px;
    }

    .dropdown li a {
        color: #ddd;
        padding: 12px 20px 12px 30px;
    }

    .dropdown li a:hover {
        background-color: #34495e;
        color: white;
    }

    .dropdown.nested {
        position: static;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding-left: 15px;
        background-color: rgba(0, 0, 0, 0.1);
    }

    .dropdown.nested.open {
        max-height: 1000px;
    }

    .navbar-overlay.active {
        display: block;
    }

    .has-dropdown .fa-chevron-down,
    .has-dropdown .fa-chevron-right {
        float: right;
        transition: transform 0.3s ease;
    }

    .has-dropdown.active .fa-chevron-down {
        transform: rotate(180deg);
    }

    .has-dropdown .fa-chevron-right {
        transform: rotate(0deg);
    }

    .has-dropdown.active .fa-chevron-right {
        transform: rotate(90deg);
    }
}

@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo-container {
        margin: 15px 0;
        order: 0;
    }

    .contact-info {
        flex-direction: column;
        padding: 15px;
    }

    .contact-info span {
        margin: 10px 0;
        text-align: center;
    }
}

@media (max-width: 480px) {

    .logo-img {
        width: 120px;
        height: 120px;
    }
}

/* Slideshow Container */
.slideshow-container {
    width: 100%;
    -width: 1000px;
    margin: 0 auto 30px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Arrows */
.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 86, 179, 0.7);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 12px 18px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    user-select: none;
}

.slideshow-arrow.left {
    left: 15px;
}

.slideshow-arrow.right {
    right: 15px;
}

.slideshow-arrow:hover {
    background: #1E90FF;
    transform: translateY(-50%) scale(1.1);
}

/* Dots */
.dots-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #bbb;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background-color: #0056b3;
    transform: scale(1.2);
}

.dot:hover {
    background-color: #1E90FF;
    transform: scale(1.2);
}

/* Caption */
.caption {
    display: none;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 1rem;
    z-index: 10;
}

/* Responsive */
@media (max-width: 1023px) {
    .slideshow-container {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 700px) {

    .slideshow-arrow {
        font-size: 1.5rem;
        padding: 10px 14px;
    }

    h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .slideshow-arrow {
        font-size: 1.2rem;
        padding: 8px 12px;
    }

    .dot {
        width: 12px;
        height: 12px;
    }
}

.ojas {
    margin: 5px auto;
    text-align: center;
    background-color: #E6F0FA;
    padding-top: 10px;
    box-shadow: 10px 10px 5px 2px rgba(0, 0, 0, 0.5);
    padding: 20px;
}

.ojas img {
    border-radius: 50%;
    height: 200px;
    width: 200px;
    margin: 0 auto;
}

.s-show {
    width: 100%;
    max-width: 400px;
    height: 200px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
}

.s-lides {
    display: flex;
    width: 1200px;
    animation: slide 9s infinite;
}

.s-lides img {
    width: 400px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.donate {
    background-color: #e74c3c;
    font-weight: bold;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin: 20px auto;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 1.2rem;
    width: 100%;
}

.donate:hover {
    background-color: #c0392b !important;
    transform: scale(1.05);
}

@keyframes slide {

    0%,
    33% {
        transform: translateX(0);
    }

    33.1%,
    66% {
        transform: translateX(-400px);
    }

    66.1%,
    99.9% {
        transform: translateX(-800px);
    }

    100% {
        transform: translateX(0);
    }
}

.services {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #0056B3;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: #0056B3;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: white;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    background: #1E90FF;
}

.service-card i {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: white;
}

.service-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA Section Styling */
.cta-section {
    background: #0056B3;
    padding: 4rem 2rem;
    text-align: center;
    margin: 20px 0;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 150px;
    text-align: center;
}

.cta-btn.volunteer {
    background: white;
    color: #0056B3;
    width: 100%;
    border: 2px solid white;
}

.cta-btn.donate {
    background: transparent;
    color: white;
    border: 2px solid white;
}

/* Hover Effects */
.cta-btn.volunteer:hover {
    background: #1E90FF;
    color: white;
    border-color: #1E90FF;
}

.cta-btn.donate:hover {
    background: #1E90FF;
    border-color: #1E90FF;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-btn {
        padding: 10px 25px;
        font-size: 1rem;
        width: 100%;
    }
}

/* ===== Footer ===== */
.site-footer {
    background: #0056B3;
    color: white;
    padding: 40px 0 20px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin-top: 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col {
    padding: 0 15px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list li,
.links-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.links-list a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.links-list a:hover {
    color: #1E90FF;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-icons a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: #1E90FF;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright,
.developer-credit {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {

    .contact-list li,
    .links-list li {
        flex-direction: column;
        gap: 5px;
    }
}