/*new CSS*/



/*Header Top Start*/
.red-top {
  height: 11px;
  background-color: var(--scse-red);
}

.blue-header-container {
  background-color: var(--scse-blue);
  display: flex;
  justify-content: flex-end;
  padding: 5px 36px;
  flex-wrap: wrap;
  column-gap: 26px;
  row-gap: 26px;
  align-items: center;
}

input.search-field-blue-container {
  border-bottom: 1px solid white !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}
input.search-field-blue-container::placeholder,
input.search-field-blue-container {
  color: white !important;
}

button.search-submit-blue-container {
  padding: 0;
  background-color: transparent;
}

form.search-form {
  display: flex;
  align-items: center;
}

/*Header Top End*/

/*Primary Header Start*/

.primary-header {
  padding: 0 36px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  width: 100%;
  box-sizing: border-box;
}

.header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 0 0 auto;
  /* margin-left: calc(194px - (194 - 54) * ((100vw - 1200px) / (320px - 1200px))); */
}

.header-right {
  display: flex;
  /* grid-template-columns: auto auto; */
  justify-content: space-between;
  align-items: end;
  gap: 4px;
  /* flex: 0 0 auto; */
  width: 100%;
  padding: 12px 20px;
  flex-wrap: wrap;
  border-left: 1px solid var(--scse-blue);
}

.logo img {
  width: 200px;
  height: auto;
}

.supervisor-info {
  text-align: left;
  padding-right: 50px;
  padding-top: 0;
}

.supervisor-info h3 {
  color: var(--scse-red);
  font-family: "Times New Roman";
  font-style: italic;
  font-weight: 700;
}

.supervisor-info p {
  color: var(--scse-blue);
  font-size: 14.355px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.nav-menu-items #menu-mobile-menu {
  display: flex;
  margin: 0;
  column-gap: 38px;
  flex-wrap: wrap;
  list-style: none;
  font-size: 0.9rem;
  color: #313131;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.nav-menu-items li {
  transition: 0.5ms all ease-in-out;
  position: relative;
}
.nav-menu-items li:hover {
  transition: 0.5ms all ease-in-out;
  color: var(--scse-red);
}

/* Desktop Dropdown Menu Styles */

/* Active/Current menu item styling for DESKTOP */
.nav-menu-items a.current-menu-item,
.nav-menu-items a.current_page_item,
.nav-menu-items a.current-page-ancestor,
.nav-menu-items a.current-menu-ancestor,
.nav-menu-items a.current-menu-parent,
.nav-menu-items li.current-menu-item > a,
.nav-menu-items li.current_page_item > a,
.nav-menu-items li.current-page-ancestor > a,
.nav-menu-items li.current-menu-ancestor > a,
.nav-menu-items li.current-menu-parent > a {
  color: #de6079 !important;
}

/* Also highlight parent items when on a submenu page */
.nav-menu-items .sub-menu a.current-menu-item,
.nav-menu-items .sub-menu a.current_page_item {
  background: var(--scse-red);
  color: white !important;
}

.nav-menu-items li {
  position: relative;
}

.nav-menu-items li > a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  color: #313131;
}

.nav-menu-items li:hover > a {
  color: var(--scse-red);
}

/* Dropdown submenu styles */
.nav-menu-items .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  /* top: 160%; */
  left: 0;
  background: var(--scse-blue);
  background-image: url(https://devscse.evokad.com/wp-content/uploads/2025/08/Mask-group.svg);
  min-width: 220px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 0;
  margin: 0;
  list-style: none;
  border-bottom: 29px solid var(--scse-red);
}



.nav-menu-items li:hover > .sub-menu {
  display: block;
}

.nav-menu-items .sub-menu li {
  width: 100%;
  border-bottom: 1px solid #f0f0f0;
}

.nav-menu-items .sub-menu li:last-child {
  border-bottom: none;
}

