:root {
    --primary: #8dc14b;
    --secondary: #3d5943;
    --light-bg: #f0f4f5;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}


.navbar {
padding: 15px 0;
background-color: var(--secondary);
transition: all 0.4s ease;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
padding: 10px 0;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}


/* Modern About Section Styles */
.about-section {
padding: 100px 0;
background-color: #f8fafc;
}

.about-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: center;
}

.about-content {
max-width: 600px;
}

.section-label {
display: flex;
align-items: center;
margin-bottom: 20px;
color: #8dc14b;
font-weight: 600;
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 1px;
}

.accent-line {
width: 40px;
height: 2px;
background-color: #8dc14b;
margin-left: 15px;
}

.section-heading {
font-family: 'Poppins', sans-serif;
font-weight: 700;
font-size: 2.5rem;
line-height: 1.2;
color: #3d5943;
margin-bottom: 1.5rem;
}

.lead-text {
font-size: 1.1rem;
line-height: 1.6;
color: #3d5943;
margin-bottom: 2rem;
}

.about-features {
display: grid;
gap: 20px;
margin-bottom: 30px;
}

.feature-card {
display: flex;
gap: 15px;
padding: 20px;
background-color: white;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
width: 40px;
height: 40px;
background-color: rgba(141, 193, 75, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}

.feature-icon svg {
width: 20px;
height: 20px;
stroke: #8dc14b;
stroke-width: 2;
}

.feature-card h3 {
font-size: 1.1rem;
margin-bottom: 0.5rem;
color: #3d5943;
}

.feature-card p {
font-size: 0.9rem;
color: #3d5943;
opacity: 0.8;
}

.cta-link {
display: inline-flex;
align-items: center;
color: #8dc14b;
font-weight: 600;
transition: color 0.3s ease;
}

.cta-link:hover {
color: #3d5943;
}

.about-image {
position: relative;
}

.image-container {
border-radius: 15px;
overflow: hidden;
box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.image-container img {
width: 100%;
height: auto;
display: block;
transition: transform 0.5s ease;
}

.image-container:hover img {
transform: scale(1.05);
}

.experience-badge {
position: absolute;
bottom: 30px;
left: 30px;
background-color: #8dc14b;
color: white;
padding: 15px 20px;
border-radius: 10px;
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.experience-badge span {
display: block;
font-size: 1.5rem;
font-weight: 700;
line-height: 1;
}

.experience-badge small {
font-size: 0.8rem;
opacity: 0.9;
}


/* Modern Services Section Styles */
.services-section {
padding: 100px 0;
background-color: white;
}

.section-header {
text-align: center;
max-width: 800px;
margin: 0 auto 60px;
}

.section-subhead {
font-size: 1.1rem;
color: #3d5943;
opacity: 0.8;
margin-top: 1rem;
}

.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}

.service-card {
background-color: white;
border-radius: 15px;
padding: 40px 30px;
text-align: center;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
width: 80px;
height: 80px;
background-color: rgba(141, 193, 75, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 25px;
transition: background-color 0.3s ease;
}

.service-card:hover .service-icon {
background-color: rgba(141, 193, 75, 0.2);
}

.service-icon svg {
width: 30px;
height: 30px;
stroke: #8dc14b;
stroke-width: 1.5;
}

.service-card h3 {
font-size: 1.3rem;
margin-bottom: 15px;
color: #3d5943;
}

.service-card p {
font-size: 0.95rem;
color: #3d5943;
opacity: 0.8;
margin-bottom: 20px;
}

.service-link {
display: inline-flex;
align-items: center;
color: #8dc14b;
font-weight: 600;
font-size: 0.9rem;
transition: color 0.3s ease;
}

.service-link:hover {
color: #3d5943;
}

/* Enhanced Process Section Styles */
.process-section {
padding: 100px 0;
background-color: #f8fafc;
}

.process-timeline {
position: relative;
max-width: 1200px;
margin: 0 auto;
padding: 40px 0;
}

.process-line {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 4px;
height: 100%;
background-color: rgba(141, 193, 75, 0.2);
z-index: 1;
}

.process-step {
position: relative;
width: 100%;
margin-bottom: 60px;
display: flex;
justify-content: center;
z-index: 2;
}

.step-number {
width: 50px;
height: 50px;
background-color: #8dc14b;
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 1.2rem;
margin-right: 30px;
flex-shrink: 0;
position: relative;
z-index: 3;
}

.step-content {
background-color: white;
padding: 30px;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0,0,0,0.05);
width: calc(50% - 80px);
position: relative;
}

.step-content::before {
content: '';
position: absolute;
top: 30px;
right: 100%;
width: 0;
height: 0;
border-style: solid;
border-width: 15px 20px 15px 0;
border-color: transparent white transparent transparent;
}

.step-icon {
width: 60px;
height: 60px;
background-color: rgba(141, 193, 75, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
}

.step-icon svg {
width: 25px;
height: 25px;
stroke: #8dc14b;
stroke-width: 1.5;
}

.step-content h3 {
font-size: 1.3rem;
margin-bottom: 10px;
color: #3d5943;
}

.step-content p {
font-size: 0.95rem;
color: #3d5943;
opacity: 0.8;
}

.process-animation {
margin-top: 80px;
text-align: center;
}

.animation-container {
display: flex;
align-items: center;
justify-content: center;
gap: 30px;
margin-bottom: 30px;
}

.waste-icon, .larvae-icon, .feed-icon, .fertilizer-icon, .crop-icon {
width: 80px;
height: 80px;
background-color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
transition: transform 0.3s ease;
}

.waste-icon:hover, .larvae-icon:hover, .feed-icon:hover, .fertilizer-icon:hover, .crop-icon:hover {
transform: scale(1.1) translateY(-10px);
}

.waste-icon svg, .larvae-icon svg, .feed-icon svg, .fertilizer-icon svg, .crop-icon svg {
width: 35px;
height: 35px;
stroke: #8dc14b;
stroke-width: 1.5;
}

.arrow {
font-size: 1.5rem;
color: #8dc14b;
opacity: 0.5;
}

.animation-button {
background-color: #8dc14b;
color: white;
border: none;
padding: 15px 30px;
border-radius: 50px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 5px 15px rgba(141, 193, 75, 0.3);
}

.animation-button:hover {
background-color: #7ab436;
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(141, 193, 75, 0.4);
}

/* Modern Testimonials Section Styles */
.testimonials-section {
padding: 100px 0;
background-color: white;
}

.testimonials-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
max-width: 1200px;
margin: 0 auto;
}

.testimonial-card {
background-color: white;
border-radius: 15px;
padding: 40px 30px;
box-shadow: 0 10px 30px rgba(0,0,0,0.05);
transition: transform 0.3s ease;
border: 1px solid rgba(0,0,0,0.05);
}

.testimonial-card:hover {
transform: translateY(-10px);
}

.testimonial-rating {
color: #ffc107;
margin-bottom: 20px;
font-size: 1.2rem;
}

.testimonial-rating span {
margin-right: 3px;
}

blockquote {
font-size: 1rem;
line-height: 1.6;
color: #3d5943;
margin-bottom: 25px;
position: relative;
}

blockquote::before {
content: '"';
font-size: 3rem;
color: rgba(141, 193, 75, 0.2);
position: absolute;
top: -20px;
left: -10px;
line-height: 1;
}

.testimonial-author {
display: flex;
align-items: center;
}

.testimonial-author img {
width: 50px;
height: 50px;
border-radius: 50%;
object-fit: cover;
margin-right: 15px;
}

.testimonial-author h4 {
font-size: 1rem;
margin-bottom: 5px;
color: #3d5943;
}

.testimonial-author p {
font-size: 0.8rem;
color: #3d5943;
opacity: 0.7;
}

/* Modern Contact Section Styles */
.contact-section {
padding: 10px 0;
background-color: var(--primary);
color: white;
}

.contact-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
}

.contact-form {
max-width: 650px;
}

.contact-form .section-header {
text-align: left;
margin-bottom: 40px;
}

.contact-form .section-label {
color: var(--light-bg);
}

.contact-form .section-heading {
color: var(--light-bg);
}

.contact-form .section-subhead {
color: rgba(255,255,255,0.8);
}

.form-group {
position: relative;
margin-bottom: 25px;
}

.form-group input, .form-group textarea {
width: 100%;
padding: 15px;
background-color: rgba(255,255,255,0.1);
border: 1px solid rgba(255,255,255,0.2);
border-radius: 8px;
color: white;
font-size: 1rem;
transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
outline: none;
border-color: var(--light-bg);
background-color: rgba(255,255,255,0.15);
}

.form-group label {
position: absolute;
top: 15px;
left: 15px;
color: rgba(255,255,255,0.7);
transition: all 0.3s ease;
pointer-events: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
top: -10px;
left: 10px;
font-size: 0.8rem;
background-color: var(--light-bg);
padding: 0 5px;
color: var(--secondary);
}

.form-group textarea {
min-height: 150px;
resize: vertical;
}

.submit-button {
background-color: var(--secondary);
color: white;
border: none;
padding: 15px 30px;
border-radius: 8px;
font-weight: 600;
font-size: 1rem;
cursor: pointer;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
}

.submit-button svg {
width: 18px;
height: 18px;
margin-left: 10px;
stroke: white;
stroke-width: 2;
transition: transform 0.3s ease;
}

.submit-button:hover {
background-color: #7ab436;
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.submit-button:hover svg {
transform: translateX(5px);
}

.contact-info {
display: flex;
justify-content: flex-end;
}

.info-card {
background-color: white;
border-radius: 15px;
padding: 40px;
box-shadow: 0 15px 40px rgba(0,0,0,0.1);
max-width: 700px;
max-height: 69%;
color: #3d5943;
}

.info-card h3 {
font-size: 1.5rem;
margin-bottom: 30px;
color: #3d5943;
}

.info-item {
display: flex;
gap: 15px;
margin-bottom: 25px;
}

.info-icon {
width: 50px;
height: 50px;
background-color: #ffffff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}

.info-icon svg {
width: 20px;
height: 20px;
stroke: #8dc14b;
stroke-width: 1.5;
}

.info-item h4 {
font-size: 1rem;
margin-bottom: 5px;
}

.info-item p {
font-size: 0.9rem;
opacity: 0.8;
}

.social-links {
margin-top: 40px;
}

.social-links h4 {
font-size: 1rem;
margin-bottom: 15px;
}

.social-icons {
display: flex;
gap: 15px;
}

.social-icons a {
width: 40px;
height: 40px;
background-color: var(--light-bg);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}

.social-icons a:hover {
background-color: #8dc14b;
transform: translateY(-3px);
}

.social-icons a svg {
width: 18px;
height: 18px;
stroke: #8dc14b;
stroke-width: 1.5;
}

.social-icons a:hover svg {
stroke: white;
}

/* Responsive Styles */
@media (max-width: 1200px) {
.about-grid, .contact-grid {
gap: 40px;
}

.process-step .step-content {
width: calc(50% - 60px);
}
}

@media (max-width: 992px) {
.about-grid, .contact-grid {
grid-template-columns: 1fr;
}

.about-content {
max-width: 100%;
}

.about-image {
order: -1;
margin-bottom: 40px;
}

.contact-info {
justify-content: flex-start;
margin-top: -25px;
}

.info-card {
max-height: 90%;
}

.process-timeline {
padding: 0;
}

.process-line {
display: none;
}

.process-step {
flex-direction: column;
align-items: center;
text-align: center;
margin-bottom: 40px;
}

.step-number {
margin-right: 0;
margin-bottom: 20px;
}

.step-content {
width: 100%;
}

.step-content::before {
display: none;
}

.animation-container {
flex-wrap: wrap;
}
}

@media (max-width: 768px) {
.section-heading {
font-size: 2rem;
}

.about-section, .services-section, .process-section, .testimonials-section, .contact-section {
padding: 60px 0;
}

.services-grid, .testimonials-grid {
grid-template-columns: 1fr;
}

.animation-container {
gap: 15px;
}

.waste-icon, .larvae-icon, .feed-icon, .fertilizer-icon, .crop-icon {
width: 60px;
height: 60px;
}

.arrow {
font-size: 1rem;
}
}

@media (max-width: 576px) {
.section-heading {
font-size: 1.8rem;
}

.feature-card {
flex-direction: column;
}

.info-card {
padding: 30px 20px;
}
}

.footer {
    background-color: var(--secondary);
    color: white;
    padding: 60px 0 30px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255,255,255,0.1);
    margin: 30px 0;
}

.leaf-divider {
    position: relative;
    height: 50px;
    overflow: hidden;
}

.leaf-divider svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    fill: var(--light-bg);
}

.nav-link {
    color: var(--primary);
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-brand img {
    height: 30px;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-logo {
    width: 150px;
    margin-bottom: 30px;
    animation: pulselogo 1.5s infinite;
}

@keyframes pulselogo {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.loading-bar {
    width: 200px;
    height: 3px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.loading-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--primary);
    animation: loading 2s ease-in-out forwards;
}

@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}



/* Modern Hero with Media Panel */
.media-hero {
position: relative;
height: 100vh;
min-height: 800px;
display: flex;
align-items: center;
overflow: hidden;
background-color: #f0f4f5;
margin-top: -80px;
}

.hero-bg-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(240,244,245,0.8) 0%, rgba(255,255,255,0.9) 100%);
z-index: 0;
}

