body {
  font-family: 'Roboto', sans-serif;
  /* background-color: #352020; */
  overflow-x: hidden;
  /* Prevent horizontal scrolling */

}

/* nav bar */

/* Default styles for desktop */
.navbar {
  display: block; /* Show on larger screens */
}

/* Styles for mobile devices */
@media (max-width: 768px) { /* Adjust the breakpoint as needed */
  .navbar {
      display: none; /* Hide on mobile */
  }
}


/* end nav bar */

.hero {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.5);
}

h1,
h2,
h3,
h4 {
  margin-bottom: 1rem;
}

.card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(107, 6, 6, 0.3);
}

footer {
  position: relative;
  bottom: 0;
  width: 100%;
}

@media (max-width: 768px) {

  h1,
  h2,
  h3,
  h4 {
    font-size: 1.5rem;
  }

  .hero h2 {
    font-size: 2rem;
  }
}

/* crash course */

.card {
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #da0a0a; /* Optional border for definition */
  border-radius: 10px; /* Optional for rounded corners */
}

.card:hover {
  transform: scale(1.05) translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  background: #352020;
  border: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(151, 8, 8, 0.3);
}

/* Responsive styles */
@media (max-width: 768px) {
  .card-body {
    padding: 1rem; /* More padding for smaller screens */
  }
}

/* end crash course */

/* notes Section */

.notes {
  background-color: #343a40; /* Dark background for notes */
  color: #f8f9fa; /* Light text for readability */
  border-radius: 10px;
  padding: 2rem;
  margin-top: 2rem;
}

h2 {
  color: #17a2b8; /* Aqua color for section title */
  margin-bottom: 1.5rem;
}

h3 {
  color: #17a2b8; /* Aqua color for headings */
}

.notes-list {
  list-style: none; /* Remove default list style */
  padding: 0;
}

.notes-list li {
  margin-bottom: 15px;
}

.notes-list a {
  color: #ffffff; /* White color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.notes-list a:hover {
  color: #17a2b8; /* Change link color on hover */
}

@media (max-width: 768px) {
  .notes {
      padding: 0rem; /* Responsive padding */
  }
}

/* end notes section */

/* course section */

/* courses text justify */
#courses {
  text-align: justify;
}

/* main crash course */
#our_courses {
  margin-top: 5rem;
}

/* Ensure card images are responsive */
.card-img-top {
  width: 100%;
  height: auto;
}

/* Set a minimum height for cards to ensure uniformity */
.card {
  min-height: 350px;
}

/* Responsive margin for small screens */
@media (max-width: 576px) {
  .col-sm-6 {
    margin-bottom: 1rem; /* Add some bottom margin for better spacing */
  }
}


/* end course section */

#about {
  color: aqua;
}

#testimonials {
  color: aqua;
}

#contact {
  color: aqua;
}

/* Enroll button */

.center {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.outer {
  position: relative;
  margin: 0 50px;
  background: #111;
}

.button {
  height: 70px;
  width: 220px;
  border-radius: 50px;
}

.circle {
  height: 200px;
  width: 200px;
  border-radius: 50%;
}

.outer button,
.outer span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.outer button {
  background: #111;
  color: #f2f2f2;
  outline: none;
  border: none;
  font-size: 20px;
  z-index: 9;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.button button {
  height: 60px;
  width: 210px;
  border-radius: 50px;
}

.circle button {
  height: 180px;
  width: 180px;
  border-radius: 50%;
}

.outer span {
  height: 100%;
  width: 100%;
  background: inherit;
}

.button span {
  border-radius: 50px;
}

.circle span {
  border-radius: 50%;
}

.outer:hover span:nth-child(1) {
  filter: blur(7px);
}

.outer:hover span:nth-child(2) {
  filter: blur(14px);
}

.outer:hover {
  background: linear-gradient(#14ffe9, #ffeb3b, #ff00e0);
  animation: rotate 1.5s linear infinite;
}

@keyframes rotate {
  0% {
    filter: hue-rotate(0deg);
  }

  100% {
    filter: hue-rotate(360deg);
  }
}

@media (max-width: 640px) {
  .center {
    flex-wrap: wrap;
    flex-direction: column;
  }

  .outer {
    margin: 50px 0;
  }
}

/* Contact_us Form */

.glow-on-hover {
  width: 220px;
  height: 50px;
  border: none;
  outline: none;
  color: #fff;
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
}

.glow-on-hover:before {
  content: '';
  background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing 20s linear infinite;
  opacity: 0;
  transition: opacity .3s ease-in-out;
  border-radius: 10px;
}

.glow-on-hover:active {
  color: #000
}

.glow-on-hover:active:after {
  background: transparent;
}

.glow-on-hover:hover:before {
  opacity: 1;
}

.glow-on-hover:after {
  z-index: -1;
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #111;
  left: 0;
  top: 0;
  border-radius: 10px;
}

@keyframes glowing {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 400% 0;
  }

  100% {
    background-position: 0 0;
  }
}

/* testimonial */


.carousel {
  position: relative;
  max-width: 600px;
  /* Set a max width for the carousel */
  margin: auto;
  /* Center the carousel */
}

.testimonial-card {
  background-color: #222;
  /* Darker card background */
  border-radius: 10px;
  padding: 20px;
  margin: 10px 0;
  text-align: center;
  display: none;
  /* Hide all cards initially */
}

.testimonial-card.active {
  display: block;
  /* Show the active card */
}

.testimonial-text {
  font-size: 1.2em;
  margin: 15px 0;
}

.blockquote-footer {
  font-weight: bold;
}

/* Educational Resources */

.card {
  border: 1px solid gold;
  ;
  /* Remove card border */
  transition: transform 0.3s, box-shadow 0.3s;
  /* Smooth transition for hover effect */
}

.card:hover {
  transform: translateY(-5px);
  /* Lift effect on hover */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  /* Shadow effect on hover */
}

.icon-transition {
  transition: transform 0.3s;
  /* Smooth transition for icon */
}

.icon-transition:hover {
  transform: scale(1.1);
  /* Zoom effect on hover */
}

.card-title {
  font-size: 1.5em;
  /* Increase card title size */
}

.card-text {
  font-size: 1em;
  /* Adjust card text size */
}

.btn-primary {
  background-color: #007bff;
  /* Bootstrap primary color */
  border: none;
  /* Remove border */
}

.btn-primary:hover {
  background-color: #0056b3;
  /* Darker shade on hover */
}