* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Outfit", sans-serif;
  overflow-x: hidden;
  background: #0a0a0a;
  color: #e0e0e0;
}

/* Subtle Background */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    #1a1a2e 0%,
    #16213e 50%,
    #0a0a0a 100%
  );
  z-index: -2;
}

.animated-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

/* Make sure content is visible over the background */
.container {
  position: relative;
  z-index: 1;
}

.scholarship-detail {
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
  color: #e0e0e0;
  background-color: transparent;
  box-shadow: none;
}

.scholarship-header {
  padding: 40px 0;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(79, 172, 254, 0.2);
}

.scholarship-header h1 {
  margin-bottom: 20px;
  color: white;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff, #4facfe, #00f2fe);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(79, 172, 254, 0.3);
}

.scholarship-section h2 {
  border-bottom: 1px solid rgba(79, 172, 254, 0.3);
  padding-bottom: 10px;
  margin-bottom: 20px;
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, #4facfe);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.scholarship-cover-image {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 20px;
  border-radius: 20px;
  border: 1px solid rgba(79, 172, 254, 0.2);
  overflow: hidden;
  box-sizing: border-box;
  padding: 0;
}

.scholarship-cover-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border: none;
  margin: 0;
  box-sizing: border-box;
}

.scholarship-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(79, 172, 254, 0.2);
  border-radius: 20px;
  padding: 20px;
}

.meta-item {
  display: flex;
  align-items: center;
}

.meta-label {
  font-weight: bold;
  margin-right: 5px;
  color: #4facfe;
}

.meta-value {
  color: #e0e0e0;
}

.scholarship-content {
  display: flex;
  gap: 30px;
}

.scholarship-main {
  flex: 1;
}

.scholarship-sidebar {
  width: 300px;
}

.scholarship-section {
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(79, 172, 254, 0.2);
  border-radius: 20px;
  padding: 25px;
  transition: all 0.3s ease;
}

.scholarship-section:hover {
  background: rgba(79, 172, 254, 0.05);
  box-shadow: 0 10px 30px rgba(79, 172, 254, 0.1);
  border-color: rgba(79, 172, 254, 0.3);
}

.section-content {
  color: #e0e0e0;
  line-height: 1.6;
}

.specific-requirements ul {
  padding-left: 20px;
}

.specific-requirements li {
  margin-bottom: 10px;
  color: #e0e0e0;
}

.institution-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(79, 172, 254, 0.2);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 25px;
  margin-bottom: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.institution-card:hover {
  background: rgba(79, 172, 254, 0.1);
  box-shadow: 0 20px 40px rgba(79, 172, 254, 0.2);
  border-color: rgba(79, 172, 254, 0.4);
}

.institution-card h3 {
  color: white;
  margin-bottom: 15px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, #4facfe);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.institution-card h4 {
  color: white;
  margin-bottom: 10px;
}

.institution-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(79, 172, 254, 0.3);
  box-shadow: 0 5px 15px rgba(79, 172, 254, 0.2);
}

.institution-logo img {
  max-width: 100%;
  max-height: 100%;
}

.institution-location {
  color: #e0e0e0;
  opacity: 0.8;
}

.institution-city {
  color: #b5b5b5;
  margin-top: 2px;
}

.institution-info {
  color: #e0e0e0;
  margin-top: 10px;
}

.contact-info {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(79, 172, 254, 0.2);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 25px;
  transition: all 0.3s ease;
}

.contact-info:hover {
  background: rgba(79, 172, 254, 0.05);
  box-shadow: 0 15px 40px rgba(79, 172, 254, 0.15);
  border-color: rgba(79, 172, 254, 0.3);
}

.contact-info h3 {
  color: white;
  margin-bottom: 15px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, #4facfe);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-info a {
  color: #4facfe;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-info a:hover {
  text-decoration: underline;
  color: #00f2fe;
}

.application-cta {
  margin-top: 30px;
  text-align: center;
}

.apply-button {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: white;
  border: none;
  padding: 0.7rem 2rem;
  border-radius: 50px;
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
}

.apply-button:hover {
  box-shadow: 0 15px 40px rgba(79, 172, 254, 0.6);
}

.apply-button:active {
  transform: scale(0.98);
}

.universities-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.university-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(79, 172, 254, 0.2);
  border-radius: 20px;
  padding: 20px;
  transition: all 0.3s ease;
}

.university-item:hover {
  background: rgba(79, 172, 254, 0.1);
  box-shadow: 0 10px 30px rgba(79, 172, 254, 0.2);
  border-color: rgba(79, 172, 254, 0.4);
}

.university-item h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: white;
}

.university-link {
  display: inline-block;
  color: #4facfe;
  text-decoration: none;
  margin-top: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.university-link:hover {
  color: #00f2fe;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .scholarship-content {
    flex-direction: column;
  }

  .scholarship-sidebar {
    width: 100%;
  }
  .universities-list {
    grid-template-columns: none;
  }
  .university-item:hover {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(79, 172, 254, 0.2);
    box-shadow: none;
  }
  .apply-button:hover {
    box-shadow: none;
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Application Tutorial Styles */
.tutorial-section {
  margin-top: 25px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(79, 172, 254, 0.2);
  border-radius: 15px;
  padding: 20px;
  text-align: left;
}

.tutorial-section h4 {
  color: white;
  margin-bottom: 15px;
  font-weight: 600;
  background: linear-gradient(135deg, #fff, #4facfe);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.video-placeholder {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(79, 172, 254, 0.3);
  border-radius: 10px;
  padding: 15px;
}

.tutorial-link {
  display: inline-block;
  color: #4facfe;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.tutorial-link:hover {
  color: #00f2fe;
}

/* Add media query for mobile devices to disable hover effects */
@media (max-width: 768px) {
  .university-link:hover,
  .tutorial-link:hover,
  .submit-btn:hover {
    transform: none;
    box-shadow: none;
    color: #4facfe;
  }

  .scholarship-section:hover {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    border-color: rgba(79, 172, 254, 0.2);
  }

  .institution-card:hover {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(79, 172, 254, 0.2);
  }

  .contact-info:hover {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(79, 172, 254, 0.2);
  }

  .contact-info a:hover {
    text-decoration: none;
    color: #4facfe;
  }

  .university-item:hover {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    border-color: rgba(79, 172, 254, 0.2);
  }
}
