/* Font import remains the same */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


/*
---------------------------------------------
global styles
---------------------------------------------
*/
html,
body {
  background: #fff;
  font-family: 'Poppins', sans-serif;
}

::selection,
::-moz-selection {
  background: #f5a425;
  color: #fff;
}

@media (max-width: 991px) {
  html,
  body {
    overflow-x: hidden;
  }

  .mobile-top-fix {
    margin-top: 30px;
    margin-bottom: 0;
  }

  .mobile-bottom-fix {
    margin-bottom: 30px;
  }

  .mobile-bottom-fix-big {
    margin-bottom: 60px;
  }
}

/* Button Styles */
.main-button-red a,
.main-button-yellow a {
  font-size: 13px;
  color: #fff;
  padding: 12px 30px;
  display: inline-block;
  border-radius: 22px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.main-button-red a {
  background-color: #a12c2f;
}

.main-button-yellow a {
  background-color: #f5a425;
}

.main-button-red a:hover,
.main-button-yellow a:hover {
  opacity: 0.9;
}

.section-heading h2 {
  line-height: 40px;
  margin: 0 0 50px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(250,250,250,0.15);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

/*
---------------------------------------------
header
---------------------------------------------
*/

/*sub header*/

.sub-header {
  background-color: rgba(7, 10, 12, 0.85);
  position: relative;
  z-index: 1111;
  height: 38px;
}

.sub-header .left-content p {
  color: #fff;
  padding: 8px 0;
  font-size: 13px;
}

.sub-header .left-content p em {
  font-style: normal;
  color: #f5a425;
}

.sub-header .right-icons {
  text-align: right;
  padding: 8px 0;
}

.sub-header .right-icons ul li {
  display: inline-block;
  margin-left: 15px;
}

.sub-header .right-icons ul li a {
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease;
}

.sub-header .right-icons ul li a:hover {
  color: #f5a425;
}


@media (max-width: 767px) {
  .sub-header .left-content p {
    display: none;
  }

  .sub-header .right-icons {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .sub-header .right-icons ul {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .sub-header .right-icons ul li {
    margin-left: 0;
  }
}
/* end sub header*/
/*header*/

  .header-area .main-nav {
    min-height: 80px;
    background: transparent;
  }
  .header-area .main-nav .logo {
    line-height: 100px;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    float: left;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
  }

  .background-header .main-nav .logo {
    line-height: 75px;
  }

  .background-header .nav {
    margin-top: 20px !important;
  }
  /* end header*/
  /*---- Menu ----- */
  .header-area .main-nav .nav {
    float: right;
    margin-top: 30px;
    margin-right: 0px;
    background-color: transparent;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    position: relative;
    z-index: 999;
  }

  .header-area .main-nav .nav li {
    padding-left: 15px;
    padding-right: 15px;
  }
  .header-area .main-nav .nav li:last-child {
    padding-right: 0px;
  }
  .header-area .main-nav .nav li a {
    display: block;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    color: #fff;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    height: 40px;
    line-height: 40px;
    border: transparent;
    letter-spacing: 1px;
  }
  .header-area .main-nav .nav li:hover a,
.header-area .main-nav .nav li a.active {
  color: #f5a425!important;
}

.background-header .main-nav .nav li:hover a,
.background-header .main-nav .nav li a.active {
  color: #f5a425!important;
  opacity: 1;
}
.header-area .main-nav .nav li.has-sub {
    position: relative;
    padding-right: 15px;
  }

  .header-area .main-nav .nav li.has-sub:after {
    font-family: FontAwesome;
    content: "\f107";
    font-size: 12px;
    color: #fff;
    position: absolute;
    right: 5px;
    top: 12px;
  }
  .background-header .main-nav .nav li.has-sub:after {
    color: #1e1e1e;
  }

  .header-area .main-nav .nav li.has-sub ul.sub-menu {
    position: absolute;
    width: 200px;
    box-shadow: 0 2px 28px 0 rgba(0, 0, 0, 0.06);
    overflow: hidden;
    top: 40px;
    opacity: 0;
    transition: all .3s;
    transform: translateY(+2em);
    visibility: hidden;
    z-index: -1;
  }

  .header-area .main-nav .nav li.has-sub ul.sub-menu li {
    margin-left: 0px;
    padding-left: 0px;
    padding-right: 0px;
  }

  .header-area .main-nav .nav li.has-sub ul.sub-menu li a {
    opacity: 1;
    display: block;
    background: #f7f7f7;
    color: #2a2a2a!important;
    padding-left: 20px;
    height: 40px;
    line-height: 40px;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    position: relative;
    font-size: 13px;
    font-weight: 400;
    border-bottom: 1px solid #eee;
  }
  .header-area .main-nav .nav li.has-sub ul li a:hover {
    background: #fff;
    color: #f5a425!important;
    padding-left: 25px;
  }

  .header-area .main-nav .nav li.has-sub ul li a:hover:before {
    width: 3px;
  }

  .header-area .main-nav .nav li.has-sub:hover ul.sub-menu {
    visibility: visible;
    opacity: 1;
    z-index: 1;
    transform: translateY(0%);
    transition-delay: 0s, 0s, 0.3s;
  }
/* Default hidden menu trigger */
.menu-trigger {
    display: none;
}

/* Header area menu trigger */
.header-area .main-nav .menu-trigger {
    cursor: pointer;
    display:block;
    position: absolute;
    top: 33px;
    right: 40px;
    width: 32px;
    height: 40px;
    text-indent: -9999em;
    z-index: 99;
    display: none;
}

/* Background header adjustment */
.header-sticky .main-nav .menu-trigger {
    top: 23px;
}

/* Menu trigger spans (hamburger lines) */
.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
    -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
    transition: all 0.4s;
    background-color: #1e1e1e;
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 0;
}

.header-area .main-nav .menu-trigger span {
    top: 16px;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
    content: "";
    width: 75%;
}

.header-area .main-nav .menu-trigger span:before {
    transform-origin: 33% 100%;
    top: -10px;
    z-index: 10;
}

.header-area .main-nav .menu-trigger span:after {
    transform-origin: 33% 0;
    top: 10px;
}

/* Active state (X shape) */
.header-area .main-nav .menu-trigger.active span {
    background-color: transparent;
}

.header-area .main-nav .menu-trigger.active span:before {
    transform: translateY(6px) translateX(1px) rotate(45deg);
    background-color: #1e1e1e;
    width: 100%;
}

.header-area .main-nav .menu-trigger.active span:after {
    transform: translateY(-6px) translateX(1px) rotate(-45deg);
    background-color: #1e1e1e;
    width: 100%;
}

/* Header styling */
.header-area.header-sticky {
    min-height: 80px;
}

.header-area .nav {
    margin-top: 30px;
}

.header-area.header-sticky .nav li a.active {
    color: #f5a425;
}

/* Media Queries */
@media (max-width: 1200px) {
    .header-area .main-nav .nav li {
        padding: 0 7px;
    }
}

@media (max-width: 767px) {
    .header-area {
        background-color: #f7f7f7;
        padding: 0 15px;
        height: 100px;
        box-shadow: none;
        text-align: center;
    }

    .header-area .container {
        padding: 0;
    }

    .header-area .logo {
        margin-left: 30px;
    }

    .header-area .main-nav .logo {
        color: #1e1e1e;
    }

    .header-area .menu-trigger {
        display: block;
    }

    .header-area .main-nav {
        overflow: hidden;
    }

    .header-area .main-nav .nav {
        float: none;
        width: 100%;
        display: none;
        transition: all 0.3s ease;
        margin: 100px 0 0 0;
        background: #fff;
        padding: 0;
    }

    .header-area .main-nav .nav.active {
        display: block;
    }

    .header-area .main-nav .nav li {
        width: 100%;
        background: #fff;
        border-bottom: 1px solid #eee;
        padding: 0;
        position: relative;
    }

    .header-area .main-nav .nav li:first-child {
        border-top: 1px solid #eee;
    }

    .header-area .main-nav .nav li a {
        height: 50px;
        line-height: 50px;
        padding: 0 20px;
        background: #f7f7f7;
        color: #191a20;
        display: block;
        text-align: left;
    }

    .header-area .main-nav .nav li a:hover {
        background: #eee;
        color: #f5a425;
    }

    .header-area.header-sticky .nav li a:hover,
    .header-area.header-sticky .nav li a.active {
        color: #f5a425;
        opacity: 1;
    }

    /* Submenu styling */
    .header-area .main-nav .nav li.has-sub {
        position: relative;
    }

    .header-area .main-nav .nav li.has-sub > a:after {
        content: '\25BC'; /* Down arrow */
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: #3B566E;
        font-size: 12px;
    }

    .header-area .main-nav .nav li.has-sub.active > a:after {
        content: '\25B2'; /* Up arrow */
    }

    .header-area .main-nav .nav li ul.sub-menu {
        width: 100%;
        background: #f7f7f7;
        display: none;
        position: relative;
        transition: all 0.3s ease;
        padding: 0;
    }

    .header-area .main-nav .nav li.active ul.sub-menu {
        display: block;
    }

    .header-area .main-nav .nav li ul.sub-menu li {
        border-bottom: 1px solid #eee;
        background: #fff;
    }

    .header-area .main-nav .nav li ul.sub-menu li a {
        padding-left: 40px;
        background: #fff;
        font-size: 14px;
    }

    /* Bootstrap dropdown adjustment for mobile */
    .header-area .main-nav .nav li.nav-item.dropdown {
        position: relative;
    }

    .header-area .main-nav .nav li.nav-item.dropdown .dropdown-toggle:after {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .header-area .main-nav .nav li.nav-item.dropdown.active .dropdown-menu {
        display: block;
        position: relative;
        width: 100%;
        margin: 0;
        padding: 0;
        border: none;
        box-shadow: none;
    }

    .header-area .main-nav .nav li.nav-item.dropdown .dropdown-menu li a {
        padding-left: 60px;
        background: #f7f7f7;
        color: #191a20;
    }
}

@media (min-width: 767px) {
    .header-area .main-nav .nav {
        display: flex !important;
    }

    .header-area .menu-trigger {
        display: none;
    }
}
  ---------------------------------------------------

/*
---------------------------------------------
banner
---------------------------------------------
*/

.main-banner {
    position: relative;
    max-height: 100%;
    overflow: hidden;
    margin-bottom: -7px;
  }

  #bg-video {
      min-width: 100%;
      min-height: 100vh;
      max-width: 100%;
      max-height: 100vh;
      object-fit: cover;
      z-index: -1;
  }

  #bg-video::-webkit-media-controls {
      display: none !important;
  }

  .video-overlay {
      position: absolute;
      background-color: rgba(31,39,43,0.75);
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      width: 100%;
  }

  .main-banner .caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .main-banner .caption h6 {
    margin-top: 0px;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
  }

  .main-banner .caption h2 {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 36px;
    text-transform: uppercase;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
  }

  .main-banner .caption h2 em {
    font-style: normal;
    color: #f5a425;
    font-weight: 900;
  }

  .main-banner .caption p {
    color: #fff;
    font-size: 14px;
    max-width: 570px;
  }

  .main-banner .caption .main-button-red {
    margin-top: 30px;
  }

  @media screen and (max-width: 767px) {

    .main-banner .caption h6 {
      font-weight: 500;
    }

    .main-banner .caption h2 {
      font-size: 36px;
    }

  }

  /*
  ---------------------------------------------
  responsive
  ---------------------------------------------
  */

  @media (max-width: 1300px) {
    .services .owl-nav .owl-next{
      right: -30px;
    }
    .services .owl-nav .owl-prev{
      left: -25px;
    }
    .our-courses .owl-nav .owl-next{
      right: -30px;
    }
    .our-courses .owl-nav .owl-prev{
      left: -25px;
    }
  }

  @media (max-width: 1200px) {
    .services .owl-nav .owl-next{
      right: -70px;
    }
    .services .owl-nav .owl-prev{
      left: -65px;
    }
    .our-courses .owl-nav .owl-next{
      right: -70px;
    }
    .our-courses .owl-nav .owl-prev{
      left: -65px;
    }
  }

  @media (max-width: 1085px) {
    .services .owl-nav .owl-next{
      right: -30px;
    }
    .services .owl-nav .owl-prev{
      left: -25px;
    }
    .our-courses .owl-nav .owl-next{
      right: -30px;
    }
    .our-courses .owl-nav .owl-prev{
      left: -25px;
    }
  }

  @media (max-width: 1005px) {
    .services .owl-nav .owl-next{
      display: none;
    }
    .services .owl-nav .owl-prev{
      display: none;
    }
    .our-courses .owl-nav .owl-next{
      display: none;
    }
    .our-courses .owl-nav .owl-prev{
      display: none;
    }
  }

  @media (max-width: 992px) {

    .main-banner .caption {
      top: 60%;
    }

    .main-banner .caption h2 {
      margin-top: 10px;
      margin-bottom: 10px;
      font-size: 22px;
    }

    .main-banner .caption .main-button-red {
      margin-top: 15px;
    }

    .services {
      margin-top: 60px;
    }

    section.upcoming-meetings {
      padding-top: 400px;
    }

    section.upcoming-meetings .categories {
      margin-right: 0px;
      margin-bottom: 30px;
    }

    .accordions {
      margin-left: 0px;
    }

    .new-students {
      margin-top: 15px;
    }

    section.our-facts .video {
      margin-left: 0px;
      margin-top: 15px;
    }

    section.contact-us #contact {
      margin-bottom: 30px;
    }

  }

  @media (max-width: 767px) {

    .sub-header .left-content p {
      display: none;
    }

    .sub-header .right-icons {
      text-align: center;
    }

    .main-nav .nav .sub-menu {
      display: none;
    }

    .header-area .main-nav .nav li ul.sub-menu li a {
      color: #1f272b;
    }

  }
  /*
--------------------------------------------------------------------------
   NAVBAR LOGO
--------------------------------------------------------------------------
*/
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 10px 0; /* Add padding for better spacing */
    transition: all 0.3s ease; /* Smooth transition for any changes */
}

