/*
Theme Name: Krushishastra
Theme URI: https://krushishastra.com
Author: Antigravity Code Assistant
Author URI: https://ai.google/
Description: Modern, conversion-focused theme for the Krushishastra movement.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: krushishastra
*/

:root {
    --primary-green: #2e7d32;
    --primary-green-dark: #1b5e20;
    --primary-green-light: #e8f5e9;
    --accent-orange: #f57c00;
    --accent-orange-hover: #e65100;
    --earth-brown: #795548;
    --earth-light: #f1efe7;
    --bg-light: #fafafa;
    --text-dark: #1f2937;
    --text-gray: #4b5563;
    --text-light: #9ca3af;
    --white: #ffffff;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--text-dark); background-color: var(--bg-light); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--text-dark); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Utilities */
.text-center { text-align: center; } .text-primary { color: var(--primary-green); } .text-accent { color: var(--accent-orange); } .mt-2 { margin-top: 0.5rem; } .mt-3 { margin-top: 1rem; } .mt-4 { margin-top: 1.5rem; } .d-flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; } .bg-light { background-color: var(--earth-light); } .bg-dark { background-color: var(--primary-green-dark); } .text-white { color: var(--white); }

/* Buttons */
.btn { display: inline-block; padding: 0.75rem 1.5rem; border-radius: var(--radius-md); font-weight: 600; font-family: var(--font-heading); cursor: pointer; border: none; transition: var(--transition); text-align: center; }
.btn-primary { background-color: var(--primary-green); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background-color: var(--primary-green-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background-color: var(--accent-orange); color: var(--white); }
.btn-secondary:hover { background-color: var(--accent-orange-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background-color: transparent; color: var(--primary-green); border: 2px solid var(--primary-green); }
.btn-outline:hover { background-color: var(--primary-green); color: var(--white); }
.btn-outline-light { background-color: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline-light:hover { background-color: var(--white); color: var(--primary-green-dark); }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; } .btn-full { display: block; width: 100%; }

/* Sections */
.section-padding { padding: 5rem 0; }
.section-header { margin-bottom: 3.5rem; }
.section-title { font-size: 2.5rem; margin-bottom: 1rem; position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background-color: var(--accent-orange); border-radius: 2px; }
.section-title.left-align::after { left: 0; transform: none; }
.section-subtitle { font-size: 1.125rem; color: var(--text-gray); max-width: 600px; margin: 0 auto; }

/* Header & Navbar */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; transition: var(--transition); padding: 1.5rem 0; background-color: transparent; }
.header.scrolled { background-color: var(--white); padding: 1rem 0; box-shadow: var(--shadow-md); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--white); letter-spacing: -0.5px; transition: var(--transition); }
.header.scrolled .logo { color: var(--primary-green-dark); }
.logo span { color: var(--accent-orange); }
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { font-weight: 500; color: var(--white); font-size: 0.95rem; }
.header.scrolled .nav-links a { color: var(--text-dark); }
.nav-links a:hover { color: var(--accent-orange); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.mobile-toggle { display: none; cursor: pointer; font-size: 1.5rem; color: var(--white); }
.header.scrolled .mobile-toggle { color: var(--text-dark); }

/* Footer */
.footer { background-color: var(--primary-green-dark); color: var(--white); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-col h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 0.5rem; }
.footer-col h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background-color: var(--accent-orange); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: #e2e8f0; opacity: 0.9; }
.footer-links a:hover { color: var(--accent-orange); padding-left: 5px; }
.footer-contact p { margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; color: #e2e8f0; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.875rem; color: #cbd5e1; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; color: var(--white); margin-right: 0.5rem; transition: var(--transition); }
.social-links a:hover { background: var(--accent-orange); transform: translateY(-3px); }

/* Utilities Cont. */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Hero Section */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: linear-gradient(rgba(27, 94, 32, 0.8), rgba(27, 94, 32, 0.8)), url('https://images.unsplash.com/photo-1628172909405-c9fc3806be44?auto=format&fit=crop&q=80') center/cover no-repeat fixed; color: var(--white); padding-top: 80px; }
.hero-container { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-content { max-width: 800px; margin-bottom: 4rem; }
.badge { display: inline-block; padding: 0.5rem 1.5rem; background-color: rgba(255, 255, 255, 0.1); border-radius: 50px; border: 1px solid rgba(255, 255, 255, 0.3); font-size: 0.9rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.5rem; backdrop-filter: blur(10px); }
.hero-title { font-size: 4rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; color: var(--white); }
.hero-subtitle { font-size: 1.25rem; color: #e2e8f0; margin-bottom: 2.5rem; font-weight: 400; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.visual-flow-container { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); padding: 1.5rem 2rem; border-radius: var(--radius-xl); border: 1px solid rgba(255, 255, 255, 0.2); width: 100%; max-width: 900px; }
.flow-step { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.flow-icon { width: 60px; height: 60px; background-color: var(--white); color: var(--primary-green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 0 20px rgba(0,0,0,0.2); transition: var(--transition); }
.flow-step:hover .flow-icon { transform: scale(1.1); background-color: var(--accent-orange); color: var(--white); }
.flow-step span { font-weight: 600; font-size: 0.95rem; font-family: var(--font-heading); }
.flow-arrow { color: rgba(255, 255, 255, 0.5); font-size: 1.25rem; }

/* Roles Grid */
.roles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; margin-top: 3rem; }
.role-card { background-color: var(--white); padding: 2.5rem 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid #e5e7eb; transition: var(--transition); position: relative; overflow: hidden; }
.role-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--primary-green-light); }
.role-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background-color: var(--accent-orange); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.role-card:hover::after { transform: scaleX(1); }
.role-icon { width: 70px; height: 70px; background-color: var(--primary-green-light); color: var(--primary-green); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 1.5rem; transition: var(--transition); }
.role-card:hover .role-icon { background-color: var(--primary-green); color: var(--white); }
.role-card h3 { margin-bottom: 1rem; font-size: 1.5rem; } .role-card p { color: var(--text-gray); margin-bottom: 1.5rem; font-size: 0.95rem; }
.role-link { color: var(--primary-green); font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.role-card:hover .role-link { color: var(--accent-orange); }

/* Pillars Grid */
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }
.pillar-card { background: var(--white); padding: 3rem 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); text-align: center; position: relative; z-index: 1; }
.pillar-icon-wrapper { width: 80px; height: 80px; background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; margin: 0 auto 1.5rem; box-shadow: 0 10px 20px rgba(46, 125, 50, 0.3); }
.pillar-card h3 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--primary-green-dark); }
.pillar-card p { color: var(--text-gray); font-size: 1.05rem; }

