/* ============================================================
   GREEN FIELDS OVERSEAS — INDEX PAGE STYLES
   ============================================================ */

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg-color {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #061f13 0%, var(--deep) 45%, #0d4a30 100%);
}
.hero__bg-image {
  position: absolute;
  inset: 0;
  background: url('../images/horus-slider2.jpg') center / cover;
  opacity: 0.13;
  mix-blend-mode: luminosity;
}
.hero__glow {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,168,75,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero__ring {
  position: absolute;
  right: 6%;
  bottom: 8%;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(200,168,75,0.18);
  border-radius: 50%;
  animation: heroSpin 28s linear infinite;
}
.hero__ring::before {
  content: '';
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(200,168,75,0.10);
  border-radius: 50%;
}
@keyframes heroSpin { to { transform: rotate(360deg); } }

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  animation: heroIn 1s ease both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(200,168,75,0.12);
  border: 1px solid rgba(200,168,75,0.32);
  border-radius: 50px;
  padding: 8px 20px;
  margin-bottom: 26px;
}
.hero__badge span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--gold-l);
  text-transform: uppercase;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--gold-l); }
.hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  line-height: 1.78;
  margin-bottom: 38px;
  max-width: 530px;
  font-weight: 300;
}
.hero__btns { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.30);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.scroll-cue__line {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, transparent, rgba(200,168,75,0.5));
  animation: cuePulse 2s ease-in-out infinite;
}
@keyframes cuePulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ── STATS ── */
.stats-section { background: var(--deep); padding: 52px 0; }
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(200,168,75,0.18);
}
.stat-item {
  background: var(--deep);
  padding: 34px 20px;
  text-align: center;
}
.stat-item__number {
  font-family: var(--font-head);
  font-size: 2.7rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.stat-item__label {
  font-size: 11px;
  color: rgba(255,255,255,0.52);
  font-weight: 600;
  margin-top: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── ABOUT ── */
.about-section { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap { position: relative; }
.about-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 4px;
}
.about-badge {
  position: absolute;
  bottom: -28px;
  right: -28px;
  background: var(--deep);
  padding: 28px 32px;
  border-radius: 4px;
  border-left: 4px solid var(--gold);
}
.about-badge__number {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.about-badge__label {
  font-size: 11.5px;
  color: rgba(255,255,255,0.58);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 5px;
}
.about-text p {
  font-size: 15.5px;
  color: var(--grey);
  line-height: 1.82;
  margin-bottom: 18px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 24px 0 32px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--dark);
  font-weight: 600;
}
.feature-list li img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── PRODUCTS ── */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 52px;
}
.product-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all 0.35s;
  display: block;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(11,58,38,0.14);
  border-color: var(--gold);
}
.product-card__img-wrap {
  height: 280px;
  overflow: hidden;
  position: relative;
}
.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .product-card__img-wrap img { transform: scale(1.05); }
.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,58,38,0.82) 0%, transparent 55%);
}
.product-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
}
.product-card__body { padding: 28px 28px 32px; }
.product-card__body h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 10px;
}
.product-card__body p {
  font-size: 14.5px;
  color: var(--grey);
  line-height: 1.72;
  margin-bottom: 20px;
}
.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-d);
  font-weight: 700;
  font-size: 14px;
}
.product-card__link i { transition: transform 0.2s; }
.product-card:hover .product-card__link i { transform: translateX(5px); }

/* ── R&D ── */
.rd-section {
  background: linear-gradient(135deg, var(--deep), #0d4a30);
  position: relative;
  overflow: hidden;
}
.rd-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/bg-dark-teal.jpg') center / cover;
  opacity: 0.08;
}
.rd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.rd-cards { display: flex; flex-direction: column; gap: 16px; }
.rd-card {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(200,168,75,0.18);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all 0.3s;
}
.rd-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(200,168,75,0.42);
}
.rd-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(200,168,75,0.10);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rd-card__icon i { color: var(--gold); font-size: 20px; }
.rd-card h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.rd-card p { font-size: 13.5px; color: rgba(255,255,255,0.50); line-height: 1.65; }

/* ── TESTIMONIALS ── */
.testi-section { background: var(--cream); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.testi-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.testi-card:hover { box-shadow: 0 12px 40px rgba(11,58,38,0.10); }
.testi-card__stars { color: var(--gold); font-size: 14px; margin-bottom: 12px; }
.testi-card__quote {
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
  font-family: var(--font-head);
  margin-bottom: 14px;
}
.testi-card p {
  font-size: 14.5px;
  color: var(--grey);
  line-height: 1.77;
  font-style: italic;
  margin-bottom: 24px;
}
.testi-card__author { display: flex; align-items: center; gap: 14px; }
.testi-card__author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.testi-card__author strong { display: block; font-size: 14px; font-weight: 700; color: var(--deep); }
.testi-card__author span  { font-size: 12px; color: var(--grey); }

/* ── DONATIONS ── */
.donations-section { background: var(--white); border-top: 1px solid var(--border); }
.donations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.donations-content p {
  font-size: 15.5px;
  color: var(--grey);
  line-height: 1.82;
  margin-bottom: 28px;
}
.donations-stats { display: flex; gap: 32px; margin-bottom: 32px; flex-wrap: wrap; }
.don-stat strong {
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--deep);
  display: block;
}
.don-stat span {
  font-size: 12px;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}
.donations-img-wrap { position: relative; border-radius: var(--radius); overflow: hidden; }
.donations-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}
.donations-img-wrap::after {
  content: 'Charity Eye Care Programme';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(11,58,38,0.92), transparent);
  padding: 36px 24px 20px;
  color: var(--gold-l);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-style: italic;
}

/* ── GALLERY ── */
.gallery-section { background: var(--cream); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 200px 200px;
  gap: 12px;
  margin-top: 48px;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item:first-child { grid-row: 1 / 3; grid-column: 1 / 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,58,38,0.50);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay i { color: var(--white); font-size: 28px; }
.gallery-cta { text-align: center; margin-top: 36px; }

/* ── RESPONSIVE INDEX ── */
@media (max-width: 900px) {
  .hero__ring { display: none; }
  .about-grid,
  .rd-grid,
  .donations-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-badge { right: 0; bottom: -22px; }
  .products-grid,
  .testi-grid   { grid-template-columns: 1fr; }
  .stats-row    { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item:first-child { grid-row: auto; grid-column: auto; }
}
@media (max-width: 600px) {
  .hero__btns   { flex-direction: column; }
  .stats-row    { grid-template-columns: 1fr 1fr; }
  .btn          { justify-content: center; }
}