/* Floating Microbes Animation */
.floating-microbes {
position: absolute;
width: 100%;
height: 100%;
z-index: 1;
}

.microbe {
position: absolute;
border-radius: 50%;
background-color: rgba(141, 193, 75, 0.1);
filter: blur(15px);
animation: float 15s infinite ease-in-out;
}

.microbe:nth-child(1) {
width: 300px;
height: 300px;
top: 20%;
left: 10%;
animation-delay: 0s;
}

.microbe:nth-child(2) {
width: 200px;
height: 200px;
top: 60%;
left: 80%;
animation-delay: 3s;
}

.microbe:nth-child(3) {
width: 400px;
height: 400px;
top: 40%;
left: 30%;
animation-delay: 6s;
}

/* Grid Layout */
.hero-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: center;
position: relative;
z-index: 2;
}

/* Text Content */
.hero-text-content {
padding-right: 40px;
margin-top: -40px;
}

.pre-headline {
display: flex;
align-items: center;
margin-bottom: 20px;
color: #8dc14b;
font-weight: 600;
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 1px;
}

.pre-headline-line {
width: 40px;
height: 2px;
background-color: #8dc14b;
margin-left: 15px;
transform-origin: left;
animation: growWidth 0.8s ease-out forwards;
}

h1 {
font-family: 'Poppins', sans-serif;
font-weight: 700;
font-size: 3.5rem;
line-height: 1.1;
color: #3d5943;
margin-bottom: 1.5rem;
}

