@font-face {
    font-family: "Lora";
    /* src: url('../myanmar/MyanmarTagu.ttf'); */
    src: url('../Lora/Lora-VariableFont_wght.ttf');
}

* {
    font-family: "Lora", serif;
    font-size: 14px;
}

/* navbar start */
.custom-navbar {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  padding: 12px 0;
  z-index: 999;
}

/* Shadow on scroll */
.custom-navbar.scrolled {
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* Nav links */
.nav-hover {
  position: relative;
  font-weight: bold;
  color: #333 !important;
  margin: 0 10px;
  transition: all 0.3s ease;
  font-size: 16px !important;
}

/* Underline animation */
.nav-hover::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -5px;
  background: #dc3545;
  transition: 0.3s;
}

.nav-hover:hover::after,
.nav-hover.active::after {
  width: 100%;
}

.nav-hover:hover {
  color: #dc3545 !important;
}

/* Button style */
.nav-btn {
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220,53,69,0.3);
}

/* Mobile spacing */
@media (max-width: 991px) {
  .navbar-nav {
    text-align: left;
    margin: 20px 0;
  }
  .nav-hover:hover::after,
    .nav-hover.active::after {
    width: 15%;
  }

  .nav-btn {
    display: block;
    text-align: center;
  }
}

/* end navbar */

/* start carousel */

.carousel_text {
    top: 35%;
    left: 10%;
}

@media screen and (max-width: 1200px) {
    .carousel_img {
        height: 60vh;
        object-fit: cover;
    }

    .carousel_text {
        top: 20%;
        left: 10%;
    }
}


/* Image overlay effect */
.carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Adjust opacity here */
    z-index: 1;
}

/* Ensure text appears above the overlay */
.carousel_text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    /* Higher than the overlay */
    text-align: center;
    width: 80%;
}
.hero-btn {
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Hover effect */
.hero-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(220,53,69,0.4);
}

/* Shine effect */
.hero-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.3);
  transform: skewX(-25deg);
  transition: 0.5s;
}

.hero-btn:hover::before {
  left: 130%;
}
/* end category */

/* start category */
.category-card {
  background: #fff;
  padding: 25px 15px;
  border-radius: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  height: 100%;
  cursor: pointer;
}

/* Hover */
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(220,53,69,0.2);
}

/* Icon */
.category-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: all 0.4s ease;
}

/* Icon hover animation */
.category-card:hover .category-icon {
  transform: scale(1.2) rotate(5deg);
}

/* Text */
.category-card h6 {
  color: #333;
  transition: 0.3s;
}

.category-card:hover h6 {
  color: #dc3545;
}

/* end category */

/* start course */
a {
  text-decoration: none !important;
}

/* Card */
.course-card {
  border-radius: 16px;
  overflow: hidden;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Hover */
.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Image wrapper */
.course-img-wrapper {
  position: relative;
  overflow: hidden;
}

/* Image */
.course-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Zoom effect */
.course-card:hover .course-img {
  transform: scale(1.1);
}

/* Badge */
.course-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #dc3545;
  color: #fff;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  z-index: 2;
}

/* Title */
.course-title {
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition: 0.3s;
  font-size: 18px;
}

.course-title:hover {
  color: #dc3545;
}

/* Meta */
.course-meta {
  font-size: 14px;
  color: #777;
}

/* Price */
.course-price {
  font-weight: bold;
  color: #dc3545;
}

/* Button */
.course-btn {
  transition: all 0.3s ease;
}

.course-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220,53,69,0.3);
}
/* end course */

/* start about */
/* Title */


/* About Box */
.about-box {
  background: #f8f9fa;
  border-radius: 15px;
  line-height: 1.8;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.about-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Vision Mission Cards */
.vm-card {
  background: #ffffff;
  border-radius: 15px;
  border-left: 4px solid #f44336;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.vm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* Text spacing */
.vm-card ul {
  line-height: 1.7;
}

/* Responsive spacing */
@media (max-width: 768px) {
  .about-box {
    text-align: left;
  }
}

.about-title {
  border-left: 4px solid #dc3545;
  padding-left: 10px;
  font-weight: 700;
}
/* Image */
.about-img {
  transition: transform 0.3s ease;
}
.about-img:hover {
  transform: scale(1.03);
}

/* Card */
.about-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  font-weight: 500;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* Icon */
.icon-box {
  width: 45px;
  height: 45px;
  background: rgba(244, 67, 54, 0.1);
  color: #f44336;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 18px;
  transition: all 0.3s ease;
}

.about-card:hover .icon-box {
  background: #f44336 !important;
  color: #fff !important;
}

.about-card:hover .icon-box a{
  color: #fff !important;
}

/* Text */
.about-card span {
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .about-card {
    padding: 12px;
  }
}

/* Button */
.about-btn {
  transition: all 0.3s ease;
}

.about-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(220,53,69,0.3);
}

/* end about */

/* start blog */

.blog-card {
  border-radius: 16px;
  transition: all 0.3s ease;
  background: #fff;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.blog-img {
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-img {
  transform: scale(1.08);
}

.blog-title {
  transition: color 0.3s ease;
}

.blog-title:hover {
  color: #dc3545; /* bootstrap danger */
}

.read-more-btn {
  transition: all 0.3s ease;
  font-weight: 500;
}

.read-more-btn:hover {
  background-color: #dc3545;
  color: #fff;
  transform: translateX(5px);
}

/* end blog */

/* start team */

.team-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid #f44336;
}

.team-name {
    font-size: 1.1rem;
}

.team-role {
    font-size: 0.95rem;
}

.social-link {
    color: #6c757d;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    color: #f44336;
    transform: scale(1.2);
}

/* end team */

/* footer */

.footer-logo {
  max-width: 140px;
}

/* Title */
.footer-title {
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
}

.footer-title::after {
  content: '';
  width: 35px;
  height: 2px;
  background: #f44336;
  position: absolute;
  left: 0;
  bottom: -6px;
}

/* Links */
.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #adb5bd;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 6px;
}

