

/* ----  HERO SECTION ---- */
.hero{background: #0f0c29;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #24243e, #302b63, #0f0c29);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #24243e, #302b63, #0f0c29); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
 }
.hero h1 {
    /*font-weight: 700;*/
    font-size: calc(0.2rem + 2vw) !important;
    line-height: 1.2;
    color: #fff;
}
.gradient-text {
 /*font-weight: bold;*/
  display: inline-block;
  background: linear-gradient(45deg,#ff4500,  #673ab7, #ffffff, #00bcd4);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glitterMove 4s ease-in-out infinite;
  transition: all 0.5s ease-in-out;
  font-weight:700 !important;
}

@keyframes glitterMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gradient-textcolor {
  display: inline-block;
  background: linear-gradient(45deg, #b22222, #4a148c, #222222, #006064,#fff); 
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glitterMove 4s ease-in-out infinite;
  font-weight: 700 !important;
}

@keyframes glitterMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

 .skill-card.aligned-text span {
        display: inline-block;
        min-width: auto; /* Adjusted for best alignment */
        font-weight: bold;
    }

.hero .sub-text {
    font-size: 1.02rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.feature-sep {
    display: inline-block;
    width: 8px;
    height: 8px;
    background:#ffd690;
    border-radius: 50%;
    /*margin: 2px 0.75rem;*/
    vertical-align: middle;
}
.feature-font{
    font-size:18px !important;
    color:#fff;
    font-weight:500 !important;
}
.sub-keytext{
    font-size:16px;
}
.cur-text{
    font-size:22px;
    text-align:left;
}
.cur-li li{
    font-size:15px;
}
.key_font h5{
    font-size:1.04rem;
    font-weight:600;
}

.icon-bg {
    padding: 12px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.key_font {
   
    max-width:500px;
    align-items:center ;
   box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important;
    border-radius: 30px;

   
    /*padding:4px;*/
}
.key_font i {
    padding: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05); /* Light transparent background */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
}

.display-5{
   font-size: calc(1em + 1.08vw);
}
.enroll-card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
}

.enroll-card .form-group label {
    font-weight: 600;
}

.btn-gradient {
    background-image: linear-gradient(90deg, #ff5f6d 0%, #ff814b 100%);
    color: #fff !important;
    border: none;
    font-weight: 600;
    transition: filter 0.2s;
}

.btn-gradient:hover {
    filter: brightness(0.92);
}

/* ----  OVERVIEW SECTION ---- */
.overview {
    /*background-color: #e6f0f4;*/
    padding: 5rem 0;
}

.overview h2 {
    color: #0a1736;
    font-weight: 700;
}

.overview .underline {
    position: relative;
    display: inline-block;
}

.overview .underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 8px;
    background:#7b7bff;
    opacity: 0.55;
    border-radius: 4px;
}

.key-item-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
}

.key-item-title {
    color: #002d55;
    font-weight: 700;
}

.kh-icon {
    width: 56px;
    /* keep all icons uniform */
    height: 56px;
    flex: 0 0 56px;
    /* don’t shrink */
    margin-right: 1rem;
    /* spacing to text */
}

@media (max-width: 575.98px) {

    /* extra‑small */
    .kh-icon {
        width: 48px;
        height: 48px;
    }
}

.key-item-desc {
    color: #6c757d;
    font-size: 0.95rem;
}

/* ----  CURRICULUM SECTION ---- */
.curriculum {
    padding: 5rem 0 3rem;
    background: #fafafa;
    position: relative;
}


.curriculum .sidebar h3 {
    font-weight: 800;
  
}

.curriculum .sidebar p {
    color: #6c757d;
    line-height: 1.55;
}

.btn-download {
    background: #0d6efd;
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.6rem 1.5rem;
}

.module-card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    margin-bottom: 2rem;
}

.module-card h4 {
    font-weight: 700;
}

.topic-pill {
    display: inline-block;
    background: #dee2e6;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #000;
    margin: 0.25rem 0.3rem 0.25rem 0;
}

.module-footer-link {
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
    text-align: right;
}

