/* Home page (landing/index.html). */
.cfu-page {
  --navy: #102a43;
  --teal: #087f8c;
  --mint: #d9f5ef;
  --ink: #172b40;
  --muted: #65778a;
  font-family: IRANYekan, Tahoma, sans-serif; /* the site font (local), like every other page */
  direction: rtl;
  text-align: right;
  color: var(--ink);
  background: #fff;
  overflow: hidden;
}
.cfu-page * {
  box-sizing: border-box;
}
.cfu-page a {
  text-decoration: none;
}
.cfu-page h1,
.cfu-page h2,
.cfu-page h3,
.cfu-page h4,
.cfu-page p {
  font-family: inherit;
}
.cfu-wrap {
  width: min(1160px, calc(100% - 36px));
  margin: auto;
}
.cfu-hero {
  position: relative;
  min-height: 640px;
  background:
    linear-gradient(112deg, rgba(8, 35, 59, 0.98) 8%, rgba(9, 58, 76, 0.91) 54%, rgba(4, 86, 92, 0.65)),
    url("https://images.unsplash.com/photo-1530549387789-4c1017266635?auto=format&fit=crop&w=1800&q=85") center/cover;
  color: white;
  display: flex;
  align-items: center;
  padding: 95px 0 110px;
}
.cfu-hero:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 55px;
  background: #fff;
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}
.cfu-hero-content {
  position: relative;
  z-index: 1;
  max-width: 730px;
}
.cfu-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ffffff50;
  background: #ffffff16;
  border-radius: 50px;
  padding: 9px 17px;
  font-size: 13px;
  color: #d5faf1;
  margin-bottom: 22px;
}
.cfu-eyebrow:before {
  content: "";
  width: 8px;
  height: 8px;
  background: #64e7cb;
  border-radius: 50%;
}
.cfu-hero h1 {
  font-size: clamp(35px, 5vw, 65px);
  font-weight: 900;
  line-height: 1.65;
  color: white;
  margin: 0 0 15px;
}
.cfu-hero h1 span {
  color: #75e2d0;
}
.cfu-hero p {
  font-size: 16px;
  line-height: 2.3;
  color: #e0ebef;
  max-width: 650px;
}
.cfu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 29px;
}
.cfu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 25px;
  border-radius: 13px;
  font-weight: 800;
  font-size: 14px;
  transition: 0.2s;
}
.cfu-btn:hover {
  transform: translateY(-3px);
  text-decoration: none;
}
.cfu-btn-primary {
  background: #54d6be;
  color: #07364b !important;
}
.cfu-btn-outline {
  border: 1px solid #ffffff80;
  color: white !important;
}
.cfu-section {
  padding: 85px 0;
}
.cfu-soft {
  background: #f3f8fa;
}
.cfu-section-head {
  margin-bottom: 32px;
}
.cfu-kicker {
  display: block; /* its own line above the heading (the h2 is inline-block for its underline) */
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #087f8c;
}
.cfu-section-head h2 {
  font-size: clamp(25px, 3vw, 35px);
  font-weight: 900;
  color: #102a43;
  margin: 12px 0;
}
.cfu-section-head p {
  color: #65778a;
  line-height: 2.1;
  max-width: 780px;
}
.cfu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.cfu-card {
  border: 1px solid #e4edf0;
  border-radius: 20px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(16, 42, 67, 0.045);
  transition: 0.25s;
  height: 100%;
}
.cfu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(16, 42, 67, 0.1);
}
.cfu-icon {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border-radius: 15px;
  background: #e0f5f1;
  color: #087f8c;
  font-size: 27px;
  margin-bottom: 20px;
}
.cfu-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #16344c;
  margin: 0 0 12px;
}
.cfu-card p {
  font-size: 14px;
  line-height: 2.2;
  color: #65778a;
  margin: 0;
}
.cfu-stats {
  background: linear-gradient(110deg, #0b304c, #087f8c);
  color: white;
  padding: 55px 0;
}
.cfu-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cfu-stat {
  text-align: center;
  padding: 15px;
}
.cfu-stat strong {
  display: block;
  font-size: 34px;
  color: #fff;
  font-weight: 900;
}
.cfu-stat span {
  color: #d9f2f1;
  font-size: 14px;
}
.cfu-people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.cfu-profile {
  border: 1px solid #e6edef;
  border-radius: 18px;
  background: #fff;
  padding: 25px;
  text-align: center;
}
.cfu-profile img {
  width: 105px;
  height: 105px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 15px;
}
.cfu-profile h3 {
  font-size: 17px;
  font-weight: 800;
}
.cfu-profile p {
  font-size: 13px;
  color: #71818c;
  line-height: 1.9;
}
.cfu-link {
  color: #087f8c;
  font-weight: 800;
  font-size: 14px;
}
.cfu-places {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.cfu-place {
  overflow: hidden;
  border-radius: 18px;
  background: white;
  border: 1px solid #e7eef1;
}
.cfu-place img {
  width: 100%;
  height: 195px;
  object-fit: cover;
}
.cfu-place-body {
  padding: 22px;
}
.cfu-place h3 {
  font-size: 17px;
  font-weight: 800;
}
.cfu-place p {
  font-size: 13px;
  line-height: 2;
  color: #6c7c88;
}
.cfu-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.cfu-blog-card {
  overflow: hidden;
  border: 1px solid #e6edef;
  border-radius: 20px;
  background: #fff;
}
.cfu-blog-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.cfu-blog-body {
  padding: 23px;
}
.cfu-blog-meta {
  font-size: 12px;
  color: #7c8a96;
  margin-bottom: 12px;
}
.cfu-blog-card h3 {
  font-size: 18px;
  line-height: 1.9;
  font-weight: 800;
}
.cfu-blog-card p {
  color: #6b7c88;
  font-size: 13px;
  line-height: 2;
  min-height: 74px;
}
.cfu-blog-card a {
  color: #087f8c;
  font-weight: 800;
}
.cfu-recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cfu-recommend-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 16px;
}
.cfu-cta {
  padding: 65px 0;
  background: #e9f8f5;
  text-align: center;
}
.cfu-cta h2 {
  font-size: 30px;
  font-weight: 900;
  color: #12354b;
}
.cfu-cta p {
  color: #52717a;
  line-height: 2;
}
.cfu-empty {
  grid-column: 1/-1;
  padding: 25px;
  border: 1px dashed #c9dade;
  border-radius: 14px;
  color: #73838b;
  text-align: center;
}
.cfu-page .cfu-section a:hover {
  color: #075e69;
}
.cfu-inline-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.cfu-hero-logo {
  height: 58px;
  width: auto;
  margin-bottom: 18px;
  object-fit: contain;
  background: #fff;
  padding: 7px;
  border-radius: 12px;
}
.cfu-fallback {
  background: #e8f1f3;
}
.cfu-page .cfu-card,
.cfu-page .cfu-blog-card {
  direction: rtl;
}
@media (max-width: 900px) {
  .cfu-grid,
  .cfu-people,
  .cfu-places,
  .cfu-blog-grid,
  .cfu-recommend-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cfu-hero {
    min-height: 570px;
  }
  .cfu-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .cfu-grid,
  .cfu-people,
  .cfu-places,
  .cfu-blog-grid,
  .cfu-recommend-grid {
    grid-template-columns: 1fr;
  }
  .cfu-section {
    padding: 58px 0;
  }
  .cfu-hero {
    min-height: 570px;
    padding: 70px 0 95px;
  }
  .cfu-hero h1 {
    font-size: 35px;
  }
  .cfu-hero p {
    font-size: 14px;
  }
  .cfu-stat strong {
    font-size: 27px;
  }
  .cfu-inline-header {
    align-items: start;
    flex-direction: column;
  }
  .cfu-btn {
    width: 100%;
  }
  .cfu-actions {
    flex-direction: column;
  }
}
.cfu-event-placeholder {
  height: 210px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0d4058, #168b8c);
  color: #fff;
  font-weight: 800;
  font-size: 22px;
}
.cfu-page .cfu-hero {
  min-height: 560px;
}
.cfu-page .cfu-hero h1 {
  max-width: 780px;
}
.cfu-page .cfu-hero p {
  max-width: 720px;
}

/* ---------------------------------------------------------------- images that are loading or cannot load
 * The media boxes keep their size and a soft background; the alt text is never painted in place of a picture
 * (cfu-ui.js swaps in the data-fallback placeholder when an image fails). */
.cfu-page img {
  color: transparent;
}
.cfu-place > a,
.cfu-blog-card > a:first-child {
  display: block;
  overflow: hidden;
  background: #e9f4f6;
}
.cfu-profile img {
  display: block;
  background: #e3f1f3;
}

/* ---------------------------------------------------------------- "view all" link next to a section heading */
.cfu-inline-header {
  align-items: flex-end;
  margin-bottom: 32px;
}
.cfu-inline-header .cfu-section-head {
  margin-bottom: 0;
}
.cfu-inline-header .cfu-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: 1.5px solid #cde6ea;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  white-space: nowrap;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.cfu-inline-header .cfu-link:hover {
  border-color: #087f8c;
  background: #effafb;
}
@media (max-width: 900px) {
  .cfu-inline-header {
    align-items: flex-start; /* stacked: the link sits under the heading, on the reading side */
    gap: 14px;
  }
}
