/* =============================================
   VILLEX GLOBAL — PREMIUM EXPORT WEBSITE v3.0
   ============================================= */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=DM+Sans:wght@300;400;500;600;700&display=swap");

:root {
  --p: #1b4332;
  --s: #2d6a4f;
  --a: #f4a261;
  --a2: #e76f51;
  --bg: #f8faf9;
  --t: #1e1e1e;
  --t2: #5a5a5a;
  --white: #ffffff;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.07);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--t);
  overflow-x: hidden;
}

.container {
  width: 92%;
  max-width: 1220px;
  margin: 0 auto;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  line-height: 1.2;
}
p {
  line-height: 1.85;
  color: var(--t2);
}
a {
  transition: all 0.3s var(--ease);
}

/* ── PAGE ENTRY ANIMATION ── */
@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
body {
  animation: pageIn 0.55s var(--ease) both;
}

/* =============================================
   TOP BAR
   ============================================= */
.topbar {
  background: var(--p);
  color: #c8ddd5;
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.topbar-inner > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #b0ccbf;
  font-size: 12.5px;
}
.topbar-inner > span i {
  color: var(--a);
  font-size: 11px;
}

/* Google Translate in topbar */
.language-selector {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #b0ccbf;
  font-size: 12.5px;
}
.language-selector i {
  color: var(--a);
}
#google_translate_element {
  display: inline-block;
}
.goog-te-gadget {
  font-size: 0 !important;
  color: transparent !important;
}
.goog-te-gadget .goog-te-combo {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 13px !important;
  cursor: pointer;
  min-width: 120px;
}
.goog-logo-link,
.goog-te-gadget span {
  display: none !important;
}
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}
body {
  top: 0 !important;
}

/* =============================================
   HEADER
   ============================================= */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.07),
    0 4px 20px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s;
}
header.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.12);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}
.logo:hover .logo-img {
  transform: rotate(-4deg) scale(1.08);
}
.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  line-height: 1;
}
.logo-villex {
  color: var(--p);
  font-weight: 700;

}
.logo-global {
  color: var(--p);
  font-weight: 700;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* ── NAV LINKS — underline fix ── */
nav {
  display: flex;
  align-items: center;
}
nav a {
  position: relative;
  text-decoration: none;
  color: var(--t);
  font-size: 14.5px;
  font-weight: 500;
  padding: 6px 0;
  margin: 0 14px;
  white-space: nowrap;
  /* The underline bar */
}
/* The animated underline drawn with ::after */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%; /* starts at 0 */
  height: 2.5px;
  background: var(--a);
  border-radius: 2px;
  transition: width 0.32s var(--ease);
}
/* Hover → grow to 100% */
nav a:hover {
  color: var(--p);
}
nav a:hover::after {
  width: 100%;
}
/* Active page → always 100% */
nav a.active {
  color: var(--p);
  font-weight: 600;
}
nav a.active::after {
  width: 100%;
}

/* Social icons */
.social-icons {
  display: flex;
  gap: 7px;
}
.social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--p);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none;
  transition:
    background 0.28s,
    transform 0.28s;
}
.social-icons a:hover {
  background: var(--a);
  transform: translateY(-3px) scale(1.1);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--t);
  border-radius: 3px;
  transition: all 0.3s var(--ease);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-slider {
  position: relative;
  height: 90vh;
  min-height: 540px;
  overflow: hidden;
}
.slides-track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.18, 1);
}
.slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}
/* named slide images */
.slide-chilli-powder {
  background-image: url("../images/red chilli powder.jpg");
  background-size: cover;
  background-position: center;
}
.slide-chilli-flakes {
  background-image: url("../images/red chili flakes.jpg");
  background-size: cover;
  background-position: center;
}
.slide-turmeric {
  background-image: url("../images/Dried Turmeric.jpg");
  background-size: cover;
  background-position: center;
}
.slide-turmeric-powder {
  background-image: url("../images/Turmeric Powder.jpg");
  background-size: cover;
  background-position: center;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.4) 55%,
    rgba(0, 0, 0, 0.15) 100%
  );
}
.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10%;
  max-width: 720px;
  color: #fff;
  z-index: 2;
}

