﻿:root {
  --green-dark: #14472a;
  --green: #27ae60;
  --green-light: #e6f6ed;
  --green-accent: #95eab8;
  --gray: #f6f6f6;
  --white: #fff;
  --black: #14211c;
  --shadow: 0 6px 36px rgba(20, 70, 50, 0.09);
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--white);
  color: var(--black);
  margin: 0;
  padding: 0;
}
a { color: inherit; text-decoration: none; }
header {
  background: linear-gradient(135deg, var(--green-light), var(--green-accent) 85%);
  box-shadow: var(--shadow);
}
.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px 22px;
  max-width: 1320px;
  margin: 0 auto;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 120px;
}
.header-logo img {
  width: auto; height: auto; border-radius: 0; background: transparent;
  object-fit: contain;
  max-height: 60px;
}
.header-logo-main {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-logo-main img {
  height: 60px;
  width: auto;
}
.header-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--green-dark);
  display: none;
}
.header-contact {
  font-weight: 600;
  font-size: 18px;
  color: var(--green-dark);
  background: var(--green-accent);
  padding: 10px 32px 10px 32px;
  border-radius: 27px;
  margin: 0 22px;
}
@media (max-width: 800px) {
  .top-header { flex-direction: column; gap: 12px; padding: 18px 8px;}
  .header-contact { margin: 0; }
}

/* Hero/First Strip */
.hero {
  padding: 64px 20px 36px 20px;
  text-align: center;
  background: linear-gradient(122deg, var(--green-accent) 10%, var(--green-light) 90%);
}
.hero-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 42px;
  letter-spacing: 0.04em;
}
.startups-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-bottom: 20px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  align-items: start;
}
@media (max-width: 1180px) {
  .startups-grid { grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 700px) {
  .startups-grid { grid-template-columns: 1fr;}
  .hero-title { font-size: 26px;}
  .startup-card {
    min-height: auto;
    padding: 24px 20px 24px 20px;
    border: 2.5px solid var(--green);
  }
  .startup-desc {
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    text-align: center;
  }
  .startup-hover {
    font-size: 14px;
    line-height: 1.4;
    padding: 18px 16px 18px 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
  }
}
.startup-card {
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 320px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow .19s, transform .19s;
}
.startup-card:hover, .startup-card:focus-visible {
  box-shadow: 0 18px 48px rgba(30,70,40,0.19);
  transform: translateY(-2px) scale(1.03);
}
.startup-logo {
  width: auto; height: 100px;
  border-radius: 16px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 28px;
  padding: 8px;
  flex-shrink: 0;
}
.startup-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.startup-logo img[alt="Be Abo"] {
  width: auto;
  height: 230%;
  max-height: 230%;
  object-fit: contain;
}
.startup-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 13px;
  text-align: center;
}
.startup-desc {
  font-size: 15px;
  color: #2b493a;
  text-align: center;
  min-height: 48px;
  z-index: 2;
  position: relative;
}
.startup-hover {
  display: none;
}
.startup-card:hover .startup-hover, .startup-card:focus-visible .startup-hover {
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  padding: 20px 18px 20px 18px;
  background: rgba(31, 142, 82, 0.95);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  min-height: auto;
  max-height: none;
  z-index: 3;
  pointer-events: none;
  text-align: left;
  line-height: 1.5;
  animation: fadeInUp .2s;
  box-sizing: border-box;
}
@media (hover: none) and (pointer: coarse) {
  .startup-hover {
    display: block !important;
    position: relative;
    background: rgba(31, 142, 82, 0.80);
    color: var(--white);
    border-radius: 0 0 28px 28px;
    padding: 10px 13px 10px 13px;
    margin: 0;
    min-height: 0;
    font-size: 15px;
    text-align: center;
    animation: none;
  }
  .startup-card .startup-desc { opacity: 0; height: 0;}
}
@keyframes fadeInUp {
  from {opacity:.1; transform:translateY(22px);}
  to {opacity:1; transform:none;}
}

