/* 🌌 Dark theme custom styling for MakeCodeEasy */

/* Universal Solid Black Background */
body {
  background: #000000;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  background-attachment: fixed;
}

/* Global Styles */
body {
  background-color: #000000;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Home Section with Professional Gradient */
#home {
  background: #000000;
  min-height: 117vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

#home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*
  background: radial-gradient(
      circle at 20% 80%,
      rgba(9, 6, 167, 0.349) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(141, 10, 86, 0.384) 0%,
      transparent 50%
    );
    */
  z-index: 1;
}

#home .container {
  position: relative;
  z-index: 2;
}

h1.display-9 {
  font-size: clamp(1.2rem, 3vw, 2.5rem);
  text-align: center; /* keeps it neat on all devices */
  white-space: normal; /* allow wrapping on small screens */
  word-break: break-word; /* ensures it won’t overflow */
}

/* Force single line only on larger screens */
@media (min-width: 992px) {
  h1.display-9 {
    white-space: nowrap;
  }
}

#about {
  background: #000000;
}

#features {
  background: #000000;
}

#courses {
  background: #000000;
}

#placement {
  background: #000000;
}

#feedback {
  background: #000000;
}

#footer {
  background: #000000;
}

/* Gradient Glow Button */
.btn-glow {
  background: linear-gradient(45deg, #ed4eff, #ffcc00);
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
}
.btn-glow:hover {
  transform: translateY(-2px) scale(1.05);
  background: linear-gradient(45deg, #0e52e6, #00ff88);
  box-shadow: 0 8px 30px rgba(79, 172, 254, 0.4);
}

/* Gradient Button */
.btn-gradient {
  background: linear-gradient(45deg, #fffb00, #6e00fe);
  border: none;
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}
.btn-gradient:hover {
  background: linear-gradient(45deg, #0e52e6, #00ff88);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(67, 233, 123, 0.4);
}

/* Neon Button */
.neon-btn {
  background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
  color: #fff;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  padding: 12px 32px;
  box-shadow: 0 0 16px #43e97b55;
  transition: all 0.3s;
}
.neon-btn:hover {
  background: linear-gradient(90deg, #38f9d7 0%, #43e97b 100%);
  color: #fff;
  box-shadow: 0 0 32px #43e97b88;
  transform: translateY(-2px) scale(1.05);
}

/* Neon Button Alt */
.neon-btn-alt {
  background: linear-gradient(90deg, #f7971e 0%, #ffd200 100%);
  color: #232946;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  padding: 12px 32px;
  box-shadow: 0 0 16px #ffd20055;
  transition: all 0.3s;
}
.neon-btn-alt:hover {
  background: linear-gradient(90deg, #ffd200 0%, #f7971e 100%);
  color: #232946;
  box-shadow: 0 0 32px #ffd20088;
  transform: translateY(-2px) scale(1.05);
}

/* Restore .btn-primary if needed */
.btn-primary {
  background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
  color: #fff;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  padding: 12px 32px;
  box-shadow: 0 0 16px #43e97b55;
  transition: all 0.3s;
}
.btn-primary:hover {
  background: linear-gradient(90deg, #38f9d7 0%, #43e97b 100%);
  color: #fff;
  box-shadow: 0 0 32px #43e97b88;
  transform: translateY(-2px) scale(1.05);
}

/* Lead Text */
.lead {
  color: #e1e8ff;
  font-weight: 500;
  font-size: 1.2rem;
}

/* Navbar Styling */
.navbar {
  background-color: #000000 !important;
  border-bottom: 1px solid #ffffff69;
}
.navbar .container {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
  max-width: 100% !important;
}
.navbar-nav {
  gap: 0.1rem;
}
@media (min-width: 992px) {
  .navbar-nav {
    gap: 2rem;
  }
}
.navbar-nav .nav-link {
  position: relative;
  padding: 8px 16px;
  border-radius: 8px;
  color: #fff !important;
  transition: all 0.3s ease-in-out;
  font-weight: 500;
}
.navbar-nav .nav-link:hover {
  border: 2px solid #feed00;
  color: #feed00 !important;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

/* Founder Card Enhanced */
.founder-box {
  margin-top: 20px;
  position: relative;
  background: #000000;
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 0 32px 0 #43e97b, 0 4px 24px rgba(0, 0, 0, 0.5);
  /* Removed animated border and pseudo-elements */
}
.founder-box img,
.founder-box h4,
.founder-box p,
.founder-box .d-flex {
  position: relative;
  z-index: 3;
}
.founder-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 30px rgb(242, 0, 255), inset 0 0 20px rgba(0, 242, 254, 0.2);
  transition: all 0.3s ease;
}
.founder-photo:hover {
  box-shadow: 0 0 50px rgb(242, 0, 255), inset 0 0 30px rgba(0, 242, 254, 0.3);
  transform: scale(1.05);
}

/* Feature Cards */
.feature-card {
  background: linear-gradient(145deg, #290761, #1a1a1a);
  border: 2px solid transparent;
  border-radius: 15px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  height: 100%;
}
.feature-card:hover {
  border: 2px solid #b3ff00;
  box-shadow: 0 0 30px rgb(204, 255, 0);
  transform: translateY(-10px);
}
.feature-card .icon {
  color: #00ffcc;
  font-size: 3rem !important;
}

/* Course Cards */
.course-card {
  background: linear-gradient(145deg, #0b2060, #2a0379);
  border: 2px solid transparent;
  border-radius: 15px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.course-card:hover {
  border: 2px solid #4facfe;
  box-shadow: 0 0 30px rgba(79, 172, 254, 0.4);
  transform: translateY(-8px) scale(1.02);
  text-decoration: none;
  color: inherit;
}
.course-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #4facfe, #00f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.course-icon-link {
  transition: transform 0.2s, box-shadow 0.2s;
  border-radius: 16px;
  padding: 18px 0 8px 0;
}
.course-icon-link:hover {
  background: linear-gradient(90deg, #43e97b22, #38f9d722);
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 4px 24px rgba(67, 233, 123, 0.15);
  text-decoration: none;
}
.course-img-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: none;
  background: #232946;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 2px 12px rgba(67, 233, 123, 0.08);
  border-radius: 8px;
}

a .course-img-icon:hover,
a:focus .course-img-icon {
  transform: translateY(-8px) scale(1.2);
  box-shadow: 0 8px 32px rgba(67, 233, 123, 0.4);
  border-color: #38f9d7;
  filter: brightness(1.1) contrast(1.1);
}

/* Enhanced hover for icon elements (Bootstrap icons) */
.course-img-icon.bi {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 2px 12px rgba(67, 233, 123, 0.08);
  border-radius: 8px;
}

.course-img-icon.bi:hover {
  transform: translateY(-8px) scale(1.2);
  box-shadow: 0 8px 32px rgba(67, 233, 123, 0.4);
  filter: brightness(1.1) contrast(1.1);
}

/* Section Headers */
.section-header {
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
}
.section-header::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(45deg, #4facfe, #00f2fe);
  border-radius: 2px;
}

/* Professional Footer */
#footer {
  background: #000000;
  border-top: 1px solid #ffffff69;
}
.query-form {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  border: 1px solid rgba(67, 233, 123, 0.2);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(67, 233, 123, 0.1);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}
.form-control {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%) !important;
  border: 2px solid rgba(67, 233, 123, 0.1) !important;
  color: #ffffff !important;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 12px 16px;
  font-size: 0.95rem;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(67, 233, 123, 0.15), 0 2px 8px rgba(0, 0, 0, 0.3);
}
.form-control:focus {
  background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%) !important;
  border-color: rgba(67, 233, 123, 0.6) !important;
  box-shadow: 0 0 20px rgba(67, 233, 123, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}
.form-control::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
  font-weight: 400;
}
.form-label {
  color: #cbd5e1;
  font-weight: 500;
  margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  #home {
    min-height: 80vh;
    padding-top: 60px;
  }
  .founder-box {
    max-width: 280px;
  }
  .founder-photo {
    width: 120px;
    height: 120px;
  }
  #home .display-3 {
    font-size: 2.5rem;
  }
  #home .display-6 {
    font-size: 1.8rem;
  }
}

/* ===== About Section Professional Styling ===== */

.about-badge {
  background: linear-gradient(69deg, #efcc07, #5900ff);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.about-title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin: 1rem 0;
  line-height: 1.3;
}
.about-title .highlight {
  color: #f1c40f;
}
.about-title .highlight-alt {
  color: #00ffcc;
}
.about-bio {
  color: #cbd5e1;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* About Cards */
.about-card {
  background: linear-gradient(120deg, #181c2a 70%, #232946 100%);
  border: 1.5px solid #232946;
  border-radius: 18px;
  padding: 28px 24px 22px 24px;
  box-shadow: 0 6px 32px 0 rgba(67, 233, 123, 0.08), 0 1.5px 8px 0 #23294633;
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s, transform 0.3s;
  margin-bottom: 0;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about-card:hover {
  box-shadow: 0 0 32px 0 #43e97b88, 0 6px 32px 0 #00f2fe33;
  transform: translateY(-6px) scale(1.02);
  border-color: #43e97b;
}

.about-card h4.card-title {
  font-weight: 800;
  color: #00f2fe;
  margin-bottom: 1.1rem;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.about-card h4.card-title i {
  font-size: 1.5rem;
  color: #f1c40f;
  filter: drop-shadow(0 0 6px #43e97b55);
}

.about-card p {
  color: #e0e7ef;
  font-size: 1.07rem;
  margin-bottom: 0.7rem;
  font-weight: 500;
}

.about-card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0.7rem;
}

.about-card ul li {
  color: #b6eaff;
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
  padding-left: 0.2rem;
  position: relative;
  font-weight: 500;
  letter-spacing: 0.1px;
}

.about-card ul li b {
  color: #43e97b;
  font-weight: 700;
}

.about-card:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .about-card {
    min-height: unset;
    padding: 20px 12px 16px 12px;
    font-size: 0.98rem;
    margin-bottom: 18px;
  }

  .about-card-wrapper::before {
    border-radius: 18px;
  }
}

@media (max-width: 767px) {
  .about-card {
    margin-bottom: 18px;
  }

  .about-card-wrapper::before {
    border-radius: 16px;
  }
}

/* ===== Extra Transitions & Animations Inspired by AiFiesta ===== */

/* Fade & slide animation */
.fade-slide {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
.fade-slide.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating hero text */
.float-animation {
  animation: floatUpDown 4s ease-in-out infinite;
}
@keyframes floatUpDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Navbar underline grow */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: #ffffff;
  transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Cards stagger hover */
.feature-card,
.course-card,
.about-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.feature-card:hover,
.course-card:hover,
.about-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 0 40px rgba(190, 254, 0, 0.4);
}

/* Social icon hover */
.social-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}
.social-icon:hover {
  transform: rotate(12deg) scale(1.2);
  color: #00f2fe !important;
}

/* ===== Extra Premium Animations ===== */

/* Background subtle gradient glow */
#home::before {
  animation: gradientPulse 10s ease-in-out infinite alternate;
}
@keyframes gradientPulse {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
}

/* Section headers glow */
.section-header {
  animation: headerGlow 4s ease-in-out infinite alternate;
}
@keyframes headerGlow {
  from {
    text-shadow: 0 0 8px #00f2fe55;
  }
  to {
    text-shadow: 0 0 18px #43e97b88;
  }
}

/* Staggered card entrance */
.stagger-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
}
.stagger-fade.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-fade.hidden {
  opacity: 0;
  transform: translateY(40px);
}

/* Button shine effect */
.btn-glow,
.btn-gradient,
.neon-btn,
.neon-btn-alt,
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-glow::after,
.btn-gradient::after,
.neon-btn::after,
.neon-btn-alt::after,
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0), transparent);
  transform: skewX(-25deg);
}
.btn-glow:hover::after,
.btn-gradient:hover::after,
.neon-btn:hover::after,
.neon-btn-alt:hover::after,
.btn-primary:hover::after {
  animation: shine 0.75s forwards;
}
@keyframes shine {
  100% {
    left: 125%;
  }
}

/* Typed text fade-in each update */
#typed-text {
  animation: fadeInTyped 1s ease;
}
@keyframes fadeInTyped {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Container hover effect for better UX */
.col-6.col-md-2.text-center,
.col-4.col-md-2.text-center,
.col-6.col-md-3.text-center {
  transition: all 0.3s ease;
  padding: 10px;
  border-radius: 12px;
}

.col-6.col-md-2.text-center:hover,
.col-4.col-md-2.text-center:hover,
.col-6.col-md-3.text-center:hover {
  background: rgba(67, 233, 123, 0.05);
  transform: translateY(-2px);
}

/* ===== Wiki Section Mobile Responsive Fixes ===== */

/* Base Wiki Section */
#wiki {
  padding: 3rem 0;
}

/* Typography Responsive Scaling */
.about-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin: 1rem 0;
  line-height: 1.3;
  text-align: center;
}