/* Slide content animated in when slide becomes active */
.slide.is-active .slide-tag {
  animation: slideUp 0.6s 0.1s var(--ease) both;
}
.slide.is-active .slide-content h1 {
  animation: slideUp 0.6s 0.22s var(--ease) both;
}
.slide.is-active .slide-content p {
  animation: slideUp 0.6s 0.34s var(--ease) both;
}
.slide.is-active .btn-hero {
  animation: slideUp 0.6s 0.46s var(--ease) both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--a);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
  width: fit-content;
  box-shadow: 0 4px 14px rgba(244, 162, 97, 0.4);
}
.slide-content h1 {
  font-size: clamp(34px, 6vw, 70px);
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.08;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.slide-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
  max-width: 460px;
  line-height: 1.75;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--a);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid var(--a);
  width: fit-content;
  box-shadow: 0 6px 20px rgba(244, 162, 97, 0.4);
  transition: all 0.3s var(--ease);
}
.btn-hero:hover {
  background: transparent;
  color: var(--a);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(244, 162, 97, 0.35);
}

/* Slider arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s var(--ease);
}
.slider-btn:hover {
  background: var(--a);
  border-color: var(--a);
  transform: translateY(-50%) scale(1.1);
}
.slider-btn.prev {
  left: 24px;
}
.slider-btn.next {
  right: 24px;
}

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s var(--ease);
}
.dot.active {
  background: var(--a);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(244, 162, 97, 0.6);
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}
.fade-left {
  opacity: 0;
  transform: translateX(-36px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}
.fade-right {
  opacity: 0;
  transform: translateX(36px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}
.show {
  opacity: 1 !important;
  transform: translate(0) !important;
}

/* staggered children */
.stagger > *:nth-child(1) {
  transition-delay: 0.05s;
}
.stagger > *:nth-child(2) {
  transition-delay: 0.12s;
}
.stagger > *:nth-child(3) {
  transition-delay: 0.19s;
}
.stagger > *:nth-child(4) {
  transition-delay: 0.26s;
}
.stagger > *:nth-child(5) {
  transition-delay: 0.33s;
}
.stagger > *:nth-child(6) {
  transition-delay: 0.4s;
}
.stagger > *:nth-child(7) {
  transition-delay: 0.47s;
}
.stagger > *:nth-child(8) {
  transition-delay: 0.54s;
}

/* =============================================
   SECTIONS
   ============================================= */
section {
  padding: 88px 0;
}

.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
  font-weight: 700;
  color: var(--a);
  margin-bottom: 10px;
  position: relative;
  padding-left: 28px;
}
.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 2px;
  background: var(--a);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(26px, 3.8vw, 42px);
  color: var(--p);
  margin-bottom: 44px;
  line-height: 1.2;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid var(--p);
  color: var(--p);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}
.btn-outline:hover {
  background: var(--p);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 67, 50, 0.25);
}

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1.5px solid var(--p);
  color: var(--p);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.28s var(--ease);
  margin-top: 10px;
}
.btn-outline-sm:hover {
  background: var(--p);
  color: #fff;
}

.center-btn {
  text-align: center;
  margin-top: 44px;
}

/* =============================================
   INTRO / ABOUT STRIP
   ============================================= */
.intro-section {
  background: #fff;
  padding: 88px 0;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.intro-text h2 {
  font-size: clamp(24px, 3vw, 34px);
  color: var(--p);
  margin-bottom: 16px;
}
.intro-text p {
  margin-bottom: 18px;
}
.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-box {
  background: var(--bg);
  border: 1.5px solid #e4ede8;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.32s var(--ease);
  position: relative;
  overflow: hidden;
}
.stat-box::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--p), var(--a));
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}
.stat-box:hover {
  border-color: var(--a);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.stat-box:hover::before {
  transform: scaleX(1);
}
.stat-box h3 {
  font-size: 38px;
  color: var(--p);
  margin-bottom: 4px;
}
.stat-box p {
  font-size: 13.5px;
  color: var(--t2);
  margin: 0;
  font-weight: 500;
}

/* =============================================
   PRODUCTS
   ============================================= */
.products-section {
  background: var(--bg);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.38s var(--ease);
  border: 1px solid #edf2ee;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-img-wrap {
  position: relative;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease);
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.08);
}
.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(27, 67, 50, 0.85) 0%,
    rgba(27, 67, 50, 0.3) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s;
}
.product-card:hover .product-overlay {
  opacity: 1;
}
.btn-inquiry {
  background: var(--a);
  color: #fff;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  transform: translateY(10px);
  transition: transform 0.35s var(--ease);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.product-card:hover .btn-inquiry {
  transform: translateY(0);
}
.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--p);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}
.product-info {
  padding: 22px 24px;
}
.product-info h3 {
  font-size: 19px;
  color: var(--p);
  margin-bottom: 8px;
}
.product-info p {
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 10px;
}
.product-specs {
  list-style: none;
  margin: 12px 0;
  padding: 0;
}
.product-specs li {
  font-size: 12.5px;
  color: var(--t2);
  padding: 5px 0;
  border-bottom: 1px dashed #eee;
  display: flex;
  justify-content: space-between;
}
.product-specs li:last-child {
  border: none;
}

