* {
    margin: 0; 
    padding: 0; 
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}
body {
    background: #f9f9f9;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.site { 
    display: grid; 
    grid-template-rows: auto 1fr auto; 
    min-height: 100dvh; 
}

.container { 
    width: 85%; 
    max-width: 1200px; 
    margin: auto; 
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  height: 60px;
  width: auto;
}

.menu-toggle {
  font-size: 26px;
  cursor: pointer;
  margin-left: 190px;
}

.logo span {
  font-size: 14px;
  font-weight: 620;
}

/* Hamburger container */
.menu-toggle {
    display: none; /* desktop pe hide */
    cursor: pointer;
    font-size: 1.8rem;
    color: #2c4f75;
}

/* Mobile menu active */
.nav-links {
    display: flex;
    gap: 30px;
}

/* Mobile styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px; /* adjust according to header height */
        right: 20px;
        background-color: #fff;
        flex-direction: column;
        width: 200px;
        border-radius: 10px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        padding: 10px 0;
        display: none; /* hidden by default */
        z-index: 100;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        padding: 12px 20px;
        color: #2c4f75;
        font-weight: 500;
        border-bottom: 1px solid #f1f1f1; /* uniform border */
        transition: background 0.3s, color 0.3s;
    }

    .nav-links li:last-child a {
        border-bottom: none; /* last item border remove */
    }

    .nav-links li a:hover {
        background-color: #2c4f75;
        color: #fff;
    }
}
.menu-toggle i {
    transition: transform 0.3s;
}

.menu-toggle.active i {
    transform: rotate(90deg); /* simple rotation effect */
}


header {
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 25px 0;
    position: sticky;
    top: 0; z-index: 1000;
}
.nav-wrapper { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    font-weight: bold; 
    font-size: 2.5rem; 
    color: #2c4f75; 
}

.logo img { 
    width: 60px; 
    height: auto; 
    margin-left: 45px;
    margin-bottom: -5px;
}

.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 15px; 
    margin-left: 450px;
}

.nav-links a {
    text-decoration: none;
    color: #2c4f75;
    padding: 6px 15px;
    border: 1px solid #2c4f75;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.nav-links a:hover, .nav-links a.active {
    color: #fff;
    background-color: #2c4f75;
    border-color: #2c4f75;
    font-weight: bold;
}

.content-section { 
    display: none; 
    padding: 50px 0; 
    min-height: 80vh; 
    position: relative; 
    font-size: 1.2rem;
}

.content-section.active { 
    display: block; 
    animation: fadeIn 0.5s ease-in; 
}

.hero-overlay {
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.45);
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    align-items: center; 
    color: #fff; 
    text-align: center;
}

.hero {
    width: 100vw;              
    margin-left: calc(-50vw + 50%); 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
}

.home-page { 
    background-image: url('Images/home-bg.jpeg'); 
}

.gallery-page { 
    background-image: url('Images/gallery.background.jpeg'); 
    background-position: top;
}

.mission-page { 
    background-image: url('Images/ministry-bg.jpeg'); 
}

.contact-page { 
    background-image: url('images/contact-page.bg.jpeg'); 
}

.donation-page { 
    background-image: url('Images/donation-bg.jpeg'); 
}


#home.content-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.who-header { 
    text-align: center; 
    padding: 60px 20px; 
    background: #fff; 
}

.who-header h2 { 
    font-size: 36px; 
    color: #2c4f75; 
    margin-bottom: 20px; 
    position: relative; 
}

.who-header p {
    font-size: 1.5rem;
}

.who-header h2::after { 
    content: ''; 
    display: block; 
    width: 50px; 
    height: 3px; 
    background: #2c4f75; 
    margin: 10px auto; 
}

.home-actions { 
    text-align: center; 
    margin-top: 40px; 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    flex-wrap: wrap; 
}

.btn { 
    padding: 12px 25px; 
    border-radius: 5px; 
    font-weight: bold; 
    cursor: pointer; 
    transition: 0.3s; 
    text-decoration: none; 
    display: inline-block; 
}

.btn-primary { 
    background-color: #2c4f75; 
    color: #fff; 
    border: 2px solid #2c4f75; 
}

.btn-primary:hover { 
    background-color: #fff; 
    color: #2c4f75; 
    border: 2px solid #2c4f75; 
}

