:root {
  --bg: #05070c;
  --card: #0e1220;
  --accent: #2bb0ff;
  --text: #ffffff;
  --muted: #d6dcf0;
  --border: #1a1f35;
  --max: 1120px;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BASE */
body {
  background:
    radial-gradient(circle at top left, rgba(43,176,255,0.12), transparent 45%),
    radial-gradient(circle at bottom right, rgba(43,176,255,0.1), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max);
  margin: auto;
  padding: 0 1.5rem;
}

/* HEADER */
header {
  border-bottom: 1px solid var(--border);
}

.nav {
  height: 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  width: 250px;
  height: auto;
}

nav a {
  margin-left: 1.75rem;
  font-weight: 700;
  color: var(--muted);
}

nav a:hover {
  color: var(--text);
}

/* HERO (HOME PAGE ONLY) */
.hero {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/hero-premium.jpg") center / cover no-repeat;
  filter: saturate(1.45) contrast(1.3) brightness(1.08);
  transform: scale(1.06);
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(5,7,12,0.35), rgba(5,7,12,0.9)),
    radial-gradient(circle at 75% 25%, rgba(43,176,255,0.45), transparent 42%);
  z-index: 2;
}

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

.hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.05;
  text-shadow: 0 6px 30px rgba(0,0,0,0.75);
}

.hero p {
  margin-top: 1.75rem;
  max-width: 720px;
  font-size: 1.25rem;
  color: #f4f7ff;
}

/* INTERNAL PAGE HERO */
.page-hero {
  padding: 5rem 0 4rem;
  background:
    linear-gradient(135deg, rgba(43,176,255,0.25), rgba(5,7,12,0.95)),
    radial-gradient(circle at top right, rgba(43,176,255,0.35), transparent 50%);
}

.page-hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
}

.page-hero p {
  margin-top: 1.25rem;
  max-width: 760px;
  color: #e6ebff;
}

/* BUTTON */
.btn {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 1.1rem 2.4rem;
  background: var(--accent);
  color: #000;
  font-weight: 900;
  border-radius: 6px;
}

/* SECTIONS */
section {
  padding: 6rem 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.card {
  background: var(--card);
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.card h3 {
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 1.1rem;
}

/* FEATURED / BEST VALUE CARD */
.card.featured {
  border: 2px solid var(--accent);
  position: relative;
  transform: scale(1.03);
}

.card.featured::before {
  content: "Best Value";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 999px;
  letter-spacing: 0.02em;
}


/* TESTIMONIALS */
.card p:first-child {
  font-style: italic;
  color: #f1f4fb;
}

/* ICONS */
.icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}


/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0;
  margin-top: 4rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: underline;
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--text);
}

footer p {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

/* CONTACT PAGE FORM (FINAL FIX) */
.contact-form {
  max-width: 640px;
  margin: 3rem auto 0 auto; /* CENTER THE FORM */
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  display: block;
  background: #cdcfd3;
  border: 1px solid var(--border);
  padding: 1rem;
  color: white;
  margin-bottom: 1.4rem;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form button {
  align-self: flex-start; /* button not stretched */
  margin-top: 0.5rem;
}

.card:hover .icon {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

.card:hover .icon {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

.card:hover .icon {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}


/* MOBILE */
@media (max-width: 900px) {
  .logo-img {
    width: 180px;
  }
-in { 
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
  .fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {

  .site-header {
    flex-direction: column;
    text-align: center;
  }

  nav a {
    display: block;
    margin: 0.5rem 0;
  }

  .package-grid {
    grid-template-columns: 1fr;
  }
  
}