.nav-menu-items .sub-menu a {
  padding: 12px 20px;
  display: block;
  color: white;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-menu-items .sub-menu a:hover {
  background: var(--scse-blue);
  color: white;
  padding-left: 25px;
}

/* Nested dropdown (third level) */
.nav-menu-items .sub-menu .sub-menu {
  left: 100%;
  top: 0;
  border-top: none;
  border-left: 3px solid var(--scse-red);
}

/* Add dropdown indicator arrow for parent items */
.nav-menu-items .menu-item-has-children > a::after {
  content: ' ▼';
  font-size: 0.7em;
  margin-left: 5px;
}

.nav-menu-items .sub-menu .menu-item-has-children > a::after {
  content: ' ▶';
  float: right;
  margin-left: 10px;
}

/*Primary Header End*/



/*Mobile Menu Start*/
.primary-mobile-header {
  display: none;
}

/* Hide mobile overlay on desktop */
@media screen and (min-width: 1101px) {
  .mobile-nav-overlay {
    display: none !important;
  }
}

@media screen and (max-width: 1100px) {
  .primary-mobile-header {
    display: flex;
    flex-direction: column;
    padding: 10px 54px;
    position: relative;
  }
  .logo-header-controls-mobile {
    display: flex;
    justify-content: space-between;
  }


/*Supervisor Info Mobile Start*/
h1.hero-banner__heading {
    margin-top: 14px;
}

  .supervisor-info-mobile{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: -60px;
    
  }

    .supervisor-text{
    border: 1px solid var(--scse-blue);
    background-color: white;
    border-radius: 3px;
    padding: 4px 10px;
    /* width: 100%; */
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-self: center;
    padding-right: 50px;
  }

  .supervisor-header-mobile{
    font-size: 23px !important;
    color: var(--scse-red);
    font-weight: 700;
    font-style: italic;
    line-height: normal;
  }

  .supervisor-p-mobile{
    font-size: 12px !important;
    color: var(--scse-blue);
    margin: 0;  
  }

  .supervisor-img {
    width: 75px;
}

  .supervisor-img img{
    margin-left: -30px;
  }
/*Supervisor Info Mobile End*/




  .primary-header,
  .header-top-section {
    display: none;
  }
}

@media screen and (max-width: 500px) {
  .primary-mobile-header {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 24px;
  }

  .header-controls{
     display: flex;
    flex-wrap: wrap;
    flex-direction: column;

  }
}

/*Mobile Menu End*/

/* Active/Current menu item styling */
.mobile-nav-menu a.current-menu-item,
.mobile-nav-menu a.current_page_item,
.mobile-nav-menu a.current-page-ancestor,
.mobile-nav-menu a.current-menu-ancestor,
.mobile-nav-menu a.current-menu-parent,
.mobile-nav-menu li.current-menu-item > a,
.mobile-nav-menu li.current_page_item > a,
.mobile-nav-menu li.current-page-ancestor > a,
.mobile-nav-menu li.current-menu-ancestor > a,
.mobile-nav-menu li.current-menu-parent > a {
  background: var(--scse-red) !important;
  color: white !important;
  position: relative;
}

div#mobileNavOverlay .button-register {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 307px !important;
}

div#mobileNavOverlay .button-register a.btn.btn--primary {
  background: var(--scse-red);
  color: var(--body-white);
  text-decoration: none;
  text-align: center !important;
  font-family: "PT Serif";
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding: 6px 22px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  max-width: 307px;
  text-align: center;
  width: 100%;
  justify-content: center;
  margin-top: 40px;
}

.nav-blue {
  background: #6B92C8;
  height: 8px;
  display: flex;
}

.nav-red {
  background: #E06076;
  height: 8px;
  display: flex;
}

.nav-container {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-left: 190px;
  box-sizing: border-box;
}

.header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 0 0 auto;
  margin-left: calc(194px - (194 - 54) * ((100vw - 1200px) / (320px - 1200px)));
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.desktop-menu-btn {
  background: none;
  color: var(--scse-red);
  padding: 8px 15px 8px 0;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

button.desktop-menu-btn:hover {
  background: transparent !important;
  color: var(--scse-red);
}

.desktop-menu-btn .menu-icon {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.desktop-menu-btn .menu-icon span {
  width: 34px;
  height: 5px;
  background: var(--scse-red);
}

.header-search {
  position: relative;
}

/*Tests*/
.header-search {
  position: relative;
}

.header-search .search-form {
  display: flex;
  align-items: center;
  position: relative;
}

.header-search .search-field-desktop {
  display: none;
}

/* Search icon button stays in place */
.header-search .search-submit {
  background: transparent;
  border: none;
  color: var(--scse-red);
  cursor: pointer;
  width: 50px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: all 0.2s ease;
}

.header-search .search-submit:hover {
  transform: scale(1.1);
}

/* Search overlay that appears in center */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: flex-start;
  z-index: 9999;
  padding-top: 100px;
}

.search-overlay.active {
  display: flex;
}

.search-overlay .search-container {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 500px;
  position: relative;
  justify-content: center;
  display: flex;
}

.search-overlay .search-form {
  display: flex;
  align-items: center;
  width: 100%;
}

.search-overlay .search-field-desktop {
  width: 100%;
  padding: 15px;
  border: 2px solid #333;
  border-radius: 4px;
  font-size: 16px;
  background: #f5f5f5;
  margin-right: 10px;
}

.search-overlay .search-field-desktop:focus {
  outline: none;
  border-color: #1976d2;
}

.search-overlay .search-submit {
  background: var(--scse-red);
  color: white;
  border: none;
  padding: 15px 20px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.search-overlay .search-submit:hover {
  background: #b71c1c;
  transform: none;
}

.search-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  line-height: 1;
}

/*Search Section*/


input[type="search"].search-field{
  border-bottom: 1px solid #333;
  border-top: none;
  border-left: none;
  border-right: none;
}


input[type="search"].search-field-desktop {
  padding: 8px 15px;
  border: none;
  border-bottom: 2px solid #333;
  background: transparent;
  width: 100% !important;
  font-size: 14px;
  border-radius: 2px;
  background: white !important;
}

.header-search .search-form {
  display: flex;
  align-items: center;
  position: relative;
  flex-direction: row-reverse;
}

.header-search input[type="search"] {
  padding: 8px 15px;
  border: none;
  border-bottom: 2px solid #333;
  background: transparent;
  width: 200px;
  font-size: 14px;
}

.header-search input[type="search"]:focus {
  outline: none;
  border-bottom-color: #1976d2;
}

.header-search .search-submit {
  border: none;
  color: var(--scse-red);
  cursor: pointer;
  width: 50px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.header-search .search-submit:hover {
  background: #b71c1c;
}

.header-search .search-submit svg {
  width: 24px;
  height: 24px;
}

.logo-section {
  flex: 1;
  text-align: center;
  margin: 0 40px;
}

.logo-section img {
  max-height: 100px;
  width: auto;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  max-width: 588px;
  width: 100%;
  height: 100vh;
  /* 	height:  100vh; */
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out,
    visibility 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
}

.mobile-nav-overlay.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  background: var(--scse-blue);
  overflow: visible;
  /* 	height:  calc(100vh - 150px); */
  height: 100vh;
  /* 	overflow:scroll; */
}

.mobile-nav-header {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.43) 24.01%,
    rgba(0, 0, 0, 0) 89.11%
  );
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 126px;
  box-sizing: border-box;
}

