/*
Theme Name: Your Child Theme Name
Theme URI: http://example.com/
Description: A child theme for Verumlib
Author: Your Name
Template: verumlib
Version: 1.1
*/

@import url("css/japanese-restaurant.css");
@import url("css/chinese-restaurant.css");
@import url("css/system-development.css");
@import url("css/insurance.css");
@import url("css/mpt-service.css");

:root {
  --primary-color: #f5c83b;
  --dark-text: #1a1a1a;
  --light-bg: #f9f9f9;
  --secondary-text: #555;
}

.h-contactus{
  margin-top: 0px !important;
}
.container-fluid{
  padding: 0px !important;

}
#home-page-top-img{
  margin: 0px !important;
  transition: opacity 0.3s ease-out; /* smooth fade effect */
  width: 100%;
}
.home-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 650px; /* adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--primary-color);
  text-align: center;
}

.home-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,               /* direction of gradient */
    rgba(0, 0, 0, 0) 0%, /* fully transparent at bottom */
    rgba(0, 0, 0, 0.4) 100% /* dark at top */
  );
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}
.banner-content p{
  color: white;
  font-weight: bold;
}
.top-values .value-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.top-values .value-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.top-values .icon {
  color: #007bff;
}
.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0; /* light gray background */
  border-radius: 50%;        /* makes it circular */
  padding: 12px;             /* space around the icon */
  margin: 12px;             /* space around the icon */
  border: 0px solid #e0e0e0; /* subtle border */
  width: 50px;
  height: 50px;
}

.icon-wrapper svg {
  color: #333; /* icon stroke color */
  width: 28px;
  height: 28px;
}

/* Remove margin top 10 px and bg color white */
/* .site-header {
    background-color: transparent !important;
    margin-top: 0px !important;
} */
/* When scrolled bg color white */
/* .site-header.scrolled {
    background-color: white !important;
    transition: white 0.4s ease;
} */

#menu-header-menu,
#menu-header-menu ul.sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

#menu-header-menu li {
    position: relative;
}

/* Submenu base style */
#menu-header-menu li ul.sub-menu {
    position: absolute;
    top: 100%;          /* below parent */
    left: 0;            /* align left with parent */
    background: #fff;
    min-width: 250px;
    margin-left: 15px;
    list-style: none;
    border: 1px solid #e5e5e5;
    border-top: 2px solid #edd86c;
    /* border-radius: 3px; */
    z-index: 9999;

    /* Transition (animation) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

/* Show submenu on hover with animation */
#menu-header-menu li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    margin-left: 5px;
}

/* Submenu items */
#menu-header-menu li ul.sub-menu li {
    display: block;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px;
}
/* Remove border from last item */
#menu-header-menu li ul.sub-menu li:last-child {
    border-bottom: none;
}

#menu-header-menu li ul.sub-menu li a {
    display: block;
    padding: 10px 10px;
    text-decoration: none;
    transition: #f5f7fa 0.5s ease, color 0.2s ease;
}

#menu-header-menu > li {
  font-weight: bold;
  cursor: pointer;
}

/* Level 1 submenu: open below parent */
#menu-header-menu > li > ul.sub-menu {
    top: 100%;   /* below parent */
    left: 0;     /* align with parent */
}

/* Level 2+ submenus: open right by default */
#menu-header-menu ul.sub-menu ul.sub-menu {
    top: 0;      /* align with parent li vertically */
    left: 100%;  /* move right by parent width */
}

/* Increase Selector Specificity for parent theme */
.site-header .navbar-expand-md .navbar-collapse .navbar-nav ul.sub-menu li.menu-item:last-child a {
  border: 0;
  border-radius: 4px;
  color: #040a3f;
  padding: 12px 24px;
  margin-top: 4px;
}
.site-header .navbar-expand-md .navbar-collapse .navbar-nav ul.sub-menu li.menu-item:last-child a:hover {
    background-color: transparent;
}

/* Tablet and smaller (up to 767px wide - tablet size) */
@media (max-width: 767px) {
  #menu-header-menu li ul.sub-menu {
    position: static;       /* stack below parent */
    display: none;          /* hidden by default */
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding-left: 15px;     /* indent child items */
  }

  #menu-header-menu li.open > ul.sub-menu {
    display: block;         /* show submenu when parent has .open */
  }

  #menu-header-menu li ul.sub-menu li a {
    padding: 10px 0;        /* tighter spacing for mobile */
    display: inline-block;
  }
}

@media (max-width: 767px) {
  #menu-header-menu .submenu-toggle {
      cursor: pointer;
      font-weight: bold;
      color: #f5c83b;
  }
}

@media (min-width: 768px){
    #menu-header-menu .submenu-toggle {
        display: none;
    }
}

.submenu-toggle {
  display: inline-block;
  transition: transform 0.6s ease, color 0.3s ease;
  cursor: pointer;
  margin-left: 8px;
  font-weight: bold;
  font-size: 18px;
  line-height: 1;
}