/* Sticky / scroll‑sync */
@media (min-width: 992px) {
    .curriculum .sidebar {
        max-width: 270px;
    }

    .sidebar.is-fixed {
        /* position: fixed !important; */
        /* top: 120px; */
        text-align: left;
    }

    .sidebar.is-bottom {
        /* position: absolute !important; */
        top: auto;
        right: 0;
        bottom: 0;
    }

    .modules-scroll {
        max-height: calc(80vh - 80px);
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 1rem;
    }

    .modules-scroll::-webkit-scrollbar {
        width: 6px;
    }


}

/* ----  RESPONSIVE ---- */
@media (max-width: 991.98px) {
    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        text-align: center;
    }

    .sub-text,
    .feature-list {
        text-align: center;
    }

    .feature-list {
        justify-content: center;
    }

    .enroll-card {
        margin-top: 3rem;
    }
}

/* -------modals */
.modal-header {
    border-bottom: none;
    position: relative;
    padding: 1rem 1.5rem;
}

/* Title spans full width and is centered */
.modal-title {
    flex: 1 1 auto;
    text-align: center;
    font-weight: 700;
}

/* close icon always to the far right */
.modal-header .close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.4rem;
}

/* just keeping yellow heading style if needed elsewhere */
.module-heading {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffd400;
    position: relative;
    padding-left: 20px;
    margin-bottom: 1.8rem;
}

.module-heading::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffd400;
    left: 0;
    top: 9px;
}

/* topic block */
.topic-block h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.topic-block p {
    margin-bottom: 2rem;
    color: #4d4d4d;
}

.modal-title {
    font-weight: 700;
}

/* optional: tighter pills inside modal */
.syllabus-pill {
    display: inline-block;
    background: #f0f0f0;
    padding: .3rem .65rem;
    border-radius: 4px;
    margin: .2rem;
    font-size: .85rem;
    font-weight: 600;
}

/* -----------------------tools n technologies------------- */
.icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    font-size: 1.2rem;
    color: #000;
}

.bg-soft-green {
    background: #f4fdf5;
}

.bg-soft-blue {
    background: #edf5ff;
}

.bg-soft-yellow {
    background: #fffde9;
}

.bg-soft-peach {
    background: #fff4ef;
}

.bg-soft-purple {
    background: #f5f3ff;
}

.bg-soft-pink {
    background: #fff3f4;
}

/* subtle hover lift */
.skill-card {
    transition: transform .2s;
}

.skill-card:hover {
    transform: translateY(-4px);
}

/* ----------------projects cards--------------- */


/* ==== CARD LOOK & COLOURS ==== */

/* ===== icon square ===== */
.icon-wrap {
    width: 66px;
    height: 66px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    margin-left: auto;
    margin-right: auto;
}


/* soft‑badge helpers */
.badge-soft-green {
    background: #d2f4ea;
    color: #0f5132;
}

.badge-soft-blue {
    background: #d0e6ff;
    color: #084298;
}

.badge-soft-purple {
    background: #e9d8fd;
    color: #3d0f5e;
}

.badge-soft-yellow {
    background: #fff7d6;
    color: #664d03;
}

.badge-soft-peach {
    background: #ffe5d1;
    color: #843b0c;
}

/* ===== Theming shortcuts ===== */
/* blue set */
.project-card {
    border-radius: 35px;
}


.project-card {
    border-radius: 1rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .05);
    transition: transform .3s;
    min-height: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
}

/* theme colours */
.project-blue {
    background: #e7f1ff;
    border-bottom: 4px solid #0d6efd;
}

.project-green {
    background: #e6ffed;
    border-bottom: 4px solid #198754;
}

.project-purple {
    background: #f3e8ff;
    border-bottom: 4px solid #6f42c1;
}

.project-orange {
    background: #fff4e5;
    border-bottom: 4px solid #fd7e14;
}

.project-yellow {
    /* background: #fffbe6; */
    border-bottom: 4px solid #f307ff5c;
}

/* ==== SLIDER CORE ==== */
.slider-wrapper {
    /*position: relative;*/
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform .6s ease;
    will-change: transform;
    touch-action: pan-y;
}

/* allow horizontal pan */
.slide {
    flex: 0 0 100%;
    padding: 0 .5rem;
    box-sizing: border-box;
    user-select: none;
}