.headline-part {
display: block;
overflow: hidden;
}

.headline-part:nth-child(1) { animation: slideUp 0.8s ease-out forwards 0.2s; }
.headline-part:nth-child(2) { animation: slideUp 0.8s ease-out forwards 0.4s; }
.headline-part:nth-child(3) { animation: slideUp 0.8s ease-out forwards 0.6s; }

.hero-description {
font-size: 1.1rem;
line-height: 1.6;
color: #3d5943;
margin-bottom: 2.5rem;
max-width: 500px;
opacity: 0;
animation: fadeInUp 0.8s ease-out forwards 0.8s;
}

/* CTA Buttons */
.cta-group {
display: flex;
gap: 15px;
opacity: 0;
animation: fadeInUp 0.8s ease-out forwards 1s;
}

.cta-primary, .cta-secondary {
padding: 16px 30px;
border-radius: 50px;
font-weight: 600;
display: inline-flex;
align-items: center;
transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.cta-primary {
background-color: #8dc14b;
color: white;
box-shadow: 0 4px 20px rgba(141, 193, 75, 0.3);
text-decoration: none;
}

.cta-primary svg {
margin-left: 10px;
transition: transform 0.3s ease;
text-decoration: none;
}

.cta-primary:hover {
transform: translateY(-3px);
box-shadow: 0 8px 30px rgba(141, 193, 75, 0.4);
text-decoration: none;
}

.cta-primary:hover svg {
transform: translateX(5px);
}

.cta-secondary {
background-color: transparent;
border: 2px solid #3d5943;
color: #3d5943;
text-decoration: none;
}

.cta-secondary:hover {
background-color: #3d5943;
color: white;
transform: translateY(-3px);
text-decoration: none;
}

/* Media Panel */
.hero-media-panel {
position: relative;
perspective: 1000px;
}

.media-container {
position: relative;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 25px 50px rgba(61, 89, 67, 0.15);
transform-style: preserve-3d;
transform: rotateY(-5deg) rotateX(5deg);
}

.media-image {
position: relative;
padding-top: 99%; /* Aspect ratio */
overflow: hidden;
}

.zoom-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.media-image:hover .zoom-image {
transform: scale(1.05);
}

.image-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(90deg, rgba(61,89,67,0.1) 100%, rgba(141,193,75,0.1) 100%);
}

