/* Optimized responsive stylev2.css */
.img-logov2{
    padding-top:12px;
}
.slider-bannerv2 {
  display: block;
  width: 100%;
  height: auto;
  max-height: 750px;
  overflow: hidden;
}

.social-media-list ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.social-media-list ul li {
  flex: 1 1 25%;
  max-width: 25%;
  text-align: center;
  padding: 5px;
}

.social-media-list img {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.segment-middle, .segment-third {
  background-color: #ffffff;
  padding: 15px;
}

.about-us {
  border-radius: 5px;
  margin-bottom: 20px;
}

.about-us > .content {
  border-right: 8px solid var(--ds-green-dark);
  padding-right: 10px;
  margin-right: 0;
  text-align: justify;
}

.branches, .get-in-touch, .highlight-news {
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.get-in-touch > .content {
  border-right: 8px solid var(--ds-green-dark);
  padding-right: 15px;
  margin-right: -10px;
}

.section-title {
  font-weight: bold;
  margin-bottom: 15px;
}

.highlight-news img {
  max-width: 100%;
  height: auto;
  border-radius: none;
}

.btn-dark {
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 15px; 
}

.btn-dark:hover {
  background-color: #0F6B4A !important;
  color: #ffffff !important;
}

.btn-dark-green {
  background-color: var(--ds-green-dark);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
}

.btn-dark-green:hover {
  color: var(--ds-orange);
}

.footerv2 {
  background-color: #E9F3ED;
  color: #000;
  border-top: 10px solid #0A4D35;
  padding: 15px;
  text-align: center;
}

.footerv2 .column-left{
  text-align: left;
  margin-bottom: 15px;
}

.footerv2 .column-right {
  text-align: right;
  margin-bottom: 15px;
}

.footerv2 .column-center{
  text-align: center;
  margin-bottom: 15px;
}

.footerv2 .social-icons i {
  font-size: 20px;
  margin: 0 8px;
  color: #0F6B4A;
}

.footerv2 .social-icons i:hover,
.footerv2 a:hover {
  color: #FF9B00;
}

.footerv2 .bordered-section {
  border-left: none;
  padding-left: 0;
}

.branch-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.branch-title {
  font-weight: bold;
  margin: 10px 0;
}

.branch-links .link-btn {
  display: block;
  text-align: center;
  padding: 10px; 
  font-weight:bold;
  background-color: var(--ds-green-dark);
  color: #fff;
  text-decoration: none;
  margin-bottom: 10px;
  border-radius: 5px;
}

.branch-links .link-btn:hover {
  color: var(--ds-orange);
}

.chevrons button {
  background-color: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.branchesv2 {
  padding: 20px 10px;
}

.branchesv2tabs {
  display: flex;
  flex-wrap: wrap;
  margin: 10px;
  justify-content: center;
}

.branchesv2tabs button {
  background-color: var(--ds-green);
  color: white;
  border: none;
  padding: 8px 15px;
  margin: 5px;
  cursor: pointer;
  border-radius: 5px;
}

.branchesv2tabs button.active {
  font-weight:600;
  background-color: var(--ds-green-dark);
  color: var(--ds-orange);
} 

  .nav-toggle-btn {
    display: none !important;
  }
  .nav-menu-listv2 .close-btn {
    display: none !important;
  }


/* iPad Air and iPad Pro specific media query */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) {

.top-news {
  margin-top: 50px;
}
  .slider-banner {
    /*height: 400px;*/
    margin-bottom: -25px;
  }
  /* Navbar adjustments */
  .nav-toggle-btn {
    display: block !important;
    top: 15px;
    right: 15px;
    font-size: 26px;
  }

  .about-us > .content {
    height: 170px !important;
  }

  .nav-menu-listv2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(233, 243, 237, 0.97);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  .nav-menu-listv2.open {
    display: flex;
  }

  .nav-menu-listv2 li a {
    font-size: 22px;
  }

  /* Social media adjustments */
  .social-media-list ul li {
    flex: 1 1 25%;
    max-width: 25%;
  }

  .social-media-list img {
    max-width: 180px;
  }
}

@media (max-width: 991px) {
  .floating-box {
    display: none !important;
  }
  .nav-toggle-btn {
    display: block !important;
  }
  nav.nav-header {
    margin-top: 5px;
  }

  .nav-header {
    position: relative;
  }

  .nav-menu-listv2 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(233, 243, 237, 0.97);
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  .nav-menu-listv2.open {
    display: flex;
  }

  .nav-menu-listv2 li {
    text-align: center;
    padding: 15px 0;
  }

  .nav-menu-listv2 li a {
    color: #0F6B4A;
    font-size: 20px;
    display: block;
  }

  .nav-toggle-btn {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #0F6B4A;
    cursor: pointer;
    z-index: 10000;
  }

  .nav-menu-listv2 .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #0F6B4A;
    font-size: 28px;
    cursor: pointer;
  }

  .social-media-list ul li {
    flex: 1 1 50%;
    max-width: 50%;
  }
  .segment-middle, .segment-third, .branches, .get-in-touch, .highlight-news, .branchesv2 {
    padding: 10px;
  }

  .news-container{
    padding: 0px !important;
  }
  .about-us {
    padding: 0px !important;
  }
  .get-in-touch {
    padding: 0px !important;
  }

  .footerv2 {
    padding: 10px;
  }

  .footerv2 .social-icons i {
    font-size: 18px;
  }

  .slider-bannerv2 {
    height: auto;
  }

  .get-in-touch > .content {
    border-right: none;
    padding-right: 10px;
    margin-right: 0;
  }
  .about-us > .content {
    border-right: none;
    padding-right: 10px;
    margin-right: 0;
  }
  .social-media-list {
    margin-top:30px;
  }
  .branchesv2 {
    padding: 0px;
  }
  .branches-row {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .img-logov2{
    padding-top:0px !important;
  }
  .news-container{
    padding: 0px !important;
  }
  .about-us {
    padding: 0px !important;
  }
  .get-in-touch {
    padding: 0px !important;
  }
  .nav-toggle-btn {
    display: block !important;
  }
  nav.nav-header {
    margin-top: 5px;
  }
  .nav-header {
    position: relative;
  }

.nav-menu-listv2 {
    display: none;
    position: fixed; /* fixed ensures full viewport coverage */
    top: 0;          /* aligns to top edge */
    left: 0;         /* aligns to left edge */
    width: 100vw;    /* explicitly sets width to viewport width */
    height: 100vh;   /* explicitly sets height to viewport height */
    background: rgba(233, 243, 237, 0.97);
    flex-direction: column;
    justify-content: top;
    align-items: center;
    padding: 10px 0;
    z-index: 9999;
}

  .nav-menu-listv2.open {
    top: 50px;
    display: list-item;
  }

  .nav-menu-listv2 li {
    text-align: center;
    width: 100%;
    padding: 10px 0;
  }

  .nav-menu-listv2 li a {
    color: #0F6B4A;
    display: block;
    line-height: 1em;
  }

  .nav-toggle-btn {
    display: block !important;
    position: absolute;
    right: 15px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 24px;
    color: #0F6B4A;
    cursor: pointer;
    z-index: 10000;
  }

  .social-media-list ul li {
    flex: 1 1 50%;
    max-width: 50%;
  }
  .segment-middle, .segment-third, .branches, .get-in-touch, .highlight-news, .branchesv2 {
    padding: 10px;
  }

  .footerv2 {
    padding: 10px;
  }

  .footerv2 .social-icons i {
    font-size: 18px;
  }

  .slider-bannerv2 {
    height: auto;
  }

  .footerv2 .column-left,
  .footerv2 .column-right,
  .footerv2 .column-center {
    text-align: center;
  }

  .get-in-touch > .content {
    border-right: none;
    padding-right: 10px;
    margin-right: 0;
  }
  .about-us > .content {
    border-right: none;
    padding-right: 10px;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
    section.page-section {
      padding-top: 0px !important;
    }  
    .news-item > .col-xs-4 {
      padding: 0px !important;
    }
    .news-item > .col-xs-8 > h3 {
      margin-top: 0px;
    }
  .main-news {
    margin-bottom: 30px;
  }
  .branchesv2tabs button {
    padding: 6px 10px;
    font-size: 12px;
  }

  .btn-dark, .branch-links .link-btn {
    padding: 8px;
    font-size: 12px;
  }
.social-media-list ul li {
        flex: 1 1 25%;
        max-width: 25%;
    }
  .social-media-list img {
    max-width: 100px;
  }
}

* {
  box-sizing: border-box;
}

.exchange-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 725px;
  overflow: hidden;
  background-image: url("/images/peniti-exchange-background.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #ffffff;
}

.exchange-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
        90deg,
        rgba(15, 107, 74, 0.82) 0%,
        rgba(15, 107, 74, 0.68) 45%,
        rgba(15, 107, 74, 0.78) 100%
    );
}

.exchange-hero__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 60px 24px;
}