.btn-secondary { 
    background-color: transparent; 
    color: #2c4f75; 
    border: 2px solid #2c4f75; }
.btn-secondary:hover { 
    background-color: #2c4f75; 
    color: #fff; 
}

#about.content-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.about-page {
    width: 100%;
    display: flex;
    justify-content: center;   
    overflow: hidden;
}

.about-page video {
    max-width: 1100px;        
    width: 100%;
    height: 60vh;
    object-fit: cover;
    display: block;
}

.about-content { 
    display: flex; 
    flex-direction: column; 
    gap: 30px; 
    margin-top: 40px; 
}

.aesthetic-para { 
    padding: 30px; 
    border-radius: 12px; 
    line-height: 1.8; 
    margin-top: 60px;
    font-size: 1.4rem; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    border-left: 5px solid #2c4f75; 
    transition: transform 0.3s; 
}

.aesthetic-para:hover { 
    transform: translateX(10px); 
}

.para-white { 
    background: #fff; 
    color: #444; 
}

.para-blue { 
    background: #eef5fb; 
    color: #2c4f75; 
    border-left-color: #2c4f75; 
}

#gallery.content-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.gallery-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); 
    gap: 25px; 
    margin-top: 40px; 
}

.gallery-item { 
    position: relative; 
    height: 300px; 
    overflow: hidden; 
    border-radius: 15px; 
    cursor: pointer; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.12); 
}

.gallery-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.6s ease; 
}

.gallery-item:hover img { 
    transform: scale(1.1); 
}

.overlay { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(to top, rgba(44,79,117,0.9), transparent); 
    display: flex; 
    align-items: flex-end; 
    padding: 20px; 
    opacity: 0; 
    transition: opacity 0.4s ease; 
}

.gallery-item:hover 

.overlay { 
    opacity: 1; 
}

.overlay span { 
    color: #fff; 
    font-size: 1.1rem; 
    font-weight: 600; 
}

#mission.content-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.mission-content {
    margin-top: 60px;
}

.mission-quote {
    margin-bottom: 20px;
    font-style: italic;
    font-size: 1.3rem;
}

.our-mission h2 {
    margin-bottom: 30px;
    text-align: center;
    color: #2c4f75;
}

/* Mission page video fix */
.mission-page {
    height: 50vh;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.mission-page video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

@media (max-width: 768px) {
    .mission-page {
        height: 35vh;
        min-height: 220px;
    }
}

#faith.content-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.faith-page {
    background-image: url('Images/about-bg.jpeg'); 
    background-position: top;
    font-size: 1.2rem;
}

@media (max-width: 900px) {
    #mission .gallery-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 600px) {
    #mission .gallery-grid {
        grid-template-columns: 1fr; 
    }
}

#contact.content-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.contact-box-wrapper { 
    display: flex; 
    flex-wrap: wrap; 
    max-width: 900px; 
    margin: 40px auto; 
    background: #fff; 
    border-radius: 20px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); 
    overflow: hidden; 
}

.contact-info-side { 
    background: #2c4f75; 
    color: #fff; 
    padding: 40px; 
    flex: 1; display: flex; 
    flex-direction: column; 
    justify-content: center; 
}

.contact-info-side h2 { 
    font-size: 2rem; 
    margin-bottom: 20px; 
}

#contactForm button {
    align-self: flex-start;
    padding: 15px 40px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #2c4f75; 
    background-color: #2c4f75;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#contactForm button:hover {
    background-color: white;
    color: #2c4f75;
    border: 2px solid #2c4f75; 
}

.info-item { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    margin-bottom: 20px; 
}

.info-item i { 
    color: #b5babd; 
}

.contact-map {
    margin-top: 20px;
    width: 100%;
}

.contact-map iframe {
    width: 100%;
    height: 200px;
    border: 0;
    border-radius: 12px;
}


.contact-form-side { 
    flex: 1.5; 
    padding: 40px; 
    background: #fdfdfd; 
}

.input-group { 
    position: relative; 
    margin-bottom: 20px; 
}

.input-group i { 
    position: absolute; 
    left: 15px; top: 50%; 
    transform: translateY(-50%); 
    color: #86abc3; 
}

.input-group input, 
.input-group textarea {
    width: 100%; 
    padding: 12px 15px 12px 45px; 
    border: 2px solid #f1f1f1; 
    border-radius: 10px; 
    outline: none; 
    background: #f9f9f9; 
    transition: 0.3s;
}
.input-group input:focus, 
.input-group textarea:focus { 
    border-color: #2c4f75; 
    background: #fff; 
    box-shadow: 0 0 10px rgba(52,152,219,0.1); 
}

