/* ============================================
   UB AGRO — MAIN STYLESHEET
   Mobile-first responsive
   ============================================ */

:root {
  --primary: #1F4D2E;
  --primary-dark: #0e2a1a;
  --primary-light: #3a7a52;
  --accent: #D4AF37;
  --accent-light: #F3D572;
  --accent-dark: #B28B1A;
  --cream: #FEF9F0;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E0E0E0;
  --gray-700: #5a5a5a;
  --gray-900: #1e1e1e;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.1);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 24px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--gray-900);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a, button { -webkit-tap-highlight-color: transparent; }

/* Prevent iOS auto-zoom on form inputs */
input, select, textarea, button { font-size: 16px; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 100;
  border-bottom: 1px solid rgba(212,175,55,0.2);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 150px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.nav-link {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
}
.btn-consult {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 0.55rem 1.3rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}
.btn-consult:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
  background: transparent;
  border: none;
}
.hamburger:active { background: var(--gray-100); }
.hamburger span { width: 26px; height: 2.5px; background: var(--gray-900); border-radius: 2px; transition: 0.2s; }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 200;
  flex-direction: column;
  padding: 5rem 2rem;
  gap: 1.5rem;
  font-size: 1.2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu a { text-decoration: none; color: var(--gray-900); font-weight: 500; }
.mobile-menu .mobile-cta {
  background: var(--primary);
  color: white;
  padding: 0.75rem;
  text-align: center;
  border-radius: 50px;
  margin-top: 1rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--gray-700);
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:active { background: var(--gray-100); }

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
  font-family: inherit;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  padding: 0.8rem 1.9rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  border: 1.5px solid var(--primary);
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--primary); color: white; }
.hero .btn-outline { color: white; border-color: white; }
.hero .btn-outline:hover { background: white; color: var(--primary); }
.btn-green {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  text-align: center;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(27,53,35,0.72) 0%, rgba(39,76,52,0.68) 100%), url('images/home-back_min.jpg') no-repeat center center;
  background-size: cover;
  background-position: center;
  color: white;
  border-bottom: 4px solid var(--accent);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 780px; margin: 0 auto; text-align: center; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}
.hero h1 { font-size: 3.2rem; font-weight: 800; line-height: 1.15; margin-bottom: 1.5rem; }
.highlight { color: var(--accent-light); text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.hero-text { font-size: 1.1rem; opacity: 0.95; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-dark);
  background: rgba(212,175,55,0.12);
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.9rem;
}
.section-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}
.section-header p { color: var(--gray-700); }

/* ============================================
   FEATURED IN
   ============================================ */
.featured-in {
  padding: 1.5rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  text-align: center;
}
.featured-in p {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.featured-in-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  opacity: 0.9;
}
.featured-in-logos span { font-weight: 700; color: var(--primary); font-size: 1rem; letter-spacing: 0.5px; }

/* ============================================
   SERVICES
   ============================================ */
.services-section, .services-list-section { padding: 5rem 0; background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid rgba(212,175,55,0.15);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--primary); line-height: 1.3; }
.service-card p { color: var(--gray-700); font-size: 0.92rem; margin-bottom: 1rem; }
.service-link { color: var(--accent-dark); text-decoration: none; font-weight: 600; font-size: 0.85rem; }
.service-link:hover { color: var(--primary); }

/* ============================================
   ABOUT PREVIEW
   ============================================ */
.about-preview { padding: 5rem 0; background: linear-gradient(120deg, var(--cream) 0%, #f5f0e6 100%); }
.about-preview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.owner-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  background: rgba(255,255,255,0.85);
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.owner-avatar {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.owner-card strong { display: block; font-size: 1rem; }
.owner-card span { font-size: 0.85rem; color: var(--gray-700); }
.about-preview-image { position: relative; }
.about-preview-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  height: 420px;
  object-fit: cover;
}
.exp-badge {
  position: absolute;
  bottom: -1rem; left: -1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary-dark);
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 800;
  box-shadow: var(--shadow-md);
  font-size: 1.15rem;
}

/* ============================================
   RESULTS / CASE STUDIES
   ============================================ */
.results-preview { padding: 5rem 0; background: linear-gradient(120deg, var(--cream) 0%, #f5f0e6 100%); }
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.result-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent);
  transition: transform 0.2s, box-shadow 0.2s;
}
.result-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.result-card .result-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
}
.result-card h3 { color: var(--primary); font-size: 1.15rem; margin-bottom: 0.6rem; line-height: 1.3; }
.result-card .result-number { font-size: 1.7rem; font-weight: 800; color: var(--primary); margin: 0.5rem 0; }
.result-card p { color: var(--gray-700); font-size: 0.9rem; }

