/* Custom Styles for STUDYINDUBAI */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #0f172a;
  color: #fff;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom styles for logo positioning */
.logo-container {
  position: relative;
  height: 80px; /* Same as navbar height */
  display: flex;
  align-items: center;
}

.logo-img {
  height: 150px; /* Increased logo size */
  object-fit: contain;
}

/* Mobile menu toggle animation */
#mobileMenu {
  transition: all 0.3s ease;
}

/* Ensure navbar height stays consistent */
.navbar-height {
  min-height: 80px;
}

/* Custom Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}

/* Custom Gradient Text */
.gradient-text {
  background: linear-gradient(to right, #2563eb, #1e40af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hover Effects */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Card Shadows */
.card-shadow {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.card-shadow:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Form Styles */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Button Styles */
button,
.btn {
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover,
.btn:hover {
  transform: translateY(-2px);
}

button:active,
.btn:active {
  transform: translateY(0);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #2563eb;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1e40af;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }
}

/* Hero Section Background Pattern */
.hero-pattern {
  background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Animated Gradient H1 with Stroke */
.animated-gradient-h1 {
  background: linear-gradient(
    90deg,
    #ff006e,
    #8338ec,
    #3a86ff,
    #06ffa5,
    #ffbe0b,
    #ff006e
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;

  /* Text Stroke (Outline) */
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.9);
  text-stroke: 1.5px rgba(255, 255, 255, 0.9);

  /* Fallback for browsers without text-stroke */
  text-shadow: 2px 2px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff,
    -2px 2px 0 #fff, 0 2px 0 #fff, 2px 0 0 #fff, 0 -2px 0 #fff, -2px 0 0 #fff,
    2px 2px 5px rgba(0, 0, 0, 0.3);

  animation: gradientShift 6s ease infinite, fadeInUp 1s ease-out forwards;

  opacity: 0;
  transform: translateY(30px);
}

/* Gradient Animation */
@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Entrance Animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover Pulse on H1 */
.animated-gradient-h1:hover {
  animation: gradientShift 3s ease infinite, pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    text-shadow: 2px 2px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff,
      -2px 2px 0 #fff, 0 2px 0 #fff, 2px 0 0 #fff, 0 -2px 0 #fff, -2px 0 0 #fff,
      2px 2px 10px rgba(255, 255, 255, 0.8);
  }
  50% {
    text-shadow: 3px 3px 0 #fff, -3px -3px 0 #fff, 3px -3px 0 #fff,
      -3px 3px 0 #fff, 0 3px 0 #fff, 3px 0 0 #fff, 0 -3px 0 #fff, -3px 0 0 #fff,
      3px 3px 15px rgba(255, 255, 255, 1);
  }
}

/* Optional: Add subtle glow on hover for search */
.group:hover input {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

/* Stat Counter Animation */
.stat-number {
  font-weight: 700;
  color: #1f2937;
}

/*Why Dubai is the Next Big Study Destination*/
.why-Dubai-section {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  background-image: url("/img/stu.jpg"); /* Dubai-themed background */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for readability */
  z-index: 1;
}

.section-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
}

.section-title {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  }
  to {
    text-shadow: 2px 2px 20px rgba(255, 255, 255, 0.8);
  }
}

/* Slider Styles */
.slider-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.slider {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Unique bounce animation */
}

.slide {
  min-width: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #ffffff, #f0f4f8);
  border-radius: 20px;
  animation: slideIn 1s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(50px) rotate(5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

.stat {
  font-size: 3rem;
  font-weight: bold;
  color: #ff6b6b;
  margin-bottom: 10px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.slide-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease;
}

.slide-image:hover {
  transform: rotate(10deg) scale(1.1);
}

.slide-title {
  font-size: 1.8rem;
  color: #667eea;
  margin-bottom: 10px;
}

.slide-description {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
  text-align: center;
}

.slide-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.slide-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .slider-container {
    max-width: 90%;
  }

  .stat {
    font-size: 2.5rem;
  }

  .slide-image {
    width: 120px;
    height: 120px;
  }

  .slide-title {
    font-size: 1.5rem;
  }

  .slide-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }

  .slide {
    padding: 20px;
  }
}

/* University Card Styles */
.university-card,
.course-card {
  transition: all 0.3s ease;
  opacity: 1;
}

.university-card:hover,
.course-card:hover {
  transform: translateY(-5px);
}

/* Badge Styles */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.badge-blue {
  background-color: #dbeafe;
  color: #1e40af;
}

.badge-green {
  background-color: #d1fae5;
  color: #065f46;
}

.badge-yellow {
  background-color: #fef3c7;
  color: #92400e;
}

/* TOP Study Main Section */
/* Main Section */
.explore-Dubai {
  position: relative;
  min-height: 90vh;
  padding: 4rem 1rem;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background Carousel */
.bg-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}

/* CRITICAL FIX: Force active slide to be visible */
.bg-slide.active {
  opacity: 1 !important;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  z-index: 2;
}

/* Content Container */
.content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(90deg, #00d4ff, #ff00c8, #ffd700);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%,
  100% {
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  50% {
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
  }
}

/* Cards Layout - Corners Only */
.cards-wrapper {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  gap: 2rem;
  position: relative;
}

.scroll-col {
  width: 260px;
  height: 65vh;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Infinite Scroll Lists */
.scroll-list {
  list-style: none;
  animation: scrollDown 18s linear infinite;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.right-col .scroll-list {
  animation: scrollUp 18s linear infinite;
}

@keyframes scrollDown {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes scrollUp {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0);
  }
}

/* Pause on Hover */
.scroll-col:hover .scroll-list,
.scroll-col.paused .scroll-list {
  animation-play-state: paused !important;
}

/* Card Style - Small & Sleek */
.place-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
}

.place-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.place-img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.place-content {
  padding: 0.9rem;
}

.place-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.4rem;
}

.place-info {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.4;
}

.rating {
  color: #f59e0b;
  font-weight: bold;
}

.explore-btn {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #3b82f6;
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  background: #eff6ff;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.explore-btn:hover {
  background: #3b82f6;
  color: white;
}

/* Responsive */
@media (max-width: 1024px) {
  .cards-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .scroll-col {
    width: 300px;
    height: 55vh;
  }

  .section-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 640px) {
  .section-title {
    font-size: 1.9rem;
  }

  .scroll-col {
    width: 100%;
    max-width: 320px;
    height: 50vh;
  }

  .place-img {
    height: 100px;
  }

  .place-name {
    font-size: 1rem;
  }
}

/* end top study */

/* FORCE BACKGROUND TO CHANGE - BEATS TAILWIND */
.explore-Dubai .bg-carousel .bg-slide {
  opacity: 0 !important;
  transition: opacity 1.8s ease-in-out !important;
}

.explore-Dubai .bg-carousel .bg-slide.active {
  opacity: 1 !important;
}

/* Touch Support (Mobile) */
@media (hover: none) and (pointer: coarse) {
  .scroll-col {
    touch-action: pan-y;
  }
}

/* Timeline Styles */
.timeline-item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e5e7eb;
}

.timeline-item::after {
  content: "";
  position: absolute;
  left: -4px;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2563eb;
}

/* Accordion Styles */
details summary {
  cursor: pointer;
  user-select: none;
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

details[open] summary {
  margin-bottom: 0.5rem;
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #2563eb;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 1000;
}

#backToTop:hover {
  background: #1e40af;
  transform: translateY(-5px);
}

/* Print Styles */
@media print {
  header,
  footer,
  button,
  .no-print {
    display: none !important;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus Styles */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Custom Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Grid Responsive */
@media (max-width: 768px) {
  .grid-responsive {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.bg-blur {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.9);
}

.object-cover {
  object-fit: cover;
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

/* Success Message */
.success-message {
  animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Course Prospect Colors */
.prospect-outstanding {
  background-color: #d1fae5;
  color: #065f46;
}

.prospect-excellent {
  background-color: #dbeafe;
  color: #1e40af;
}

.prospect-very-good {
  background-color: #e9d5ff;
  color: #6b21a8;
}

.prospect-good {
  background-color: #f3f4f6;
  color: #374151;
}

/* Top Universities Section Styles */
body {
  background-color: #f9fafb;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Navbar Style */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.universities-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  overflow: hidden;
}

.frame-container {
  position: relative;
  height: 400px;
  width: 100%;
  margin: 40px 0;
}

.university-frame {
  position: absolute;
  left: 20px;
  top: 0;
  width: 360px;
  z-index: 45;
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.cards-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 120px;
  animation: slideRightToLeft 60s linear infinite;
  will-change: transform;
  left: 0;
}

@keyframes slideRightToLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.university-card {
  width: 220px;
  flex-shrink: 0;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  opacity: 1;
  visibility: visible;
}

.university-card:hover {
  transform: translateY(-8px) scale(1.03);
}

.university-card.active {
  border: 2px solid #3b82f6;
}

.card-hidden {
  opacity: 0;
  visibility: hidden;
}

.section-container {
  background-color: rgba(182, 182, 182, 0.425);
  padding: 4rem 0;
  width: 100%;
  margin-top: 80px;
}

/* Frame overlay to hide cards behind it */
.frame-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 400px;
  height: 100%;
  background: linear-gradient(90deg, #f9fafb 0%, transparent 100%);
  z-index: 40;
  pointer-events: none;
}

.container {
  max-width: 100%;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
  }
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  .university-frame {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 360px;
    margin: 20px auto;
  }

  .frame-overlay {
    display: none;
  }

  .cards-track {
    top: 60%;
  }

  .universities-section {
    min-height: 800px;
  }
}

/* Top University End */

/* How to Apply Section Styles */
.how-to-apply-section {
  max-width: 1200px;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  padding: 60px 40px;
  margin: 80px auto;
}

.floating-bg {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(45deg, #667eea, #764ba2);
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.floating-bg:nth-child(1) {
  top: -50px;
  left: -50px;
  animation-delay: 0s;
}

.floating-bg:nth-child(2) {
  bottom: -80px;
  right: -30px;
  animation-delay: 2s;
}

.floating-bg:nth-child(3) {
  top: 50%;
  right: 10%;
  width: 150px;
  height: 150px;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.section-subtitle {
  font-size: 1.5rem;
  color: #4a5568;
  margin-bottom: 20px;
  font-weight: 500;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

/* Modified Steps Container Layout */
.steps-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.steps-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.step-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(102, 126, 234, 0.1);
  flex: 1;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #8998d8 0%, #667eea 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.step-number::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.step-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 15px;
  position: relative;
}

.step-description {
  color: #718096;
  line-height: 1.6;
  font-size: 1rem;
}

.step-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 2.5rem;
  opacity: 0.1;
  color: #667eea;
  transition: all 0.3s ease;
}

.step-card:hover .step-icon {
  opacity: 0.2;
  transform: scale(1.1) rotate(5deg);
}

/* Animation for step cards on scroll */
.step-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.step-card.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Particle animation */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  opacity: 0.1;
  animation: float-particle 15s infinite linear;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) rotate(0deg);
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .how-to-apply-section {
    padding: 40px 20px;
    margin: 40px auto;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 1.2rem;
  }

  .steps-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .steps-column {
    gap: 20px;
  }

  .step-card {
    padding: 30px 20px;
  }
}

/* Blogs & FAQs Section Styles */
.blogs-faqs-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #667eea 100%);
  position: relative;
}

.blogs-faqs-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #64748b;
  font-weight: 500;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Blogs Column */
.blogs-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 20px;
}

.section-label i {
  color: #667eea;
  font-size: 1.8rem;
}

.blog-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.blog-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.blog-card:hover::before {
  transform: scaleY(1);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.blog-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.blog-date i {
  color: #667eea;
}

.blog-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 16px;
  line-height: 1.4;
}

.blog-content {
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover .blog-content {
  max-height: 500px;
}

.blog-highlights {
  margin-top: 12px;
  padding-left: 20px;
}

.blog-highlights li {
  color: #475569;
  margin-bottom: 6px;
  position: relative;
}

.blog-highlights li::before {
  content: "•";
  color: #667eea;
  font-weight: bold;
  position: absolute;
  left: -15px;
}

.blog-button {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.blog-card:hover .blog-button {
  opacity: 1;
  transform: translateY(0);
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #667eea, #8b5cf6);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* FAQs Column */
.faqs-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.faq-categories {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.category {
  padding: 10px 20px;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: #64748b;
}

.category.active,
.category:hover {
  background: #667eea;
  color: white;
  border-color: #3b82f6;
  transform: translateY(-2px);
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: white;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:not(.active) {
  display: none;
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: #1e293b;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-question i {
  color: #64748b;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: #667eea;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: #475569;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 500px;
}

.faq-answer ul {
  margin-top: 12px;
  padding-left: 20px;
}

.faq-answer li {
  margin-bottom: 6px;
  position: relative;
}

.faq-answer li::before {
  content: "•";
  color: #667eea;
  font-weight: bold;
  position: absolute;
  left: -15px;
}

/* Tools Section */
.tools-section {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.tools-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 20px;
  text-align: center;
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #e2e8f0;
}

.tool-card:hover {
  background: #667eea;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.tool-card:hover i,
.tool-card:hover span {
  color: white;
}

.tool-card i {
  font-size: 1.8rem;
  color: #475569;
  transition: all 0.3s ease;
}

.tool-card span {
  font-weight: 500;
  color: #475569;
  text-align: center;
  transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 968px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-title {
    font-size: 2rem;
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blogs-faqs-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .blog-card {
    padding: 20px;
  }

  .faq-categories {
    justify-content: center;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }
}

/* Student Community Section - Professional Design */
.student-community-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.student-community-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, #8998d8 0%, #667eea 100%);
  opacity: 0.02;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Left Content Styles */
.content-column {
  position: relative;
  z-index: 2;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.2);
  padding: 12px 20px;
  border-radius: 50px;
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #667eea;
  line-height: 1;
}

.stat-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 50px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.feature-item:hover::before {
  transform: scaleY(1);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #7b86b9, #787080);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feature-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.feature-img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

.feature-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
  line-height: 1.3;
}

.feature-content p {
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: #374151;
  border: 2px solid #e5e7eb;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: #667eea;
  color: #667eea;
  transform: translateY(-2px);
}

/* Right Visuals Styles */
.visual-column {
  position: relative;
}

.main-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.main-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
}

.card-1 {
  top: 20%;
  left: -20px;
  animation-delay: 0s;
}

.card-2 {
  top: 50%;
  right: -20px;
  animation-delay: 2s;
}

.card-3 {
  bottom: 20%;
  left: -20px;
  animation-delay: 4s;
}

.card-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #7b86b9, #787080);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-content {
  display: flex;
  flex-direction: column;
}

.card-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1f2937;
  line-height: 1;
}

.card-label {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Trust Badges */
.trust-badges {
  margin-top: 30px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f5f9;
}

.avatar-stack {
  display: flex;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
  margin-left: -10px;
  position: relative;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar:last-child {
  background: linear-gradient(135deg, #7b86b9, #787080) !important;
}

.trust-text {
  display: flex;
  flex-direction: column;
}

.trust-text strong {
  color: #1f2937;
  font-size: 1rem;
}

.trust-text span {
  color: #6b7280;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .community-grid {
    gap: 60px;
  }

  .main-heading {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .student-community-section {
    padding: 60px 0;
  }

  .community-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .main-heading {
    font-size: 2.5rem;
    margin-bottom: 30px;
  }

  .feature-item {
    padding: 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .floating-card {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 10px;
    animation: none;
  }

  .main-visual {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .main-heading {
    font-size: 2rem;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    align-self: center;
  }

  .stat-badge {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* Quick Access Section Styles */
.quick-access-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  overflow: hidden;
}

.quick-access-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: #2c3e50;
  position: relative;
  font-weight: 700;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #2ecc71);
  border-radius: 2px;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.access-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 200px;
  justify-content: center;
}

.access-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #3498db, #2ecc71);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.access-card:hover::before {
  transform: scaleX(1);
}

.access-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  transition: all 0.5s ease;
  position: relative;
  z-index: 2;
}

.access-card:hover .card-icon {
  transform: scale(1.2) rotate(5deg);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2c3e50;
  position: relative;
  z-index: 2;
}

.card-arrow {
  font-size: 1.5rem;
  margin-left: 10px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.access-card:hover .card-arrow {
  transform: translateX(8px);
}

/* Floating particles background */
.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(52, 152, 219, 0.1);
  animation: float 15s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-1000px) rotate(360deg);
    opacity: 0;
  }
}

/* Ripple effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(52, 152, 219, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Glow effect */
.glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.access-card:hover .glow {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .quick-access-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .access-card {
    height: 180px;
    padding: 25px;
  }
}

/* course card */
.course-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.course-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.course-card:hover .course-image {
  transform: scale(1.05);
}

.course-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.course-icon {
  transition: all 0.3s ease;
}

.course-card:hover .course-icon {
  transform: scale(1.2) rotate(5deg);
}

.stats-bar {
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
  margin: 10px 0;
}

.stats-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1s ease;
}

.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  opacity: 0.1;
  border-radius: 50%;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  from {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  }
  to {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
  }
}

.stagger-animation > * {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Course card End */

.modal-overlay {
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
    }
    
    .modal-content {
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        animation: modalSlideIn 0.5s ease-out;
    }
    
    @keyframes modalSlideIn {
        from {
            opacity: 0;
            transform: translateY(-50px) scale(0.9);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
    
    .form-step {
        display: none;
        animation: fadeIn 0.5s ease-in-out;
    }
    
    .form-step.active {
        display: block;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    .progress-bar {
        height: 6px;
        background: #e2e8f0;
        border-radius: 3px;
        overflow: hidden;
    }
    
    .progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #3b82f6, #8b5cf6);
        border-radius: 3px;
        transition: width 0.5s ease;
    }
    
    .country-flag {
        width: 24px;
        height: 16px;
        object-fit: cover;
        border-radius: 2px;
        margin-right: 8px;
    }
    
    .country-option {
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }
    
    .country-option:hover {
        transform: translateY(-2px);
        border-color: #3b82f6;
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    }
    
    .country-option.selected {
        border-color: #3b82f6;
        background: #eff6ff;
    }
    
    .input-field {
      color: #1e293b;
        transition: all 0.3s ease;
        border: 2px solid #e2e8f0;
    }
    
    .input-field:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    }
    
    .btn-primary {
        background: linear-gradient(90deg, #3b82f6, #8b5cf6);
        transition: all 0.3s ease;
    }
    
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    }
    
    .btn-secondary {
        transition: all 0.3s ease;
        border: 2px solid #e2e8f0;
    }
    
    .btn-secondary:hover {
        border-color: #3b82f6;
        color: #3b82f6;
    }
    
    .pulse-animation {
        animation: pulse 2s infinite;
    }
    
    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.05); }
        100% { transform: scale(1); }
    }
    
    .success-checkmark {
        animation: checkmark 0.5s ease-in-out;
    }
    
    @keyframes checkmark {
        0% { transform: scale(0); }
        50% { transform: scale(1.2); }
        100% { transform: scale(1); }
    }

    /* Enquire Now Button */
.enquire-now-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    padding: 16px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    height: auto;
}

.enquire-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

@keyframes pulse-glow {
    0% { box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3); }
    50% { box-shadow: 0 8px 30px rgba(37, 99, 235, 0.6); }
    100% { box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3); }
}

.enquire-now-btn {
    animation: pulse-glow 2s infinite;
}

/* Modal Styles */
.enquiry-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.enquiry-modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: auto;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 18px;
    color: #666;
}

.modal-close-btn:hover {
    background: #ef4444;
    color: white;
    transform: rotate(90deg);
}

.modal-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    height: 100%;
    min-height: 600px;
}

