/* =============================================
   ViserTrip - Main Stylesheet
   Modern Travel SaaS UI
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;600;700;800&display=swap');

:root {
  --primary:       #0066FF;
  --primary-dark:  #0047CC;
  --primary-light: #EBF2FF;
  --secondary:     #FF6B35;
  --accent:        #00C9A7;
  --dark:          #0B1426;
  --dark-2:        #131F35;
  --gray-900:      #1A2332;
  --gray-700:      #374151;
  --gray-500:      #6B7280;
  --gray-300:      #D1D5DB;
  --gray-100:      #F3F4F6;
  --white:         #FFFFFF;
  --success:       #10B981;
  --warning:       #F59E0B;
  --danger:        #EF4444;
  --info:          #3B82F6;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --shadow:        0 4px 20px rgba(0,0,0,.1);
  --shadow-lg:     0 10px 40px rgba(0,0,0,.15);
  --shadow-xl:     0 20px 60px rgba(0,0,0,.2);
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --transition:    .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--gray-700);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Navbar ─────────────────────────────── */
.navbar-vt {
  background: transparent;
  padding: 1.2rem 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}
.navbar-vt.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  padding: .8rem 0;
}
.navbar-vt .navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.navbar-vt .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  padding: .5rem 1rem !important;
  transition: var(--transition);
}
.navbar-vt.scrolled .nav-link { color: var(--gray-700) !important; }
.navbar-vt .nav-link:hover { color: var(--primary) !important; }
.btn-nav-login {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.4);
  color: var(--white) !important;
  border-radius: 50px;
  padding: .4rem 1.4rem !important;
  backdrop-filter: blur(10px);
}
.navbar-vt.scrolled .btn-nav-login {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white) !important;
}

/* ── Hero ───────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0B1426 0%, #0066FF 50%, #00C9A7 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='30'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .4rem 1rem;
  color: var(--white);
  font-size: .85rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero h1 span {
  background: linear-gradient(135deg, #FFD700, #FF6B35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lead {
  color: rgba(255,255,255,.75);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

/* Search Box */
.search-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}
.search-tabs .nav-link {
  color: var(--gray-500);
  font-weight: 600;
  border-radius: 10px;
  padding: .5rem 1.2rem;
}
.search-tabs .nav-link.active {
  background: var(--primary);
  color: var(--white) !important;
}
.search-input-group {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
}
@media(max-width:768px){ .search-input-group { grid-template-columns: 1fr; } }
.search-field label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .4rem;
  display: block;
}
.search-field input, .search-field select {
  width: 100%;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  padding: .7rem 1rem;
  font-size: .95rem;
  transition: var(--transition);
}
.search-field input:focus, .search-field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,102,255,.1);
}

/* ── Buttons ─────────────────────────────── */
.btn-primary-vt {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: .75rem 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  font-size: .95rem;
}
.btn-primary-vt:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,102,255,.4);
  color: var(--white);
}
.btn-secondary-vt {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 50px;
  padding: .75rem 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.btn-secondary-vt:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white-vt {
  background: var(--white);
  color: var(--primary);
  border: none;
  border-radius: 50px;
  padding: .75rem 2rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.btn-white-vt:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--primary); }

/* ── Sections ─────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--primary-light); color: var(--primary);
  border-radius: 50px; padding: .35rem .9rem;
  font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .75rem;
}
.section-title span { color: var(--primary); }
.section-sub { color: var(--gray-500); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ── Tour Card ─────────────────────────────── */
.tour-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.06);
  transition: var(--transition);
  cursor: pointer;
  height: 100%;
}
.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.tour-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.tour-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.tour-card:hover .tour-card-img img { transform: scale(1.08); }
.tour-badge-type {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 6px;
  padding: .25rem .75rem;
  font-size: .78rem;
  font-weight: 600;
}
.tour-badge-featured {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--secondary);
  color: var(--white);
  border-radius: 6px;
  padding: .25rem .75rem;
  font-size: .78rem;
  font-weight: 600;
}
.tour-card-body { padding: 1.4rem; }
.tour-destination {
  display: flex; align-items: center; gap: .3rem;
  color: var(--gray-500); font-size: .83rem; margin-bottom: .5rem;
}
.tour-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--dark); margin-bottom: .8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tour-meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  color: var(--gray-500); font-size: .82rem;
  margin-bottom: 1rem;
}
.tour-meta span { display: flex; align-items: center; gap: .3rem; }
.tour-card-footer {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  border-top: 1px solid var(--gray-100);
}
.tour-price { font-family: 'Poppins', sans-serif; }
.tour-price .from { font-size: .78rem; color: var(--gray-500); }
.tour-price .amount {
  font-size: 1.3rem; font-weight: 800; color: var(--primary);
}
.tour-rating { display: flex; align-items: center; gap: .3rem; font-size: .85rem; }
.tour-rating .stars { color: #F59E0B; }

/* ── Destination Card ─────────────────────── */
.dest-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  cursor: pointer;
  transition: var(--transition);
}
.dest-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.dest-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.dest-card:hover img { transform: scale(1.05); }
.dest-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 60%);
}
.dest-info {
  position: absolute;
  bottom: 1.2rem; left: 1.2rem; right: 1.2rem;
}
.dest-info h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--white); font-size: 1.2rem; font-weight: 700;
}
.dest-info p { color: rgba(255,255,255,.8); font-size: .85rem; }