.about-title .highlight {
  color: #f1c40f;
}

#typed-text {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  line-height: 1.4;
}

/* Founder Box Responsive */
.founder-box {
  margin: 1.5rem auto;
  padding: 2rem 1.5rem;
  max-width: 100%;
  background: #000000;
  border-radius: 20px;
  box-shadow: 0 0 32px 0 #43e97b, 0 4px 24px rgba(0, 0, 0, 0.5);
}

/* Founder Photo Responsive */
.founder-photo {
  width: clamp(120px, 20vw, 160px);
  height: clamp(120px, 20vw, 160px);
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 30px rgb(242, 0, 255), inset 0 0 20px rgba(0, 242, 254, 0.2);
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

/* Founder Box Text Scaling */
.founder-box h4 {
  font-size: clamp(1rem, 3vw, 1.25rem);
  margin-bottom: 0.5rem;
}

.founder-box h5 {
  font-size: clamp(1.1rem, 3.5vw, 1.4rem);
  margin-bottom: 1rem;
}

.founder-box h6 {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  margin-bottom: 0.75rem;
}

.founder-box p {
  font-size: clamp(0.85rem, 2.2vw, 1rem);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.founder-box ul li {
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  line-height: 1.5;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0;
}

/* Founder Message Box */
.founder-box .text-light.small {
  font-size: clamp(0.9rem, 2.3vw, 1.08rem) !important;
  padding: 1.5rem !important;
  margin: 1rem 0;
  border-radius: 12px;
  line-height: 1.6;
}

/* Social Icons Container */
.founder-box .d-flex.justify-content-center {
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.social-icon {
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  transition: transform 0.3s ease, color 0.3s ease;
  padding: 0.5rem;
}

/* Mobile Specific Adjustments */
@media (max-width: 768px) {
  #wiki {
    padding: 2rem 0;
  }

  .founder-box {
    margin: 1rem 0.5rem;
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }

  .about-badge {
    font-size: 0.75rem;
    padding: 4px 12px;
    margin-bottom: 1rem;
  }

  .about-title {
    margin: 0.5rem 0 1rem 0;
  }

  /* Compact spacing for mobile */
  .founder-box hr {
    margin: 1rem 0;
  }

  .founder-box ul {
    margin-bottom: 1rem;
  }

  .founder-box ul li {
    padding: 0.2rem 0;
    margin-bottom: 0.3rem;
  }

  /* Message box mobile optimization */
  .founder-box .text-light.small {
    padding: 1rem !important;
    margin: 0.75rem 0;
  }

  /* Social icons mobile */
  .founder-box .d-flex.justify-content-center {
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .social-icon {
    padding: 0.25rem;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .founder-box {
    margin: 0.5rem 0.25rem;
    padding: 1.25rem 0.75rem;
    border-radius: 14px;
  }

  .about-title {
    margin: 0.25rem 0 0.75rem 0;
  }

  .founder-photo {
    margin-bottom: 0.75rem;
  }

  .founder-box hr {
    margin: 0.75rem 0;
  }

  .founder-box .text-light.small {
    padding: 0.75rem !important;
    margin: 0.5rem 0;
  }

  .social-icon {
    font-size: 1.1rem;
  }
}

/* Large Mobile/Small Tablet */
@media (min-width: 769px) and (max-width: 991px) {
  .founder-box {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2.5rem 2rem;
  }
}

/* Ensure text remains readable */
@media (max-width: 576px) {
  .founder-box p,
  .founder-box ul li,
  .founder-box .text-light.small {
    text-align: left;
  }

  .founder-box h4,
  .founder-box h5,
  .founder-box h6 {
    text-align: center;
  }
}

/* Fix container padding on very small screens */
@media (max-width: 360px) {
  #wiki .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .founder-box {
    margin: 0.25rem 0;
    padding: 1rem 0.5rem;
  }
}

/* Background video styling */
.bg-video {
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  height: calc(100% - 70px);
  object-fit: cover;
  z-index: 0;
  opacity: 0.69; /* adjust for visibility */
}

.mern-section {
  padding: 80px 0;
  background: #000000;
}

.mern-section .section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 600;
}

.mern-description {
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  color: #8f8f8f;
}

.mern-content {
  color: gold;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.mern-info {
  max-width: 450px;
}

.mern-info h3 {
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: 600;
}

.mern-info ul {
  margin-bottom: 25px;
  line-height: 1.8;
}

.mern-btn {
  background: linear-gradient(50deg, #d00000, #003eaa);
  margin-left: 100px;
  border: none;
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
}

.mern-btn:hover {
  transform: translateY(-2px) scale(1.05);
  background: linear-gradient(45deg, #ff4e4e, #005eff);
  box-shadow: 0 8px 30px rgba(79, 172, 254, 0.4);
}

@media (max-width: 900px) {
  .mern-content {
    flex-direction: column;
    align-items: center;
  }
}

#courseCarousel {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

#courseCarousel .carousel-item img {
    height: 569px;           /* Adjust to whatever height you want */
    object-fit: scale-down;       /* Makes images crop properly, not stretch */
    width: 100%;
    border-radius: 10px;
}
