/* =========================
   RESET & GLOBAL SETTINGS
   ========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    background-color: #cef0fd;
    color: #333;
    margin: 0;
    padding-top: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================
   HEADINGS & TEXT
   ========================= */
h1 {
    color: #2c3e50;
    margin: 30px 0 10px;
    font-size: 2.2rem;
}

h2 {
    color: #34495e;
    margin: 25px 0 10px;
    font-size: 1.6rem;
}

p {
    max-width: 650px;
    margin: 0 auto 20px;
    padding: 0 20px;
    font-size: 1rem;
}

/* =========================
   NAVIGATION BAR
   ========================= */
.navbar {
    width: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 12px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-logo img {
    height: 50px;
    border-radius: 8px;
}

/* Navigation links container */
.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Base link styles */
.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
}

/* Animated border effect */
.nav-links a::before,
.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #e74c3c;
    transition: all 0.3s ease;
}

.nav-links a::before {
    top: 0;
    left: 0;
}

.nav-links a::after {
    bottom: 0;
    right: 0;
}

/* Hover state */
.nav-links a:hover {
    color: #e74c3c;
}

.nav-links a:hover::before,
.nav-links a:hover::after {
    width: 100%;
}

/* =========================
   HERO / INTRO SECTION
   ========================= */
.hero {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 2.4rem;
}

.hero p {
    font-size: 1.05rem;
}

/* =========================
   INFO CARDS
   ========================= */
.info-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.info-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* =========================
   INFO CARD HEADER BAND
   ========================= */
.info-card h2 {
    background-color: #bfc7ce; /* soft neutral grey */
    color: #292828;
    margin: -25px -25px 20px; /* stretch header to card edges */
    padding: 14px 16px;
    border-radius: 10px 10px 0 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Ensure icons inherit white color */
.info-card h2 svg {
    fill: currentColor;
}


/* =========================
   GALLERY GRID
   ========================= */
.gallery-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.grid-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* =========================
   BUTTONS & LINKS
   ========================= */
.view-gallery-link {
    font-weight: bold;
    text-decoration: none;
    color: #2c3e50;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    display: inline-block;
    transition: color 0.3s, border-bottom 0.3s;
}

.view-gallery-link:hover {
    color: #e74c3c;
    border-bottom: 2px solid #e74c3c;
}

.whatsapp-button {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    margin: 30px 0;
    transition: background-color 0.3s, transform 0.2s;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

/* =========================
   SOCIAL ICONS
   ========================= */
.social-buttons {
    margin: 20px auto;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: inline-block;
    transition: transform 0.2s;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-icon {
    width: 100%;
    height: 100%;
}

/* =========================
   LIGHTBOX
   ========================= */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(44, 62, 80, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

#lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
}

/* =========================
   RESPONSIVE BREAKPOINTS
   ========================= */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .navbar {
        justify-content: center;
        gap: 10px;
    }

    .nav-links {
        justify-content: center;
        width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-logo img {
        height: 40px;
    }

    p {
        font-size: 0.95rem;
    }
}

/* About Section */

.about-section {
    padding: 60px 20px;
   
    text-align: center;
}

.about-section h1 {
     background-color: #bfc7ce; /* soft neutral grey */
    color: #292828;
    margin: -25px -25px 20px; /* stretch header to card edges */
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.about-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    color: #555;
}

.mission-values {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.mission-values .card {
    background-color: #fff;
    padding: 25px;
    width: 280px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    text-align: left;
}

.mission-values .card h2 {
    background-color: #bfc7ce; /* soft neutral grey */
    color: #292828;
    margin: -25px -25px 20px; /* stretch header to card edges */
    padding: 14px 16px;
    border-radius: 10px 10px 0 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mission-values .card p,
.mission-values .card ul {
    color: #555;
}

.team {
    margin-top: 50px;
}

.team h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.team-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.team-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 200px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.team-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.team-card h3 {
     background-color: #bfc7ce; /* soft neutral grey */
    color: #292828;
    margin: -25px -25px 20px; /* stretch header to card edges */
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-card p {
    color: #777;
}