.exchange-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  align-items: center;
  gap: 90px;
}

.exchange-hero__intro {
  max-width: 380px;
}

.exchange-hero__title {
  margin: 0 0 24px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -1.5px;
}

.exchange-hero__description {
  max-width: 380px;
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  color: rgb(255 255 255 / 90%);
}

.exchange-hero a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.exchange-hero a:hover {
  opacity: 0.72;
}

.exchange-rates {
  width: 100%;
  max-width: 430px;
  margin-left: auto;
}

.exchange-rates__table {
  overflow: hidden;
  border-radius: 4px;
  background: rgb(233 243 237 / 92%);
  color: #0F6B4A;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.exchange-rates__table > h2:first-child {
  border-bottom: 1px solid rgb(15 107 74 / 40%);
  padding: 0px 0px 15px 0px;
}

.exchange-rates__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: 62px;
  border-bottom: 1px solid rgb(15 107 74 / 40%);
  color: #0F6B4A;
}

.exchange-rates__row:last-child {
  border-bottom: 0;
}

.exchange-rates__row > div {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 18px;
    font-weight: 700;
}

/* First column (Currency) */
.exchange-rates__row > div:first-child {
    justify-content: flex-start;
    text-align: left;
}

/* Buy & Sell columns */
.exchange-rates__row > div:not(:first-child) {
    justify-content: flex-end;
    text-align: right;
}