li.open > .submenu-toggle {
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

#menu-header-menu li:hover, #menu-header-menu li ul.sub-menu li:hover , 
#menu-header-menu li ul.sub-menu li.open > a, #menu-header-menu li.open > a ,
#menu-header-menu li ul.sub-menu li a:hover
{
  color: #717ef6;
}

@media (max-width: 1024px) {
  #menu-header-menu li ul.sub-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding-left: 15px;
  }

  #menu-header-menu li.open > ul.sub-menu {
    display: block;
  }

  #menu-header-menu .submenu-toggle {
      cursor: pointer;
      font-weight: bold;
      color: var(--primary-color);
      margin-left: 8px;
      font-size: 16px;
      transition: transform 0.3s ease;
  }

  li.open > .submenu-toggle {
      transform: rotate(90deg);
  }
}
@media (min-width: 1025px) {
  #menu-header-menu .submenu-toggle {
    display: none !important;
  }
}


.university-video , .sys-home, .services, .kiri-address {
  position: relative;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 80vh !important;
  overflow: hidden;
  margin-left: calc(-50vw + 50%) !important; /* ensures true full-width breakout */
}

.university-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Grid layout */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

/* Base card style */
.card {
  background: #fff;
  min-height: 280px;
  max-height: 410px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align-items: center;
}

/* Hover effect */
.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4); /* blue glow */
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #007BFF;
  color: #fff;
  padding: 10px 15px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 20px;
  display: none; /* hidden by default */
  transition: transform 0.3s ease;
}
.back-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,123,255,0.4);
}
.contact-info-university{
  position: relative;
  padding-top: 50px;
  padding-bottom: 30px;
  /* background-color: rgba(255, 255, 255, 0.4); White with 40% opacity */
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
#apply-discipline{
  padding-top: 50px;
}
/* .contact-info-university::before{
  content: "";
  background-color: #004896;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 8%;
} */

#enroll{
  /* background: linear-gradient(0deg, #e2fafc 0%, white 100%); */
}

/* sys-home Section */
.sys-home {
  position: relative;
  background: url("https://mmverumlib_develop.test/wp-content/uploads/2025/10/Idea_concept-scaled.jpg") no-repeat center/cover;
  color: #fff;
  text-align: left;
  padding: 120px 20px;
  overflow: hidden;
}

/* Gradient overlay */
.sys-home::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(245,200,59,0.9) 30%, rgba(245,200,59,0.2) 90%);
  z-index: 1;
}

/* Wave effect */
.sys-home::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: #fff;
  clip-path: path("M0,80 C300,160 600,0 1000,80 C1400,160 1800,0 2000,80 L2000,100 L0,100 Z");
  z-index: 2;
}

/* Tablet */
@media(max-width: 1024px) {
  .hero::after {
    clip-path: path("M0,60 C150,120 400,0 800,60 C1200,120 1600,0 2000,60 L2000,100 L0,100 Z");
  }
}

/* Mobile */
@media(max-width: 768px) {
  .hero::after {
    clip-path: path("M0,50 C100,100 300,0 600,50 C900,100 1200,0 2000,50 L2000,100 L0,100 Z");
  }
}

.sys-home-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
  margin-left: 5%;
}

.sys-home-content p {
  color: white;
}

