.coursewrapper {
  background: #fcb431b2 70%;
  height: 100%;
  display: flex;
  justify-content: center;
}

.course-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.course-container h1 {
  font-size: 64px;
}

.breadcrump {
  font-size: 20px;
  font-weight: 600;
  margin-top: 10px;
}

.whoweare {
  display: flex;
  justify-content: center;
  margin: 50px 0;
}

.whoweare h1 {
  font-size: 48px;
  margin-bottom: 30px;
}

.whoweare p {
  line-height: 43px;
  font-size: 20px;
}

/* Courses */

.courses{
    display: flex;
    justify-content: center;
    margin: 70px 0;
}

.course-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 100px;
    margin: 50px 0;
}

.course{
    background: #fff;
    border-radius: 30px;
    padding: 0 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.course-img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
    border-radius: 30px;
}

.course-img img {
    width: 100%;
    display: block;
}

/* Shining effect */
.course-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    transform: skewX(-25deg);
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 100%
    );
    opacity: 0; /* Initially hidden */
}

/* Automatic shine every 10 seconds */
@keyframes shine {
    0% { left: -100%; opacity: 1; }
100% { left: 100%; opacity: 1; }
    
}

/* Apply animation every 10 seconds */
.course-img.shining::before {
    animation: shine 1.5s infinite;
}

/* Trigger shine on hover */
.course-img:hover::before {
    animation: shine 1.5s infinite;
}



.courses h1,h2{
    text-align: center;
    font-weight: bolder;
}

.course .course-details
{
    list-style: none;
    /* padding: 8px; */
    line-height: 1.8;
    font-size: 18px;
    float: left;
}

.course .course-details .language-item
{
    display: flex;
    align-items: flex-start;
}

.course .course-details .language-item svg
{
    margin-top: 7px;
}

.course .course-details .language-item .label{
    min-width: 110px; /* adjust if needed */
    flex-shrink: 0;
}

.course .course-details .language-item .value
{
    line-height: 1.5;
}


.course button
{
    font-size: 18px;
}

.courses h1{
    font-size: 32px;
    margin-bottom: 10px;
    margin-top: 50px;
    font-weight: 500;
    color: #008080;
}

.course h2{
    font-size: 20px;
    font-weight: bolder;
    margin-bottom: 20px;
}

.courses p{
    line-height: 30px;
    font-size: 18px;
}

.certifications {
  display: flex;
  justify-content: center;
}

.certifications h2 {
  font-size: 50px;
  margin-bottom: 20px;
}

.certifications p {
  font-size: 20px;
  line-height: 42px;
}

.certificate-grid {
  margin-top: 50px;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);
}

.certifiicate img {
  width: 100%;
}

.certifiicate {
  display: flex;
  align-items: center;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

@media screen and (min-width: 320px) and (max-width: 880px) {

  
    .course-banner{
        min-height: 550px !important;
        margin-top: 10px;
        padding: 10px 0;
    }

    .course-banner .banner-flex{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .course-banner .banner-content{
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    order: 1;
}

.course-banner .banner-content h1{
    width: 100% !important;
    font-size: 45px !important;
    line-height: 1.2 !important;
    margin: 5px 0 10px !important;
    text-align: center !important;
    padding: 20px 0;
}

    .course-banner .banner-content p{
    width: 100% !important;
    max-width: 100% !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
    padding: 0 30px !important;
    margin: 0 0 10px 0 !important;
    text-align: left !important;
    
}

   .banner-img{
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 30px !important;
    margin-top: -15px !important;
}

.banner-img img{
    width: 100% !important;
    max-width: 350px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}


    .swiper-button-next:after,
    .swiper-button-prev:after{
        font-size:13px;
    }

  .course-banner{
    margin-top: 20px;
  }
  .courses{
        margin: 40px 0;
    }

    .courses h1{
        font-size: 26px;
        text-align: center;
        margin-top: 20px;
    }

    .courses h2{
        font-size: 30px;
        text-align: center;
        margin-bottom: 15px;
    }

    .courses p{
        font-size: 16px;
        line-height: 28px;
        text-align: center;
        padding: 0 15px;
    }

    .course-grid{
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 40px 0;
    }

    .course{
        width: 100%;
        max-width: 320px;
        margin: auto;
    }

    .course-img img{
        width: 100%;
        height: auto;
    }

    .course h2{
        font-size: 20px;
        margin-top: 15px;
    }

    .course-details{
        width: 90%;
        font-size: 14px;
    }

    .course-details li{
        margin: 8px 0;
    }
}

/* Banner */

.course-banner{
    display: flex;
    justify-content: center;
    font-family: "Open Sans", serif;
    margin-top: 50px;
    background-color: #008080;
    height: 420px;  
}

.course-banner .banner-flex{
    display: flex;
    height: fit-content;
}

.course-banner .banner-content{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-btn{
    display: flex;
    align-items: center;
    gap: 10px;
}

.banner-hlite{
    font-size: 30px;
    font-weight: 800;
    color: #fbb531;
    margin-top: 10px;
}

.banner-brief{
    background-color: #FCB43129;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    padding: 15px;
    border-radius: 5px;
    width: fit-content;
    font-size: 15px;
    font-weight: 700;
    margin: 15px 0 25px;
}

.course-banner .banner-content h1{
    
    font-size: 58px;
    color: #008080;
    line-height: 65px;
}

.course-banner .banner-content h2{
    font-size: 28px;
    margin: 10px 0;
    width: fit-content;
}


.yellow{
    color: #ff7f50;
}

.course-banner .banner-content p{
    font-size: 18px;
    margin-top: 20px;
    line-height: 32px;
    color: #fff;
}

.cert{
    margin-top: 10px;
}

.course-banner .banner-content ul{
    font-size: 20px;
    margin-top: 20px;
}

.course-banner .banner-contact{
    display: flex;
    gap: 20px;
    margin-top: 50px;
}



.nav-btn-yellow{
    background-color: #fbb531;
    padding: 10px 20px;
    border-radius: 10px;
    white-space: nowrap;
    margin-left: 50px;
}

.banner-img{
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-img img{
    width: 100%;
    height: 100%;
    margin-left: 50px;
      margin-top: 50px;
}

/* .aboutus-banner-img{
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.aboutus-banner-img img{
    width: 100%;
    height: 100%;
    margin-left: 50px;
    margin-top: -50px;
} */

.nav-drawer {
  display: none;
  position: relative;
  top: 60px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 3px solid var(--amber);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
  z-index: 399;
  flex-direction: column;
  animation: drawerIn 0.22s ease;
}
@keyframes drawerIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nav-drawer.is-open {
  display: flex;
}
.nav-drawer a {
  display: block;
  padding: 13px 28px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid #f3f3f1;
  transition:
    background 0.18s,
    color 0.18s;
}
.nav-drawer a:hover {
  background: rgba(252, 180, 49, 0.08);
  color: var(--amber-d);
}
.nav-drawer a:last-child {
  border-bottom: none;
}
.nav-drawer .drawer-cta {
  margin: 10px 20px 14px;
  border-radius: 7px;
  text-align: center;
  background: #ff7f50;
  color: #fff !important;
  font-weight: 700 !important;
  border-bottom: none !important;
}
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  width: 40px;
  height: 40px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.nav-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .navbar {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
}