.exchange-rates__header {
  min-height: 50px;
}

.exchange-rates__header > div {
  font-size: 17px;
}

.exchange-rates__currency {
  gap: 14px;
}

.currency-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.exchange-rates__updated {
  margin: 14px 0 0;
  text-align: center;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 13px;
  line-height: 1.5;
  color: #0F6B4A;
}

.exchange-rates__footer {
  margin: 0;
  text-align: justify;
  padding:5px 15px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 10px;
  line-height: 1.5;
}

/* Tablet */
@media (max-width: 992px) {
  .exchange-hero {
    min-height: auto;
  }

  .exchange-hero__container {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .exchange-hero__content {
    grid-template-columns: 1fr 390px;
    gap: 40px;
  }

  .exchange-hero__title {
    font-size: 44px;
  }

  .exchange-hero__description {
    font-size: 17px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .exchange-hero {
    background-position: 58% center;
  }

    .exchange-hero__overlay {
        background: linear-gradient(
            90deg,
            rgb(15 107 74 / 78%) 0%,
            rgb(15 107 74 / 60%) 50%,
            rgb(15 107 74 / 72%) 100%
        );
    }

  .exchange-hero__container {
    padding: 56px 20px;
  }

  .exchange-hero__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .exchange-hero__intro {
    max-width: 100%;
  }

  .exchange-hero__title {
    margin-bottom: 20px;
    font-size: 38px;
    line-height: 1.05;
  }

  .exchange-hero__title br {
    display: none;
  }

  .exchange-hero__description {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.7;
  }

  .exchange-rates {
    max-width: 100%;
    margin: 0;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .exchange-hero__container {
    padding: 44px 16px;
  }

  .exchange-hero__title {
    font-size: 32px;
  }

  .exchange-rates__row {
    grid-template-columns: 1fr 1fr 1fr;
    min-height: 56px;
  }

  .exchange-rates__row > div {
    padding: 10px;
    font-size: 15px;
  }

  .exchange-rates__header > div {
    font-size: 15px;
  }

  .exchange-rates__currency {
    gap: 8px;
  }

  .currency-flag {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    font-size: 25px;
  }

  .exchange-rates__footer {
    font-size: 8px;
  }
  
  .exchange-rates__table > h2:first-child {
    font-size: 24px;
    font-weight: bolder;
  }
}

/* =========================================================
   Rates Page — aligned with existing Dua Sisi website
   ========================================================= */

.rates-banner {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.rates-banner__overlay {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 48%);
}

.rates-banner__container,
.rates-page__container {
    width: 90%;
    max-width: 1170px;
    margin: 0 auto;
}

.rates-banner__container {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 360px;
    align-items: center;
}

.rates-banner__content {
    max-width: 680px;
    padding: 70px 0;
    color: #ffffff;
}

.rates-banner__title {
    margin: 0 0 18px;
    color: #ffffff;
      font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
}

.rates-banner__description {
    max-width: 590px;
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}

/* =========================================================
   Content section
   ========================================================= */

.rates-page {
    padding: 70px 0 90px;
}

.rates-page__heading {
    margin-bottom: 34px;
    text-align: center;
}

.rates-page__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #0F6B4A;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.rates-page__title {
    position: relative;
    margin: 0;
    padding-bottom: 18px;
    color: #333333;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.3;
}

.rates-page__title::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 45px;
    height: 2px;
    background: #0F6B4A;
    content: "";
    transform: translateX(-50%);
}

.rates-page__updated {
    margin: 15px 0 0;
    color: #888888;
    font-size: 13px;
    line-height: 1.6;
}

/* =========================================================
   Table
   ========================================================= */

.rates-table {
    overflow: hidden;
    border: 1px solid #e4e4e4;
    background: #ffffff;
}

.rates-table__header,
.rates-table__row {
    display: grid;
    grid-template-columns:
        minmax(220px, 1.5fr)
        minmax(130px, 1fr)
        minmax(130px, 1fr);
    align-items: center;
}

.rates-table__header {
    min-height: 54px;
    padding: 0 24px;
    background: #0F6B4A;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.rates-table__header > div:not(:first-child) {
    text-align: right;
}

.rates-table__row {
    min-height: 68px;
    padding: 0 24px;
    border-bottom: 1px solid #eeeeee;
    transition: background-color 0.2s ease;
}

.rates-table__row:last-child {
    border-bottom: 0;
}

.rates-table__row:nth-child(even) {
    background: #E9F3ED;
}

.rates-table__row:hover {
    background: #fff5f5;
}

/* =========================================================
   Currency
   ========================================================= */

.rates-table__currency {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

.currency-flag {
    display: inline-flex;
    flex: 0 0 30px;
    width: 30px;
    height: 24px;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
}

.rates-table__currency-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.rates-table__currency-info strong {
    color: #333333;
    font-size: 14px;
    font-weight: 600;
}

.rates-table__currency-info span {
    margin-top: 2px;
    color: #999999;
    font-size: 12px;
}

.rates-table__value {
    color: #333333;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    text-align: right;
}

/* =========================================================
   Information
   ========================================================= */

.rates-page__information {
    margin-top: 24px;
    padding: 18px 22px;
    border-left: 3px solid #0F6B4A;
    background: #E9F3ED;
    color: #666666;
    font-size: 13px;
    text-align: justify;
    line-height: 1.7;
}

.rates-page__information p {
    margin: 0;
}

/* =========================================================
   Actions
   ========================================================= */

.rates-page__actions {
    margin-top: 34px;
    text-align: center;
}

.rates-page__button {
    display: inline-block;
    padding: 13px 27px;
    border: 1px solid #0F6B4A;
    background: #0F6B4A;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.rates-page__button:hover {
    background: #ffffff;
    color: #0F6B4A;
    text-decoration: none;
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 900px) {
    .rates-banner {
        min-height: 320px;
    }

    .rates-banner__container {
        min-height: 320px;
    }

    .rates-banner__title {
        font-size: 40px;
    }

    .rates-page {
        padding: 55px 0 70px;
    }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 640px) {
    .rates-banner {
        min-height: 280px;
    }

    .rates-banner__container,
    .rates-page__container {
        width: calc(100% - 30px);
    }

    .rates-banner__container {
        min-height: 280px;
    }

    .rates-banner__content {
        padding: 50px 0;
    }

    .rates-banner__title {
        margin-bottom: 14px;
        font-size: 32px;
    }

    .rates-banner__description {
        font-size: 14px;
        line-height: 1.6;
    }

    .rates-page {
        padding: 45px 0 60px;
    }

    .rates-page__title {
        font-size: 27px;
    }

    .rates-table {
        overflow-x: auto;
    }

    .rates-table__header,
    .rates-table__row {
        min-width: 520px;
        grid-template-columns: 200px 140px 140px;
    }

    .rates-table__header {
        padding: 0 16px;
        font-size: 11px;
    }

    .rates-table__row {
        min-height: 62px;
        padding: 0 16px;
    }

    .rates-table__value {
        font-size: 13px;
    }

    .currency-flag {
        flex-basis: 26px;
        width: 26px;
        font-size: 19px;
    }

    .rates-page__button {
        width: 100%;
        box-sizing: border-box;
    }
}

/* ---- Duasisi palette + typography ---------------------------------------
   Hijau #0F6B4A (latar header/footer/body, identitas)  Hijau tua #0A4D35 (garis)
   Oranye #FF9B00 (aksen terbatas: garis, penanda, highlight)
   Putih #FFFFFF   Hitam #000000 (latar gelap tetap, teks isi)
   ponytail: appended here because stylev2.css loads last; fold into the rules
   above if this file ever gets reorganised. */
:root {
  --ds-green: #0F6B4A;
  --ds-green-dark: #0A4D35;
  --ds-green-light: #E9F3ED;
  --ds-orange: #FF9B00;
  --ds-white: #FFFFFF;
}

#about, #contact { background: var(--ds-white); }

body, button, input, select, textarea,
h1, h2, h3, h4, h5, h6 { font-family: Helvetica, Arial, sans-serif; }

/* judul & sub judul bold, teks isi regular */
h1, h2, h3, h4, h5, h6,
.title, .sub-title, .footer-title, .section-title { font-weight: 700; }
p, li, td, span, label, .content, .description { font-weight: 400; }

html, body { background: var(--ds-white); color: var(--ds-green-dark);}

header.black-header { background: var(--ds-green-light); border-bottom: 10px solid var(--ds-green-dark); }
header.black-header .nav-menu-listv2 li a { color: var(--ds-green-dark); }
header.black-header .nav-menu-listv2 li.dropdown .dropdown-content li,
header.black-header .nav-menu-listv2 li.dropdown .dropdown-content li a { color: var(--ds-green); }
header.black-header .nav-menu-listv2 li a.active,
header.black-header .nav-menu-listv2 li a:hover { color: var(--ds-orange); }

.footerv2 { background-color: var(--ds-green-light); color: var(--ds-green-dark); border-top: 10px solid var(--ds-green-dark); }
.footerv2 a, .footerv2 .social-icons i { color: var(--ds-green-dark); }
.footerv2 a:hover, .footerv2 .social-icons i:hover { color: var(--ds-orange); }
