/* ===== ANANDHAS GLOBAL – Green & White Theme ===== */
:root {
  --primary: #0d5c2e;
  --primary-dark: #084422;
  --primary-light: #1a7a42;
  --accent: #22a34a;
  --accent-hover: #1b8a3c;
  --accent-soft: #e8f7ee;
  --text: #1a2e1f;
  --text-muted: #4a6354;
  --bg: #ffffff;
  --bg-alt: #f4faf6;
  --border: #d4e8db;
  --success: #0d5c2e;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(13, 92, 46, 0.08);
  --shadow-lg: 0 12px 40px rgba(13, 92, 46, 0.12);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s, background 0.2s, border-color 0.2s; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary);
}
.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.logo-text { display: none; }
.logo-mark { display: none; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--accent-soft); }
.nav-link.rfq-btn {
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
  margin-left: 8px;
}
.nav-link.rfq-btn:hover { background: var(--accent-hover); }

.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.dropdown-menu a:hover {
  background: var(--accent-soft);
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  overflow: hidden;
  background: linear-gradient(145deg, #0d5c2e 0%, #1a7a42 45%, #22a34a 100%);
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?w=1600&q=80') center/cover;
  opacity: 0.15;
}
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.3);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero h1 span { color: #b8f0c8; }
.hero-sub {
  font-size: 1.15rem;
  opacity: 0.92;
  max-width: 600px;
  margin-bottom: 36px;
  font-weight: 300;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #b8f0c8;
}
.stat-label { font-size: 0.85rem; opacity: 0.85; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-primary {
  background: #fff;
  color: var(--primary);
}
.btn-primary:hover { background: #f0fff4; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover { background: #f0fff4; }
.btn-dark {
  background: var(--primary);
  color: #fff;
}
.btn-dark:hover { background: var(--primary-dark); }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--primary);
  margin-bottom: 14px;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; }
.section-header.light h2, .section-header.light p { color: #fff; }
.section-header.light p { opacity: 0.9; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.info-card .card-icon { font-size: 2rem; margin-bottom: 16px; }
.info-card h3 { font-size: 1.25rem; color: var(--primary); margin-bottom: 10px; }
.info-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card.full-width { grid-column: 1 / -1; flex-direction: row; }
.product-card.full-width .product-img { width: 40%; min-height: 220px; }
.product-card.full-width .product-body { flex: 1; }
.product-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: #e2e8f0;
}
.product-body { padding: 22px 24px; }
.product-body h3 { font-size: 1.15rem; color: var(--primary); margin-bottom: 8px; }
.product-body p { color: var(--text-muted); font-size: 0.9rem; }

/* Why Us */
.why-us {
  background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: #fff;
}
.feature-num {
  font-size: 2rem;
  font-weight: 800;
  color: #b8f0c8;
  opacity: 0.95;
  margin-bottom: 12px;
}
.feature h4 { font-size: 1.15rem; margin-bottom: 10px; }
.feature p { opacity: 0.9; font-size: 0.95rem; }

/* CTA Banner */
.cta-banner {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 70px 0;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 12px;
}
.cta-banner p { margin-bottom: 28px; opacity: 0.95; font-size: 1.1rem; }

/* Page Hero (inner pages) */
.page-hero {
  background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: #fff;
  padding: 150px 0 70px;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}
.page-hero p { opacity: 0.92; max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

/* Product Detail Sections */
.product-section {
  padding: 70px 0;
  border-bottom: 1px solid var(--border);
}
.product-section:nth-child(even) { background: var(--bg-alt); }
.product-section .grid-2 { gap: 50px; }
.product-detail h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.product-detail p { color: var(--text-muted); margin-bottom: 16px; }
.product-detail ul {
  margin: 16px 0 24px;
  padding-left: 0;
}
.product-detail li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--text-muted);
}
.product-detail li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.product-img-large {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 340px;
  background-size: cover;
  background-position: center;
}

/* Forms */
.form-section { max-width: 720px; margin: 0 auto; }
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 7px;
  color: var(--primary);
}
.form-group label .req { color: #c53030; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 163, 74, 0.18);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-radius: 6px;
}
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success h3 { color: var(--success); margin-bottom: 12px; font-size: 1.4rem; }
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 8px;
}
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  cursor: pointer;
}
.checkbox-group input { width: auto; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
}
.contact-info h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-item .icon {
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--text-muted); font-size: 0.95rem; }
.contact-item a:hover { color: var(--accent); }

/* About / Quality / Export content */
.content-block { max-width: 800px; margin: 0 auto; }
.content-block h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--primary);
  margin: 36px 0 14px;
}
.content-block p { color: var(--text-muted); margin-bottom: 16px; }
.content-block ul { margin: 12px 0 20px 20px; }
.content-block li {
  color: var(--text-muted);
  margin-bottom: 8px;
  list-style: disc;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.process-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  position: relative;
}
.process-step .step-num {
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 16px;
}
.process-step h4 { color: var(--primary); margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; color: var(--text-muted); }

/* Footer */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.88);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-img {
  height: 56px;
  filter: brightness(0) invert(1);
}
.footer-brand p { font-size: 0.9rem; opacity: 0.85; line-height: 1.7; }
.footer-links h5, .footer-contact h5 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}
.footer-links a {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 10px;
}
.footer-links a:hover { opacity: 1; color: #b8f0c8; }
.footer-contact p { font-size: 0.9rem; margin-bottom: 8px; }
.footer-contact a { color: #b8f0c8; }
.footer-contact a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.75;
}

.text-center { text-align: center; }
.mt-10 { margin-top: 10px; }
.mt-40 { margin-top: 40px; }

.export-snapshot { background: var(--bg-alt); }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card.full-width { flex-direction: column; }
  .product-card.full-width .product-img { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: var(--shadow);
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-link { width: 100%; text-align: left; padding: 12px 16px; }
  .nav-link.rfq-btn { margin-left: 0; margin-top: 8px; text-align: center; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 16px;
    display: none;
  }
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown.open .dropdown-menu { display: block; }
  .mobile-toggle { display: flex; }
  .grid-3, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-card { padding: 28px 20px; }
  .logo-img { height: 44px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; }
}