@media(min-width:576px) {
    .slide {
        flex: 0 0 50%;
    }
}

@media(min-width:992px) {
    .slide {
        flex: 0 0 28.3333%;
    }
}

/* arrows */
.slider-arrow {
   background: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
    border: none;
    font-size: 1.5rem;
    color: #03030D;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    user-select: none;
}

.arrow-prev {
    left: -15px;
}

.arrow-next {
    right: -15px;
}

@media(max-width:575.98px) {
    .project-card {
        padding: 2rem;
    }
}

@media(max-width:575.98px) {

    .project-card,
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* ------------------------------------------------------Testimonials section --------------- */
.testimonial-section {
    /*background: linear-gradient(135deg, #f5f8ff 0%, #fff2f8 100%);*/
}

.testimonial__wrapper {
    position: relative;
    overflow: hidden;
    cursor: grab;
}

.testimonial__wrapper.grabbing {
    cursor: grabbing !important;
}

.testimonial__track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    will-change: transform;
}

.testimonial__card,
.alumini__card {
    flex: 0 0 300px;
    margin: 15px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.alumini__card {
    flex: 0 0 200px
}

.testimonial__card .testimonial__avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial__lpa {
    color: #d4a019;
    font-weight: 700;
}

.testimonial__company {
    max-height: 10px;
    max-width: 100px;
    /* width: 100%; */
}

.alumni-company-logo-img {
    height: 38px;
    object-fit: contain;
    width: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

@media (max-width: 575.98px) {

    .testimonial__card,
    .alumini__card {
        flex: 0 0 260px;
        margin: 10px;
    }
}

/* ----------------testimonial card --------------------*/
.testimonial-card {
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    border-radius: 10px;
    background: #5d5966;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.testimonial-content {
    padding: 1.8rem 0 0 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #d0d0d0;
    flex: 1 1 auto;
    position: relative;
    overflow: hidden;
    /* max-height: 200px; */
}

.testimonial-content .fa-quote-left {
    font-size: 30px;
    color: #888;
    position: absolute;
    top: 12px;
    left: 4px;
    transform: translate(0, -20%);
}

/* top left quotes */
.testimonial-footer {

    margin-top: auto;
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex: 0 0 64px;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid #fff;
}

.testimonial-name {
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: .2rem;
}

.testimonial-role {
    font-size: 0.9rem;
    color: #ff7a00;
    width: 250px;
    /* --- Ellipsis Styles --- */
    white-space: nowrap;
    /* Prevent line breaks */
    overflow: hidden;
    /* Hide overflowing text */
    text-overflow: ellipsis;
    /* Show "..." when overflowed */
    /* display: block; */
    /* Ensure block layout (optional if already block/inline-block) */
    max-width: 300px;
    /* Ensures ellipsis activates within container width */
}

/* orange highlight */
/* ---------------------certificatesection ------------- */
.highlight-underline {
    border-bottom: 4px solid #7f56d9;
    display: inline-block;
    padding-bottom: 4px;
}

.cert-img:hover {
    transform: scale(1.05);
    /* subtle zoom */
}

/* Optional: a little smaller on very narrow phones */
@media (max-width: 575.98px) {
    .cert-img {
        max-width: 80%;
    }
}

.zoom-wrapper:hover .cert-img {
    transform: scale(1.05);
}

/* Hide label by default */
.zoom-label {
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%, 50%);
    background: rgba(246, 79, 79, 1);
    color: #fff;
    font-size: 1rem;
    padding: 6px 12px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
    /* pointer-events: none; */
    cursor: pointer;
    /* ensures click goes through */
}

/* Show label on hover */
.zoom-wrapper:hover .zoom-label {
    opacity: 1;
}

.info-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.cert-img {
    width: 100%;
    max-width: 500px;
}

/* --------------------------------why AIT in  */

.training-section {
    background: #f9f9ff;
    overflow: hidden;
    position: relative;
}

.training-carousel-wrapper {
    overflow: hidden;
}

.training-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.training-card-container {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 1rem;
}

@media (min-width: 576px) {
    .training-card-container {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .training-card-container {
        flex: 0 0 40%;
        max-width: 40%;
    }
}

.training-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s;
}

/* Image wrapper */
.trainingcard-img {
    height: 200px;
    overflow: hidden;
}

/* Actual image */
.trainingcard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Makes the image fully cover the area */
    display: block;
    object-position:top;
}
.training-card-body {
    padding: 1rem;
    text-align: center;
}

