.top-header .social-links ul {
  display: flex;

  text-align: center;

  align-items: center;

  gap: 15px;
}

.link-icon {
  height: 16px;
}

.top-header .social-links ul li a:hover i {
  color: var(--tg-body-color);

  transition: all 500ms ease;
}

.tx-gray {
  color: var(--tg-color-dark-gray);
}

.banner-content-hero {
  background: transparent !important;

  text-align: center !important;
}

.banner-slider-button {
  position: absolute;

  top: 44%;

  left: 0px;

  width: 100%;

  z-index: 10;
}

.banner-slider-button .testimonial__nav-four {
  justify-content: space-between;
}

.hero-slider-container .slider__bg {
  mix-blend-mode: normal !important;
}

.hero-slider-container .slider__bg::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: 0;

  width: 100%;

  height: 100%;

  background: linear-gradient(to top, #121212 0%, transparent 100%);

  z-index: 1;
}

.hero-slider-container .slider__single::after {
  display: none;
}

.title span {
  color: var(--tg-theme-secondary-500);
}

.tx-blue {
  color: var(--tg-body-color) !important;
}

.tx-orange {
  color: var(--tg-theme-secondary-500) !important;
}

p {
  color: var(--tg-color-dark-gray);
}

.ckeck-list .list-wrap li i {
  font-size: 14px !important;

  background-color: var(--tg-body-color);
}

.ckeck-list .list-wrap li {
  color: var(--tg-color-black);
}

.vision-box a {
  color: var(--tg-body-color);

  text-decoration: underline;

  transition: all 500ms ease;

  text-decoration-thickness: 2px;

  text-underline-offset: 4px;
}

.vision-box a:hover {
  color: var(--tg-theme-secondary-500);

  text-decoration: none;
}

.vision-misstion-tab ul {
  list-style: none;

  margin: 0;

  padding: 0;
}

.vision-misstion-tab ul li {
  margin-bottom: 10px;

  font-weight: 600;

  padding-left: 15px;

  border-left: 2px solid var(--tg-color-gray-4);
}

.vision-misstion-tab ul li a {
  color: var(--tg-color-gray-4);

  transition: all 500ms ease;
}

.vision-misstion-tab ul li.active,
.vision-misstion-tab ul li:hover {
  border-left: 2px solid var(--tg-theme-secondary-500);
}

.vision-misstion-tab ul li.active a,
.vision-misstion-tab ul li:hover a {
  color: var(--tg-theme-secondary-500);
}

.admission-container .about-types-card {
  background-color: var(--tg-color-white-default);

  text-align: center;

  padding: 32px 24px;

  margin-bottom: 20px;
}

.admission-container .about-types-card a {
  text-decoration: underline;

  transition: all 500ms ease;

  text-decoration-thickness: 2px;

  text-underline-offset: 4px;
}

.admission-container .about-types-card a:hover {
  text-decoration: none;

  color: var(--tg-body-color);
}

.admission-container {
  background-color: var(--tg-color-skyblue);
}

.future-leaders-container .futures-card:nth-child(1) {
  border: 1px solid #fe3f94;

  background-color: #faebf2;

  padding: 32px;
}

.future-leaders-container .futures-card:nth-child(2) {
  border: 1px solid var(--tg-theme-secondary-500);

  background-color: #fff3e9;

  padding: 32px;
}

.future-leaders-container .futures-card a {
  color: var(--tg-body-color);

  text-decoration: underline;

  text-decoration-thickness: 2px;

  text-underline-offset: 4px;
}

.future-leaders-container .futures-card a:hover {
  text-decoration: none;

  color: var(--tg-theme-secondary-500);
}

.our-hostels-container {
  background-color: #fff0e2;
}

/* --------------- */

.residential-type-card {
  position: relative;

  overflow: hidden;

  height: 100%;

  border-radius: 8px;

  display: flex;

  flex-direction: column;
}

.residential-type-card img {
  width: 100%;

  height: 354px;

  object-fit: cover;

  border-radius: 8px 8px 0 0;

  display: block;
}

.talent-card {
  position: relative;

  overflow: hidden;
}

.talent-card::before {
  content: "";

  display: block;

  padding-top: 80%;
}

.talent-card img {
  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

  z-index: 0;
}

.talent-card::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: 0;

  width: 100%;

  height: 100%;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 80%);

  z-index: 1;

  pointer-events: none;
}

.talent-card .content {
  position: absolute;

  bottom: 0;

  left: 0;

  width: 100%;

  padding: 20px;

  color: #fff;

  z-index: 2;
}

.residential-type-card .content,
.talent-card .content {
  position: absolute;

  inset: 0;

  bottom: 19%;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  padding: 20px;

  transform: translateY(100%);

  transition: transform 0.4s ease;

  z-index: 2;

  h4,
  p,
  a {
    color: var(--tg-color-white-default);
  }
}

