/**
 * Color Override - Technology Blue Theme v4.4.0
 * ONLY overrides gold/orange colors, preserves all other styling
 */

:root {
  /* Map old gold color to new blue */
  --gold-color: #1DA1F2;

  /* Main blue theme colors */
  --button-bg-color: #1DA1F2;
  --cyan-color: #2EC4B6;
  --teal-color: #4EE3A1;
  --dark-blue: #0A2F3C;
  --light-blue: #f0f9ff;
}

/* ============================================
   INLINE STYLE OVERRIDES - Target only gold colors
   ============================================ */

/* Text color - gold to blue */
[style*="color: #f35b04"],
[style*="color:#f35b04"] {
  color: #1DA1F2 !important;
}

/* Background color - gold to blue */
[style*="background-color: #f35b04"],
[style*="background-color:#f35b04"],
[style*="background: #f35b04"],
[style*="background:#f35b04"] {
  background-color: var(--button-bg-color) !important;
  background: var(--button-bg-color) !important;
}

/* Border color - gold to blue */
[style*="border-color: #f35b04"],
[style*="border-color:#f35b04"],
[style*="border: 2px solid #f35b04"],
[style*="border:1px solid #f35b04"],
[style*="border: 1px solid #f35b04"],
[style*="border:1.76px solid #f35b04"],
[style*="border-bottom: 1px solid #f35b04"],
[style*="border-bottom:1px solid #f35b04"],
[style*="border-left: 1px solid #f35b04"],
[style*="border-left:1px solid #f35b04"] {
  border-color: var(--button-bg-color) !important;
}

/* Box shadow - gold to blue */
[style*="box-shadow: 0 0 0 1px #f35b04"] {
  box-shadow: 0 0 0 1px var(--button-bg-color) !important;
}

/* Warm beige backgrounds to cool light blue */
[style*="background-color: #fffbf4"],
[style*="background: #fffbf4"],
[style*="background-color: #fff7ec"],
[style*="background: #fff7ec"] {
  background-color: var(--light-blue) !important;
  background: var(--light-blue) !important;
}

/* Orange dropdown color to blue */
[style*="--dropdown-bg-active-color: #ffc700"],
[style*="--dropdown-bg-active-color:#ffc700"] {
  --dropdown-bg-active-color: var(--dark-blue) !important;
}

/* Orange input border to blue */
[style*="--input-border-color: #ffc700"],
[style*="--input-border-color:#ffc700"],
[style*="--input-border-color: #f35b04"],
[style*="--input-border-color:#f35b04"] {
  --input-border-color: var(--button-bg-color) !important;
}

/* Button colors - gold to blue */
[style*="--button-bg-color: #f35b04"],
[style*="--button-bg-color:#f35b04"] {
  --button-bg-color: var(--button-bg-color) !important;
}

[style*="--button-text-color: #f35b04"],
[style*="--button-text-color:#f35b04"] {
  --button-text-color: var(--button-bg-color) !important;
}