/* Social Icons */
.footer-social {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #212529;
  border-radius: 50%;
  color: #adb5bd;
  transition: all 0.3s ease;
}

.footer-social:hover {
  background: #f44336;
  color: #fff;
  transform: translateY(-4px);
}

/* Divider */
.footer-divider {
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* payment page */

/* Card */
.payment-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.payment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* Logo */
.payment-logo {
  width: 55px;
  height: 55px;
  object-fit: contain;
  border-radius: 10px;
  background: #f8f9fa;
  padding: 8px;
}

/* Note */
.payment-note {
  background: rgba(244, 67, 54, 0.08);
  border-left: 4px solid #f44336;
  border-radius: 10px;
  color: #555;
}

/* Text */
.payment-card h6 {
  font-size: 1rem;
}

.payment-card small {
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .payment-card {
    flex-direction: column;
    text-align: center;
  }

  .payment-logo {
    margin-bottom: 10px;
  }
}

/* end payment page */


/* faq page */

/* FAQ Custom Style */
.accordion-item {
  border: none;
  border-radius: 12px;
  overflow: hidden;
}

.accordion-button {
  font-weight: 500;
  padding: 15px;
  background: #fff;
  transition: 0.3s;
}

.accordion-button:not(.collapsed) {
  background: rgba(244,67,54,0.1) !important;
  color: #dc3545 !important;
}

.accordion-button:focus {
  box-shadow: none !important;
}

.accordion-body {
  font-size: 14px;
  color: #555;
}

/* end faq page */


/* Service Page Scoped CSS */
.service-section .service-card {
  background: #fff;
  border-radius: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 25px 20px;
}

.service-section .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(220,53,69,0.2);

}

.service-section .icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(244,67,54,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  color: #dc3545;
  transition: all 0.3s ease;
}

.service-section .service-card:hover .icon-box {
  background: #dc3545;
  color: #fff;
}

.service-section .service-card h5 {
  font-size: 1.1rem;
  transition: color 0.3s;
}

.service-section .service-card:hover h5 {
  color: #dc3545;
}

.service-section .service-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0;
}


/* end service page */


/* Course Detail Page */
.course-detail .module-card {
  background: #fff;
  border-left: 5px solid #dc3545;
  padding: 15px;
  transition: all 0.3s ease;
}
.course-detail .module-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(220,53,69,0.15);
}
.course-detail h3, .course-detail h1 {
  color: #dc3545;
}
.course-detail .enroll-btn {
  background: #dc3545;
  color: #fff;
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.course-detail .enroll-btn:hover {
  background: #e63946;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(220,53,69,0.2);
}
.course-detail p {
  color: #555;
  font-size: 0.95rem;
}

/* blog detail page */

.related-card img {
  height: 150px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-card:hover img {
  transform: scale(1.05);
}

.related-card h6 {
  font-size: 0.95rem;
}

.related-card a {
  font-size: 0.85rem;
  font-weight: bold;
}


/* pagination */
.pagination-wrapper .page-link {
  color: #dc3545;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.pagination-wrapper .page-link:hover {
  background: #dc3545;
  color: #fff;
  transform: translateY(-3px);
}
.pagination-wrapper .page-item.active .page-link {
  background: #dc3545;
  color: #fff;
  border-color: #dc3545;
}



/* enrollment */

.enrollment-form {
    background: #f8f9fa;
}

.enrollment-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

.enrollment-header {
    background: linear-gradient(135deg, #dc3445, #dc3445);
    color: #fff;
    padding: 25px;
}

.form-control, .form-select {
    border-radius: 10px;
    padding: 12px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #4e73df;
    box-shadow: 0 0 0 0.15rem rgba(78, 115, 223, 0.25);
}

.btn-submit {
    background: #dc3445;
    border: none;
    border-radius: 30px;
    padding: 12px 40px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #dc3445;
    transform: translateY(-2px);
}


/* My Courses Page */
.mycourse-card {
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.35s ease;
  background: #fff;
  position: relative;
}

.mycourse-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

/* Title */
.mycourse-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

/* Badge pill */
.badge-pill {
  border-radius: 50px;
  padding: 6px 12px;
  font-size: 12px;
}

/* Progress bar */
.course-progress {
  height: 6px;
  border-radius: 20px;
  background: #eee;
  overflow: hidden;
}

/* Footer button */
.btn-course {
  border-radius: 30px;
  padding: 6px 18px;
  transition: 0.3s;
}

.btn-course:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220,53,69,0.3);
}

