.navbar-brand.logo-control img.logo-img {
  display: none;
  max-height: 240px;
  margin-top: 10px;
}
.t4-megamenu .navbar-nav > li > a, .t4-megamenu .navbar-nav > li > .nav-link {
  color: var(--mainnav-link-color);
  font-size: 18px;
  font-weight: 400;
  padding: 20px 16px;
  height: 80px;
  line-height: 40px;
  -webkit-transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out;
  -o-transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out;
  transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out;
}
.acm-features.style-1 .item-inner {
  background-size: cover;
  background-position: center center;
  border-radius: var(--btn-border-radius);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 10px;
  height: auto;
  border: 1px solid #ccc;
}
.link-dark {
  color: #4198a6;
}
.item-inner .item-content {
  background: #fff;
  border-radius: var(--btn-border-radius);
  padding: 20px;
  position: relative;
  text-align: center;
}
.author-block.author-block-post-detail {
  background: var(--gray-theme);
  border-radius: var(--btn-border-radius);
  margin-top: 0px;
  display: none;
}
.t4-footer {
  background-color: #4198a6;
  background-image: none;
  background-position: center top;
  color: var(--footer-text-color);
  padding-top: 20px;
  padding-bottom: 20px;
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--heading-font-family);
  font-weight: 400;
  line-height: var(--heading-line-height);
  color: #4198a6;
  }
.t4-main-body {
  padding-top: 2.32rem;
  padding-bottom: 1.64rem;
  background: #f5f5f5;
}
#t4-masthead .ja-masthead .ja-masthead-detail .ja-masthead-title {
  color: #fff;
  font-size: 30px;
  font-weight: 400;
  margin-top: 0;
}
#t4-masthead .ja-masthead.has-bg {
  background-size: cover;
  background-position: center center;
  margin-bottom: 0px;
}
#t4-masthead .ja-masthead .ja-masthead-detail {
  padding: 8.32rem 0;
  max-width: 100%;
}
.acm-features.style-1 .item-inner .action {
  background: #4198a6;
  border-radius: 50%;
  color: #fff;
  display: inline-block;
  position: absolute;
  bottom: 0;
  margin-bottom: -20px;
  margin-left: -20px;
  left: 50%;
  line-height: 40px;
  height: 40px;
  width: 40px;
}
body h1, body .h1, body .h1 {
  font-weight: 400;
}
.intro-text {
  margin-bottom: 32px;
  background: #fff;
  padding: 15px;
}
.t4-megamenu .navbar-nav > li.active > a, .t4-megamenu .navbar-nav > li.active > .nav-link {
  color: #4198a6;
}
div[id*="t4-section-"], div[id^="t4-section-"] {
  padding-top: 0px;
  padding-bottom: 0px;
}
.ja-masthead .ja-masthead-detail {
  color: #fff;
  padding: 140px 0;
  max-width: 100%;
  position: relative;
  text-align: center;
  z-index: 20;
}
.items-row .item {
  padding-top: 0;
  padding-bottom: 0;
  background: #fff;
  padding: 20px;
}
.items-row .item .item-image {
    min-width: auto;
}
.item-page [itemprop="articleBody"] {
  margin-top: 1rem;
  margin-bottom: 1rem;
  background: #fff;
  padding: 10px;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
}
/* home page new css*/

.hero-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 60px 30px;
  background: linear-gradient(to right, #f9f9f9, #e7f1ee);
}

.hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 2.5rem;
  color: #2d4037;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  color: #58585a;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 24px;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.primary-btn {
  background-color: #5fb180;
  color: #fff;
}

.primary-btn:hover {
  background-color: #4b9c6e;
}

.secondary-btn {
  border: 2px solid #5fb180;
  color: #5fb180;
  background: transparent;
}

.secondary-btn:hover {
  background: #5fb180;
  color: #fff;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.success-section {
  background-color: #f3f9f6;
  padding: 60px 30px;
  text-align: center;
}

.success-content h2 {
  font-size: 2rem;
  color: #2d4037;
  margin-bottom: 20px;
}

