/* Variables & Reset */
:root {
    --forest-green: #0a3a2a;
    --forest-light: #165b44;
    --gold: #d4af37;
    --white: #ffffff;
    --charcoal: #222222;
    --text-gray: #555555;
    --light-bg: #fdfdfd;
    --gray-bg: #f4f7f6;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

/* Base Styles */
html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    scroll-behavior: smooth;
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--white);
}

img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
    image-rendering: -webkit-optimize-contrast; 
}

/* Utilities & Typography */
.section-padding { padding: 80px 0; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.bg-light { background-color: var(--light-bg); }

h1, h2, h3, h4, h5, h6 { 
    font-family: var(--font-heading); 
    color: var(--forest-green); 
    font-weight: 700; 
}

.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
.title-line { height: 3px; width: 70px; background: var(--gold); margin: 10px auto 0; border-radius: 2px; }
.light-title h2 { color: var(--white); }
.gold-text { color: var(--gold); }
.forest-text { color: var(--forest-green); }

/* Buttons */
.btn { display: inline-block; padding: 12px 25px; border-radius: 6px; font-weight: 500; cursor: pointer; transition: var(--transition); text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--forest-green); color: var(--white); }
.btn-primary:hover { background: var(--gold); }
.btn-outline { border-color: var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--forest-green); }

/* Header & Navigation */
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; transition: var(--transition); background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo a { font-family: var(--font-heading); font-size: 1.4rem; color: var(--forest-green); text-decoration: none; font-weight: bold; }
.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links li a { color: var(--charcoal); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: var(--transition); }
.nav-links li a:hover, .nav-links li a.active { color: var(--forest-green); border-bottom: 2px solid var(--forest-green); padding-bottom: 5px; }
.nav-actions { display: flex; align-items: center; gap: 15px; }
.lang-toggle { background: transparent; border: 1px solid var(--forest-green); color: var(--forest-green); padding: 4px 12px; border-radius: 20px; cursor: pointer; font-size: 0.85rem;}
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger .bar { width: 25px; height: 3px; background: var(--forest-green); border-radius: 2px; }

