@charset "utf-8";
/* CSS Document */

body {
  padding-bottom: 70px; /* Space for bottom nav */
  font-family: 'Poppins', sans-serif;
}
	  /* Headings */
h1, h2, h3, h4, h5, h6 {
  color: #203a73;
}

.text-primary{
	color: #203a73!important;
}

.btn-primary {
  background-color: #203a73;
  border-color: #203a73;
  color: #ffffff;
  font-weight: 600;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #26aa95;
  border-color: #26aa95;
  color: #ffffff;
}

.navbar-brand{
	padding: 0;
}

/* Icons (Bootstrap Icons) */
.bi {
  color: #203a73 !important;
}

/* Bottom Navigation */
/*.fixed-bottom a {
  font-size: 0.75rem;
  color: #333;
  text-decoration: none;
}
.fixed-bottom i {
  font-size: 1.2rem;
}*/
/* Custom Bottom Nav Styling */
.custom-bottom-nav {
  background-color: #203a73; /* Brand blue */
  padding: 6px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* Flex layout for nav links */
.custom-bottom-nav .nav-link {
  flex: 1 1 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  text-decoration: none;
  padding: 6px 4px;
  border-radius: 6px;
  transition: all 0.3s ease;
  max-width: 60px;
}

/* Icon styling */
.custom-bottom-nav .nav-link i {
  font-size: 18px;
  margin-bottom: 2px;
  line-height: 1;
  color: white;
}

/* Hover effect */
.custom-bottom-nav .nav-link:hover {
  background-color: white;
  color: #203a73;
}

.custom-bottom-nav .nav-link:hover i {
  color: #203a73!important;
}

/* Active state */
.custom-bottom-nav .nav-link.active {
  background-color: white;
  color: #203a73;
}

.custom-bottom-nav .nav-link.active i {
  color: #203a73;
}

/* Optional: Active indicator dot */
.custom-bottom-nav .nav-link.active::after {
  content: '';
  display: block;
  margin: 4px auto 0;
  width: 6px;
  height: 6px;
  background-color: #203a73;
  border-radius: 50%;
}
/* Default icon color */
.custom-bottom-nav .nav-link i {
  color: white!important;
}

/* Active icon color override */
.custom-bottom-nav .nav-link.active i {
  color: #203a73!important;
}

/* Carousel & Cards */
.carousel img {
  height: 250px;
  object-fit: cover;
}
.card-img-top {
    width: 100%;
    height: auto; /* keep natural aspect ratio */
    object-fit: contain; /* show full image */
}

/* Hamburger Icon */
.navbar-toggler {
  outline: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath stroke='black' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Navbar Collapse Layering */
.navbar-collapse {
  position: relative;
  z-index: 1000;
}

/* Dropdown Menu Styling */
.dropdown-menu {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  border: none;
  min-width: 180px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 1050;
  transform: translateY(5px);
  opacity: 0;
}

.dropdown-menu.show {
  transform: translateY(0);
  opacity: 1;
}

.dropdown-item {
  font-weight: 500;
  color: #203a73; /* Blue from logo */
  padding: 10px 20px;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover {
  background-color: #e6f4ea; /* Light green hover */
  color: #2e7d32; /* Green from logo */
  border-radius: 4px;
}
	  .dropdown-item:hfocus{
		  border: none;
	  }

/* Main Navbar Links */
.stylish-nav .nav-link {
  font-weight: 500;
  color: #333;
  padding: 10px 18px;
  transition: color 0.3s ease, background 0.3s ease;
  border-radius: 6px;
}
.stylish-nav .nav-link:hover,
.stylish-nav .nav-link:focus {
  background-color: #f0f0f0;
  color: #203a73;
}
.stylish-nav .nav-link.active {
  background-color: #203a73;
  color: #fff;
}
/* Welcome-Area  */	  
	  .welcome-area {
  background-color: #203a73;
  color: white;
  padding: 40px 20px;
}

.welcome-area img {
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.amount-btn {
  background-color: white;
  color: #203a73;
  border: none;
  border-radius: 30px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.2s ease;
}
.amount-btn:hover {
  background-color: #e6f0ff;
  transform: scale(1.05);
}

.welcome-area .d-flex {
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 1rem;
}


	  .welcome-area h4 {
  font-size: 1rem; /* or 16px */
  font-weight: 500;
}
	  
	  .welcome-area .container > div {
  max-width: 400px;
  margin: 0 auto;
}
	  
	  .welcome-area {
  color: white;
}
	  .welcome-area h1,
.welcome-area h2,
	  .welcome-area h3,
	  .welcome-area h4,
.welcome-area p,
.welcome-area span {
  color: white!important;
}
	  
	#heroCarousel {
  height: auto; /* Responsive height */
  max-height: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-inner,
.carousel-item {
  height: 100%;
}

.carousel-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* Fill container, crop edges if needed */
  object-position: center;  /* Center the image */
  display: block;
}
	  
	  .carousel img{
		  width: 100%;
		  height: auto;
	  }
	  
/* Know More Button */
.know-more-btn {
  background-color: #203a73; /* Default blue */
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.know-more-btn:hover {
  background-color: #26aa95; /* Hover green */
  transform: scale(1.05);
	color: white;
}

/* Enroll Now Button */
.enroll-btn {
  background-color: #203a73; /* Default blue */
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.enroll-btn:hover {
  background-color: #26aa95; /* Hover green */
  transform: scale(1.05);
	color: white;
}
	  
	  .testimonials {
  background-color: #f9f9f9;
}

.testimonial-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.user-img {
  width: 60px!important;
  height: 60px!important;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #203a73; /* Brand blue */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.user-name {
  font-weight: 600;
  color: #203a73;
  margin-bottom: 4px;
}

.user-role {
  font-size: 0.9rem;
  color: #2e7d32;
  margin-bottom: 12px;
}

.testimonial-text {
  font-style: italic;
  color: #555;
}

/* Custom arrow spacing and style */
.custom-arrow {
  width: 60px;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
  z-index: 10;
	color: #203a73;
}

.custom-arrow:hover {
  background-color: #203a73;
	color: #ffffff;
}

.carousel-control-prev {
  left: -80px; /* ample space from content */
}

.carousel-control-next {
  right: -80px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 30px 30px;
  filter: invert(20%) sepia(100%) saturate(500%) hue-rotate(180deg); /* stylish blue tint */
}

/* Responsive adjustment for smaller screens */
@media (max-width: 768px) {
  .carousel-control-prev {
    left: 10px;
  }
  .carousel-control-next {
    right: 10px;
  }

  .custom-arrow {
    width: 48px;
    height: 48px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-size: 24px 24px;
  }
}
	  
	  .sub-footer {
  background-color: #f8f9fa; /* Light grey or match your footer tone */
  padding: 10px 0;
  font-size: 0.875rem;
  color: #555;
  border-top: 1px solid #ddd;
}

.sub-footer p {
  margin: 0;
}


/*COURSE PAGE*/
.course-card img {
  object-fit: cover;
  height: 180px;
}

.course-card .btn-sm {
  font-size: 0.75rem;
  padding: 0.4rem 0.5rem;
}

.course-card .price .badge {
  font-size: 0.75rem;
  padding: 0.3rem 0.5rem;
}

.btn-grey {
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ccc;
  font-size: 0.75rem;
  padding: 0.4rem 0.5rem;
  transition: background-color 0.2s ease;
}

.btn-grey:hover {
  background-color: #e0e0e0;
  color: #000;
}

.btn-cta {
  background-color: #203a73;
  color: #f0f0f0;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.btn-cta:hover {
  background-color: #26aa95;
  color: #ffffff;
}


.inner-page-header {
  background-color: #e6f0ff; /* Soft blue tint to match theme */
  border-bottom: 1px solid #d0e0f0;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0056b3; /* Brand blue */
}

.page-subhead {
  font-size: 1rem;
  color: #555;
}

.breadcrumb {
  background: none;
  padding: 0;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #0056b3;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.course-detail-header {
  background-color: #f0f8ff; /* Soft theme tint */
  color: #003366;
}

.course-title {
  font-size: 2.5rem;
  font-weight: 700;
}

.course-category {
  font-size: 1.2rem;
  color: #666;
}

.info-card {
  width: 150px;
  margin: 10px;
  padding: 15px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.nav-tabs .nav-link {
  color: #003366;
  font-weight: 600;
}

.nav-tabs .nav-link.active {
  background-color: #e6f0ff;
  border-color: #003366;
}

/*course detail page*/
.course-detail-header {
  background-color: #f0f8ff; /* Soft theme tint */
  color: #003366;
}

.course-title {
  font-size: 2.5rem;
  font-weight: 700;
}

.course-category {
  font-size: 1.2rem;
  color: #666;
}

.info-card {
  width: 150px;
  margin: 10px;
  padding: 15px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.nav-tabs .nav-link {
  color: #003366;
  font-weight: 600;
}

.nav-tabs .nav-link.active {
  background-color: #e6f0ff;
  border-color: #003366;
}

/*course detail page*/
.course-detail-layout {
  background-color: #f9fbff;
}

.course-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #003366;
}

.course-meta span {
  font-size: 0.95rem;
  color: #555;
}

.course-sidebar {
  position: sticky;
  top: 100px;
}

.price-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
}

.form-select {
  font-size: 0.95rem;
  border-radius: 6px;
  border-color: #ccc;
}


.nav-tabs .nav-link {
  font-weight: 500;
  color: #555;
  border-radius: 0;
}

.nav-tabs .nav-link.active {
  color: #203a73;
  border-color: #dee2e6 #dee2e6 #fff;
  background-color: #fff;
}

.tab-content {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-top: none;
}

.form-select {
  font-size: 0.95rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-shadow: none; /* Removes default shadow */
  transition: border-color 0.2s ease;
}

.form-select:focus {
  box-shadow: none; /* Ensures no glow or shadow on focus */
  border-color: #0056b3; /* Optional: subtle brand accent */
  outline: none;
}

.content-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .content-item {
      display: flex;
      align-items: center;
      padding: 14px 20px;
      background: #203a73;
      color: #ffffff;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.3s;
      width: 100%;
    }

    .content-item:hover {
      background: #26aa95;
    }

    .content-item::before {
      content: "➤";
      margin-right: 12px;
      font-size: 18px;
    }

    .content-detail {
      display: none;
      flex-direction: column;
      gap: 12px;
    }

    .detail-header {
      margin-bottom: 12px;
    }

    .back-btn {
      display: flex;
      align-items: center;
      padding: 12px 20px;
      background: #203a73;
      color: #ffffff;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.3s;
      width: 100%;
    }

    .back-btn:hover {
      background: #26aa95
    }

    .back-btn::before {
      content: "←";
      margin-right: 12px;
      font-size: 18px;
    }

    .detail-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .detail-item {
      padding: 12px 16px;
      background: #e0f2f1;
      border-radius: 6px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 15px;
    }

    .label {
      font-weight: 500;
    }

    .lock {
      font-size: 18px;
      color: #888;
    }

.course-detail-layout .row {
  display: flex;
  flex-wrap: wrap;
}

.course-main {
  padding-right: 15px;
}


@media (min-width: 992px) {
  .course-main {
    flex: 0 0 66.6667%;
    max-width: 66.6667%;
  }

  .course-sidebar {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

