/* Reset and base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #d8efd8, #b1d9b1);
    color: #1b5e20;
    line-height: 1.7;
    padding-top: 80px; /* for fixed navbar */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-weight: 500;
}

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&display=swap');


/* Hero Slider */
.hero{
  position: relative;
height: calc(100vh - 90px);  display: flex;
  align-items: center;
  padding: clamp(36px, 6vw, 80px) clamp(16px, 4vw, 60px);
  overflow: hidden;
  isolation: isolate;  /* layers safe */
}

/* Background layer for smooth zoom */
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/images/file_00000000f1b471fa941df5cedeae6c8a.png"); /* change path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 1.2s ease;
  z-index: 0;
}

/* Overlay for readability */
.hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.68),
    rgba(0,0,0,0.28)
  );
  transition: opacity 0.5s ease;
  z-index: 1;
}

.hero-content{
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: #fff;

  /* Entry animation */
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 900ms ease forwards;
}

@keyframes heroIn{
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h2{
  font-size: clamp(26px, 4vw, 52px);
  line-height: 1.12;
  margin: 0 0 12px;
  letter-spacing: 0.2px;
}

.hero p{
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.6;
  margin: 0;
  opacity: 0.95;
  max-width: 60ch;
}

/* Button */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 12px 22px;
  border-radius: 12px;
  background: #1faa59;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  will-change: transform;
}

.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
  background: #159a4d;
}

/* Desktop hover effect on whole section */
@media (hover: hover) and (pointer: fine){
  .hero:hover::before{
    transform: scale(1.08);
  }
  .hero:hover::after{
    opacity: 0.9;
  }
  .hero:hover .hero-content{
    transform: translateY(-6px);
    transition: transform .5s ease;
  }
}

/* Variables */
:root {
    --primary: #1b4332;
    --accent: #40916c;
    --gold: #ffb703;
    --white: #ffffff;
    --bg-gradient: radial-gradient(circle at top right, #f0f7f4, #ffffff);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: #ffffff;
    overflow-x: hidden;
}

.agro-ultra-section {
    padding: 80px 5%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-gradient);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.agro-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Typography */
.top-label {
    color: var(--accent);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.main-heading {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 40px;
}

.main-heading span {
    color: var(--accent);
}

/* Content Blocks */
.block-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: 20px;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.block-item:hover {
    transform: translateX(12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(27, 67, 50, 0.08);
    border-color: var(--accent);
}

.icon-box {
    min-width: 55px;
    height: 55px;
    background: #e9f5ee;
    color: var(--primary);
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    transition: 0.3s;
}

.block-item:hover .icon-box {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
}

.block-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

/* Image Styling */
.img-container {
    position: relative;
    border-radius: 35px;
    overflow: visible;
}

.img-container img {
    width: 100%;
    border-radius: 35px;
    display: block;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    border: 6px solid white;
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    right: -25px;
    background: var(--gold);
    color: white;
    padding: 18px 28px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    box-shadow: 0 15px 35px rgba(255, 183, 3, 0.4);
    animation: floatAnim 3s infinite ease-in-out;
}

/* --- Super Animations (Load automatically) --- */
.header-reveal {
    animation: revealEffect 1s forwards;
}

.slide-up {
    opacity: 0;
    animation: revealEffect 0.8s forwards;
    animation-delay: var(--delay);
}

.zoom-in {
    opacity: 0;
    animation: zoomEffect 1s forwards 0.5s;
}

@keyframes revealEffect {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomEffect {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .agro-main-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .image-side {
        order: -1;
        margin-bottom: 40px;
    }
    .block-item {
        text-align: left;
    }
    .floating-badge {
        right: 10px;
        bottom: 10px;
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Benefits */
:root {
    --p-green: #1b4332;
    --s-green: #40916c;
    --accent: #ffb703;
    --white: #ffffff;
    --bg-light: #f4f9f4;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }

.benefits-section {
    padding: 100px 5%;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.container { max-width: 1200px; margin: 0 auto; }

/* Header Styling */
.benefits-header {
    text-align: center;
    margin-bottom: 60px;
}

.sub-badge {
    background: #e0ece4;
    color: var(--s-green);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

.title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--p-green);
    margin: 20px 0;
    line-height: 1.2;
}

.title span { color: var(--s-green); }

.subtitle { color: #666; font-size: 1.1rem; }

/* Grid Layout */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* Premium Cards */
.benefit-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Card Hover Animation */
.benefit-card:hover {
    transform: translateY(-15px);
    background: var(--white);
    box-shadow: 0 40px 80px rgba(27, 67, 50, 0.1);
}

.benefit-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--s-green), var(--accent));
    transform: scaleX(0);
    transition: 0.4s;
}

.benefit-card:hover::before { transform: scaleX(1); }

/* Icon Styling */
.icon-ui {
    width: 65px;
    height: 65px;
    background: #e9f5ee;
    color: var(--p-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border-radius: 20px;
    margin-bottom: 25px;
    transition: 0.4s;
}

.benefit-card:hover .icon-ui {
    background: var(--p-green);
    color: var(--white);
    transform: rotateY(360deg);
}

.benefit-card h4 {
    font-size: 1.3rem;
    color: var(--p-green);
    margin-bottom: 12px;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .benefits-section { padding: 60px 20px; }
    .title { font-size: 1.8rem; }
    .benefits-grid { grid-template-columns: 1fr; gap: 20px; }
    .benefit-card { padding: 30px 25px; text-align: center; }
    .icon-ui { margin: 0 auto 20px auto; }
}

/* Entrance Animation on Load */
.benefit-card {
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Staggered Delay for Cards */
.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefit-card:nth-child(6) { animation-delay: 0.6s; }
.benefit-card:nth-child(7) { animation-delay: 0.7s; }
.benefit-card:nth-child(8) { animation-delay: 0.8s; }

/* Footer */
.premium-footer {
    background: #0d1b15;
    color: #ffffff;
    padding: 30px 20px 15px; /* Height choti karne ke liye compact padding */
    position: relative;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.footer-overlay {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(64, 145, 108, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Logo - Height Adjusted */
.footer-logo img {
    height: 102px; 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.footer-logo:hover img { transform: scale(1.1); }

/* Contact Links with Hover Effects */
.footer-info-center { margin-bottom: 20px; }
.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}
.contact-item i { color: #40916c; font-size: 1.2rem; }
.contact-item a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

/* Underline Hover Effect */
.hover-underline { position: relative; }
.hover-underline::after {
    content: '';
    position: absolute;
    width: 0; height: 1px;
    bottom: -2px; left: 0;
    background-color: #40916c;
    transition: width 0.3s ease;
}
.hover-underline:hover { color: #ffffff; }
.hover-underline:hover::after { width: 100%; }

.contact-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Social Icons (Super Hover) */
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}
.social-btn {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: #fff;
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.1);
}
.social-btn:hover {
    background: #40916c;
    color: white;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(64, 145, 108, 0.4);
}

/* Compact Nav */
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 15px 0;
    margin: 20px 0 10px;
}
.footer-nav a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
}
.footer-nav a:hover { color: #40916c; letter-spacing: 1px; }

/* Bottom Section */
.footer-bottom {
    font-size: 0.75rem;
    color: #718096;
    padding-top: 10px;
}
.footer-bottom span { color: #40916c; font-weight: 700; }
.footer-bottom a { color: #40916c; text-decoration: none; font-weight: bold; }

/* Mobile View */
@media (max-width: 768px) {
    .contact-row { flex-direction: column; gap: 5px; }
    .footer-nav { gap: 10px; }
}










