/* base.css - minimal reset + variables */
:root{
  --accent: #2f7a4e;
  --bg-start: #f7f9f7;
  --bg-end: #eaf2ea;
  --text: #0f1720;
  --muted: #6b7280;
  --nav-height: 72px;
  --glass: rgba(255,255,255,0.6);
}

*{
  box-sizing:border-box;
}

html,body{
  height:100%;
  margin:0;
  font-family:'Inter',-apple-system,Segoe UI,Roboto,Helvetica,Arial;
  color:var(--text);
  background:linear-gradient(180deg,var(--bg-start),var(--bg-end));
  -webkit-font-smoothing:antialiased;
  scroll-behavior:smooth;

  /* FIX 1 — prevent side blank space */
  overflow-x: hidden;
}

a{color:inherit}

main{
  padding-top:var(--nav-height);
  max-width:1100px;
  margin:0 auto;
}

.page-section{
  max-width:1000px;
  margin:0 auto;
}

h1,h2{margin:0 0 10px 0}
p{margin:0 0 18px 0;color:var(--muted)}



/* -------------------------------------------------- */
/* HERO VIDEO SECTION (Full-bleed Tend-style)         */
/* -------------------------------------------------- */

.video-hero{
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: 100vh;
  min-height: 520px;
  overflow: hidden;
  z-index: 0;
}

.video-container{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:hidden;
  z-index:0;
}


/* FIX 2 — force iframe to cover whole viewport (no side gaps) */
.video-container iframe{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120vw;   /* wider than viewport */
  height: 120vh;  /* taller than viewport */
  transform: translate(-50%, -50%);
  transform-origin: center center;
  border: 0;
  background: transparent;
  will-change: transform;
}

/* overlay + centered content */
.video-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(0,0,0,0.42) 0%,
    rgba(0,0,0,0.18) 25%,
    rgba(0,0,0,0.06) 45%,
    rgba(0,0,0,0) 60%
  );
  pointer-events:none;
  z-index:2;
}

.hero-content{
  position:relative;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:center;
  height:100%;
  padding:0 24px;
}

.hero-inner-content{
  max-width:980px;
  text-align:center;
  color:#fff;
  text-shadow:0 6px 20px rgba(0,0,0,0.45);
  transform:translateY(-6px);
}

.hero-title{
  font-size:clamp(32px,6.2vw,64px);
  line-height:1.02;
  font-weight:800;
  margin:0 0 12px;
}

.hero-sub{
  font-size:clamp(16px,1.4vw,20px);
  color:rgba(255,255,255,0.92);
  margin:0 0 22px;
}

.hero-buttons{
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 18px;
  border-radius:12px;
  text-decoration:none;
  font-weight:700;
}

