/* =========================================
   १. साधारण सेटअप र कलर प्यालेट
========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Mukta', sans-serif; }
html { scroll-behavior: smooth; }

:root {
    --primary-green: #2E7D32; 
    --light-green: #F1F8F1;
    --dark-text: #1E293B;
    --white: #FFFFFF;
    --gradient-green: linear-gradient(135deg, #1b5e20 0%, #4caf50 100%);
}

body { background-color: #FAFAFA; color: var(--dark-text); line-height: 1.6; overflow-x: hidden; }
a, button, input, textarea { font-family: inherit; outline: none; border: none; cursor: pointer; text-decoration: none; }

/* =========================================
   २. पारदर्शी मेनु (Glass Navbar) र लोगो
========================================= */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 18px 8%; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255, 255, 255, 0.4); position: fixed; width: 100%; top: 0; z-index: 1000; transition: transform 0.4s ease, box-shadow 0.3s ease; }
.logo-container { display: flex; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { position: relative; width: 45px; height: 45px; background: var(--gradient-green); border-radius: 12px; display: flex; justify-content: center; align-items: center; transform: rotate(-10deg); transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.logo:hover .logo-icon { transform: rotate(0deg) scale(1.1); }
.admin-nib { color: white; font-size: 20px; position: absolute; z-index: 2; }
.eco-leaf { color: rgba(255,255,255,0.4); font-size: 24px; position: absolute; bottom: 5px; right: 5px; transform: rotate(20deg); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .name { font-size: 22px; font-weight: 800; color: var(--dark-text); letter-spacing: 1px; }
.logo-text .tagline { font-size: 11px; font-weight: 700; color: var(--primary-green); text-transform: uppercase; letter-spacing: 2px; margin-top: 4px; }
.nav-links { list-style: none; display: flex; gap: 35px; }
.nav-links a { color: var(--dark-text); font-weight: 600; font-size: 17px; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary-green); }

/* =========================================
   ३. बटन डिजाइन (Buttons)
========================================= */
.btn-primary { background: var(--gradient-green); color: var(--white); padding: 16px 40px; border-radius: 50px; font-size: 18px; font-weight: bold; transition: all 0.4s ease; box-shadow: 0 10px 20px rgba(46, 125, 50, 0.2); display: inline-block; }
.btn-primary:hover { transform: translateY(-5px); box-shadow: 0 15px 25px rgba(46, 125, 50, 0.3); }
.btn-secondary { padding: 16px 40px; background: transparent; color: var(--dark-text); border-radius: 50px; font-size: 18px; font-weight: bold; border: 2px solid #CBD5E1; transition: all 0.4s ease; display: inline-block; }
.btn-secondary:hover { border-color: var(--primary-green); color: var(--primary-green); transform: translateY(-5px); }

/* =========================================
   ४. हिरो सेक्सन (Hero & Animations)
========================================= */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; background: linear-gradient(135deg, #F1F8F1 0%, #FFFFFF 100%); padding-top: 80px; }
.blob { position: absolute; filter: blur(80px); z-index: 0; opacity: 0.5; animation: floatBlob 10s infinite alternate ease-in-out; }
.blob-1 { width: 450px; height: 450px; background: #4caf50; top: -10%; left: -10%; }
.blob-2 { width: 400px; height: 400px; background: #81c784; bottom: -10%; right: -5%; animation-delay: -5s; }
@keyframes floatBlob { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(80px, 80px) scale(1.1); } }
.hero-container { width: 100%; max-width: 1300px; padding: 0 8%; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; z-index: 1; }
.hero-badge { display: inline-block; padding: 10px 24px; background: rgba(46, 125, 50, 0.08); color: var(--primary-green); border-radius: 50px; font-weight: 800; border: 1px solid rgba(46, 125, 50, 0.2); margin-bottom: 30px; }
.hero-text h1 { font-size: 4.5rem; line-height: 1.1; color: var(--dark-text); margin-bottom: 30px; font-weight: 800; }
.text-gradient { background: var(--gradient-green); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-text p { font-size: 1.25rem; color: #475569; margin-bottom: 45px; }
.hero-buttons { display: flex; gap: 20px; }
.image-wrapper { position: relative; max-width: 500px; margin: 0 auto; }
.image-wrapper img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; animation: morphImage 8s infinite alternate ease-in-out; border: 8px solid var(--white); box-shadow: 0 30px 60px rgba(46, 125, 50, 0.2); }
@keyframes morphImage { 0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; } 100% { border-radius: 40% 60% 70% 30% / 40% 60% 30% 70%; } }
.floating-card { position: absolute; bottom: 30px; left: -40px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); padding: 20px 30px; border-radius: 20px; display: flex; align-items: center; gap: 18px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); animation: floatCard 4s infinite alternate ease-in-out; border: 1px solid rgba(255,255,255,0.6); }
@keyframes floatCard { 0% { transform: translateY(0px); } 100% { transform: translateY(-20px); } }
.floating-card .icon { font-size: 2.2rem; background: var(--light-green); width: 55px; height: 55px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.floating-card .info h4 { margin: 0; font-size: 1.2rem; color: var(--dark-text); font-weight: 800; }
.floating-card .info p { margin: 0; font-size: 0.95rem; color: var(--primary-green); font-weight: 600;}

/* =========================================
   ५. साझा लेआउट र कार्डहरू (Soft UI)
========================================= */
.section { padding: 100px 8%; }
.section-title { text-align: center; font-size: 2.8rem; font-weight: 800; margin-bottom: 15px; color: var(--dark-text); }
.section-subtitle { text-align: center; color: #64748B; margin-bottom: 60px; font-size: 1.15rem; }
.card-container, .focus-grid, .gallery-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card, .focus-card, .gallery-item { background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); border: 1px solid rgba(226, 232, 240, 0.8); transition: all 0.4s ease; }
.card:hover, .focus-card:hover, .gallery-item:hover { transform: translateY(-10px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }

/* लेखरचना (Articles) */
.card-image { height: 240px; background-size: cover; background-position: center; transition: transform 0.6s ease; }
.card:hover .card-image { transform: scale(1.05); }
.card-content { padding: 35px; background: var(--white); position: relative; z-index: 1; }
.category { display: inline-block; padding: 6px 16px; background: var(--light-green); color: var(--primary-green); border-radius: 20px; font-size: 13px; font-weight: 700; margin-bottom: 15px; }
.card-content h3 { font-size: 1.6rem; margin-bottom: 12px; line-height: 1.4; color: var(--dark-text); }
.card-content p { color: #64748B; margin-bottom: 15px; }
.read-more { color: var(--primary-green); font-weight: 700; font-size: 1.05rem; display: inline-block; margin-top: 10px; transition: color 0.3s ease; }
.read-more:hover { color: #1b5e20; }

/* मुख्य कार्यक्षेत्र (Focus Areas) */
.focus-section { background-color: #F8FAFC; border-top: 1px solid #F1F5F9; border-bottom: 1px solid #F1F5F9; }
.focus-card { padding: 50px 35px; text-align: center; }
.focus-icon { font-size: 3.5rem; background: var(--light-green); width: 90px; height: 90px; display: inline-flex; justify-content: center; align-items: center; border-radius: 24px; margin-bottom: 25px; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.focus-card:hover .focus-icon { transform: scale(1.1) rotate(8deg); background: var(--primary-green); color: var(--white); }
.focus-card h3 { font-size: 1.6rem; color: var(--dark-text); margin-bottom: 15px; }
.focus-card p { color: #64748B; }

/* ग्यालरी (Gallery) */
.gallery-section { background-color: var(--white); }
.gallery-item { height: 320px; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; background: linear-gradient(to top, rgba(15,23,42,0.9), transparent); color: var(--white); padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; opacity: 0; transition: opacity 0.4s ease; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* =========================================
   ६. मेरो बारेमा र सम्पर्क (About & Contact)
========================================= */
.about-section { background-color: var(--light-green); }
.about-container { display: flex; align-items: center; gap: 70px; }
.about-image { position: relative; flex: 1; }
.about-image img { width: 100%; border-radius: 30px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15); }
.experience-badge { position: absolute; bottom: -25px; right: -25px; background: var(--gradient-green); color: var(--white); padding: 25px 35px; border-radius: 24px; text-align: center; box-shadow: 0 15px 30px -5px rgba(46,125,50,0.4); }
.experience-badge span { font-size: 1.3rem; font-weight: 800; }
.about-content { flex: 1.2; }
.about-subtitle { font-size: 1.6rem; color: var(--primary-green); margin-bottom: 25px; font-weight: 700; }
.about-content p { color: #475569; margin-bottom: 20px; font-size: 1.15rem; }
.skills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
.skill-tag { background: var(--white); color: var(--dark-text); padding: 10px 20px; border-radius: 50px; font-weight: 700; font-size: 0.95rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }

/* =========================================
   ११. अल्ट्रा-प्रिमियम कन्ट्याक्ट सेक्सन (World Class)
========================================= */
.contact-section { 
    background: radial-gradient(circle at top right, #f1f8f1, #ffffff);
    padding: 120px 8%; 
    position: relative;
}

.contact-box { 
    display: flex; 
    background: rgba(255, 255, 255, 0.7); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px; 
    overflow: hidden; 
    box-shadow: 0 40px 100px rgba(0,0,0,0.08); 
    border: 1px solid rgba(255, 255, 255, 0.5);
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info { 
    flex: 0.8; 
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%); 
    color: var(--white); 
    padding: 80px 60px; 
    position: relative;
    overflow: hidden;
}

/* देब्रेपट्टि हल्का रूखको पातको छायाँ जस्तो इफेक्ट */
.contact-info::before {
    content: '\f06c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    font-size: 20rem;
    color: rgba(255,255,255,0.05);
    bottom: -50px;
    right: -50px;
    transform: rotate(-15deg);
}

.contact-info h2 { font-size: 3rem; margin-bottom: 25px; font-weight: 800; }
.contact-details li { 
    font-size: 1.2rem; 
    margin-bottom: 25px; 
    display: flex; 
    align-items: center; 
    gap: 15px;
    background: rgba(255,255,255,0.1);
    padding: 15px 20px;
    border-radius: 20px;
    transition: 0.3s;
}
.contact-details li:hover { background: rgba(255,255,255,0.2); transform: translateX(10px); }

.contact-form { flex: 1.2; padding: 80px 60px; background: rgba(255, 255, 255, 0.4); }

.input-group input, .input-group textarea { 
    width: 100%; 
    padding: 20px; 
    border: 2px solid #e2e8f0; 
    border-radius: 20px; 
    font-size: 1.1rem; 
    background: white; 
    margin-bottom: 25px; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.input-group input:focus, .input-group textarea:focus { 
    border-color: var(--primary-green); 
    box-shadow: 0 15px 30px rgba(46, 125, 50, 0.1);
    transform: translateY(-5px);
}

.btn-primary { 
    width: 100%; 
    letter-spacing: 1px; 
    text-transform: uppercase; 
    font-size: 1.1rem; 
    padding: 22px; 
}
/* =========================================
   ७. इको-एडमिन एनिमेसन र फुटर
========================================= */
.eco-admin-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; overflow: hidden; }
.floating-leaf, .floating-pen { position: absolute; font-size: 2rem; animation: slowFloat 20s infinite linear; }
.floating-leaf { top: 20%; right: 10%; color: rgba(46, 125, 50, 0.05); }
.floating-pen { bottom: 15%; left: 5%; color: rgba(30, 41, 59, 0.04); }
@keyframes slowFloat { 0% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(50px, 100px) rotate(180deg); } 100% { transform: translate(0, 0) rotate(360deg); } }

.scroll-container { position: fixed; top: 0; left: 0; width: 100%; height: 5px; z-index: 2000; }
.scroll-progress { height: 100%; background: var(--gradient-green); width: 0%; }
.progress-icon { position: fixed; top: 10px; right: 20px; font-size: 1.5rem; color: var(--primary-green); opacity: 0; }

.premium-footer { background: #0F172A; position: relative; padding: 100px 20px 30px; text-align: center; color: rgba(255,255,255,0.7); overflow: hidden; }
.footer-wave { position: absolute; top: 0; left: 0; width: 100%; height: 50px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,160L48,176C96,192,192,224,288,224C384,224,480,192,576,165.3C672,139,768,117,864,128C960,139,1056,181,1152,186.7C1248,192,1344,160,1392,144L1440,128L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E"); background-size: cover; }
.footer-content { position: relative; z-index: 1; }
.footer-logo { font-size: 24px; font-weight: 800; color: var(--white); margin-bottom: 10px; letter-spacing: 1px; }
.social-links { margin: 20px 0; display: flex; justify-content: center; gap: 15px; }
.social-links a { color: var(--white); background: rgba(255,255,255,0.1); width: 45px; height: 45px; display: flex; justify-content: center; align-items: center; border-radius: 50%; transition: 0.3s; font-size: 1.1rem; }
.social-links a:hover { background: var(--primary-green); transform: translateY(-5px); }
.copyright { font-size: 0.95rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 30px; }

/* =========================================
   ८. रेस्पोन्सिभ डिजाइन (Mobile View)
========================================= */
@media (max-width: 900px) {
    .hero { min-height: auto; padding: 120px 0 60px 0; }
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 50px; }
    .hero-badge { margin: 0 auto 20px auto; }
    .hero-text h1 { font-size: 3.5rem; }
    .hero-buttons { justify-content: center; }
    .floating-card { left: 10px; bottom: 20px; padding: 15px 20px; }
    .about-container, .contact-box { flex-direction: column; }
    .experience-badge { right: 20px; }
    .nav-links { display: none; }
}

/* =========================================
   ९. ग्यालरी फिल्टर बटनहरू (Gallery Filters)
========================================= */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 10px 25px;
    border-radius: 50px;
    background: var(--white);
    color: var(--dark-text);
    font-size: 1.05rem;
    font-weight: 700;
    border: 2px solid #E2E8F0;
    transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.2);
    transform: translateY(-2px);
}

/* =========================================
   १०. सिनेमेटिक लाइटबक्स र सेयरिङ (Babal Modal)
========================================= */
.babal-modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(15, 23, 42, 0.95); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); opacity: 0; transition: opacity 0.4s ease; justify-content: center; align-items: center; flex-direction: column; }
.babal-modal.show { display: flex; opacity: 1; }
.modal-content-wrapper { position: relative; max-width: 90%; max-height: 85vh; transform: scale(0.7) translateY(50px); transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); text-align: center; }
.babal-modal.show .modal-content-wrapper { transform: scale(1) translateY(0); }
.modal-image { max-width: 100%; max-height: 70vh; border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.6); border: 2px solid rgba(255,255,255,0.1); object-fit: contain; }
.close-babal { position: absolute; top: -50px; right: -20px; color: white; font-size: 45px; font-weight: 300; cursor: pointer; transition: 0.3s ease; line-height: 1; text-shadow: 0 4px 6px rgba(0,0,0,0.3); }
.close-babal:hover { color: #EF4444; transform: rotate(90deg) scale(1.2); }
.modal-info { color: white; margin-top: 25px; }
.modal-info h3 { font-size: 1.8rem; margin-bottom: 15px; font-weight: 800; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.babal-share-buttons { display: flex; gap: 18px; justify-content: center; }
.b-btn { width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: white; font-size: 1.3rem; transition: all 0.3s ease; text-decoration: none; box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.b-btn.fb { background: #1877F2; } .b-btn.wa { background: #25D366; } .b-btn.tw { background: #0F1419; } .b-btn.dl { background: var(--primary-green); }
.b-btn:hover { transform: translateY(-8px); box-shadow: 0 15px 25px rgba(0,0,0,0.4); filter: brightness(1.1); }

.articles-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    scroll-behavior: smooth;
    padding: 10px 0 20px 0;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
.articles-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}
.article-slide {
    flex: 0 0 calc(33.333% - 15px); /* डेस्कटपमा एकपटकमा ३ वटा देखाउन */
    scroll-snap-align: start;
}
@media (max-width: 992px) {
    .article-slide { flex: 0 0 calc(50% - 10px); } /* ट्याबलेटमा २ वटा */
}
@media (max-width: 768px) {
    .article-slide { flex: 0 0 100%; } /* मोबाइलमा एउटा मात्र */
    .article-slider-container { padding: 0 20px; }
}