/* ======================================================================
   SHARING HOLIDAYS - MOBILE-FIRST RESPONSIVE DESIGN
   Optimized for all device sizes with CSS Grid & Flexbox
   
   BREAKPOINTS:
   - Mobile: 320px-767px (default)
   - Tablet: 768px-1023px
   - Desktop: 1024px+
   ====================================================================== */

/* ======================================================================
   UNIVERSAL RESET & BASE STYLES
   Mobile-first approach: Start with mobile, enhance for larger screens
   ====================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Prevent horizontal scrolling */
html,
body {
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility: Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ======================================================================
       HEADER NAVIGATION - MOBILE-FIRST
       ====================================================================== */

/* HEADER */

header {
  background: rgba(15, 31, 63, 0.97);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1400px;
  margin: auto;
  padding: 2px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 54px;
}
.logo-section {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-section:hover,
.logo-section:focus,
.logo-icon:hover,
.logo-icon:focus,
.logo-text:hover,
.logo-text:focus {
  transform: none !important;
  box-shadow: none !important;
  background: transparent !important;
  color: inherit !important;
  text-decoration: none !important;
}

.logo-icon {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f1f3f;
  font-size: 9px;
}

.logo-text h1 {
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.logo-text p {
  color: #d4af37;
  font-size: 6px;
  margin-top: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  flex: 1;
}

.nav-link {
  position: relative;
  color: #fff;
  text-decoration: none;
  padding: 3px 6px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 8px;
  transition: 0.3s;
  line-height: 1.2;
}

.topbar .header-actions .btn {
  padding: 0.25rem 0.8rem;
  font-size: 0.8rem;
}

/* Beautiful Hover Effect */

.nav-link::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #f4d03f);
  border-radius: 50px;
  transform: translateX(-50%);
  transition: 0.35s;
}

.nav-link:hover {
  color: #d4af37;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link:hover::before {
  width: 70%;
}

/* Active Link */

.nav-link.active {
  color: #d4af37;
}

.nav-link.active::before {
  width: 70%;
}

.login-btn {
  background: #d4af37;
  color: #0f1f3f;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;
  transition: 0.3s;
}

.login-btn:hover {
  background: #f4d03f;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 50px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* MOBILE */

.mobile-auth-links {
  display: none;
}

@media (max-width: 1024px) {
  .header-container {
    flex-wrap: wrap;
    padding: 3px 10px;
  }

  .hamburger {
    display: flex;
  }

  .header-actions {
    display: none;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(15, 31, 63, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease;
    gap: 0;
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    z-index: 998;
  }

  .nav-menu.active {
    max-height: 700px;
    padding: 10px 0 16px;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 16px;
    border-radius: 0;
  }

  .mobile-auth-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 16px 16px;
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 8px;
  }

  .mobile-nav-btn {
    border: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
  }

  .login-btn-mobile {
    background: #d4af37;
    color: #0f1f3f;
  }

  .register-btn-mobile, .profile-btn {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
  }

  .logout-btn {
    background: #dc3545;
  }

  .login-btn {
    display: none;
  }
}

/* EXTRA SMALL */

@media (max-width: 480px) {
  .header-container {
    padding: 2px 8px;
  }

  .logo-icon {
    width: 19px;
    height: 19px;
    font-size: 8px;
  }

  .logo-text h1 {
    font-size: 9px;
  }

  .logo-text p {
    font-size: 6px;
  }

  .hamburger span {
    width: 24px;
  }
}

/* AUTH & TRAVEL STYLES */
body {
  background: #f7f9fc;
}

.topbar {
  background: rgba(15, 31, 63, 0.97);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.user-pill {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 14px;
  border-radius: 999px;
  margin-right: 10px;
  font-weight: 600;
}

.hero-section {
  background: linear-gradient(120deg, rgba(15,31,63,0.95), rgba(26,42,74,0.88)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=80') center/cover;
  color: #fff;
  padding: 110px 0;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 1.1rem;
  color: #dfe7f3;
  max-width: 650px;
}

.badge-pill {
  display: inline-block;
  background: rgba(212,175,55,0.2);
  color: #f9d970;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  border: 1px solid rgba(212,175,55,0.3);
}

.hero-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.hero-card li {
  margin-bottom: 10px;
  color: #f4f7fb;
}

.section-heading h2 {
  color: #0f1f3f;
  font-weight: 700;
}

.section-heading p {
  color: #6b7280;
}

.service-card, .package-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(15,31,63,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover, .package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15,31,63,0.12);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #f3d97d);
  display: grid;
  place-items: center;
  color: #0f1f3f;
  margin-bottom: 16px;
  font-size: 24px;
}

.price span {
  color: #d4af37;
  font-weight: 700;
}

.auth-modal .modal-content {
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #0c1f3f;
  color: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  }
  .auth-modal .modal-body {
    padding: 0;
  }

  .auth-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 520px;
  }

  .auth-card.choice-only {
    grid-template-columns: 1fr;
  }

  .auth-card.choice-only .auth-head,
  .auth-card.choice-only .auth-right {
    display: none;
  }

  .auth-head {
    margin-bottom: 28px;
  }

  .auth-choice-panel {
    display: none;
    margin-bottom: 12px;
  }

  .auth-choice-panel.active {
    display: block;
  }

  .auth-choice-grid {
    display: grid;
    gap: 12px;
  }

  .auth-choice-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.08);
    color: #fff;
    text-align: left;
    cursor: pointer;
  }

  .auth-choice-btn i {
    font-size: 1.2rem;
    color: #f4d03f;
  }

  .auth-choice-btn.b2b i {
    color: #93c5fd;
  }

  .auth-flow-panel {
    display: none;
    margin-bottom: 12px;
  }

  .auth-flow-panel.active {
    display: block;
  }

  .auth-flow-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
  }

  .auth-back-btn {
    border: 0;
    background: transparent;
    color: #f4d03f;
    padding: 0;
    font-weight: 700;
  }

  .auth-flow-label {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
  }

  .auth-scope-panel {
    display: none;
  }

  .auth-scope-panel.active {
    display: block;
  }

  .auth-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f4d03f;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
  }

  .auth-head h3 {
    font-size: 2.75rem;
    line-height: 1.05;
    margin: 0;
    letter-spacing: -0.02em;
  }

  .auth-head p {
    color: rgba(255,255,255,0.72);
    font-size: 1rem;
    max-width: 440px;
    margin-top: 12px;
  }

  .auth-body {
    width: 100%;
  }

  .btn-gold {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #0f1f3f;
    font-weight: 700;
    border: none;
  }

  .auth-left,
  .auth-right {
    position: relative;
  }

  .auth-left {
    background: linear-gradient(180deg, rgba(15,31,63,0.99), rgba(15,31,63,0.9));
    padding: 42px 42px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .auth-role-select-wrap {
    margin-bottom: 16px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
  }

  .auth-role-label {
    display: block;
    margin-bottom: 8px;
    color: #f4d03f;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .auth-role-select {
    border-radius: 12px;
    border: 1px solid rgba(15,31,63,0.12);
    padding: 11px 14px;
    color: #0f1f3f;
    background: rgba(255,255,255,0.95);
  }

  .auth-role-select:focus {
    border-color: #f4d03f;
    box-shadow: 0 0 0 0.2rem rgba(244,208,63,0.25);
  }

  .auth-right {
    position: relative;
    background: linear-gradient(135deg, #081228 0%, #112a54 100%);
    overflow: hidden;
  }

  .auth-right::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 60%);
    pointer-events: none;
  }

  .auth-image {
    width: 100%;
    height: 100%;
    min-height: 520px;
    background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    position: relative;
  }

  .auth-body {
    position: relative;
    z-index: 1;
  }

 


  .auth-form .input-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px 0 0 14px;
    background: rgba(15,31,63,0.08);
    display: grid;
    place-items: center;
    color: #0f1f3f;
    border: 1px solid rgba(15,31,63,0.14);
    border-right: 0;
  }

  .auth-form .form-control {
    border-radius: 0 14px 14px 0;
    border-left: 0;
  }

  .auth-submit {
    margin-top: 10px;
    border-radius: 999px;
    padding: 14px 0;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border: none;
    color: #0f1f3f;
    font-weight: 700;
    box-shadow: 0 18px 36px rgba(212,175,55,0.22);
  }

  .auth-switch {
    margin-top: 18px;
    color: #0f1f3f;
    font-size: 0.95rem;
  }

  .auth-alert {
    margin-bottom: 18px;
  }

  .auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: #fff;
    font-weight: 700;
    margin-bottom: 18px;
    backdrop-filter: blur(10px);
  }

  .auth-badge i {
    color: #f4d03f;
  }

  .auth-side h3 {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 14px;
    color: #fff;
    text-shadow: 0 6px 20px rgba(15, 31, 63, 0.14);
  }

  .auth-side p {
    color: rgba(255,255,255,0.82);
    max-width: 380px;
    margin-bottom: 22px;
  }

  .auth-highlights {
    display: grid;
    gap: 12px;
  }

  .auth-highlights div {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
  }

  .auth-highlights i {
    color: #d4af37;
    font-size: 1rem;
  }

  .auth-form-panel {
    background: rgba(255, 255, 255, 0.96);
    border-left: 1px solid rgba(15,31,63,0.12);
    padding: 38px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .form-group {
    margin-bottom: 18px;
  }

  .auth-modal .form-label {
    color: #0f1f3f;
    font-weight: 700;
  }

  .auth-modal .form-control {
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(15,31,63,0.14);
    background: #ffffff;
    color: #0f1f3f;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  }

  .auth-modal .form-control::placeholder {
    color: rgba(15,31,63,0.45);
  }

  .auth-modal .form-control:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 8px rgba(212,175,55,0.14);
    outline: none;
    transform: translateY(-1px);
  }

  .auth-modal .btn-auth-submit {
    background: linear-gradient(135deg, #d4af37 0%, #f5d36a 100%);
    color: #0f1f3f;
    font-weight: 700;
    padding: 14px 22px;
    border: 0;
    box-shadow: 0 18px 36px rgba(212,175,55,0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  }

  .auth-modal .btn-auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(212,175,55,0.34);
    filter: brightness(1.02);
  }

  .auth-modal .close-floating {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 0;
    color: #fff;
    font-size: 1.1rem;
    display: grid;
    place-items: center;
    cursor: pointer;
  }

  .auth-modal .close-floating:hover {
    background: rgba(255,255,255,0.2);
  }

  .auth-form {
    display: none;
  }


  .auth-form.active {
    display: block;
  }

  .auth-input {
    display: flex;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(15,31,63,0.12);
    background: #fff;
  }

  .auth-input .input-icon {
    width: 56px;
    display: grid;
    place-items: center;
    background: #f7f9fc;
    color: #0f1f3f;
    border-right: 1px solid rgba(15,31,63,0.08);
  }

  .auth-input .form-control {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 16px 14px;
    flex: 1;
  }

  .auth-submit {
    width: 100%;
    border-radius: 999px;
    padding: 14px 0;
    margin-top: 12px;
    border: 0;
    font-weight: 700;
    box-shadow: 0 18px 42px rgba(212,175,55,0.2);
  }

  .auth-switch {
    margin-top: 16px;
    color: #ffffff;
    font-size: 0.95rem;
  }

  .link-button {
    color: #d4af37;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-weight: 700;
  }

  .link-button:hover {
    color: #fff;
  }

  @media (max-width: 1024px) {
    .auth-card {
      grid-template-columns: 1fr;
      min-height: auto;
    }

    .auth-right {
      min-height: 280px;
    }

    .auth-image {
      min-height: 280px;
    }

    .auth-left {
      padding: 28px 26px 26px;
    }

    .auth-head h3 {
      font-size: 2.25rem;
    }
  }

  .form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  .form-check-light .form-check-input {
    border: 1px solid rgba(15,31,63,0.24);
  }

  .form-check-light .form-check-label {
    color: #0f1f3f;
  }

  .auth-modal .text-decoration-none {
    color: #f8f9fb;
  }

  .auth-modal .text-decoration-none:hover {
    color: #d4af37;
  }

  @keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
  }

  @keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-18px); }
    to { opacity: 1; transform: translateX(0); }
  }

  @keyframes slideInRight {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: translateX(0); }
  }

  @keyframes pulseGlow {
    0%, 100% { opacity: 0.9; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-1px); }
  }

  .auth-side,
  .auth-form-panel {
    padding: 30px 24px;
  }

  .auth-side h3 {
    font-size: 1.75rem;
  }

