
/* Landing section: ensure it fills the viewport and centers its content */
.full-screen-section {
  position: relative;
  width: 100%;
  height: 100vh;         /* Full viewport height */
  overflow: hidden;      /* Hide any overflow */
  display: flex;         /* Use flexbox */
  align-items: center;   /* Center vertically */
  justify-content: center; /* Center horizontally */
  margin-bottom: 0;
}

/* Container for the video background */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* Hide parts of the video that overflow */
  z-index: -1;      /* Place behind the content */
}

/* Style the video itself */
.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover; /* Ensures the video covers the container */
}


/* Content placed on top of the video */
#landing .landing-content {
    position: relative;
    z-index: 1; /* Ensure the text is on top of the video */
    color: white; /* White text for contrast */
    text-align: center; /* Center the content */
    padding: 20px;
}

/* Optional: Adjust heading and paragraph within landing section */
#landing h1 {
    font-size: 3rem; /* Adjust font size */
    margin-bottom: 20px; /* Add some space below the heading */
}

#landing p {
    font-size: 1.5rem; /* Adjust text size */
    max-width: 800px; /* Limit paragraph width */
    margin: 0 auto; /* Center the paragraph */
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, #111, #222);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.about-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 3rem;
  font-weight: bold;
  color: #ff6a00;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.4rem;
  line-height: 1.8;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-in-out;
}

/* Highlights */
.highlights {
  background: rgba(255, 106, 0, 0.1);
  padding: 20px;
  border-radius: 10px;
  margin: 30px 0;
text-align: center;
}

.highlights h3 {
  font-size: 1.8rem;
  color: #ff6a00;
  margin-bottom: 15px;
}

.highlights ul {
  list-style: none;
  padding: 0;
  font-size: 1.2rem;
  justify-content: center;
}

.highlights li {
  margin: 15px 0;
  display: flex;
  justify-content: center;
  justify-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-in-out;
  }

.icon {
  font-size: 1.8rem;
  color: #ff6a00;
}

/* CTA Button */
.cta-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #ff6a00;
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 8px;
  transition: 0.3s ease-in-out;
  opacity: 0;
  transform: translateY(20px);
}

.cta-btn:hover {
  background: #ff3c00;
  transform: scale(1.05);
}

/* Animation */
.about-section.visible .about-content p,
.about-section.visible .highlights li,
.about-section.visible .cta-btn {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .about-content h2 {
    font-size: 2.5rem;
  }

  .about-content p {
    font-size: 1.2rem;
  }

  .highlights h3 {
    font-size: 1.6rem;
  }

  .highlights li {
    font-size: 1.1rem;
  }

  .cta-btn {
    font-size: 1.3rem;
  }
}


/* carousel */
.carousel{
    height: 100vh;
    margin-top: -50px;
    width: 100vw;
    overflow: hidden;
    position: relative;
}
.carousel .list .item{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}
.carousel .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel .list .item .content{
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: #ffffffc0;
    text-shadow: 0 5px 10px #0004;
}
.carousel .list .item .author{
    font-weight: bold;
    letter-spacing: 10px;
}

.carousel .list .item .title,
.carousel .list .item .topic{
    font-size: 5em;
    font-weight: bold;
    line-height: 1.3em;
}
.carousel .list .item .topic{
    color: #f1683a;
}

.carousel .list .item .des{
  font-family: Poppins;
  font-size: 1.3em;
  color: #eee;
  background: rgba( 0, 0, 0, 0.2 );
  box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 3.5px );
  -webkit-backdrop-filter: blur( 3.5px );
  border-radius: 5px;
  border: 1px solid rgba( 255, 255, 255, 0.18 );
}

.carousel .list .item .buttons{
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
}
.carousel .list .item .buttons button{
    border: none;
    background-color: #eee;
    letter-spacing: 3px;
    font-family: Poppins;
    font-weight: 500, bold;
}
.carousel .list .item .buttons button:nth-child(2){
    background-color: transparent;
    border: 2.5px solid #f1683a;
    color: #eee;
}
.carousel .list .item .buttons button:hover{
    transform: scale(1.2);
}

