* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background:linear-gradient(135deg, #0a2c5d, #0e6f64); 
  color: white;
}

.achievements {
  padding: 80px 40px;
}

.container {
  max-width: 1300px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: #c4c3c3;
  margin-bottom: 50px;
}


.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}


.achievement-card:nth-child(-n + 3) {
  border: 1px solid rgba(255, 215, 0, 0.6);
  background: linear-gradient(180deg, #121212, #1a1a1a);
}

.achievement-card:nth-child(n + 4) {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.achievement-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.achievement-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.7);
}

.achievement-card img {
  width: 100%;
  height: 320px;
  object-fit: contain;     
  background: linear-gradient(135deg, #e6f0ff, #f6fffb);     /* clean backdrop */
  padding: 12px;
}

.info {
  padding: 18px;
  background: linear-gradient(180deg, #111, #1b1b1b);
  text-align: center;
}

.info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.exam {
  font-size: 14px;
  letter-spacing: 1px;
  color: #ffcc70;
}

.rank {
  display: inline-block;
  margin-top: 10px;
  
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.rank.gold {
  background: linear-gradient(45deg, gold, orange);
  color: #000;
}
.back-home {
    display: inline-block;
    margin: 20px;
    padding: 10px 15px;
    background:rgb(5, 120, 158);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 20;
}

.back-home:hover {
    background-color: #92c1f4;
}

.back-home i {
    margin-right: 8px;
}

.whatsapp-chat {
  position: fixed;
  bottom: 90px;
  right: 25px;
  background: #25d366;
  color: #fff;
  padding: 14px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 9999;
}

.whatsapp-chat i {
  font-size: 20px;
}

.whatsapp-chat:hover {
  background: #1ebe5d;
}

.footer-modern {
    background: linear-gradient(135deg, #0a2c5d, #0e6f64);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.footer-wave {
    height: 60px;
    background: #ffffff;
    border-bottom-left-radius: 100% 40px;
    border-bottom-right-radius: 100% 40px;
}

.footer-wrap {
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

.footer-brand h2 {
    font-size: 26px;
    color: #2ecc71;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: #e0e7f5;
}

.footer-badges {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-badges span {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
}
.footer-links ul,
.footer-links .sub-courses {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    padding: 0;
    margin: 0;
}

.footer-links h4 {
    font-size: 17px;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-links h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-links a {
    display: block;
    color: #e0e7f5;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
    color: #2ecc71;
    transform: translateX(6px);
}

.footer-links .sub-courses {
    display: block;
    margin-top: 6px;
    padding: 0;
    background: none;
    box-shadow: none;
}

.footer-links .sub-courses a {
    display: block;
    margin-left: 12px;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 400;
    color: #f5e0e7;
    text-decoration: none;
}

.footer-links .sub-courses a:hover {
    color: #2ecc71;
    transform: translateX(6px);
}

.footer-contact h4 {
    font-size: 17px;
    margin-bottom: 15px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #e0e7f5;
}

.footer-contact i {
    color: #2ecc71;
    margin-right: 6px;
}

.footer-map h4 {
    color: #fff;
    margin-bottom: 10px;
}

.footer-map iframe {
    border-radius: 10px;
}

.footer-cta {
    display: inline-block;
    margin-top: 48px;
    padding: 12px 32px;
    background: #2ecc71;
    color: #ffffff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.footer-cta:hover {
    background: #27ae60;
    transform: translateY(-2px);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.footer-social a:hover {
    background: #d7f8e5;
    color: #0a2c5d;
    transform: translateY(-3px);
}

.footer-copy {
    background: rgba(0, 0, 0, 0.25);
    text-align: center;
    padding: 15px;
    font-size: 14px;
    color: #e0e7f5;
}


/* ===== MOBILE-CSS ===== */
@media (max-width: 600px) {

 
  body {
    font-size: 14px;
  }

  .achievements {
    padding: 50px 15px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
  }

  .section-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
    text-align: center;
  }

  .achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    justify-items: center;
    margin-bottom: 30px;
  }

  @media (max-width: 400px) {
    .achievements-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
    }
  }

  .achievement-card {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .achievement-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.4);
  }

  .achievement-card img {
    width: 100%;
    height: 100px;          
    object-fit: contain;    
    background: #e6f0ff;
    padding: 4px;
    display: block;
  }

  .info {
    padding: 8px;
    text-align: center;
    background: #111;
    color: #fff;
  }

  .info h3 {
    font-size: 12px;
    margin-bottom: 2px;
    font-weight: 700;
  }

  .exam {
    font-size: 10px;
    letter-spacing: 0.5px;
    color: #ffcc70;
  }

  .rank {
    display: inline-block;
    margin-top: 4px;
    color: #fff;
    padding: 2px 6px;
    border-radius: 18px;
    font-size: 10px;
    font-weight: 600;
  }

  .rank.gold {
    background: linear-gradient(45deg, gold, orange);
    color: #000;
  }

  .back-home {
    margin: 8px;
    padding: 6px 10px;
    font-size: 12px;
    position: relative;
    top: 0;
    left: 0;
  }

  .whatsapp-chat {
    bottom: 15px;
    right: 15px;
    padding: 14px;
    border-radius: 50%;
  }

  .whatsapp-chat span {
    display: none;
  }

  .footer-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 25px 15px;
    align-items: stretch;
  }

  .footer-brand h2 {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .footer-brand p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .footer-badges {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
  }

  .footer-badges span {
    display: block;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
  }
  
  .footer-cta {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
    padding: 12px 0;
    font-size: 14px;
    border-radius: 25px;
  }

  .footer-social {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
    gap: 10px;
  }

  .footer-social a {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    font-size: 16px;
    border-radius: 10px;
    margin: 0;
  }

  .footer-links-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
  }

  .footer-links,
  .footer-links-container .footer-courses { 
    width: 48%; 
    margin-bottom: 0;
  }

  .footer-links h4,
  .footer-links-container .footer-courses h4 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .footer-links h3,
  .footer-links-container .footer-courses h3 {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .footer-links a,
  .footer-links .sub-courses a,
  .footer-links-container .footer-courses a {
    font-size: 13px;
    margin-bottom: 5px;
  }

  .footer-links .sub-courses a,
  .footer-links-container .footer-courses .sub-courses a {
    margin-left: 10px;
  }
.footer-links ul,
.footer-links .sub-courses {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    padding: 0;
    margin: 0;
}
  
  .footer-contact {
    width: 100%;
    margin-bottom: 15px;
  }

  .footer-contact h4 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .footer-contact p {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .footer-map iframe {
    height: 180px;
    margin-bottom: 15px;
  }

  .footer-copy {
    font-size: 12px;
    padding: 12px;
    text-align: center;
  }
 
  .footer-wave {
    height: 40px;
  }
}
