@import url("https://fonts.googleapis.com/css2?family=Poppins");
/* styles.css */
:root {
  --site-primary-color: #17a43b;
  --site-primary-color-1: #86bc42;
  --site-secondary-color: #343a40;
  --site-secondary-color-2: #212529;
  --site-aux-color: #ffc107;
}
.site-bg-primary {
  background: var(--site-primary-color);
}
.site-text-primary {
  background: var(--site-secondary-color);
}
.site-bg-secondary {
  color: var(--site-primary-color);
}
.site-text-secondary {
  color: var(--site-secondary-color);
}

body {
  /* font-family: Arial, sans-serif; */
  font-family: 'Poppins' !important;
  min-height: 100vh !important;
}
a {
  text-decoration: none;
  color: var(--site-primary-color) !important;
  /* color: white !important; */
}
header{
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05);
}
.bi {
  /* color: var(--site-primary-color); */
}
.text-primary{
  color: var(--site-primary-color) !important;
}
.banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner-content {
  max-width: 50%;
}
.icon-box {
  display: flex;
  align-items: flex-start;
}
.nav-icon {
  margin-right: 10px;
  width: 36px;
  height: 36px;
}

.nav-icon i {
  font-size: 36px;
}
.nav-item a{
  color: #6c757d !important;
  font-size: large;
}
.nav-item a:hover{
  color: var(--site-primary-color) !important;
}


/* Sidebar styles */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 250px;
  background-color: #f8f9fa;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
  padding-top: 60px;
  /* Adjust this value based on the height of the close button */
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar .close-btn {
  font-size: 1.5rem;
  cursor: pointer;
  padding: 1rem;
  position: absolute;
  top: 0;
  right: 15px;
}

.sidebar .nav-link {
  padding: 1rem 2rem;
}

.sidebar .dropdown-menu {
  position: static;
  float: none;
}

/* Text scrolling right to left */

.scrolling-text-container {
  overflow: hidden;
  position: relative;
  padding: 20px;
  width: 100%;
  background-color: #f1f1f1;
  background: var(--bs-yellow);
  white-space: nowrap;
}

.scrolling-text {
  display: inline-block;
  white-space: nowrap;
  display: flex;
}

.me-5 {
  margin-right: 2rem;
}


.carousel-control-next,
.carousel-control-prev {
  z-index: 2 !important;
}
.carousel-item {
  position: relative;
  /* height: calc(100vh - 50px); */
  height: 100%;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.carousel-item img.foreground {
  position: absolute;
  top: 50%;
  left: -25%; /* Start off-screen */
  transform: translateY(-50%);
  animation: slideInFromLeft 1s forwards;
  z-index: 2;
  display: none !important;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  opacity: 0;
  right: -15%; /* Start off-screen */
  transform: translateY(-50%);
  /* transform: translateX(60%); */
  text-align: left;
  color: white;
  animation: slideInFromRight 1s forwards 1s; /* Delayed to appear after image */
  z-index: 2;
}

.carousel-caption h5 {
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.1rem;
}

.carousel-caption p {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #ffc107;
}

.carousel-caption .btn {
  background-color: var(--site-primary-color);
  border: none;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: background-color 0.3s;
  margin-top: 2rem;
  letter-spacing: 2px;
}

.carousel-caption .btn:hover {
  background-color: #0056b3;
}

@keyframes slideInFromLeft {
  to {
    left: 10%; /* Position where the image should end up */
  }
}

@keyframes slideInFromRight {
  to {
    right: 0%;
    opacity: 1; /* Position where the text should end up */
  }
}

/* .blob {
            position: absolute;
            width: 150px;
            height: 150px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            animation: float 5s infinite;
        }

        .blob1 {
            top: 10%;
            left: 20%;
            animation-delay: 0s;
        }

        .blob2 {
            top: 70%;
            left: 80%;
            animation-delay: 2s;
        }

        @keyframes float {
            0% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-20px);
            }
            100% {
                transform: translateY(0px);
            }
        }

        /* Decorative shapes */
/* .shape {
            position: absolute;
            width: 200px;
            height: 200px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(0, 0, 0, 0.1) 100%);
            clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
            animation: rotateShape 8s infinite linear;
            z-index: 1;
        }

        .shape1 {
            top: 10%;
            right: 30%;
        }

        .shape2 {
            bottom: 20%;
            left: 10%;
        }

        @keyframes rotateShape {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }  */

/**********Expertise Section *****************/

.skills-section {
  padding: 40px 0;
  /* background-color: var(--secondary-color); */
}
.skills-section .icon {
  font-size: 50px;
  margin-bottom: 15px;
}
.skills-section .divider {
  border-right: 1px solid #3b3f49;
  height: 100%;
  border-left: 1px solid #3b3f49;
}

/**** About on Homepage ****/
/* about-info-section {
  padding: 50px 0;
}
about-info-section .left-column img {
  width: 100%;
  height: auto;
}
about-info-section .right-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
about-info-section .right-column h1 {
  font-size: 2.5rem;
  font-weight: bold;
}
about-info-section .right-column p {
  margin-bottom: 1rem;
  color: #6c757d;
}
about-info-section .right-column .feature-list {
  list-style: none;
  padding: 0;
}
about-info-section .right-column .feature-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}
about-info-section .right-column .feature-list li i {
  color: #6c757d;
  margin-right: 0.5rem;
}
about-info-section .right-column .btn-primary {
  background-color: #6366f1;
  border: none;
} */

/* new about home */
#about-feature .icon {
  font-size: 50px;
}