.residential-type-card .content-1 {
  position: absolute;

  inset: 0;

  bottom: 19%;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  padding: 20px;

  transform: translateY(100%);

  transition: transform 0.4s ease;

  z-index: 2;

  h4,
  p,
  a {
    color: var(--tg-color-white-default);
  }
}

.residential-type-card .content {
  bottom: 17%;
}

@media (max-width: 1024px) and (min-width: 992px) {
  .residential-type-card .content,
  .talent-card .content {
    bottom: 25%;
  }
}

.residential-type-card .content a,
.talent-card .content a {
  text-decoration: underline;

  text-decoration-thickness: 2px;

  text-underline-offset: 4px;
}

.residential-type-card .content a:hover,
.talent-card .content a:hover {
  text-decoration: none;

  color: var(--tg-theme-secondary-500);
}

.residential-type-card:hover .content,
.residential-type-card.active .content,
.talent-card:hover .content,
.talent-card.active .content {
  transform: translateY(0);

  height: 100%;

  background: rgba(18, 18, 18, 0.5);
}

/* --------------- */

.help-container {
  background-color: #fff0e2;
}

.help-container .card-services-type-01 {
  display: flex;

  flex-direction: column;

  height: 100%;
}

.help-container .card-services-type-01 .card-info {
  flex: 1;

  display: flex;

  flex-direction: column;

  justify-content: space-between;
}

.help-container .card-services-type-01 .card-icon {
  margin: auto;

  width: fit-content;

  padding: 10px;

  background-color: #fff3e9;

  border-radius: 8px;

  border: 1px solid var(--tg-theme-secondary-500);
}

.help-container .card-services-type-01 .card-icon img {
  height: 38px;

  width: 38px;
}

.help-container .card-services-type-01 a {
  text-decoration: underline;

  text-decoration-thickness: 2px;

  text-underline-offset: 4px;
}

.help-container .card-services-type-01 a:hover {
  text-decoration: none;

  color: var(--tg-body-color) !important;
}

.border-7 {
  border: 1px solid var(--tg-border-7);
}

/* our news  */

.our-news-container {
  background-color: #cce3fa;
}

.our-news-container .left-news-content .image-content {
  position: relative;

  height: 340px;

  overflow: hidden;

  .badge {
    position: absolute;

    top: 10px;

    left: 10px;

    border-radius: 50px;

    padding: 4px 16px;

    background-color: var(--tg-body-color);
  }
}

.our-news-container .left-news-content .image-content img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  object-position: center;

  display: block;
}

.our-news-container .left-news-content a,
.our-news-container .news-list-content .news-card .content a {
  color: var(--tg-body-color);

  text-decoration: underline;

  text-decoration-thickness: 2px;

  text-underline-offset: 4px;
}

.our-news-container .left-news-content a:hover,
.our-news-container .news-list-content .news-card .content a:hover {
  text-decoration: none;

  color: var(--tg-theme-secondary-500);
}

/* right side */

.our-news-container .news-list-content .news-card {
  display: flex;

  gap: 15px;

  margin-bottom: 30px;

  align-items: center;

  overflow: hidden;
}

.our-news-container .news-list-content .news-card:last-child {
  margin-bottom: 0;
}

.our-news-container .news-list-content .news-card .content {
  flex: 1 1 auto;

  min-width: 0;

  h4 {
    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    width: 100%;

    display: block;
  }

  .badge {
    border-radius: 50px;

    padding: 2px 14px;

    background-color: var(--tg-theme-secondary-500);
  }

  .badge p {
    font-size: 14px;
  }
}

.our-news-container .news-list-content .news-card .content p {
  display: -webkit-box;

  -webkit-line-clamp: 2;

  -webkit-box-orient: vertical;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: normal;
}

.our-news-container .news-list-content .news-card .image-content {
  flex-shrink: 0;

  width: 164px;

  height: 164px;

  overflow: hidden;
}

@media (max-width: 576px) {
  .our-news-container .news-list-content .news-card .content {
    width: 100%;

    min-width: 0;
  }

  .our-news-container .news-list-content .news-card {
    flex-direction: column;

    align-items: flex-start;
  }

  .our-news-container .news-list-content .news-card .content h4 {
    width: 100%;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
  }

  .our-news-container .news-list-content .news-card .content p {
    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: normal;

    width: 100%;
  }

  .our-news-container .news-list-content .news-card .image-content {
    width: 100%;

    height: auto;
  }

  .our-news-container .news-list-content .news-card .image-content img {
    width: 100%;

    height: auto;

    object-fit: cover;
  }
}

.our-news-container .news-list-content .news-card .image-content img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;
}