/* thumbail */
.thumbnail{
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}
.thumbnail .item{
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.thumbnail .item .content{
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}
.thumbnail .item .content .title{
    font-weight: 500;
}
.thumbnail .item .content .description{
    font-weight: 300;
}
/* arrows */
.arrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}
.arrows button{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgb(241, 104, 58, 0.7);
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
}
.arrows button:hover{
    background-color: #fff;
    color: #000;
}

/* animation */
.carousel .list .item:nth-child(1){
    z-index: 1;
}

/* animation text in first item */

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons
{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}
@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
.carousel .list .item:nth-child(1) .content .title{
    animation-delay: 1.2s!important;
}
.carousel .list .item:nth-child(1) .content .topic{
    animation-delay: 1.4s!important;
}
.carousel .list .item:nth-child(1) .content .des{
    animation-delay: 1.6s!important;
}
.carousel .list .item:nth-child(1) .content .buttons{
    animation-delay: 1.8s!important;
}
/* create animation when next click */
.carousel.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .5s linear 1 forwards;
}
@keyframes showImage{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.carousel.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.prev .list .item img{
    z-index: 100;
}
@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}
.carousel.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}

/* running time */

.carousel .time{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 3px;
    background-color: #f1683a;
    left: 0;
    top: 0;
}

.carousel.next .time,
.carousel.prev .time{
    animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime{
    from{ width: 100%}
    to{width: 0}
}


/* prev click */

.carousel.prev .list .item:nth-child(2){
    z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img{
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.carousel.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.next .arrows button,
.carousel.prev .arrows button{
    pointer-events: none;
}
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}
@media screen and (max-width: 678px) {
    .carousel .list .item .content{
        padding-right: 0;
    }
    .carousel .list .item .content .title{
        font-size: 30px;
    }
}

/* Section General Styles */
.catalog-section {
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.6), rgba(34, 34, 34, 0.8)); /* Dark gradient background */
  backdrop-filter: blur(20px); /* Glassmorphism with blur effect */
  border-radius: 0px;
  padding: 40px;
  margin: 0 auto;
  max-width: 1200px;
  color: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4); /* Enhanced depth */
  position: relative;
  height: 100vh; /* Full height of viewport */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Use space-between to optimize layout */
  overflow-y:auto; /* Scroll within the section */
}

/* Container */
.catalog-section .container {
  text-align: center;
}

/* Main Heading */
.catalog-heading {
  font-size: 2rem; /* Reduced size to fit better */
  font-weight: 400;
  color: #FF5C00; /* Bright, punchy orange */
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px; /* Reduced margin */
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6); /* Glow effect */
  animation: popIn 0.8s ease-out;
}

/* Sub-heading */
.catalog-subheading {
  font-size: 1.1rem; /* Smaller font size */
  font-weight: 500;
  color: #ddd;
  margin-bottom: 25px; /* Reduced bottom margin */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  opacity: 0.8;
  animation: fadeIn 1s ease-in-out;
}

/* Course List Container (Two Columns) */
.course-list-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px; /* Reduced gap for a tighter fit */
}

.course-list {
  list-style: none;
  padding: 0;
  width: 48%; /* Two columns layout */
}

/* Individual Course Item */
.course-item {
  background: rgba(255, 255, 255, 0.1); /* Transparent background for glass effect */
  padding: 18px; /* Smaller padding */
  margin-bottom: 20px; /* Reduced bottom margin */
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.course-item:hover {
  transform: translateY(-8px); /* Slight hover effect */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); /* Bold shadow on hover */
}