.btn-primary{
  background:linear-gradient(180deg,#2f7a4e,#276b44);
  color:#fff;
  box-shadow:0 12px 30px rgba(47,122,78,0.12);
}

.btn-ghost{
  background:transparent;
  border:1px solid rgba(255,255,255,0.22);
  color:#fff;
}

@media (max-width:900px){
  .video-container iframe{
    width: 140vw;
    height: 140vh;
  }

  .hero-inner-content{padding:0 12px}
  .hero-buttons{flex-direction:column}
  .hero-title{font-size:28px}
}

/* End Hero Video */
/* -------------------------------------------------- */


/* MOBILE FIX: replace video with image */
@media (max-width: 900px) {

  /* Hide the iframe video on mobile */
  .video-container {
    display: none !important;
  }

  /* Show full cover background image instead */
  .video-hero {
    background-image: url("../img/main-4.jpg");  /* adjust if your path is different */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
  }

  .hero-inner-content {
    padding: 0 12px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-title {
    font-size: 28px;
  }
}

/* WHo we are  */

/* === Features / About row (center circle + left/right text) === */
.features-section{
  padding: 72px 20px 110px;
  color: var(--text);
}

.features-head{
  text-align: center;
  max-width: 880px;
  margin: 0 auto 46px;
}

.features-title{
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.features-sub{
  max-width: 760px;
  margin: 0 auto;
  font-family: "Cormorant Garamond", serif !important;
  font-style: italic;
  font-size: 24px;
  line-height: 1.75;
  letter-spacing: 0.4px;
  font-weight: 400;
  color: #2e2e2e;   /* elegant */
}

/* three-column layout: left / center-image / right */
.features-grid{
  display: grid;
  grid-template-columns: 1fr 360px 1fr;
  gap: 36px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* left & right columns */
.features-col{
  display: flex;
  flex-direction: column;
  gap: 36px;
  text-align: left;
  padding: 0 12px;
}

.features-right { text-align: left; } /* keep same alignment, visually matches screenshot */

/* each small feature block */
.feature h3{
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
}

.feature p{
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

/* center image frame (circle with dashed border) */
.features-center{
  display:flex;
  align-items:center;
  justify-content:center;
}

.center-frame{
  width: 360px;         /* little bigger = more breathing space */
  height: 360px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  padding: 22px;        /* <<< increased padding */
  background: #ffffff;  /* clean white */
  box-shadow: 0 8px 30px rgba(11,20,25,0.06);
}

/* dotted ring */
.center-frame::before{
  content: "";
  position: absolute;
  inset: 12px;          /* <<< pushes dotted ring AWAY from image */
  border-radius: 50%;
  border: 3px dashed rgba(47,122,78,0.25);
  z-index: 3;
  pointer-events: none;
}

/* image on top */
.center-frame img{
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}
/* Responsive: collapse to stacked layout on narrow screens */
@media (max-width: 900px){
  .features-section{ padding: 48px 14px 72px; }
  .features-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .features-col{ gap: 20px; padding: 0; }
  .center-frame{
    width: 260px;
    height: 260px;
    margin: 0 auto;
  }
  .features-head{ margin-bottom: 28px; padding: 0 8px; }
}


/* line inside msg */

.features-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  margin-bottom: 50px;      /* enough space for underline */
  position: relative;
}

/* Bottom (longer) golden line */
.features-title::after {
  content: "";
  width: 70px;              /* <<< matches your reference */
  height: 3px;              /* <<< thicker bottom line */
  background: #f2c028;      /* rich golden yellow */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -16px;
  border-radius: 4px;
}

/* Top (shorter) golden line */
.features-title::before {
  content: "";
  width: 100px;              /* <<< shorter top line */
  height: 3px;              /* <<< slightly thinner */
  background: #f8d75c;      /* lighter gold */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -9px;
  border-radius: 3px;
}

/* who we are end */


/* FLIP Card */
/* === FLIP CARDS — robust face-based flip (replace previous flip CSS) === */
.flipcards-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}



/* for two  */
.flipcards-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 90px;
}


.card-wrapper { 
  perspective: 1400px; 
  position: relative; 
  height: auto;
}
/* The card is just the 3D container; faces themselves will animate */
.card {
  width: 100%;
  height: 299px;
  position: relative;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: none; /* we animate faces, not the container */
  transition: none;
  border-radius: 12px;
  box-shadow: 0 18px 36px rgba(11,20,25,0.06);
  overflow: hidden;
  will-change: transform;
}

/* faces fill card area and will be transformed individually */
.card-face {
  position: absolute;
  inset: 0;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
}

/* FRONT: visible by default */
.card-front {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  padding: 28px;
  color: #fff;
  position: relative;
  z-index: 2;
  /* initial state (facing the viewer) */
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
  -webkit-transition: -webkit-transform 600ms cubic-bezier(.22,.9,.35,1);
  transition: transform 600ms cubic-bezier(.22,.9,.35,1);
}

/* BACK: hidden by default (rotated away) */
.card-back {
  padding: 34px;
  background: #c91f4a;
  color: #fff;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  z-index: 1;
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  -webkit-transition: -webkit-transform 600ms cubic-bezier(.22,.9,.35,1);
  transition: transform 600ms cubic-bezier(.22,.9,.35,1);
}

/* When wrapper has .flipped we rotate faces to reveal the back */
.card-wrapper.flipped .card-front {
  -webkit-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
}
.card-wrapper.flipped .card-back {
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
  z-index: 5; /* ensure back sits above while shown */
}

/* overlay to guarantee contrast on front */
.card-front-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.10) 40%, rgba(0,0,0,0.04) 70%);
  z-index: 1;
  pointer-events: none;
}
.card-top { position: relative; z-index: 3; }
.card-top .eyebrow { font-size: 13px; font-weight:700; margin-bottom:8px; opacity:0.95; }
.card-top .card-title { font-size: 36px; margin:0; font-weight:800; line-height:1; letter-spacing:-0.4px; }

/* arrow */
.card-toggle {
  position: absolute; right: 20px; bottom: 20px; width: 56px; height: 56px;
  border-radius: 999px; border: none; background: #c91f4a; color: #fff;
  display: grid; place-items: center; z-index: 6; cursor: pointer;
  box-shadow: 0 10px 28px rgba(201,31,74,0.12);
}

