:root {
  --primary-color: #0b4f6c;
  --secondary-color: #0a2540;
  --accent-color: #d4a94c;
  --accent-teal: #17a2b8;
  --accent-coral: #e2664d;
  --accent-purple: #8258d0;
  --accent-green: #1fa971;
  --accent-pink: #d9548c;
  --text-color: #1c2b36;
  --light-bg: #f6f8f9;
  --radius-lg: 18px;
  --radius-md: 12px;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Consistent elevation scale — used instead of one-off shadow values so
     every card in the site reads as part of the same design system. */
  --shadow-sm: 0 2px 8px rgba(10,37,64,.06);
  --shadow-md: 0 8px 24px rgba(10,37,64,.09);
  --shadow-lg: 0 16px 40px rgba(10,37,64,.14);
  --focus-ring: 0 0 0 3px rgba(11,79,108,.18);
  --transition-base: .2s ease;
}

html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body { font-family: var(--font-body); color: var(--text-color); }
h1, h2, h3, h4, h5, .navbar-brand { font-family: var(--font-heading); }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.01em; }

/* Consistent, accessible focus states across every form control. */
.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: var(--focus-ring);
}
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Buttons get a small, consistent press/hover feel instead of being static. */
.btn { transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.text-brand { color: var(--primary-color); }

/* ---- Topbar / Header ---- */
.topbar { background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%); color: rgba(255,255,255,.92); font-size: .85rem; }
.topbar a { color: rgba(255,255,255,.92); text-decoration: none; transition: color .15s; }
.topbar a:hover { color: var(--accent-color); }
.topbar-right { color: rgba(255,255,255,.75); }

.topbar-mobile { display: flex; background: var(--secondary-color); }
.topbar-mobile a {
  flex: 1; text-align: center; color: rgba(255,255,255,.9); text-decoration: none;
  font-size: .78rem; font-weight: 600; padding: .5rem 0; border-right: 1px solid rgba(255,255,255,.12);
}
.topbar-mobile a:last-child { border-right: none; }
.topbar-mobile a i { display: block; margin-bottom: 2px; font-size: .95rem; }

.site-header { background: #fff; box-shadow: var(--shadow-sm); z-index: 1030; }
.navbar-nav .nav-link { font-weight: 600; color: var(--text-color); padding: .6rem 1rem; position: relative; }
.navbar-nav .nav-link::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .25rem; height: 2px;
  background: var(--accent-color); transform: scaleX(0); transition: transform .2s ease; transform-origin: left;
}
.navbar-nav .nav-link:hover { color: var(--primary-color); }
.navbar-nav .nav-link:hover::after { transform: scaleX(1); }
.nav-cta .btn-whatsapp { flex-shrink: 0; }