/* Hero */
.hero { min-height: 100vh; background: var(--forest-green); background-image: url('image-bg.webp'); background-size: cover; background-blend-mode: multiply; display: flex; align-items: center; padding: 100px 0 50px; position: relative; }
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; z-index: 2; position: relative; }
.hero-content { color: var(--white); }
.hero-title { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--gold); margin-bottom: 10px; line-height: 1.2; text-shadow: 2px 2px 4px rgba(0,0,0,0.6); }
.hero-subtitle { font-size: 1.1rem; margin-bottom: 15px; font-weight: 400; line-height: 1.5; color: #ffffff !important; text-shadow: 1px 1px 5px rgba(0,0,0,0.8); }
.hero-text { font-size: 0.95rem; margin-bottom: 25px; color: #f0f0f0; text-shadow: 1px 1px 4px rgba(0,0,0,0.8); }
.hero-buttons { display: flex; gap: 15px; }
.hero-image-box { background: var(--white); padding: 5px; border-radius: 15px; border: 3px solid var(--gold); box-shadow: 0 15px 40px rgba(0,0,0,0.4); max-width: 380px; margin: 0 auto; }
.hero-image { width: 100%; border-radius: 10px; object-fit: cover; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.about-image { position: relative; border-radius: 10px; overflow: hidden; }
.glass-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(10,58,42,0.85); padding: 15px; color: var(--gold); text-align: center; font-weight: 600; font-size: 1.1rem; }
.glass-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 25px; }
.glass-card { background: var(--gray-bg); padding: 20px; border-radius: 8px; text-align: center; border: 1px solid #eaeaea; transition: var(--transition); }
.glass-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.glass-card i { font-size: 2rem; margin-bottom: 10px; }

/* Counters */
.counters-section { background: var(--forest-green); padding: 60px 0; }
.counters-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; color: var(--white); }
.counter-box { background: #0c4a35; padding: 25px 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.05); }
.counter-box i { font-size: 2rem; margin-bottom: 15px; }
.counter { font-size: clamp(1.3rem, 3vw, 2.5rem); font-weight: 700; font-family: var(--font-heading); margin-bottom: 5px; white-space: nowrap; }

/* Regional Connect */
.regional-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.regional-visual { position: relative; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.regional-img { width: 100%; display: block; object-fit: cover; }
.regional-overlay-card { position: absolute; bottom: 20px; left: 20px; background: rgba(255, 255, 255, 0.95); padding: 15px 20px; border-radius: 8px; border-left: 4px solid var(--forest-green); }
.regional-list { display: flex; flex-direction: column; gap: 15px; }
.regional-item { display: flex; gap: 15px; background: #fff; padding: 20px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.reg-icon { width: 45px; height: 45px; min-width: 45px; background: var(--forest-green); color: var(--gold); display: flex; justify-content: center; align-items: center; border-radius: 50%; font-size: 1.2rem; }

/* Initiatives */
.cinematic-section { background: url('image-bg-2.webp') no-repeat center center fixed; background-size: cover; position: relative; color: white; }
.cinematic-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10,58,42,0.85); z-index: 1; }
.relative-z { position: relative; z-index: 2; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: rgba(25, 25, 25, 0.6); backdrop-filter: blur(10px); border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); position: relative; overflow: visible !important; margin-bottom: 20px; transition: 0.3s; }
.service-card:hover { border-color: var(--gold); transform: translateY(-5px); }
.card-img { height: 200px; position: relative; border-radius: 12px 12px 0 0; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 30px 20px 20px; }

/* Gallery & Lightbox */
.masonry-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.gallery-item { border-radius: 8px; overflow: hidden; aspect-ratio: 1/1; cursor: pointer; }
.gallery-img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.gallery-item:hover .gallery-img { transform: scale(1.05); }

.lightbox { display: none; position: fixed; z-index: 10000; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); justify-content: center; align-items: center; }
.lightbox.active { display: flex; }
.lightbox-content { max-width: 90%; max-height: 90%; object-fit: contain; border-radius: 10px; border: 3px solid white;}
.close-lightbox { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; cursor: pointer; }