/* Products page filter */
.products-page-section {
  padding: 60px 0 88px;
}
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 22px;
  border: 1.5px solid #ccddd5;
  background: #fff;
  color: var(--t);
  border-radius: 50px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.28s var(--ease);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--p);
  color: #fff;
  border-color: var(--p);
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.25);
}
.product-card.hidden {
  display: none;
}

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-section {
  background: var(--p);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(244, 162, 97, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(255, 255, 255, 0.04) 0%,
      transparent 50%
    );
  pointer-events: none;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--a), var(--a2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.why-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-6px);
  border-color: rgba(244, 162, 97, 0.35);
}
.why-card:hover::before {
  transform: scaleX(1);
}
.why-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--a), var(--a2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(244, 162, 97, 0.35);
  transition: transform 0.3s var(--ease);
}
.why-card:hover .why-icon {
  transform: scale(1.1) rotate(-4deg);
}
.why-card h3 {
  font-size: 16.5px;
  color: #fff;
  margin-bottom: 9px;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
}
.why-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
  line-height: 1.75;
}

/* =============================================
   CERTIFICATIONS
   ============================================= */
.cert-section {
  background: #fff;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 14px;
}
.cert-badge {
  background: var(--bg);
  border: 1.5px solid #e2ece6;
  border-radius: var(--radius);
  padding: 18px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  height: 170px;             /* fixed height — all cards same size */
  overflow: hidden;          /* nothing bleeds outside */
  transition: all 0.3s var(--ease);
  cursor: default;
}
.cert-badge:hover {
  border-color: var(--a);
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(244, 162, 97, 0.18);
  background: #fff;
}
.cert-icon {
  font-size: 30px;
}
.cert-badge strong {
  font-size: 14.5px;
  color: var(--p);
  font-family: "DM Sans", sans-serif;
  line-height: 1.2;
}
.cert-badge small {
  font-size: 11px;
  color: var(--t2);
  font-weight: 500;
}

/* =============================================
   EXPORT MARKETS
   ============================================= */
.markets-section {
  background: var(--bg);
}
.markets-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.markets-tags span {
  background: #fff;
  border: 1.5px solid #d0e4d8;
  color: var(--p);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.26s var(--ease);
  cursor: default;
}
.markets-tags span:hover {
  background: var(--p);
  color: #fff;
  border-color: var(--p);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.2);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, #0f2d1e 0%, var(--p) 50%, var(--s) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M40 0L80 40L40 80L0 40z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-inner {
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
}
.cta-inner h2 {
  font-size: clamp(24px, 3.5vw, 40px);
  color: #fff;
  margin-bottom: 14px;
}
.cta-inner p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  margin-bottom: 32px;
}
.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s var(--ease);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background: #1aad52;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, #0d2419 0%, var(--p) 55%, #2d6a4f 100%);
  padding: 90px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.035'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero .section-label {
  color: var(--a);
  margin-bottom: 14px;
}
.page-hero .section-label::before {
  background: var(--a);
}
.page-hero h1 {
  font-size: clamp(30px, 5vw, 54px);
  color: #fff;
  margin: 0 0 14px;
}
.page-hero p {
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 auto;
}
.page-hero-short {
  padding: 60px 0 55px;
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-intro-section {
  background: #fff;
  padding: 88px 0;
}
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-intro-text h2 {
  font-size: clamp(24px, 3vw, 34px);
  color: var(--p);
  margin-bottom: 16px;
}
.about-intro-text p {
  margin-bottom: 14px;
}
.about-stats-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about-stat {
  background: var(--bg);
  border: 1.5px solid #e0eadd;
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  transition: all 0.32s var(--ease);
}
.about-stat:hover {
  border-color: var(--a);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.about-stat h3 {
  font-size: 38px;
  color: var(--p);
}
.about-stat p {
  font-size: 13px;
  color: var(--t2);
  margin: 4px 0 0;
}

/* Mission / Vision */
.mv-section {
  background: var(--bg);
  padding: 80px 0;
}
.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}
.mv-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #edf2ee;
  transition: all 0.35s var(--ease);
  text-align: center;
}
.mv-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.mv-icon {
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, var(--p), var(--s));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  margin: 0 auto 18px;
  box-shadow: 0 8px 20px rgba(27, 67, 50, 0.25);
  transition: transform 0.3s var(--ease);
}
.mv-card:hover .mv-icon {
  transform: scale(1.1) rotate(-5deg);
}
.mv-card h3 {
  font-size: 22px;
  color: var(--p);
  margin-bottom: 12px;
}

