/*============================================================================================
	Home Page Main Area
==============================================================================================*/
.home-page-main-area {
  padding: 40px 0px;
}

.home-page-main-left {
  padding-right: 12px;
}

.home-page-main-right {
  padding-left: 12px;
}

/*============================================================================================
	About Us Area
==============================================================================================*/
.about-us-area {
  position: relative;
  padding-bottom: 40px;
}
.about-us-img {
  position: relative;
}
.about-us-img::before {
  position: absolute;
  content: "";
  width: 424px;
  height: 520px;
  top: 0;
  left: 0;
  border-radius: 8px;
  background: linear-gradient(
    180deg,
    rgba(44, 51, 51, 0) 0%,
    rgba(44, 51, 51, 0) 48.75%,
    #20262e 100%
  );
}
.about-us-img img {
  width: 424px;
  height: 520px;
  object-fit: cover;
  border-radius: 8px;
}
.about-content {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0px 16px 48px 0px rgba(32, 38, 46, 0.08);
  padding: 24px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(0, -50%);
  width: 530px;
}
.about-cont-title {
  font-size: 31px;
  position: relative;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  margin-bottom: 10px;
  font-weight: 700;
  color: #20262e;
}
.title-seperetor {
  width: 217px;
  height: 5px;
  background: #3ccf4e;
  display: block;
}
.about-cont-text {
  margin: 0;
  padding-top: 16px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 9;
  -webkit-box-orient: vertical;
  line-height: 150%;
  color: #2c3333;
}
.about-cont-btn {
  margin-top: 12px;
}
.about-cont-btn .theme-btn {
  border-radius: 24px;
  font-weight: 600;
  padding: 7px 16px;
  line-height: 150%;
}

/*============================================================================================
	Corner Message Area
==============================================================================================*/
.corner-message-area {
  padding-bottom: 40px;
  position: relative;
}
.single-corner-message {
  background: #f8f8f8;
  padding: 20px 20px 24px 20px;
  border-radius: 8px;
  transition: all 0.4s ease;
}
.corner-message-img img {
  width: 160px !important;
  height: 180px !important;
  border-radius: 12px;
  box-shadow: 0px 2px 2px 0px rgba(32, 38, 46, 0.08);
  object-fit: cover;
}
.corner-message-top {
  display: flex;
  align-items: center;
  gap: 20px;
}
.corner-message-info {
  text-align: left;
}
.corner-message-info img {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain;
  margin-bottom: 4px;
}
.corner-message-info-title {
  font-size: 25px;
  line-height: 140%;
  margin-bottom: 12px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  font-weight: 600;
  color: #20262e;
}
.corner-message-info-name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  padding-top: 12px;
  color: #2c3333;
}
.c-message-title-seperetor {
  width: 88px;
  height: 3px;
  background: #3ccf4e;
  display: block;
}
.corner-message-bottom {
  margin-top: 24px;
}
.corner-message-text {
  margin-bottom: 24px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 12;
  -webkit-box-orient: vertical;
  height: auto;
  line-height: 150%;
  color: #2c3333;
}
.corner-message-btn .theme-btn {
  border-radius: 16px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 120%;
  height: 32px;
}
.corner-message-btn .theme-btn i {
  font-size: 16px;
  top: 1px;
  margin-left: 4px;
}