.btn-animate { 
    width: 100%; 
    padding: 15px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    transition: 0.4s; 
}

.btn-animate:hover { 
    background: #2c4f75; 
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
}

#donation.content-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.donation-grid { 
    display: grid; 
    grid-template-columns: repeat(2,1fr); 
    gap: 30px; 
    max-width: 800px; 
    margin: 40px auto; 
}

.donation-card { 
    background: #fff; 
    padding: 40px 30px; 
    border-radius: 20px; 
    text-align: center; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.05); 
    border-top: 5px solid #2c4f75; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    transition: transform 0.3s ease; 
}

.donation-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); 
}

.donation-btn { 
    width: 100%; 
    padding: 14px 0; 
    margin-top: 25px; 
    border-radius: 8px; 
    background: #2c4f75; 
    color: #fff; 
    text-transform: uppercase; 
    font-size: 0.9rem; 
    border: 2px solid #2c4f75; 
    transition: 0.3s; 
}

.donation-btn:hover { 
    background: transparent; 
    color: #2c4f75; 
    font-weight: bold; 
}

footer { 
    background-color: #2c4f75; 
    padding: 60px 0 30px; 
    width: 100%; 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr; 
    gap: 40px; 
    margin-bottom: 40px; 
}

.footer-brand h3 { 
    color: #cfd3d8; 
    margin-bottom: 15px; 
    font-size: 1.5rem; 
}

.footer-brand p { 
    color: #7f8c8d; 
    max-width: 400px; 
    font-size: 0.95rem; 
}

.footer-links h4, 
.footer-social h4 { 
    color: #cbd6e1; 
    margin-bottom: 20px; 
    font-size: 1.1rem;
}

.footer-links ul { 
    list-style: none; 
}

.footer-links ul li { 
    margin-bottom: 10px; 
}

.footer-links ul li a { 
    text-decoration: none; 
    color: #7f8c8d; 
    transition: color 0.3s; }

.footer-links ul li a:hover { 
    color: #94c0de; 
}

.social-icons { 
    display: flex; 
    gap: 15px; 
}

.social-icons a { 
    color: #d2d7dc; 
    font-size: 1.5rem; 
    transition: transform 0.3s, color 0.3s; }

.social-icons a:hover { 
    color: #a1c7e0; 
}

.footer-divider { 
    border: 0; 
    height: 1px; 
    background: #dcdde1; 
    margin-bottom: 20px; }

.footer-bottom { 
    text-align: center; 
    color: #95a5a6; 
    font-size: 0.9rem; 
}

@media (max-width: 768px) {
    .cards-grid, 
    .gallery-grid, 
    .donation-grid { 
        grid-template-columns: 1fr; 
    }
    .contact-box-wrapper { 
        flex-direction: column; 
    }
    .nav-wrapper { 
        flex-direction: column; 
        gap: 15px; 
    }
    .footer-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    .social-icons { 
        justify-content: center; 
    }
}

/* Hamburger hidden on desktop */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #2c4f75;
    cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {

    header {
        padding: 15px 0;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo img {
        width: 45px;
        margin: 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 20px 0;
        border-top: 1px solid #ddd;
        display: none;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        width: 90%;
        text-align: center;
    }
}


.social-bar {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px 10px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    border-radius: 0 30px 30px 0;
    z-index: 999;
}
.social-bar {
    position: fixed;
    top: 50%;
    left: -42px;               /* mostly hidden */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px 12px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    border-radius: 0 30px 30px 0;
    transition: left 0.3s ease;
    z-index: 999;
}

/* show on hover */
.social-bar:hover {
    left: 0;
}

/* Icons */
.social-bar a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.social-bar a:hover {
    transform: scale(1.1);
}

/* Brand colors */
.social-bar .facebook { background: #1877f2; }
.social-bar .instagram { background: #e4405f; }
.social-bar .whatsapp { background: #25d366; }
.social-bar .twitter { background: #1da1f2; }

@media (max-width: 768px) {
    .social-bar {
        left: 0;
    }
}

@media (max-width: 768px) {

  .hero {
    height: 40vh;          /* pehle 60vh tha */
    background-position: center center;
    background-size: cover;
  }

}

/* Hide menu on smaller screens */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 5;
        margin: 0;
        background: #fff;
        position: absolute;
        top: 100%;
        margin-right: 0;
        width: 200px;
        border: 1px solid #ddd;
        border-radius: 4px;
    }

    .nav-links.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}
