@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&family=Barlow:ital,wght@0,400;0,600;1,400&family=Poppins:wght@400;600;700&display=swap");

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

:root {
  --red: #c0392b;
  --red-hover: #e02020;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: #616161;
  color: #fff;
  overflow-x: hidden;
  width: 100%;
}

/* ─── Header ─── */
.header {
  padding: 0 24px 0 16px;
  width: 100%;
  height: 95px;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: height 0.2s ease;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  padding: 4px;
}

/* Resized Compact Header Logo */
.header .header-left img {
  width: 44px;
  height: 44px;
  max-height: 44px;
  object-fit: contain;
  border-radius: 50%;
  margin: 0 !important;
}

.header-left h1 {
  color: white;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.2px;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #aaa;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.nav-link i {
  font-size: 22px;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Active Navigation Red Highlight */
.header-nav .nav-link.active-nav,
.nav-link.active-nav,
.active-nav {
  color: #c0392b !important;
}

.header-nav .nav-link.active-nav i,
.nav-link.active-nav i,
.active-nav i {
  color: #c0392b !important;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.avatar-icon {
  font-size: 32px;
  color: #111;
}

/* ── Visitor Sign-In Button (Global) ── */
.btn-guest-signin {
  background: #c0392b;
  color: #ffffff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn-guest-signin:hover {
  background: #a93226;
  transform: translateY(-1px);
}

/* ── Mobile Navigation Drawer ── */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99998;
}

.mobile-nav-overlay.open {
  display: block;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 270px;
  background: #181818;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-nav-header {
  padding: 18px 20px;
  background: #111;
  border-bottom: 1px solid #282828;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  gap: 6px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: #ddd;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.mobile-nav-link i {
  font-size: 20px;
  color: #c0392b;
}

.mobile-nav-link:hover {
  background: #242424;
  color: #fff;
}

.mobile-nav-divider {
  height: 1px;
  background: #282828;
  margin: 10px 8px;
}

/* ── Avatar Dropdown ── */
.avatar-wrapper {
  position: relative;
}

.avatar-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  min-width: 150px;
  z-index: 2000;
  overflow: hidden;
}

.avatar-dropdown.open,
.avatar-dropdown.show {
  display: block !important;
}

.avatar-dropdown-item {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  transition: background 0.15s;
}

.avatar-dropdown-item:hover {
  background: #f5f5f5;
}

/* ─── Hero Section ─── */
.main-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 95px;
  padding-bottom: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #616161;
}

.main-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(30, 30, 30, 0.90) 0%,
    rgba(30, 30, 30, 0.70) 55%,
    rgba(30, 30, 30, 0.40) 100%
  );
  z-index: 1;
}

.bg-logo {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  max-width: 750px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

.bg-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.main-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  width: 100%;
  max-width: 820px;
  animation: fadeUp 0.7s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.main-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 900;
  line-height: 1.0;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.6);
  width: 100%;
}

.main-accent {
  color: var(--red);
  display: block;
  margin-top: 4px;
}

.main-subtitle {
  font-family: "Barlow", sans-serif;
  font-size: clamp(14.5px, 1.5vw, 17px);
  font-style: italic;
  font-weight: 400;
  color: #ddd;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 560px;
}

.main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1.8px;
  padding: 15px 42px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(192, 57, 43, 0.35);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.main-btn:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(192, 57, 43, 0.5);
}

/* ─── Features Strip ─── */
.features-strip {
  width: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  padding: 28px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 0 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.10);
}

.feature-item:last-child {
  border-right: none;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(192, 57, 43, 0.18);
  border: 1.5px solid rgba(192, 57, 43, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 22px;
  flex-shrink: 0;
}

.feature-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.feature-desc {
  font-size: 11.5px;
  color: #bbb;
  line-height: 1.5;
  max-width: 220px;
}

/* ─── Feedback & Reviews Section ─── */
.feedback-section {
  background: #1a1a1a;
  padding: 56px 30px;
  border-bottom: 1px solid #282828;
}

.feedback-container {
  max-width: 1240px;
  margin: 0 auto;
}

.feedback-heading {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1.2px;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.feedback-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.carousel-nav-btn {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(192, 57, 43, 0.4);
  transition: background-color 0.15s, transform 0.15s;
  z-index: 3;
}

.carousel-nav-btn:hover {
  background: var(--red-hover);
  transform: scale(1.08);
}

.feedback-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 4px;
  flex: 1;
}

.feedback-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px 24px;
  min-width: 280px;
  max-width: 320px;
  flex: 0 0 calc(25% - 15px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.testimonial-user-meta {
  flex: 1;
  min-width: 0;
}

.testimonial-name {
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: #f39c12;
  font-size: 14px;
  margin-top: 2px;
}

.testimonial-text {
  font-size: 13px;
  color: #555555;
  line-height: 1.55;
  margin: 0;
}

/* ─── PC Packages Section ─── */
.packages-section {
  background: #1e1e1e;
  padding: 64px 40px 60px;
  scroll-margin-top: 95px;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(32px, 4.5vw, 46px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 1.2px;
}

.section-header p {
  font-size: 14px;
  color: #aaa;
  margin-top: 10px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1140px;
  margin: 0 auto;
}

.package-card {
  background: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #333;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--red);
}

.package-card-header {
  background: var(--red);
  padding: 13px 16px;
  text-align: center;
}

.package-card-header h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1.2px;
  color: #fff;
}

.package-card-img {
  width: 100%;
  height: 175px;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.package-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.package-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.package-card-body p {
  font-size: 12.5px;
  color: #aaa;
  line-height: 1.55;
  margin-bottom: 16px;
}

.btn-explore {
  display: block;
  width: 100%;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 11px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s ease;
}

.btn-explore:hover {
  background: var(--red-hover);
}

/* ─── Footer ─── */
.footer {
  background: #1a1a1a;
  padding: 40px 20px 24px;
  border-top: 1px solid #333;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 600px;
  margin: 0 auto 24px;
  text-align: center;
}

.footer-col h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: #888;
  text-decoration: none;
  margin-bottom: 6px;
}

.footer-col a:hover {
  color: var(--red);
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 50%;
  color: #ffffff;
  font-size: 20px;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  font-size: 11px;
  color: #888;
  border-top: 1px solid #2a2a2a;
  padding-top: 14px;
}

/* ─── Notification Bell & Panel ─── */
.cnotif-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.cnotif-bell-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: #fff;
  position: relative;
  padding: 4px;
}

.cnotif-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #e74c3c;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  pointer-events: none;
}