/* footer  */

footer .footer-link-list .list-wrap {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;
}

@media (max-width: 576px) {
  footer .footer-link-list .list-wrap {
    flex-direction: column;

    align-items: start;

    gap: 6px;
  }

  footer .footer-link-list .list-wrap li {
    border: 0 !important;

    padding: 0 !important;
  }
}

.privacy-policy-text a {
  color: var(--tg-color-white-default);
}

.privacy-policy-text a:hover {
  color: var(--tg-theme-secondary-500);
}

footer .footer-link-list .list-wrap li {
  border-right: 2px solid var(--tg-color-white-default);

  padding: 0px 15px;

  margin: 0;
}

footer .footer-link-list .list-wrap li:last-child {
  border: 0;
}

.footer__area-two {
  position: relative;

  background: url("../images/bg/footer-bg.jpg") no-repeat center center;

  background-size: cover;

  z-index: 1;
}

.footer__area-two::before {
  content: "";

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  background: rgba(0, 0, 0, 0.7);

  z-index: -1;
}

/* contact form  */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;

  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.contact__form-wrap form .form-grp input:focus,
.contact__form-wrap form .form-grp textarea:focus {
  border-color: var(--tg-color-black);
}

/* image gallery   */

.image-galley-container .gallery-image {
  position: relative;

  overflow: hidden;
}

.image-galley-container .gallery-image::before {
  content: "";

  display: block;

  padding-top: 100%;
}

.image-galley-container img {
  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

  border-radius: 12px;
}

.section-img {
  position: relative;

  width: 100%;

  padding-top: 95%;

  overflow: hidden;
}

.section-img img {
  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;
}

.my-tabs {
  width: 100%;

  background: var(--tg-body-color) !important;

  color: #ffffff;

  padding: 10px 18px;
}

/* Tabs row */

.my-tabs .my-tabs__header {
  display: flex;

  gap: 30px;

  width: 100%;

  overflow: auto;
}

/* Tab button (anchor) */

.my-tabs .my-tab {
  text-decoration: none;

  color: #ffffff;

  width: max-content;

  border-radius: 6px 6px 0 0;

  border-bottom: none;

  font-weight: 500;

  transition: all 0.3s ease;
}

.my-tabs .my-tab span {
  display: flex;

  width: max-content;
}

/* Hover effect */

.my-tabs .my-tab:hover {
  transition: 0.2s;

  color: var(--tg-theme-secondary-500);
}

/* Section spacing */

.my-section {
  padding: 40px 20px;

  scroll-margin-top: 200px;
}

.list-heading {
  font-weight: 700;

  display: inline;
}

.my-section ul li {
  font-size: 18px !important;

  color: #000;
}

.bg-sec {
  background-size: cover;

  background-position: center;

  padding: 100px;

  display: flex;

  flex-direction: column;

  align-items: center;
}

.btn-white {
  color: white !important;

  text-decoration: underline;

  font-weight: 600;
}

.call-back-area {
  background-color: var(--tg-body-color) !important ;
}

.about__list-box .list-wrap li {
  color: #000 !important;

  font-family: var(--tg-body-font-family) !important;

  font-size: 16px !important;

  color: #000 !important;

  margin-bottom: 5px !important;
}

.services__item-style-2 .services__item-five {
  max-height: 300px;
}

.services__item-style-2 .services__item-five .services__icon-five {
  margin: 0px !important;
}

.about__content-four p {
  margin-bottom: 15px !important;
}

.about__img-wrap-six {
  position: relative;

  padding-right: 70px;
}

.mission ul li {
  font-size: 16px !important;

  color: #000 !important;

  margin-bottom: 5px !important;

  align-items: center !important;
}

.sidebar__cat-list-two .list-wrap li a:hover {
  background: var(--tg-body-color) !important;

  border-color: var(--tg-body-color) !important;
}

.sidebar__contact {
  background: var(--tg-body-color) !important;
}

.sidebar__contact .btn:hover {
  color: var(--tg-body-color) !important;
}

.services__sidebar {
  position: sticky;

  top: 120px;

  z-index: 5;
}

.col-30 {
  overflow: visible;
}

@media (max-width: 768px) {
  .assessment-btn a {
    font-size: 10px;
  }
}

.tc-verification label {
  color: #000 !important;
}

input::placeholder {
  color: rgb(82, 82, 82);

  opacity: 1;
}

input#admission_no::placeholder,
input#tc_no::placeholder,
input#dob::placeholder {
  color: rgb(82, 82, 82);

  opacity: 1;
}

input[type="date"] {
  text-transform: uppercase;
}

.tgmobile__menu {
  max-height: 100dvh !important;

  height: 100dvh !important;
}

