/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}
/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 20px;
}

.navbar .container {
    display: flex;
    max-width: 1600px;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-size: 24px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 10px;
}

/* Navbar Links with Moving Underline */
.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    position: relative; /* Necessary for the ::after pseudo-element */
    display: inline-block;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff; /* Underline color */
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #011a75; /* Changes text color on hover */
}

.nav-links a:hover::after {
    width: 100%; /* Expands the underline on hover */
}


.nav-links a:hover,
.nav-links .donate-btn:hover {
    color: #067ebf;
}

.donate-btn {
    background-color: #067ebf; /* Button background color */
    color: #333; /* Text color */
    padding: 5px 30px; /* Padding for appropriate button size */
    border-radius: 5px; /* Rounded corners */
    font-size: 16px; /* Font size */
    
    
    text-align: center; /* Center the text */
    text-decoration: none; /* Remove underline */
    border: 2px solid transparent; /* Border */
    transition: all 0.3s ease-in-out; /* Smooth transition */
}

.donate-btn:hover {
    background-color: white; /* Change background on hover */
    color: #067ebf; /* Change text color on hover */
    border-color: #067ebf; /* Add border on hover */
}

/* Mobile Navigation Styles */
.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
    position: absolute;
    right: 20px;
    top: 20px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 2px 0;
    transition: 0.4s;
}

