/* =========================================================
   FAMZ GLOBAL - PREMIUM UI SYSTEM v2
   Clean | Modern | Enterprise Grade
========================================================= */

/* =========================
   DESIGN TOKENS
========================= */
:root {
  --primary: #00c897;
  --primary-dark: #00a87f;
  --secondary: #1a1f36;

  --text-dark: #1e1e1e;
  --text-light: #6b7280;

  --bg-light: #f6f8fb;
  --white: #ffffff;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;

  --shadow-sm: 0 6px 18px rgba(0,0,0,0.06);
  --shadow-md: 0 12px 30px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.15);

  --transition: all 0.35s ease;
}

/* =========================
   GLOBAL BASE
========================= */
body {
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text-dark);
  line-height: 1.75;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.4px;
}

/* =========================
   SECTION SPACING SYSTEM
========================= */
.section-padding {
  padding: 110px 0;
}

@media (max-width: 992px) {
  .section-padding {
    padding: 80px 0;
  }
}
#header {
  height: 80px;
}

main {
  padding-top: 80px;
}
/* =========================
   SECTION TITLE
========================= */
.section-title {
  margin-bottom: 60px;
  text-align: center;
}

.section-title h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 10px;
   text-align: center;
}

.section-title p {
  font-size: 18px;
  color: var(--text-light);
   text-align: center;
}


/* =========================
   ABOUT SECTION
========================= */
.about {
  position: relative;
}

.about .lead {
  font-size: 19px;
  font-weight: 600;
  color: #2d2d2d;
  margin-bottom: 12px;
}

.about p {
  color: var(--text-light);
  margin-bottom: 14px;
  font-size: 15.5px;
   text-align: justify;
  text-justify: inter-word;
}

/* =========================
   IMAGE STYLING (PREMIUM CARD LOOK)
========================= */
.about-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transform: translateZ(0);
}

.about-image img {
  width: 100%;
  transition: transform 0.7s ease;
  display: block;
}

.about-image:hover img {
  transform: scale(1.08);
}

/* Soft gradient overlay */
.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 200, 151, 0.15),
    transparent 60%
  );
  opacity: 0;
  transition: var(--transition);
}

.about-image:hover::after {
  opacity: 1;
}

/* =========================
   CARD BOX (VISION / MISSION)
========================= */
.card-box {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  height: 100%;
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card-box h4 {
  margin-bottom: 12px;
  font-size: 18px;
}

.card-box p {
  color: var(--text-light);
  font-size: 14.5px;
}

/* Hover lift + glow */
.card-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 200, 151, 0.25);
}

/* =========================
   CORE VALUES SECTION
========================= */
.core-values h3 {
  font-size: 34px;
  font-weight: 800;
}

/* VALUE CARD */
.value-item {
  background: var(--bg-light);
  padding: 24px;
  border-radius: var(--radius);
  height: 100%;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

/* Title */
.value-item h5 {
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 700;
}

/* Text */
.value-item p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

/* Hover effect (modern corporate green fill) */
.value-item:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

/* Fix text on hover */
.value-item:hover h5,
.value-item:hover p {
  color: #fff;
}

/* subtle shine effect */
.value-item::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: rgba(255,255,255,0.08);
  transform: rotate(25deg);
  transition: all 0.6s ease;
}

.value-item:hover::after {
  left: 120%;
}

/* =========================
   GRID FIX
========================= */
.core-values .row > div {
  display: flex;
}

/* =========================
   RESPONSIVE TYPOGRAPHY
========================= */
@media (max-width: 768px) {
  .section-title h2 {
    font-size: 30px;
  }

  .core-values h3 {
    font-size: 26px;
  }

  .about .lead {
    font-size: 16px;
  }
}

/* =========================
   PERFORMANCE OPTIMIZATION
========================= */
.card-box,
.value-item,
.about-image img {
  will-change: transform;
}

/* =========================
   AOS FIX
========================= */
[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos].aos-animate {
  opacity: 1;
}

/* =========================
   GLOBAL SMOOTHNESS
========================= */
* {
  transition: var(--transition);
}