/* Form Section - Fixed structure */
.form-section {
    padding: 40px;
    background: white;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 600px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
    flex-shrink: 0;
}

.form-header h2 {
    color: #1e40af;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-header p {
    color: #6b7280;
    font-size: 16px;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
    flex-shrink: 0;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e5e7eb;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border: 3px solid #e5e7eb;
}

.step.active .step-number {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.step span {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.step.active span {
    color: #2563eb;
    font-weight: 600;
}

/* Form Content Wrapper */
.form-content-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0; /* Important for flexbox scrolling */
}

/* Form Scroll Container */
.form-scroll-container {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 20px;
    max-height: 400px;
}

.form-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.form-scroll-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.form-scroll-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.form-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Form Steps */
.form-step {
    display: none;
    padding-bottom: 10px;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step h3 {
    color: #1e293b;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group.full-width {
    grid-column: 1 / -1;
}

.input-group label {
    color: #374151;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.input-group input,
.input-group select,
.input-group textarea {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    color: #374151;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.input-group textarea {
    resize: vertical;
    min-height: 80px;
}

.error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    min-height: 16px;
}

.input-group.error input,
.input-group.error select,
.input-group.error textarea {
    border-color: #ef4444;
}

/* Form Navigation - Always visible at bottom */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 0 0;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
    flex-shrink: 0;
    background: white;
    position: relative;
}

.btn-primary,
.btn-secondary,
.btn-submit {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    min-width: 120px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: #f8fafc;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #e2e8f0;
    color: #475569;
}

.btn-submit {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

/* Image Section */
.image-section {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    position: relative;
    overflow: hidden;
}

.image-content {
    position: relative;
    height: 100%;
}

.side-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.9), rgba(30, 58, 138, 0.8));
    color: white;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.image-overlay h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.image-overlay ul {
    list-style: none;
    padding: 0;
}

