@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");

/* ==========================================================
   ORCHIDS UNDRI  |  Gold #fdb022 primary + Dark #9D0022
   ========================================================== */

/* --- Reset & Base --- */
* { box-sizing: border-box; padding: 0; margin: 0; }

body, html {
  max-width: 100vw;
  overflow-x: hidden;
  font-family: Inter, sans-serif;
  overflow-wrap: break-word;
  scrollbar-width: thin;
  scrollbar-color: #888 #f0f0f0;
  scroll-behavior: smooth;
}

::-webkit-scrollbar { height: 5px; width: 3px; }
::-webkit-scrollbar-thumb { background-color: #888; border-radius: 5px; }
::-webkit-scrollbar-track { width: 3px; border-radius: 5px; background-color: #f0f0f0; }

a { text-decoration: none; }
a, a:hover, a:visited { color: #344054; }

/* --- Layout --- */
.th-container {
  padding-left: 8%;
  padding-right: 8%;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}
@media only screen and (max-width: 768px) {
  .th-container { padding-left: 4%; padding-right: 4%; }
}
@media only screen and (min-width: 1400px) {
  .th-container { padding-left: 8%; padding-right: 8%; }
}

.th-bg-img {
  background-size: cover !important;
  background-position: 50% !important;
  background-repeat: no-repeat !important;
}

/* --- Utilities --- */
.th-fw-400 { font-weight: 400; }
.th-fw-500 { font-weight: 500; }
.th-fw-600 { font-weight: 600; }
.th-fw-700 { font-weight: 700; }
.th-br-10  { border-radius: 10px; }
.th-pointer { cursor: pointer !important; }

.th-white-text    { color: #fff !important; }
.th-black-text    { color: #000 !important; }
.th-grey-600-text { color: #475467 !important; }
.th-grey-800-text { color: #1d2939 !important; }
.th-grey-900-text { color: #101828 !important; }

/* --- Navbar --- */
.th-menu {
  background: #fdb022 !important;
  position: sticky !important; top: 0 !important; z-index: 1000 !important;
  box-shadow: 0 3px 16px rgba(124,45,18,0.25) !important;
  padding: 8px 5% !important; justify-content: space-between !important;
}
.Header_th-header-logo__3oYz_ { width: auto; flex-shrink: 0; }
.parent {
  display: block; position: relative; float: left; line-height: 30px;
  background: transparent !important; color: #fff !important; font-weight: 500;
}
.parent div { margin: 2px; background: transparent !important; color: #fff !important; font-weight: 600 !important; transition: color 0.2s; }
.parent:hover > a > div > div { color: rgba(255,255,255,0.7) !important; }
.parent:hover > ul { display: block; position: absolute; }
.parent li:hover { background-color: #f0f0f0; }
.child {
  display: none; max-height: 500px; overflow: scroll; overflow-x: hidden;
  background: #fff; border-radius: 5px; padding: 10px;
  box-shadow: 0 6px 16px 0 rgb(0 0 0/8%), 0 3px 6px -4px rgba(0,0,0,0.12), 0 9px 28px 8px rgb(0 0 0/5%);
}
.child li { width: 100%; background: #fff; border: 1px solid #ccc; }
.child li a { color: #344054; }
.th-menu ul { list-style: none !important; margin: 0; padding: 5px 10px; min-width: 300px; }
#menu { list-style: none !important; padding: 0 !important; display: flex !important; }

#nav-toggle {
  display: none; background: none; border: 2px solid rgba(255,255,255,0.6);
  border-radius: 6px; color: #fff; font-size: 20px; padding: 4px 10px; cursor: pointer;
}
@media (max-width: 768px) {
  #nav-toggle { display: block; }
  #menu { display: none !important; width: 100%; flex-direction: column !important; padding: 8px 0 !important; }
  #menu.open { display: flex !important; }
  .parent { float: none !important; width: 100% !important; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .th-menu { flex-wrap: wrap !important; padding: 10px 4% !important; align-items: center !important; }
  .Header_th-header-logo__3oYz_ { width: auto !important; }
}

/* --- Hero --- */
.branch_th-city-img__XFRX4 {
  height: 88vh !important; min-height: 500px; position: relative;
  display: flex !important; justify-content: center !important; align-items: center !important;
  background-size: cover !important; background-position: center !important;
}
.branch_th-city-img__XFRX4::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(124,45,18,0.70) 0%, rgba(100,30,10,0.45) 60%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}
.branch_th-name-info__zTYGB { position: relative; z-index: 2; width: 100%; }
.branch_th-cityname__6p2xH h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem) !important; font-weight: 800 !important;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5); line-height: 1.25 !important;
}
.branch_th-cityname__6p2xH p { font-size: 1.05rem !important; letter-spacing: 0.04em; opacity: 0.92; }
@media (max-width: 768px) {
  .branch_th-city-img__XFRX4 {
    height: auto !important; min-height: 360px !important;
    align-items: flex-start !important; padding: 2.5rem 0 2rem !important;
  }
}

/* --- About --- */
.th-black-text, h4.th-fw-500, h4.th-fw-600, h6.th-fw-600 { text-align: left !important; }
h2.th-fw-600.th-black-text {
  color: #9D0022 !important; font-size: 2rem !important; font-weight: 700 !important;
  position: relative; padding-bottom: 14px;
}
h2.th-fw-600.th-black-text::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 55px; height: 4px; background: #9D0022; border-radius: 2px;
}
h4.th-fw-500 { color: #475467 !important; font-size: 1.05rem !important; margin-top: 8px !important; }
.pb-2, .py-4 { text-align: justify; }

/* --- Mandatory Disclosure --- */
.sub-head { margin: 30px 0 10px; }
.sub-head h3, .sub-head h2, .sub-head h1 {
  width: 100%; text-transform: uppercase; color: #9D0022 !important;
  margin: 20px 0 !important; font-size: 1.05rem !important; font-weight: 700 !important;
  letter-spacing: 0.07em; text-align: left !important; padding: 11px 18px !important;
  border-left: 5px solid #9D0022;
  background: linear-gradient(90deg, rgba(253,176,34,0.12) 0%, transparent 70%);
  border-radius: 0 8px 8px 0;
}
#closure {
  color: #c72027 !important; border-left-color: #c72027 !important;
  background: linear-gradient(90deg, rgba(199,32,39,0.08) 0%, transparent 70%) !important;
}

/* --- Tables --- */
table, th, td, thead, tbody { border: 1px solid #e0c8b8 !important; text-align: center; font-size: 14px; }
th {
  background: #fdb022 !important; color: #9D0022 !important;
  font-weight: 700 !important; padding: 13px 14px !important;
  letter-spacing: 0.04em; border-color: #e09a1a !important;
}
td { padding: 10px 14px !important; color: #2d3748; vertical-align: middle; }
tbody tr:nth-child(even) td { background-color: #fdf5ef !important; }
tbody tr:hover td { background-color: #fef3d0 !important; }
.scroller {
  overflow-x: auto; border-radius: 12px;
  box-shadow: 0 2px 18px rgba(124,45,18,0.1); margin-bottom: 28px;
}
.table { border-radius: 12px; overflow: hidden; margin-bottom: 0 !important; }
table a { color: #9D0022 !important; font-weight: 500; text-underline-offset: 2px; }
table a:hover { color: #fdb022 !important; }

/* --- Fee Table --- */
.fees_bg__CSqMf {
  background: linear-gradient(145deg, #9D0022 0%, #9a3412 100%) !important;
  border: none !important; border-radius: 20px !important;
  box-shadow: 0 10px 44px rgba(124,45,18,0.3) !important;
}
.fees_bg__CSqMf h2 { color: #ffffff !important; }
.fees_bg__CSqMf table th {
  background: rgba(253,176,34,0.25) !important; color: #fdb022 !important;
  border-color: rgba(253,176,34,0.2) !important;
}
.fees_bg__CSqMf table td {
  background: rgba(255,255,255,0.05) !important; color: #fde8d8 !important;
  border-color: rgba(255,255,255,0.08) !important;
}
.fees_bg__CSqMf tbody tr:nth-child(even) td { background: rgba(255,255,255,0.09) !important; }
.fees_bg__CSqMf tbody tr:hover td { background: rgba(253,176,34,0.1) !important; }

/* --- Principal / VP Quote --- */
.principalSay_th-princiQuote-bg__caERw {
  background: linear-gradient(135deg, #fef9f0 0%, #fef0d0 100%) !important;
  border-left: 5px solid #9D0022 !important; border-radius: 12px !important;
  padding: 20px 24px !important; font-style: italic; font-size: 1.05rem; color: #1d2939 !important;
}

/* --- Contact --- */
#contact { padding-bottom: 40px; }
#contact h1.th-black-text { color: #9D0022 !important; font-weight: 700 !important; position: relative; padding-bottom: 16px; }
#contact h1.th-black-text::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 4px; background: #fdb022; border-radius: 2px;
}
#contact h4.th-fw-600 {
  color: #9D0022 !important; border-bottom: 2px solid #fdb022;
  padding-bottom: 8px; display: inline-block; margin-bottom: 16px !important;
}
#contact .th-fw-400.th-grey-900-text { color: #475467 !important; line-height: 1.75; }
#contact a[href^="tel"] { color: #9D0022 !important; font-weight: 600 !important; }
iframe { border-radius: 14px !important; box-shadow: 0 4px 24px rgba(124,45,18,0.14) !important; }
.col-md-6 iframe[src*="youtube"] { width: 100%; max-width: 100%; height: 280px; }
@media (max-width: 768px) { .col-md-6 iframe[src*="youtube"] { height: 220px; } }

/* --- Footer --- */
.mt-3.mt-md-5 { background: #9D0022 !important; }
.mt-3.mt-md-5 p { color: #fde8d8 !important; }

/* --- Snackbar --- */
.snackbar {
  display: none; z-index: 2001; padding: 7px 30px; background-color: #fff;
  transform: translateX(10%); color: #333; border-radius: 5px; opacity: 0;
  animation: pop-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  box-shadow: 0 6px 16px 0 rgb(0 0 0/8%), 0 3px 6px -4px rgba(0,0,0,0.12), 0 9px 28px 8px rgb(0 0 0/5%);
}
.snackbar.show { opacity: 1; display: block; }
.snackbar .message { display: inline-block; }
@keyframes pop-in {
  0% { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}
.snackbar-container { position: fixed; top: 110px; z-index: 2001; }