/* Courses Grid */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-top: 2rem; }
.course-card { background-color: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid #e5e7eb; transition: var(--transition); }
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.course-img { height: 200px; background-size: cover; background-position: center; }
.bg-course-1 { background-image: url('https://images.unsplash.com/photo-1629851722830-410a56edb1f6?auto=format&fit=crop&q=80'); }
.bg-course-2 { background-image: url('https://images.unsplash.com/photo-1592982537447-6f23f11d13db?auto=format&fit=crop&q=80'); }
.bg-course-3 { background-image: url('https://images.unsplash.com/photo-1574323347407-f5e1ad6d020b?auto=format&fit=crop&q=80'); }
.course-content { padding: 2rem; }
.course-mode { display: inline-block; padding: 0.25rem 0.75rem; background-color: var(--primary-green-light); color: var(--primary-green-dark); border-radius: 50px; font-size: 0.75rem; font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; }
.course-content h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.course-content p { color: var(--text-gray); font-size: 0.95rem; margin-bottom: 1.5rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.course-meta { list-style: none; display: flex; justify-content: space-between; border-top: 1px solid #e5e7eb; padding-top: 1rem; margin-bottom: 0.5rem; }
.course-meta li { font-size: 0.85rem; color: var(--text-gray); display: flex; align-items: center; gap: 0.5rem; }
.course-meta i { color: var(--accent-orange); }

/* Projects Section */
.projects-content-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.check-list { list-style: none; } .check-list li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; font-size: 1.1rem; }
.projects-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gallery-img { height: 200px; border-radius: var(--radius-md); background-size: cover; background-position: center; transition: var(--transition); }
.gallery-img:hover { transform: scale(1.05); }
.gallery-img-1 { background-image: url('https://images.unsplash.com/photo-1595825851416-09dca5c544ac?auto=format&fit=crop&q=80'); border-top-left-radius: 2rem; }
.gallery-img-2 { background-image: url('https://images.unsplash.com/photo-1589139268809-775dfb3cd386?auto=format&fit=crop&q=80'); border-top-right-radius: 2rem; }
.gallery-img-3 { background-image: url('https://images.unsplash.com/photo-1593005822368-f9b2db975b31?auto=format&fit=crop&q=80'); border-bottom-left-radius: 2rem; }
.gallery-img-4 { background-image: url('https://images.unsplash.com/photo-1500937386664-56d1dfef3854?auto=format&fit=crop&q=80'); border-bottom-right-radius: 2rem; }

/* Impact Section */
.impact-section { background: linear-gradient(to right, var(--primary-green-light), var(--bg-light)); }
.impact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; }
.impact-card { padding: 2rem; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.impact-card h3 { font-size: 3rem; color: var(--primary-green); margin-bottom: 0.5rem; }
.impact-card p { font-weight: 600; color: var(--text-gray); font-size: 1.1rem; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.testimonial-card { background: var(--white); padding: 3rem 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); position: relative; }
.quote-icon { position: absolute; top: 2rem; right: 2rem; font-size: 3rem; color: var(--earth-light); opacity: 0.5; }
.testimonial-text { font-style: italic; color: var(--text-dark); font-size: 1.1rem; margin-bottom: 2rem; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar { width: 60px; height: 60px; border-radius: 50%; background-size: cover; background-position: center; }
.avatar-1 { background-image: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&q=80'); }
.avatar-2 { background-image: url('https://images.unsplash.com/photo-1438761681033-6461ffad8d80?auto=format&fit=crop&q=80'); }
.avatar-3 { background-image: url('https://images.unsplash.com/photo-1560250097-0b93528c311a?auto=format&fit=crop&q=80'); }

/* Final CTA */
.final-cta-section { background: linear-gradient(135deg, var(--accent-orange) 0%, #e65100 100%); color: var(--white); }
.final-cta-section h2 { color: var(--white); font-size: 2.5rem; margin-bottom: 1rem; }
.final-cta-section p { font-size: 1.2rem; opacity: 0.9; }

/* Responsive Overrides */
@media (max-width: 991px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .nav-actions .btn { display: none; }
    .projects-content-wrapper { grid-template-columns: 1fr; }
    .hero-title { font-size: 3rem; }
    .visual-flow-container { display: none; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
}