.mobile-nav-logo img {
  height: 100%;
  max-height: 82px;
}

.mobile-close-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  font-size: 60px !important;
}

button.mobile-close-btn:hover {
  background: transparent !important;
  color: white !important;
}

.mobile-nav-content {
  background: var(--body-white);
  padding: 30px 20px;
  height: 200px;
}

.mobile-search-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
  padding-bottom: 30px;
  gap: 20px;
}

.mobile-nav-menu {
  background: var(--scse-blue);
  margin: 0 -20px;
  height: auto;
  height: calc(
    100vh - 326px
  ); /* Adjust based on your header + content height */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  overflow-y: auto; /* Enable vertical scrolling */
}

button.search-submit {
  background: transparent !important;
  padding-left: 0;
}

.mobile-search-section .search-form {
  position: relative;
  margin: 0;
  flex: 1;
}

.mobile-search-section input[type="search"] {
  width: 50%;
  padding: 0 !important;
  padding-left: 5px !important;
  border-bottom: 1px solid black !important;
  font-size: 16px;
}

::placeholder {
  color: #1e1e1e;
  font-family: "Open Sans";
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.mobile-language-section {
  border: 2px solid #d32f2f;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: 500;
  color: #333;
  background: white;
  min-width: 150px;
  text-align: center;
}

.mobile-nav-menu::-webkit-scrollbar {
  width: 6px;
}

.mobile-nav-menu::-webkit-scrollbar-track {
  background: transparent;
}

.mobile-nav-menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.mobile-nav-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.mobile-nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-menu li {
  border-bottom: 1px solid white;
}

.mobile-nav-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  text-decoration: none;
  padding: 20px 25px;
  font-size: 1rem;
  font-weight: 700;
  min-height: 60px; /* Better touch targets */
  transition: background-color 0.2s ease;
}

.mobile-nav-menu a:hover {
  color: white;
  background-color: #172F59;
}

.mobile-nav-menu a:active {
  background: var(--scse-red) !important;
  color: white;
}

/* ONLY ADD SUBMENU SUPPORT - DO NOT CHANGE EXISTING STYLING */
.mobile-nav-menu .sub-menu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  background: #EBE6E6;
}

.mobile-nav-menu .sub-menu li {
  background: #EBE6E6;
}

.mobile-nav-menu .sub-menu a {
  color: #333;
  background: #EBE6E6;
}

.mobile-nav-menu .sub-menu a:hover {
  background: #d5d0d0;
  color: #333;
}

.mobile-nav-menu .sub-menu.show {
  display: block;
}

/* Add arrow indicator for items with children */
.mobile-nav-menu .menu-item-has-children > a::after {
  content: ' ▼';
  font-size: 0.8em;
  margin-left: auto;
  transition: transform 0.3s ease;
}

.mobile-nav-menu .menu-item-has-children.open > a::after {
  transform: rotate(180deg);
}

/* Google Translate Customization */
.goog-te-combo {
  background: white !important;
  border: 1px solid var(--scse-red) !important;
  padding: 5px !important;
  font-size: 12px !important;
}

select.goog-te-combo {
  color: #313131;
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.goog-te-banner-frame {
  display: none !important;
}
/*END MOBILE*/

/*         body {
            top: 0 !important;
        } */

/* Hide Google Translate branding */
.goog-te-gadget-simple {
  background: none !important;
  border: none !important;
  font-size: 12px !important;
}

.goog-te-gadget-simple .goog-te-menu-value {
  color: #313131;
  font-family: "Open Sans";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/*Media Queries*/

@media (max-width: 1024px) {
  .supervisor-info h3 {
    font-size: 1rem;
  }

  .supervisor-info p {
    font-size: 0.875rem;
  }

  .mobile-nav-menu {
    height: calc(100vh - 340px);
  }
}

.logo-section {
  flex: 1;
  text-align: center;
  margin: 0;
}