/* Slider Arrow */
.corner-message-area .owl-nav {
  position: absolute;
  right: 0;
  top: -58px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.corner-message-area .owl-theme .owl-nav [class*="owl-"] {
  margin: 0;
  padding: 0;
  width: 32px;
  height: 32px;
  background: #fbfbfb;
  color: #767a7a;
  font-size: 24px;
  transition: all 0.4s ease;
  line-height: 37px;
  border-radius: 4px;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.corner-message-area .owl-theme .owl-nav [class*="owl-"]:hover {
  background: #f8f8f8;
  color: #20262e;
}
.corner-message-area .owl-prev {
  margin-right: 12px !important;
}

/*============================================================================================
	Teachers Area
==============================================================================================*/
.teachers-area {
  padding-bottom: 40px;
}
.teachers-card-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
}
.single-teachers {
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0px 2px 2px 0px rgba(32, 38, 46, 0.08);
  background: #ffffff;
  border-radius: 12px;
  height: 180px;
  overflow: hidden;
  transition: all 0.4s ease;
}
.single-teachers:hover {
  box-shadow: 0px 16px 48px 0px rgba(32, 38, 46, 0.08);
}
.teachers-img img {
  width: 160px !important;
  height: 180px !important;
  max-width: 160px !important;
  border-radius: 12px;
  object-fit: cover;
}
.teachers-name {
  font-size: 20px;
  margin-bottom: 6px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  padding: 2px 0px;
  font-weight: 600;
  color: #20262e;
}
.teachers-designation {
  color: #767a7a;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  font-size: 16px;
}
.teachers-social {
  margin-top: 12px;
  list-style: none;
  padding: 0;
}
.teachers-social li {
  display: inline-block;
  margin-right: 10px;
}
.teachers-social li a {
  width: 24px;
  height: 24px;
  line-height: 24px;
  background: #3ccf4e;
  border-radius: 4px;
  color: #ffffff;
  text-align: center;
  font-size: 14px;
  display: inline-block;
  transition: all 0.4s ease;
}
.teachers-social li a:hover {
  background: #019267;
}
.teachers-social li:last-child {
  margin: 0;
}
.teachers-btn {
  margin-top: 16px;
}
.teachers-btn .theme-btn.secondary {
  border-radius: 16px;
  padding: 8px 16px;
  height: 32px;
  font-size: 14px;
  font-weight: 600;
  line-height: 120%;
}
.teachers-btn .theme-btn.secondary i {
  font-size: 16px;
  margin-left: 6px;
  position: relative;
  top: 1px;
}

.teachers-content {
  padding-right: 16px;
}

/*============================================================================================
	Home Sidebar Widget Area
==============================================================================================*/
.home-sidebar-widget {
  background: #f8f8f8;
  padding: 24px 16px;
  border-radius: 8px;
  margin-top: 24px;
}
.home-sidebar-widget:first-child {
  margin-top: 0;
}
.home-sidebar-widget-title img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
}
.home-sidebar-widget-title {
  text-align: center;
  font-size: 25px;
  font-weight: 600;
  line-height: 140%;
  margin-bottom: 20px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  color: #20262e;
}
.sidebar-widget-list {
  background: #ffffff;
  box-shadow: 0px 2px 2px 0px rgba(32, 38, 46, 0.08);
  padding: 8px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 12px;
  transition: all 0.4s ease;
}
.sidebar-widget-list:last-child {
  margin: 0;
}
.sidebar-widget-list:hover {
  box-shadow: 0px 16px 48px 0px rgba(32, 38, 46, 0.08);
}
.sidebar-widget-list-content {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-widget-list-content p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-weight: 600;
  margin: 0;
  font-size: 16px;
  color: #2c3333;
}

.sidebar-widget-list-content img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.home-sidebar-widget.important-links .sidebar-widget-list-content img {
  width: 24px !important;
  height: 24px !important;
}

.sidebar-widget-list-btn .theme-btn.secondary {
  padding: 8px 12px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 12px;
  height: 37px;
  white-space: nowrap;
}
.home-sidebar-widget-btn {
  text-align: center;
  margin-top: 20px;
}
.home-sidebar-widget-btn .theme-btn {
  height: 46px;
}

/* Section Head Styles */
.section-head {
  margin-bottom: 32px;
  position: relative;
}
.section-head-title {
  font-size: 31px;
  font-weight: 700;
  line-height: 140%;
  margin: 0;
  color: #20262e;
  position: relative;
  padding-bottom: 8px;
  display: inline-block;
}
.title-line {
  position: absolute;
  content: "";
  height: 5px;
  background: #3ccf4e;
  bottom: 0;
  left: 0;
  width: 217px;
}
.title-line.style-4 {
  width: 336px;
}

.section-bottom-btn {
  text-align: center;
  margin-top: 32px;
}
.section-bottom-btn .theme-btn {
  border-radius: 16px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  height: 40px;
}
.section-bottom-btn .theme-btn i {
  margin-left: 6px;
  font-size: 16px;
}

/* Theme Button Styles */
.theme-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #019267;
  color: #ffffff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  font-weight: 600;
}
.theme-btn:hover {
  background: #017652;
  color: #ffffff;
  text-decoration: none;
}
.theme-btn.secondary {
  background: #3ccf4e;
  color: #ffffff;
}
.theme-btn.secondary:hover {
  background: #019267;
  color: #ffffff;
}