@media (max-width: 576px) {
  .auth-side {
    padding: 24px 18px;
  }

  .auth-form-panel {
    padding: 24px 18px;
  }

  .auth-side h3 {
    font-size: 1.5rem;
  }
}

.alert-box {
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.alert-box.success {
  background: #e7f8ee;
  color: #147d3b;
}

.alert-box.error {
  background: #fdecec;
  color: #b42318;
}

.profile-page {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  position: relative;
  overflow: hidden;
}

.profile-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.15), transparent 35%);
  pointer-events: none;
}

.profile-sidebar, .profile-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 15px 40px rgba(15,31,63,0.08);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.7s ease both;
}

.profile-sidebar::after, .profile-card::after {
  content: "";
  position: absolute;
  inset: -40px auto auto -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12), transparent 70%);
  pointer-events: none;
}

.mobile-profile-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.profile-avatar-shell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.avatar-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #f3d97d);
  display: grid;
  place-items: center;
  font-size: 30px;
  color: #0f1f3f;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar-circle:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(212, 175, 55, 0.34);
}

.avatar-xl {
  width: 86px;
  height: 86px;
  font-size: 34px;
}

.avatar-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #d4af37;
  cursor: pointer;
  font-weight: 600;
}

.profile-email {
  color: #4b5563;
  margin-bottom: 8px;
}

