/* Custom styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  color: #333;
}

h1,
h2,
h3 {
  margin: 0;
}

a {
  text-decoration: none;
  color: #0066cc;
}

/* Header styles */
header {
  color: #fff;
  padding: 1rem;
}

/* Navbar styles */
.navbar {
  border-radius: 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
}

.navbar-nav {
  margin-left: auto;
}

.nav-link {
  font-size: 1.2rem;
  padding: 1rem;
}

.nav-link:hover {
  background-color: #ffffff;
}

.navbar-toggler-icon {
  background-color: #fff;
}

/* Home section styles */
#home {
  padding: 4rem;
  text-align: center;
  border: 1px solid rgb(171, 168, 168); /* This will create a solid black border around the element */
}

.hero {
  max-width: 600px;
  margin: 0 auto;
}
.hero2 {
  max-width: 600px;
  margin: 0 auto;
  margin-top: 40px;
}
.cta-button {
  background-color: #0066cc;
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  margin-top: 1rem;
}

/* Courses section styles */
#courses {
  padding: 4rem;
}

.course-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  width: 300px;
  transition: transform 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-card h3 {
  color: #0066cc;
}

.course-card img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.enroll-button {
  background-color: #0066cc;
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  margin-top: 1rem;
}

/* About section styles */
#about {
  border: 1px solid rgb(171, 168, 168);
  padding: 4rem;
  text-align: center;
}

/* Contact section styles */
#contact {
  padding: 4rem;
  border: 1px solid rgb(171, 168, 168);
  margin-top: 20px;
  text-align: center;
}

.contact-button {
  background-color: #0066cc;
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
}

/* Footer styles */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 1rem;
}
/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
  display: grid;
  background-color: transparent;
  height: 100%;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
  position: relative;
  z-index: 2; /* Ensure it's above the blurred content */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
#core-members {
  padding: 4rem 0;
}

#core-members {
  padding: 4rem 0;
}

#core-members h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
}

.member-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.member-img-top {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

.member-card-body {
  padding: 2rem;
}

.member-card-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.member-card-text {
  font-size: 1rem;
  color: #666;
}

.text-center {
  text-align: center;
}
/* Position the front and back side */
.flip-card-front {
  display: flex;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  color: black;
}
.back-video {
  position: absolute;
  right: 0;
  left: 0;
  width: 440px;
  height: 440px;
  margin-bottom: 80px;
  margin-left: 390px;
  bottom: 0;

  z-index: -1;
}

/* Style the back side */
.flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
  transform: rotateY(180deg);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-title {
  font-weight: 600;
}

.courses-img {
  height: 250px;
  width: 250px;
  margin: 20px auto;
}

body.blur-effect {
  backdrop-filter: blur(709px); /* Adjust the blur strength as needed */
}
.flip-card-inner.flipped {
  transform: rotateY(180deg);
}
.image-with-margin {
  margin-left: 300px;
}
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px; /* Adjust the margin as needed */
}

.logo-container img {
  max-width: 150px; /* Adjust the maximum width of the logos */
  margin: 0 20px; /* Adjust the horizontal margin between logos */
}
.logo-img {
  width: 50px; /* Adjust the width as needed */
  height: auto; /* This ensures the aspect ratio is maintained */
  margin: 0 10px; /* Add some margin between the logos */
}

@media only screen and (max-width: 1024px) {
  .bg-img {
    width: 300px;
    height: 240px;
  }

  #courses {
    padding: 1rem;
  }

  .courses-img {
    height: 170px;
    width: 170px;
    margin: 20px auto;
  }

  .col-md-4 {
    padding: 5px;
  }

  .card-title {
    font-size: 1.4em;
  }

  .card-body {
    padding: 1rem;
  }
}
