:root {
    --primary: #8B4513;
    --secondary: #D35400;
    --accent: #E67E22;
    --light: #FDF7F2;
    --dark: #2C3E50;
}

body {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 45px;
}

h1, h2, h3, .navbar-brand {
    font-family: 'Playfair Display', serif;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary) !important;
}

.nav-link {
    position: relative;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--secondary);
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

.hero-section {
position: relative;
overflow: hidden; 
}

.hero-section {
    background-color: var(--light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section .overlay-img{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index:2;
    left: 0;
    top: 0;
    object-fit: cover;
    filter: opacity(0.07);
}

.hero-section h1, .hero-section p{
    position: relative;
    z-index: 999;
}


.logo-container {
position: relative;
width: 250px; 
height: 250px;
margin: 0 auto;
z-index: 3;
}

.logo-inner, .logo-outer {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.logo-inner {
z-index: 1;
}

.logo-outer {
clip-path: circle(50% at 50% 50%);
z-index: 0; 
animation: rotateLogo 10s linear infinite;
}

.animated-logo {
animation: rotateLogo 10s linear infinite;
}

@keyframes rotateLogo {
from {
    transform: rotate(0deg);
}
to {
    transform: rotate(360deg);
}
}

.wave-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
z-index: 1;

}

.waves {
display: block;
width: 100%;
height: 100%; 
animation: waveMove 10s linear infinite;
background: linear-gradient(to right, #f8cdda, #f0e68c);
background-size: 200% 200%;
  animation: gradientAnimation 15s ease infinite;
}

@keyframes gradientAnimation {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

@keyframes waveMove {
0% {
    transform: translateX(0);
}
100% {
    transform: translateX(0);
}
}

.parallax > use {
animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}
.parallax > use:nth-child(1) {
animation-delay: -2s;
animation-duration: 7s;
}
.parallax > use:nth-child(2) {
animation-delay: -3s;
animation-duration: 10s;
}
.parallax > use:nth-child(3) {
animation-delay: -4s;
animation-duration: 13s;
}
.parallax > use:nth-child(4) {
animation-delay: -5s;
animation-duration: 20s;
}

@keyframes move-forever {
0% {
    transform: translate3d(-90px, 0, 0);
}
100% {
    transform: translate3d(85px, 0, 0);
}
}
.logo-container {
position: relative;
width: 250px;
height: 250px;
margin: 0 auto 30px;
z-index: 999;
}

.logo-inner, .logo-outer {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
transform: scale(0.77) translateX(-0.29px) translateY(0.2px);
}

.logo-inner {

z-index: 1;
}

.logo-outer {
clip-path: circle(50% at 50% 50%);
z-index: 0;
animation: rotateLogo 10s linear infinite;
}

.animated-logo {
animation: rotateLogo 30s linear infinite;
}

@keyframes rotateLogo {
from {
    transform: rotate(0deg);
}
to {
    transform: rotate(360deg);
}
}

.logo-img {
    max-width: 250px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.section {
    padding: 80px 0;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-img {
    border-radius: 15px;
    margin-bottom: 20px;
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gallery-img:hover {
    transform: scale(1.03);
}

.nav-pills .nav-link {
    color: var(--primary);
    border-radius: 25px;
    padding: 8px 25px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background-color: var(--primary);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

.donate-section {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    position: relative;
}

.donate-btn {
    background-color: white;
    color: var(--primary) !important;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.donate-btn:active {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
    background-color: var(--light) !important;
}

.donate-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background-color: var(--light);
}

.social-links {
    background-color: var(--dark);
    padding: 30px 0;
    color: white;
}

.social-links a {
    color: white;
    font-size: 24px;
    margin: 0 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-5px);
}

.floating-contact {
position: fixed;
right: 20px;
bottom: 50px;
background: white;
padding: 15px 25px;
border-radius: 15px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
z-index: 1000;
transition: all 0.3s ease;
min-width: 250px;
width: 250px;
}

.floating-contact:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.floating-contact a {
display: block;
color: var(--primary);
text-decoration: none;
margin: 10px 0;
transition: color 0.3s ease;
font-size: 0.9rem;
}

.floating-contact a:hover {
color: var(--secondary);
}

.floating-contact i {
margin-right: 10px;
width: 20px;
}

.floating-contact.minimized {
width: 50px; 
height: 50px; 
padding: 10px;
text-align: center;
min-width:auto;
}

.floating-contact.minimized a:not(.minimized-contact) {
display: none; 
}

.floating-contact .minimized-contact {
display: none; 
}


.floating-contact.minimized .minimized-contact {
display: block;
font-size: 24px;
line-height: 0; 
margin: 5px !important;
}

@keyframes minimize {
from {
    width: 200px;
    height: auto;
}
to {
    width: 50px;
    height: 50px;
}
}

@keyframes maximize {
from {
    width: 50px;
    height: 50px;
}
to {
    width: 200px;
    height: auto;
}
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.initiatives-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
}

.popup {
display: none;
position: fixed;
z-index: 1000;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0,0,0,0.7);
justify-content: center;
z-index: 9999999;
align-items: center;
}

.popup-content {
background-color: #ffffff;
padding: 30px;
border-radius: 8px;
width: 90%;
max-width: 600px;
box-shadow: 0 5px 15px rgba(0,0,0,0.5);
animation: animatepopup 0.5s;
}

@keyframes animatepopup {
from {transform: scale(0.8); opacity: 0;} 
to {transform: scale(1); opacity: 1;}
}

.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
transition: color 0.3s;
}

.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}

.bank-details p {
margin-bottom: 10px;
font-size: 16px;
}

.bank-details strong {
display: block;
width: 150px; 
}

/* Responsive Adjustments */
@media (max-width: 768px) {
.popup-content {
width: 95%;
padding: 20px;
}
}




.modal {
display: none;
position: fixed;
z-index: 2000;
padding-top: 50px;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.9);
backdrop-filter: blur(5px);
}

.modal-content {
margin: auto;
display: block;
max-width: 90%;
max-height: 90vh;
object-fit: contain;
animation: zoom 0.6s;
}

.modal-close {
position: fixed;
right: 35px;
top: 15px;
color: #f1f1f1;
font-size: 40px;
font-weight: bold;
cursor: pointer;
z-index: 2001;
}

.modal-close:hover,
.modal-close:focus {
color: #bbb;
text-decoration: none;
cursor: pointer;
}

.gallery-img {
cursor: pointer;
}

@keyframes zoom {
from {transform: scale(0.1)}
to {transform: scale(1)}
}

@media only screen and (max-width: 700px) {
.modal-content {
width: 100%;
}
}


@media screen and (max-width: 767px) {
    .floating-contact {
        bottom: 80px; 
        transform: translateX(50%);
     
    }
    

    .floating-contact.minimized {
        bottom: 30px;
        transform: none;
    }
}

.contact-section {
    display: none;
}


@media screen and (max-width: 767px) {
.section{
    padding: 40px 0;
}

.contact-section {
    background: #fff;
    display: block;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 15px 10px;
    color: #333;
    text-decoration: none;
    transition: transform 0.2s;
}

.contact-item:hover {
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

.contact-item span {
    font-size: 14px;
    display: block;
}

.floating-contact {
    display: none;
}

}
@media (max-width: 480px) {
    .contact-grid {
        gap: 10px;
    }
    
    .contact-item {
        padding: 10px 5px;
    }
    
    .contact-item i {
        font-size: 20px;
    }
    
    .contact-item span {
        font-size: 12px;
    }
}


.footer-credit {
    background-color: #f8f9fa;
    padding: 15px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-credit p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.footer-credit a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: #d35400;
}

.social-links {
    margin-bottom: 0;
    padding-bottom: 15px;
}


/* History Section Styles */
.history-section {
    padding: 80px 0;
    background-color: #f9f9f9;
  }
  
  .history-image {
    position: relative;
    margin-bottom: 20px;
  }
  
  .image-caption {
    background-color: rgba(213, 110, 44, 0.8);
    color: white;
    padding: 8px 15px;
    position: absolute;
    bottom: 15px;
    left: 15px;
    border-radius: 4px;
    font-weight: 500;
  }
  
  .history-content {
    padding: 20px;
  }
  
  .history-content h3 {
    color: #b43d33;
    font-family: 'Playfair Display', serif;
  }
  
  .mission-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .mission-card h3 {
    color: #b43d33;
    font-family: 'Playfair Display', serif;
  }
  
  .objectives-list {
    padding-left: 20px;
  }
  
  .objectives-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
  }
  
  .objectives-list li:before {
    content: "•";
    color: #d56e2c;
    font-weight: bold;
    position: absolute;
    left: -15px;
  }
  
  .accomplishments-section {
    margin-top: 40px;
  }
  
  .accomplishments-section h3 {
    color: #b43d33;
    font-family: 'Playfair Display', serif;
  }
  
  .accomplishment-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .accomplishment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .icon-container {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #d56e2c, #b43d33);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
  }
  
  .icon-container i {
    font-size: 28px;
    color: white;
  }
  
  .accomplishment-card h4 {
    font-family: 'Playfair Display', serif;
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
  }
  
  .accomplishment-card p {
    color: #666;
    font-size: 0.9rem;
  }
  
  @media (max-width: 768px) {
    .history-section {
      padding: 60px 0;
    }
    
    .accomplishment-card {
      margin-bottom: 20px;
    }
  }



  .notification-ticker {
    position: fixed;
    padding: 10px 0;
    overflow: hidden;
    z-index: 1001;
    background: linear-gradient(45deg, #f8f9fa, #ececec);
    border-bottom: 1px solid rgba(180, 61, 51, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    bottom: 0;
width: 100%;
  }
  
  .notification-ticker:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b43d33' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.8;
  }
  
  .ticker-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  
  .ticker-content {
    white-space: nowrap;
    padding: 0 100%;
    animation: ticker-slide 25s linear infinite;
  }
  
  .ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }
  
  .ticker-item i {
    color: #b43d33;
    font-size: 1.2rem;
    animation: heartbeat 1.5s ease infinite;
  }
  
  .ticker-item span {
    color: #333;
    font-weight: 500;
    letter-spacing: 0.3px;
  }
  
  .btn-learn-more {
    background: linear-gradient(45deg, #b43d33, #d56e2c);
    color: white;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: bold;
    margin-left: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(180, 61, 51, 0.3);
  }
  
  .btn-learn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(180, 61, 51, 0.4);
    color: white;
  }
  
  @keyframes ticker-slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
  }
  
  @keyframes heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
  }
  
  /* Add a close button for the ticker if needed */
  .ticker-close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    font-size: 0.8rem;
    color: #888;
  }
  
  .ticker-close:hover {
    color: #b43d33;
  }
  
  /* Make it responsive */
  @media (max-width: 768px) {
    .ticker-item span {
      font-size: 0.85rem;
    }
    
    .btn-learn-more {
      font-size: 0.75rem;
      padding: 2px 8px;
    }
  }