/* back content styling */
.card-back .card-title { font-size: 28px; margin-bottom:14px; font-weight:800; }
.card-desc { font-size:16px; line-height:1.7; margin-bottom:18px; color: rgba(255,255,255,0.96); }
.card-actions { display:flex; gap:16px; margin-top:auto; align-items:center; }
.card-actions .buy-now { padding:12px 22px; border-radius:28px; text-decoration:none; background: rgba(255,255,255,0.12); color:#fff; font-weight:800; }

/* ensure back controls accept clicks */
.card-back, .card-back * { pointer-events: auto; }

/* responsive */
@media (max-width:980px) {
  .flipcards-inner { grid-template-columns: repeat(2,1fr); gap:22px; }
  .card { height:480px; }
}
@media (max-width:640px) {
  .flipcards-inner { grid-template-columns: 1fr; }
  .card { height:420px; }
  .card-top .card-title { font-size:28px; }
}

/* Flip card Headline Golden line Code */
.section-head h2 {
  position: relative;
  display: inline-block;   /* necessary */
}
/* ===== Responsive: safe breakout for desktop, normal flow on mobile ===== */

/* Desktop/tablet: break out like the hero but only on wide screens */
@media (min-width: 900px) {
  #flip-cards .section-head {
    /* break out so backgrounds/positioning aligns with viewport edges */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-left: 24px;     /* small gutter so text isn't glued to edge */
    padding-right: 24px;
    box-sizing: border-box;
  }

  /* slight desktop-only nudge if you still want it */
  #flip-cards .section-head h2 {
    position: relative;
    display: inline-block;
    transform: translateX(+150px); /* small visual nudge on desktop only */
    will-change: transform;
    margin: 0;
  }

  #flip-cards .section-head h2::before {
    /* keep underline anchored to the h2 on desktop */
    position: absolute;
    right: 0;
    left: auto;
    width: 100px;
    bottom: -10px;
  }
}

/* Mobile / small screens: DO NOT break out — keep normal centered container */
@media (max-width: 899px) {
  #flip-cards .section-head {
    /* restore normal flow inside your centered .page-section */
    width: auto;
    margin-left: 0;
    margin-right: 0;
    padding-left: 14px;   /* safe gutter for phones */
    padding-right: 14px;
    box-sizing: border-box;
  }

  #flip-cards .section-head h2 {
    display: block;       /* normal block flow on mobile */
    transform: none !important; /* remove any desktop translate */
    margin: 0;
    position: relative;   /* anchor for pseudo element */
    font-size: clamp(22px,6vw,32px); /* responsive size if you like */
  }

  /* underline sits relative to heading with the same gutter */
  #flip-cards .section-head h2::before {
    left: 14px;    /* same safe gutter as the heading */
    right: auto;
    width: 70px;   /* narrower on small screens */
    bottom: -10px;
  }
}

/* Extra: avoid horizontal overflow from 100vw issues elsewhere */
html, body {
  max-width: 100%;
  overflow-x: hidden;  /* prevents occasional tiny horizontal scroll */
}


/* top lighter gold bar */
.section-head h2::before {
  content: "";
  width: 100px;
  height: 4px;
  background: #f8d75c;
  position: absolute;
  left: auto;
  right: +145px;
  bottom: -10px;
  border-radius: 2px;
}






/* <!-- Excellence part */
/* SECTION WRAPPER */
/* SECTION WRAPPER */
.sf-section {
    padding: 96px 40px;
    /* background-color: #f8fafc; */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.sf-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.sf-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: nowrap;
}

/* left column (kicker + title) */
.sf-top-left {
    flex: 1 1 60%;
    min-width: 280px;
}

/* kicker */
.sf-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    margin-bottom: 12px;
    color: #2c2c2c;
}

.sf-kicker-icon {
    font-size: 20px;
    line-height: 1;
}

.sf-kicker-text {
    font-weight: 600;
}

/* title */
.sf-title {
    margin: 0;
    font-size: 46px;
    line-height: 1.08;
    font-weight: 700;
    color: #0f1720;
    word-break: break-word;
}

/* right column: description */
.sf-top-desc {
    flex: 0 0 300px;
    margin: 0;
    font-size: 20px;
    line-height: 1.7;
    color: #555;
    align-self: flex-start;
}

/* CTA row (centered under the top row) */
.sf-cta-row {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.sf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: #e6f34b;
    font-size: 15px;
    font-weight: 600;
    color: #111;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.sf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.15);
}

/* Stats Section Styles */
.stats-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
    text-align: center;
}

.circle-container {
    position: relative;
    width: 180px;
    height: 180px;
    margin-bottom: 25px;
}

.circle-bg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid #f1f5f9;
}

.circle-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.circle-progress::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: #ffffff;
    border-radius: 50%;
    z-index: 1;
}

.percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.2rem;
    font-weight: 700;
    z-index: 2;
    color: #0f1720;
}

.stat-label {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0f1720;
    margin-top: 10px;
}