/********* Home Course Card ***********/
/* .course-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.course-info {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 15px;
  transition: background 0.3s, height 0.3s;
  box-sizing: border-box;
  height: 40%;
}

.course-card:hover .course-info {
  background: white;
  color: black;
  height: 40%;
}

.course-badge {
  background-color: orange;
  color: white;
  padding: 3px 10px;
  font-size: 0.9rem;
  border-radius: 0.25rem;
  position: absolute;
  top: -15px;
  left: 15px;
}

.course-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-top: 4%;
}

.course-details {
  font-size: 0.9rem;
  bottom: 10px!important;
  position: absolute;
  width: inherit;
  padding: 10px 15px;
  left: 0;
} */

.course-card {
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.2s;
}
.course-card:hover {
  transform: translateY(-5px);
}
.course-image {
  height: 100%;
  width: auto;
  object-fit: cover;
}
.course-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: space-between;
  flex: 1;
}

.course-content .badge {
    padding: 7px 15px;
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 500;
    margin: 10px 0px;
    background: var(--site-aux-color) !important;
}
.course-body {
  display: flex;
  align-items: center;
}

/***********Footer ***************/
footer {
  background: var(--lt-color-gray-600);
}

footer h6 {
    color: var(--site-primary-color);
}

/***** about container ****/
h1,
h2,
h5 {
  /* font-family: "Montserrat", sans-serif; */
  font-weight: 600;
}

.about-container {
  padding: 30px;
}

.list-group-item {
  border: none;
  padding-left: 0;
  padding-bottom: 0.5rem;
}

.list-group-item::before {
  content: "• ";
  color: #0d6efd;
  color: var(--site-aux-color);
  font-weight: bold;
}

.certification-images img {
  transition: transform 0.3s;
  border-radius: 10px;
}

.certification-images img:hover {
  transform: scale(1.05);
}

.header-title {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.header-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 50px;
  background-color: var(--site-primary-color);
}

.director-profile {
  display: flex;
  align-items: center;
}

.director-profile img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin-right: 20px;
}

blockquote {
  margin: 0;
  font-style: italic;
}


/******** contact us ********/




.ftco-section {
  padding: 4em 0;
}

.heading-section {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
}

.contact-wrap, .info-wrap {
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.contact-wrap {
  padding: 2em;
}

.info-wrap {
  padding: 2em;
  background-color: var(--site-primary-color) !important;
  color: #fff;
  height: 100%;
}

h3 {
  font-size: 1.75rem;
  font-weight: bold;
}

label {
  font-size: 1rem;
  font-weight: 500;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.75em 1em;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 4px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

textarea.form-control {
  resize: vertical;
}

.btn-primary {
  color: #fff !important;
  background-color: var(--site-primary-color);
  border-color: var(--site-primary-color);
  padding: 0.75em 1.5em;
  font-size: 1rem;
  border-radius: 4px;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.btn-primary:hover {
  /* background-color: #0056b3; */
  /* border-color: #004085; */
  background-color: var(--site-secondary-color);
  border-color: var(--site-secondary-color);
}

.dbox {
  margin-bottom: 1em;
}

.icon {
  width: 50px !important;
  height: 50px !important;
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: space-around;
}

.text {
  flex: 1;
}

.text p {
  margin-bottom: 0;
  font-size: 1rem;
}

.text a {
  color: inherit;
  text-decoration: none;
}

.text a:hover {
  text-decoration: underline;
}

#form-message-warning, #form-message-success {
  display: none;
  font-size: 1rem;
}

#form-message-warning {
  color: #dc3545;
}

#form-message-success {
  color: #28a745;
}

.submitting {
  display: none;
  font-size: 1rem;
  color: #6c757d;
}


/****** student verification ****/
.verified-badge {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  flex-direction: row;
  align-content: center;
}



/******* center login ********/
.form-signin {
  max-width: 330px;
  padding: 1rem;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