.cnotif-panel {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: -10px;
  width: 340px;
  max-width: calc(100vw - 20px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  overflow: hidden;
}

.cnotif-panel.open {
  display: flex !important;
  flex-direction: column;
}

.cnotif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 700;
  font-size: 14px;
  color: #1a1a1a;
}

.cnotif-header button {
  background: #fdf2f2;
  color: #c0392b;
  border: 1px solid #f8d7da;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

.cnotif-list {
  max-height: 380px;
  overflow-y: auto;
}

/* ==============================================================
   RESPONSIVE DESIGN (Tablets & Mobile Handsets)
   ============================================================== */
@media (max-width: 900px) {
  .header {
    height: 70px;
    padding: 0 16px;
  }

  .mobile-hamburger-btn {
    display: flex !important;
  }

  .header .header-left img {
    width: 38px;
    height: 38px;
  }

  .header-left h1,
  .header-nav,
  .avatar-wrapper {
    display: none !important;
  }

  .main-section {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .main-content {
    padding: 0 28px;
    max-width: 100%;
  }

  .bg-logo {
    opacity: 0.22;
    right: -20px;
    width: 65%;
    max-width: 420px;
  }

  .features-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px 16px;
    gap: 16px;
  }

  .feature-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 8px;
  }

  .feature-item:nth-child(3),
  .feature-item:nth-child(4) {
    border-bottom: none;
  }

  .testimonial-card {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .packages-section {
    padding: 50px 24px 40px;
    scroll-margin-top: 70px;
  }
}

/* Mobile Screens (iPhone SE, 375px up to 520px) */
@media (max-width: 520px) {
  .header {
    height: 60px;
    padding: 0 16px;
  }

  .header .header-left img {
    width: 32px;
    height: 32px;
  }

  .main-section {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 75px;
    padding-bottom: 35px;
    display: flex;
    align-items: center;
  }

  .main-content {
    padding: 0 20px;
    width: 100%;
    z-index: 2;
  }

  .bg-logo {
    opacity: 0.10 !important;
    right: -20px;
    top: 50%;
    width: 70%;
    max-width: 280px;
  }

  .main-title {
    font-size: clamp(34px, 9.5vw, 44px);
    line-height: 1.08;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-shadow: 2px 4px 16px rgba(0, 0, 0, 0.85);
  }

  .main-accent {
    font-size: inherit;
    display: block;
    margin-top: 4px;
    color: var(--red);
  }

  .main-subtitle {
    font-size: 13.5px;
    line-height: 1.55;
    color: #dddddd;
    margin-bottom: 24px;
    max-width: 100%;
  }

  .main-btn {
    width: 100%;
    max-width: 300px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1.5px;
    border-radius: 8px;
    background: linear-gradient(135deg, #c0392b 0%, #a92317 100%);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.45);
  }

  .features-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 16px;
  }

  .feature-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px;
    border-bottom: none;
  }

  .feature-icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .feature-title {
    font-size: 11px;
  }

  .feature-desc {
    font-size: 10.5px;
  }

  .feedback-section {
    padding: 38px 16px;
  }

  .feedback-carousel-wrapper {
    gap: 8px;
  }

  .carousel-nav-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 18px;
  }

  .testimonial-card {
    flex: 0 0 85%;
    max-width: 85%;
    padding: 16px;
  }

  .packages-section {
    padding: 40px 16px;
    scroll-margin-top: 62px;
  }

  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .package-card-img {
    height: 160px;
  }
}

.feedback-empty-state {
  width: 100%;
  padding: 40px 20px;
  text-align: center;
  color: #888888;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.feedback-empty-state i {
  font-size: 38px;
  color: #555555;
  margin-bottom: 8px;
}

.feedback-empty-state p {
  font-size: 15px;
  font-weight: 700;
  color: #dddddd;
  margin: 0 0 4px;
}

.feedback-empty-state span {
  font-size: 12.5px;
  color: #888888;
}