/*
Theme Name: Cryptocurrency Exchange Child
Template: cryptocurrency-exchange
Description: Yapi White + Gradient Branding Override
Version: 1.1
*/

:root {
  --yapi-teal:        #0099B8;
  --yapi-teal-dark:   #007A95;
  --yapi-mid:         #3DB87A;
  --yapi-green:       #8DC63F;
  --yapi-green-dark:  #72A030;
  --yapi-dark:        #0A1628;
  --yapi-gradient:    linear-gradient(135deg, #0099B8 0%, #3DB87A 50%, #8DC63F 100%);
  --yapi-gradient-lr: linear-gradient(90deg,  #0099B8 0%, #8DC63F 100%);
}

/*==============================================================
  1. GLOBAL
==============================================================*/
.color-accent,
.color-accent-hover:hover,
.color-accent-hover:focus,
:root .has-accent-color,
.has-drop-cap:not(:focus):first-letter,
a { color: var(--yapi-teal); }

a:hover, a:focus { color: var(--yapi-teal-dark); }

::-moz-selection    { background: var(--yapi-teal); color: #fff; }
::-webkit-selection { background: var(--yapi-teal); color: #fff; }
::selection         { background: var(--yapi-teal); color: #fff; }

blockquote { border-left: 4px solid var(--yapi-teal); }
.section-seperator { background: var(--yapi-gradient-lr); }
.widget .widget-title:after { background: var(--yapi-gradient-lr); }
.progress-bar { background: var(--yapi-gradient-lr); }
.progress-bar.pb-dark { background: var(--yapi-dark); }
.tagcloud a:hover, .tagcloud a:focus {
  background-color: var(--yapi-teal); border-color: var(--yapi-teal); color: #fff;
}

/*==============================================================
  2. NAVBAR
==============================================================*/
.navbar-custom { background-color: #ffffff; border-bottom: 2px solid var(--yapi-teal); }
.navbar-custom .nav li a:before,
.navbar-custom .nav > li.current-menu-item > a::before { background-color: var(--yapi-teal); }
.navbar-custom .nav > li > a:hover,
.navbar-custom .nav > li > a:focus,
.navbar-custom .nav > li.current-menu-item > a { color: var(--yapi-teal) !important; }
.navbar-custom .nav > li > a:focus { outline: 2px solid var(--yapi-teal); outline-offset: 2px; }
.navbar-custom .dropdown-menu { background: var(--yapi-dark); border-top: 2px solid var(--yapi-teal); }
.navbar-custom .dropdown-menu > li > a:hover,
.navbar-custom .dropdown-menu > li > a:focus { color: var(--yapi-green) !important; }

@media (max-width: 767px) {
  .navbar-custom .navbar-nav { background-color: var(--yapi-dark); }
}

.yzb-nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.yzb-nav-user a { text-decoration: none; }
.yzb-nav-user a:first-of-type {
  color: #ffffff;
  background: var(--yapi-gradient);
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
}
.yzb-nav-user a.yzb-logout {
  color: #ffffff !important;
  background: var(--yapi-teal);
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s ease;
}
.yzb-logout:hover { background: #000000; }

/*==============================================================
  3. BUTTONS
==============================================================*/
.btn { background: var(--yapi-gradient-lr); color: #fff; border: none; border-radius: 4px !important; }
.btn:hover, .btn:focus { background: var(--yapi-teal-dark); color: #fff; }
.btn.btn-b, .btn.btn-d { background: var(--yapi-dark); color: #fff; }
.btn.btn-b:hover, .btn.btn-b:focus,
.btn.btn-d:hover, .btn.btn-d:focus { background: var(--yapi-teal-dark); color: #fff; }
.btn.btn-w, .btn.btn-w:hover, .btn.btn-w:focus { background: #fff; color: var(--yapi-teal); }
.btn-border-d { background: transparent; border: 2px solid var(--yapi-teal); color: var(--yapi-teal); }
.btn.btn-border-d:hover, .btn.btn-border-d:focus { background: var(--yapi-teal); color: #fff; }
.titan-caption .btn.btn-border-w { background: transparent; border: 1px solid #fff; color: #fff; }
.titan-caption .btn.btn-border-w:hover,
.titan-caption .btn.btn-border-w:focus { background: var(--yapi-teal); border-color: var(--yapi-teal); }
.scroll-up a { background: var(--yapi-gradient-lr); color: #fff; }
.scroll-up a:hover, .scroll-up a:active { background: var(--yapi-teal-dark); color: #fff; }

/*==============================================================
  4. FORMS
==============================================================*/
.form-control:focus { border-color: var(--yapi-teal); box-shadow: 0 0 0 2px rgba(0,153,184,0.18); }
input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus,
input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus,
input[type="tel"]:focus, textarea:focus, select:focus {
  border-color: var(--yapi-teal); outline: none; box-shadow: 0 0 0 2px rgba(0,153,184,0.18);
}
#site-searchform #s:focus { border: 1px solid var(--yapi-teal); border-right: none; }
.wpcf7-submit { background: var(--yapi-gradient-lr); color: #fff; }
.wpcf7-submit:hover, .wpcf7-submit:focus { background: var(--yapi-teal-dark); color: #fff; }

/*==============================================================
  5. DARK SECTIONS
==============================================================*/
.bg-dark { background: var(--yapi-dark); }
.bg-custom { background-color: var(--yapi-dark); }
.bg-gradient:before {
  background: linear-gradient(to bottom, rgba(0,153,184,0.45) 20%, rgba(141,198,63,0.72) 100%);
}

/*==============================================================
  6. SERVICES
==============================================================*/
.features-icon i, .alt-features-icon i { color: var(--yapi-teal); }
.feature-box:before, .feature-box:after,
.feature-box .content:before, .feature-box .content:after { background-color: var(--yapi-teal); }
#services .features-item a:hover, #services .features-item a:focus { color: var(--yapi-green); }
.cta-block a:hover, .cta-block a:focus,
.home-news a:hover, .home-news a:focus { color: var(--yapi-green); }
.post p .more-link:hover, .post p .more-link:focus,
.post-entry .more-link:hover, .post-entry .more-link:focus { color: var(--yapi-teal); }
.more-link:after { color: var(--yapi-teal); }

.service-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff !important;
  background: linear-gradient(135deg, #0099B8, #c3ff00);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0,114,255,0.2);
}
.service-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,114,255,0.3);
  opacity: 0.95;
}
.service-btn:active { transform: translateY(0); }

/*==============================================================
  7. PORTFOLIO
==============================================================*/
.works-grid.works-hover-g .work-item:hover .work-image:after {
  background: linear-gradient(135deg, rgba(0,153,184,0.75) 0%, rgba(141,198,63,0.75) 100%);
  opacity: 1;
}

/*==============================================================
  8. PRICE TABLE
==============================================================*/
.price-table:hover { border-color: var(--yapi-teal); }
.price-table.best { border-color: var(--yapi-teal); box-shadow: 0 0 0 2px var(--yapi-teal); }
.borderline, .borderline:before { background: var(--yapi-teal); }

/*==============================================================
  9. BLOG
==============================================================*/
.pagination a.active, .pagination span {
  background: var(--yapi-gradient-lr); border-color: var(--yapi-teal); color: #fff;
}
.depth-1 article:hover { border-color: var(--yapi-teal); }
.comment-reply-link { color: var(--yapi-teal); }
.post-password-form input[type=submit] { background: var(--yapi-gradient-lr); color: #fff; }

/*==============================================================
  10. FOOTER
==============================================================*/
.footer_bottom { background: var(--yapi-dark); }
.footer_bottom .copyright { text-align: center; }
.footer_bottom .copyright a { color: #a8dce9; text-decoration: none; }
.footer-social-links li a:hover, .footer-social-links li a:focus,
.footer-social-links li a.fb:hover, .footer-social-links li a.twtr:hover,
.footer-social-links li a.rss:hover, .footer-social-links li a.skype:hover,
.footer-social-links li a.dribbble:hover {
  background-color: var(--yapi-teal) !important; border-radius: 5px; color: #fff;
}
.widget table#wp-calendar caption { background: var(--yapi-gradient-lr); }
.site-footer .widget table#wp-calendar tbody a:hover { color: var(--yapi-green); }

/*==============================================================
  11. WOOCOMMERCE
==============================================================*/
.woocommerce ul.products li.product .button,
.woocommerce a.button, .woocommerce a.button:hover,
.woocommerce a.added_to_cart, .woocommerce .cart input.button,
.woocommerce input.button.alt, .woocommerce button.button,
.woocommerce #respond input#submit,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce .return-to-shop a.button, .woocommerce .woocommerce-Button,
.woocommerce .checkout_coupon input.button,
.woocommerce .woocommerce-MyAccount-content input.button,
.woocommerce .login input.button, .woocommerce-page #payment #place_order,
.woocommerce-EditAccountForm input.woocommerce-Button,
.widget.woocommerce.widget_product_search .woocommerce-product-search button[type="submit"],
.woocommerce .cart input.button:hover, .woocommerce .cart input.button:focus,
.woocommerce input.button.alt:hover, .woocommerce input.button.alt:focus,
.woocommerce input.button:hover, .woocommerce input.button:focus,
.woocommerce button.button:hover, .woocommerce button.button:focus,
.woocommerce #respond input#submit:hover, .woocommerce #respond input#submit:focus,
.woocommerce ul.products li.product:hover .button,
.woocommerce a.button.alt, .woocommerce a.button.alt:hover,
.woocommerce #respond input#submit.alt, .woocommerce #respond input#submit.alt:hover,
.woocommerce button.button.alt, .woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: var(--yapi-gradient-lr) !important; color: #fff !important; border-color: transparent !important;
}
.woocommerce ul.products li.product .onsale, .woocommerce span.onsale {
  background: var(--yapi-teal); border-color: var(--yapi-teal); color: #fff;
}
.woocommerce a.remove { background: var(--yapi-dark); color: #fff !important; }
.woocommerce a.remove:hover { background: var(--yapi-teal); color: #fff !important; }
.ui-slider .ui-slider-range { background: var(--yapi-gradient-lr); }
.price_slider_wrapper .ui-widget-content { background: #d8d8d8; }
.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--yapi-teal); border-color: var(--yapi-teal); color: #fff;
}
.add-to-cart a { background: var(--yapi-gradient-lr); color: #fff; }
.add-to-cart a:hover, .add-to-cart a:focus,
.add-to-cart a.added_to_cart, .add-to-cart a.added_to_cart:hover,
.add-to-cart a.added_to_cart:focus { background: var(--yapi-teal-dark); color: #fff; }
.woocommerce.widget_shopping_cart a.button.wc-forward:first-child { background: var(--yapi-teal); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--yapi-teal); }
.woocommerce .posted_in a:hover, .woocommerce .tagged_as a:hover,
.woocommerce-product-rating a:hover { color: var(--yapi-teal); }
.woocommerce-MyAccount-navigation ul li.is-active a { color: var(--yapi-teal); }

/*==============================================================
  12. TEAM
==============================================================*/
.team-item:hover .team-image:after { background: rgba(0,153,184,0.72); }

/*==============================================================
  13. SITE DESCRIPTION
==============================================================*/
.site-description { color: var(--yapi-teal); }

/*==============================================================
  14. LOGO — consolidated (was duplicated 3x)
==============================================================*/
/* Target the overall header content container to vertically align everything */
.navbar-custom .container,
.navbar-custom .container-fluid,
.navbar-custom > div {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
/* Ensure the brand wrapper has zero top/bottom distortion */
.navbar-brand,
.header-info {
  display: flex !important;
  align-items: center !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  height: auto !important;
}
/* The actual logo image size control */
.header-info .custom-logo,
.navbar-brand .custom-logo,
img.custom-logo {
  width: 200px !important;
  max-width: 250px !important; /* Slightly smaller to give breathing room */
  height: auto !important;
  display: block !important;
  margin: 5px 0 !important;   
}
/* Ensure standard menu items are centered cleanly */
.navbar-custom .nav,
.navbar-custom .navbar-nav,
.yzb-nav-item-wrap {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 0 !important;
}
@media (max-width: 767px) {
  img.custom-logo,
  .nabar-brand img.custom-logo,
  .header-info img.custom-logo,
  a.custom-logo-link img,
  .site-logo img {
    max-width: 250x !important;
    width: 190px !important;
    height: auto !important;
  }
}
/*==============================================================
  15. HERO SECTION
==============================================================*/
.yapi-hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

/*==============================================================
  16. BACKGROUND SLIDER
==============================================================*/
.yapi-hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.yapi-hero-bg .hero-slider,
.yapi-hero-bg .hero-slider .flex-viewport,
.yapi-hero-bg .hero-slider .slides,
.yapi-hero-bg .hero-slider .slides li {
  height: 100vh !important; min-height: 100vh !important;
  width: 100% !important; margin: 0 !important; padding: 0 !important;
}
.yapi-hero-bg .hero-slider .slides li {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  display: block !important; float: left !important;
}
.yapi-hero-bg .flex-direction-nav,
.yapi-hero-bg .flex-control-nav,
.yapi-hero-bg .titan-caption,
.yapi-hero-bg .caption-content { display: none !important; }
.yapi-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(10,22,40,0.45); z-index: 1;
}

/*==============================================================
  17. DEFAULT VISIBILITY & DRAWER
==============================================================*/
.yapi-hero-bg--mobile  { display: none; }
.yapi-hero-bg--desktop { display: block; }
.yapi-mobile-cta       { display: none; }

.yapi-mobile-drawer {
  position: fixed !important;
  bottom: -100vh !important;
  left: 0 !important;
  width: 100% !important;
  height: 90vh !important;
  background: #fff !important;
  z-index: 100000 !important;
  border-radius: 20px 20px 0 0 !important;
  transition: bottom 0.4s ease !important;
  overflow-y: auto !important;
  padding: 20px 15px !important;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.3) !important;
}
.yapi-mobile-drawer.is-open { bottom: 0 !important; }

.yapi-mobile-drawer__backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0,0,0,0.6) !important;
  z-index: 99998 !important;
  display: none !important;
}
.yapi-mobile-drawer__backdrop.is-visible { display: block !important; }

.yapi-mobile-drawer__close {
  position: absolute !important;
  top: 12px !important; right: 16px !important;
  background: transparent !important; border: none !important;
  font-size: 22px !important; cursor: pointer !important;
  color: #333 !important; z-index: 2 !important;
}
.yapi-mobile-drawer__inner {
  position: relative !important;
  padding-top: 30px !important;
}
.yapi-mobile-drawer__form,
#yapiDrawerFormSlot {
  display: block !important;
  width: 100% !important;
  visibility: visible !important;
}
#yapi-booking-form-wrap {
  display: block !important;
  visibility: visible !important;
}

/*==============================================================
  18. DESKTOP BOOKING CARD
==============================================================*/
.yapi-booking-card--desktop {
  position: relative; z-index: 2;
  width: 580px; min-width: 380px; max-width: 45vw;
  height: auto; max-height: 90vh;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  margin: auto auto auto 48px;
  padding: 8px 8px 12px;
  background: #ffffff; border-radius: 12px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.22);
  display: flex; flex-direction: column; justify-content: flex-start;
}
.yapi-booking-card--desktop > *,
.yapi-booking-card--desktop [class*="booking"],
.yapi-booking-card--desktop [class*="yapi"],
.yapi-booking-card--desktop form,
.yapi-booking-card--desktop iframe {
  width: 100% !important; max-width: 100% !important; box-sizing: border-box !important;
}
.yapi-booking-card--desktop .container,
.yapi-booking-card--desktop .row {
  margin-left: 0 !important; margin-right: 0 !important;
  padding-left: 0 !important; padding-right: 0 !important;
  width: 100% !important;
}

/*==============================================================
  19. TABLET (601px – 991px)
==============================================================*/
@media (max-width: 991px) and (min-width: 601px) {
  .yapi-booking-card--desktop {
    width: 420px; min-width: 320px; max-width: 55vw; padding: 28px 24px 40px;
  }
}

/*==============================================================
  20. MOBILE (≤ 600px)
==============================================================*/
@media (max-width: 600px) {
  .yapi-hero-bg--desktop { display: none; }
  .yapi-hero-bg--mobile  { display: block; }
  .yapi-booking-card--desktop { display: none !important; }

  .yapi-hero-section { min-height: 100vh; display: block; }

  .yapi-hero-bg--mobile .hero-slider,
  .yapi-hero-bg--mobile .hero-slider .flex-viewport,
  .yapi-hero-bg--mobile .hero-slider .slides,
  .yapi-hero-bg--mobile .hero-slider .slides li {
    height: 100vh !important; min-height: 100vh !important;
  }

  .yapi-mobile-cta {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important; left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: var(--yapi-gradient-lr) !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 14px !important;
  }

  .yapi-mobile-book-btn {
    background: transparent !important;
    border: 2px solid #fff !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    padding: 10px 30px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    width: 100% !important;
    max-width: 320px !important;
  }
}

/*==============================================================
  21. NAV LOGIN BUTTONS
==============================================================*/
.yzb-nav-item-wrap {
  display: flex !important; flex-direction: row !important;
  align-items: center !important; padding: 0 0 0 15px !important;
  margin-left: auto !important;
}
.yzb-nav-btn {
  padding: 6px 14px !important; margin-left: 8px !important;
  border-radius: 4px; font-size: 13px; font-weight: 600;
  text-decoration: none !important; transition: all 0.3s ease;
  white-space: nowrap !important; line-height: 1.4;
}
.yzb-nav-btn--client,
.client-btn {
  background: var(--yapi-gradient-lr) !important;
  color: #fff !important;
  border: none;
}
.yzb-nav-btn--agency,
.agency-btn {
  background: var(--yapi-gradient) !important;
  color: #fff !important;
  border: none;
}
.yzb-nav-btn:hover { opacity: 0.9; transform: translateY(-1px); }

@media (max-width: 991px) {
  .yzb-nav-item-wrap {
    flex-direction: column !important; align-items: stretch !important; padding: 10px 15px !important;
  }
  .yzb-nav-btn { margin: 4px 0 !important; text-align: center !important; }
}

/*==============================================================
  22. MOBILE MENU FIX
==============================================================*/
.navbar-custom .collapse.navbar-collapse {
  display: flex !important;
  align-items: center;
}
@media (max-width: 767px) {
  .navbar-custom .collapse.navbar-collapse { display: none !important; }
  .navbar-custom .collapse.navbar-collapse.in,
  .navbar-custom .collapse.navbar-collapse.show { display: block !important; }
}

/*==============================================================
  23. GOOGLE REVIEW WIDGET
==============================================================*/
.floating-google-review-widget {
  position: fixed;
  bottom: 40px;
  left: 0;
  width: 200px; 
  background: #fff;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  padding: 12px 14px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.floating-google-review-widget:hover {
  transform: translateX(8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.floating-google-review-widget .google-header img.google-logo,
.floating-google-review-widget img.google-logo,
.floating-google-review-widget .google-logo {
  width: 90px !important;
  height: 90px !important;
  max-width: 90px !important;
  max-height: 90px !important;
  display: block !important;
  flex-shrink: 0 !important;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
}
.floating-google-review-widget .review-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.floating-google-review-widget .review-content p {
  margin: 0;
  font-size: 13px;
  color: #000000;
  font-weight: 600;
  line-height: 1.3;
}
.floating-google-review-widget .rating {
  font-size: 13px;
  color: #fff;
  font-weight: 700;
}
.floating-google-review-widget .rating .stars {
  color: #FFD700;
  display: block;
  font-size: 15px;
  letter-spacing: 2px;
}
.floating-google-review-widget .review-btn {
  font-size: 12px;
  color: #4285F4;
  text-decoration: underline;
  font-weight: 600;
  display: inline-block;
}
.floating-google-review-widget .review-btn:hover {
  color: #FFD700;
  text-decoration: none;
}
.close-widget {
  position: absolute;
  top: 4px;
  right: 8px;
  background: transparent;
  border: none;
  font-size: 20px;
  color: #424242;
  cursor: pointer;
  line-height: 1;
}
.close-widget:hover { color: #424242; }

@media (max-width: 767px) {
  .floating-google-review-widget { display: none !important; }
}
@media (min-width: 768px) {
  .yapi-mobile-reviews-btn { display: none !important; }
}
/*==============================================================
  24. MOBILE REVIEWS BUTTON — consolidated (was duplicated 2x)
==============================================================*/
.yapi-mobile-reviews-btn {
  display: none; /* hidden by default; shown only on mobile below */
}
@media (max-width: 767px) {
  .yapi-mobile-reviews-btn {
    display: block;
    position: fixed;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    color: #333;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    border: 1px solid #ddd;
    white-space: nowrap;
  }
}

/*==============================================================
  25. TESTIMONIALS
==============================================================*/
.testimonial-text {
  margin: 15px 0;
  padding: 15px 20px;
  font-style: italic;
  line-height: 1.6;
  text-align: center;
  background-color: rgba(255,255,255,0.1);
  border-radius: 6px;
}
.testimonial-box {
  background: #000;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.testimonial-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.testimonial-box img {
  width: 80px; height: 80px;
  border-radius: 50%; object-fit: cover; border: none;
}

/*==============================================================
  26. SOCIAL ICONS
==============================================================*/
.social-icons.styled-icons li a {
  width: 48px; height: 48px;
  line-height: 48px; text-align: center;
  border-radius: 50%; font-size: 20px;
  color: #fff;
  background: linear-gradient(135deg, #ff6900, #000);
  transition: all 0.3s ease;
}
.social-icons.styled-icons li a:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/*==============================================================
  27. YAPI CZ COMPONENT
==============================================================*/
.yapi-cz *, .yapi-cz *::before, .yapi-cz *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}
.yapi-cz {
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Hero Banner */
.yapi-cz .cz-hero {
  background: var(--grad);
  padding: 36px 32px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.yapi-cz .cz-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.yapi-cz .cz-hero::after {
  content: '';
  position: absolute; top: -40px; right: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
  pointer-events: none;
}
.yapi-cz .cz-hero-inner { position: relative; z-index: 1; }
.yapi-cz .cz-hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 30px; padding: 5px 14px 5px 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 11px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.95); margin-bottom: 14px;
}
.yapi-cz .cz-hero-badge::before {
  content: ''; display: block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--white);
  animation: cz-pulse 2s ease-in-out infinite;
}
@keyframes cz-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}
.yapi-cz .cz-hero h1 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(24px, 4vw, 34px); font-weight: 900;
  color: var(--white); letter-spacing: -0.5px;
  margin-bottom: 8px; text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.yapi-cz .cz-hero p {
  font-size: 14px; color: rgba(255,255,255,0.85);
  max-width: 480px; margin: 0 auto;
}
.yapi-cz .cz-wave { margin-top: -2px; line-height: 0; background: var(--grad); }
.yapi-cz .cz-wave svg { display: block; width: 100%; }

/* View Switching */
.yapi-cz .cz-view { display: none; }
.yapi-cz .cz-view.cz-active { display: block; }

/* Login Page */
.yapi-cz .cz-login-outer {
  max-width: 980px; margin: 0 auto;
  padding: 48px 20px 72px;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 52px; align-items: center;
}
.yapi-cz .cz-copy h2 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(22px, 3vw, 30px); font-weight: 900;
  color: var(--navy); line-height: 1.15; margin-bottom: 12px;
}
.yapi-cz .cz-copy h2 .grad-text {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.yapi-cz .cz-copy > p {
  font-size: 14px; line-height: 1.8; color: var(--muted); margin-bottom: 32px;
}
.yapi-cz .cz-features { display: flex; flex-direction: column; gap: 12px; }
.yapi-cz .cz-feat {
  display: flex; align-items: flex-start; gap: 13px;
  background: var(--white); border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius); padding: 13px 15px;
  box-shadow: var(--shadow-sm); transition: all 0.2s;
}
.yapi-cz .cz-feat:hover { border-left-color: var(--lime-dark); box-shadow: var(--shadow-md); }
.yapi-cz .cz-feat-icon { font-size: 22px; flex-shrink: 0; line-height: 1; margin-top: 1px; }
.yapi-cz .cz-feat-text strong {
  display: block; font-family: 'Nunito', sans-serif;
  font-size: 13px; font-weight: 800; color: var(--navy); margin-bottom: 2px;
}
.yapi-cz .cz-feat-text span { font-size: 12px; color: var(--muted); }

/* Login / Register Card */
.yapi-cz .cz-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  border: 1px solid var(--border);
  animation: cz-fadein 0.5s ease both;
}
@keyframes cz-fadein {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.yapi-cz .cz-card-stripe { height: 5px; background: var(--grad); }
.yapi-cz .cz-card-body { padding: 34px 30px 30px; }
.yapi-cz .cz-card-head { text-align: center; margin-bottom: 26px; }
.yapi-cz .cz-card-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--grad-diag);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; font-size: 24px; color: var(--white);
  box-shadow: 0 5px 18px rgba(41,171,226,0.35);
}
.yapi-cz .cz-card-head h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 22px; font-weight: 900; color: var(--navy); margin-bottom: 4px;
}
.yapi-cz .cz-card-head p { font-size: 12.5px; color: var(--muted); }

/* Tabs */
.yapi-cz .cz-tabs {
  display: flex; background: var(--surface);
  border: 1px solid var(--border); border-radius: 9px;
  padding: 3px; margin-bottom: 22px;
}
.yapi-cz .cz-tab {
  flex: 1; padding: 9px;
  font-family: 'Nunito', sans-serif;
  font-size: 12px; font-weight: 800; letter-spacing: 0.5px;
  text-align: center; border-radius: 7px; cursor: pointer;
  color: var(--muted); transition: all 0.2s;
  user-select: none; border: none; background: transparent;
}
.yapi-cz .cz-tab.cz-on {
  background: var(--grad); color: var(--white);
  box-shadow: 0 3px 10px rgba(41,171,226,0.3);
}

/* Form Fields */
.yapi-cz .cz-fg { margin-bottom: 15px; }
.yapi-cz .cz-fg label {
  display: block; font-family: 'Nunito', sans-serif;
  font-size: 10px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: 7px;
}
.yapi-cz .cz-iw { position: relative; }
.yapi-cz .cz-ic {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: 15px; opacity: 0.45;
  pointer-events: none; line-height: 1;
}
.yapi-cz .cz-iw input {
  width: 100%; background: var(--surface);
  border: 1.5px solid var(--border); border-radius: 9px;
  padding: 11px 12px 11px 38px;
  font-size: 13.5px; font-family: 'DM Sans', sans-serif;
  color: var(--text); outline: none; transition: all 0.2s;
}
.yapi-cz .cz-iw input:focus {
  border-color: var(--teal); background: var(--white);
  box-shadow: 0 0 0 3px rgba(41,171,226,0.14);
}
.yapi-cz .cz-ptog {
  position: absolute; right: 11px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  font-size: 15px; cursor: pointer; opacity: 0.45; padding: 4px;
}
.yapi-cz .cz-frow {
  display: flex; justify-content: space-between;
  align-items: center; margin: -2px 0 18px;
}
.yapi-cz .cz-rem {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--muted); cursor: pointer;
}
.yapi-cz .cz-btn-submit {
  width: 100%; padding: 13.5px;
  background: var(--grad); border: none; border-radius: 9px;
  font-family: 'Nunito', sans-serif;
  font-size: 13px; font-weight: 900;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--white); cursor: pointer; transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(41,171,226,0.35);
}
.yapi-cz .cz-btn-submit:hover {
  box-shadow: 0 6px 22px rgba(41,171,226,0.45);
  transform: translateY(-1px);
}

/* Portal / Dashboard */
.yapi-cz .cz-portal-outer {
  max-width: 980px; margin: 0 auto; padding: 32px 20px 72px;
}
.yapi-cz .cz-welcome {
  background: var(--navy); border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px; position: relative; overflow: hidden;
}
.yapi-cz .cz-avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-size: 19px; font-weight: 900; color: var(--white);
  box-shadow: 0 3px 14px rgba(41,171,226,0.45);
}
.yapi-cz .cz-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-bottom: 28px;
}
.yapi-cz .cz-stat {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 16px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-sm); transition: all 0.2s;
}
.yapi-cz .cz-stat-val {
  font-family: 'Nunito', sans-serif;
  font-size: 24px; font-weight: 900; color: var(--navy);
}
.yapi-cz .cz-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; margin-bottom: 32px;
}
.yapi-cz .cz-tile {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 14px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: all 0.25s; box-shadow: var(--shadow-sm); text-decoration: none;
}
.yapi-cz .cz-tile:hover {
  transform: translateY(-7px); border-color: var(--teal); box-shadow: var(--shadow-lg);
}

/* Trip List & Badges */
.yapi-cz .cz-trip {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: var(--shadow-sm); transition: all 0.2s;
}
.yapi-cz .cz-trip-date {
  width: 46px; text-align: center;
  background: linear-gradient(135deg, var(--lime-pale), var(--teal-pale));
  border: 1px solid rgba(41,171,226,0.2);
  border-radius: 9px; padding: 7px 4px;
}
.yapi-cz .cz-trip-date .dd {
  display: block; font-family: 'Nunito', sans-serif;
  font-size: 21px; font-weight: 900; color: var(--teal);
}
.yapi-cz .cz-badge {
  font-size: 10px; font-weight: 800;
  padding: 5px 12px; border-radius: 20px; text-transform: uppercase;
}
.yapi-cz .cz-badge-ok {
  background: rgba(107,191,42,0.12); color: #4a8a15;
  border: 1px solid rgba(107,191,42,0.35);
}

/* CZ Responsive */
@media (max-width: 760px) {
  .yapi-cz .cz-login-outer { grid-template-columns: 1fr; gap: 32px; }
  .yapi-cz .cz-copy { display: none; }
  .yapi-cz .cz-tiles,
  .yapi-cz .cz-stats { grid-template-columns: repeat(2, 1fr); }
  .yapi-cz .cz-welcome { flex-direction: column; text-align: center; }
}
@media (max-width: 420px) {
  .yapi-cz .cz-card-body { padding: 28px 20px 24px; }
}

@media (min-width: 992px) {
  .header-inner .col-md-4 {
    display: flex;
    align-items: center;
  }

  /* Social icons column — left aligned */
  .header-inner .col-md-4:nth-child(1) {
    justify-content: flex-start;
  }
	/* Social icon color */
.social-icons li a {
    color: var(--yapi-teal) !important;
    transition: color 0.2s ease;
}

/* Hover state */
.social-icons li a:hover {
    color: var(--yapi-green) !important;
}

  /* Logo column — left aligned */
  .header-inner .col-md-4:nth-child(2) {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  /* Email/contact column — right aligned */
  .header-inner .col-md-4:nth-child(3) {
    justify-content: flex-end;
  }
}