.hero-content-wrapper h1{
    color: #fff !important;
}

.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Left side dark gradient overlay */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.65) 35%,
        rgba(0, 0, 0, 0.3) 60%,
        rgba(0, 0, 0, 0) 85%
    );
}

/* Make text white for visibility */
.hero-content-wrapper h1,
.hero-content-wrapper p {
    color: #fff;
}

/* Mobile Optimization */
@media (max-width: 991px) {

    .hero-section::before {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.6) 40%,
            rgba(0, 0, 0, 0.3) 70%,
            rgba(0, 0, 0, 0) 100%
        );
    }

    .hero-content-wrapper {
        padding-top: 60px;
        padding-bottom: 40px;
    }

    .hero-content-wrapper h1 {
        font-size: 26px;
        line-height: 1.3;
    }

    .hero-content-wrapper p {
        font-size: 14px;
    }
}


.about-section .row {
    display: flex;
    align-items: stretch;   /* makes both columns equal height */
}

.about-section .about-image {
    height: 100%;
    padding: 4px;
     border: 1px solid #2f6df6;
         border-radius: 12px; 
}

.about-section .about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* keeps image properly scaled */
    /* image border */
    border-radius: 12px;    /* rounded corners */
}

/* Mobile Fix */
@media (max-width: 991px) {
    .about-section .row {
        flex-direction: column;
    }

    .about-section .about-image img {
        height: auto;
        margin-top: 20px;
    }
}

.borderprimary {
    border-color: #2f6df6;
    border-radius: 10px;
}


.modal-content{
    padding: 30px 20px;
}

.about-content-wrapper p{
    text-align: justify;
}


#highlights table th {
    white-space: nowrap;      /* prevents text from breaking */
    width: 35%;               /* fixed width for heading column */
}

#highlights table td {
    width: 65%;
}


/* Equal height cards - only for this section */
.equal-card-row > div[class*="col-"] {
    display: flex;
}

.equal-card-row .card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ===== Hostel Modern Layout ===== */

.hostel-modern-section {
    padding: 30px 0;
}

.hostel-modern-section h4 {
    font-weight: 600;
    margin-bottom: 40px;
}

.hostel-modern-section .row {
    margin-bottom: 60px;
    align-items: center;
}

.hostel-modern-section h5 {
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
}

.hostel-modern-section h5::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    height: 18px;
    width: 4px;
    background: #0d6efd;
    border-radius: 2px;
}

/* Content Styling */
.hostel-modern-section ol {
    padding-left: 20px;
}

.hostel-modern-section ol li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #555;
}

/* Image Styling */
.hostel-modern-section img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.hostel-modern-section img:hover {
    transform: scale(1.03);
}

/* Alternating spacing */
.hostel-modern-section .row:nth-child(even) {
    flex-direction: row-reverse;
}

/* Mobile Optimization */
@media (max-width: 991px) {

    .hostel-modern-section .row {
        flex-direction: column !important;
        text-align: left;
    }

    .hostel-modern-section img {
        margin-top: 20px;
    }
}


/* ===== Premium FAQ Design ===== */

.faq-premium-section {
    background: #f8f9fc;
}

.faq-premium-section h4 {
    font-weight: 600;
    color: #111;
}

/* Accordion Item */
.faq-premium-section .accordion-item {
    border: none;
    margin-bottom: 18px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.faq-premium-section .accordion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* Question Button */
.faq-premium-section .accordion-button {
    background: #ffffff;
    font-weight: 500;
    padding: 18px 22px;
    color: #111;
    border: none;
    box-shadow: none;
    transition: 0.3s ease;
}

/* Active Question */
.faq-premium-section .accordion-button:not(.collapsed) {
    background: #0d6efd;
    color: #fff;
}

/* Remove default arrow background */
.faq-premium-section .accordion-button::after {
    filter: brightness(0.3);
    transition: 0.3s ease;
}

.faq-premium-section .accordion-button:not(.collapsed)::after {
    filter: brightness(10);
}

/* Answer Body */
.faq-premium-section .accordion-body {
    background: #fff;
    padding: 20px 22px;
    line-height: 1.7;
    color: #555;
    border-top: 1px solid #eee;
}

/* List Styling */
.faq-premium-section .accordion-body ul {
    padding-left: 20px;
}

.faq-premium-section .accordion-body ul li {
    margin-bottom: 8px;
}

/* Smooth animation */
.faq-premium-section .accordion-collapse {
    transition: all 0.3s ease;
}

/* Mobile */
@media (max-width: 768px) {
    .faq-premium-section .accordion-button {
        font-size: 14px;
        padding: 15px 18px;
    }
}


.tsmu-feature-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.tsmu-feature-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.tsmu-feature-list li::before {
  content: "\f26e"; /* Bootstrap check-circle */
  font-family: "Bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0px;
  font-size: 16px;
  color: #0d6efd;
}

.hero-content-wrapper h1 {
  font-size: clamp(24px, 5vw, 60px);
}


.testimonial-section {
  padding: 80px 0;
}

.testimonial-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  height: 100%;
  transition: 0.3s ease;
}

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

.testimonial-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.testimonial-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.testimonial-card h4 {
  font-size: 14px;
  color: #0d6efd;
  margin-bottom: 3px;
}

.testimonial-card h6 {
  font-size: 13px;
  color: #777;
}

.testimonialSwiper{
    padding: 20px!important;
}

/* Swiper slide ko flex banao */
.testimonialSwiper .swiper-slide {
  display: flex;
  height: auto;
}

/* Card full height le */
.testimonial-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: 0.3s ease;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}


.program-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 50px;
  overflow: hidden;
  border-radius: 8px;
}

/* Table Header */
.program-table th {
  background: linear-gradient(135deg, #2f6df6, #1c4ed8);
  color: #fff;
  padding: 14px 16px;
  border: 1px solid #dddddd;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.5px;

  white-space: nowrap;   /* 🔥 line break prevent */
}

/* Table Data */
.program-table td {
  padding: 12px 16px;
  border: 1px solid #ddd;
  font-size: 15px;
  vertical-align: middle;
}

/* Zebra Striping */
.program-table tr:nth-child(even) {
  background: #f8f9fa;
}

/* Hover Effect */
.program-table tbody tr:hover {
  background: #eef2ff;
  transition: 0.3s ease;
}

/* Sticky Header */
.program-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}

/* Optional Shadow */
.program-table {
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}


@media (max-width: 767px) {
    .hero-section-wrapper-5 .hero-style-5 .hero-content-wrapper {
        padding: 40px 0;
    }
}

.header-6 {
    position: sticky;
    top: 0;
    z-index: 9999;
}

/* Custom animation */
.modal.fade .modal-dialog {
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.4s ease;
}

.modal.fade.show .modal-dialog {
  transform: scale(1);
  opacity: 1;
}



@media (max-width: 767px) {
    
    .hero-content-wrapper h1,
    .hero-content-wrapper p{
    text-align: center !important;
}
.hero-content-wrapper p{
    margin-bottom: 10px!important;
}

.hero-content-wrapper .button{
    display: none;
}
.abut-btn{
    text-align: center;
}
}