.training-card-body p {
    flex-grow: 1;
    margin: 0;
}

.training-card-title {
    min-height: 30px;
    font-weight: 700;
    font-size: 1.1rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.carousel-btn i {
    margin-top:3px;
    font-size: 1.3rem;
}

.carousel-btn.prev {
    left: -2px;
}

.carousel-btn.next {
    right: -2px;
}

.arrow-between {
    width: 30px;
    text-align: center;
    font-size: 20px;
    color: #333;
    flex-shrink: 0;
}

/* ------------------FAQs------------ */
/* Highlight active tab */
.nav-pills .nav-link.active {
    color: #6f42c1;
    background-color: #f2f7fd;
    border-left: 3px solid #6f42c1;
    border-radius: 12px;
    font-size:16px;
    font-weight:700;
}
.nav-link{
    font-size:15px;
}

/* Accordion button style */
.btn-link {
    color: #003366;
    text-decoration: none;
}

.btn-link:focus {
    outline: none;
    text-decoration: none;
    box-shadow: none;
}

.btn-link:hover {
    text-decoration: none !important;
}

/* Default down arrow */
.collapse-icon {
    transition: transform 0.3s ease;
}

/* Rotate to up arrow when expanded */
.btn[aria-expanded="true"] .collapse-icon {
    transform: rotate(180deg);
}

/* ---------------------logos---------------- */
/* ------------ Section styling ------------ */
.hiring-section {
background: #ECE9E6;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #FFFFFF, #ECE9E6);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #FFFFFF, #ECE9E6); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

  padding: 2rem 0;
    /*background: #fff;*/
    text-align: center
}

.hiring-section h2 {
    font-weight: 700;
    margin-bottom: 2.5rem
}

.hiring-section .highlight {
    color: #0066ff
}

/* ------------ Row / slider styling ------- */
.logo-row-wrapper {
    overflow: hidden;
    position: relative;
    margin: 1rem 0
}

.logo-track {
    display: flex;
    align-items: center;
    user-select: none;
    cursor: grab
}

.logo-slide {
    flex: 0 0 auto;
    padding: 1rem 2rem;
    opacity: .85;
    transition: opacity .3s;
    
}

.logo-slide:hover {
    opacity: 1
}

.logo-slide img,
.logo-slide i.fa-brands {
    height: 60px;
    width: auto;
    font-size: 2.8rem;
    object-fit: contain;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
     border-radius:8px;
     padding:4px;
     background-color:white;
}

/* Visible logos per row */
@media (min-width:992px) {
    .logo-slide {
        width: calc(100%/7)
    }
}

@media (min-width:576px) and (max-width:991.98px) {
    .logo-slide {
        width: calc(100%/5)
    }
}

@media (max-width:575.98px) {
    .logo-slide {
        width: calc(100%/2);
    }
}

/* -----------------modal fo rsyllabus */
#downloadModal .modal-content {
    max-width: 100%;
}

@media (max-width: 576px) {
    #downloadModal .modal-content {
        padding: 1rem;
    }
}

/* ─── Glass‑morphism panel ───────────────────────────── */
.glass-modal {
    background: rgba(250, 250, 250, 0.978);
    /* frost tint */
    border: 1px solid rgba(255, 255, 255, 0.35);
    /* light border */
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    /* Safari */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    border-radius: 12px;
}

/* ─── Dark, slightly blurred overlay ─────────────────── */
.modal-backdrop.show {
    opacity: 1 !important;
    /* override .3 */
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}


/* -------------------------prara---------- */
.testimonial__card p {
    line-height: 1.5em;
    height: calc( 1.5em * 3);
    /* fixed 3‑line window   */
    overflow: hidden;
    /* hide extra text       */
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    /* ← adds the ellipsis   */
    margin-bottom: 0;
    position: relative;
}