/* Layout gradients - warm to cool */
[style*="--layout-bg: linear-gradient(359deg, #fffbf4 1.23%, #fff 99.17%)"],
[style*="--layout-bg: linear-gradient(177deg, #fff 83.7%, #fdd1ac 100.85%)"] {
  --layout-bg: linear-gradient(177deg, var(--light-blue) 83.7%, #e0f2fe 100.85%) !important;
}

[style*="background: linear-gradient(177deg, #fff 83.7%, #fdd1ac 100.85%)"] {
  background: linear-gradient(177deg, var(--light-blue) 83.7%, #e0f2fe 100.85%) !important;
}

/* Hero scene wrapper - specific override */
.heroscene_wrapper__U967n {
  --layout-bg: linear-gradient(177deg, #fff 83.7%, var(--light-blue) 100.85%) !important;
}

.heroscene_wrapper__U967n[style*="--layout-bg"] {
  --layout-bg: linear-gradient(177deg, #fff 83.7%, var(--light-blue) 100.85%) !important;
}

/* Hero scene orbit background - convert warm gradient to cool blue */
.heroscene_wrapper__U967n .heroscene_orbit__dMFAY {
  background: linear-gradient(177deg, #fff 83.7%, var(--light-blue) 100.85%) !important;
}

.heroscene_wrapper__U967n .heroscene_orbit__dMFAY[style*="background"] {
  background: linear-gradient(177deg, #fff 83.7%, var(--light-blue) 100.85%) !important;
}

/* ============================================
   COMPONENT-SPECIFIC OVERRIDES
   ============================================ */

/* Navigation buttons - preserve all styling except color */
.activities_navigation__T0qq_ button,
.partners_navigation__J5lQd button,
.products_navigation__2V1UW button,
.mission_navigation__M0eAC button {
  color: var(--button-bg-color) !important;
}

.activities_navigation__T0qq_ button:hover,
.partners_navigation__J5lQd button:hover,
.products_navigation__2V1UW button:hover,
.mission_navigation__M0eAC button:hover {
  color: var(--cyan-color) !important;
}

/* Hero bubbles */
.snt__bubble {
  background-color: var(--button-bg-color) !important;
}

/* SNT Icon - white background with blue border like buttons */
.snt__icon {
  background-color: #fff !important;
  border: 2px solid var(--button-bg-color) !important;
  color: var(--button-bg-color) !important;
  box-shadow: 0 2px 8px rgba(29, 161, 242, 0.2) !important;
  transition: all 0.3s ease !important;
}

/* Keep original hover effects - don't override */
/* This allows existing animations and hover states to work normally */

/* Dropdown active option */
.snt__dropdown-option.option__active {
  background-color: var(--dark-blue) !important;
  color: #fff !important;
}

.snt__dropdown-option:hover {
  background-color: var(--light-blue) !important;
}

/* Input focus states - preserve all styling except border color */
.input_form-control__wOGSl:focus,
.input_form-control__wOGSl:focus-visible {
  border-color: var(--button-bg-color) !important;
  --input-border-color: var(--button-bg-color) !important;
}

/* ============================================
   BUTTON COLOR HARMONY SYSTEM
   ============================================ */

/* Primary buttons - white background with blue text */
.button_button__yDxUL.snt__button,
.button_button__yDxUL,
.snt__button {
  background-color: #fff !important;
  color: var(--button-bg-color) !important;
  border: 2px solid var(--button-bg-color) !important;
  box-shadow: 0 2px 8px rgba(29, 161, 242, 0.2) !important;
  transition: all 0.3s ease !important;
}

.button_button__yDxUL:hover,
.button_button__yDxUL.snt__button:hover,
.snt__button:hover {
  background-color: var(--button-bg-color) !important;
  color: #fff !important;
  border-color: var(--button-bg-color) !important;
  box-shadow: 0 4px 15px rgba(29, 161, 242, 0.4) !important;
  transform: translateY(-2px) !important;
}

/* Specific override for "Về chúng tôi" button */
a.snt__button[href="/about"] {
  background-color: #fff !important;
  color: var(--button-bg-color) !important;
  border: 2px solid var(--button-bg-color) !important;
}

a.snt__button[href="/about"]:hover {
  background-color: var(--button-bg-color) !important;
  color: #fff !important;
  border-color: var(--button-bg-color) !important;
}

/* Links - only change color, preserve hover effects */
a {
  color: var(--button-bg-color) !important;
}

/* Bold text in headings */
h1 b, h2 b, h3 b, h4 b, h5 b, h6 b,
b, strong {
  color: var(--button-bg-color) !important;
}

/* Card icons */
.activities_icon__KcMjI,
.products_icon__KcMjI {
  background-color: var(--button-bg-color) !important;
}

/* Hero overlay gradient */
.activities_overlay__kzQRU {
  background: linear-gradient(180deg, rgba(10, 47, 60, 0.8), rgba(29, 161, 242, 0.9)) !important;
}

/* Horizontal rules */
hr,
.hr {
  border-color: var(--button-bg-color) !important;
}

/* Swiper pagination */
.swiper-pagination-bullet {
  background: var(--button-bg-color) !important;
}

.swiper-pagination-bullet-active {
  background: var(--dark-blue) !important;
}

/* ============================================
   SECTION-SPECIFIC OVERRIDES
   ============================================ */

/* Office/Space section */
.officespace_wrapper__TaVjc h2 b,
.officespace_wrapper__TaVjc .officespace_pagination__RdEiW button {
  color: var(--button-bg-color) !important;
}

/* Stats section */
.stats_wrapper__91swZ h2 b,
.stats_wrapper__91swZ .stats_card__WCck0 .stats_info__fpHmM h4 b {
  color: var(--button-bg-color) !important;
}

/* Value section */
.value_wrapper__Y4vQQ h2 b,
.value_wrapper__Y4vQQ h3 b {
  color: var(--button-bg-color) !important;
}

/* Generic heading bold text - catch all */
h2 b, h3 b, h4 b {
  color: var(--button-bg-color) !important;
}

/* ============================================
   COMPREHENSIVE #f35b04 COLOR OVERRIDES
   ============================================ */

/* Header navigation current state */
.snt__header .snt__nav ul li.current:after,
.snt__header .snt__nav ul li.current::after {
  background-color: var(--button-bg-color) !important;
}

.snt__header .snt__nav ul li.current a {
  color: var(--button-bg-color) !important;
}

/* Header navigation focus states */
.snt__header .snt__nav ul a:focus {
  color: var(--button-bg-color) !important;
  box-shadow: 0 0 0 1px var(--button-bg-color) !important;
}

/* Footer links hover */
.snt__footer .snt__infos .snt__infos--item a:hover,
.snt__footer .snt__copyright .snt__nav a:hover {
  color: var(--button-bg-color) !important;
}

/* Footer copyright info */
.snt__footer .snt__copyright .snt__infos {
  color: var(--button-bg-color) !important;
}

/* SNT Button - override CSS variables */
a.snt__button,
button.snt__button,
.snt__button {
  --button-text-color: #fff !important;
  --button-bg-color: #1DA1F2 !important;
}

/* Input form controls */
.input_form-control__wOGSl {
  --input-border-color: var(--button-bg-color) !important;
}

.input_form-control__wOGSl:focus,
.input_form-control__wOGSl:focus-visible {
  border-color: var(--button-bg-color) !important;
}

/* All generic elements with #f35b04 - catch remaining instances */
* [style*="color: #f35b04"],
* [style*="color:#f35b04"] {
  color: var(--button-bg-color) !important;
}

* [style*="background-color: #f35b04"],
* [style*="background-color:#f35b04"],
* [style*="background: #f35b04"],
* [style*="background:#f35b04"] {
  background-color: var(--button-bg-color) !important;
  background: var(--button-bg-color) !important;
}

* [style*="border-color: #f35b04"],
* [style*="border-color:#f35b04"],
* [style*="border: 2px solid #f35b04"],
* [style*="border:1px solid #f35b04"],
* [style*="border: 1px solid #f35b04"],
* [style*="border:1.76px solid #f35b04"],
* [style*="border-bottom: 1px solid #f35b04"],
* [style*="border-bottom:1px solid #f35b04"],
* [style*="border-left: 1px solid #f35b04"],
* [style*="border-left:1px solid #f35b04"] {
  border-color: var(--button-bg-color) !important;
}

* [style*="box-shadow: 0 0 0 1px #f35b04"] {
  box-shadow: 0 0 0 1px var(--button-bg-color) !important;
}

/* Catch any remaining CSS variables with #f35b04 */
* {
  --input-border-color: var(--button-bg-color) !important;
  --button-bg-color: #1DA1F2 !important;
  --button-text-color: #fff !important;
}

/* ============================================
   COMPREHENSIVE #f35b04 OVERRIDES - ALL CSS FILES
   ============================================ */

/* Specific component overrides from all CSS files */

/* Mission section */
.mission_wrapper__HX9Ak h2,
.mission_wrapper__HX9Ak .mission_heading__M4wmN h2 {
  color: var(--button-bg-color) !important;
}

/* Mission card border */
.mission_wrapper__HX9Ak .mission_card___71cT {
  border-color: var(--button-bg-color) !important;
}

.mission_wrapper__HX9Ak .mission_card___71cT[style*="border"] {
  border-color: var(--button-bg-color) !important;
}

/* Culture orbit border */
.culture_wrapper__z72eY .culture_office__Wg5IU .culture_orbit__5CM3W {
  border-color: var(--button-bg-color) !important;
}

.culture_wrapper__z72eY .culture_office__Wg5IU .culture_orbit__5CM3W[style*="border"] {
  border-color: var(--button-bg-color) !important;
}

/* Culture orbit pseudo-elements (:after and :before) */
.culture_wrapper__z72eY .culture_office__Wg5IU .culture_orbit__5CM3W:after,
.culture_wrapper__z72eY .culture_office__Wg5IU .culture_orbit__5CM3W:before {
  border-color: var(--button-bg-color) !important;
}

/* Culture image box-shadow - convert orange to blue */
.culture_wrapper__z72eY .culture_office__Wg5IU .culture_image__grid__wvkJU img:nth-of-type(3) {
  box-shadow: 176.088px 44.208px 50.895px 0 rgba(29, 161, 242, 0),
              112.934px 28.233px 46.437px 0 rgba(29, 161, 242, 0.02),
              63.525px 15.974px 39.378px 0 rgba(29, 161, 242, 0.08),
              28.233px 7.058px 28.976px 0 rgba(29, 161, 242, 0.14),
              7.058px 1.857px 15.974px 0 rgba(29, 161, 242, 0.16) !important;
}

/* Career icon background */
.career_wrapper__Ma_gw .career_card__g82iL .career_icon__JFTsd svg:first-child {
  background-color: var(--button-bg-color) !important;
}

.career_wrapper__Ma_gw .career_card__g82iL .career_icon__JFTsd svg:first-child[style*="background"] {
  background-color: var(--button-bg-color) !important;
}

/* Career card border and background */
.career_wrapper__Ma_gw .career_card__g82iL {
  border-color: var(--button-bg-color) !important;
  background-color: var(--light-blue) !important;
}

.career_wrapper__Ma_gw .career_card__g82iL[style*="border"] {
  border-color: var(--button-bg-color) !important;
}

.career_wrapper__Ma_gw .career_card__g82iL[style*="background"] {
  background-color: var(--light-blue) !important;
}

/* Career meta heading color - black by default, blue on hover */
.career_wrapper__Ma_gw .career_card__g82iL .career_meta__p3X8F h5 {
  color: #000 !important;
}

.career_wrapper__Ma_gw .career_card__g82iL .career_meta__p3X8F h5:hover {
  color: var(--button-bg-color) !important;
}

.career_wrapper__Ma_gw .career_card__g82iL .career_meta__p3X8F h5[style*="color"] {
  color: #000 !important;
}

.career_wrapper__Ma_gw .career_card__g82iL .career_meta__p3X8F h5[style*="color"]:hover {
  color: var(--button-bg-color) !important;
}

/* SNT Heading - black by default, blue on hover */
.snt__heading,
.snt__heading h1,
.snt__heading h2,
.snt__heading h3,
.snt__heading h4,
.snt__heading h5,
.snt__heading h6 {
  color: #000 !important;
}

.snt__heading:hover,
.snt__heading h1:hover,
.snt__heading h2:hover,
.snt__heading h3:hover,
.snt__heading h4:hover,
.snt__heading h5:hover,
.snt__heading h6:hover {
  color: var(--button-bg-color) !important;
}

.snt__heading[style*="color"],
.snt__heading h1[style*="color"],
.snt__heading h2[style*="color"],
.snt__heading h3[style*="color"],
.snt__heading h4[style*="color"],
.snt__heading h5[style*="color"],
.snt__heading h6[style*="color"] {
  color: #000 !important;
}

.snt__heading[style*="color"]:hover,
.snt__heading h1[style*="color"]:hover,
.snt__heading h2[style*="color"]:hover,
.snt__heading h3[style*="color"]:hover,
.snt__heading h4[style*="color"]:hover,
.snt__heading h5[style*="color"]:hover,
.snt__heading h6[style*="color"]:hover {
  color: var(--button-bg-color) !important;
}

/* SNT Heading in activities/partners/products meta - white text, keep original hover */
.activities_meta__Fa2U2 .snt__heading,
.partners_meta__sVqL8 .snt__heading,
.products_meta__ks8bK .snt__heading,
.mission_meta__p3X8F .snt__heading {
  color: #fff !important;
}

/* Don't override hover - keep original hover effects */

/* SNT Footer background - convert warm gradient to cool blue gradient */
.snt__footer {
  --layout-bg: #fff !important;
  background: linear-gradient(357deg, #fff 81.75%, var(--light-blue) 88.45%, #e0f2fe 94.87%, #bae6fd 101.29%) !important;
}

.snt__footer[style*="--layout-bg"] {
  --layout-bg: #fff !important;
}

.snt__footer[style*="background"] {
  background: linear-gradient(357deg, #fff 81.75%, var(--light-blue) 88.45%, #e0f2fe 94.87%, #bae6fd 101.29%) !important;
}

/* Career callout section */
.careercallout_wrapper__ie1O5 h3 b,
.careercallout_wrapper__ie1O5 h3 strong,
.careercallout_wrapper__ie1O5 h3 {
  color: var(--button-bg-color) !important;
}

/* Activities section */
.activities_navigation__T0qq_ button,
.activities_wrapper__CIN8Q h2 b,
.activities_wrapper__CIN8Q h2 strong {
  color: var(--button-bg-color) !important;
}

/* Partners section */
.partners_navigation__J5lQd button,
.partners_wrapper__eMkNJ h2 b,
.partners_wrapper__eMkNJ h2 strong {
  color: var(--button-bg-color) !important;
}

/* Products section */
.products_navigation__2V1UW button,
.products_wrapper__NzPdB h2 b,
.products_wrapper__NzPdB h2 strong {
  color: var(--button-bg-color) !important;
}

/* Stats section */
.stats_wrapper__91swZ h2 b,
.stats_wrapper__91swZ h2 strong,
.stats_wrapper__91swZ .stats_card__WCck0 h4 b,
.stats_wrapper__91swZ .stats_card__WCck0 h4 strong {
  color: var(--button-bg-color) !important;
}

/* Value section */
.value_wrapper__Y4vQQ h2 b,
.value_wrapper__Y4vQQ h2 strong,
.value_wrapper__Y4vQQ h3 b,
.value_wrapper__Y4vQQ h3 strong {
  color: var(--button-bg-color) !important;
}

/* Office/Space section */
.officespace_wrapper__TaVjc h2 b,
.officespace_wrapper__TaVjc h2 strong {
  color: var(--button-bg-color) !important;
}

/* All bold/strong text globally */
b, strong {
  color: var(--button-bg-color) !important;
}

/* ============================================
   ADDITIONAL SECTION-SPECIFIC OVERRIDES
   ============================================ */

/* Force ALL inline styles with #f35b04 to use blue */
*[style*="color: #f35b04"],
*[style*="color:#f35b04"] {
  color: var(--button-bg-color) !important;
}

*[style*="background-color: #f35b04"],
*[style*="background-color:#f35b04"] {
  background-color: var(--button-bg-color) !important;
}

*[style*="border-color: #f35b04"],
*[style*="border-color:#f35b04"],
*[style*="border: 2px solid #f35b04"],
*[style*="border:1px solid #f35b04"],
*[style*="border: 1px solid #f35b04"],
*[style*="border:1.76px solid #f35b04"],
*[style*="border-bottom: 1px solid #f35b04"],
*[style*="border-bottom:1px solid #f35b04"],
*[style*="border-left: 1px solid #f35b04"],
*[style*="border-left:1px solid #f35b04"] {
  border-color: var(--button-bg-color) !important;
}

*[style*="box-shadow: 0 0 0 1px #f35b04"] {
  box-shadow: 0 0 0 1px var(--button-bg-color) !important;
}

*[style*="--button-bg-color: #f35b04"],
*[style*="--button-bg-color:#f35b04"] {
  --button-bg-color: #1DA1F2 !important;
}

*[style*="--button-text-color: #f35b04"],
*[style*="--button-text-color:#f35b04"] {
  --button-text-color: #1DA1F2 !important;
}

*[style*="--input-border-color: #f35b04"],
*[style*="--input-border-color:#f35b04"] {
  --input-border-color: #1DA1F2 !important;
}

/* ============================================
   HERO SCENE RING OVERRIDES
   ============================================ */

/* Hero scene ring with animated border */
.snt__ring.ring-0.heroscene_ring__FsFKq.animate,
.heroscene_ring__FsFKq,
.snt__ring {
  border-color: var(--button-bg-color) !important;
}

.snt__ring.ring-0.heroscene_ring__FsFKq.animate[style*="border"],
.heroscene_ring__FsFKq[style*="border"],
.snt__ring[style*="border"] {
  border-color: var(--button-bg-color) !important;
}

.products_wrapper__M8Yfi .products_info_____sD .products_icon__t1hkq {
  background-color: #1DA1F2 !important
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (min-width: 768px) {
  /* Desktop - same style, maybe enhanced shadow */
  .button_button__yDxUL.snt__button,
  .button_button__yDxUL,
  .snt__button {
    box-shadow: 0 3px 12px rgba(29, 161, 242, 0.25) !important;
  }

  .button_button__yDxUL:hover,
  .button_button__yDxUL.snt__button:hover,
  .snt__button:hover {
    box-shadow: 0 6px 20px rgba(29, 161, 242, 0.35) !important;
    transform: translateY(-3px) !important;
  }
}
