/* 
  Ora Agro B2B Global Styles 
  A premium, high-trust industrial B2B aesthetic.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;800&display=swap');

:root {
  /* Colors */
  --primary-green: #2E7D32;     /* Professional deep agro green */
  --primary-light: #4CAF50;     /* Natural green */
  --secondary-earth: #8c6a46;   /* Earthy tone */
  --accent-gold: #d4a017;       /* Premium trust signal */
  --text-main: #1e293b;
  --text-muted: #475569;
  --bg-main: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.section {
  padding: 80px 0;
}

.section-bg-white {
  background-color: var(--bg-white);
}

.grid {
  display: grid;
  gap: 32px;
}

.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 991px) {
  .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-cols-2, .grid-cols-3, .grid-cols-4 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

/* Typography Utilities */
.text-center { text-align: center; }
.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary-green);
  border-radius: 2px;
}
.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 6px;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary-green);
  color: white;
}
.btn-primary:hover {
  background-color: var(--primary-light);
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
}
.btn-outline:hover {
  background-color: var(--primary-green);
  color: white;
  transform: scale(1.03);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}
.header.scrolled {
  box-shadow: var(--shadow-md);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
}

@media (min-width: 901px) {
  .nav-desktop {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media (max-width: 900px) {
  .header-cta-desktop {
    display: none !important;
  }
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-green);
  letter-spacing: -0.5px;
}
.logo span {
  color: var(--accent-gold);
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-weight: 500;
  font-size: 1rem;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary-green);
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    transition: left var(--transition-normal);
  }
  .nav-links.active {
    left: 0;
  }
  .mobile-menu-btn {
    display: block;
  }
}

/* Footer */
.footer {
  background-color: var(--text-main);
  color: white;
  padding: 80px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}
.footer-logo span {
  color: var(--primary-light);
}
.footer-desc {
  color: #cbd5e1;
  margin-bottom: 24px;
}
.footer-title {
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: white;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: #cbd5e1;
}
.footer-links a:hover {
  color: var(--primary-light);
}
.contact-info {
  list-style: none;
}
.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: #cbd5e1;
}
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #94a3b8;
  font-size: 0.875rem;
}

@media (max-width: 991px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Badges / Trust Markers */
.badge {
  display: inline-block;
  padding: 4px 12px;
  background-color: rgba(46, 92, 49, 0.1);
  color: var(--primary-green);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Cards */
.card {
  background-color: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-content .btn {
  margin-top: auto;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Continuous Micro-Animations */
@keyframes floatMicro {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
.card i[class^="fa-"], .card i[class*=" fa-"] {
  display: inline-block;
  animation: floatMicro 3s ease-in-out infinite;
}

/* Quote Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    backdrop-filter: blur(4px);
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background-color: var(--bg-white);
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    padding: 32px;
    position: relative;
    transform: translateY(20px);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}
.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-muted);
    cursor: pointer;
}
.progress-bar-container {
    height: 6px;
    background-color: var(--border-color);
    border-radius: 3px;
    margin-top: 16px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background-color: var(--primary-green);
    width: 16.6%;
    transition: width var(--transition-normal);
}
.step-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}
.step-pane.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}
.modal-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    margin-top: 8px;
    background-color: var(--bg-main);
}
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}
.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color var(--transition-fast);
}
.radio-label:hover {
    border-color: var(--primary-green);
}
.radio-label input[type="radio"] {
    accent-color: var(--primary-green);
    transform: scale(1.2);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: bounceSoftly 2s infinite ease-in-out;
}

@keyframes bounceSoftly {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.whatsapp-float:hover {
  transform: scale(1.15) translateY(-4px);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
  color: white;
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 30px;
  }
}

/* Leadership Section */
.leader-card {
  text-align: center;
  background-color: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
  padding: 40px 32px;
  height: 100%;
}
.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.leader-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #E8F5E9;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  margin: 0 auto 24px;
}
.leader-card h3 {
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 4px;
}
.leader-role {
  color: #2E7D32;
  font-weight: 600;
  margin-bottom: 24px;
}


/* FAQ Accordion */
.faq-item {
  background-color: #F1F8F4;
  border-radius: 8px;
  border-left: 4px solid #2E7D32;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
}
.faq-icon {
  font-size: 1.5rem;
  color: #2E7D32;
  font-weight: 600;
  transition: transform 0.3s ease;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 24px 24px 24px;
  color: var(--text-muted);
  line-height: 1.6;
}
