@import url("https://fonts.googleapis.com/css?family=Montserrat:500&display=swap");
@import url("https://fonts.googleapis.com/css?family=Dancing+Script&display=swap");
@import url("https://fonts.googleapis.com/css?family=Open+Sans&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");


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

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  height: 100%;
  background: #fff;
  font-family: "Open Sans", sans-serif;
  font-family: var(--body-font);
  background-color: var(--body-color);
  color: var(--text-color);
}
main {
  margin-top: 20vh;
  width: 100%;
  height: 100%;
}
header {
  height: 5vh;
  /* background: #000; */
}
.black {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* new code of navbar */
.Navbar {
  top: 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: 0.5s ease-in-out;
  align-items: center;
}

/* Navbar Header */
.navbar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  position: relative;
  z-index: 1000;
}

.logo img {
  height: 100%;
  background-color: #fff;
  border-radius: 12px;
  width: 150px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: black;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Desktop Navigation */
.nav-menu {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 5px 32px;
  gap: 3em;
  list-style: none;
}

.nav-Link {
  font-size: 1.2em;
  position: relative;
  padding: 0px 10px;
  cursor: pointer;
  color: #2e3d49;
  transition: 0.5s;
  text-decoration: none;
}

.nav-Link::after {
  content: "";
  position: absolute;
  background: linear-gradient(to right, #fa4b37, #df2771);
  left: 0;
  bottom: -5px;
  height: 3px;
  width: 100%;
  transform: scale(0);
  transition: transform 0.3s ease-in-out;
}

.nav-Link:hover::after {
  width: 100%;
  transform: scale(1);
}

.dropdown-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.nav-Link:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* CTA Buttons */
.nav-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.Btn {
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-Secondary {
  border: 2px solid rgb(238, 34, 34);
  border-radius: 10px;
  text-decoration: none;
  transition: 0.5s;
  background: linear-gradient(to right, #fa4b37, #df2771);
  color: #fff;
}

.btn-Secondary:hover {
  background: linear-gradient(to right, #fb2f18, #ff0167); 
}

.btn-Primary {
  margin-top: 35px;
  padding: 15px 40px;
  border: none;
  outline: none;
  color: #fff;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  z-index: 0;
  border-radius: 12px;
}

.btn-Primary::after {
  content: "";
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #f94a38, #df286f);
  left: 0;
  top: 0;
  border-radius: 10px;
}
.btn-Primary::before {
  content: "";
  background: linear-gradient(
    45deg,
    #f94a38,
    #df286f,
    #f94a38,
    #df286f,
    #f94a38,
    #df286f,
    #ff2600
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 600%;
  z-index: -1;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  filter: blur(10px);
  animation: glowing 20s linear infinite;
  transition: opacity 0.3s, ease-in-out;
  border-radius: 10px;
  opacity: 0;
}

@keyframes glowing {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.btn-Primary:hover::before {
  opacity: 1;
}

/* Mobile Menu Dropdown */
.mobile-menu {
  width: 100%;
  background: linear-gradient(to right, #f94a38, #df286f);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  border-radius: 0 0 12px 12px;
}

.mobile-menu.active {
  max-height: 800px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  list-style: none;
  padding: 1em;
}

.mobile-nav-link {
  padding: 20px 24px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-link:hover {
  background: white;
  box-shadow: 20px 20px 60px rgba(36, 36, 36, 0.482),
    -20px -20px 60px rgb(147, 146, 146);
  border-radius: 2em;
  color: black;
  padding-left: 32px;
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-dropdown-arrow {
  color: #666;
  font-size: 14px;
}

.mobile-buttons {
  padding: 24px;
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-Btn {
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.mobile-btn-secondary {
  background: transparent;
  color: #333;
  border: 2px solid #e5e5e5;
}

.mobile-btn-secondary:hover {
  border-color: #0066cc;
  color: #0066cc;
}

.mobile-btn-Primary {
  background: #fff;
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.259),
    inset -20px -20px 60px rgb(255, 254, 254);
  color: #0f3460;
}

.mobile-btn-Primary:hover {
  background: linear-gradient(to right, #f94a38, #df286f);
}

.logo img {
  width: 200px;
  cursor: pointer;
  transition: all 1s;
}



/* Course Data container */
.Course_Container {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap-reverse;
  align-items: center;
  gap: 2em;
  /* border: 2px solid red; */
}

div.card {
  border-radius: 15px;
}

.cInfo {
  padding: 0 2em;
  text-align: justify;
  width: 60em;
}

.cInfo h3 {
  text-align: start;
  font-size: 2.5em;
}

@keyframes floatUpDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px); /* Goes up */
  }
  100% {
    transform: translateY(0); /* Back to original */
  }
}

.courseImage img {
  width: 150px;
  filter: drop-shadow(5px 10px 30px rgb(115, 114, 114));
  animation: floatUpDown 3s ease-in-out infinite;
  transition: transform 0.4s ease;
}

.courseImage img:hover {
  transform: scale(1.05);
}




/* Chapters
 */
#makeitfull {
  display: flex;
  justify-content: center;
  transform: translateY(80px);
}

#makeitfull img {
  width: 50px;
}

.Chapters {
  background: white;
  margin-top: 10em ;
}

.Chapters h3 {
  font-size: 3em;
  text-transform: capitalize;
  font-weight: 600;
  background: linear-gradient(to right, #f94a38, #df286f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Optional for some browsers */
  background-clip: text;
  color: transparent;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.Chapter_parts {
  display: flex;
  justify-content: start;
  flex-wrap: wrap;
  align-items: center;
  gap: 3em;
  padding: 10em 3em;
  padding-top: 3em;
}

/* Smooth transition for cards */
.Chapter_parts .card {
  transition: all 0.3s ease;
  z-index: 0;
}


/* Optional: card scale on hover */
.Chapter_parts .card:hover {
  transform: scale(1.02);
  z-index: 1;
}


.card-data-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

div.card {
  color: rgb(7, 7, 7);
  border: none;
  background: #f8f8f8;
  box-shadow: 2px 3px 12px #5b5a5a, 0px 0px 10px #fcfcfc;
  backdrop-filter: blur(100px);
  width: 25rem;
}

div.card:hover {
  box-shadow: 2px 3px 12px #d0d0d0, 0px 0px 10px #dbdada;
}

div.card-body {
  height: 280px;
}

div.cInfo p {
  color: gray;
}

.card-text {
  padding: 20px;
}

.card-text li {
  color: gray;
  font-size: 16px;
}

/* morquee */
.marqu {
  text-align: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  padding: 10px;
}

/*FOOTER*/
footer {
  color: #e5e8ef;
  background: #000d;
  padding: 50px 0;
}
footer .footer-container {
  max-width: 1300px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap-reverse;
}
footer .social-media img {
  width: 22px;
}
footer .logo {
  width: 180px;
  color: #fff;
}
footer .social-media a {
  margin-right: 10px;
  font-size: 22px;
  text-decoration: none;
}

footer .right-col h1 {
  text-align: center;
  font-size: 26px;
  font-weight: 200;
}

footer .right-col iframe {
  width: 30em;
  height: 300px;
  border: 0;
}

footer .txtb {
  flex: 1;
  padding: 18px 40px;
  font-size: 16px;
  background: #343a40;
  border: none;
  font-weight: 700;
  outline: none;
  border-radius: 5px;
  min-width: 260px;
  margin-top: 20px;
  color: white;
}
footer .btn {
  margin-top: 20px;
  padding: 18px 40px;
  font-size: 16px;
  color: #f1f1f1;
  background: linear-gradient(to right, #fa4b37, #df2771);
  border: none;
  font-weight: 700;
  outline: none;
  border-radius: 5px;
  margin-left: 20px;
  cursor: pointer;
  transition: opacity 0.3s linear;
}
footer .btn:hover {
  opacity: 0.7;
}

.copyright-Section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 20px;
}

/*PROPERTIES FOR MAKING WEBSITE RESPONSIVE*/

@media screen and (max-width: 700px) {
  footer .btn {
    margin: 0;
    width: 100%;
    margin-top: 20px;
  }
  .svg-image img {
    width: 90%;
    margin: 20px;
    /* align-self: center; */
  }

  footer .right-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  footer .right-col iframe {
    width: 21em;
  }

  footer ul {
    flex-direction: row;
    gap: 20px;
  }
}

@media screen and (max-width: 960px) {
  .footer-container {
    max-width: 600px;
  }
   
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
  }

  .right-col {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column wrap;
    width: 100%;
    margin-bottom: 60px;
  }

  .left-col {
    width: 100%;
    text-align: center;
  }
  .social-media {
    display: flex;
    justify-content: center;
  }

  .logo {
    transition: 1s;
    margin-left: 30%;
  }

  .Chapter_parts {
    justify-content: center;
  }

  .card-body {
    height: 450px;
  }

  .rights-text{
    text-align: center;
  }
}
