/*----------------------------------------------*/
/* HEADER STYLES - Extracted from main CSS */
/*----------------------------------------------*/

/* 7.2 Header
------------------------------------------------------------- */
header#header {
  display: flex;
  justify-content: center;
  margin-bottom: -130px;
}

header#header .header-wrap {
  z-index: 99;
}

@media only screen and (min-width: 768px) {
  header#header {
    justify-content: flex-start !important; /* Change from center to start */
  }
  
  .header-wrap .row {
    justify-content: flex-start !important; /* Change from end to start */
  }
  
  .primary-nav {
    order: 1; /* Ensure primary nav comes first */
  }
  
  .right-block {
    /* order: 2; */ /* Right block comes second but still on left side */
    margin-left: 2rem; /* Add some spacing between nav sections */
  }
  
  /* Hide mobile hamburger on larger screens */
  .main-menu .hamburger {
    display: none !important;
  }
}


@media only screen and (max-width: 767px) {
  .main-menu .hamburger {
    display: block;
    position: absolute;
    top: 10px;
    left: 20px; /* Always on left for mobile */
    z-index: 999999;
    padding: 10px;
    cursor: pointer;
    direction: ltr;
    background-color: #e293a278;
  }
  
  .primary-nav.col-sm-2 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}


/* 7.2 Header Version 2
------------------------------------------------------------- */
.header-style2 header#header {
  margin-bottom: 0;
}

/* - Search Form
------------------------------------------------------------- */
.user-items i.icon.icon-search {
  cursor: pointer;
}

.navbar .search-item input {
  font-weight: 500;
  border: none;
  padding-left: 10px;
}

.right-block .user-items form.search-form {
  width: 120px;
  align-items: center;
}

/* - Main Logo
--------------------------------------------------------------*/
.header-wrap .main-logo {
  margin: 0 auto;
}

/* - Navigation
--------------------------------------------------------------*/
.header-wrap .mobile-device {
  display: none;
}

nav.primary-nav {
  padding: 20px 0;
}

.navbar li .sub-page {
  font-size: 15px;
}

.navbar li {
  font-size: 1em;
  font-family: var(--heading-font);
  font-weight: 700;
  padding-right: 32px;
  white-space: nowrap;
}

.primary-nav li.menu-item a:hover,
.primary-nav li.menu-item a:focus {
  color: var(--dark-color);
  text-decoration: underline;
}

.primary-nav li.menu-itemhome1 a:hover,
.primary-nav li.menu-itemhome1 a:focus {
  color: var(--light-color);
  text-decoration: underline;
}

a.text-black.text-uppercase.dropdown-item:hover {
  text-decoration: none;
}

.navbar .hamburger {
  display: none;
}

.navbar .hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: var(--light-color);
}

.navbar .hamburger.active .bar {
  background-color: var(--dark-color);
}

@media only screen and (max-width: 1200px) {
  .main-menu .hamburger {
    top: 20px;
    left: 60px;
  }
}

@media only screen and (max-width: 9999px) {

  .dropdown-menu.show {
    display: contents;
  }

  .navbar li .sub-page {
    text-align: center;
  }

  .main-menu ul.menu-list {
    position: fixed;
    top: -500px;
    left: 0;
    width: 100%;
    flex-direction: column;
    text-align: center;
    transition: 0.8s;
    z-index: 9;
  }

  .main-menu ul.menu-list .nav-link {
    display: none;
  }

  .main-menu ul.menu-list.responsive .nav-link {
    display: block;
  }

  .main-menu ul.menu-list.responsive {
    top: 0;
    padding-top: 100px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
  }

  .main-menu ul.menu-list.responsive a {
    font-size: 2em;
    color: var(--light-color);
    border-bottom: none;
    padding: 0;
  }

  .main-menu ul.menu-list.responsive a:hover {
    color: var(--primary-color);
  }

  .main-menu ul.menu-list.responsive a.text-black.text-uppercase.dropdown-item {
    font-size: 1rem;
  }

  .main-menu .hamburger {
    display: block;
    position: absolute;
    top: -15px;
    left: 20px;
    z-index: 999999;
    padding: 10px;
    cursor: pointer;
    direction: ltr;
    background-color: #e293a278;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (min-width: 950px) {
  .main-menu .hamburger {
    left: -4000px;
  }
}

@media (min-width: 830px) and (max-width: 951px) {
  .main-menu .hamburger {
    display: none !important; /* Hide hamburger, use regular menu */
  }
}

@media (min-width: 768px) and (max-width: 831px) {
  .main-menu .hamburger {
   display: none !important;
  }
}

@media only screen and (max-width: 768px) {
  .header-wrap .right-block {
    display: none !important;
  }
}

@media only screen and (max-width: 1200px) {
  .header-wrap .row {
    display: flex;
    justify-content: end;
  }

  .header-wrap .brand-block {
    direction: rtl;
  }

  .header-wrap .mobile-device {
    font-size: 1.3em;
    margin-right: 20px;
    display: flex;
  }

  .header-wrap .mobile-device a.cart {
    direction: ltr;
  }
}

@media only screen and (max-width: 767px) {
  .header-wrap .brand-block {
    width: 400px;
  }
}

/* - Hamburger style2
--------------------------------------------------------------*/
@media only screen and (max-width: 1599px) {
  .navbar .hamburger.style2 .bar {
    background-color: var(--dark-color);
  }

  .main-menu ul.menu-list.responsive {
    background-color: var(--light-color);
  }

  .main-menu ul.menu-list.responsive a {
    color: var(--dark-color);
  }
}

/* ------------------------------------------------------------------ */

.all_border_title {
    position: relative;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-size: 48px;
    color: #17585D;
}

.all_sub_title {
    margin: 3px 0 0;
    font-weight: 100;
    font-size: 18px;
    color: #17585D;
}

.all_modal_border_left {
    margin: 32px 0 0;
}

.all_modal_border_left ._sec {
    padding: 10px 0 0 28px;
    position: relative;
}

.all_title_border {
    position: relative;
    letter-spacing: 1px;
    font-weight: 700;
    font-size: 18px;
    color: #17585D;
}

.all_title_border_left {
    padding-left: 28px;
    position: relative;
    letter-spacing: 1px;
    font-weight: 700;
    font-size: 18px;
    color: #17585D;
}

.all_border_sec {
    margin-top: 30px;
    padding-top: 15px;
    position: relative;
    border-top: 2px rgba(0, 0, 0, 0.03) solid;
}

.all_title {
    line-height: 1.7;
    letter-spacing: 1.5px;
    font-weight: 700;
    font-size: 32px;
    color: #17585D;
}

.all_title+.all_text {
    margin: 38px 0 0;
}

.all_text {
    line-height: 2;
    letter-spacing: 0.5px;
    font-size: 16px;
    font-weight: 500;
}

.all_text2 {
    line-height: 2;
    letter-spacing: 0.5px;
    font-size: 13px;
    font-weight: 500;
}

.headermenubarbg {
    background-color: hsla(309, 100%, 75%, 0.60);
    border-radius: 10px;
    padding-left: 20px;

}

.subheaderbg {
    height: 150px;
    background-image: url('images/pr9-bar.jpg');
    background-position: center;

}

.linkbutton {
    padding: 12px 12px 12px 12px;
    background: linear-gradient(135deg, #17735F, #1E967C);
    border-radius: 22px;
    line-height: 1.2;
    font-weight: 700;
    font-size: 14px;

}

.linkbutton a {
    color: #fff;
}


/* SNS */

.sns-links-container {
    margin-top: 10px;
}

.sns-icons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.sns-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
    position: relative;
}

.sns-icon i {
    font-size: 18px;
}

.sns-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* Platform-specific colors */
.sns-icon.facebook:hover {
    background-color: #1877f2;
    color: white;
    border-color: #1877f2;
}

.sns-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: #e6683c;
}