/* Responsive Styles */
@media only screen and (min-width: 992px) and (max-width: 1200px) {
  .home-page-main-left {
    padding-right: 12px;
  }
  .home-page-main-right {
    padding-left: 12px;
  }
  .teachers-card-group {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .home-page-main-left {
    padding-right: 0;
  }
  .home-page-main-right {
    padding-left: 0;
    margin-top: 24px;
  }
  .corner-message-text {
    height: auto;
  }
  .single-corner-message {
    min-height: 100%;
  }
  .teachers-card-group {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 767px) {
  .home-page-main-left {
    padding-right: 0;
  }
  .home-page-main-right {
    padding-left: 0;
    margin-top: 24px;
  }
  .about-us-img img {
    width: 100%;
    height: 320px;
  }
  .about-us-img::before {
    width: 100%;
    height: 100%;
  }
  .about-content {
    padding: 19px;
    position: inherit;
    transform: none;
    width: 100%;
    margin-top: 24px;
  }
  .about-cont-title {
    font-size: 24px;
  }
  .title-seperetor {
    width: 92px;
    height: 4px;
  }
  .section-head-title {
    font-size: 24px;
  }
  .title-line {
    width: 92px;
    height: 4px;
  }
  .title-line.style-4 {
    width: 150px;
  }
  .corner-message-top {
    display: block;
    width: 100%;
    text-align: center;
  }
  .corner-message-info-title {
    margin-bottom: -7px;
    font-size: 18px;
  }
  .corner-message-info {
    margin-top: 12px;
    text-align: center;
  }
  .corner-message-img img {
    width: 110px !important;
    height: 110px !important;
    display: inline-block !important;
  }
  .corner-message-img {
    text-align: center;
    display: inline-block;
  }
  .corner-message-info img {
    text-align: center;
    display: inline-block !important;
  }
  .c-message-title-seperetor {
    text-align: center;
    display: inline-block;
  }
  .corner-message-info-name {
    padding-top: 0;
  }
  .corner-message-text {
    margin-bottom: 0;
    height: 100%;
  }
  .corner-message-btn {
    margin-top: 24px;
  }
  .corner-message-area .owl-nav {
    top: -52px;
  }
  .teachers-card-group {
    grid-template-columns: repeat(5, 1fr);
    overflow-y: scroll;
    padding-bottom: 32px;
  }
  .single-teachers {
    display: block;
    height: auto;
    text-align: center;
    padding: 24px;
    width: 246px;
  }
  .teachers-img img {
    width: 100px !important;
    height: 100px !important;
    max-width: 100px !important;
    display: inline-block !important;
  }
  .teachers-name {
    font-size: 18px;
  }
  .teachers-content {
    margin-top: 12px;
    padding-right: 0;
  }
  .sidebar-widget-list {
    display: block;
  }
  .home-sidebar-widget-title {
    font-size: 20px;
  }
  .sidebar-widget-list-content p {
    font-size: 14px !important;
  }
  .sidebar-widget-list-btn {
    margin-top: 8px;
    margin-left: 38px;
  }
  .home-sidebar-widget.important-links .sidebar-widget-list-btn {
    margin-left: 30px;
  }
}

/*============================================================================================
	Gallery Area
==============================================================================================*/
.gallery-area {
  background: #f8f8f8;
}
.section-padding {
  padding: 40px 0px;
}
.gallery-slider {
  margin-top: 32px;
}
.single-gallery {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0px 2px 2px 0px rgba(32, 38, 46, 0.08);
  width: 100%;
  max-width: 100%;
}
.single-gallery:hover {
  box-shadow: 0px 16px 48px 0px rgba(32, 38, 46, 0.08);
}
.gallery-img {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 280px;
}
.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}
.single-gallery:hover .gallery-img img {
  transform: scale(1.05);
}
.image-view-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  line-height: 48px;
  background: #ffffff;
  border-radius: 100%;
  text-align: center;
  color: #019267;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.single-gallery:hover .image-view-btn {
  opacity: 1;
  visibility: visible;
}
.gallery-content {
  padding: 20px;
}
.gallery-content-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 140%;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #20262e;
}
.title-line.style-3 {
  width: 381px;
}

/* Gallery Slider Owl Carousel */
.gallery-slider.owl-carousel .owl-stage-outer {
  overflow: hidden;
}
.gallery-slider.owl-carousel .owl-item {
  opacity: 1;
  transition: all 0.3s ease;
  width: auto !important;
}
.gallery-slider.owl-carousel .owl-item.active {
  opacity: 1;
}
.gallery-slider.owl-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}
.gallery-slider.owl-carousel .owl-item .single-gallery {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.gallery-slider.owl-carousel .owl-dots {
  margin-top: 24px;
  text-align: center;
}
.gallery-slider.owl-carousel .owl-dots .owl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e1e1e1;
  margin: 0 6px;
  transition: all 0.3s ease;
}
.gallery-slider.owl-carousel .owl-dots .owl-dot.active {
  background: #019267;
}