.profile-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f1f3f, #1b355e);
  color: #fff;
  position: relative;
  overflow: hidden;
  animation: floatIn 0.8s ease both;
}

.profile-hero::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -50px;
  top: -80px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.16);
  animation: pulseGlow 4s ease-in-out infinite;
}

.travel-badge {
  background: rgba(212,175,55,0.2);
  color: #f9d970;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(212,175,55,0.25);
}

.stat-box {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 14px;
  padding: 16px;
  border: 1px solid #eef2f7;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15,31,63,0.08);
}

.stat-box h5 {
  color: #0f1f3f;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat-box p {
  color: #6b7280;
  margin: 0;
}

.feature-card {
  background: #fcfdff;
  border: 1px solid #edf2f7;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(15,31,63,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(15,31,63,0.07);
}

.feature-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.feature-card-head h5 {
  color: #0f1f3f;
  font-weight: 700;
  margin: 0;
}

.feature-card-head span {
  color: #6b7280;
  font-size: 0.85rem;
}

.trip-list, .booking-list {
  display: grid;
  gap: 10px;
}

.trip-item, .booking-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f4f8;
}

.trip-item:last-child, .booking-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.trip-item p, .booking-item p {
  margin: 2px 0 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.status-pill {
  background: #fef3c7;
  color: #92400e;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-pill.success {
  background: #dcfce7;
  color: #166534;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dest-card {
  background: linear-gradient(135deg, #0f1f3f, #1b355e);
  color: #fff;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.profile-info-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.profile-info-list li {
  margin-bottom: 10px;
  color: #4b5563;
}

.profile-card h4 {
  color: #0f1f3f;
  font-weight: 700;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.06); opacity: 1; }
}

