/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Body and general styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Header and Navigation */
header {
    background-color: #4CAF50; /* Green for health theme */
    color: white;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    padding: 5px;
}

.logo h1 {
    font-size: 2rem;
    font-family: 'Georgia', serif;
    font-weight: bold;
    margin: 0;
}

ul {
    list-style: none;
    display: flex;
}

ul li {
    margin-left: 20px;
}

ul li a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    transition: background-color 0.3s;
}

ul li a:hover {
    background-color: #45a049;
    border-radius: 4px;
}

/* Main content */
main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 50px 0;
    background-color: #e8f5e8; /* Light green */
    border-radius: 8px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.welcome-note {
    background-color: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-left: 5px solid #4CAF50;
}

.carousel-section {
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-inner {
    display: flex;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 400px;
}

.carousel-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    transition: opacity 0.5s;
}

.carousel-inner img.active {
    display: block;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
}

.prev { left: 10px; }

.next { right: 10px; }

.prev:hover, .next:hover {
    background: rgba(0,0,0,0.7);
}
    transition: background-color 0.3s;
}

.hero button:hover {
    background-color: #45a049;
}

/* Features section */
.features {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.feature {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    flex: 1;
    margin: 0 10px;
}

.feature h3 {
    margin-bottom: 10px;
    color: #4CAF50;
}

.about {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.1;
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 1;
}

.about h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #fff;
}

.about h3 {
    font-size: 2.2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #ffd700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    border-bottom: 3px solid #ffd700;
    padding-bottom: 10px;
}

.about h4 {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #ffeb3b;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.about p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.about ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.about li {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    border-left: 5px solid #ffd700;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.about li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.about strong {
    color: #ffd700;
}

.promo-section {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.promo-section h3 {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.promo-section h4 {
    font-size: 1.8rem;
    color: #fff;
    margin-top: 30px;
    margin-bottom: 15px;
}

.promo-section ul {
    text-align: left;
    display: inline-block;
}

.promo-section li {
    background: rgba(255,255,255,0.2);
    color: #fff;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
}

.promo-section a {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}

.promo-section a:hover {
    text-decoration: underline;
}

.certificate-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
    margin-top: 20px;
}

.certificate-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex: 1 1 300px;
    text-align: center;
    border-left: 5px solid #4CAF50;
}

.certificate-item h4 {
    color: #4CAF50;
    margin-bottom: 10px;
}

/* Team section */
.team {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    text-align: center;
}

.team-members {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.member {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 200px;
}

.member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

.placeholder {
    width: 150px;
    height: 150px;
    background-color: #4CAF50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    letter-spacing: 2px;
}

.member h3 {
    color: #4CAF50;
    margin: 10px 0 5px;
}

.member p {
    font-style: italic;
}

.about h3 {
    color: #4CAF50;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.about ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.about li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.about-intro {
    margin-bottom: 20px;
}

.vision-mission {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.vision, .mission {
    flex: 1;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-left: 5px solid #4CAF50;
}

.vision h3, .mission h3 {
    color: #4CAF50;
    margin-bottom: 10px;
}

.vision p {
    font-style: italic;
}

.mission ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.mission li {
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 8px;
    flex: 1 1 calc(50% - 15px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-left: 3px solid #4CAF50;
    transition: transform 0.2s;
}

.mission li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Gallery grid (collage-like) */
.gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    grid-auto-rows: 160px;
    gap: 16px;
    align-items: stretch;
}

.gallery-images a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.gallery-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-images a:hover img {
    transform: scale(1.04);
}

/* Make a few items larger for a collage effect */
.gallery-images a:nth-child(7n+1) {
    grid-column: span 2;
    grid-row: span 2;
}
.gallery-images a:nth-child(7n+4) {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .gallery-images {
        grid-auto-rows: 140px;
    }
    .gallery-images a:nth-child(7n+1), .gallery-images a:nth-child(7n+4) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    padding: 20px;
}
.lightbox.open {
    display: flex;
}
.lightbox-img {
    max-width: 95%;
    max-height: 85%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border-radius: 6px;
}
.lightbox-caption {
    color: #fff;
    margin-top: 12px;
    text-align: center;
    max-width: 95%;
}
.lightbox-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

/* Lightbox navigation buttons */
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 12px 14px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 24px;
    z-index: 10001;
}
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(0,0,0,0.75);
}

@media (max-width: 480px) {
    .lightbox-prev, .lightbox-next {
        padding: 10px 12px;
        font-size: 20px;
    }
}

.award-list {
    display: flex;
    justify-content: space-around;
}

.award {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin: 10px;
    flex: 1;
}

/* Form styles */
form {
    max-width: 600px;
    margin: 0 auto;
}

label {
    display: block;
    margin-top: 10px;
}

input, textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 10px;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #45a049;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #333;
    color: white;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.watermark {
    opacity: 0.5;
    font-size: 0.95rem;
    margin-top: 8px;
    letter-spacing: 1px;
    user-select: none;
    text-align: center;
}
.watermark a {
    color: #90caf9;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}
.watermark a:hover {
    color: #fff;
    text-decoration: underline;
}

footer .activities {
    background-color: transparent;
    box-shadow: none;
    color: white;
    padding: 20px 0;
    margin-bottom: 10px;
}

footer .activities ul {
    list-style: none;
    padding: 0;
}

footer .activities li {
    margin-bottom: 10px;
}

footer .activities a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 4px;
    transition: background-color 0.3s;
}

footer .activities a:hover {
    background-color: rgba(255,255,255,0.2);
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    ul {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }
    ul.show {
        display: flex;
    }
    nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .logo {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .carousel-inner {
        height: 250px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero h2 {
        font-size: 1.8rem;
    }
    .hero h3 {
        font-size: 1.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .features {
        flex-direction: column;
    }
    .award-list {
        flex-direction: column;
    }
    .vision-mission {
        flex-direction: column;
    }
    .mission ul {
        column-count: 1;
    }
    .team-members {
        flex-direction: column;
        align-items: center;
    }
    .mission ul {
        flex-direction: column;
    }
    .mission li {
        flex: 1;
    }
    .about h2 {
        font-size: 2rem;
    }
    .about h3 {
        font-size: 1.8rem;
    }
    .about h4 {
        font-size: 1.5rem;
    }
    .promo-section h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    .carousel-inner {
        height: 200px;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    .hero h2 {
        font-size: 1.3rem;
    }
    .hero h3 {
        font-size: 1.2rem;
    }
    .hero p {
        font-size: 0.9rem;
    }
    .about h2 {
        font-size: 1.5rem;
    }
    .about h3 {
        font-size: 1.3rem;
    }
    .about h4 {
        font-size: 1.2rem;
    }
    .promo-section h3 {
        font-size: 1.5rem;
    }
    .member img, .placeholder {
        width: 100px;
        height: 100px;
    }
    .gallery-images img {
        width: 100%;
        max-width: 250px;
    }
}