.case-study {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  border-left: 5px solid var(--accent);
}
.case-study h3 { font-size: 1.5rem; color: var(--primary); margin-bottom: 0.5rem; line-height: 1.3; }
.case-study .case-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}
.case-study .case-meta strong { color: var(--primary); }
.case-study .case-section { margin-bottom: 1rem; }
.case-study .case-section h4 {
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.3rem;
}
.case-study .case-section p { color: var(--gray-700); font-size: 0.95rem; }
.case-study .case-result {
  background: rgba(212,175,55,0.1);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  border-left: 3px solid var(--accent);
}
.case-study .case-result strong { color: var(--primary); font-size: 1.05rem; }

/* ============================================
   OVERSEAS / CTA SECTION
   ============================================ */
.overseas-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
}
.overseas-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.overseas-section h2 { color: white; font-size: 2rem; margin-bottom: 1rem; line-height: 1.25; }
.overseas-section p { opacity: 0.95; margin-bottom: 1rem; }
.overseas-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0 1rem;
}
.overseas-features span { font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; }
.overseas-section .btn-primary { background: var(--accent); color: var(--primary-dark); margin-top: 1rem; }
.overseas-section .btn-primary:hover { background: var(--accent-light); }

/* ============================================
   CONTACT STRIP
   ============================================ */
.contact-strip {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding: 2rem 0;
}
.contact-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.contact-info { display: flex; gap: 2rem; flex-wrap: wrap; }
.contact-info span { display: flex; align-items: center; gap: 0.5rem; }

/* ============================================
   FOOTER
   ============================================ */
footer { background: var(--gray-900); color: var(--gray-200); padding: 3rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-logo { height: 120px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; opacity: 0.8; }
.footer-links h4 { font-size: 1rem; margin-bottom: 1rem; color: var(--accent); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--gray-200); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-700);
  font-size: 0.75rem;
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: 2.6rem; margin: 0.5rem 0; line-height: 1.2; }
.page-hero p { font-size: 1.05rem; opacity: 0.9; max-width: 640px; margin: 0 auto; }

/* ============================================
   GALLERY — Masonry layout
   ============================================ */
.gallery-section { padding: 4rem 0; background: var(--gray-50); }

.gallery-grid {
  column-count: 3;
  column-gap: 1rem;
}

.gallery-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 0.8rem 0.6rem;
  background: linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0));
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.gallery-item:hover .gallery-caption { opacity: 1; }

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  flex-direction: column;
}

.lightbox.open { display: flex; }

