/* Kifedha custom styles */
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #F7FAFC;
  color: #0A2540;
  margin: 0;
  padding: 0;
}
.kf-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(10,37,64,0.97);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
  box-shadow: 0 2px 12px rgba(10,37,64,0.07);
  transition: background 0.3s;
}
.kf-navbar-logo {
  height: 44px;
}
.kf-navbar-menu {
  display: flex;
  gap: 32px;
}
.kf-navbar-menu a {
  color: #C6FF00;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.kf-navbar-menu a:hover {
  color: #1DE9B6;
}
.kf-hero, .kf-hero * { color: white !important; }
.kf-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(120deg, #0A2540 60%, #1DE9B6 100%);
  padding: 120px 0 60px 0;
  min-height: 520px;
  position: relative;
  overflow: hidden;
}
.kf-hero-content {
  flex: 1 1 50%;
  padding-left: 8vw;
  z-index: 2;
}
.kf-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 1px;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 16px rgba(10,37,64,0.12);
  animation: fadeInUp 1s 0.1s both;
}
.kf-hero-sub {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 36px;
  color: #C6FF00;
  animation: fadeInUp 1s 0.3s both;
}
.kf-btn-main {
  background: linear-gradient(90deg, #1DE9B6 60%, #C6FF00 100%);
  color: #0A2540;
  border: none;
  border-radius: 32px;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  margin-top: 10px;
  box-shadow: 0 4px 24px rgba(29,233,182,0.12);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  animation: fadeInUp 1s 0.5s both;
}
.kf-btn-main:hover {
  background: linear-gradient(90deg, #C6FF00 60%, #1DE9B6 100%);
  color: #0A2540;
  box-shadow: 0 8px 32px rgba(198,255,0,0.18);
}
.kf-hero-illustration {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: fadeInRight 1.2s 0.2s both;
}
.kf-hero-illustration svg {
  width: 340px;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(29,233,182,0.12));
}
.kf-hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  width: 100%;
  z-index: 1;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: none; }
}
.kf-how {
  background: #fff;
  padding: 80px 0 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s 0.2s both;
}
.kf-how-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: #0A2540;
  margin-left: 70px;
}
.kf-how-steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.kf-how-step {
  background: linear-gradient(120deg, #E3F9F6 60%, #C6FF00 100%);
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(10,37,64,0.07);
  padding: 40px 28px;
  width: 260px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: fadeInUp 1s 0.3s both;
}
.kf-how-step:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 12px 36px rgba(29,233,182,0.18);
}
.kf-how-step svg {
  width: 48px; height: 48px; margin-bottom: 18px;
}
.kf-how-step-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.kf-how-step-desc {
  font-size: 1rem;
  color: #0A2540;
  opacity: 0.8;
}
.kf-wave-bottom {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  width: 100%;
  z-index: 1;
}
.kf-features {
  background: linear-gradient(120deg, #E3F9F6 60%, #1DE9B6 100%);
  padding: 80px 0 40px 0;
  text-align: center;
  position: relative;
  animation: fadeInUp 1s 0.3s both;
}
.kf-features-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: #0A2540;
  margin-left: 70px;
}
.kf-features-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.kf-feature {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(10,37,64,0.07);
  padding: 40px 28px;
  width: 260px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: fadeInUp 1s 0.4s both;
}
.kf-feature:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 12px 36px rgba(10,37,64,0.18);
}
.kf-feature svg {
  width: 48px; height: 48px; margin-bottom: 18px;
}
.kf-feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.kf-feature-desc {
  font-size: 1rem;
  color: #0A2540;
  opacity: 0.8;
}
.kf-stats, .kf-stats * { color: white !important; }
.kf-stats {
  background: linear-gradient(120deg, #0A2540 60%, #1DE9B6 100%);
  padding: 80px 0 40px 0;
  text-align: center;
  position: relative;
  animation: fadeInUp 1s 0.4s both;
}
.kf-stats-list {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.kf-stat {
  min-width: 180px;
  margin-bottom: 24px;
}
kf-stat-value {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.kf-stat-label {
  font-size: 1.1rem;
  opacity: 0.85;
}
.kf-testimonials {
  background: #fff;
  padding: 80px 0 40px 0;
  text-align: center;
  animation: fadeInUp 1s 0.5s both;
}
.kf-testimonials-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: #0A2540;
}
.kf-testimonials-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.kf-testimonial {
  background: #E3F9F6;
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(10,37,64,0.07);
  padding: 40px 28px;
  width: 320px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: fadeInUp 1s 0.6s both;
}
.kf-testimonial:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 12px 36px rgba(29,233,182,0.18);
}
.kf-testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 18px;
  color: #0A2540;
}
.kf-testimonial-author {
  font-weight: 700;
  color: #0A2540;
}
.kf-cta {
  background: #C6FF00;
  color: #0A2540 !important;
  text-align: center;
  padding: 64px 0 48px 0;
  animation: fadeInUp 1s 0.7s both;
}
.kf-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.kf-cta-btn {
  background: #0A2540;
  color: #C6FF00;
  border: none;
  border-radius: 32px;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 10px;
}
.kf-cta-btn:hover {
  background: #1DE9B6;
  color: #0A2540;
}
.kf-footer, .kf-footer * { color: white !important; }
.kf-footer {
  background: #0A2540;
  padding: 48px 0 24px 0;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.kf-footer-col {
  flex: 1 1 240px;
  min-width: 200px;
  margin-bottom: 16px;
  text-align: center;
}
.kf-footer-logo {
  width: 120px;
  margin-bottom: 18px;
}
.kf-footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.kf-footer-menu a {
  color: #C6FF00;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.kf-footer-menu a:hover {
  color: #1DE9B6;
}
.kf-footer-social {
  margin-top: 18px;
  display: flex;
  gap: 16px;
  justify-content: center;
}
.kf-footer-social a {
  color: #1DE9B6;
  font-size: 1.4rem;
  transition: color 0.2s;
}
.kf-footer-social a:hover {
  color: #C6FF00;
}
.kf-footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 24px;
  color: #E3F9F6;
  font-size: 0.95rem;
}
@media (max-width: 1100px) {
  .kf-hero { flex-direction: column; padding: 100px 0 40px 0; }
  .kf-hero-content, .kf-hero-illustration { padding-left: 0; }
  .kf-footer { flex-direction: column; gap: 0; text-align: center; align-items: center; }
  .kf-footer-col { margin-bottom: 24px; text-align: center; }
}
@media (max-width: 900px) {
  .kf-navbar { padding: 0 16px; }
  .kf-navbar-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(10,37,64,0.97);
    flex-direction: column;
    gap: 0;
    z-index: 2000;
    box-shadow: 0 8px 32px rgba(10,37,64,0.12);
    padding: 0;
    text-align: left;
  }
  .kf-navbar-menu.open {
    display: flex;
  }
  .kf-navbar-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    cursor: pointer;
    margin-left: 12px;
    z-index: 2100;
  }
  .kf-navbar-burger span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: #C6FF00;
    border-radius: 2px;
    transition: 0.3s;
  }
  .kf-how-steps, .kf-features-list, .kf-stats-list, .kf-testimonials-list { flex-direction: column; gap: 24px; align-items: center; }
}
@media (min-width: 901px) {
  .kf-navbar-burger {
    display: none;
  }
}