/* 2nd Strip: IT Services */
.strip {
  padding: 64px 20px 40px 20px;
  background: var(--green-light);
  border-top: 1.5px solid var(--green-accent);
  border-bottom: 1.5px solid var(--green-accent);
}
.strip-title {
  font-size: 29px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 36px;
  text-align: center;
  letter-spacing: 0.015em;
}
.it-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 920px) {
  .it-grid { grid-template-columns: 1fr;}
}
@media (max-width: 700px) {
  .it-card {
    min-height: auto;
    padding: 20px 16px 20px 16px;
  }
  .it-desc {
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .it-hover {
    font-size: 14px;
    line-height: 1.4;
    padding: 16px 14px 16px 14px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}
.it-card {
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 28px 24px 22px 24px;
  min-height: 200px;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: box-shadow .17s,transform .13s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.it-card:hover, .it-card:focus-visible {
  box-shadow: 0 16px 40px rgba(35, 130, 66, 0.13);
  transform: scale(1.02) translateY(-3px);
}
.it-illustr {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px auto;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--green-accent) 50%, var(--green-light) 100%);
  display: flex;
  align-items: center; justify-content: center;
  color: var(--green-dark);
  font-size: 32px;
  padding: 8px;
}
.it-illustr img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.it-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.it-desc {
  font-size: 15px;
  color: #24513d;
  min-height: 38px;
  z-index:2;
  position:relative;
}
.it-hover {
  display: none;
}
.it-card:hover .it-hover, .it-card:focus-visible .it-hover {
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: rgba(31, 142, 82, 0.95);
  color: var(--white);
  font-size: 15px;
  padding: 18px 18px 18px 18px;
  border-radius: 0 0 28px 28px;
  animation: fadeInUp .19s;
  min-height: auto;
  max-height: none;
  z-index: 3;
  pointer-events: none;
  line-height: 1.5;
  box-sizing: border-box;
}
@media (hover: none) and (pointer: coarse) {
  .it-hover {
    display: block !important;
    position: relative;
    background: rgba(31, 142, 82, 0.80);
    color: var(--white);
    border-radius: 0 0 28px 28px;
    padding: 10px 7px 10px 7px;
    min-height: 0;
    font-size: 15px;
    animation: none;
  }
  .it-card .it-desc { opacity: 0; height: 0;}
}

/* 3rd Strip: About Company */
.about-strip {
  padding: 62px 18px 50px 18px;
  background: var(--white);
  display: flex;
  max-width: 1220px;
  margin: 0 auto;
  gap: 55px;
  align-items: center;
  border-bottom: 2px solid var(--green-light);
}
.about-img {
  width: 280px; min-width: 170px; max-width: 330px;
  height: 280px;
  border-radius: 36px;
  object-fit: cover;
  background: var(--green-accent);
  box-shadow: 0 20px 60px rgba(25,80,45,0.11);
  display: block;
}
.about-content {
  flex: 1 1 0;
  max-width: 650px;
}
.about-title {
  font-size: 27px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 14px;
  letter-spacing: 0.012em;
}
.about-text {
  font-size: 16px;
  margin-bottom: 17px;
  color: #203526;
  line-height: 1.4;
}
.about-list {
  color: #243f28;
  font-size: 16px;
  padding-left: 18px;
  margin: 0;
  list-style: disc;
  line-height: 1.8;
}
@media (max-width: 1000px) {
  .about-strip {flex-direction: column; gap: 22px;}
  .about-img { margin-bottom: 18px;}
}
@media (max-width: 700px) {
  .about-strip {
    padding: 40px 16px 36px 16px;
    align-items: center;
  }
  .about-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: auto;
    object-fit: contain;
  }
  .about-content {
    max-width: 100%;
    width: 100%;
  }
  .about-title {
    font-size: 20px;
    text-align: center;
  }
  .about-text {
    font-size: 15px;
    text-align: center;
  }
  .about-list {
    font-size: 15px;
  }
}