/* Text-based logo/wordmark, used whenever no logo image is uploaded */
.brand-mark { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-teal));
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  box-shadow: 0 6px 16px rgba(11,79,108,.3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-line1 { font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; color: var(--secondary-color); }
.brand-line2 { font-family: var(--font-heading); font-weight: 600; font-size: .8rem; color: var(--accent-color); letter-spacing: .03em; }
.brand-mark-footer .brand-line1 { color: #fff; }

.btn-primary-brand { background: var(--primary-color); border-color: var(--primary-color); color: #fff; font-weight: 600; border-radius: 999px; padding: .55rem 1.4rem; box-shadow: 0 6px 16px rgba(11,79,108,.25); }
.btn-primary-brand:hover { background: var(--secondary-color); border-color: var(--secondary-color); color: #fff; }
.btn-whatsapp { background: #25D366; color: #fff; border-radius: 50%; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(37,211,102,.3); }
.btn-whatsapp-full { background: #25D366; color: #fff; border-radius: 999px; padding: .55rem 1.4rem; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.btn-whatsapp-full:hover { background: #1ebc59; color: #fff; }

.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 1050;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(37,211,102,.45); animation: pulse 2.2s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

@media (max-width: 991px) {
  .navbar-collapse { background: #fff; margin-top: .75rem; padding: .75rem 0 .5rem; border-top: 1px solid rgba(10,37,64,.08); }
  .navbar-nav .nav-link { padding: .65rem 1rem; border-radius: 10px; }
  .navbar-nav .nav-link:hover { background: var(--light-bg); }
  .navbar-nav .nav-link::after { display: none; }
  .nav-cta { padding: 0 1rem; }
  .nav-cta .btn-primary-brand { flex: 1; }
}

/* ---- Hero ---- */
.hero-slide { position: relative; min-height: 620px; display: flex; align-items: center; background-size: cover; background-position: center; }
.hero-overlay { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,37,64,.88) 0%, rgba(10,37,64,.55) 55%, rgba(10,37,64,.25) 100%); }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 620px; }
.hero-content h1 { font-size: 3rem; font-weight: 800; line-height: 1.15; }
.hero-content p { font-size: 1.15rem; color: rgba(255,255,255,.9); margin-bottom: 1.5rem; }

/* ---- Quick search widget ---- */
.quick-search { margin-top: -70px; position: relative; z-index: 5; }
.search-card { background: #fff; border-radius: var(--radius-lg); box-shadow: 0 20px 50px rgba(10,37,64,.18); padding: 1.5rem; }
#searchTabs .nav-link { border-radius: 999px; font-weight: 600; color: var(--text-color); }
#searchTabs .nav-link.active { background: var(--primary-color); color: #fff; }

/* ---- Sections ---- */
.section-title { font-weight: 800; }
.section-subtitle { color: #6b7a85; }
.section-eyebrow { color: var(--accent-color); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.bg-section-light { background: var(--light-bg); }
.bg-section-dark { background: var(--secondary-color); color: #fff; }
.price-badge { color: var(--primary-color); font-weight: 700; font-size: 1.15rem; }
.btn-accent { background: var(--accent-color); border-color: var(--accent-color); color: #1c2b36; font-weight: 600; border-radius: 999px; }
.btn-accent:hover { background: #c49638; border-color: #c49638; color: #1c2b36; }
section { padding: 4rem 0; }

/* ---- Service cards ---- */
.service-card { background: #fff; border-radius: var(--radius-md); padding: 1.75rem 1.5rem; height: 100%; box-shadow: var(--shadow-md); transition: transform .25s ease, box-shadow .25s ease; border-top: 4px solid var(--primary-color); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(11,79,108,.1); color: var(--primary-color); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; }
.service-card .learn-more { color: var(--primary-color); font-weight: 600; text-decoration: none; font-size: .9rem; }

/* Cycle through a colorful palette across a row of cards so the grid reads
   as lively rather than one flat block. Targets the column wrapper (a true
   sibling within .row), not the card itself, since each card is the only
   element inside its own column. */
.row > div:nth-child(8n+1) .service-card, .row > div:nth-child(8n+1) .visa-card { border-top-color: var(--primary-color); }
.row > div:nth-child(8n+2) .service-card, .row > div:nth-child(8n+2) .visa-card { border-top-color: var(--accent-teal); }
.row > div:nth-child(8n+3) .service-card, .row > div:nth-child(8n+3) .visa-card { border-top-color: var(--accent-coral); }
.row > div:nth-child(8n+4) .service-card, .row > div:nth-child(8n+4) .visa-card { border-top-color: var(--accent-purple); }
.row > div:nth-child(8n+5) .service-card, .row > div:nth-child(8n+5) .visa-card { border-top-color: var(--accent-green); }
.row > div:nth-child(8n+6) .service-card, .row > div:nth-child(8n+6) .visa-card { border-top-color: var(--accent-pink); }
.row > div:nth-child(8n+7) .service-card, .row > div:nth-child(8n+7) .visa-card { border-top-color: var(--accent-color); }
.row > div:nth-child(8n+8) .service-card, .row > div:nth-child(8n+8) .visa-card { border-top-color: var(--secondary-color); }

.row > div:nth-child(8n+1) .service-icon { background: rgba(11,79,108,.12); color: var(--primary-color); }
.row > div:nth-child(8n+2) .service-icon { background: rgba(23,162,184,.12); color: var(--accent-teal); }
.row > div:nth-child(8n+3) .service-icon { background: rgba(226,102,77,.12); color: var(--accent-coral); }
.row > div:nth-child(8n+4) .service-icon { background: rgba(130,88,208,.12); color: var(--accent-purple); }
.row > div:nth-child(8n+5) .service-icon { background: rgba(31,169,113,.12); color: var(--accent-green); }
.row > div:nth-child(8n+6) .service-icon { background: rgba(217,84,140,.12); color: var(--accent-pink); }
.row > div:nth-child(8n+7) .service-icon { background: rgba(212,169,76,.18); color: #b3872f; }
.row > div:nth-child(8n+8) .service-icon { background: rgba(10,37,64,.12); color: var(--secondary-color); }
.visa-card { border-top: 4px solid var(--primary-color); }

/* ---- Package cards ---- */
.package-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); transition: transform .25s ease; height: 100%; }
.package-card:hover { transform: translateY(-4px); }
.package-img-wrap { position: relative; }
.package-img { width: 100%; height: 210px; object-fit: cover; display: block; }
.package-body { padding: 1.25rem; }
.rating-chip { position: absolute; top: 12px; right: 12px; background: var(--accent-color); color: #1c2b36;
  font-weight: 700; font-size: .8rem; padding: .25rem .6rem; border-radius: 999px; box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.duration-chip { position: absolute; top: 12px; left: 12px; background: var(--accent-teal); color: #fff;
  font-weight: 700; font-size: .78rem; padding: .25rem .65rem; border-radius: 999px; box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.stars-chip { position: absolute; top: 12px; right: 12px; background: rgba(10,37,64,.85); color: #fff;
  font-weight: 700; font-size: .8rem; padding: .25rem .6rem; border-radius: 999px; }

/* Destination tile: photo with a gradient caption overlay instead of body text below */
.destination-tile { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); height: 220px; transition: transform .25s ease; }
.destination-tile:hover { transform: translateY(-4px); }
.destination-tile img { width: 100%; height: 100%; object-fit: cover; }
.destination-tile .tile-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,37,64,0) 40%, rgba(10,37,64,.85) 100%); display: flex; align-items: flex-end; padding: 1rem; }
.destination-tile .tile-overlay h6 { color: #fff; margin: 0; font-weight: 700; }
.destination-tile .tile-overlay .tile-sub { color: rgba(255,255,255,.75); font-size: .8rem; }
.destination-tile .tile-icon { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-color); color: #1c2b36; display: flex; align-items: center; justify-content: center; font-size: .85rem; }

/* ---- Visa cards ---- */
.visa-card { background: #fff; border-radius: var(--radius-md); padding: 1.5rem; height: 100%; box-shadow: var(--shadow-md); }
.footer-links-dark a { color: var(--text-color); }
.footer-links-dark a:hover { color: var(--primary-color); }

/* ---- Customer portal ---- */
.portal-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--secondary-color) 0%, var(--primary-color) 60%, var(--accent-teal) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 1.75rem 2rem; box-shadow: var(--shadow-lg);
}
.portal-banner-icon { font-size: 2.4rem; opacity: .35; }
.portal-stat-card {
  background: #fff; border-radius: 14px; padding: 1.1rem 1rem; box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary-color); display: flex; align-items: center; gap: .75rem; height: 100%;
}
.portal-stat-card .stat-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.05rem; flex-shrink: 0; }
.portal-stat-card .stat-num { font-size: 1.4rem; font-weight: 800; line-height: 1; }
.portal-stat-card .stat-label { font-size: .78rem; color: #6b7a85; }
.portal-stat-total .stat-icon, .portal-stat-total { border-left-color: var(--primary-color); } .portal-stat-total .stat-icon { background: var(--primary-color); }
.portal-stat-progress .stat-icon, .portal-stat-progress { border-left-color: var(--accent-teal); } .portal-stat-progress .stat-icon { background: var(--accent-teal); }
.portal-stat-done .stat-icon, .portal-stat-done { border-left-color: var(--accent-green); } .portal-stat-done .stat-icon { background: var(--accent-green); }
.portal-stat-invoice .stat-icon, .portal-stat-invoice { border-left-color: var(--accent-coral); } .portal-stat-invoice .stat-icon { background: var(--accent-coral); }

.portal-tabs { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .3rem; -webkit-overflow-scrolling: touch; }
.portal-tabs::-webkit-scrollbar { display: none; }
.portal-tabs .nav-link {
  white-space: nowrap; border-radius: 999px; font-weight: 600; font-size: .88rem; padding: .5rem 1.1rem;
  color: var(--text-color); background: #fff; border: 1px solid rgba(10,37,64,.1); display: flex; align-items: center; gap: .4rem;
}
.portal-tabs .nav-link .badge { background: rgba(10,37,64,.08); color: var(--text-color); font-weight: 700; }
.portal-tabs .nav-link.active { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.portal-tabs .nav-link.active .badge { background: rgba(255,255,255,.25); color: #fff; }

.service-item-card {
  background: #fff; border-radius: 14px; padding: 1.1rem 1.25rem; box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary-color); margin-bottom: .75rem;
}
.service-item-card .ref-no { font-weight: 700; color: var(--primary-color); font-size: .85rem; }
.service-item-card .item-title { font-weight: 700; margin: .15rem 0; }
.service-item-card .item-meta { font-size: .82rem; color: #6b7a85; }
.portal-empty { text-align: center; padding: 2.5rem 1rem; color: #6b7a85; }
.portal-empty i { font-size: 2rem; opacity: .3; margin-bottom: .75rem; display: block; }

@media (max-width: 576px) {
  .portal-banner { padding: 1.4rem 1.5rem; text-align: center; justify-content: center; }
  .portal-banner-icon { display: none; }
}

/* ---- Stats ---- */
.stat-box { text-align: center; }
.stat-number { font-size: 2.4rem; font-weight: 800; color: var(--accent-color); }
.row > div:nth-child(4n+1) .stat-number { color: var(--accent-color); }
.row > div:nth-child(4n+2) .stat-number { color: var(--accent-teal); }
.row > div:nth-child(4n+3) .stat-number { color: var(--accent-coral); }
.row > div:nth-child(4n+4) .stat-number { color: var(--accent-green); }

/* ---- Colorful CTA band ---- */
.cta-band { background: linear-gradient(120deg, var(--primary-color) 0%, var(--accent-teal) 55%, var(--accent-purple) 100%); color: #fff; border-radius: var(--radius-lg); padding: 3rem 2rem; }
.cta-band .btn-accent { box-shadow: 0 10px 24px rgba(0,0,0,.18); }

/* ---- Testimonials ---- */
.testimonial-card { background: #fff; border-radius: var(--radius-md); padding: 1.5rem; height: 100%; box-shadow: var(--shadow-md); }
.testimonial-card .stars { color: var(--accent-color); letter-spacing: 2px; }

/* ---- Footer ---- */
.site-footer { background: var(--secondary-color); color: rgba(255,255,255,.78); position: relative; }
.footer-top-accent { height: 4px; background: linear-gradient(90deg, var(--primary-color), var(--accent-teal), var(--accent-color), var(--accent-coral)); }
.site-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; font-size: .85rem; letter-spacing: .04em; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: var(--accent-color); }
.footer-contact li { margin-bottom: .7rem; color: rgba(255,255,255,.85); }
.footer-contact i { width: 20px; color: var(--accent-color); margin-right: .5rem; }
.footer-contact a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer-contact a:hover { color: var(--accent-color); }
.social-links a { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; align-items: center; justify-content: center; margin-right: 8px; transition: background .15s, transform .15s; }
.social-links a:hover { background: var(--accent-color); color: #1c2b36; transform: translateY(-2px); }
.footer-bottom-links a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--accent-color); }
.text-light-70 { color: rgba(255,255,255,.7); }
.border-light-20 { border-color: rgba(255,255,255,.15) !important; }

/* ---- Category showcase tiles (homepage) ---- */
.category-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: .5rem; padding: 2rem 1rem; border-radius: 18px; color: #fff; min-height: 150px;
  text-decoration: none; box-shadow: var(--shadow-md); transition: transform .2s ease, box-shadow .2s ease;
}
.category-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: #fff; }
.category-tile .cat-icon { font-size: 2rem; }
.category-tile .cat-label { font-weight: 700; font-size: 1.05rem; }
.category-tile.cat-flight  { background: linear-gradient(135deg, var(--primary-color), #073650); }
.category-tile.cat-hotel   { background: linear-gradient(135deg, var(--accent-purple), #5f3aa8); }
.category-tile.cat-visa    { background: linear-gradient(135deg, var(--accent-teal), #0f7382); }
.category-tile.cat-package { background: linear-gradient(135deg, var(--accent-coral), #b8492f); }
.category-tile.cat-tour    { background: linear-gradient(135deg, var(--accent-green), #157a51); }

/* ---- Mobile bottom navigation ("mobile footer menu") ---- */
.mobile-bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1045;
  background: #fff; box-shadow: 0 -4px 20px rgba(10,37,64,.12);
  border-top: 1px solid rgba(10,37,64,.06);
}
.mobile-bottom-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: .55rem 0 .65rem; color: var(--text-color); text-decoration: none; font-size: .68rem; font-weight: 600;
}
.mobile-bottom-nav a i { font-size: 1.15rem; color: var(--primary-color); }
.mobile-bottom-nav a:nth-child(4) i { color: #25D366; }

@media (max-width: 991px) {
  .mobile-bottom-nav { display: flex; }
  body { padding-bottom: 62px; }
  .whatsapp-float { bottom: 78px; }
}

@media (max-width: 768px) {
  section { padding: 2.75rem 0; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
  .hero-slide { min-height: 480px; }
  .quick-search { margin-top: -32px; }
  .search-card { padding: 1rem; border-radius: 14px; }
  #searchTabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  #searchTabs .nav-link { font-size: .85rem; padding: .45rem .85rem; white-space: nowrap; }
  .service-card, .visa-card, .testimonial-card { padding: 1.35rem 1.1rem; }
  .package-img, .destination-tile { height: 180px; }
  .cta-band { padding: 2rem 1.25rem; }
  .stat-number { font-size: 1.9rem; }
  .site-footer .row > div { text-align: left; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.6rem; }
  .hero-slide { min-height: 420px; }
  .section-title { font-size: 1.5rem; }
  .btn-lg { padding: .6rem 1.2rem; font-size: 1rem; }
  .quick-search { margin-top: -24px; }
}

/* Gentle entrance animation for card grids (CSS-only, no JS required) */
@media (prefers-reduced-motion: no-preference) {
  .service-card, .visa-card, .package-card, .testimonial-card, .destination-tile {
    animation: fadeInUp .5s ease both;
  }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
