.usn-banner {
  width: 100%;
  aspect-ratio: 1920 / 900;
  background-size: contain !important; /* show full image */
  background-position: center center !important;
  background-repeat: no-repeat !important;

  background-color: #ffffff; /* prevents empty space looking broken */
}

/* remove overlay if theme adds one */
.usn-banner::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* Large desktops */
@media (min-width: 1200px) {
  .usn-banner {
    min-height: 80vh !important; /* reduce height slightly to prevent stretching */
    background-size: contain !important;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .usn-banner {
    min-height: 60vh !important;
    background-size: contain !important;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .usn-banner {

    min-height: 50vh !important;

    background-size: contain !important; /* prevent cropping */
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
}

/* ARROW BANNER  */

.slick-arrow {
  color: black !important;                  /*  brand color */
  background: #CDCDCD !important;                  /*  brand color */

}

/* ACCOMMODATION GALLERY*/

.accomo-img {
    padding: 45px !important;
    background-size: contain;
    
}



/* Change color and size on hover */
.slick-arrow:hover {
  background: #4B5B64 !important;                  /*  brand color */
  color: white !important; 
}



/* hero image frame */

.lazypreload.lazyloaded {
  width: 100%;
  max-width: 700px; /* adjust */
  height: auto;
  object-fit: cover;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); /* soft shadow for frame */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Optional hover effect */
.lazypreload.lazyloaded:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}


.campus-img {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px !important; /* spacing between the two images */
  flex-wrap: wrap; /* responsive layout for smaller screens */
   
    object-fit: cover;   /* make image cover the box neatly */

}

/* remove pause button - our partners*/

html[dir="ltr"] .slick-slider .slick-autoplay-toggle-button {
  display: none !important;
}




/* colleges*/

.usn .text a:not(.btn), .usn .quick-links a:not(.btn), .usn .footer-navigation a:not(.btn) {
    border-bottom: var(--base-border-width) dotted rgba(var(--base-link), 0.25) !important;
    display: inline !important;
    text-decoration: none !important;
    transition: all 0.35s 
ease-in-out 0s;
}




/* Make dean image smaller */
.dean-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
}

/* Force 3 + 9 layout */
.meetDean .col-md-4.column {
    flex: 0 0 25% !important;   /* 3/12 */
    max-width: 25% !important;
}

.meetDean .col-md-8.column {
    flex: 0 0 70% !important;   /* 9/12 */
    max-width: 70% !important;
}

.bg-applyContainer {
    background-color: #f7f7f7 !important; 
    padding: 20px !important; 
    box-sizing: border-box !important; 
    border-radius: 12px !important;
}


/* Make video container smaller */
.video-coe {
    max-width: 800px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/*  Make the video itself responsive but smaller */

.video-coe iframe,
.video-coe video {
    width: 100% !important;
    height: 550px !important;
    max-height: 60vh !important;
}

/* For even smaller size */
.video-coe.small {
    max-width: 600px !important;
}

.video-coe.small iframe,
.video-coe.small video {
    height: 350px !important;
}


/* card color */

.component-main.row.justify-content-between.align-items-center {
  background-color: #f5f7fa;
  border-radius: 13px; /* adjust the roundness */
  padding: 20px;  
}

/* acnhor tab */
.tab-nav {
  display: flex !important;
  justify-content: center !important; /* center the tabs */
  gap: 10px !important; /* spacing between tabs */
  margin: 0px !important;
  padding: 0px   !important; 
  background-color: #5F6368 !important;
}

.tab-nav a {
  text-decoration: none;
  color: #333;
  margin: 0px!important;
  padding: 8px 12px !important; 
  position: relative !important;
  transition: color 0.3s ease;
}

.tab-underline.anchors-horizontal {
  padding: 0 !important;   
}

.content.component.usn_cmp_anchornavigation.c3-bg.c3-bg-solid.has-box-shadows.sticky.tab-nav {
  padding-top: 0 !important;  
  margin-top: 0 !important;    
}

/* Custom spacing for tab navigation */
.tab-nav-custom a {
  margin-right: 50px !important; /* increase or decrease spacing */
}

.nav-link.nav-anchor-link.nav-button-link {
    text-transform: none !important;
}

.tab-nav-custom a:last-child {
  margin-right: 0; /* remove extra space after the last item */
}



.periodicals-padding > * {
    padding: 20px;   /* spacing for every item inside the grid */
    box-sizing: border-box;
}


/* Hover effect */
.card-period:hover {
    background-color: transparent !important;
    color: #f63a49 !important;
    border:  #F63A49;
}


/* MAIN PAGE CUSTOM SECTION     */
.uniten-course-selector {
    background: #F5F7FA;
    padding: 20px;
    border-radius: 20px;
    color: #333;
    line-height: 1.6;
}


.uniten-subtitle {
    text-align: center;
    margin-bottom: 20px;
    color: #444;
}

.uniten-search-container {
    display: flex;
    margin: 20px 0 30px;
}

.uniten-search-container input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
}

.uniten-search-container button {
    background: #DE3314;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.uniten-course-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.uniten-course-card {
    background: #F5F7FA;
    border-radius: 10px;
    border: 1px solid #eee;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
}

.uniten-course-card:hover {
    transform: translateY(-5px);
    border-color: #003366;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.uniten-course-card.selected {
    border-color: #003366;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.2);
}

.uniten-course-card-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.uniten-course-card-content {
    padding: 20px;
    text-align: center;
}

.uniten-course-card-content h3 {
    color: #003366;
    margin-bottom: 10px;
    text-decoration: none !important;
}

.uniten-course-card-content p {
    color: #666;
    font-size: 14px;
        text-decoration: none !important;
}

.uniten-course-link {
    text-decoration: none !important;
}




/* test letak sini : dzahir*/
