/* ===== PREMIUM GLOBAL STYLES ===== */
:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --dark-bg: #0a0e27;
  --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  background: #f8f9fa;
}

/* ===== PREMIUM NAVBAR ===== */
.navbar {
  backdrop-filter: blur(20px);
  background: rgba(13, 110, 253, 0.95) !important;
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: rotate(360deg);
}

.nav-link {
  position: relative;
  font-weight: 500;
  transition: color 0.3s ease;
}

.dropdown-menu {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.95);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: var(--primary-gradient);
  color: white;
  transform: translateX(5px);
}

/* ===== PREMIUM HERO SLIDER ===== */
#overseasSlider {
  position: relative;
  height: 100vh;
  min-height: 600px;
}

#overseasSlider .slider-img {
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%);
  z-index: 1;
}

.carousel-caption {
  z-index: 2;
  bottom: 50%;
  transform: translateY(50%);
  text-align: center;
}

.carousel-caption h1 {
  font-size: 4rem;
  font-weight: 800;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease;
}

.carousel-caption p {
  font-size: 1.5rem;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease 0.3s backwards;
}

.carousel-caption .btn {
  animation: fadeInUp 1s ease 0.6s backwards;
  background: var(--secondary-gradient);
  border: none;
  padding: 1rem 3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.carousel-caption .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(240, 147, 251, 0.4);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== PREMIUM SECTIONS ===== */
.section-title {
  font-size: 3rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: #6c757d;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(100px);
}

.about-image-wrapper {
  position: relative;
  z-index: 2;
}

.about-image-wrapper img {
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
  transform: scale(1.05) rotate(2deg);
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.4);
  animation: pulse 2s infinite;
  border: 8px solid white;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.experience-badge h3 {
  font-size: 3rem;
  font-weight: 900;
  color: #0a0e27;
  margin: 0;
}

.experience-badge p {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0a0e27;
  margin: 0;
}

/* ===== STATS SECTION ===== */
.stats-section {
  background: white;
  padding: 4rem 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
}

.stat-card {
  text-align: center;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
}

.stat-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 6rem 0;
  background: #f8f9fa;
}

.service-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--hover-shadow);
}

.service-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
  transform: rotate(360deg) scale(1.1);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0a0e27;
}

.service-card p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-card .btn {
  background: var(--primary-gradient);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* ===== UNIVERSITIES SECTION ===== */
.universities-section {
  padding: 6rem 0;
  background: white;
}

.university-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.4s ease;
  height: 100%;
  border: 1px solid #f1f3f5;
}

.university-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--hover-shadow);
}

.university-logo-wrapper {
  height: 150px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.university-logo-wrapper::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.university-card:hover .university-logo-wrapper::after {
  opacity: 1;
}

.university-logo-wrapper img {
  max-height: 100px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}

.university-card:hover .university-logo-wrapper img {
  transform: scale(1.1);
}

.university-info {
  padding: 2rem 1.5rem;
  text-align: center;
}

.university-info h5 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0a0e27;
}

.university-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
  color: #0a0e27;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.university-card .btn {
  background: var(--primary-gradient);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  width: 100%;
  transition: all 0.3s ease;
}

.university-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '"';
  position: absolute;
  top: 10%;
  left: 5%;
  font-size: 30rem;
  color: rgba(255, 255, 255, 0.05);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  height: 100%;
  transition: transform 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.testimonial-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 3rem;
  color: var(--primary-gradient);
  opacity: 0.2;
}

.testimonial-text {
  font-style: italic;
  color: #495057;
  line-height: 1.8;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-gradient);
}

.testimonial-author-info h5 {
  font-weight: 700;
  margin: 0;
  color: #0a0e27;
}

.testimonial-author-info p {
  margin: 0;
  color: #667eea;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(80px);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-buttons .btn {
  padding: 1rem 3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  margin: 0.5rem;
  transition: all 0.3s ease;
}

.cta-buttons .btn-light {
  background: white;
  color: #f5576c;
}

.cta-buttons .btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-outline-light {
  border: 2px solid white;
  color: white;
}

.cta-buttons .btn-outline-light:hover {
  background: white;
  color: #f5576c;
  transform: translateY(-3px);
}

/* ===== PREMIUM FOOTER ===== */
.footer {
  background: #0a0e27;
  color: white;
  padding: 5rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-gradient);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-section p,
.footer-section li {
  color: #adb5bd;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section a {
  color: #adb5bd;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-section a:hover {
  color: #ffd700;
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: white;
  font-size: 1.2rem;
}

.social-links a:hover {
  background: var(--primary-gradient);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #adb5bd;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 2.5rem;
  }
  
  .carousel-caption p {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .experience-badge {
    width: 140px;
    height: 140px;
    bottom: -20px;
    right: 10px;
  }
  
  .experience-badge h3 {
    font-size: 2rem;
  }
  
  .experience-badge p {
    font-size: 0.75rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .carousel-caption {
    bottom: 40%;
  }
  
  .carousel-caption h1 {
    font-size: 2rem;
  }
  
  .service-card,
  .testimonial-card {
    padding: 2rem 1.5rem;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* ===== GLASS MORPHISM ===== */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== LOADING SKELETON ===== */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ===== SMOOTH SCROLLING ===== */
html {
  scroll-behavior: smooth;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-gradient);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-gradient);
}