/* 4th Strip: Team */
.team-strip {
  padding: 56px 16px 38px 16px;
  background: var(--green-light);
  border-bottom: 1.5px solid var(--green-accent);
}
.team-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 40px;
}
.team-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 38px;
  justify-content: center;
}
@media (max-width: 950px) {
  .team-grid { grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr;}
}
.team-member {
  background: var(--white);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 35px 10px 24px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 260px;
  transition: box-shadow .15s;
}
.team-member:hover {
  box-shadow: 0 14px 40px rgba(25,110,63,0.09);
}
.team-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--green-accent);
  margin-bottom: 17px;
  border: 5px solid #fff;
  box-shadow: 0 2px 11px rgba(38,110,70,0.08);
}
.team-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 4px;
  text-align: center;
}
.team-pos {
  color: #1f3631;
  font-size: 15px;
  margin-bottom: 7px;
  text-align: center;
  font-weight: 500;
}
.team-bio {
  color: #314c3b;
  font-size: 15px;
  text-align: center;
}

/* 5th: Contacts */
.contacts-strip {
  padding: 60px 14px 36px 14px;
  background: var(--white);
  border-bottom: 2px solid var(--green-light);
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 38px;
  justify-content: space-evenly;
}
.contacts-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  gap:7px;
}
.contacts-qr img {
  width: 116px; height: 116px;
  background: var(--green-light);
  border-radius: 22px;
  border: 3px solid #bfead2;
  margin-bottom: 7px;
}
.contacts-info {
  font-size: 17px;
  color: #1d3830;
  font-weight: 500;
  margin-bottom: 8px;
}
.contacts-list {
  font-size: 16px;
  color: #14211c;
  margin-bottom: 7px;
  font-weight: 500;
}
.contacts-tg {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--green-accent);
  border-radius: 19px;
  padding: 8px 16px;
  font-size: 16px;
  margin-bottom:7px;
  font-weight: 600;
}
.contacts-tg svg {width: 22px;height:22px;}
@media(max-width:700px){
  .contacts-strip {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 16px 30px 16px;
  }
  .contacts-qr {
    width: 100%;
    align-items: center;
    margin-bottom: 24px;
  }
  .contacts-qr img {
    margin: 0 auto 12px auto;
  }
  .contacts-info {
    text-align: center;
  }
  .contacts-tg {
    justify-content: center;
    margin: 0 auto;
  }
  .contacts-list {
    text-align: center;
    width: 100%;
  }
}

/* Footer */
footer {
  background: var(--green-dark);
  color: var(--white);
  font-size: 15px;
  padding: 32px 0 25px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-left: 32px; padding-right: 32px;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
}
.footer-logo img {
  width: auto;
  height: 50px;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}
.footer-mid {
  font-size: 14px;
  color: var(--green-accent);
  font-weight: 500;
}
.footer-contact {
  color: var(--green-accent);
  font-size: 15px;
  font-weight: 600;
  margin: 0 13px;
}
.footer-socials {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-left: auto;
}
.footer-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--green-accent); color: var(--green-dark);
  transition: background .13s;
  padding: 0;
  overflow: hidden;
}
.footer-socials a:hover { background: #38e598; color: #14472a;}
.footer-socials a img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
@media(max-width:800px){
  footer {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 16px 25px 16px;
  }
  .footer-left {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }
  .footer-logo img {
    height: 40px;
  }
  .footer-left span {
    text-align: center;
    font-size: 14px;
  }
  .footer-mid {
    text-align: center;
    width: 100%;
    font-size: 13px;
  }
  .footer-contact {
    text-align: center;
    width: 100%;
    margin: 0;
    font-size: 14px;
  }
  .footer-socials {
    justify-content: center;
    width: 100%;
    margin-top: 0;
  }
}