/*============================================================================================
	School Committee Area
==============================================================================================*/
.school-committe-area {
  background: #ffffff;
}
.school-committe-group {
  margin-top: 32px;
}
.school-commite-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0px 2px 2px 0px rgba(32, 38, 46, 0.08);
  margin-bottom: 24px;
}
.school-commite-card:hover {
  box-shadow: 0px 16px 48px 0px rgba(32, 38, 46, 0.08);
}
.school-commite-card-img {
  position: relative;
  overflow: visible;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}
.school-commite-card-img img {
  width: 220px;
  height: 220px;
  border-radius: 100%;
  object-fit: cover;
  border: 4px solid #e9e9ea;
  transition: all 0.4s ease;
}
.school-commite-card:hover .school-commite-card-img img {
  border-color: #3ccf4e;
  transform: scale(1.02);
}
.school-commite-card-info {
  padding: 20px;
}
.s-commite-member-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 140%;
  margin-bottom: 4px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  color: #20262e;
}
.s-commite-member-designation {
  color: #767a7a;
  margin: 0;
  margin-bottom: 16px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.s-commite-card-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 16px;
}
.s-commite-card-info-list li {
  font-size: 13px;
  color: #2c3333;
  margin-bottom: 8px;
  font-weight: 600;
}
.s-commite-card-info-list li:last-child {
  margin: 0;
}
.s-commite-card-info-list li span {
  color: #767a7a;
  font-weight: 500;
  margin-left: 4px;
}
.s-commite-card-social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
}
.s-commite-card-social li a {
  width: 32px;
  height: 32px;
  line-height: 32px;
  background: #3ccf4e;
  border-radius: 4px;
  color: #ffffff;
  text-align: center;
  font-size: 16px;
  display: inline-block;
  transition: all 0.4s ease;
}
.s-commite-card-social li a:hover {
  background: #019267;
}

/*============================================================================================
	Students Area
==============================================================================================*/
.students-area {
  background: #f8f8f8;
}
.students-slider {
  margin-top: 32px;
}
.students-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0px 2px 2px 0px rgba(32, 38, 46, 0.08);
}
.students-card:hover {
  box-shadow: 0px 16px 48px 0px rgba(32, 38, 46, 0.08);
}
.students-card-img {
  position: relative;
  overflow: visible;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}
.students-card-img img {
  width: 160px;
  height: 170px;
  border-radius: 100%;
  object-fit: cover;
  border: 4px solid #e9e9ea;
  transition: all 0.4s ease;
}
.students-card:hover .students-card-img img {
  border-color: #3ccf4e;
  transform: scale(1.02);
}
.students-card-info h4 {
  font-size: 20px;
  font-weight: 700;
  line-height: 140%;
  margin-bottom: 8px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  color: #20262e;
}
.students-card-info span {
  color: #767a7a;
  font-size: 16px;
  display: block;
  margin-bottom: 16px;
}
.students-card-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  justify-content: center;
}
.students-card-info ul li {
  font-size: 14px;
  color: #2c3333;
  font-weight: 600;
}
.students-card-info ul li span {
  color: #767a7a;
  font-weight: 500;
  margin-left: 4px;
  display: inline;
  margin-bottom: 0;
}
.title-line.style-2 {
  width: 182px;
}

/* Students Slider Owl Carousel */
.students-slider.owl-carousel .owl-stage-outer {
  overflow: hidden;
}
.students-slider.owl-carousel .owl-item {
  opacity: 1;
  transition: all 0.3s ease;
}
.students-slider.owl-carousel .owl-dots {
  margin-top: 24px;
  text-align: center;
}
.students-slider.owl-carousel .owl-dots .owl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e1e1e1;
  margin: 0 6px;
  transition: all 0.3s ease;
}
.students-slider.owl-carousel .owl-dots .owl-dot.active {
  background: #019267;
}