/* ---------- scrollbar & full text on hover ---------- */
.testimonial__card:hover p {
    -webkit-line-clamp: unset;
    /* stop clamping        */
    overflow-y: auto;
    /* enable scrolling     */
    text-overflow: unset;
    /* remove ellipsis      */
}

/* Hide scrollbar rail until hover (WebKit browsers) */
.testimonial__card p::-webkit-scrollbar {
    width: 0;
    /* invisible at rest    */
}

.testimonial__card:hover p::-webkit-scrollbar {
    width: 3px !important;
    /* show scrollbar rail   */
    background: rgba(0, 0, 0, 0.1);
    /* light rail colour    */
    border-radius: 3px;
    /* rounded corners       */
    /* appears on hover     */
}

/* ---------- subtle scale‑up for the whole card ---------- */
.testimonial__card {
    transition: transform .25s ease, box-shadow .25s ease;
}

.testimonial__card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.testimonial__card p {
    max-height: 100px;
    overflow-y: hidden;
}

.testimonial__card:hover p {
    overflow-y: auto;
}

.avatar‑text {
    /* same footprint as your old 80×80 avatar */
    width: 60px;
    height: 60px;
    line-height: 60px;
    /* centers text vertically */
    text-align: center;
    /* centers horizontally    */
    font-size: 2rem;
    /* tweak to taste           */
    font-weight: 700;
    border: 2px solid var(--avatar‑border, #4b6ad0);
    /* match your palette       */
    border-radius: 50%;
    /* perfect circle           */
    color: var(--avatar‑border, #4b6ad0);
    background: #ffffff;
    flex-shrink: 0;
    /* keep width in flex row   */
}

/* ---- */
/* === 1. Card Styling with Hover Scale === */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 100%;
    /* ensures layout consistency */
}

.testimonial-card:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(231, 140, 140, 0.15);
    border-radius: 15px;
}

/* === 2. Paragraph with line-clamp and scroll on hover === */
.testimonial-content p {
    line-height: 1.5;
    max-height: calc(1.5em * 4);
    /* show 4 lines initially */
    overflow: hidden;
    position: relative;
    margin-bottom: 0 !important;
    padding-bottom:0px !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    /* show only 4 lines */
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

/* On hover, scroll the text inside the fixed-height p */
.testimonial-card:hover .testimonial-content p {
    -webkit-line-clamp: unset;
    display: block;
    overflow-y: auto;

    padding-right: 8px;
    /* space for scrollbar */
}

/* Optional: style scrollbars (for WebKit) */
.testimonial-content p::-webkit-scrollbar {
    width: 4px;
}

.testimonial-content p::-webkit-scrollbar-thumb {
    background-color: rgba(188, 122, 122, 0.3);
    border-radius: 4px;
}

/* ------location ---------- */
.mapouter {
    position: relative;
    text-align: right;
    width: 100%;
    height: 350px;
    margin-bottom: 20px;
}

.gmap_canvas {
    overflow: hidden;
    background: none !important;
    width: 100%;
    height: 100%;
}

.gmap_iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
}

.contact-icon {
    font-size: 1.2rem;
    color: #ff0066;
    margin-right: 10px;
}

.map-box {

    margin-bottom: 20px;
    padding: 10px;
    border-radius: 6px;
    /* background: #fff; */
}

.social-icon {
    display: inline-block;
    background-color: #ffffff;
    color: #003366;
    /* Dark Blue or use your primary */
    padding: 10px;
    border-radius: 50%;
    transition: all 0.5s ease-in-out;
    text-align: center;
    width: 40px;
    height: 40px;
    line-height: 20px;
    font-size: 16px;
}

.social-icon i {
    transition: transform 0.5s ease-in-out;
}

.social-icon:hover {
    background-color: #ffcc00;
    /* Highlight on hover */
    color: #fff;
}

.social-icon:hover i {
    transform: rotate(360deg);
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #ffcc00;
    color: #000;
    border-radius: 50%;
    font-size: 20px;
    text-align: center;
    line-height: 50px;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    background-color: #003366;
    color: #fff;
    transform: rotate(360deg);
}

