@import url('https://fonts.googleapis.com/css2?family=Ancizar+Sans:ital,wght@0,100..1000;1,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Winky+Sans:ital,wght@0,300..900;1,300..900&display=swap');



/* Updated Custom Styles for Shree Shani Charan NGO */
:root {
    --primary-blue: #0000fe;
    --accent-red: #fe0000;
    --deep-blue: #060478;
    --orange: #ff7f00;
    --yellow: #f9c106;
}
body {
    /*font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;*/
    background: linear-gradient(135deg, #dddbd0 9%, #de9cb7 100%);
    color: #222;
    min-height: 90vh;
    /* Add top padding to prevent content from being hidden behind the fixed navbar */
    padding-top: 100px;
    /* Prevent horizontal overflow */
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;



    .prominent-donate {
        background: linear-gradient(22deg, #fffbe6 60%, #f9c106 100%);
        color: #060478;
        font-size: 1.35rem;
        font-weight: bold;
        border-left: 6px solid #ff7f00;
        border-radius: 10px;
        padding: 1rem 1.5rem;
        margin: 1.5rem auto 1rem auto;
        text-align: left;
        box-shadow: 0 4px 24px rgba(242, 130, 66, 0.08);
        letter-spacing: 0px;
        max-width: 600px;
}

p{
    font-family: "Ancizar Sans", sans-serif;

}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: "Winky Sans", sans-serif;
} 

/* Header and Navbar Enhancements */
.navbar {
    background: #fff !important;
    min-height: 90px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    transition: box-shadow 0.3s, background 0.3s;
}
.navbar-brand {
    min-height: 80px;
    padding: 0 0.5rem;
    /*display: flex;*/
    align-items: center;
    gap: 16px;
}
.navbar-brand img {
    height: 64px;
    width: auto;
    margin-right: 12px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.10));
    transition: transform 0.3s;
}
.navbar-brand img:hover {
    transform: scale(1.08) rotate(-2deg);
}
.navbar-nav .nav-link {
    color: #060478 !important;
    font-weight: 500;
    font-size: 1.08rem;
    margin: 0 0.5rem;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    position: relative;
    background: none !important;
    box-shadow: none !important;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    font-family: "Winky Sans", sans-serif;
}
.navbar-nav .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2.5px;
    background: #fe0000;
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(.77,0,.18,1);
    margin: 0 auto 0.1em auto;
}
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link[aria-current="page"]::after,
.navbar-nav .nav-link.current::after,
.navbar-nav .nav-link:hover::after {
    width: 70%;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link[aria-current="page"], .navbar-nav .nav-link.current {
    color: #060478 !important;
    background: none !important;
    box-shadow: none !important;
}
.navbar-nav .nav-link:hover {
    background: none !important;
    color: #060478 !important;
}
.btn-warning {
    background: linear-gradient(90deg, var(--orange), var(--yellow));
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(255,193,7,0.2);
    border-radius: 30px;
    border: none;
    margin-left: 0.5rem;
}
.btn-warning:hover {
    background: linear-gradient(90deg, var(--accent-red), var(--orange));
    color: #fff;
    transform: scale(1.05);
}
.btn-outline-light {
    border-radius: 30px;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}
.btn-outline-light:hover {
    background: var(--primary-blue);
    color: #fff;
}
.hero-section {
    /* min-height: 60vh; */
    min-height: calc(100vh - 90px);
    background: linear-gradient(120deg, var(--primary-blue) 60%, var(--deep-blue) 100%), url('../images/hero.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInHero 1.2s ease;
}
@keyframes fadeInHero {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-section h1 {
    /* text-shadow: 2px 2px 16px rgba(0,0,0,0.5); */
    color: #fff;
    animation: slideInDown 1s cubic-bezier(.77,0,.18,1);
}
@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-60px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-section p {
    /* text-shadow: 1px 1px 8px rgba(0,0,0,0.3); */
    color: #f9f9f9;
    animation: fadeIn 1.5s 0.3s backwards;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
section {
    animation: fadeIn 1.2s;
}
.card {
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-blue);
}
.bg-primary, .text-bg-primary {
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-red));
}
.bg-light {
    background: linear-gradient(90deg, #fff 80%, var(--yellow) 100%);
}
/* Footer Styling */
footer {
    background: #23272b !important;
    color: #fff;
    font-size: 1rem;
    padding-top: 2.5rem;
    padding-bottom: 1.2rem;
}
footer h6 {
    color: #fff;
    font-size: 1.08rem;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}
footer .footer-links li {
    margin-bottom: 0.5rem;
}
footer .footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}
footer .footer-links a:hover {
    color: #f9c106;
    text-decoration: underline;
}
footer p, footer small, footer a {
    color: #fff;
    font-size: 0.98rem;
}
footer .small {
    font-size: 0.95rem;
    color: #e0e0e0;
}
footer .fs-4 {
    font-size: 1.5rem !important;
}
footer .d-flex.gap-3 a {
    margin-right: 0.5rem;
    color: #fff;
    transition: color 0.2s, transform 0.2s;
}
footer .d-flex.gap-3 a:hover {
    color: #f9c106;
    transform: scale(1.15);
}
footer hr {
    border-color: #444;
    margin-top: 2rem;
    margin-bottom: 1.2rem;
}
footer .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
/* Animation for call-to-action */
section.bg-primary.text-white {
    animation: pulseCta 2s infinite alternate;
}
@keyframes pulseCta {
    from { box-shadow: 0 0 0 0 var(--yellow, #f9c106); }
    to { box-shadow: 0 0 32px 8px var(--yellow, #f9c106); }
}
/* Responsive Tweaks */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section {
        min-height: calc(100vh - 70px);
    }
    .navbar {
        min-height: 70px;
    }
    .navbar-brand img {
        height: 40px;
    }
    footer .row > div {
        margin-bottom: 1.5rem;
    }
    footer {
        font-size: 0.98rem;
    }
    
            /* Mobile button spacing improvements */
    .hero-section .btn,
    .btn-container .btn {
        display: block;
        width: 100%;
        margin: 0.75rem 0;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        min-height: 44px;
        box-sizing: border-box;
        word-wrap: break-word;
        white-space: normal;
        text-align: center;
    }
    
    .hero-section .btn + .btn,
    .btn-container .btn + .btn {
        margin-top: 1rem;
    }
    
    /* Ensure buttons don't have left/right margins on mobile */
    .hero-section .btn.ms-3,
    .hero-section .btn.me-2,
    .btn-container .btn.me-2,
    .btn-container .btn.ms-3 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Additional mobile button improvements */
    .hero-section .btn-container,
    .btn-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Ensure container doesn't overflow */
    .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Extra small screen adjustments */
    @media (max-width: 480px) {
        .hero-section .btn,
        .btn-container .btn {
            padding: 0.6rem 0.8rem;
            font-size: 0.9rem;
            min-height: 40px;
        }
        
        .container {
            padding-left: 10px;
            padding-right: 10px;
        }
        
        .hero-section .btn-container,
        .btn-container {
            gap: 0.75rem;
        }
    }
}

/* Desktop button container styles */
@media (min-width: 769px) {
    .hero-section .btn-container,
    .btn-container {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-section .btn-container .btn,
    .btn-container .btn {
        flex: 0 0 auto;
        width: auto;
        margin: 0;
    }
    
    /* Restore original margins for desktop */
    .hero-section .btn.me-2,
    .btn-container .btn.me-2 {
        margin-right: 0.5rem !important;
    }
    
    .hero-section .btn.ms-3,
    .btn-container .btn.ms-3 {
        margin-left: 1rem !important;
    }
}
} 
/* Stats Cards Hover and Animation */
.about-stats-card {
    transition: transform 0.3s cubic-bezier(.77,0,.18,1), box-shadow 0.3s, border-color 0.3s;
    border: 2px solid transparent;
    animation: fadeInUp 0.8s both;
}
.about-stats-card:hover {
    transform: translateY(-10px) scale(1.04);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    border-color: #ff7f00;
    background: #fffbe9;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
} 
/* Card Hover Effects for Index Page */
.index-card {
    transition: transform 0.3s cubic-bezier(.77,0,.18,1), box-shadow 0.3s, border-color 0.3s, background 0.3s;
    border: 2px solid transparent;
    background: #fff;
}
.index-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border-color: #ff7f00;
    background: #fffbe9;
} 
.floating-img {
    animation: floatUpDown 3.5s ease-in-out infinite alternate;
}
@keyframes floatUpDown {
    0% { transform: translateY(0); }
    100% { transform: translateY(-32px); }
} 
/* Icon Hover Animations */
.fa, .fas, .fab, .far, .fa-solid, .fa-regular, .fa-brands {
    transition: transform 0.2s;
}
.fa:hover, .fas:hover, .fab:hover, .far:hover, .fa-solid:hover, .fa-regular:hover, .fa-brands:hover {
    animation: bounce 0.7s;
}
@keyframes bounce {
    0%   { transform: translateY(0); }
    20%  { transform: translateY(-8px); }
    40%  { transform: translateY(-16px); }
    60%  { transform: translateY(-8px); }
    80%  { transform: translateY(0); }
    100% { transform: translateY(0); }
}
.fa.pulse:hover, .fas.pulse:hover, .fab.pulse:hover, .far.pulse:hover {
    animation: pulseIcon 0.7s;
}
@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
.fa.rotate:hover, .fas.rotate:hover, .fab.rotate:hover, .far.rotate:hover {
    animation: rotateIcon 0.7s;
}
@keyframes rotateIcon {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 
/* Google Translate Dropdown Custom Styling */
#google_translate_element {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 4px 16px;
    margin-top: 8px;
    font-size: 1rem;
    z-index: 2000;
}
.goog-te-gadget {
    color: #060478 !important;
    font-weight: 600;
    font-family: inherit;
}
.goog-te-combo {
    border-radius: 20px;
    border: 1.5px solid #f9c106;
    padding: 6px 18px;
    font-size: 1rem;
    color: #060478;
    background: #fffbe9;
    font-weight: 500;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(255,193,7,0.08);
    margin-left: 8px;
}
.goog-te-combo:focus {
    border-color: #ff7f00;
    box-shadow: 0 0 0 2px #ff7f0033;
}
/* Hide Google branding as much as possible */
.goog-logo-link, .goog-te-gadget span {
    display: none !important;
}
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}
body { top: 0px !important; } 
.google-translate-navbar {
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: 1rem;
    z-index: 2000;
}
@media (max-width: 991.98px) {
    .google-translate-navbar {
        position: static;
        margin: 0.5rem 0 0 0;
        justify-content: flex-end;
    }
} 

/* Responsive Navbar Styles */
@media (max-width: 1023.98px) {
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar-brand {
        width: 100%;
        margin-bottom: 0.5rem;
        align-items: center;
        gap: 8px;
    }
    .navbar-collapse {
        width: 100%;
    }
    .navbar-nav {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar-nav .nav-link, .btn.btn-warning {
        width: 100%;
        text-align: center;
        /* margin: 0.25rem 0; */
    }
    .google-translate-navbar {
        width: 100%;
        margin-top: 0.5rem;
        justify-content: flex-start;
    }
}
@media (min-width: 1024px) {
    .navbar .container {
        flex-direction: row;
        align-items: center;
        font-size: 15px;
    }
    .navbar-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: auto;
        /* white-space: nowrap; */
    }
    .navbar-nav .nav-link, .btn.btn-warning {
        width: auto;
        text-align: center;
        margin: 0 0px 0 0; /* Small right margin between items */
        font-size: 15px;
        white-space: nowrap;
    }
    .navbar-nav .nav-link:last-child, .btn.btn-warning:last-child {
        margin-right: 0; /* No margin after last item */
    }
    .google-translate-navbar {
        width: auto;
        margin-top: 0;
        justify-content: flex-end;
    }
} 

/* Maintain consistent navbar height */
.navbar {
    min-height: 70px;
}

/* Ensure logo images do not exceed navbar height */
.navbar .navbar-brand img {
    /*max-height: 52px;*/
    height: auto;
}

/* Maintain minimum height for the main content area */
.main-content {
    padding-bottom: 3rem; /* Keep some space if needed */
    min-height: unset;
    display: block;
    flex-direction: unset;
    justify-content: unset;
}

html, body {
    height: auto;
}
body {
    display: block;
    flex-direction: unset;
    min-height: unset;
}
footer {
    margin-top: 0;
} 

/* GALLERY PAGE FOOTER FIX */
body {
    display: block !important;
    min-height: unset !important;
    flex-direction: unset !important;
    height: auto !important;
}
#footer {
    margin-top: 0 !important;
}
section.gallery-section, .gallery-section {
    margin-bottom: 2rem;
} 
