/**********************************************
* CUSTOM CSS - LEBARI EDUCATION TEMPLATE
* Author: [Your Name]
* Version: 1.0
* Description: Enhanced typography and styling
**********************************************/

/*********************
* 1. GENERAL STYLES
*********************/
body {
  font-size: 16px;
  line-height: 1.6;
}

/*********************
* 2. HEADER SECTION
*********************/
/* Main Navigation */
.main-header .nav-outer .main-menu .navigation > li > a {
  font-size: 15px;
  font-weight: 500;
  padding: 15px 12px;
}

/* Sticky Header */
.main-header .sticky-header .main-menu .navigation > li > a {
  font-size: 14px;
}

/*********************
* 3. BANNER SECTION
*********************/
.banner-section .content-column h1 {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 20px;
}

.banner-section .content-column .title {
  font-size: 22px;
  margin-bottom: 15px;
  color: #43b97e;
}

.banner-section .btns-box .theme-btn {
  padding: 14px 35px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/*********************
* 4. SECTION TITLES
*********************/
.sec-title {
  margin-bottom: 45px;
}

.sec-title h2 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 700;
}

.sec-title .title {
  font-size: 18px;
  color: #43b97e;
  margin-bottom: 15px;
  font-weight: 600;
}

.sec-title .text {
  font-size: 16px;
  line-height: 1.7;
  color: #6b7382;
}

/*********************
* 5. SERVICE BLOCKS
*********************/
.service-block .inner-box {
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.service-block .inner-box:hover {
  transform: translateY(-10px);
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.12);
}

