body {
  margin: 0;
  font-family: Arial;
  background: #f8fbff;
  color: #1e3a8a;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

h1, h2 {
  color: #1e3a8a;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.navbar {
  background: #fffafa;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar nav {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.navbar a {
  margin-left:40px;
  text-decoration: none;
  color: #1e3a8a;
}

.btn-nav {
  background: #3b82f6;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
}

.logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.navbar .logo {
  height: 70px;
}

.about-hero {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(to right, #e0f2fe, #f8fbff);
  border-radius: 0 0 40px 40px;
}

.about-hero h1 {
  font-size: 42px;
}

.desc {
  margin-top: 20px;
  line-height: 25px;
  color: #555;
}

.experience {
  padding: 60px 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.split-image {
  position: relative;   
}

.split-image::after {
  content: "";
  position: absolute;
  inset: 0;  
  background: linear-gradient(to right, rgba(59,130,246,0.2), transparent);
  border-radius: 20px;  
}


.split-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
}

.split-text {
  line-height: 25px;
}

.split-text ul {
  line-height: 50px;
}

.floating-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: white;
  padding: 10px 15px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  font-size: 14px;
}

.mission {
  text-align: center;
  padding: 60px 0;
}

.cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  width: 280px;
  line-height: 25px;
}

.team {
  text-align: center;
  padding: 60px 0;
}

.team .cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 30px; 
  justify-items: center; 
}

.team-member {
  position: relative;
  text-align: center;
  padding: 20px;              
  border-radius: 20px;        
  background: white;          
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  overflow: hidden;           
}

.team-member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;        
  margin-bottom: 15px;
  transition: transform 0.5s ease;
}

.team-member:hover img {
  transform: scale(1.1);
}

.team-member::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;        
  background: transparent;
  transition: background 0.4s;
  z-index: 1;
}

.team-member:hover::after {
  background: linear-gradient(to top, rgba(59,130,246,0.7), transparent);
}

.team-member h3,
.team-member p {
  position: relative;
  z-index: 2;
}

footer {
  text-align: center;
  padding: 20px;
  background: #e0f2fe;
}

.socials {
  margin-top: 15px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #e0f2fe;
  border-radius: 50%;
  color: #1e3a8a;
  font-size: 18px;
}

.socials a:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-3px);
  transition: 0.3s;
}

@media (max-width: 992px) {
  .split-grid {
    grid-template-columns: 1fr;   
    text-align: center;
  }

  .team .cards {
    grid-template-columns: repeat(2, 1fr); 
  }

  .about-hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .nav-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .navbar nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .navbar a {
    margin: 8px 0;
    padding: 10px;
    width: 100%;
    text-align: center;
    border-radius: 8px;
    background: #f8fbff;
  }

  .btn-nav {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  .team .cards {
    grid-template-columns: 1fr; 
  }

  .about-hero h1 {
    font-size: 28px;
  }

  .card {
    width: 100%; 
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto; 
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #1e3a8a; 
  border-radius: 2px;
  transition: 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-toggle span {
  transition: 0.3s;
}

@media (max-width: 480px) {
  .nav-toggle {
      display: flex; 
  }

  .navbar nav {
    display: none; 
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
    background: #fffafa;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }

  .navbar nav.active {
    display: flex; 
  }

  .nav-flex {
    padding: 15px;
  }

  .navbar a {
    font-size: 16px;
    margin: 6px 0;
  }

  .btn-nav {
    font-size: 16px;
    padding: 10px;
  }

  .about-hero {
    padding: 40px 0;
  }

  .about-hero h1 {
    font-size: 22px;
  }

  .split-image img {
    height: 200px; 
  }

  .floating-card {
    font-size: 12px;
    padding: 8px 12px;
  }

  .socials a {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}