.footer {
  background: #0f1f3f;
  color: #fff;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .header-actions {
    display: none;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    margin-right: 0 !important;
  }

  .profile-page .header-actions {
    display: flex !important;
    width: 100%;
    justify-content: flex-end;
    margin-top: 8px;
  }

  .profile-sidebar, .profile-card {
    padding: 18px;
  }

  .profile-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .destination-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .mobile-profile-actions {
    flex-direction: column;
  }

  .mobile-profile-actions .btn {
    width: 100%;
  }

  .trip-item, .booking-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar .header-container {
    padding: 12px 14px;
  }

  .logo-section {
    gap: 4px;
  }

  .logo-icon {
    width: 21px;
    height: 21px;
    font-size: 9px;
  }

  .logo-text h1 {
    font-size: 10px;
  }

  .logo-text p {
    font-size: 6px;
    letter-spacing: 0.02em;
  }

  .hamburger {
    padding: 4px;
  }
}

/* ======================================================================
       HERO SECTION - MOBILE-FIRST
       ====================================================================== */

.hero-section {
  background: linear-gradient(
      135deg,
      rgba(26, 42, 74, 0.85) 0%,
      rgba(15, 31, 63, 0.85) 100%
    ),
    url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?w=800&h=400&fit=crop")
      center/cover;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  width: 100%;
  max-width: 100%;
}