.lightbox-content {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.lightbox-caption {
  color: white;
  text-align: center;
  margin-top: 0.9rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}

.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ============================================
   GALLERY + LIGHTBOX — MOBILE
   ============================================ */
@media (max-width: 900px) {
  .gallery-grid { column-count: 2; column-gap: 0.75rem; }
  .gallery-item { margin-bottom: 0.75rem; }
}

@media (max-width: 768px) {
  .gallery-grid { column-count: 2; column-gap: 0.5rem; }
  .gallery-item { margin-bottom: 0.5rem; }
  .gallery-caption {
    /* Always visible on mobile since there's no hover */
    opacity: 1;
    font-size: 0.72rem;
    padding: 1rem 0.55rem 0.4rem;
  }
  .lightbox { padding: 0.75rem; }
  .lightbox img { max-height: 72vh; }
  .lightbox-caption { font-size: 0.85rem; margin-top: 0.6rem; }
  .lightbox-close { top: 0.75rem; right: 0.75rem; width: 40px; height: 40px; font-size: 1.3rem; }
}

@media (max-width: 400px) {
  .gallery-grid { column-count: 2; column-gap: 0.4rem; }
  .gallery-item { margin-bottom: 0.4rem; }
  .gallery-caption { font-size: 0.68rem; }
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form-section { padding: 4rem 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; }
.form-container {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(212,175,55,0.2);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--gray-700);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.2s;
  background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.privacy-note { font-size: 0.72rem; color: var(--gray-700); margin-top: 1rem; text-align: center; }
.contact-card, .hours-card {
  background: var(--gray-50);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-card h3, .hours-card h4 { color: var(--primary); margin-bottom: 1rem; font-size: 1.1rem; }
.contact-detail { display: flex; gap: 0.8rem; margin: 1rem 0; align-items: flex-start; font-size: 0.9rem; }
.contact-detail strong { display: block; font-size: 0.78rem; color: var(--gray-700); }
.contact-detail a { color: var(--primary); text-decoration: none; word-break: break-word; }
.contact-detail a:hover { text-decoration: underline; }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.88rem;
}
.hours-row:last-child { border-bottom: none; }

/* ============================================
   TOAST
   ============================================ */
.toast {
  display: none;
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 0.9rem 1.6rem;
  border-radius: 50px;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
  max-width: 90vw;
  text-align: center;
}
.toast.error { background: linear-gradient(135deg, #b23a3a 0%, #8a2020 100%); }
.toast.show { display: block; }

/* ============================================
   ABOUT STORY / MV
   ============================================ */
.about-story { padding: 4rem 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.mission-vision { padding: 4rem 0; background: linear-gradient(120deg, var(--cream) 0%, #f5f0e6 100%); }
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.mv-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.2s;
  box-shadow: var(--shadow-sm);
}
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mv-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.mv-card h3 { color: var(--primary); margin-bottom: 0.6rem; }

/* ============================================
   PRESS / VIDEO
   ============================================ */
.press-section { padding: 4rem 0; background: var(--white); }
.press-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.press-card {
  background: var(--gray-50);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--accent);
}
.press-card h4 { color: var(--primary); margin-bottom: 0.5rem; font-size: 1.05rem; }
.press-card p { color: var(--gray-700); font-size: 0.9rem; margin-bottom: 1rem; }
.press-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}
.press-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ============================================
   INTERCROPPING
   ============================================ */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.benefit-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--accent);
}
.benefit-card h4 { color: var(--primary); margin-bottom: 0.5rem; font-size: 1.05rem; }
.benefit-card p { color: var(--gray-700); font-size: 0.9rem; }

.crop-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 4rem 0;
}
.crop-block.reverse { direction: rtl; }
.crop-block.reverse > * { direction: ltr; }
.crop-block img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.crop-block h3 { color: var(--primary); font-size: 1.6rem; margin-bottom: 1rem; }
.crop-block p { color: var(--gray-700); margin-bottom: 0.9rem; }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(20px + env(safe-area-inset-bottom));
  background: #25D366;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px #25d36666;
  z-index: 90;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ============================================
   RESPONSIVE — TABLET (900px and below)
   ============================================ */
@media (max-width: 900px) {
  .hero h1 { font-size: 2.4rem; }
  .section-header h2 { font-size: 1.9rem; }
  .page-hero h1 { font-size: 2.1rem; }
  .overseas-section h2 { font-size: 1.6rem; }

  .about-preview-inner,
  .about-grid,
  .contact-grid,
  .crop-block,
  .crop-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }
  .crop-block img { height: 280px; }

  

  .mv-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-links ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .footer-links li { margin-bottom: 0; }

  .case-study { padding: 1.5rem; }
  .case-study .case-meta { flex-direction: column; gap: 0.4rem; }
}

/* ============================================
   RESPONSIVE — PHONE (768px and below)
   ============================================ */
