﻿.slider {
  width: 100%;
  aspect-ratio: 20 / 9;
  position: relative;
  overflow: hidden;
}

.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}



.slider1 {
  width: 100%;
  aspect-ratio: 25 / 9;
  position: relative;
  overflow: hidden;
}

.slide1 {
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide1.active {
  opacity: 1;
}







.news-container {
    background: #FF9D3D;
    color: #000;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
}

.news-container a {
    color: #fff;
    text-decoration: none;
}

.news-container a:hover {
    color: #fff;
    background: #FF9D3D;
    padding: 2px 6px;
    border-radius: 4px;
}

.news-scroll {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 30s linear infinite;
}

.news-container:hover .news-scroll {
    animation-play-state: paused;
}

.news-item {
    position: relative;
    cursor: pointer;
    font-weight: 600;
}

.hover-msg {
    display: none;
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
    white-space: nowrap;
    z-index: 9999;
}

.news-item:hover .hover-msg {
    display: block;
}

@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.registration-dropdown {
    position: relative;
    display: inline-block;
}

/* Main Registration Button */
.registration-dropdown .main-btn {
    background-color: #FF9D3D;
    color: #ffffff;
    border: 1px solid #b5b5b5;
    border-radius: 4px;
}

/* Main button hover */
.registration-dropdown .main-btn:hover {
    background-color: #e8892f;
    color: #ffffff;
}

/* Submenu container */
.sub-buttons {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    min-width: 180px;
    padding-top: 6px;
}

/* Submenu buttons */
/* Submenu buttons – force text color */
.sub-buttons a.elementor-button,
.sub-buttons a.elementor-button span,
.sub-buttons a.elementor-button .elementor-button-text {
    background-color: #ffffff !important;
    color: #7a7a7a !important;   /* gray text */
    border: 1px solid #b5b5b5 !important;
    display: block;
    margin: 6px 0;
    text-align: center;
    transition: all 0.3s ease;
}

/* Hover – orange text */
.sub-buttons a.elementor-button:hover,
.sub-buttons a.elementor-button:hover span,
.sub-buttons a.elementor-button:hover .elementor-button-text {
    color: #FF9D3D !important;   /* orange */
    border-color: #FF9D3D !important;
    background-color: #ffffff !important;
}

/* Show submenu */
.registration-dropdown:hover .sub-buttons {
    display: block;
}


.smart-campus-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.smart-campus-image {
    width: 45%;
}

.smart-campus-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.smart-campus-content {
    width: 55%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .smart-campus-wrapper {
        flex-direction: column;
    }

    .smart-campus-image,
    .smart-campus-content {
        width: 100%;
    }
}
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.responsive-table th,
.responsive-table td {
    border: 1px solid #dee2e6;
    padding: 10px;
    text-align: left;
}

/* Mobile View */
@media (max-width: 768px) {
    .responsive-table thead {
        display: none;
    }

    .responsive-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #dee2e6;
    }

    .responsive-table td {
        display: block;
        width: 100%;
        padding-left: 50%;
        position: relative;
    }

    .responsive-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        top: 10px;
        font-weight: bold;
        white-space: nowrap;
    }
}
/* FORCE MOBILE MENU */
@media (max-width: 768px) {
  .elementor-nav-menu--dropdown {
    display: block !important;
  }

  .elementor-menu-toggle {
    display: flex !important;
    visibility: visible !important;
  }

  .elementor-nav-menu__container {
    display: none;
  }

  .elementor-nav-menu__container.elementor-active {
    display: block !important;
  }
}