.sys-home h1 {
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.sys-home p {
  font-size: 18px;
  margin-bottom: 40px;
}

.sys-home-buttons {
  display: flex;
  gap: 15px;
}
.sys-btn-primary {
  background: #fff;
  color: #f5c83b;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
}
.sys-btn-primary:hover {
  background: #004896;
  color: #fff;
}

.sys-btn-outline {
  border: 2px solid #fff;
  color: #fff;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
}
.sys-btn-outline:hover {
  background: #fff;
  color: #f5c83b;
}

/* Responsive */
@media(max-width: 768px) {
  .sys-home {
    text-align: center;
    padding: 100px 15px;
  }
  .sys-home-content {
    margin: auto;
  }
  .sys-home h1 {
    font-size: 36px;
  }
}

/* About Section */
.sys-about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 20px 20px;
  gap: 40px;
}
.sys-about-image {
  flex: 1 1 45%;
  position: relative;
  text-align: center;
}
.sys-about-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 50% 35% 55% 45% / 60% 40% 60% 40%; /* organic wave cut */
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.sys-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background: #f5c83b;
  color: #fff;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  cursor: pointer;
}
.sys-about-content {
  flex: 1 1 50%;
}
.sys-about-content h4 {
  color: #777;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.sys-about-content h2 {
  font-size: 32px;
  margin-bottom: 15px;
  line-height: 1.3;
}
.sys-about-content p {
  margin-bottom: 20px;
  color: #555;
}
.sys-checklist {
  margin-bottom: 20px;
}
.sys-checklist li {
  list-style: none;
  margin-bottom: 8px;
  padding-left: 24px;
  position: relative;
}
.sys-checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #f5c83b;
  font-weight: bold;
}
.sys-about-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}
.sys-btn-explore {
  background: #f5c83b;
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}
.sys-btn-explore:hover {
  background: #1c31f0;;
  color: #fff;
}
.sys-btn-phone {
  display: flex;
  align-items: center;
  background: #f5c83b;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  gap: 10px;
  transition: 0.3s ease;
}
.sys-btn-phone:hover {
  background: #1c31f0;;
  color: #fff;
}
.sys-btn-phone i {
  font-size: 18px;
}
@media(max-width: 768px) {
  .sys-about {
    flex-direction: column;
    text-align: center;
  }
  .sys-about-image img {
    max-width: 350px;
  }
  .sys-about-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

/* Services Section */
 .services {
  position: relative;
  color: black;
  text-align: left;
  padding: 60px 20px;
  overflow: hidden;
}
.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://mmverumlib_develop.test/wp-content/uploads/2025/10/57c378aa-c39a-4921-bbb3-cc9a351deeee-scaled.jpg") no-repeat center/cover;
  filter: blur(1px); /* blur amount */
  z-index: -1; /* behind content */
}

  .services h2 {
    font-size: 43px;
    margin-bottom: 40px;
  }

  /* Work Process */
  .process {
    padding: 60px 20px;
    background: #fff;
    text-align: center;
  }
  .process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  .step {
    flex: 1 1 200px;
    max-width: 220px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
  }
  .step h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
  }

  /* Projects Section */
  .projects {
    padding: 60px 20px;
    background: white;
    color: #f5c83b;
    text-align: center;
  }
  .projects h2 {
    margin-bottom: 40px;
  }
  .project-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  .project {
    position: relative;
    background: #f5c83b;
    border: 1px solid #f5c83b;
    opacity: 0.8;
    border-radius: 10px;
    flex: 1 1 240px;
    max-width: 450px;
    transition: transform 0.3s ease;
  }
  .project:hover {
    transform: translateY(-5px);
    opacity: 1;
  }
.project div {
  margin-top: 5px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  background: white;
  font-size: 25px;
  font-weight: bold;
}
.project div div  {
  min-height: 350px; /* temporary */
}

@media (max-width: 768px) {
  .about {
    flex-direction: column;
  }
  .about img {
    margin: 0 0 20px;
  }
  .process-steps,
  .project-grid {
    flex-direction: column;
    align-items: center;
  }
}
.readmore {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.5s;
  opacity: 0.9;
  cursor: pointer;
}

.readmore:hover {
  background-color: #0056b3;
  opacity: 0.9;
}
.read-more {
  display: block;
  margin-top: 15px;
  color: #004896;
  font-weight: bold;
  text-decoration: none;
}
.project div:first-child img {
  max-width: 80%;
}
.project div:last-child {
  background: #f5c83b;
}
.project .read-more {
  background: #f5c83b;
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: #004896;
  font-weight: bold;
  text-decoration: none;
  font-size: 17px;
}









/* From Uiverse.io by cssbuttons-io */ 
.fancy {
 background-color: transparent;
 border: 2px solid #1c31f0;
 border-radius: 9px;
 box-sizing: border-box;
 color: #f5c83b;
 cursor: pointer;
 display: inline-block;
 font-weight: 700;
 letter-spacing: 0.05em;
 margin: 0;
 outline: none;
 overflow: visible;
 padding: 1.25em 3em 1.25em 1em;
 position: relative;
 text-align: center;
 text-decoration: none;
 text-transform: none;
 transition: all 0.3s ease-in-out;
 user-select: none;
 font-size: 13px;
}
.fancy .text {
 font-size: 1.125em;
 line-height: 1.33333em;
 padding-left: 2em;
 display: block;
 text-align: left;
 transition: all 0.3s ease-in-out;
 text-decoration: none;
 color: #1c31f0;
}
.fancy .top-key {
 height: 2px;
 width: 1.5625rem;
 top: -2px;
 left: 0.625rem;
 position: absolute;
 background: #f5c83b;
 transition: width 0.5s ease-out, left 0.3s ease-out;
}
.fancy .bottom-key-1 {
 height: 2px;
 width: 1.5625rem;
 right: 1.875rem;
 bottom: -2px;
 position: absolute;
 background: #f5c83b;
 transition: width 0.5s ease-out, right 0.3s ease-out;
}
.fancy .bottom-key-2 {
 height: 2px;
 width: 0.625rem;
 right: 0.625rem;
 bottom: -2px;
 position: absolute;
 background: #f5c83b;
 transition: width 0.5s ease-out, right 0.3s ease-out;
}
.fancy:hover {
 color: white;
 background: blue;
}
.fancy:hover::before {
 width: 0.9375rem;
 background: white;
}
.fancy:hover .text {
 color: white;
 padding-left: 1.5em;
}
.fancy:hover .top-key {
 left: -2px;
 width: 0px;
}
.fancy:hover .bottom-key-1,
 .fancy:hover .bottom-key-2 {
 right: 0;
 width: 0;
}
/* From Uiverse.io by cssbuttons-io */ 
.choose-up-reason-card{
  width: 100% !important;
}