.hero-section h2 {
  font-size: 28px;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero-section p {
  font-size: 16px;
  margin-bottom: 1.5rem;
  color: #d4af37;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
  display: inline-block;
  background-color: #d4af37;
  color: #1a2a4a;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #f4d03f;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* ======================================================================
       SECTION CONTAINER - RESPONSIVE PADDING
       ====================================================================== */

.section-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* ======================================================================
       SERVICES SECTION - FLEXBOX GRID
       ====================================================================== */

.services-section {
  background-color: white;
}

.services-section h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 2rem;
  color: #1a2a4a;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
  border-color: #d4af37;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 28px;
  color: #1a2a4a;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 0.75rem;
  color: #1a2a4a;
}

.service-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ======================================================================
       PACKAGES SECTION - CSS GRID
       ====================================================================== */

.packages-section {
  background-color: #f8f9fa;
}

.packages-section h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 2rem;
  color: #1a2a4a;
}

.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.package-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.package-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #1a2a4a 0%, #0f1f3f 100%);
  position: relative;
  overflow: hidden;
}

.package-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(212, 175, 55, 0.1);
  transition: all 0.3s ease;
}

.package-card:hover .package-image::after {
  background: rgba(212, 175, 55, 0.2);
}

.package-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.package-card h3 {
  font-size: 18px;
  color: #1a2a4a;
  margin-bottom: 0.5rem;
}

.package-card .price {
  font-size: 16px;
  color: #d4af37;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.package-card .price span {
  font-size: 20px;
}

.package-card p:not(.price) {
  font-size: 14px;
  color: #666;
  flex: 1;
  margin-bottom: 1rem;
}

.package-btn {
  background: linear-gradient(135deg, #1a2a4a 0%, #0f1f3f 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border: 2px solid #d4af37;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.package-btn:hover {
  background: #d4af37;
  color: #1a2a4a;
  transform: translateY(-2px);
}

/* ======================================================================
       DESTINATIONS SECTION - CSS GRID
       ====================================================================== */

.destinations-section {
  background-color: white;
}

.destinations-section h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 2rem;
  color: #1a2a4a;
}

.destinations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.destination-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 250px;
  background-color: #ddd;
}

.destination-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: all 0.3s ease;
}

.destination-card:hover .destination-image {
  transform: scale(1.08);
  filter: brightness(0.8);
}

.destination-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.destination-card h3 {
  font-size: 18px;
  margin-bottom: 0.5rem;
}

.destination-card p {
  font-size: 14px;
  color: #d4af37;
}

/* ======================================================================
       FOOTER - RESPONSIVE STACK
       ====================================================================== */