/* Media Decoration Elements */
.media-decoration {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
}

.deco-circle {
position: absolute;
width: 120px;
height: 120px;
border: 2px dashed var(--secondary);
border-radius: 50%;
top: -40px;
right: -40px;
opacity: 0.3;
animation: rotate 20s linear infinite;
}

.deco-dots {
position: absolute;
width: 100%;
height: 100%;
background-image: radial-gradient(var(--secondary) 1px, transparent 1px);
background-size: 15px 15px;
opacity: 0.1;
animation: particleMove 100s linear infinite;
}

/* Stats Bar */
.floating-stats-bar {
position: absolute;
bottom: 40px;
left: 50%;
transform: translateX(-50%);
display: flex;
background-color: white;
padding: 20px 40px;
border-radius: 50px;
box-shadow: 0 15px 40px rgba(61, 89, 67, 0.1);
opacity: 0;
animation: fadeInUp 0.8s ease-out forwards 1.2s;
z-index: 999;
}

.stat-item {
padding: 0 30px;
text-align: center;
}

.stat-number {
font-family: 'Poppins', sans-serif;
font-weight: 700;
font-size: 1.8rem;
color: #8dc14b;
margin-bottom: 5px;
}

.stat-label {
font-size: 0.9rem;
color: #3d5943;
opacity: 0.8;
}