/* Process */
.process-section {
  background: #fff;
  padding: 88px 0;
}
.process-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 30px;
}
.process-step {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 22px 10px 18px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1.5px solid #e2ece6;
  transition: all 0.32s var(--ease);
  position: relative;
}
.process-step:hover {
  border-color: var(--a);
  background: #fff;
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.step-num {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--a);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-step i {
  font-size: 22px;
  color: var(--p);
  display: block;
  margin: 8px 0 8px;
}
.process-step h4 {
  font-size: 12.5px;
  color: var(--t);
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  margin-bottom: 3px;
}
.process-step p {
  font-size: 11px;
  color: var(--t2);
  line-height: 1.5;
}
.process-arrow {
  color: var(--a);
  font-size: 17px;
  flex-shrink: 0;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-section {
  padding: 72px 0 88px;
}
.contact-top-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 52px;
  align-items: start;
  margin-bottom: 64px;
}
.contact-info-col h2 {
  font-size: 28px;
  color: var(--p);
  margin-bottom: 8px;
}
.contact-sub {
  font-size: 14px;
  color: var(--t2);
  margin-bottom: 26px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  padding: 18px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  border-left: 4px solid var(--a);
  transition: all 0.3s var(--ease);
}
.info-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}
.info-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--p), var(--s));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  flex-shrink: 0;
}
.info-card h4 {
  font-size: 13.5px;
  color: var(--p);
  margin-bottom: 4px;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
}
.info-card p,
.info-card a {
  font-size: 13.5px;
  color: var(--t2);
  text-decoration: none;
  line-height: 1.6;
}
.info-card a:hover {
  color: var(--p);
}

.contact-social {
  margin-top: 24px;
}
.contact-social h4 {
  font-size: 14px;
  color: var(--p);
  margin-bottom: 12px;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
}
.social-icons-large {
  display: flex;
  gap: 10px;
}
.social-icons-large a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--p);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}
.social-icons-large a:hover {
  background: var(--a);
  transform: translateY(-4px) scale(1.1);
}

.contact-form-box {
  background: #fff;
  padding: 38px;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #edf2ee;
}
.contact-form-box h2 {
  font-size: 26px;
  color: var(--p);
  margin-bottom: 7px;
}
.contact-form-box > p {
  font-size: 14px;
  color: var(--t2);
  margin-bottom: 26px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--t);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #dde8e0;
  border-radius: var(--radius-sm);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: var(--t);
  background: var(--bg);
  transition: all 0.28s var(--ease);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--a);
  box-shadow: 0 0 0 3.5px rgba(244, 162, 97, 0.16);
  background: #fff;
}
.btn-submit {
  width: 100%;
  padding: 15px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  transition: all 0.3s var(--ease);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}
.btn-submit:hover {
  background: #1aad52;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42);
}