.footer {
  background: linear-gradient(135deg, #1a2a4a 0%, #0f1f3f 100%);
  color: white;
  padding: 2rem 1rem;
}

.footer-container {
  max-width: 100%;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 16px;
  margin-bottom: 1rem;
  color: #d4af37;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #d4af37;
  color: #1a2a4a;
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  font-size: 14px;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.footer-links li a {
  color: #d4af37;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links li a:hover {
  color: #f4d03f;
  text-decoration: underline;
}

.footer-links.no-style li {
  color: white;
}

.footer-links.no-style li i {
  margin-right: 0.5rem;
  color: #d4af37;
  min-width: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  margin-bottom: 1rem;
}

.footer-bottom-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.footer-bottom-links li a {
  color: #d4af37;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
}

.footer-bottom-links li a:hover {
  color: #f4d03f;
}

/* ======================================================================
       FLOATING WHATSAPP BUTTON
       ====================================================================== */

.floating-whatsapp {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 999;
}

.floating-whatsapp a {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #25d366 0%, #20c997 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: floatInButton 0.7s ease-out;
}

.floating-whatsapp a:hover {
  transform: scale(1.12) translateY(-5px);
  box-shadow: 0 15px 45px rgba(37, 211, 102, 0.5);
  animation: pulse-glow 1.2s ease-in-out infinite;
}

.floating-whatsapp a:active {
  transform: scale(0.95);
}

/* ======================================================================
       ANIMATIONS
       ====================================================================== */

@keyframes floatInButton {
  0% {
    opacity: 0;
    transform: scale(0) translateY(40px);
  }
  50% {
    opacity: 1;
    transform: scale(1.1) translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
  }
  50% {
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.5);
  }
}

header {
  animation: fadeIn 0.5s ease-out;
}

.hero-section {
  animation: fadeIn 0.7s ease-out 0.2s backwards;
}

@media (min-width: 1024px) {
  /* Header on desktop */
  .header-container {
    padding: 1rem 2rem;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
  }

  .logo-icon {
    width: 23px;
    height: 23px;
    font-size: 10px;
  }

  .logo-text h1 {
    font-size: 12px;
  }

  .logo-text p {
    font-size: 7px;
  }

  /* Navigation on desktop */
  .nav-menu {
    gap: 2rem;
  }

  .nav-link {
    padding: 5px;
    font-size: 16px;
    position: relative;
  }

  .nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4af37 0%, #f4d03f 100%);
    transition: width 0.3s ease;
  }

  .nav-link:hover::after {
    width: 100%;
  }

  .login-btn {
    padding: 0.75rem 2rem;
    font-size: 14px;
  }

  /* Hero section on desktop */
  .hero-section {
    padding: 5rem 2rem;
    min-height: 500px;
  }

  .hero-section h2 {
    font-size: 48px;
  }

  .hero-section p {
    font-size: 20px;
  }

  .cta-button {
    padding: 1rem 3rem;
    font-size: 16px;
  }

  /* Services grid - 3 columns on desktop */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-section h2,
  .packages-section h2,
  .destinations-section h2 {
    font-size: 32px;
  }

  /* Packages grid - 3 columns on desktop */
  .packages-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Destinations grid - 4 columns on desktop */
  .destinations-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .destination-card {
    height: 300px;
  }

  /* Footer - 4 columns on desktop */
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-bottom-links {
    gap: 3rem;
  }

  /* Floating WhatsApp - standard on desktop */
  .floating-whatsapp {
    bottom: 2rem;
    right: 2rem;
  }

  .floating-whatsapp a {
    width: 60px;
    height: 60px;
    font-size: 32px;
  }

  .section-container {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
  }
}

/* ======================================================================
       EXTRA LARGE SCREENS: 1440px+
       ====================================================================== */
@media (min-width: 1400px) {
  .header-container {
    padding: 18px 30px;
  }

  .nav-link {
    font-size: 16px;
  }

  .login-btn {
    padding: 12px 24px;
  }
}

/* ======================================================================
       ACCESSIBILITY & FOCUS STATES
       ====================================================================== */

a:focus,
button:focus {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}

.nav-link:focus {
  outline: 2px solid #d4af37;
}

.cta-button:focus,
.package-btn:focus,
.login-btn:focus {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}

/* ======================================================================
       PRINT STYLES
       ====================================================================== */

@media print {
  header,
  .floating-whatsapp {
    display: none;
  }

  body {
    background: white;
  }

  .hero-section {
    page-break-after: always;
  }
}

/* ======================================================================
       PREFERS REDUCED MOTION
       ====================================================================== */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