.telephone-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background-color: #25D366;
    /* WhatsApp green */
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    line-height: 55px;
    z-index: 1001;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: pulse 1.5s infinite;
}

.telephone-button:hover {
    background-color: #128C7E;
    transform: rotate(360deg) scale(1.1);
}

/* Simple pulse animation */
@keyframes pulse {
    0% {card
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.email-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background-color: #007bff;
    /* Bootstrap primary */
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 22px;
    line-height: 55px;
    z-index: 1001;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: emailPulse 1.5s infinite;
}
.stikeymobile{
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: emailPulse 1.5s infinite;
}
.email-button:hover {
    background-color: #0056b3;
    transform: rotate(360deg) scale(1.1);
}

/* Pulse animation */
@keyframes emailPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.6);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}
.accordioncontet .card{
    box-shadow:none !important;
    /*border-radius:18px !important;*/
        border: 1px solid rgba(0, 0, 0, .125);
}
.card-header{
    border-bottom:0 !important;
}
.footer-text{
    font-size:14px !important;
}
/* Full-height section layout */
section.full-height-section {
    min-height: 100vh;
    display: flex;
    align-items: center;

}
/* Active item style */
#roleList .list-group-item.active {
    background-color: #fc5510;
    color: white;
    border: 2px solid #dc3545;
    font-weight: bold;
    border-radius: 8px;
}

/* Hover effect for non-active items */
#roleList .list-group-item:hover:not(.active) {
    border: 1px solid #dc3545;
    color: #dc3545;
    background-color: transparent;
}

/* Hover effect for active item */
#roleList .list-group-item.active:hover {
    background-color: #6f42c1;  /* Bootstrap purple */
    border-color: #6f42c1;
    color: #fff;
}



/* Section base */
.full-height-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Equal height wrapper on large screens */
@media (min-width: 768px) {
    .equal-height-row {
        display: flex;
        align-items: stretch;
    }

    .equal-height-col {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .list-group {
        flex-grow: 1;
        height: 100%;
    }
    

    .chart-container {
        flex-grow: 1;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 20px;
        border-radius: 16px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        background-color: #fff;
    }

    canvas {
        width: 100% !important;
        height: 420px !important;
        max-height: 420px;
        display: block;
    }
    
}
/* Space between buttons */
#roleList .role-btn {
    margin-bottom: 10px;
    border-radius: 8px;
    padding: 12px 16px;
}

/* Remove bottom margin for last button */
#roleList .role-btn:last-child {
    margin-bottom: 0;
}

/* Improve spacing and layout on large screens */
@media (min-width: 992px) {
    #roleList {
        padding: 16px;
    }

    #roleList .role-btn {
        font-size: 1rem;
        padding: 14px 18px;
    }
}

/* Responsive for tablets/mobiles */
@media (max-width: 767.98px) {
    .chart-col,
    .chart-container,
    .list-group {
        min-height: auto;
        height: auto;
    }

    canvas {
        width: 100% !important;
        height: 300px !important;
        max-height: 300px;
    }
}
/* Outer tab container styling */
.tab-rounded {
   
    border-radius: 12px;
    padding: 10px 15px;
 
    border-left:0 !important;
}

/* Tab button style */
.tab-rounded .nav-link {
    border-radius: 25px;
    padding: 8px 20px;
    color: #343a40;
    font-weight: 500;
    transition: 0.3s ease;
}

/* Active tab */
.tab-rounded .nav-link.active {
    background-color: #007bff;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
      border-left:0 !important;
}

/* Hover effect */
.tab-rounded .nav-link:hover {
    background-color: #e9ecef;
    color: #007bff;
}
.modal-bg {
    background-color: white !important;
    color: black !important;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
}

.modal-bg .modal-body {
    color: black !important;
}

.modal-bg .modal-header {
    color: black !important;
}
.sub-text{
    font-size:16px;
    margin:2px 0px;
}

@media (max-width: 991px) {
  #roleList .role-btn {
    display: none; /* hide all buttons on small/medium screens */
  }
}
@media (max-width: 574px) {
  #roleTitle {
    display: none !important;
  }
}

  #roleList .role-btn.active {
      /*width:50%;*/
      margin:auto;
    display: block; /* show only the active one */
  }

