/* aboutus.css - FINAL OPTIMIZED VERSION */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 80%);
  font-family: 'Inter', sans-serif;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
}

/* HEADER */
header {
  width: 100%;
  background: #ffffffee;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eaeaea;
  padding: 12px 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header nav {
  display: flex;
  gap: 25px;
}
header nav a {
  position: relative;
  text-decoration: none;
  font-weight: 600;
  color: #222;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: color 0.25s ease;
  outline: none;
}
header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #f24b0b;
  transition: width 0.3s ease;
}
header nav a:hover,
header nav a:focus {
  color: #f24b0b;
}
header nav a:hover::after,
header nav a:focus::after {
  width: 100%;
}
header nav a:focus {
  outline: 2px solid #f24b0b;
  outline-offset: 2px;
}

/* HERO */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px 40px;
  animation: fadeDown 1s ease;
}
.hero-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-logo {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.hero h1 {
  font-family: 'Baloo 2', cursive;
  font-size: 72px;
  color: #f24b0b;
  line-height: 1.1;
}

/* SECTIONS */
section {
  padding: 60px 80px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
section.visible {
  opacity: 1;
  transform: translateY(0);
}
section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #007a52;
  font-family: 'Baloo 2', cursive;
  position: relative;
  display: inline-block;
}
section h2::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: #f24b0b;
  margin: 8px auto 0;
  border-radius: 2px;
}
section p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  color: #444;
}

/* VALUES LIST - IMPROVED MOBILE */
.values-list {
  list-style: none;
  margin: 40px auto 0;
  padding: 0;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.values-list li {
  background: #ffffff;
  border: 1px solid #e4f6f2;
  border-left: 5px solid #007a52;
  border-radius: 10px;
  padding: 18px 20px;
  text-align: left;
  font-size: 16px;
  color: #333;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
  min-height: 68px;
}

.values-list li span {
  font-size: 22px;
  color: #f24b0b;
  flex-shrink: 0;
  margin-top: 2px;
}

.values-list li strong {
  color: #007a52;
  font-weight: 700;
}

.values-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
  background: #f9fffc;
}

/* MOBILE: Stack emoji on top-right, content left */
@media (max-width: 600px) {
  .hero-brand { flex-direction: column; text-align: center; }
  .hero h1 { font-size: 56px; }
  .hero-logo { width: 70px; height: 70px; }

  section { padding: 40px 24px; }
  section h2 { font-size: 26px; }

  .values-list li {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
    gap: 6px;
  }

  .values-list li span {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 20px;
    margin-top: 0;
  }

  .values-list li strong {
    display: block;
    font-size: 16px;
    margin-bottom: 2px;
  }

  .values-list li::after {
    content: "";
    display: block;
    height: 1px;
    width: 100%;
    background: #eaeaea;
    margin-top: 8px;
    opacity: 0.4;
  }
}

/* TEAM */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  margin-top: 40px;
}
.team-member {
  text-align: center;
  animation: float 5s ease-in-out infinite;
}
.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f24b0b;
  transition: transform 0.3s ease;
}
.team-member img:hover,
.team-member img:focus {
  transform: scale(1.05);
}
.team-member h3 {
  margin-top: 12px;
  font-size: 18px;
  color: #007a52;
}
.team-member p {
  font-size: 14px;
  color: #555;
}

/* PARTNERS */
.partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.partner-card {
  background: #ffffffcc;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.partner-card:hover,
.partner-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.partner-card img {
  width: 100%;
  max-width: 120px;
  margin: 0 auto;
  display: block;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}
.partner-card:hover img,
.partner-card:focus-within img {
  filter: grayscale(0%);
}

/* FOOTER */
footer {
  margin-top: auto;
  background: #ffffffee;
  border-top: 1px solid #eaeaea;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  color: #666;
}

/* ANIMATIONS */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* RESPONSIVE FALLBACK */
@media (max-width: 768px) {
  section { padding: 40px 30px; }
}

/* TRUST SECTION — Ufq Signature Style */
.trust-section {
  padding: 120px 20px;
  text-align: center;
  background: transparent;
  animation: revealUp 1.2s ease forwards;
  position: relative;
}

/* Underline Burst */
.trust-section::after {
  content: "";
  width: 160px;
  height: 4px;
  background: #f24b0b;
  display: block;
  margin: 28px auto 0;
  border-radius: 3px;
  animation: growLine 1.2s ease;
}

@keyframes growLine {
  0% { width: 0; opacity: 0; }
  100% { width: 160px; opacity: 1; }
}

/* Bigger, bold brand-colored numbers */
.trust-number {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 180px;               /* larger, premium */
  color: #f24b0b;                 /* brand color */
  line-height: 1;
  margin-bottom: 20px;
  display: inline-block;
  min-width: 400px;               /* prevent jumping */
}

/* Plus sign sizing */
.trust-number .plus {
  font-size: 120px;
  vertical-align: baseline;
}

/* Text matches other section text */
.trust-text {
  font-size: 26px;
  color: #444;
  font-weight: 500;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.95;
}

/* Fade/slide animation */
@keyframes revealUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive scaling */
@media (max-width: 1024px) {
  .trust-number { font-size: 150px; }
  .trust-number .plus { font-size: 100px; }
}

@media (max-width: 768px) {
  .trust-number { font-size: 120px; min-width: auto; }
  .trust-number .plus { font-size: 80px; }
  .trust-text { font-size: 22px; }
}

@media (max-width: 480px) {
  .trust-number { font-size: 90px; }
  .trust-number .plus { font-size: 60px; }
  .trust-text { font-size: 19px; }
}