.success-content p {
  color: #444;
   margin: 0 auto 20px auto;
}

blockquote {
  font-style: italic;
  color: #5e8699;
  margin: 30px auto;
  background: #fff;
}

blockquote cite {
  display: block;
  margin-top: 10px;
  color: #58585a;
}

.success-content .btn {
  margin-top: 20px;
}
.why-aloe-section {
  background-color: #ffffff;
  padding: 60px 30px;
  text-align: center;
}

.why-aloe-content h2 {
  font-size: 2rem;
  color: #2d4037;
  margin-bottom: 20px;
}

.why-aloe-content p {
  font-size: 1.1rem;
  color: #444;
  margin: 0 auto 40px auto;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.feature-box {
  background-color: #f3f9f6;
  border-radius: 10px;
  padding: 30px;
  flex: 1 1 280px;
  max-width: 420px;
  text-align: left;
}

.feature-box h3 {
  color: #5fb180;
  margin-bottom: 10px;
}

.feature-box p {
  color: #58585a;
  font-size: 1rem;
}

.why-aloe-content .btn {
  margin-top: 40px;
}
.pathways-section {
  background-color: #e7f1ee;
  padding: 60px 30px;
  text-align: center;
}

.pathways-content h2 {
  font-size: 2rem;
  color: #2d4037;
  margin-bottom: 20px;
}

.pathways-content p {
  font-size: 1.1rem;
  color: #444;
   margin: 0 auto 40px auto;
}

.course-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 40px;
}

.course-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  flex: 1 1 280px;
  max-width: 320px;
  text-align: left;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.course-card h3 {
  color: #5fb180;
  margin-bottom: 10px;
}

.course-card p {
  color: #58585a;
  font-size: 1rem;
}
.accreditation-section {
  background-color: #ffffff;
  padding: 60px 30px;
  text-align: center;
}

.accreditation-content h2 {
  font-size: 2rem;
  color: #2d4037;
  margin-bottom: 20px;
}

.accreditation-content p {
  margin: 0 auto 40px auto;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.logo-strip img {
  height: 50px;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(100%);
}

.htq-highlight {
  background-color: #e7f1ee;
  padding: 30px;
  border-radius: 10px;
  margin: 0 auto 40px auto;
  }

.htq-highlight h3 {
  color: #5fb180;
  margin-bottom: 10px;
}

.tutors-section {
  background-color: #f9f9f9;
  padding: 60px 30px;
  text-align: center;
}

.tutors-content h2 {
  font-size: 2rem;
  color: #2d4037;
  margin-bottom: 20px;
}

.tutors-content p {
  font-size: 1.1rem;
  color: #444;
  margin: 0 auto 40px auto;
}

.tutor-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.tutor-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  flex: 1 1 calc(25% - 30px); /* 4 columns with gap */
  max-width: 280px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  text-align: left;
}

.tutor-card img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 15px;
}

.tutor-card h3 {
  color: #5fb180;
  margin-bottom: 5px;
}

.tutor-card em {
  font-style: italic;
  color: #888;
  display: block;
  margin-bottom: 10px;
}

.tutor-card p {
  color: #58585a;
  font-size: 0.95rem;
}
@media (max-width: 992px) {
  .tutor-card {
    flex: 1 1 calc(50% - 30px); /* 2 columns on tablet */
  }
}

@media (max-width: 600px) {
  .tutor-card {
    flex: 1 1 100%; /* stack on mobile */
  }
}
 
#t4-header {
    padding: 0px;
  }
  .t4-footnav .container {
  padding-top: 30px;
  padding-bottom: 30px;
}
.t4-footnav, .t4-footer {
  background-color: #ececec;
}
.dropdown-item {
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: wrap;
}
.cpd-section {
  background-color: #ffffff;
  padding: 60px 30px;
}

.cpd-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.cpd-content ul li {
  margin-bottom: 10px;
}
.community-section {
  background-color: #f3f9f6;
  padding: 60px 30px;
  text-align: center;
}

.community-content .btn {
  margin-top: 30px;
}
