
/* GLOBAL  */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* NAVBAR  */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  z-index: 1000;
}

.navbar .logo img {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #2c7be5;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
}

/* HERO  */
.hero-about {
  margin-top: 90px; /* offset for fixed navbar */
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url("images/aboumoyone.jpeg") center/cover no-repeat;
}

.hero-about h1 {
  font-size: 3rem;
  line-height: 1.2;
}

/*  SECTIONS  */
section {
  padding: 80px 20px;
}

section h2 {
  text-align: center;
  margin-bottom: 50px;
  color: #2c7be5;
}
h3,h4
{ 
  color: #2c7be5;
}

/* GLASS  */
.glass {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  max-width: 1100px;
  margin: auto;
}

/*  FLEX  */
.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.card {
  flex: 1 1 300px;
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
}

/*  VALUES  */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.value:hover {
  transform: scale(1.05);
}

/*  TEAM  */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.member {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.member h4 {
  margin: 15px 0 10px;
  color: #2c7be5;
}

.member:hover {
  transform: translateY(-8px);
}


/* file download */
.about-download {
  text-align: center;
  padding: 60px 8%;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.about-download h2 {
  font-size: 28px;
  color: #0570b4;
  margin-bottom: 15px;
}

.about-download p {
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}

.download-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #0570b4;
  color: #fff;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s ease;
}

.download-btn i {
  margin-right: 8px;
}

.download-btn:hover {
  background: #034f7d;
}


/* TIMELINE  */
.timeline {
  border-left: 4px solid #2c7be5;
  padding-left: 50px;
  position: relative;
}

.timeline div {
  position: relative;
  margin-bottom: 50px;
  padding-left: 25px;
}

.timeline div::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 0;
  width: 18px;
  height: 18px;
  background: #2c7be5;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 8px rgba(0,0,0,0.15);
}

/*  COUNTERS  */
.counter-section {
  background: #222;
  color: #fff;
  text-align: center;
}

.counters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.counter h2 {
  font-size: 2.5rem;
  color: #2c7be5;
}

/* ANIMATIONS  */
section, .glass, .card, .value, .member, .timeline div {
  opacity: 1; /* visible by default */
  transform: translateY(0);
  transition: all 0.8s ease-out;
}

section.active, .glass.active, .card.active, .value.active, .member.active, .timeline div.active {
  opacity: 1;
  transform: translateY(0);
}

/*  RESPONSIVE  */
@media (max-width: 992px) {
  .flex {
    flex-direction: column;
    align-items: center;
  }

  .values-grid,
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    text-align: center;
    top: 70px;
    right: 0;
    width: 100%;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero-about h1 {
    font-size: 2rem;
  }

  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .counters {
    flex-direction: column;
    gap: 20px;
  }

  section {
    padding: 50px 15px;
  }

  .timeline {
    padding-left: 35px;
  }

  .timeline div::before {
    left: -18px;
    width: 16px;
    height: 16px;
  }
}


    /* FOOTER */
.footer { 
    background:#222; 
    color:white; 
    padding:60px 50px 30px; 
    margin-top:50px; 
}

.footer-container { 
    display:flex; 
    justify-content:space-between; 
    flex-wrap:wrap; 
    gap:30px; 
}
.footer h3 { 
    margin-bottom:15px; 
    font-size:1.5rem; 
       color: #2c7be5;
}
.footer p, .footer a { 
    color:#ccc; 
    font-size:1rem; 
    text-decoration:none; 
    line-height:1.8; 
}

.footer-links ul { 
    list-style:none; 
}
.footer-links ul li a:hover { 
       color: #2c7be5;
}
.footer-socials { 
    display:flex; 
    gap:15px; 
    margin-top:10px; 
}
.footer-bottom { 
    text-align:center; 
    margin-top:40px; 
    border-top:1px solid #444; 
    padding-top:15px; 
    font-size:0.9rem; 
    color:#aaa; 
}