/* X transformation classes */
.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
    }

    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        width: 100%;
        position: absolute;
        top: 95px;
        right: -90%;      /* Changed to match width */
        height: 65vh;
        background-color: #080808;
        display: flex;
        flex-direction: column;
        padding: 20px 0;
        gap: 3px;
        transition: right 0.3s ease-in-out, opacity 0.3s ease-in-out;
        opacity: 0;       /* Start fully transparent */
        visibility: hidden;
    }

    .nav-links.active {
        right: 0;
        opacity: 0.85;
        visibility: visible;
    }

    .nav-links li {
        margin: 5px 10px;
        text-align: center;
    }

    .nav-links a {
        padding: 10px 20px;
        margin: 0;
        text-align: center;
        font-size: 15px;  /* Restored from original */
    }

    .donate-btn {
        margin: 15px 20px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



/* General Styles */
:root {
    --primary-color: #067ebf;
    --secondary-color: #f5f5f5;
    --text-color: #067ebf;
    --accent-color: #067ebf ;
    --spacing: 2rem;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color, #067ebf); 
    margin: 2rem 0; 
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--text-color, #067ebf); /* Matches the text color */
}


/* Gallery Section Styles */
.gallery-section {
    position: relative;
    background-color: rgba(0,0,0,0.2); /* Light overlay for additional depth */
    padding: 40px 0;
   
    
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/b5.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: -1;
}
.gallery-album {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-album-item {
    display: block;
    opacity: 1;
    filter: brightness(60%);
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.gallery-album-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.gallery-album-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.gallery-album-item:hover img {
    filter: brightness(70%);
}

.gallery-type-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 10px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-album-item:hover .gallery-type-overlay {
    transform: translateY(0);
}

/* Gallery Details Styles */
.gallery-details {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    z-index: 1000;
    max-width: 90%;
    width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    display: none;
 }
 
 .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: #ff4444;
    transition: color 0.3s ease;
    z-index: 1010;
 }

.close-btn:hover {
    color: #ff0000;
}

.main-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

#detailTitle {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

#detailDescription {
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

.gallery-details-images {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 15px;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

.gallery-details-images::-webkit-scrollbar {
    height: 8px;
}

.gallery-details-images::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.gallery-details-images::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
}

.gallery-details-images img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.gallery-details-images img:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-album {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-details {
        width: 95%;
        padding: 20px;
    }

    .gallery-details-images img {
        width: 100px;
        height: 100px;
    }
}


/* Events Section */
.events-section {
    padding: var(--spacing) 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: var(--spacing) 0;
}

.event-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-content {
    padding: 1.5rem;
}

.event-content h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.event-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.event-date i {
    margin-right: 0.5rem;
}

/* News Section */
.news-section {
    padding: var(--spacing) 0;
    background-color: var(--secondary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: var(--spacing) 0;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.news-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: 1rem;
    font-weight: 500;
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* Footer Styles */
.footer {
    background-color: #067ebf;
    color: white;
    padding: 10px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    text-align: center;
    width: 100%;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}

/* Link Sections */
.popular-links,
.useful-links,
.contact-info {
    width: 33%;
}

.popular-links h3,
.useful-links h3,
.contact-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffffff;
}

.popular-links ul,
.useful-links ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 10px;
}

.popular-links ul li,
.useful-links ul li {
    margin-bottom: 5px;
}

.popular-links ul li a,
.useful-links ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.popular-links ul li a:hover {
    color: #011a75;
}

.useful-links ul li a:hover {
    color: #073dff;
}

/* Contact Info */
.contact-info {
    padding: 20px;
    text-align: left;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info i {
    margin-right: 20px;
}

/* Social Icons */
.social-icons-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}

.social-icon-box {
    background-color: #25affa;
    padding: 10px;
    border: 2px solid #073dff;
    border-radius: 5px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.social-icon-box a {
    color: white;
    font-size: 20px;
    text-decoration: none;
}

.social-icon-box:hover {
    background-color: #62b3ff;
}

.social-icon-box a:hover {
    color: #00343f;
}

/* Logo */
.logo-img {
    height: 40px;
    margin-right: 10px;
    vertical-align: middle;
}

.navbar .logo {
    display: flex;
    align-items: center;
}

/* Passport Image Section */
.passport-image-section {
    text-align: center;
    margin-right: 20px;
}

.passport-image {
    width: 100px;
    height: 130px;
    border-radius: 5px;
    margin-bottom: 10px;
    border: 2px solid #ffffff;
    object-fit: cover;
}

.helping-quotes {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 5px;
    font-style: italic;
}

/* Tablet Styles */
@media screen and (max-width: 768px) {
    .footer-container {
        padding: 15px;
    }
    
    .popular-links h3,
    .useful-links h3,
    .contact-info h3 {
        font-size: 16px;
    }

    .social-icon-box {
        width: 40px;
        height: 40px;
    }

    .social-icon-box a {
        font-size: 18px;
    }

    .passport-image {
        width: 80px;
        height: 104px;
    }
}

/* Mobile Styles */
@media screen and (max-width: 480px) {
    .footer-container {
        flex-direction: column;
        padding: 10px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .popular-links,
    .useful-links,
    .contact-info {
        width: 100%;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .contact-info {
        text-align: center;
    }

    .social-icons-container {
        flex-wrap: wrap;
        gap: 10px;
    }

    .social-icon-box {
        width: 35px;
        height: 35px;
    }

    .social-icon-box a {
        font-size: 16px;
    }

    .passport-image-section {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .passport-image {
        width: 70px;
        height: 91px;
    }

    .helping-quotes {
        font-size: 12px;
    }

    .logo-img {
        height: 30px;
    }
}
footer {
  background-color: #5c5b5b; /* Fire Orange */
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 16px;
}

footer a {
  color: #31adec /* Contrast color for links */
  
  
}

footer a:hover {
  text-decoration: underline;
}
/* Small Mobile Styles */
@media screen and (max-width: 320px) {
    .footer-container {
        padding: 5px;
    }

    .popular-links h3,
    .useful-links h3,
    .contact-info h3 {
        font-size: 14px;
    }

    .social-icon-box {
        width: 30px;
        height: 30px;
    }

    .social-icon-box a {
        font-size: 14px;
    }
}    

/* Logo Styling */
.logo-img {
    height: 20px; 
    margin-right: 10px; 
    vertical-align: middle; 
}

/* Navbar Styling */
.navbar .logo {
    display: flex;
    align-items: center;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 20;
    }
    to {
        opacity: -20;
    }
}


/* Passport Image Section */
.passport-image-section {
    text-align: center;
    margin-right: 20px; /* Adjust spacing from Useful Links */
}

.passport-image {
    width: 100px; /* Size for passport image */
    height: 130px;
    border-radius: 5px;
    margin-bottom: 10px; /* Space below image */
    border: 2px solid #ffffff;
    object-fit: cover;
}

/* Helping Quotes */
.helping-quotes {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 5px; /* Space between quotes */
    font-style: italic;
}