@media (max-width: 768px) {
  .container { padding: 0 1.1rem; }

  /* Nav */
  .nav-container { padding: 0.55rem 1.1rem; }
  .nav-menu { display: none; }
  .logo-img { height: 40px; }
  .hamburger { display: flex; }


    /* Facebook section */
  .facebook-inner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.25rem;
    gap: 1rem;
  }
  .facebook-text h3 { font-size: 1.05rem; }
  .facebook-text p { font-size: 0.85rem; }
  .btn-facebook {
    width: 100%;
    max-width: 280px;
    padding: 0.85rem 1.5rem;
  }

  /* Mobile menu */
  .mobile-menu {
    padding: 1.25rem 1.5rem 2.5rem;
    gap: 0;
  }
  .mobile-menu a {
    padding: 1rem 0.5rem;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    min-height: 56px;
    transition: color 0.2s;
  }
  .mobile-menu a:active { color: var(--primary); }
  .mobile-menu .mobile-cta {
    margin-top: 1.5rem;
    border-bottom: none;
    background: var(--primary);
    color: white;
    padding: 1rem;
    text-align: center;
    border-radius: 50px;
    font-weight: 600;
    justify-content: center;
    min-height: 52px;
  }

  /* Hero */
  .hero { padding: 3.5rem 0; }
  .hero h1 { font-size: 1.85rem; line-height: 1.25; }
  .hero-badge { font-size: 0.72rem; padding: 0.28rem 0.85rem; }
  .hero-text { font-size: 1rem; }
  .hero-buttons { flex-direction: column; align-items: center; gap: 0.7rem; }
  .hero-buttons a {
    width: 100%;
    max-width: 320px;
    text-align: center;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }

  /* Section headers */
  .section-header { margin-bottom: 2rem; }
  .section-header h2 { font-size: 1.6rem; line-height: 1.25; }
  .section-header p { font-size: 0.95rem; }
  .section-tag { font-size: 0.68rem; padding: 0.22rem 0.75rem; }

  /* Page hero */
  .page-hero { padding: 2.5rem 0; }
  .page-hero h1 { font-size: 1.7rem; }
  .page-hero p { font-size: 0.95rem; }

  /* Section padding */
  .services-section,
  .services-list-section,
  .about-preview,
  .results-preview,
  .overseas-section,
  .press-section,
  .mission-vision,
  .about-story,
  .gallery-section,
  .contact-form-section { padding: 3rem 0; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .service-card { padding: 1.5rem; border-radius: var(--radius); }
  .service-card h3 { font-size: 1.15rem; }
  .service-card p { font-size: 0.92rem; }
  .service-icon { font-size: 2rem; margin-bottom: 0.75rem; }

  /* About preview */
  .about-preview-image img { height: 280px; }
  .exp-badge { font-size: 0.9rem; padding: 0.55rem 1rem; bottom: 0.75rem; left: 0.75rem; }
  .owner-card { padding: 0.85rem; }
  .owner-avatar { width: 48px; height: 48px; font-size: 1.2rem; }
  .owner-card strong { font-size: 0.95rem; }
  .owner-card span { font-size: 0.8rem; }

  /* Results */
  .results-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .result-card { padding: 1.4rem; }
  .result-card .result-number { font-size: 1.5rem; }
  .result-card h3 { font-size: 1.05rem; }

  /* Case studies */
  .case-study { padding: 1.4rem; border-radius: var(--radius); margin-bottom: 1.2rem; }
  .case-study h3 { font-size: 1.2rem; }
  .case-study .case-meta {
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.82rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
  }
  .case-study .case-section h4 { font-size: 0.72rem; }
  .case-study .case-section p { font-size: 0.92rem; }
  .case-study .case-result { padding: 1rem; font-size: 0.95rem; }
  .case-study .case-result strong { font-size: 1rem; }

  /* Overseas */
  .overseas-section h2 { font-size: 1.4rem; }
  .overseas-section p { font-size: 0.95rem; }
  .overseas-features {
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
    margin: 1.5rem 0;
  }
  .overseas-features span { font-size: 0.88rem; }
  .overseas-section .btn-primary { width: 100%; max-width: 320px; }

  /* Contact strip */
  .contact-strip-inner { flex-direction: column; align-items: stretch; text-align: center; gap: 1.2rem; }
  .contact-info { flex-direction: column; gap: 0.6rem; align-items: center; font-size: 0.9rem; }
  .contact-strip .btn-green { width: 100%; padding: 0.9rem 1.5rem; }

  /* Gallery */
  

  /* Lightbox */
  .lightbox { padding: 0.75rem; }
  .lightbox img { max-width: 96vw; max-height: 85vh; }
  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Contact form */
  .form-container { padding: 1.4rem; border-radius: var(--radius); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-group { margin-bottom: 1rem; }
  .form-group label { font-size: 0.85rem; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.85rem;
    font-size: 16px;
    border-radius: 10px;
  }
  .form-container .btn-primary { padding: 1rem; font-size: 1rem; }
  .contact-card, .hours-card { padding: 1.2rem; }
  .hours-row { font-size: 0.85rem; }

  /* Press */
  .press-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .press-card { padding: 1.2rem; }
  .press-card h4 { font-size: 1rem; }

  /* Intercropping */
  .crop-block { gap: 1.5rem; margin: 2.5rem 0; }
  .crop-block img { height: 240px; }
  .crop-block h3 { font-size: 1.35rem; }
  .crop-block p { font-size: 0.94rem; }

  /* Benefit / MV cards */
  .benefit-grid { grid-template-columns: 1fr; gap: 1rem; }
  .benefit-card { padding: 1.2rem; }
  .mv-card { padding: 1.5rem; }

  /* Featured in */
  .featured-in-logos { gap: 1.2rem; }
  .featured-in-logos span { font-size: 0.85rem; }

  /* Footer */
  footer { padding: 2.5rem 0 1.5rem; }
  .footer-grid { gap: 2rem; margin-bottom: 1.5rem; }
  .footer-brand p { font-size: 0.85rem; }
  .footer-links h4 { margin-bottom: 0.75rem; }
  .footer-links ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.2rem; }
  .footer-links a { font-size: 0.85rem; }
  footer .footer-bottom { padding-bottom: 80px; }

  /* WhatsApp */
  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(20px + env(safe-area-inset-bottom));
  }
  .whatsapp-float svg { width: 26px; height: 26px; }

  /* Toast */
  .toast {
    bottom: calc(90px + env(safe-area-inset-bottom));
    font-size: 0.85rem;
    padding: 0.75rem 1.2rem;
    max-width: calc(100vw - 32px);
  }
}

