@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-premium: 'Plus Jakarta Sans', sans-serif;
  --primary-glow: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  --secondary-glow: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  --bg-gradient-dark: radial-gradient(circle at 10% 20%, rgba(15, 23, 42, 0.98) 0%, rgba(9, 15, 30, 1) 90%);
}

/* GLOBAL PREMIUM FONT OVERRIDE FOR HERO/NAV */
.premium-nav, .premium-hero {
  font-family: var(--font-premium) !important;
}

/* ==========================================
   GLASSMORPHIC NAVIGATION BAR (FIXED TO TOP)
   ========================================== */
#main-wrapper {
  padding-top: 80px !important;
}

.header.header-light.head-shadow {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10px 0;
}

/* Brand Logo Styling */
.nav-brand img.logo {
  height: 52px !important;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.nav-brand:hover img.logo {
  transform: scale(1.03);
}

/* Nav Link Redesign */
.nav-menu > li > a {
  font-family: var(--font-premium) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  color: #334155 !important;
  padding: 10px 18px !important;
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  background: #0d9488;
  border-radius: 4px;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu > li:hover > a {
  color: #0d9488 !important;
}

.nav-menu > li:hover > a::after {
  transform: scaleX(1);
}

.nav-menu > li.active > a {
  color: #0d9488 !important;
}

.nav-menu > li.active > a::after {
  transform: scaleX(1);
}

/* Navbar Custom CTA Button & Layout Alignment */
@media (min-width: 992px) {
  #navigation {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }
  
  .nav-header {
    float: none !important;
    display: flex !important;
    align-items: center !important;
  }
  
  .nav-menus-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-grow: 1 !important;
    float: none !important;
    margin-left: 40px !important;
    background: transparent !important;
  }
  
  .nav-menu {
    float: none !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
  }
}

.nav-cta-btn {
  background: var(--primary-glow);
  color: #ffffff !important;
  font-family: var(--font-premium);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
  color: #ffffff !important;
}

/* Mobile Toggle Styling */
.nav-toggle {
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ==========================================
   PREMIUM HERO SECTION
   ========================================== */
.premium-hero {
  position: relative;
  background: var(--bg-gradient-dark) !important;
  padding: 140px 0 120px !important;
  overflow: hidden;
}

/* Glowing Ambient Orbs */
.premium-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, rgba(13, 148, 136, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.premium-hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, rgba(56, 189, 248, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.premium-hero .container {
  position: relative;
  z-index: 2;
}

/* Pill Badge */
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(13, 148, 136, 0.3);
  padding: 8px 18px;
  border-radius: 100px;
  color: #2dd4bf;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Headings & Text */
.premium-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: #ffffff;
  margin-bottom: 20px;
}

.premium-hero-title span.highlight-text {
  background: linear-gradient(135deg, #2dd4bf 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.premium-hero-desc {
  font-size: 18px;
  line-height: 1.6;
  color: #94a3b8 !important;
  max-width: 600px;
  margin-bottom: 35px;
  font-weight: 400;
}

/* Stats / Trust Badges */
.hero-stats-row {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.hero-stat-number span {
  color: #2dd4bf;
}

.hero-stat-label {
  font-size: 13px;
  color: #64748b;
  margin-top: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Glassmorphic Search Card */
.glass-search-card {
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px !important;
  padding: 30px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
  position: relative;
  overflow: hidden;
}

.glass-search-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.3), transparent);
}

.glass-search-card-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
}

/* Search Tabs / Radios */
.search-type-tabs {
  display: flex;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 20px;
}

.search-type-tab-item {
  flex: 1;
  text-align: center;
}

.search-type-tab-item input[type="radio"] {
  display: none;
}

.search-type-tab-item label {
  display: block;
  padding: 10px;
  border-radius: 8px;
  color: #94a3b8;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-type-tab-item input[type="radio"]:checked + label {
  background: rgba(13, 148, 136, 0.2);
  color: #2dd4bf;
  border: 1px solid rgba(13, 148, 136, 0.4);
}

/* Form Controls in Card */
.glass-search-card .form-group-custom {
  position: relative;
  margin-bottom: 18px;
}

.glass-search-card .form-group-custom label {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: block;
}

.glass-search-card .form-control-custom {
  background: rgba(15, 23, 42, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  padding: 12px 16px 12px 42px !important;
  font-size: 15px !important;
  transition: all 0.3s ease !important;
}

.glass-search-card .form-control-custom::placeholder {
  color: #475569;
}

.glass-search-card .form-control-custom:focus {
  border-color: #0d9488 !important;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.25) !important;
  background: rgba(15, 23, 42, 0.6) !important;
}

.glass-search-card .form-icon {
  position: absolute;
  bottom: 14px;
  left: 15px;
  color: #64748b;
  font-size: 16px;
  transition: color 0.3s ease;
}

.glass-search-card .form-control-custom:focus ~ .form-icon {
  color: #2dd4bf;
}

/* Glass Search Card Button */
.glass-search-btn {
  width: 100%;
  background: var(--primary-glow) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 15px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  letter-spacing: 0.5px;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4) !important;
  margin-top: 10px;
}

.glass-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(13, 148, 136, 0.55) !important;
}

/* ==========================================
   RESPONSIVENESS
   ========================================== */
@media (max-width: 991.98px) {
  .premium-hero {
    padding: 120px 0 80px !important;
    text-align: center;
  }
  
  .premium-hero-title {
    font-size: 2.6rem;
  }
  
  .premium-hero-desc {
    margin: 0 auto 30px;
  }
  
  .hero-stats-row {
    justify-content: center;
    margin-bottom: 40px;
  }
  
  .glass-search-card {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
  }
}

@media (max-width: 767.98px) {
  .hero-stats-row {
    gap: 20px;
  }
  .hero-stat-number {
    font-size: 1.6rem;
  }
}

/* ==========================================
   MOBILE NAVIGATION RESPONSIVE / ACCORDION STYLE OVERRIDES
   ========================================== */
@media (max-width: 991.98px) {
  /* Force visibility, height, solid white background, and high z-index for the fixed header container */
  .header.header-light.head-shadow {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 70px !important;
    z-index: 99999 !important;
    background: #ffffff !important;
    padding: 10px 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  }

  /* Force display and height for navigation container */
  #navigation {
    display: block !important;
    height: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Align header contents on mobile - acts as relative positioning anchor */
  .nav-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 50px !important;
    width: 100% !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Reset logo container height and display */
  .nav-brand {
    display: flex !important;
    align-items: center !important;
    height: 50px !important;
    padding: 0 !important;
    margin: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Style the brand logo image to fit nicely within the 50px nav-header */
  .nav-brand img.logo {
    height: 40px !important;
    max-height: 40px !important;
    width: auto !important;
    top: 0 !important;
    mix-blend-mode: normal !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Mobile Phone/Call Button Style in Navbar - Centered vertically and placed next to hamburger */
  .mobile-phone-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    background: #0d9488 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 50px !important;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2) !important;
    transition: all 0.2s ease !important;
    z-index: 100000 !important;
    text-decoration: none !important;
  }

  .mobile-phone-btn:hover {
    background: #0f766e !important;
    transform: translateY(-50%) scale(1.05) !important;
    color: #ffffff !important;
  }

  /* Ensure the drawer container is visible and styled beautifully with fixed position and sliding states */
  .navigation-portrait .nav-menus-wrapper {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    width: 300px !important;
    left: -320px !important; /* Default off-screen left */
    display: block !important;
    background-color: #ffffff !important;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.15) !important;
    padding: 30px 20px !important;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000000 !important; /* Ensure it renders above the fixed header and other elements */
    transition: left 0.3s ease, right 0.3s ease !important;
  }

  .navigation-portrait .nav-menus-wrapper.nav-menus-wrapper-open {
    left: 0 !important;
  }

  /* Support right side drawer if active */
  .navigation-portrait .nav-menus-wrapper.nav-menus-wrapper-right {
    left: auto !important;
    right: -320px !important;
    border-right: none !important;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15) !important;
  }

  .navigation-portrait .nav-menus-wrapper.nav-menus-wrapper-right.nav-menus-wrapper-open {
    right: 0 !important;
  }

  /* Hamburger Toggle Style - Centered vertically at the rightmost edge */
  .nav-toggle {
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    background: #f1f5f9 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 0 !important;
    margin-top: 0 !important;
    transition: all 0.2s ease !important;
  }

  .nav-toggle:hover {
    background: #e2e8f0 !important;
  }

  .nav-toggle::before {
    content: "" !important;
    position: relative !important;
    width: 20px !important;
    height: 2px !important;
    background-color: #0d9488 !important;
    border-radius: 2px !important;
    box-shadow: 0 6px 0 0 #0d9488, 0 -6px 0 0 #0d9488 !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 auto !important;
  }

  /* Close Button in Drawer */
  .navigation-portrait .nav-menus-wrapper-close-button {
    width: 36px !important;
    height: 36px !important;
    margin: 0 0 20px auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    font-weight: bold !important;
    color: #0d9488 !important;
    background: rgba(13, 148, 136, 0.08) !important;
    border-radius: 50% !important;
    border: none !important;
    transition: all 0.2s ease !important;
    float: none !important;
  }

  .navigation-portrait .nav-menus-wrapper-close-button:hover {
    background: rgba(13, 148, 136, 0.15) !important;
    transform: rotate(90deg);
  }

  /* Nav Menu List */
  .navigation-portrait .nav-menu {
    margin-top: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .navigation-portrait .nav-menu > li {
    width: 100% !important;
    float: none !important;
  }

  .navigation-portrait .nav-menu > li > a {
    font-family: var(--font-premium) !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    color: #334155 !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-radius: 8px !important;
    width: 100% !important;
    display: block !important;
    transition: all 0.2s ease !important;
    float: none !important;
  }

  /* Disable underline effect on mobile */
  .navigation-portrait .nav-menu > li > a::after {
    display: none !important;
  }

  .navigation-portrait .nav-menu > li:hover > a,
  .navigation-portrait .nav-menu > li.active > a {
    color: #0d9488 !important;
    background-color: rgba(13, 148, 136, 0.05) !important;
    border-bottom: 1px solid transparent !important;
  }
}

@media (min-width: 992px) {
  .mobile-phone-btn {
    display: none !important;
  }
}


/* ==========================================
   PREMIUM ERROR STATE STYLING
   ========================================== */
.premium-error-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05), 0 5px 15px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 600px;
  margin: 20px auto;
}

.premium-error-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.03);
}

.premium-error-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff9800 0%, #ff5722 100%);
}

.error-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 152, 0, 0.08);
  border-radius: 50%;
  color: #ff9800;
  margin-bottom: 1.5rem;
  animation: pulse-orange 2s infinite;
}

.error-icon-wrapper i {
  font-size: 32px;
}

@keyframes pulse-orange {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 152, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 152, 0, 0);
  }
}

.premium-error-title {
  font-family: var(--font-premium);
  color: #0f172a;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
}

.premium-error-desc {
  font-family: var(--font-premium);
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

.premium-error-btn-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 1.75rem;
}

.premium-error-btn-primary {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #ffffff !important;
  font-family: var(--font-premium);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.premium-error-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
}

.premium-error-btn-secondary {
  background: #ffffff;
  color: #0f766e !important;
  font-family: var(--font-premium);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid rgba(13, 148, 136, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.premium-error-btn-secondary:hover {
  background: rgba(13, 148, 136, 0.04);
  transform: translateY(-2px);
}

