/* Scroll Progress Bar */
#scrollProgressBar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 5px;
    background: linear-gradient(90deg, #000000 0%, #FF0000 50%, #FFCC00 100%);
    z-index: 9999;
    transition: width 0.2s;
    border-radius: 0 4px 4px 0;
}
.expert-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    justify-items: center;
    /*margin-top: 20px;*/
    /*margin-bottom: 20px;*/
}

.expert {
    background-color: white;
    border: 1.5px solid #DD0000;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-align: center;
    color: black;
    overflow: hidden;
    padding: 15px;
    box-sizing: border-box;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
    font-weight: 800;
}

.expert:hover {
    background-color: #FFCE00;
    color: black;
    border: 3px solid #FFCE00;
}

@media (max-width: 768px) {
    .expert-section {
        grid-template-columns: repeat(3, 1fr);
        /* 3 per row on tablets & mobiles */

    }

    .expert {
        width: 120px;
        height: 120px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .expert {
        width: 100px;
        height: 100px;
        font-size: 12px;
        padding: 0px;
    }
}

/* FAQs css */
.faq-section {
    max-width: 800px;
    padding: 0 20px;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
    cursor: pointer;
}

.faq-question {
    font-weight: bold;
    position: relative;
    padding-right: 30px;
}

.faq-question::after {
    content: "\25B6";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 20px;
}

.faq-item.active .faq-question::after {
    content: "\25BC";
}

.faq-answer {
    display: none;
    padding-top: 10px;
    color: #333;
}

.faq-item.active .faq-answer {
    display: block;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0px;
    /* same as your header */
}

/* Popup overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* Popup box */
.popup-box {
    position: relative;
    background: #fff;
    max-height: 100vh;
    width: 90%;
    max-width: 600px;
    overflow-y: auto;
    padding: 0px;
    border-radius: 8px;
}

/* Close button */
.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 180px;
    /* or your navbar's height */
}

.border-image {
    border: 2px solid #000;
    border-radius: 8px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    /* Enables scroll on small screens */
}

.table-responsive-companies {
    overflow-x: auto;
    /* Enables scroll on small screens */
}

.table-responsive td {
    vertical-align: middle !important;
}

.table-responsive-companies td{
    vertical-align: middle !important;
    padding: 0px 0px !important;
}



.cost-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    /* Keeps layout intact */
}

.cost-table th,
.cost-table td {
    border: 1px solid #000;
    padding: 6px;
    text-align: left;
    vertical-align: top;
}

.cost-table th {
    background-color: #f8f8f8;
    font-weight: bold;
}

@media (max-width: 768px) {
    .table-responsive, .table-responsive-companies {
        overflow-x: scroll !important;
        -webkit-overflow-scrolling: touch;
        border: 1px solid #ccc;
        border-radius: 6px;
        scrollbar-width: thin;
        /* Firefox */
        scrollbar-color: #0067ED #f0f0f0;
        /* Firefox */
        min-height: 40px;
        /* Ensures enough height for the scrollbar */
    }

    .table-responsive::-webkit-scrollbar, .table-responsive-companies::-webkit-scrollbar {
        height: 20px;
        /* Makes scrollbar thicker */
    }

    .table-responsive::-webkit-scrollbar-thumb, .table-responsive-companies::-webkit-scrollbar-thumb {
        background: #0067ED;
        border-radius: 6px;
    }

    .table-responsive::-webkit-scrollbar-track, .table-responsive-companies::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 6px;
    }
}

/* Desktop: horizontal, equal width, centered */


.widget.widget-nav-menu ul.widget-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    padding: 0;
    margin: 0 4px 10px;
    padding-right: 10px;
    width: 100%;
    overflow: visible;
    /* for desktop, show fully */
    border-radius: 8px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* smooth scrolling on mobile */
}

.widget.widget-nav-menu ul.widget-menu li {
    margin: 2px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #0067ED;
    overflow: hidden;
    box-shadow: 0 0 6px 0px rgba(29, 33, 67, 0.1);
    flex: 0 0 auto;
    /* prevent shrinking */
}

.widget.widget-nav-menu ul.widget-menu li a {
    display: block;
    padding: 16px 10px;
    white-space: nowrap;
    /* keep text in one line */
    width: 100%;
}

/* MOBILE: horizontal scroll with drag/swipe */
@media (max-width: 767px) {
    .widget.widget-nav-menu ul.widget-menu {
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* hide scrollbar Firefox */
    }

    .widget.widget-nav-menu ul.widget-menu::-webkit-scrollbar {
        display: none;
        /* hide scrollbar Chrome/Safari */
    }

    .widget.widget-nav-menu ul.widget-menu li {
        flex: 0 0 auto;
        margin-right: 8px;
    }

    .widget.widget-nav-menu ul.widget-menu li a {
        padding: 14px 20px;
        white-space: nowrap;
    }
}