/* FAQ Accordion — выравнивание */
.kf-faq-section {
  background: linear-gradient(120deg,#E3F9F6 60%,#C6FF00 100%);
  padding: 80px 0 40px 0;
}
.kf-faq-list {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 12px;
}
.kf-faq-item {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(10,37,64,0.07);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.kf-faq-item:last-child { margin-bottom: 0; }
.kf-faq-question {
  display: flex;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 20px 24px;
  cursor: pointer;
  color: #0A2540;
  background: #E3F9F6;
  border-left: 4px solid #1DE9B6;
  transition: background 0.2s;
}
.kf-faq-question i {
  color: #1DE9B6;
  margin-right: 14px;
  font-size: 1.3rem;
}
.kf-faq-toggle { display: none; }
.kf-faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #F7FAFC;
  color: #0A2540;
  padding: 0 24px;
  font-size: 1rem;
  border-left: 4px solid #C6FF00;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), padding 0.3s;
}
.kf-faq-toggle:checked ~ .kf-faq-answer {
  max-height: 200px;
  padding: 18px 24px 24px 24px;
}

/* Timeline — выравнивание */
.kf-timeline-section {
  background: linear-gradient(120deg,#0A2540 60%,#1DE9B6 100%);
  padding: 80px 0 40px 0;
}
.kf-timeline {
  position: relative;
  max-width: 800px;
  margin: 48px auto 0 auto;
  padding: 0 12px;
}
.kf-timeline:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #1DE9B6 0%, #C6FF00 100%);
  transform: translateX(-50%);
  z-index: 0;
}
.kf-timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
  width: 100%;
  justify-content: center;
}
.kf-timeline-item.left .kf-timeline-content,
.kf-timeline-item.right .kf-timeline-content {
  min-width: 320px;
  max-width: 340px;
  width: 340px;
}
.kf-timeline-dot {
  width: 20px;
  height: 20px;
  background: #fff;
  border: 4px solid #1DE9B6;
  border-radius: 50%;
  position: relative;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(29,233,182,0.15);
}
.kf-timeline-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(10,37,64,0.07);
  padding: 24px 32px;
  margin: 0 32px;
  position: relative;
  color: #0A2540;
  animation: fadeInUp 1s both;
}
.kf-timeline-year {
  font-size: 1.2rem;
  font-weight: 700;
  color: #C6FF00;
  margin-bottom: 8px;
}
.kf-timeline-desc {
  font-size: 1rem;
  color: #0A2540;
}
@media (max-width: 900px) {
  .kf-timeline:before { left: 16px; }
  .kf-timeline-item, .kf-timeline-item.left, .kf-timeline-item.right {
    flex-direction: column !important;
    align-items: flex-start;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  .kf-timeline-dot { left: 0; transform: none; margin-bottom: 12px; }
  .kf-timeline-content { margin: 0 0 0 32px; min-width: 0; width: 100%; max-width: 100%; }
}
@media (max-width: 768px) {
    .kf-timeline-item.left .kf-timeline-content, .kf-timeline-item.right .kf-timeline-content{
        max-width: 200px;
        min-width: 200px;
      }
}

/* Stepper — выравнивание */
.kf-stepper-section {
  background: #fff;
  padding: 80px 0 40px 0;
}
.kf-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin: 48px auto 0 auto;
  max-width: 1100px;
}
.kf-step {
  background: linear-gradient(120deg, #E3F9F6 60%, #C6FF00 100%);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(10,37,64,0.07);
  padding: 32px 24px 24px 24px;
  width: 220px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin: 0 0 0 0;
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 1;
}
.kf-step:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 12px 36px rgba(29,233,182,0.18);
}
.kf-step-num {
  background: #1DE9B6;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(29,233,182,0.15);
}
.kf-step-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
}
.kf-step-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #0A2540;
}
.kf-step-desc {
  font-size: 0.98rem;
  color: #0A2540;
  opacity: 0.85;
  text-align: center;
}
.kf-step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #1DE9B6;
  margin: 0 8px;
  height: 220px;
  z-index: 0;
}
@media (max-width: 1100px) {
  .kf-stepper { flex-direction: column; gap: 0; align-items: center; }
  .kf-step-arrow { display: none; }
  .kf-step {  min-width: 0; }
}