.map-section h2 {
  font-size: 28px;
  color: var(--p);
  margin-bottom: 7px;
}
.map-section > p {
  font-size: 14px;
  color: var(--t2);
  margin-bottom: 20px;
}
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid #e0eadd;
}
.map-container iframe {
  display: block;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: #0c1f12;
  color: #aaa;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
  gap: 44px;
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo .logo-villex {
  color: #ffffff;
}
.footer-logo .logo-global {
  color: #ffffff;
}
.footer-brand p {
  font-size: 13.5px;
  color: #888;
  line-height: 1.85;
}
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.28s var(--ease);
}
.footer-social a:hover {
  background: var(--a);
  color: #fff;
  transform: translateY(-3px);
}
footer h4 {
  color: #e8e8e8;
  font-family: "DM Sans", sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 18px;
}
footer p {
  font-size: 13px;
  color: #777;
  line-height: 2;
}
footer p i {
  color: var(--a);
  margin-right: 7px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 9px;
}
.footer-links a {
  text-decoration: none;
  color: #777;
  font-size: 13.5px;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: "→";
  font-size: 11px;
  color: var(--a);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.25s;
}
.footer-links a:hover {
  color: var(--a);
  padding-left: 4px;
}
.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}
.footer-bottom {
  padding: 18px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 12.5px;
  color: #555;
}

/* =============================================
   FLOATING WHATSAPP BUTTON
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: all 0.3s var(--ease);
  animation: floatBounce 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65);
}
@keyframes floatBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* =============================================
   COUNTER ANIMATION
   ============================================= */
.counter {
  display: inline-block;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .process-arrow {
    display: none;
  }
  .process-steps {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }
  .hamburger {
    display: flex;
  }

  /* Mobile nav dropdown */
  .nav-right nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 150;
    backdrop-filter: blur(12px);
  }
  .nav-right nav.open {
    display: flex;
  }
  .nav-right nav a {
    margin: 0;
    padding: 18px 0;
    font-size: 22px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav-right nav a::after {
    bottom: 0;
  }
  .nav-right {
    position: static;
  }
  header {
    position: sticky;
  }

  .hero-slider {
    height: 75vh;
    min-height: 440px;
  }
  .slide-content {
    padding: 0 7%;
  }
  .slide-content h1 {
    font-size: 30px;
  }

  .intro-grid,
  .about-intro-grid,
  .contact-top-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .cert-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .social-icons {
    display: none;
  }
  .topbar-inner > span:first-child {
    display: none;
  }
}

@media (max-width: 480px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .contact-form-box {
    padding: 24px 18px;
  }
  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
}

/* Certificate real images */
.cert-badge img {
  width: 100%;
  height: 90px;          /* strict fixed height */
  max-height: 90px;      /* never exceed this */
  object-fit: contain;   /* keep aspect ratio, no stretching */
  object-position: center;
  border-radius: 6px;
  flex-shrink: 0;        /* don't compress when text is long */
  transition: transform 0.35s ease;
}
.cert-badge:hover img {
  transform: scale(1.05);
}

/* Logo image — background + border + glow */
.logo-img {
  height: 100px;
  width: 100px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 10px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.55);
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.75))
          drop-shadow(0 0 12px rgba(255, 255, 255, 0.35));
  transition: transform 0.35s var(--ease);
}

/* Footer logo — stronger since background is very dark */
.footer-logo .logo-img {
  background: rgba(255, 255, 255, 0.1);
  /* border: 2px solid rgba(244, 162, 97, 0.7); */
  border: hidden;
  border-radius: 10px;
  padding: 4px;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9))
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.5));
}


/* New about page */
/* ── ABOUT PAGE IMAGE ── */
.about-img-col {
    position: relative;
}
.about-img-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.about-img-wrap img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.about-img-wrap:hover img {
    transform: scale(1.04);
}
.about-img-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--a);
    color: #fff;
    padding: 14px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 24px rgba(244,162,97,0.45);
}
.about-img-badge .badge-num {
    font-size: 28px;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}
.about-img-badge .badge-txt {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.92;
    margin-top: 3px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .about-img-wrap img {
        height: 280px;
    }
}






.hero,
.hero-slider,
.slider,
.swiper,
.swiper-wrapper,
.swiper-slide {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.hero-slider {
    display: block !important;
}

.swiper-slide img,
.hero-slide img {
    display: block;
}


/* Size of logo */
.logo-villex,
.logo-global {
    font-size: 38px;
    font-weight: 700;
}