.logo-img {
    max-width: 50px;
    height: auto;
    margin-right: 10px;
    object-fit: contain; /* Ensure image maintains aspect ratio */
    transition: transform 0.3s ease; /* Add transition for hover effects */
}

.logo:hover .logo-img {
    transform: scale(1.05); /* Subtle zoom effect on hover */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .logo-img {
        max-width: 40px;
    }

    .logo {
        padding: 5px 0; /* Reduce padding on smaller screens */
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-width: 30px;
        margin-right: 5px; /* Reduce margin on smaller screens */
    }

    .logo {
        font-size: 14px;
        padding: 3px 0;
    }
}
/*
-------------------------END-------------------------------------------
*/

/*
--------------------------------------------------------------------
  FOOTER
--------------------------------------------------------------------
*/
.hover-link {
    transition: all 0.3s ease;
}
.hover-link:hover {
    color: #ffc107 !important;
    transform: translateX(5px);
}
.social-link {
    color: #fff;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}
.social-link:hover {
    color: #fff;
    background: #ffc107;
    transform: translateY(-3px);
}
.map-container {
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    background: #ffc107;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}
.scroll-top.active {
    opacity: 1;
    visibility: visible;
}
.scroll-top:hover {
    background: #ffcd39;
    color: #fff;
    transform: translateY(-3px);
}

/*
--------------------------------------------------------------------
  PENGUMUMAN
--------------------------------------------------------------------
*/
.section-title .line-title {
    width: 50px;
    height: 3px;
    background: #0d6efd;
    margin-top: 10px;
}
.pengumuman-link {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}
.pengumuman-link:hover {
    color: #0d6efd;
}
.pengumuman-item img {
    transition: transform 0.3s ease;
}
.pengumuman-item:hover img {
    transform: scale(1.05);
}
.sambutan-content {
    line-height: 1.8;
}
.kepsek-image img {
    transition: transform 0.3s ease;
}
.kepsek-image:hover img {
    transform: scale(1.05);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 10px;
}
/******* end*******/
/******* css untuk sambutan *******/
.sambutan-wrapper {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.kepsek-image-wrapper {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.kepsek-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 8px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.kepsek-image-wrapper:hover img {
    transform: scale(1.02);
}

.kepsek-info {
    position: relative;
    z-index: 2;
}

.sambutan-content {
    line-height: 1.8;
    text-align: justify;
    position: relative;
    z-index: 1;
}

.sambutan-content::before {
    content: '"';
    position: absolute;
    top: -40px;
    left: -20px;
    font-size: 120px;
    color: rgba(0,0,0,0.05);
    font-family: serif;
    z-index: -1;
}

.lead {
    color: #555;
}

@media (max-width: 768px) {
    .kepsek-image-wrapper {
        max-width: 250px;
    }

    .sambutan-wrapper {
        padding: 3rem !important;
    }
}
/******* end*******/
/******* css untuk pengumuman *******/
.line-title {
    width: 80px;
    height: 3px;
    background: #0d6efd;
}

.hover-card {
    transition: transform 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.card-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(13, 110, 253, 0.9);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    line-height: 1.2;
}

.date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
}

.date-month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* Standard property */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pagination {
    gap: 5px;
}

.page-link {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: #0d6efd;
}

.page-item.active .page-link {
    background-color: #0d6efd;
}

.announcement-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.announcement-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/*
--------------------------------------------------------------------
  BERITA
--------------------------------------------------------------------
*/

.line-title {
    width: 80px;
    height: 3px;
    background: #dc3545;
    margin-bottom: 2rem;
}

.news-card {
    transition: transform 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-img-wrapper {
    height: 220px;
    overflow: hidden;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.05);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1.5rem;
}

@media (max-width: 768px) {
    .news-img-wrapper {
        height: 180px;
    }
}
/******* end*******/