/* Individual circle colors */
#efficiency {
    background: conic-gradient(#4facfe 0deg, #4facfe 288deg, #f1f5f9 288deg);
}

/* #yields {
    background: conic-gradient(#43e97b 0deg, #43e97b 352.8deg, #f1f5f9 352.8deg);
} */

#yields {
  background: conic-gradient(#43e97b 0deg, #43e97b 126deg, #f1f5f9 126deg);
}


#growth {
    background: conic-gradient(#ff9a9e 0deg, #ff9a9e 180deg, #f1f5f9 180deg);
}

/* Responsive design */
@media (max-width: 860px) {
    .sf-top {
        flex-direction: column;
        gap: 20px;
    }

    .sf-top-left {
        flex: 1 1 auto;
    }

    .sf-top-desc {
        flex: 1 1 auto;
        width: 100%;
    }

    .sf-title {
        font-size: 36px;
    }
}

/* ---------- MOBILE: 2-up stats layout ---------- */
/* For screens <= 768px show stats as 2 columns on first row, third item centered below */
@media (max-width: 768px) {

    /* switch stats to a 2-column grid for precise placement */
    .stats-container {
        display: grid;
        grid-template-columns: 1fr 1fr; /* two equal columns */
        gap: 30px 24px;
        justify-items: center;
        align-items: start;
        margin-top: 36px;
        padding: 0 12px;
    }

    .stat-item {
        /* make each stat center inside its grid cell */
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-width: 0;
    }

    /* third stat spans both columns and is centered under the first row */
    .stat-item:nth-child(3) {
        grid-column: 1 / -1;  /* span both columns */
        justify-self: center;
        margin-top: 6px;
    }

    /* slightly smaller circles on mobile */
    .circle-container {
        width: 140px;
        height: 140px;
    }

    .percentage {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 1.05rem;
    }
}

/* small phone adjustments */
@media (max-width: 480px) {

    /* Keep grid behaviour but slightly adjust sizes */
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        padding: 0 10px;
    }

    .circle-container {
        width: 130px;
        height: 130px;
    }

    .percentage {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    /* ensure third item remains centered */
    .stat-item:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
    }
}

/* <!-- Excellence part End --> */

/* vist us */
/* vist us */
/* Side layout: image on the right of big text */
.vu-wrap--side {
  max-width: 1200px;
  margin: 48px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 48% 52%;
  gap: 28px;
  align-items: start;
  box-sizing: border-box;
}

/* LEFT (text) — desktop left alignment */
.vu-left--side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-left: -150px;   /* shift left on desktop only */
  box-sizing: border-box;
}

/* Kicker */
.vu-left--side .vu-kicker {
  color: #2f6b4a;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 18px;
}

/* Title */
.vu-title--side {
  font-size: clamp(64px, 9.8vw, 128px);
  line-height: 0.92;
  margin: 0 0 12px 0;
  font-weight: 800;
  color: #07102a;
  max-width: 420px;
}

/* Subtitle */
.vu-sub--side {
  color: #2c3b35;
  margin-bottom: 18px;
  font-size: 15px;
  max-width: 480px;
}

/* Actions */
.vu-actions--side {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 6px;
}

.vu-btn--side {
  background: #0b1830;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

.vu-link--side {
  color: #0b1830;
  text-decoration: none;
  font-weight: 600;
}

/* RIGHT IMAGE */
.vu-right--side {
  width: 100%;
  height: 560px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(4,12,10,0.06);
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.vu-right--side img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.vu-right--side:hover img {
  transform: scale(1.03);
}

/* ========================================= */
/* MOBILE — center everything cleanly */
/* ========================================= */
@media (max-width: 980px) {

  .vu-wrap--side {
    grid-template-columns: 1fr;
  }

  .vu-right--side {
    height: 360px;
    order: 2;
    margin-top: 18px;
  }

  .vu-left--side {
    order: 1;

    /* REMOVE the desktop left shift */
    margin-left: 0 !important;

    /* Center everything on mobile */
    align-items: center;
    text-align: center;

    padding-left: 14px;
    padding-right: 14px;
  }

  .vu-title--side {
    font-size: clamp(40px, 12vw, 72px);
    max-width: 100%;
    text-align: center;
  }

  .vu-sub--side {
    text-align: center;
  }

  .vu-actions--side {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* smaller phones */
@media (max-width: 520px) {

  .vu-right--side {
    height: 260px;
  }

  .vu-title--side {
    font-size: clamp(26px, 12vw, 40px);
    text-align: center;
  }

  .vu-left--side {
    padding-left: 12px;
    padding-right: 12px;
  }

  .vu-actions--side {
    justify-content: center;
    flex-wrap: wrap;
  }
}
/* vist end */