/*============================================================================================
	Blog Area
==============================================================================================*/
.blog-area {
  background: #ffffff;
}
.single-blog {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0px 2px 2px 0px rgba(32, 38, 46, 0.08);
  margin-bottom: 24px;
  height: calc(100% - 24px);
  display: flex;
  flex-direction: column;
}
.single-blog:hover {
  box-shadow: 0px 16px 48px 0px rgba(32, 38, 46, 0.08);
}
.blog-img {
  position: relative;
  overflow: hidden;
}
.blog-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: all 0.4s ease;
}
.single-blog:hover .blog-img img {
  transform: scale(1.05);
}
.blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.blog-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 16px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.blog-meta li {
  font-size: 14px;
  color: #767a7a;
  font-weight: 500;
}
.blog-meta li span {
  color: #2c3333;
  font-weight: 600;
  margin-left: 4px;
}
.blog-content a {
  text-decoration: none;
}
.blog-content-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 140%;
  margin-bottom: 20px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #20262e;
  transition: all 0.3s ease;
}
.blog-content a:hover .blog-content-title {
  color: #019267;
}
.blog-content-btn {
  margin-top: auto;
}
.blog-content-btn .theme-btn.secondary {
  border-radius: 16px;
  padding: 8px 16px;
  height: 32px;
  font-size: 14px;
  font-weight: 600;
  line-height: 120%;
}
.blog-content-btn .theme-btn.secondary i {
  font-size: 16px;
  margin-left: 6px;
  position: relative;
  top: 1px;
}

/* Responsive */
@media only screen and (max-width: 767px) {
  .title-line.style-2 {
    width: 150px;
  }
  .title-line.style-3 {
    width: 200px;
  }
  .gallery-content-title {
    font-size: 16px;
  }
  .s-commite-member-name {
    font-size: 18px;
  }
  .s-commite-card-info-list li {
    font-size: 14px;
  }
  .students-card-info h4 {
    font-size: 18px;
  }
  .students-card-info ul {
    flex-direction: column;
    gap: 8px;
  }
  .blog-content-title {
    font-size: 18px;
  }
  .blog-meta {
    flex-direction: column;
    gap: 4px;
  }
}

/*============================================================================================
	Classic theme — CMS Services (creative redesign)
==============================================================================================*/
.hcms-services {
  --hcms-green: var(--hcms-accent, var(--thm-primary, #019267));
  --hcms-lime: #3ccf4e;
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, color-mix(in srgb, var(--hcms-green) 14%, transparent), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 100%, color-mix(in srgb, var(--hcms-lime) 12%, transparent), transparent 50%),
    linear-gradient(180deg, #f3faf6 0%, #ffffff 48%, #f7fbf8 100%);
}

.hcms-services-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(1, 146, 103, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 146, 103, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 90%);
}

.hcms-services-intro {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.hcms-services-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--hcms-green) 12%, #fff);
  color: var(--hcms-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hcms-services-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hcms-lime);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hcms-lime) 28%, transparent);
}

.hcms-services-title {
  position: relative;
  display: inline-block;
  margin: 0 0 14px;
  padding-bottom: 12px;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.3;
  color: #20262e;
}

.hcms-services-title-bar {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 96px;
  height: 5px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--hcms-lime), var(--hcms-green));
  transform: translateX(-50%);
}

.hcms-services-lead {
  margin: 0;
  color: #5a6570;
  font-size: 16px;
  line-height: 1.7;
}

.hcms-services-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.hcms-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px 24px 26px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(32, 38, 46, 0.06);
  box-shadow: 0 14px 40px rgba(32, 38, 46, 0.07);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.hcms-service-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--hcms-green) 28%, transparent);
  box-shadow: 0 22px 48px rgba(1, 146, 103, 0.14);
}

.hcms-service-index {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: color-mix(in srgb, var(--hcms-green) 10%, transparent);
  pointer-events: none;
  transition: color 0.28s ease;
}

.hcms-service-card:hover .hcms-service-index {
  color: color-mix(in srgb, var(--hcms-green) 18%, transparent);
}

.hcms-service-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(1, 146, 103, 0.12), rgba(60, 207, 78, 0.1));
  color: var(--hcms-green, #019267);
  font-size: 22px;
  box-shadow: inset 0 0 0 1px rgba(1, 146, 103, 0.14);
  transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease, box-shadow 0.28s ease;
}

.hcms-service-icon i {
  color: inherit;
}

.hcms-service-card:hover .hcms-service-icon {
  transform: scale(1.06) rotate(-4deg);
  background: linear-gradient(145deg, #019267, #017652);
  color: #fff;
  box-shadow: 0 10px 22px rgba(1, 146, 103, 0.32);
}

.hcms-service-body {
  position: relative;
  z-index: 1;
  flex: 1;
}

.hcms-service-body h4 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: #20262e;
}

.hcms-service-body p {
  margin: 0;
  color: #5a6570;
  font-size: 15px;
  line-height: 1.7;
}