.service-block h4 {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-block .text {
  font-size: 15px;
  line-height: 1.7;
  color: #6b7382;
}

/*********************
* 6. COURSE BLOCKS
*********************/
/* Container and Box */
.course-block {
  padding: 0 10px;
  margin-bottom: 30px;
}

.course-block .inner-box {
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-block .inner-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Course Image */
.course-block .image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.course-block .image img {
  transition: all 0.5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-block .inner-box:hover .image img {
  transform: scale(1.05);
}

/* Course Content */
.course-block .lower-content {
  padding: 20px 15px;
  border-top: none;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-block .lower-content h4 {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 8px;
  height: 48px;
  overflow: hidden;
}

.course-block .lower-content h4 a {
  color: #222222;
  transition: all 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-block .lower-content h4 a:hover {
  color: #43b97e;
}

/* Course Info */
.course-block .lower-content .uni-name {
  font-size: 13px;
  margin-bottom: 8px;
  color: #777777;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.course-block .lower-content .rating {
  font-size: 13px;
  margin-bottom: 10px;
  color: #ffb400;
}

.course-block .lower-content .rating strong {
  color: #222222;
  margin-left: 5px;
}

.course-block .lower-content .rating i {
  color: #777777;
  font-style: normal;
}

/* Course Price */
.course-block .lower-content .price {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #43b97e;
}

.course-block .lower-content .price span {
  font-size: 14px;
  margin-left: 5px;
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
}

/* Course Footer */
.course-block .lower-content .clearfix {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

.course-block .lower-content .clearfix .pull-left {
  display: none; /* Hide the total hours information */
}

.course-block .lower-content .clearfix .pull-right {
  width: 100%;
  text-align: center;
}

.course-block .lower-content .hovers {
  font-size: 12px;
  color: #777777;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.course-block .lower-content .enroll-now {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  letter-spacing: 0.5px;
  background-color: #43b97e;
  color: #ffffff;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-block;
}

.course-block .lower-content .enroll-now:hover {
  background-color: #389e6b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(67, 185, 126, 0.2);
}

/*********************
* 7. FEATURE SECTION
*********************/
.feature-section .content-column h2 {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 20px;
}

.feature-section .content-column .text {
  font-size: 15px;
  line-height: 1.7;
  color: #6b7382;
  margin-bottom: 30px;
}

/*********************
* 8. CAREER SECTION
*********************/
.career-section .sec-title h2 {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 700;
}

.career-section .content-column h5 {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #222222;
}

.career-section .content-column .text p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #6b7382;
}

/*********************
* 9. TESTIMONIALS
*********************/
.testimonial-block .inner-box {
  box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.1);
  padding: 35px 30px;
  border-radius: 8px;
  background-color: #ffffff;
}

.testimonial-block .text {
  font-size: 16px;
  line-height: 1.7;
  color: #6b7382;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-block .author-info h6 {
  font-size: 18px;
  color: #222222;
}

.testimonial-block .designation {
  font-size: 14px;
  color: #777777;
}

/*********************
* 10. BUTTONS
*********************/
/* Common Button Styles */
.theme-btn {
  font-size: 15px;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* Primary Button */
.btn-style-one {
  background-color: #43b97e;
}

.btn-style-one:hover {
  background-color: #389e6b;
}

/* Secondary Button */
.btn-style-two {
  background-color: #fff;
  color: #43b97e;
  border: 1px solid #43b97e;
}

.btn-style-two:hover {
  background-color: #43b97e;
  color: #fff;
}

/* Tertiary Button */
.btn-style-three {
  background-color: #f5f5f5;
  color: #222222;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

.btn-style-three:hover {
  background-color: #43b97e;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(67, 185, 126, 0.3);
}

/* Custom CSS to override image paths */

.btn-style-ten .icon,
.btn-style-eleven .icon,
.btn-style-twelve .icon {
  background: url(../images/icons/btn-icon.png) no-repeat !important;
}

.sec-title-three h2 span:before {
  background: url(../images/icons/pattern-16.png) !important;
  background-repeat: no-repeat !important;
}

/*********************
* 11. FOOTER
*********************/
.footer-widget h5 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-widget .list li a {
  font-size: 14px;
  line-height: 1.8;
  color: #bbbbbb;
  transition: all 0.3s ease;
}

.footer-widget .list li a:hover {
  color: #ffffff;
}

.main-footer .lower-box .text {
  font-size: 15px;
  line-height: 1.6;
  color: #bbbbbb;
}

/*********************
* 12. RESPONSIVE STYLES
*********************/
/* Large Devices */
@media only screen and (max-width: 1140px) {
  .banner-section .content-column h1 {
    font-size: 40px;
  }

  .sec-title h2 {
    font-size: 32px;
  }

  .course-block .lower-content h4 {
    height: auto;
    font-size: 16px;
  }
}

/* Medium Devices */
@media only screen and (max-width: 768px) {
  .banner-section .content-column h1 {
    font-size: 32px;
  }

  .sec-title h2 {
    font-size: 28px;
  }

  .feature-section .content-column h2,
  .career-section .sec-title h2 {
    font-size: 26px;
  }

  .course-block {
    padding: 0 15px;
    margin-bottom: 30px;
  }
}

/* Small Devices */
@media only screen and (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .banner-section .content-column h1 {
    font-size: 28px;
  }

  .sec-title h2 {
    font-size: 24px;
  }
}

/*********************
* 13. KEY SUPPORTERS SECTION
*********************/
/* Sponsors navigation controls */
.sponsors-outer {
  position: relative;
  padding: 0 50px;
}

.sponsors-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  left: 0;
  z-index: 100;
}

.sponsors-prev,
.sponsors-next {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  color: #222222;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.sponsors-prev {
  left: 0;
}

.sponsors-next {
  right: 0;
}

.sponsors-prev:hover,
.sponsors-next:hover {
  background-color: #43b97e;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(67, 185, 126, 0.3);
  transition: all 0.3s ease;
}

/*********************
* 14. BENEFIT SECTION ENHANCEMENTS
*********************/
/* Adding z-index values to control layering */
.benefit-section .images-column .image,
.benefit-section .images-column .image-two,
.benefit-section .images-column .image-three,
.benefit-section .images-column .image-four {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-section .images-column .image:hover,
.benefit-section .images-column .image-two:hover,
.benefit-section .images-column .image-three:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.benefit-section .images-column .image-four:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25);
}

.benefit-section .images-column .image-two {
  z-index: 0;
}

.benefit-section .images-column .image-three {
  z-index: 2;
}

.benefit-section .images-column .image-four {
  position: absolute;
  right: 80px;
  bottom: -30px;
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  z-index: 1;
  border: 8px solid #ffffff;
}

.benefit-section .images-column .image-four img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Search Section Styles */
.search-section {
  padding: 70px 0;
  position: relative;
  background-color: #f8f9fa;
}

.search-container {
  padding: 30px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.search-form {
  position: relative;
  margin-top: 30px;
}

.search-form .form-group {
  position: relative;
  margin-bottom: 0;
}

.search-input {
  height: 60px;
  width: 100%;
  padding: 0 70px 0 30px;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  border: 2px solid #43b97e;
  border-radius: 30px;
  background-color: #fff;
  box-shadow: 0 5px 20px rgba(67, 185, 126, 0.1);
  transition: all 300ms ease;
}

.search-input:focus {
  border-color: #43b97e;
  outline: none;
  box-shadow: 0 5px 20px rgba(67, 185, 126, 0.2);
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  height: 50px;
  width: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 18px;
  color: #ffffff;
  background-color: #43b97e;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 300ms ease;
}

.search-btn:hover {
  background-color: #348c60;
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.search-suggestions span {
  margin-right: 10px;
  font-size: 14px;
  color: #666;
}

.suggestion-btn {
  display: inline-block;
  margin: 5px;
  padding: 8px 15px;
  background-color: #f0f8f4;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  color: #43b97e;
  font-size: 13px;
  transition: all 300ms ease;
  text-decoration: none;
}

.suggestion-btn:hover {
  background-color: #43b97e;
  color: #ffffff;
  border-color: #43b97e;
  box-shadow: 0 3px 10px rgba(67, 185, 126, 0.2);
}

/* Responsive styles */
@media only screen and (max-width: 767px) {
  .search-input {
    padding: 0 60px 0 20px;
    height: 50px;
  }

  .search-btn {
    height: 40px;
    width: 40px;
    line-height: 40px;
    font-size: 16px;
  }
}

/* Autocomplete styles */
.autocomplete-box {
  position: absolute;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 100;
  top: 70px;
  left: 0;
  display: none;
}

.autocomplete-item {
  padding: 12px 20px;
  cursor: pointer;
  border-bottom: 1px solid #f5f5f5;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  transition: all 0.2s ease;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover {
  background-color: #f0f8f4;
}

.autocomplete-item .student-code {
  font-weight: 600;
  color: #43b97e;
  margin-right: 15px;
  white-space: nowrap;
  min-width: 80px;
  display: inline-block;
}

.autocomplete-item .student-name {
  flex-grow: 1;
  color: #333;
}

.search-form {
  position: relative;
  margin-top: 30px;
}

.search-form .form-group {
  position: relative;
  margin-bottom: 0;
}