.arrow-btn {
  border: 1px solid var(--tg-body-color);
  border-radius: 50%;
  padding: 5px 9px;
  font-weight: bold;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.choose__box img {
  width: 100%;
  height: auto;
  max-width: 50px !important;
}
.bg-transparent {
  background: transparent !important;
}
.box-section .col-md-6 {
  height: 650px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 31.333333% !important;
  margin: 0 10px !important;
  border-radius: 10px !important;
}
@media (max-width: 992px) {
  .box-section .col-md-6 {
    width: 48% !important;
    margin: 10px !important;
  }
}
@media (max-width: 576px) {
  .box-section .col-md-6 {
    width: 90% !important;
    margin: 10px !important;
  }
  .text-start.w-50 {
    width: 100% !important;
  }
  .testimonial__nav-four {
    margin-top: 210px;
    justify-content: center !important;
  }
}
.box-section .services__item-three {
  padding: 40px 10px;
}
.slider-section .swiper-slide.row {
  margin: 0;
}

.slider-section .swiper-slide .col-md-6 {
  width: 100%;
  flex: 0 0 100%;
  max-width: 100%;
}
.swiper-container .residential-type-card h4 {
  background: white;
  text-align: center;
  color: var(--tg-body-color) !important;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 18px !important;
}
.swiper-container .residential-type-card .content {
  bottom: 21%;
}

.goal-sec .features__item-two {
  background-color: var(--tg-color-skyblue);
  border-color: var(--tg-body-color) !important;
  border-radius: 10px;
  padding: 20px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.goal-sec .features__item-two::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: 0.4s ease;
  z-index: 0;
}

.goal-sec .features__item-two:hover::before {
  opacity: 1;
}

.goal-sec .features__item-two:hover {
  background-color: transparent;
}

.goal-sec .features__content-two {
  position: relative;
  z-index: 1;
}

.goal-sec .features__item-two:hover h4,
.goal-sec .features__item-two:hover p {
  color: #fff;
}
.goal-sec .features__item-two:hover .arrow-btn {
  color: #fff;
  border-color: #fff !important;
}
.goal-sec .features__item-two:hover p {
  color: #fff;
}
.goal-sec .col-lg-4:nth-child(1) .features__item-two::before {
  background-image: url("../images/home/Vision.png");
}

.goal-sec .col-lg-4:nth-child(2) .features__item-two::before {
  background-image: url("../images/home/Mssion.png");
}

.goal-sec .col-lg-4:nth-child(3) .features__item-two::before {
  background-image: url("../images/home/Objective.png");
}

.contact-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.contact-section .contact-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 20px;
  text-align: center;
  transition: all 0.4s ease;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* The Circle Icon Styling */
.contact-section .icon-box {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--tg-body-color); /* Dark Slate border */
  color: #34495e;
  font-size: 28px;
  transition: all 0.4s ease;
  background: transparent;
}

/* Inner circle effect */
.contact-section .icon-box i {
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  color: var(--tg-body-color);
}

.contact-section .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.25rem;
  color: var(--tg-body-color);
}

.contact-section .content p,
.contact-section .content a {
  color: #000;
  text-decoration: none;
  font-size: 0.95rem;
  display: block;
  transition: color 0.3s ease;
}

/* Bottom accent bar like in your image */
.contact-section .contact-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 4px;
  background: var(--tg-body-color);
  border-radius: 10px 10px 0 0;
  transition: width 0.4s ease;
}

/* --- HOVER EFFECTS --- */
.contact-section .contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(52, 73, 94, 0.15);
}

.contact-section .contact-card:hover .icon-box {
  border-color: var(--tg-theme-secondary-500); 
  transform: rotateY(360deg);
}

.contact-section .contact-card:hover::after {
  width: 100%;
  background: var(--tg-theme-secondary-500);
}

.contact-section .contact-card:hover i {
  color: var(--tg-theme-secondary-500) !important;
}
.contact-section .contact-card:hover .title {
  color: var(--tg-theme-secondary-500) !important;
}
.form-control {
    display: block;
    width: 100%;
    padding: 12px .75rem;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.helth .section-img {
    height: 480px;
}

.food .section-img {
    height: 680px;
}
.form-control::placeholder {
    color: #aaaaaa !important;
    opacity: 1 !important;
}

.form-control::-webkit-input-placeholder {
    color: #aaaaaa !important;
}

.form-control:-ms-input-placeholder {
    color: #aaaaaa !important;
}

.form-control::-ms-input-placeholder {
    color: #aaaaaa !important;
}
label {
  margin-bottom: 3px;
}
.tgmenu__nav .logo img,
.fw-logo img {
    max-height: 70px !important;
}

@media (max-width: 768px) {
    .tgmenu__nav .logo img,
    .fw-logo img {
        max-height: 50px !important;
    }
}