.hcms-service-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--hcms-lime), var(--hcms-green));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.28s ease;
}

.hcms-service-card:hover .hcms-service-accent {
  transform: scaleY(1);
}

.hcms-service-card:nth-child(3n + 2) .hcms-service-icon {
  border-radius: 50%;
}

.hcms-service-card:nth-child(3n) .hcms-service-icon {
  border-radius: 12px 4px 12px 4px;
}

@media (max-width: 991px) {
  .hcms-services {
    padding: 56px 0 48px;
  }
  .hcms-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .hcms-services-title {
    font-size: 26px;
  }
}

@media (max-width: 575px) {
  .hcms-services-grid {
    grid-template-columns: 1fr;
  }
  .hcms-service-card {
    padding: 24px 20px 22px;
  }
  .hcms-service-index {
    font-size: 36px;
  }
}

.home-cms-testimonials .home-cms-testimonials-head {
  margin-bottom: 36px;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.home-cms-testimonials-lead {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.65;
}

.home-cms-testimonials {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.home-cms-testimonials .home-cms-testimonial-slide {
  background: #fff;
  border-radius: 16px;
  padding: 28px 26px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.07);
}

.home-cms-testimonials .home-cms-testimonial-slide:before {
  display: none;
}

.home-cms-testimonials .client-info .image img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid color-mix(in srgb, var(--thm-primary, #019267) 18%, #fff);
}

.home-cms-testimonials .text-box p {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
}

.home-cms-testimonial-carousel.owl-carousel .owl-dots {
  margin-top: 18px;
}

/*============================================================================================
	Classic theme — CMS Admission CTA (creative redesign)
==============================================================================================*/
.hcms-cta {
  --hcms-cta-green: var(--hcms-cta-bg, #019267);
  --hcms-cta-text: var(--hcms-cta-fg, #ffffff);
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  background:
    radial-gradient(ellipse 70% 120% at 0% 50%, rgba(60, 207, 78, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 100% at 100% 0%, rgba(255, 255, 255, 0.12), transparent 50%),
    linear-gradient(120deg, #017652 0%, var(--hcms-cta-green) 48%, #0a7d5c 100%);
  color: var(--hcms-cta-text);
}

.hcms-cta-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hcms-cta-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hcms-cta-orb-a {
  width: 220px;
  height: 220px;
  top: -70px;
  right: 8%;
}

.hcms-cta-orb-b {
  width: 140px;
  height: 140px;
  bottom: -50px;
  left: 12%;
}

.hcms-cta-orb-c {
  width: 72px;
  height: 72px;
  top: 28%;
  left: 42%;
  background: rgba(60, 207, 78, 0.22);
}

.hcms-cta-grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

.hcms-cta-panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
  padding: 8px 0;
}

.hcms-cta-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.hcms-cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hcms-cta-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ccf4e;
  box-shadow: 0 0 0 0 rgba(60, 207, 78, 0.55);
  animation: hcms-cta-pulse 1.8s ease-out infinite;
}

@keyframes hcms-cta-pulse {
  0% { box-shadow: 0 0 0 0 rgba(60, 207, 78, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(60, 207, 78, 0); }
  100% { box-shadow: 0 0 0 0 rgba(60, 207, 78, 0); }
}

.hcms-cta-title {
  margin: 0 0 18px;
  max-width: 640px;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}

.hcms-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s ease;
}

.hcms-cta-phone:hover {
  color: #fff;
  text-decoration: none;
  transform: translateX(3px);
}

.hcms-cta-phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 16px;
}

.hcms-cta-phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.hcms-cta-phone-text small {
  font-size: 12px;
  opacity: 0.8;
}

.hcms-cta-phone-text strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hcms-cta-actions {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hcms-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #fff;
  color: #017652;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.hcms-cta-btn:hover {
  background: #f0fff6;
  color: #015c41;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.hcms-cta-btn i {
  font-size: 13px;
  transition: transform 0.22s ease;
}

.hcms-cta-btn:hover i {
  transform: translateX(3px);
}

.hcms-cta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 26px;
}

@media (max-width: 991px) {
  .hcms-cta {
    padding: 44px 0;
  }
  .hcms-cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
  .hcms-cta-actions {
    width: 100%;
  }
  .hcms-cta-btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .hcms-cta-badge {
    display: none;
  }
  .hcms-cta-title {
    font-size: 22px;
  }
}

/*============================================================================================
	End Home Page Main Area
==============================================================================================*/