.course-title {
  font-size: 1.2rem; /* Reduced font size */
  font-weight: 700;
  color: #FF5C00; /* Bold accent color */
  margin-bottom: 8px; /* Reduced margin */
  text-transform: capitalize;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.course-title:hover {
  color: #ff9400; /* Slightly lighter hover color */
  cursor:pointer;
}

/* Sub-courses (Bullet Points) */
.sub-courses {
  list-style: none;
  padding-left: 0;
  font-size: 1.1rem; /* Smaller font size */
  color: #ccc;
  margin-top: 8px; /* Reduced margin */
}

.sub-courses li {
  margin-bottom: 6px; /* Reduced spacing */
  transition: color 0.3s ease, transform 0.3s ease;
  cursor: pointer; /* Changing cursor to pointer */
}

.sub-courses li:hover {
  color: #FF5C00; /* Orange on hover */
  transform: translateX(5px); /* Slide effect on hover */
}

/* Description Paragraph */
.catalog-description {
  margin-top: 25px; /* Reduced margin */
  font-size: 1.1rem; /* Smaller font size */
  line-height: 1.5;
  color: #ddd;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.8;
  animation: fadeIn 1.2s ease-in-out;
}

/* Key Animations */
@keyframes popIn {
  0% {
      transform: scale(0);
      opacity: 0;
  }
  60% {
      transform: scale(1.1);
      opacity: 0.8;
  }
  100% {
      transform: scale(1);
      opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
      opacity: 0;
      transform: translateY(10px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}



/* Contact Section Styling */
#contact {
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.6), rgba(34, 34, 34, 0.8)); /* Dark gradient background */
  padding: 60px 20px;
  text-align: center;
  color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* Full viewport height */
  flex-direction: column;
  box-sizing: border-box; /* Ensures padding doesn’t affect width */
  border-top: #f1683a solid;
}

/* Container for contact section */
.contact-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: center; /* Centers sections horizontally */
  align-items: center; /* Aligns them vertically */
  gap: 40px;
  flex-wrap: wrap; /* Allows sections to stack on smaller screens */
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

/* Logo Section */
.logo-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 300px;
  max-width: 400px;
}

.logo {
  max-width: 200px;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.3);
}

.business-address {
  margin-top: 20px;
  font-size: 1rem;
  color: #ffffff;
}

/* Contact Form Section */
.form-section {
  flex: 2;
  padding: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
  color: #ff6a00;
  text-align: center;
  width: 100%;
  max-width: 500px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Form Styling */
.contact-form {
  width: 100%;
  max-width: 400px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.form-group {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.form-group label {
  font-size: 1rem;
  margin-bottom: 5px;
  color: #ffffff;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 2.5px solid #000000;
  border-radius: 8px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #ff6a00;
  outline: none;
}

.submit-btn {
  padding: 15px 30px;
  font-size: 1.125rem;
  background-color: #ff6a00;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #e35d00;
}

/* Employee Contact Section */
.employee-contact {
  flex: 1;
  color: #ffffff;
  text-align: center; /* Center aligns content */
  min-width: 300px;
  max-width: 400px;
}

.employee-contact h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ff6a00;
}

.employee {
  margin-bottom: 40px; /* Reduced margin to keep consistency */
}

.employee h4 {
  font-size: 2rem;
  font-weight: 600;
}

.employee p {
  font-size: 1.5rem;
  margin: 5px 0;
}

.employee a {
  color: #ff6a00;
  text-decoration: none;
}

.employee a:hover {
  text-decoration: underline;
}
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .course-list-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 20px; /* Reduced gap for a tighter fit */
      align-content: center;
      justify-content: center;
    }
    .contact-container {
      flex-direction: column;
      align-items: center;
      gap: 20px; /* Adjust spacing between items */
      align-content: center;
    }
  
    /* Form Section */
    .form-section {
      max-width: 100%;
      margin: 20px 0;
    }
  
    /* Employee Contact Section */
    .employee-contact {
      max-width: 100%;
      text-align: center;
      margin-top: 20px; /* Adjust spacing */
    }
  
    /* Logo */
    .logo img {
      max-width: 180px;
    }
    #about {
      padding: 20px; /* Add padding for smaller screens to avoid edge clashing */
      height: auto;  /* Allow the section to grow in height if content is taller than the viewport */
    }
  
    #about h2 {
      font-size: 3rem; /* Smaller heading on mobile */
      margin-bottom: 30px; /* Adjust bottom margin */
    }
  
    .about-highlights h3 {
      font-size: 1.5rem;
    }
  
    .about-highlights ul {
      font-size: 1rem;
    }
  
    #about p {
      font-size: 1.2rem;
    }
  
    #about .cta {
      font-size: 1.2rem;
      padding: 10px 20px;
    }
  }
  

  
  
  
  
