/* ================== GENERAL ================== */
body {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
  font-family: "Inter", sans-serif;
  color: #2d3748;
}

/* ================== LOGIN CARD ================== */
.login-page { padding: 3rem 0; }
.login-card {
  max-width: 460px;
  padding: 3rem 2.5rem;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  animation: fadeInUp 0.6s ease;
  border: 1px solid rgba(255,255,255,0.8);
}
.login-card h3 {
  color: #1a202c;
  font-size: 1.75rem;
}
.login-icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}
.form-label {
  font-weight: 500;
  color: #4a5568;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.login-form input {
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}
.login-form input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102,126,234,0.1);
  outline: none;
  background: #fafbfc;
}
.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102,126,234,0.4);
}
.social-icons .social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 50px;
  font-size: 1.4rem;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  color: #4a5568;
  text-decoration: none;
}
.social-btn.google:hover {
  background: #db4437;
  color: #fff;
  border-color: #db4437;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(219, 68, 55, 0.3);
}
.social-btn.facebook:hover {
  background: #1877f2;
  color: #fff;
  border-color: #1877f2;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(24, 119, 242, 0.3);
}
.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  color: #4a5568;
}
.remember-me input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #667eea;
  cursor: pointer;
}
.divider-or {
  position: relative;
  text-align: center;
  margin: 1.5rem 0;
}
.divider-or::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e2e8f0;
}
.divider-or span {
  position: relative;
  background: white;
  padding: 0 1rem;
  color: #a0aec0;
  font-size: 0.85rem;
}

/* ================== HERO BANNER ================== */
.hero-banner {
  min-height: 550px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: movePattern 20s linear infinite;
}
@keyframes movePattern {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}
.hero-banner .container { z-index: 1; position: relative; }
.hero-banner h1 {
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.hero-banner .lead {
  font-size: 1.25rem;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.search-box {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}
.search-box input {
  border-radius: 50px;
  border: none;
  padding: 1rem 1.5rem;
  padding-right: 140px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  font-size: 1rem;
  width: 100%;
}
.search-box button {
  position: absolute;
  right: 3px;
  top: 3px;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  font-weight: 600;
  color: white;
}
.search-box button:hover {
  transform: scale(1.05);
}

/* ================== STATS SECTION ================== */
.stats-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 4rem 0;
  color: white;
}
.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}
.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ================== SERVICES SECTION ================== */ 
.services { padding: 4rem 0; } 
.service-card-description {
        font-size: 0.9rem;
        color: #6c757d;
        margin-bottom: 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
.section-title { 
  font-size: 2rem; 
  font-weight: 700; 
  margin-bottom: 0.5rem; 
  color: #1a202c; 
} 

.section-subtitle { 
  color: #718096; 
  font-size: 1rem; 
  margin-bottom: 2.5rem; 
} 

.service-card { 
  border-radius: 12px; 
  overflow: hidden; 
  transition: all 0.3s ease; 
  border: 1px solid #e2e8f0; 
  background: #fff; 
  height: 100%; 
} 

.service-card:hover { 
  transform: translateY(-5px); 
  box-shadow: 0 8px 25px rgba(0,0,0,0.1); 
  border-color: #cbd5e0;
} 

.service-card img { 
  height: 140px; 
  object-fit: cover; 
  transition: transform 0.3s ease; 
  width: 100%; 
} 

.service-card:hover img { 
  transform: scale(1.05); 
} 

.service-card .card-body { 
  padding: 1rem; 
} 

.service-card .card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2d3748;
  line-height: 1.4;
}

.service-card .card-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #718096;
}

.service-card .btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 6px;
}

/* View More Button */
#viewMoreBtn {
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1.5rem;
}

#viewMoreBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Modal Customization */
#servicesModal .modal-content {
  border-radius: 12px;
  border: none;
}

#servicesModal .modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

#servicesModal .modal-body {
  padding: 1.5rem;
  max-height: 70vh;
}

#servicesModal .modal-dialog {
  max-width: 1140px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-card img {
    height: 120px;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
}
#loginToast {
  background: #1a73e8;
  color: #fff;
  border-radius: 12px;
  font-size: 0.95rem;
  animation: fadeSlide 0.4s ease forwards;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.toast-body i {
  font-size: 1.1rem;
  vertical-align: middle;
}

/* ================== TRAINING PROGRAMS ================== */
.trainings {
  padding: 5rem 0;
}
.training-card {
  border-radius: 20px;
  border: none;
  background: #fff;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  height: 100%;
}
.training-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.training-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 1.5rem;
  color: white;
}
.training-body {
  padding: 1.75rem;
}
.info-badge {
  display: inline-block;
  background: #edf2f7;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.85rem;
  margin: 0.3rem;
  color: #4a5568;
  font-weight: 500;
}
.info-badge i {
  margin-right: 0.3rem;
  color: #667eea;
}

/* ================== ANIMATION ================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease; }

/* ================== RESPONSIVE ================== */
@media (max-width: 768px) {
  .hero-banner h1 { font-size: 2rem; }
  .section-title { font-size: 2rem; }
  .search-box input { padding-right: 110px; font-size: 0.9rem; }
  .search-box button { padding: 0.7rem 1.5rem; }
  .stat-number { font-size: 2rem; }
  .login-card { padding: 2rem 1.5rem; }
}

/* Training Card Hover Effect */
.training-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 0.5rem;
  overflow: hidden;
}

.training-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2) !important;
}

/* Modal Animations */
.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
}

/* Pagination Styling */
.pagination .page-link {
  color: #667eea;
  border-radius: 0.5rem;
  margin: 0 0.2rem;
  border: 1px solid #dee2e6;
}

.pagination .page-link:hover {
  background-color: #667eea;
  color: white;
  border-color: #667eea;
}

.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
}

/* Filter Container */
.filter-container {
  background: linear-gradient(to right, #f8f9fa, #e9ecef);
}

/* Responsive Badge Sizes */
@media (max-width: 768px) {
  .badge.rounded-pill {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem !important;
  }
  
  .training-card .card-body {
    padding: 1rem !important;
  }
}