.map-heading{
    font-size:16px;
}

.recommended-courses {
  row-gap: 1rem; /* vertical spacing between rows */

}

.recommended-single {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.recommended-single img {
  height: 220px; /* fixed height for consistency */
  object-fit: cover;
  border-radius: 6px;
  width: 100%;
}

.recommended-single .font-500 {
  font-size: 16px;
  font-weight: 500;
  margin-top: 15px;
 /* ensure uniform title height */
}

.recommended-single small {
  font-size: 14px;
}


.recommended-single .btn.knowmore {
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 4px;
}

.recommendedslide {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.titlebr {
  width: 60px;
  height: 3px;
  background: #f9c846;
  margin: 10px auto 30px;
}

.whydiv {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  min-height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whydiv:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.whydiv img {
  max-height: 150px;
  object-fit: cover;
  width: 100%;
}

.font-500 {
  font-weight: 600;
  font-size: 1rem;
  color: #333;
}

.desc {
  font-size: 0.9rem;
  color: #555;
  margin-top: 8px;
}

.titlebr {
  width: 60px;
  height: 3px;
  background: #f9c846;
}

.partner-logo {

  object-fit: cover;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.05);
}
.custom-accordion .accordion-item {
  margin-bottom: 10px;
  border: none;
  border-radius: 5px;
  overflow: hidden;
}

.custom-accordion .accordion-item .bg-primary {
  
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bg-accordion{
  background-color: rgba(108, 117, 125, 0.76);
}
.custom-accordion .toggle-icon i {
  transition: transform 0.3s ease;
}

.custom-accordion .collapse.show + .toggle-icon i {
  transform: rotate(45deg); /* rotate plus to minus */
}

.custom-accordion .accordion-item .toggle-icon {
  width: 30px;
  height: 30px;
  background-color: #004cbf;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.course-text .font-500 {
    font-weight:600;
    min-height: 8px; /* Adjust based on your tallest title */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.course-text > p {
  display: -webkit-box;              /* Enables flex-like layout for text */    /* Sets vertical layout */
  -webkit-line-clamp: 3;              /* Number of lines before truncating */
  overflow: hidden;                  /* Hides overflowing text */
  text-overflow: ellipsis;          
}
.course-text {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items:center;
        text-align: center;
        margin-top: 15px;
    }
.recommended-single img {
    width: 100%;
    height: 200px; /* fixed height for all images */
    object-fit: cover; /* crop images without distortion */
}
.singel-testimonial {
  height: 400px; /* Adjust according to your design */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.testimonial-text {
  font-size: 0.95rem;

  color: #555;


  overflow: hidden;
  transition: all 0.3s ease;
}

.read-more-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  background-color: #007bff; /* Blue color */
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.read-more-btn:hover {
  background-color: #0056b3; /* Darker blue on hover */
  color:white;
  transform: translateY(-2px);
}
.singel-testimonial {

  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  height: 300px; /* Normal height */
  overflow: hidden;
  transition: height 0.4s ease;
}

.singel-testimonial.expanded {
  height: auto; /* Expand fully on Read More */
}

.testimonial-thum img {
  height: 120px; /* Fixed image height */
  width: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.testimonial-text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Show 3 lines initially */
  -webkit-box-orient: vertical;
}

.read-more-btn {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px !important;
  /*background-color: #007bff;*/
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  text-decoration: none;
}

.read-more-btn:hover {
  background-color: #0056b3;
}

.testimonial-cont.expanded {
    max-height: 300px; /* expanded height */
    overflow-y: auto; /* scroll if content exceeds max-height */
}

/* Chrome, Edge, Safari */
.testimonial-cont::-webkit-scrollbar {
    width: 8px; /* width of the scrollbar */
}

.testimonial-cont::-webkit-scrollbar-track {
    background: #f1f1f1; /* track color */
}
.testimonial-cont::-webkit-scrollbar-thumb {
    background-color: #ff6600; /* scrollbar thumb color */
    border-radius: 4px;       /* round edges */
}

.testimonial-cont::-webkit-scrollbar-thumb:hover {
    background-color: #e65c00; /* hover color */
}

