/* Core Layout Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: #333;
}

body {
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.bg-light {
    background-color: #f8f9fa;
}

/* Premium Navigation Bar & Logo Controller */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar.sticky {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    order: 1;
}

.logo-img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #e07a5f;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo span {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    color: #1A2530;
    text-transform: lowercase;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 24px;
    order: 2;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-links a:hover, .nav-links a.active {
    color: #e07a5f;
}

.nav-btn {
    background-color: #e07a5f;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 20px;
}

.nav-btn:hover {
    background-color: #d1694e;
}

.language-switcher {
    display: flex;
    gap: 5px;
    order: 3;
}

.lang-btn {
    background: none;
    border: 1px solid #cbd5e1;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn.active, .lang-btn:hover {
    background-color: #1A2530;
    color: #fff;
    border-color: #1A2530;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    order: 4;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* Sections Structure */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    color: #1A2530;
    margin-bottom: 15px;
}

/* Hero UI Grid */
.hero {
    background: linear-gradient(rgba(26, 37, 48, 0.45), rgba(26, 37, 48, 0.75)), url('images/gallery-1.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
    padding-top: 100px;
}

.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content .highlight {
    color: #f4a261;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 35px auto;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background-color: #e07a5f;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-primary:hover {
    background-color: #d1694e;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(224, 122, 95, 0.3);
}

.btn-secondary:hover {
    background-color: #fff;
    color: #1A2530;
    transform: translateY(-2px);
}

/* Stats Element Engine */
.stats {
    background-color: #1A2530;
    color: #fff;
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    color: #f4a261;
    margin-bottom: 10px;
}

/* About Grids */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 15px;
}

.about-text p {
    line-height: 1.7;
    margin-bottom: 25px;
    color: #4a5568;
}

.mission-vision {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mv-item h4 {
    font-size: 1.1rem;
    color: #1A2530;
    margin-bottom: 5px;
}

.mv-item i {
    color: #e07a5f;
    margin-right: 8px;
}

.img-responsive {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Values Grid Setup */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 2.5rem;
    color: #e07a5f;
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 12px;
}

/* Programs Elements Layer */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);
}

.program-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.program-info {
    padding: 25px;
}

.program-info h3 {
    margin-bottom: 10px;
    color: #1A2530;
}

.program-info p {
    color: #4a5568;
    line-height: 1.6;
}

/* Events Module Structure */
.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.event-card {
    background-color: #fff;
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.event-date {
    background-color: #e07a5f;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    font-size: 1.75rem;
    font-weight: 700;
    min-width: 120px;
    text-align: center;
}

.event-date span {
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 5px;
}

.event-content {
    padding: 25px;
}

.event-content h3 {
    margin-bottom: 10px;
}

.event-content p {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 5px;
}

/* Gallery Masonry Layout */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.masonry-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.masonry-item img:hover {
    transform: scale(1.03);
}

/* Donate Wrappers Layout */
.donate-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
}

.donate-info h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.donate-info p {
    color: #4a5568;
    margin-bottom: 30px;
}

.impact-list {
    list-style: none;
}

.impact-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.donate-methods h3 {
    margin-bottom: 20px;
}

.method-card {
    display: flex;
    gap: 15px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.method-card i {
    font-size: 1.5rem;
    color: #e07a5f;
}

/* Contact Module Framework */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.25rem;
    color: #e07a5f;
    margin-top: 3px;
    width: 20px;
    text-align: center;
}

/* Dedicated Social Link Brands Override Color Matrices */
.fa-linkedin { color: #0a66c2; }
.fa-instagram { color: #e1306c; }
.fa-tiktok { color: #010101; }
.fa-facebook { color: #1877f2; }

.info-item a {
    text-decoration: none;
    color: #4a5568;
}

/* Footer UI Architecture */
footer {
    background-color: #1A2530;
    color: #a0aec0;
    padding: 70px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 20px;
    text-transform: lowercase;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    background-color: rgba(255,255,255,0.05);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.social-links a i {
    font-size: 1.1rem;
}

.social-links a:hover {
    background-color: rgba(255,255,255,0.15);
}

.social-links a:hover .fa-linkedin { color: #004182; }

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    text-decoration: none;
    color: #a0aec0;
    transition: color 0.3s ease;
}

.footer-col ul a:hover {
    color: #fff;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background-color: rgba(255,255,255,0.08);
    color: #fff;
}

.btn-gold {
    background-color: #f4a261;
    color: #1A2530;
    padding: 0 20px;
    border-radius: 6px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    font-size: 0.85rem;
}

/* Floating Actions Elements */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    text-decoration: none;
    z-index: 999;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.08);
}

/* Media Breakpoints */
@media (max-width: 992px) {
    .about-grid, .donate-wrapper, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        padding: 30px;
        gap: 20px;
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .hero-content h1 { font-size: 2.3rem; }
    .events-grid, .footer-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .btn-gold { padding: 12px 0; }
}