/* ── Visa Card ─────────────────────────────── */
.visa-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex; gap: 1.2rem; align-items: flex-start;
}
.visa-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.visa-flag { font-size: 2.5rem; line-height: 1; }
.visa-info h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--dark); margin-bottom: .4rem;
}
.visa-meta { font-size: .83rem; color: var(--gray-500); }
.visa-fee { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-top: .5rem; }

/* ── Testimonial ─────────────────────────── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  height: 100%;
}
.testimonial-text {
  color: var(--gray-700); font-size: .95rem;
  line-height: 1.8; margin-bottom: 1.5rem;
  position: relative;
}
.testimonial-text::before {
  content: '"';
  font-size: 4rem; color: var(--primary-light);
  position: absolute; top: -1rem; left: -0.5rem;
  font-family: serif; line-height: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.author-name { font-weight: 700; color: var(--dark); }
.author-title { font-size: .82rem; color: var(--gray-500); }

/* ── Blog Card ─────────────────────────────── */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  height: 100%;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.4rem; }
.blog-category {
  font-size: .75rem; font-weight: 600; color: var(--primary);
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: .5rem;
}
.blog-card h3 {
  font-size: 1rem; font-weight: 700; color: var(--dark);
  margin-bottom: .6rem; line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-meta { font-size: .8rem; color: var(--gray-500); display: flex; gap: 1rem; }

/* ── Stats ─────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  padding: 5rem 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: .5rem;
}
.stat-label { color: rgba(255,255,255,.6); font-size: .95rem; }

/* ── CTA ───────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.07' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.cta-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  position: relative;
}
.cta-section p { color: rgba(255,255,255,.85); font-size: 1.1rem; position: relative; }

/* ── Footer ─────────────────────────────────── */
.footer-main {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 5rem 0 2rem;
}
.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  margin-bottom: 1rem;
}
.footer-main h5 { color: var(--white); font-weight: 700; margin-bottom: 1.2rem; }
.footer-main a { color: rgba(255,255,255,.6); text-decoration: none; display: block; margin-bottom: .5rem; transition: var(--transition); }
.footer-main a:hover { color: var(--primary); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 2rem; margin-top: 3rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.social-links { display: flex; gap: .8rem; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); text-decoration: none;
  transition: var(--transition);
}
.social-link:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }

/* ── Utility ──────────────────────────────── */
.section-padding { padding: 6rem 0; }
.section-padding-sm { padding: 4rem 0; }
.rounded-vt { border-radius: var(--radius-lg) !important; }
.text-primary-vt { color: var(--primary) !important; }
.bg-primary-vt { background: var(--primary) !important; }
.bg-light-vt { background: var(--gray-100); }

/* Toast */
.toast-container { position: fixed; top: 1.5rem; right: 1.5rem; z-index: 9999; }
.toast-vt {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--success);
  display: flex; align-items: center; gap: .8rem;
  min-width: 280px;
  animation: slideIn .3s ease;
}
.toast-vt.error { border-color: var(--danger); }
.toast-vt.warning { border-color: var(--warning); }
@keyframes slideIn {
  from { transform: translateX(100px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* Loading */
.page-loader {
  position: fixed; inset: 0;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999;
  transition: opacity .4s;
}
.loader-spinner {
  width: 50px; height: 50px;
  border: 4px solid var(--gray-100);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Rating Stars */
.star-rating { display: flex; gap: .2rem; cursor: pointer; }
.star-rating i { color: var(--gray-300); font-size: 1.2rem; transition: color .2s; }
.star-rating i.active, .star-rating i:hover { color: #F59E0B; }

/* Breadcrumb */
.breadcrumb-vt {
  background: var(--gray-100);
  padding: 3rem 0;
  margin-top: 76px;
}
.breadcrumb-vt h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem; font-weight: 700; color: var(--dark);
}

/* Forms */
.form-vt .form-label { font-weight: 500; color: var(--gray-700); }
.form-vt .form-control, .form-vt .form-select {
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  padding: .65rem 1rem;
  font-size: .95rem;
  transition: var(--transition);
}
.form-vt .form-control:focus, .form-vt .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,102,255,.1);
}

/* Status Badges */
.badge-status {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .25rem .75rem;
  border-radius: 50px;
  font-size: .78rem; font-weight: 600;
}
.badge-pending  { background: #FEF3C7; color: #92400E; }
.badge-active   { background: #D1FAE5; color: #065F46; }
.badge-approved { background: #D1FAE5; color: #065F46; }
.badge-rejected { background: #FEE2E2; color: #991B1B; }
.badge-processing { background: #DBEAFE; color: #1E40AF; }
.badge-completed  { background: #F3F4F6; color: #374151; }

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s, transform .6s;
}
.fade-up.visible { opacity: 1; transform: none; }

@media(max-width:768px){
  .hero h1 { font-size: 2.2rem; }
  .section-padding { padding: 4rem 0; }
  .search-box { padding: 1rem; }
}