/* ============================================
   RESPONSIVE — SMALL PHONES (400px and below)
   ============================================ */
@media (max-width: 400px) {
  .container { padding: 0 1rem; }
  .hero h1 { font-size: 1.65rem; }
  .section-header h2 { font-size: 1.4rem; }
  .page-hero h1 { font-size: 1.5rem; }
  .nav-container { padding: 0.5rem 1rem; }
  .logo-img { height: 36px; }
  .btn-primary, .btn-outline { padding: 0.8rem 1.4rem; font-size: 0.92rem; }
  .case-study h3 { font-size: 1.1rem; }
  .overseas-section h2 { font-size: 1.25rem; }
  .featured-in-logos { gap: 0.9rem; }
  .featured-in-logos span { font-size: 0.78rem; }
}

/* ============================================
   LANDSCAPE PHONES
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding: 2rem 0; }
  .hero h1 { font-size: 1.6rem; }
  .mobile-menu { padding: 1rem; }
  .mobile-menu a { padding: 0.6rem 0.5rem; font-size: 1rem; min-height: 44px; }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ============================================
   FACEBOOK FOLLOW SECTION
   ============================================ */
.facebook-section {
  padding: 3rem 0;
  background:#223e1d;
  border-top: 1px solid var(#1e5f11);
  border-bottom: 1px solid var(#1e5f11);
}
.facebook-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1877F2 0%, #0e5cc4 100%);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  color: white;
  box-shadow: var(--shadow-md);
}
.facebook-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.facebook-icon svg {
  width: 26px;
  height: 26px;
  fill: #1877F2;
}
.facebook-text {
  flex: 1;
}
.facebook-text h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  color: white;
}
.facebook-text p {
  font-size: 0.9rem;
  opacity: 0.95;
  margin: 0;
}
.btn-facebook {
  flex-shrink: 0;
  background: white;
  color: #1877F2;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-facebook:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  .navbar, .whatsapp-float, .mobile-menu, .toast, .hero-buttons { display: none !important; }
  body { background: white; color: black; }
  .hero, .page-hero { background: white !important; color: black !important; padding: 1rem 0; }
  a { color: black; text-decoration: underline; }
}


/* ============================================
   SERVICES PAGE SPECIFIC STYLES (ISOLATED)
   ============================================ */

/* 1. The Grid Layout (3 columns) */
.services-list-section .services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* 2. The Square Image Cards */
.services-list-section .service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid rgba(212,175,55,0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.services-list-section .service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* FORCES THE IMAGE TO BE A PERFECT SQUARE */
.services-list-section .service-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1; 
  overflow: hidden;
}

.services-list-section .service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transition: transform 0.4s ease;
}

.services-list-section .service-card:hover .service-img-wrap img {
  transform: scale(1.08); 
}

/* Text below the image */
.services-list-section .service-content {
  padding: 1.25rem;
  flex: 1;
  text-align: center;
}

.services-list-section .service-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
  line-height: 1.3;
}

.services-list-section .service-content p {
  color: var(--gray-700);
  font-size: 0.88rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Responsive adjustment for Services Grid */
@media (max-width: 900px) {
  .services-list-section .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .services-list-section .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   3. THE TAPE / CAROUSEL (SWIPER)
   ============================================ */
.swiper {
  width: 100%;
  padding-bottom: 3.5rem !important; 
}

.swiper-slide {
  height: auto; 
}

/* Forces gallery images into perfect squares */
.swiper-slide .gallery-item {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  aspect-ratio: 1 / 1; 
  width: 100%;
}

.swiper-slide .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transition: transform 0.3s;
}

.swiper-slide .gallery-item:hover img {
  transform: scale(1.05);
}

.swiper-slide .gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  pointer-events: none;
}

/* Carousel Arrows */
.swiper-button-next,
.swiper-button-prev {
  color: var(--primary) !important;
  background: var(--white);
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.2rem !important;
  font-weight: bold;
}

@media (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    width: 36px !important;
    height: 36px !important;
  }
  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 1rem !important;
  }
}