.image-overlay li {
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.image-overlay li:last-child {
    border-bottom: none;
}

/* Success Message */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
}

.success-message.hidden {
    display: none;
}

.success-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.success-icon {
    font-size: 64px;
    color: #10b981;
    margin-bottom: 20px;
}

.success-content h3 {
    color: #1e40af;
    font-size: 24px;
    margin-bottom: 10px;
}

.success-content p {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .enquiry-modal {
        padding: 10px;
    }
    
    .modal-container {
        width: 100%;
        height: 90vh;
        max-height: 90vh;
    }
    
    .modal-content {
        grid-template-columns: 1fr;
        min-height: 500px;
    }
    
    .image-section {
        display: none;
    }
    
    .form-section {
        padding: 30px 20px;
        min-height: 500px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .progress-steps {
        margin-bottom: 20px;
    }
    
    .step span {
        font-size: 10px;
    }
    
    .form-scroll-container {
        max-height: 350px;
        margin-bottom: 15px;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-submit {
        min-width: 110px;
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .enquire-now-btn {
        right: 4px;
        bottom: 100px;
        padding: 14px 18px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .modal-container {
        height: 95vh;
        max-height: 95vh;
        border-radius: 10px;
    }
    
    .form-section {
        padding: 20px 15px;
        min-height: 450px;
    }
    
    .form-header h2 {
        font-size: 24px;
    }
    
    .form-step h3 {
        font-size: 18px;
    }
    
    .form-scroll-container {
        max-height: 300px;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-submit {
        min-width: 100px;
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .enquire-now-btn {
        right: 2px;
        bottom: 90px;
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* Fix for body overflow issues */
body.modal-open {
    overflow: hidden;
}

/* Ensure modal doesn't affect main layout */
.enquiry-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.enquiry-modal.hidden {
    display: none;
}

/* Make sure main content is not affected */
.main-content {
    width: 100%;
    overflow-x: hidden;
}

/* Fix for any horizontal scroll issues */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure header and other elements maintain their position */
header {
    position: relative;
    z-index: 100;
}

/* Modal overlay should cover entire screen without affecting layout */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1001;
}

.modal-container {
    position: relative;
    z-index: 1002;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Success Message */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    backdrop-filter: blur(5px);
}

.success-message.hidden {
    display: none;
}

.success-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.success-icon {
    font-size: 64px;
    color: #10b981;
    margin-bottom: 20px;
}

.success-content h3 {
    color: #1e40af;
    font-size: 24px;
    margin-bottom: 10px;
}

.success-content p {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
}

.success-content .btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.success-content .btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
}

/* Responsive design for success message */
@media (max-width: 768px) {
    .success-content {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .success-icon {
        font-size: 48px;
    }
    
    .success-content h3 {
        font-size: 20px;
    }
}