/* Social Feeds */
.social-feed-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; align-items: start; }
.social-card { background: #ffffff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); display: flex; flex-direction: column; height: 620px; }
.social-header { padding: 12px 16px; color: #ffffff; font-weight: 600; display: flex; align-items: center; font-size: 1.1rem; flex-shrink: 0; font-family: var(--font-body); }
.social-body { flex: 1; overflow-y: auto; background: #ffffff; padding: 8px; display: flex; justify-content: center; }

.twitter-tweet { margin: 0 auto !important; width: 100% !important; }
.instagram-media { margin: 0 auto !important; width: 100% !important; min-width: 100% !important; border: 0 !important; }

/* Carousel */
.simple-swipe-carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 20px; }
.simple-swipe-carousel::-webkit-scrollbar { display: none; }
.swipe-item { min-width: calc(33.333% - 14px); scroll-snap-align: center; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); background: #fff; }
.swipe-item img { width: 100%; height: 300px; object-fit: cover; display: block; }

/* Contact */
.modern-contact { background: #fdfdfd; }
.contact-modern-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-cards-container { display: flex; flex-direction: column; gap: 15px; width: 100%; box-sizing: border-box; }
.contact-info-card { background: #fff; border-radius: 16px; padding: 20px; display: flex; align-items: center; gap: 15px; box-shadow: 0 8px 25px rgba(0,0,0,0.04); transition: transform 0.3s; border: 1px solid rgba(0,0,0,0.02); max-width: 100%; box-sizing: border-box; }
.contact-info-card:hover { transform: translateX(5px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.icon-box { width: 55px; height: 55px; min-width: 55px; border-radius: 14px; display: flex; justify-content: center; align-items: center; color: white; font-size: 1.3rem; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.icon-email { background: linear-gradient(135deg, #20B2AA, #0ba360); }
.icon-call { background: linear-gradient(135deg, #d4af37, #b5952f); }
.icon-whatsapp { background: linear-gradient(135deg, #128C7E, #075E54); }
.icon-visit { background: linear-gradient(135deg, #0a3a2a, #165b44); }

.info-details { flex: 1; min-width: 0; } 
.info-details h4 { font-size: 1rem; color: var(--charcoal); margin-bottom: 3px; font-weight: 600; }
.info-details p { font-size: 0.95rem; color: var(--text-gray); margin-bottom: 2px; word-break: break-word; overflow-wrap: break-word; } 

.contact-form-card { background: #fff; border-radius: 24px; padding: 40px; box-shadow: 0 15px 40px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.02); width: 100%; box-sizing: border-box; }
.form-header h3 { font-size: 1.8rem; margin-bottom: 5px; color: #222; }
.form-header p { color: #777; font-size: 0.95rem; margin-bottom: 30px; }
.modern-form .form-group { margin-bottom: 22px; width: 100%; box-sizing: border-box; }
.modern-form label { display: block; font-size: 0.75rem; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.modern-form input, .modern-form textarea { width: 100%; box-sizing: border-box; border: 1.5px solid #eee; border-radius: 10px; padding: 14px 16px; background: #fafafa; font-family: var(--font-body); font-size: 0.95rem; transition: 0.3s; }
.modern-form input:focus, .modern-form textarea:focus { outline: none; border-color: #0ba360; background: #fff; box-shadow: 0 0 0 4px rgba(11, 163, 96, 0.1); }
.btn-submit-modern { width: 100%; background: linear-gradient(135deg, #165b44, #0a3a2a); color: white; border: none; padding: 16px; border-radius: 10px; font-size: 1.05rem; font-weight: 600; cursor: pointer; transition: 0.3s; display: flex; justify-content: center; align-items: center; gap: 10px; box-shadow: 0 8px 20px rgba(10, 58, 42, 0.2); }
.btn-submit-modern:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(10, 58, 42, 0.3); }

/* Footer */
.modern-footer { background: #08261b; color: #d1e0da; position: relative; margin-top: 60px; }
.footer-top-bar { border-bottom: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.ft-features { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.ft-feature { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; color: #a9c2b8; }
.ft-feature i { color: #38ef7d; font-size: 1.1rem; }

.footer-main { padding: 60px 0 100px; }
.footer-grid-modern { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-brand .footer-logo { color: #fff; font-size: 1.6rem; margin-bottom: 10px; font-family: var(--font-heading); }
.footer-tagline { color: #38ef7d; font-size: 0.9rem; font-weight: 600; margin-bottom: 20px; }
.footer-check-list { list-style: none; margin-bottom: 25px; }
.footer-check-list li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; margin-bottom: 8px; }
.footer-check-list li i { color: #38ef7d; font-size: 0.9rem; }

.footer-brand-socials { display: flex; gap: 12px; }
.footer-brand-socials a { width: 38px; height: 38px; color: white; display: flex; justify-content: center; align-items: center; border-radius: 8px; font-size: 1.2rem; text-decoration: none; transition: 0.3s; }
.footer-brand-socials a:nth-child(1) { background: #1877F2; } 
.footer-brand-socials a:nth-child(2) { background: linear-gradient(45deg, #000, #333); }
.footer-brand-socials a:nth-child(3) { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); } 
.footer-brand-socials a:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

.footer-links-col h4, .footer-contact-col h4 { color: #fff; font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; border-bottom: 2px solid #165b44; display: inline-block; padding-bottom: 5px; }
.footer-links-col ul { list-style: none; }
.footer-links-col ul li { margin-bottom: 12px; }
.footer-links-col ul li a { color: #a9c2b8; text-decoration: none; font-size: 0.95rem; transition: 0.3s; display: flex; align-items: center; gap: 8px; }
.footer-links-col ul li a:hover { color: #38ef7d; padding-left: 5px; }

.footer-contact-col p { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; margin-bottom: 12px; line-height: 1.5; color: #a9c2b8; }
.footer-contact-col p i { color: #38ef7d; margin-top: 3px; }

.footer-cta-banner { background: linear-gradient(135deg, #114b39, #0a3a2a); border: 1px solid #1c6d53; padding: 30px 40px; border-radius: 20px; display: flex; justify-content: space-between; align-items: center; margin-top: -60px; position: relative; z-index: 10; box-shadow: 0 15px 40px rgba(0,0,0,0.3); }
.cta-text { display: flex; align-items: center; gap: 20px; }
.cta-icon { width: 50px; height: 50px; background: rgba(56, 239, 125, 0.1); color: #38ef7d; border-radius: 12px; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; }
.cta-text h3 { color: #fff; font-size: 1.4rem; margin-bottom: 5px; }
.cta-text p { color: #a9c2b8; font-size: 0.95rem; margin: 0; }
.btn-cta-green { background: #38ef7d; color: #08261b; padding: 12px 30px; border-radius: 30px; font-weight: 700; text-decoration: none; transition: 0.3s; display: flex; align-items: center; gap: 8px; }
.btn-cta-green:hover { background: #fff; box-shadow: 0 5px 15px rgba(56, 239, 125, 0.4); }

.footer-bottom-modern { padding: 30px 0; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 30px; }
.fb-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.fb-flex p { font-size: 0.85rem; color: #88a397; }
.fb-stats { display: flex; gap: 20px; }
.fb-stats span { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: #a9c2b8; }
.fb-stats span i { color: #38ef7d; }

/* Scroll Reveal Animations */
.reveal-up { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-up.active, .reveal-left.active, .reveal-right.active { opacity: 1; transform: translate(0); }

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container, .about-grid, .regional-wrapper, .contact-modern-wrapper, .social-feed-grid { grid-template-columns: 1fr; }
    .footer-grid-modern, .masonry-gallery { grid-template-columns: repeat(2, 1fr); }
    .footer-cta-banner { flex-direction: column; text-align: center; gap: 20px; padding: 30px 20px; }
    .cta-text { flex-direction: column; }
    .swipe-item { min-width: calc(50% - 10px); }
}

@media (max-width: 768px) {
    .reveal-left, .reveal-right { transform: translateY(30px); }
    .hamburger { display: flex; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 65px; left: 0; width: 100%; background: var(--white); text-align: center; padding: 20px 0; box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
    .nav-links.active { display: flex; }
    .hero { min-height: auto; padding: 120px 0 40px 0; text-align: center; }
    .hero-image-wrapper { order: -1; }
    .hero-buttons { justify-content: center; }
    .counters-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid-modern { grid-template-columns: 1fr; text-align: center; }
    .footer-contact-col p, .footer-links-col ul li a, .footer-brand-socials { justify-content: center; }
    .ft-features { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .ft-feature { font-size: 0.8rem; }
    .footer-check-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; padding-bottom: 10px; }
    .footer-check-list li { margin-bottom: 0; }
    .fb-flex { flex-direction: column; text-align: center; }
    .fb-stats { flex-wrap: wrap; justify-content: center; }
    .contact-form-card, .contact-cards-container { margin: 0 auto; width: 100%; }
    .swipe-item { min-width: 100%; } 
}

/* Custom App Install Popup */
.install-popup { position: fixed; bottom: -120px; left: 50%; transform: translateX(-50%); background: #fff; box-shadow: 0 -5px 25px rgba(0,0,0,0.15); border-radius: 16px 16px 0 0; padding: 20px; width: 100%; max-width: 450px; z-index: 10000; transition: bottom 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55); visibility: hidden; }
.install-popup.show { bottom: 0; visibility: visible; }
.install-content { display: flex; align-items: center; gap: 15px; position: relative; }
.install-icon { width: 45px; height: 45px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.install-text { flex: 1; }
.install-text h4 { font-size: 0.95rem; margin-bottom: 2px; color: #222; }
.install-text p { font-size: 0.75rem; color: #666; margin: 0; line-height: 1.3; }
.btn-install { background: #0a3a2a; color: #fff; border: none; padding: 8px 18px; border-radius: 20px; font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: 0.3s; }
.btn-install:hover { background: #d4af37; color: #0a3a2a; }
.close-install { position: absolute; top: -10px; right: -5px; color: #aaa; cursor: pointer; font-size: 1.2rem; padding: 5px; }