.sns-icon.threads:hover {
    background-color: #000;
    color: white;
    border-color: #000;
}

.sns-icon.twitter:hover,
.sns-icon.twitter-jp:hover {
    background-color: #000;
    color: white;
    border-color: #000;
}

/* Custom tooltip styling (optional enhancement) */
.sns-icon::before {
    content: attr(title);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.sns-icon::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.sns-icon:hover::before,
.sns-icon:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Responsive design */
@media (max-width: 768px) {
    .sns-icon {
        width: 36px;
        height: 36px;
    }

    .sns-icon i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .sns-icons-grid {
        gap: 10px;
    }

    .sns-icon {
        width: 34px;
        height: 34px;
    }

    .sns-icon i {
        font-size: 15px;
    }
}




/* - Billboard Style1
--------------------------------------------------------------*/
/* Fix #3: Background image centering and responsiveness */
#billboard {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#billboard .image-holder {
  width: 100%;
  text-align: center; /* Center the image container */
}


/* For screens larger than 1920px, center the image */
@media only screen and (min-width: 1921px) {
  #billboard .image-holder {
    display: flex;
    justify-content: center;
  }
  
  #billboard img.banner-image {
    width: 1920px; /* Set fixed width to original image size */
    height: auto;
    min-width: unset;
  }
}

@media only screen and (max-width: 767px) {
  #billboard .image-holder {
    transform: translateX(-300px);
    width: calc(100% + 300px); /* Make container wider to show full image */
  }

.subheaderbg {
    background-position: -1000px 290px;
  }

}

/* Billboard Banner Content Styles */
#billboard .banner-content {
  position: absolute;
  top: 380px; /* Default for screens > 1560px */
  right: 0;
  bottom: 0;
  left: 0;
  margin: 300px auto;
}

#billboard .banner-content h1 {
  font-size: 5.3em;
  line-height: 1.2;
}

/* Illustration Credit Styling */
.illustration-credit {
  position: absolute;
  right: 30px;
  bottom: 20px;
  padding: 5px;
  background-color: rgba(243, 243, 243, 0.60);
  border-radius: 4px;
  font-size: 12px;
}

.illustration-credit a {
  color: #333;
  text-decoration: none;
}

.illustration-credit a:hover {
  text-decoration: underline;
}

/* Media Queries */
@media only screen and (max-width: 1560px) {
  #billboard .banner-content {
    top: 180px;
    right: 500px;
  }
}

@media only screen and (max-width: 1300px) {
  #billboard .banner-content {
    right: 0; /* Reset right positioning for smaller screens */
  }
}

@media only screen and (max-width: 767px) {
  #billboard .banner-content {
    position: absolute;
    top: 500px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    margin: 0;
    text-align: center;
    width: 90%;
    z-index: 2;
  }
  
  #billboard .banner-content img {
    max-width: 100%;
    height: auto;
  }
  
  .illustration-credit {
    right: 10px;
    bottom: 10px;
    font-size: 10px;
    padding: 3px;
  }
}

/* For screens wider than 1920px, limit the illustration credit positioning */
@media only screen and (min-width: 1921px) {
  .illustration-credit {
    right: calc(50% - 930px); /* Center to 1920px width, then 30px from right edge */
  }
}

/* Responsive iconbar image */
.prlogobar {
    max-width: 500px;
    height: auto;
}

@media (max-width: 575.98px) {
    .prlogobar {
        width: 100%;
        max-width: none;
    }
}