.stat-divider {
width: 1px;
background-color: rgba(61, 89, 67, 0.1);
}

/* Animations */
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-20px); }
}

@keyframes growWidth {
from { width: 0; }
to { width: 40px; }
}

@keyframes slideUp {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}

@keyframes rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}

@keyframes particleMove {
0% { background-position: 0 0; }
100% { background-position: 1000px 1000px; }
}

/* Responsive Design */
@media (max-width: 1200px) {
h1 {
font-size: 3rem;
}

.hero-grid {
gap: 40px;
}
}

@media (max-width: 992px) {
.media-hero {
min-height: auto;
padding: 100px 0;
height: auto;
margin-top: 0px;
}

.hero-grid {
grid-template-columns: 1fr;
}

.hero-text-content {
padding-right: 0;
text-align: center;
}

.hero-description {
margin-left: auto;
margin-right: auto;
}

.cta-group {
justify-content: center;
}

.pre-headline {
justify-content: center;
margin-top: 250px;
}

.media-container {
max-width: 600px;
margin: -324% auto 0 20px;
}

.floating-stats-bar {
position: relative;
margin-top: 960px;
margin-left: -95%;
bottom: auto;
left: auto;
transform: none;
flex-wrap: wrap;
justify-content: center;
}

.stat-divider {
display: none;
}
}

@media (max-width: 576px) {
h1 {
font-size: 2.2rem;
}

.cta-group {
flex-direction: column;
align-items: center;
}

.floating-stats-bar {
padding: 20px;
}

.stat-item {
padding: 0 15px;
}

.stat-number {
font-size: 1.5rem;
}
}

.cta-phone {
display: inline-flex;
align-items: center;
gap: 8px;
}
.cta-phone svg {
width: 16px;
height: 16px;
stroke: currentColor;
stroke-width: 2;
fill: none;
}

.floating-label {
position: absolute;
bottom: 20px;
right: 20px;
background-color: var(--primary);
color: white;
padding: 8px 15px;
border-radius: 20px;
font-size: 0.9rem;
font-weight: 600;
z-index: 3;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Add this if not already present */
.media-image {
position: relative;
}

.floating-leaf {
position: absolute;
background-image: url('assets/img/leaf-outline.svg');
background-size: contain;
background-repeat: no-repeat;
opacity: 0.1;
animation: float 25s infinite ease-in-out;
z-index: 1;
}
.leaf-1 {
width: 150px; height: 150px;
top: 10%; left: 5%;
animation-delay: 2s;
}
.leaf-2 {
width: 100px; height: 100px;
bottom: 15%; right: 10%;
animation-delay: 5s;
}

.floating-particle {
position: absolute;
border-radius: 50%;
background-color: rgba(141, 193, 75, 0.05);
filter: blur(1px);
animation: float 15s infinite ease-in-out;
}
.particle-1 {
width: 20px; height: 20px;
top: 30%; right: 20%;
}
.particle-2 {
width: 30px; height: 30px;
bottom: 25%; left: 15%;
}

@keyframes float {
0%, 100% { transform: translateY(0) rotate(0deg); }
50% { transform: translateY(-20px) rotate(5deg); }
}


/* Navbar Order Button */
.btn-order {
background-color: var(--primary);
color: white;
border: none;
padding: 8px 20px;
border-radius: 50px;
font-weight: 600;
display: inline-flex;
align-items: center;
gap: 8px;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
box-shadow: 0 4px 15px rgba(141, 193, 75, 0.3);
}

.btn-order::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.3) 100%);
transform: translateX(-100%);
transition: transform 0.4s ease;
}

.btn-order:hover::after {
transform: translateX(0);
}

.btn-order svg {
width: 16px;
height: 16px;
stroke: white;
stroke-width: 2;
transition: transform 0.3s ease;
}

