/* ========================================
   INDEX.HTML - CUSTOM STYLES
   ======================================== */

/* ========================================
   LOADING SCREEN
   ======================================== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-screen p {
  margin-top: 20px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

/* ========================================
   ACTIVE LINK STYLING
   ======================================== */
nav ul li a.active {
  background: rgba(255, 255, 255, 0.2);
  border-bottom: 3px solid #ffc107;
}

.btn-login {
  background: rgba(255, 193, 7, 0.2) !important;
  border: 2px solid #ffc107;
}

.btn-login:hover {
  background: #ffc107 !important;
  color: #0a1440 !important;
}

/* ========================================
   HERO STATS
   ======================================== */
.hero-stats {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  min-width: 120px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.stat-item i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #ffc107;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  display: block;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.5rem;
}

/* ========================================
   IMAGE CAROUSEL INDICATORS
   ======================================== */
.hero-image-container {
  position: relative;
  flex: 1;
  max-width: 500px;
  width: 100%;
}

.hero-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.image-indicator {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #ffc107;
  width: 30px;
  border-radius: 6px;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* ========================================
   SECTION TITLE
   ======================================== */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #0a1440;
  position: relative;
  display: inline-block;
  text-align: center;
  width: 100%;
}

.title-icon {
  display: inline-block;
  margin-right: 10px;
  color: #667eea;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 3rem;
}

/* ========================================
   PROGRAM CARDS ENHANCED
   ======================================== */
.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

.program-card:hover .card-icon {
  transform: rotateY(360deg) scale(1.1);
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.card-features li {
  padding: 0.5rem 0;
  color: #495057;
  font-size: 0.95rem;
}

.card-features li i {
  color: #43e97b;
  margin-right: 10px;
}

/* ========================================
   ABOUT FEATURES
   ======================================== */
.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-box {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.feature-box i {
  font-size: 3rem;
  color: #667eea;
  margin-bottom: 1rem;
}

.feature-box h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #0a1440;
}

.feature-box p {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========================================
   FOOTER ENHANCED
   ======================================== */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
  text-align: left;
}

.footer-section h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #ffc107;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin: 0.8rem 0;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links li a:hover {
  color: #ffc107;
  padding-left: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 768px) {
  .hero-stats {
    justify-content: center;
  }
  
  .stat-item {
    min-width: 100px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-links li a {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .hero-stats {
    gap: 1rem;
  }
  
  .stat-item {
    padding: 1rem;
    min-width: 80px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
}