.checklist h4 {
    font-weight: bold;
    margin-bottom: 20px;
}

.checklist ul {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 1.6;
}

.checklist li i {
    background-color: #007bff;
    /* Blue circle */
    color: #fff;
    /* White tick */
    border-radius: 50%;
    padding: 5px;
    margin-right: 10px;
    font-size: 8px;
    width: 15px;
    height: 15px;
    text-align: center;
    line-height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .checklist .col-md-6 {
        margin-bottom: 30px;
    }
}

/* //courses css// */
.course-img-box {


    border-radius: 10px;
    /*background-color: #f9f9f9;*/
    transition: all 0.3s ease-in-out;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.course-img-box:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    background-color: #fff;
}

.course-img-box img {
    /*max-height: 120px;*/
    object-fit: contain;
}


@media (max-width: 575.98px) {
    .course-img-box img {
        max-height: 100px;
    }
}


.info-scroll-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    background: #f8f9fa;
}

/* Scroll Container */
.info-scroll-container {
    display: flex;
    gap: 20px;
    min-width: max-content;
    padding: 10px 15px;
    animation: scrollLeft 30s linear infinite;
}

/* Individual Box */
.info-box {
    flex: 0 0 auto;
    min-width: 220px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: transform 0.3s;
}

.info-box:hover {
    transform: scale(1.05);
}

.info-box h5 {
    font-size: 18px;
    margin-bottom: 5px;
}

.info-box p {
    font-size: 16px;
    margin: 0;
}

/* Scroll Animation */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-60%);
    }
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .info-scroll-container {
        animation: none;
        overflow-x: scroll;
    }

    .info-box {
        min-width: 200px;
        padding: 15px;
    }
}

.marquee-wrapper {
    overflow: hidden;
    width: 100%;
}

.marquee-content {
    display: flex;
    gap: 1rem;
    cursor: grab;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    user-select: none;
    /* Prevent text selection */
    min-width: max-content;
    animation: marquee-scroll 18s linear infinite;
    will-change: transform;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

/* Change cursor for draggable feel */
.marquee-content.grabbing {
    cursor: grabbing;
}

.marquee-content::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}


.info-box {
    min-width: 250px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    flex-shrink: 0;
}

.info-box:hover {
    transform: scale(1.05);
}

.info-box h5 {
    font-size: 18px;
    margin-bottom: 5px;
}

.info-box p {
    font-size: 16px;
    margin: 0;
}

/* Keyframes for infinite scroll */
@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive override for mobile */
@media (max-width: 768px) {
    .marquee-content {
        animation-duration: 35s;
    }

    .info-box {
        min-width: 180px;
        padding: 15px;
    }
}


/* public styles */

.public-university-marquee-wrapper {
  overflow: hidden;
  width: 100%;
}

.public-university-marquee-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow: hidden;
}

.public-university-marquee-row {
  display: flex;
  gap: 1rem;
  overflow-x: hidden;
  white-space: nowrap;
  cursor: grab;
  user-select: none;
}

.public-university-marquee-row:active {
  cursor: grabbing;
}

.public-university-marquee-row img {
  flex-shrink: 0;
  /*height: 60px;*/
  /*min-width: 120px;*/
  user-drag: none;
  -webkit-user-drag: none;
  transition: transform 0.2s ease;
}

.public-university-marquee-row img:hover {
  transform: scale(1.05);
}



/* private styles */

.private-university-marquee-wrapper {
  overflow: hidden;
  width: 100%;
}

/* The CONTAINER scrolls horizontally */
.private-university-marquee-container {
  overflow-x: auto;          /* must be scrollable */
  scrollbar-width: none;     /* Firefox hide */
  -ms-overflow-style: none;  /* IE/Edge legacy */
  user-select: none;
  cursor: grab;
  touch-action: pan-y;       /* allow vertical page scroll while we handle horizontal drag */
}
.private-university-marquee-container::-webkit-scrollbar { display: none; }
.private-university-marquee-container:active { cursor: grabbing; }

/* Track = row of items */
.private-marquee-track {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
  padding: 10px 0;
}

.private-marquee-track img {
  flex: 0 0 auto;
  height: 60px;
  min-width: 120px;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;      /* prevents image ghost-drag */
  transition: transform 0.2s ease;
}
.private-marquee-track img:hover { transform: scale(1.05); }



/* colours boxes */

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
}

/* Scrollable container with drag */
.marquee-container {
  overflow-x: auto;
  cursor: grab;
  scrollbar-width: none;
  user-select: none;
  white-space: nowrap;
  position: relative;
}

.marquee-container:active {
  cursor: grabbing;
}

.marquee-container::-webkit-scrollbar {
  display: none;
}

/* Track */
.marquee-track {
  display: flex;
  gap: 1rem;
  padding: 10px 0;
}

/* Info boxes */
.info-box {
  flex: 0 0 auto;
  min-width: 200px;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
