
:root {
  --tw-cyan: #22d3ee;
  --tw-cyan-dim: rgba(34, 211, 238, 0.15);
  --tw-nav-height: 75px;
}

body { padding-top: var(--tw-nav-height); }

@media (max-width: 991px) {
  :root { --tw-nav-height: 62px; }
  body { padding-top: var(--tw-nav-height); }
}


/* ===== NAVBAR ===== */
.tw-navbar {
  position: fixed !important;
  top: 0; left: 0;
  width: 100%;
  height: var(--tw-nav-height
  );
  z-index: 1030;
  background: #ffffff;
  padding: 0 16px !important;
  transition: all 0.35s ease;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
}

.tw-navbar > .container {
  height: 100%;
  display: flex;
  align-items: center;
}

.tw-navbar.tw-scrolled {
  background: rgba(255,255,255,0.96) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.1) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

/* ===== BRAND ===== */
.tw-brand {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  flex-shrink: 0;
}

.tw-logo {
  width: 190px;
  height: 90px;
  object-fit: contain;
}

/* ===== DESKTOP NAV ===== */
.tw-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  gap: 0;
  height: 100%;
}

.tw-nav-list > li {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.tw-nav-link {
  color: #1e293b !important;
  font-size: 16px !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 520;
  padding: 6px 16px !important;
  position: relative;
  transition: color 0.2s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* Sidebar Dropdown */
.tw-sidebar-submenu {
  list-style: none;
  padding: 0 0 0 18px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.tw-sidebar-dropdown.open .tw-sidebar-submenu {
  max-height: 300px;
}
.tw-sidebar-submenu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  color: #64748b;
  font-size: 13.5px;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.25s;
}
.tw-sidebar-submenu li a:hover {
  color: #2563eb;
  background: rgba(37,99,235,0.06);
}
.tw-sidebar-has-dropdown {
  display: flex !important;
  align-items: center;
}
.tw-sidebar-arrow {
  font-size: 10px !important;
  transition: transform 0.3s;
  margin-left: auto;
}
.tw-sidebar-dropdown.open .tw-sidebar-arrow {
  transform: rotate(180deg);
}

.tw-nav-link:hover {
  color: #2563eb !important;
  background: transparent;
}

.tw-nav-link.tw-active {
  color: #2563eb !important;
  font-weight: 600;
}

.tw-has-dropdown .tw-arrow {
  font-size: 11px;
  transition: transform 0.25s ease;
}

.tw-dropdown:hover .tw-has-dropdown .tw-arrow {
  transform: rotate(180deg);
}

/* ===== DROPDOWN ===== */
.tw-dropdown-menu {
  position: absolute;
  top: calc(100% + 0px);
  left: 0;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  list-style: none;
  padding: 8px 0;
  margin: 0;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease;
  z-index: 100;
}

.tw-dropdown:hover .tw-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tw-dropdown-menu li a {
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 13.5px;
  color: #1e293b;
  text-decoration: none;
  transition: all 0.18s ease;
}

.tw-dropdown-menu li a i {
  color: #2563eb;
  font-size: 15px;
}

.tw-dropdown-menu li a:hover {
  background: rgba(37,99,235,0.06);
  color: #2563eb;
  padding-left: 24px;
}

/* ===== CTA GROUP ===== */
.tw-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ===== PHONE BUTTON ===== */
.tw-btn-phone {
  background: #2563eb;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  padding: 10px 20px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.tw-btn-phone:hover {
  background: #1d4ed8;
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(37,99,235,0.35);
  color: #ffffff !important;
}

.tw-btn-phone-sidebar {
  width: 100%;
  display: flex;
  justify-content: center;
  border-radius: 30px;
}

/* ===== CONTACT BUTTON ===== */
.tw-btn-cta {
  background: #f59e0b;
  color: #1a1a1a !important;
  font-size: 13.5px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  padding: 10px 22px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

.tw-btn-cta:hover {
  background: #d97706;
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(245,158,11,0.4);
  color: #1a1a1a !important;
}

/* ===== HAMBURGER ===== */
.tw-toggler {
  border: none !important;
  background: transparent !important;
  width: 42px; height: 42px;
  padding: 0 !important;
  z-index: 1051;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
  margin-left: auto;
}

.tw-toggler:focus { outline: none; }
.tw-toggler:hover { transform: scale(1.1); }

.tw-toggler-icon {
  display: block;
  width: 26px; height: 26px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%231e293b' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

body.tw-menu-open .tw-toggler { display: none !important; }

/* ===== OVERLAY ===== */
.tw-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  z-index: 1049;
  pointer-events: none;
  transition: background 0.4s ease;
}

.tw-overlay.tw-open {
  background: rgba(0,0,0,0.4);
  pointer-events: all;
  backdrop-filter: blur(2px);
}

/* ===== SIDEBAR ===== */
.tw-sidebar {
  position: fixed !important;
  top: 0; right: -300px;
  width: 280px;
  height: 100vh;
  background: #ffffff;
  padding: 0 !important;
  box-shadow: -4px 0 30px rgba(0,0,0,0.12);
  transition: right 0.42s cubic-bezier(0.4,0,0.2,1);
  z-index: 1050;
  overflow-y: auto;
  border-left: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.tw-sidebar.tw-open { right: 0; }

/* ===== SIDEBAR CLOSE ===== */
.tw-close-btn {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  background: rgba(0,0,0,0.05);
  color: #1e293b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
}

.tw-close-btn:focus { outline: none; }
.tw-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  transform: rotate(90deg);
}

/* ===== SIDEBAR INNER ===== */
.tw-sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 0 24px;
}

/* ===== SIDEBAR BRAND ===== */
.tw-sidebar-brand {
  padding: 10px 20px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  margin-bottom: 10px;
}

.tw-sidebar-brand img {
  width: 150px;
  height: 45px;
  object-fit: contain;
}

/* ===== SIDEBAR NAV ===== */
.tw-sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tw-sidebar-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  padding: 11px 14px;
  color: #1e293b !important;
  border-radius: 8px;
  background: transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.tw-sidebar-link i {
  font-size: 16px;
  color: #64748b;
  transition: color 0.2s;
}

.tw-sidebar-link:hover {
  color: #2563eb !important;
  background: rgba(37,99,235,0.06);
}

.tw-sidebar-link:hover i { color: #2563eb; }

.tw-sidebar-link.tw-active {
  color: #2563eb !important;
  background: rgba(37,99,235,0.08);
  font-weight: 600;
  border-left: 3px solid #2563eb;
}

.tw-sidebar-link.tw-active i { color: #2563eb; }

/* ===== SIDEBAR CTA ===== */
.tw-sidebar-cta {
  margin: 20px 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tw-sidebar-cta .tw-btn-cta {
  width: 100%;
  display: block;
  text-align: center;
  padding: 11px;
  font-size: 13.5px;
  border-radius: 30px;
}

/* ===== SIDEBAR FOOTER ===== */
.tw-sidebar-footer {
  margin-top: auto;
  padding: 20px 20px 0;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.tw-sidebar-social {
  margin-left:  12px;
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.tw-sidebar-social a {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
  color: #64748b;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}

.tw-sidebar-social a:hover {
  background: rgba(37,99,235,0.08);
  border-color: #2563eb;
  color: #2563eb;
}

.tw-sidebar-copyright {
  font-size: 10px;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

/* ===== ANIMATIONS ===== */
.tw-sidebar.tw-open .tw-sidebar-nav li { animation: twSlideIn 0.35s ease both; }
.tw-sidebar.tw-open .tw-sidebar-nav li:nth-child(1) { animation-delay: 0.05s; }
.tw-sidebar.tw-open .tw-sidebar-nav li:nth-child(2) { animation-delay: 0.10s; }
.tw-sidebar.tw-open .tw-sidebar-nav li:nth-child(3) { animation-delay: 0.15s; }
.tw-sidebar.tw-open .tw-sidebar-nav li:nth-child(4) { animation-delay: 0.20s; }
.tw-sidebar.tw-open .tw-sidebar-nav li:nth-child(5) { animation-delay: 0.25s; }

@keyframes twSlideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

body.tw-menu-open { overflow: hidden; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .tw-logo { width: 180px !important; height: 60px !important; }
  .tw-nav-list { display: none !important; }
  .tw-cta-group.tw-desktop-cta { display: none !important; }
  .tw-toggler { display: flex !important; }


}

@media (max-width: 991px) {
  .tw-sidebar-arrow,
  .tw-sidebar-arrow i,
  .tw-sidebar-arrow svg {
    font-size: 22px !important;
    width: 22px !important;
    height: 22px !important;
  }
}

@media (min-width: 992px) {
  .tw-overlay { display: none !important; }
  .tw-sidebar { display: none !important; }
  .tw-toggler { display: none !important; }
  .tw-nav-list { display: flex !important; }
  .tw-cta-group { display: flex !important; }
}