.btn-order:hover {
background-color: #7ab436;
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(141, 193, 75, 0.4);
}

.btn-order:hover svg {
transform: translateX(3px);
}

/* Navbar Scrolled State */
.navbar.scrolled .btn-order {
padding: 6px 18px;
font-size: 0.9rem;
}

/* ===== MODERN HERO STYLES ===== */
 
  
  /* Animations */
  @keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    70% { transform: scale(3); opacity: 0; }
    100% { opacity: 0; }
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
  }
  
 

  /* Animations */
  @keyframes glowing-border {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  @keyframes subtle-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.01); }
  }

  @keyframes pulse-glow {
    0% { box-shadow: 0 0 5px rgba(141, 193, 75, 0.3); }
    50% { box-shadow: 0 0 20px rgba(141, 193, 75, 0.6); }
    100% { box-shadow: 0 0 5px rgba(141, 193, 75, 0.3); }
  }



  /* Updated process section styles */
.process-step {
    position: relative;
    width: 100%;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #8dc14b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 30px;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.step-content {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    width: calc(50% - 80px);
    position: relative;
    transition: all 0.3s ease;
}

.step-content::before {
    content: '';
    position: absolute;
    top: 30px;
    right: 100%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 20px 15px 0;
    border-color: transparent white transparent transparent;
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(141, 193, 75, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.step-icon svg {
    width: 25px;
    height: 25px;
    stroke: #8dc14b;
    stroke-width: 1.5;
    transition: all 0.3s ease;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #3d5943;
}

.step-content p {
    font-size: 0.95rem;
    color: #3d5943;
    opacity: 0.8;
    margin-bottom: 15px;
}

.step-stats {
    display: flex;
    gap: 15px;
}

.stat-bubble {
    background-color: rgba(141, 193, 75, 0.1);
    border-radius: 20px;
    padding: 8px 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.stat-value {
    font-weight: 700;
    color: #8dc14b;
}

.stat-label {
    font-size: 0.8rem;
    color: #3d5943;
    opacity: 0.8;
}

/* Enhanced process animation */
.process-item {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.process-item:hover {
    transform: scale(1.1) translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.process-item svg {
    width: 35px;
    height: 35px;
    stroke: #8dc14b;
    stroke-width: 1.5;
}

.process-item::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #3d5943;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.process-item:hover::after {
    opacity: 1;
}

/* Animation for step icons */
.animated-waste path,
.animated-larvae path,
.animated-feed path,
.animated-fertilizer path,
.animated-cycle path {
    animation: iconPulse 2s infinite ease-in-out;
}

@keyframes iconPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .process-section {
        padding: 60px 0;
    }

    .process-step {
        flex-direction: column;
        align-items: stretch; /* Changed from center to stretch */
        text-align: center;
        margin-bottom: 30px;
        padding: 0 15px; /* Added side padding */
        box-sizing: border-box;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
        align-self: center; /* Center just the number */
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .step-content {
        width: 100% !important; /* Force full width */
        padding: 20px 15px; /* Adjusted padding */
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        margin: 0 auto;
        box-sizing: border-box;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 15px; /* Centered icon */
    }

    .step-icon svg {
        width: 20px;
        height: 20px;
    }

    .step-content h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
        padding: 0 10px; /* Added padding */
    }

    .step-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 0 10px; /* Added padding */
        margin-bottom: 15px;
    }

    .step-stats {
        justify-content: center;
    }

    .stat-bubble {
        padding: 6px 12px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
    }

    .stat-value {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .animation-container {
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 20px;
    }

    .waste-icon, 
    .larvae-icon, 
    .feed-icon, 
    .fertilizer-icon, 
    .crop-icon {
        width: 60px;
        height: 60px;
        margin: 0 5px;
    }

    .arrow {
        display: none; /* Hide arrows on mobile */
    }

    .animation-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* Extra small devices (phones < 576px) */
@media (max-width: 576px) {
    .process-step {
        margin-bottom: 25px;
    }

    .step-content {
        padding: 15px 10px;
    }

    .step-content h3 {
        font-size: 1.1rem;
    }

    .step-content p {
        font-size: 0.85rem;
        padding: 0 5px;
    }

    .stat-bubble {
        padding: 5px 10px;
    }

    .waste-icon, 
    .larvae-icon, 
    .feed-icon, 
    .fertilizer-icon, 
    .crop-icon {
        width: 50px;
        height: 50px;
    }

    .animation-button {
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .animation-container {
        flex-wrap: wrap;
    }
    
    .arrow {
        display: none;
    }
    
    .process-item {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
}


/* Modern Contact Section Styles */
.contact-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #2a5a3a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAzKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgZmlsbD0idXJsKCNwYXR0ZXJuKSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIvPjwvc3ZnPg==');
    opacity: 0.5;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.contact-form {
    max-width: 650px;
    animation: fadeInUp 0.8s ease-out;
}

.contact-form .section-header {
    text-align: left;
    margin-bottom: 50px;
}

.contact-form .section-label {
    color: var(--light-bg);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}

.contact-form .section-heading {
    color: white;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-form .section-subhead {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    max-width: 90%;
}

.accent-line {
    height: 2px;
    width: 40px;
    background: var(--secondary);
    margin-top: 8px;
    transition: width 0.5s ease;
}

.section-header:hover .accent-line {
    width: 80px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 18px 15px 10px;
    background-color: rgba(255,255,255,0.08);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    background-color: rgba(255,255,255,0.12);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group label {
    position: absolute;
    top: 18px;
    left: 15px;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    font-size: 1rem;
}

.form-group .focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.4s ease;
}

.form-group input:focus ~ .focus-line,
.form-group textarea:focus ~ .focus-line {
    width: 100%;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 8px;
    left: 15px;
    font-size: 0.75rem;
    color: var(--secondary);
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.submit-button {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(141, 193, 75, 0.3);
}

.submit-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.3) 100%);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.submit-button:hover::after {
    transform: translateX(0);
}

.submit-button svg {
    width: 18px;
    height: 18px;
    margin-left: 12px;
    stroke: white;
    stroke-width: 2;
    transition: transform 0.4s ease;
}

.submit-button:hover {
    background-color: #7ab436;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(141, 193, 75, 0.4);
}

.submit-button:hover svg {
    transform: translateX(5px);
}

.contact-info {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    width: 100%;
    color: #3d5943;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.info-card:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 35px;
    color: #3d5943;
    position: relative;
    padding-bottom: 15px;
}

.info-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(10px);
}

.info-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(141, 193, 75, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    background-color: var(--secondary);
    transform: rotate(-5deg);
}

.info-item:hover .info-icon svg {
    stroke: white;
}

.info-icon svg {
    width: 22px;
    height: 22px;
    stroke: #8dc14b;
    stroke-width: 1.5;
    transition: all 0.3s ease;
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #2a3b2e;
}

.info-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

.social-links {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(61, 89, 67, 0.1);
}

.social-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #2a3b2e;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(61, 89, 67, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
    background-color: var(--secondary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(141, 193, 75, 0.3);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    stroke: #8dc14b;
    stroke-width: 1.5;
    transition: all 0.3s ease;
}

.social-icon:hover svg {
    stroke: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-info {
        justify-content: flex-start;
    }
    
    .info-card {
        transform: none;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 80px 0;
    }
    
    .info-card {
        padding: 30px;
    }
}


/* Modern Footer Styles */
.modern-footer {
    background-color: var(--secondary);
    color: white;
    position: relative;
    padding: 100px 0 0;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    transform: translateY(-99%);
    color: var(--secondary);
    z-index: 1;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.footer-brand {
    max-width: 350px;
}

.logo-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.logo-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    transform: translateY(-50%);
}

.footer-mission {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.footer-newsletter h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: white;
}

.newsletter-form {
    display: flex;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.newsletter-form:focus-within {
    background: rgba(255,255,255,0.15);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    background: transparent;
    border: none;
    color: white;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.7);
}

.newsletter-form button {
    width: 50px;
    background-color: var(--primary);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background-color: #7ab436;
}

.newsletter-form button svg {
    width: 18px;
    height: 18px;
    stroke: white;
    stroke-width: 2;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link {
    display: inline-block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link span {
    position: relative;
}

.footer-link span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-link:hover span::after {
    width: 100%;
}

.contact-info {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    background-color: rgba(141, 193, 75, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--primary);
    stroke-width: 1.5;
}

.contact-item p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}

.footer-social {
    margin-top: 30px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    stroke: white;
    stroke-width: 1.5;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.footer-legal p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.legal-links {
    display: flex;
    gap: 15px;
}

.legal-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: white;
}

.footer-credit {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.heart-icon {
    width: 14px;
    height: 14px;
    fill: var(--primary);
    vertical-align: middle;
    margin: 0 2px;
}

.credit-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.credit-link:hover {
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .modern-footer {
        padding: 80px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-legal {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-wave {
        height: 60px;
    }
}


/* Active nav link styles */
.navbar-nav .nav-link.active {
    color: var(--primary);
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    animation: navUnderline 0.3s ease-out;
}

@keyframes navUnderline {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* Mobile view adjustments */
@media (max-width: 992px) {
    .navbar-nav .nav-link.active {
        color: var(--primary);
        background-color: rgba(141, 193, 75, 0.1);
        border-radius: 4px;
    }
    
    .navbar-nav .nav-link.active::after {
        display: none;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

/* Social Links in Footer */
.footer-social {
    margin-top: 30px;
}

.footer-social .footer-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: white;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    stroke: white;
    stroke-width: 1.5;
}

/* ===== MODERN HERO STYLES ===== */
.modern-hero {
    background-color: #f8fafc;
    overflow: hidden;
    min-height: 100vh;
}

/* Diagonal Background */
.diagonal-shape {
    background-color: rgba(141, 193, 75, 0.1);
    transform: rotate(-45deg);
}

.shape-1 {
    width: 80%;
    height: 300px;
    top: -150px;
    left: -30%;
    opacity: 0.3;
}

.shape-2 {
    width: 120%;
    height: 400px;
    top: 30%;
    left: -60%;
    opacity: 0.2;
}

.shape-3 {
    width: 100%;
    height: 250px;
    bottom: -125px;
    right: -50%;
    opacity: 0.15;
}

/* Hero Content */
.pre-headline {
    color: #8dc14b;
    font-weight: 600;
    letter-spacing: 1px;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background-color: #8dc14b;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: inherit;
    border-radius: inherit;
    animation: pulse 2s infinite;
}

h1 {
    font-family: 'Poppins', sans-serif;
    color: #3d5943;
    line-height: 1.2;
}

.highlight {
    color: #8dc14b;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(141,193,75,0.3);
    z-index: -1;
}

.hero-text {
    color: #3d5943;
    line-height: 1.6;
}

/* CTA Buttons */
.cta-primary {
    background-color: #8dc14b;
    border: none;
}

.cta-secondary {
    background-color: transparent;
    color: #8dc14b;
    border-color: #8dc14b !important;
}

.hover-effect {
    width: 0;
    background-color: rgba(0,0,0,0.1);
    z-index: -1;
    transition: width 0.3s ease;
}

.cta-primary:hover, .cta-secondary:hover {
    color: white !important;
    background-color: #7aae3a;
    border-color: #7aae3a !important;
}

.cta-primary:hover .hover-effect,
.cta-secondary:hover .hover-effect {
    width: 100%;
}

/* Image Carousel */
.image-carousel {
    aspect-ratio: 4/3;
}

.carousel-slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease, transform 8s linear;
    transform: scale(1);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1.05);
}

.nav-dot {
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-dot.active {
    background-color: white;
}

/* Floating Stats */
.stat-value {
    color: #8dc14b;
}

.stat-label {
    color: #3d5943;
    opacity: 0.8;
}

.stat-divider {
    background-color: rgba(61, 89, 67, 0.1);
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    70% { transform: scale(3); opacity: 0; }
    100% { opacity: 0; }
}

/* Fluid responsive adjustments */
.floating-stats {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 90%;
}

@media (max-width: 992px) {
    .floating-stats {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        margin-top: 2rem;
        margin-bottom: 1rem;
        border-radius: 15px !important;
    }
    
    .stat-item {
        padding: 0.5rem 1rem !important;
    }
    
    .stat-divider {
        display: none;
    }
}

/* Pulse Animation */
.pulse-dot {
  width: 12px;
  height: 12px;
  background-color: #8dc14b;
  border-radius: 50%;
  position: relative;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  70% { transform: scale(3); opacity: 0; }
  100% { opacity: 0; }
}

/* Button Hover Effects */
.btn-success {
  transition: all 0.3s ease;
}

.btn-success:hover {
  background-color: #2e7d32 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-outline-success:hover {
  background-color: #2e7d32 !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Highlight Underline Animation */
.highlight-underline {
  transition: all 0.5s ease;
  transform-origin: left;
}

h1:hover .highlight-underline {
  transform: scaleX(1.1);
  background-color: rgba(141,193,75,0.5);
}

/* Carousel Custom Styling */
.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: rgba(0,0,0,0.2);
  border: none;
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  background-color: #8dc14b;
  transform: scale(1.2);
}

.carousel-control-prev, .carousel-control-next {
  width: 8%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
  opacity: 1;
}

/* Countup Animation */
.countup {
  transition: all 1s ease-out;
}
