/* --- Base Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #363636;
  color: #0f172a;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;             /* Added to fix sticky footer */
  flex-direction: column;    /* Added to fix sticky footer */
}

/* --- Top Bar & Header --- */
.top-box {
  background: #000;
  color: white;
  padding: 8px 40px;
  font-size: 13px;
  display: flex;
  gap: 20px;
  align-items: center;
}

header {
  background: #1c1e24;
  padding: 15px 40px;
  overflow: hidden;
}

h1 {
  margin: 0;
  color: white;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.5px;
  animation: slideIn 1s ease-out forwards, glowPulse 3s ease-in-out infinite;
}

/* --- Nav --- */
nav a {
  color: white;
  text-decoration: none;
  margin-right: 18px;
  font-weight: 500;
  font-size: 18px;
  transition: 0.3s ease;
  text-shadow: 0 0 6px rgba(168, 85, 247, 0.4);
}

nav a:hover {
  color: #c084fc;
  text-shadow: 0 0 8px rgba(168, 85, 247, 0.7), 0 0 16px rgba(168, 85, 247, 0.6), 0 0 24px rgba(168, 85, 247, 0.5);
}

/* --- Hero Section --- */
.hero {
  min-height: 120vh;
  background: url('../images/my hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 600px;
  padding: 20px;
}

.hero h2 { font-size: 42px; margin-bottom: 15px; }
.hero p { font-size: 18px; margin-bottom: 25px; color: #d1d5db; }

/* --- Buttons --- */
.btn {
  background: #2563eb;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  display: inline-block;
  transition: all 0.3s ease;
  animation: purplePulse 2s infinite alternate;
}

.btn:hover {
  background: #1e40af;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 10px #a855f7, 0 0 20px #9333ea, 0 0 40px #7e22ce;
}

/* --- Page Containers --- */
main {
  flex: 1; /* Forces the footer to the bottom on short pages like Privacy Policy */
}

.services-page, .contact-page, .packages-page {
  min-height: 100vh;
  padding: 60px 40px;
  text-align: center;
  display: block; /* Guarantees elements stack normally */
}

.services-page { background: linear-gradient(135deg, #6c09ff, #1e3a8a, #000000); }
.contact-page, .packages-page { background: linear-gradient(135deg, #4c1d95, #1e3a8a, #0e7490); }

/* Text Headings */
.services-title, .packages-title, .contact-title {
  color: white;
  font-size: 40px;
  margin-bottom: 20px;
  display: block;
}

.contact-text {
  color: #d1d5db;
  margin-bottom: 30px;
  display: block;
}

/* --- Layout Grids & Boxes --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 40px auto;
}

.service-box {
  background: #1c1e24;
  padding: 30px;
  border-radius: 10px;
  color: white;
  border: 1px solid #2a2d35;
}

.packages-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* --- Package Box Fixes (Uncramped & Aligned) --- */
.package-box {
  background: #1c1e24;
  padding: 40px 30px;
  border-radius: 10px;
  color: white;
  border: 1px solid #2a2d35;
  width: 300px;
  text-align: center;
  display: flex;             /* Makes the box a flex container */
  flex-direction: column;    /* Stacks elements vertically */
  align-items: center;       /* Centers everything horizontally */
}

.package-box ul {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  width: 100%;
}

.package-box li {
  margin-bottom: 12px;
  color: #d1d5db;
}

.package-box .btn {
  margin-top: auto;          /* Magically pushes the button to the bottom of the box */
  width: 80%;
}

/* Foolproof Contact Box Centering */
.contact-box {
  background: #1c1e24;
  padding: 30px;
  border-radius: 10px;
  color: white;
  border: 1px solid #2a2d35;
  width: 100%;
  max-width: 400px;
  margin: 0 auto; /* This strictly forces the box to the center */
  text-align: center;
}

/* --- Footer & Payment Icons --- */
footer {
  text-align: center;
  padding: 15px 20px;
  background: #111;
  border-top: 1px solid #333;
  color: #888;
}

.payment-methods p { color: #fff; font-size: 11px; margin-bottom: 8px; }

.payment-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.payment-logos img {
  height: 20px;
  width: auto;
  object-fit: contain;
  transition: 0.3s;
}

.footer-legal { font-size: 0.7em; margin-top: 5px; }
.footer-legal a { color: #4d90fe; text-decoration: none; margin: 0 5px; }

/* --- Animations --- */
@keyframes slideIn { 0% { transform: translateX(100px); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } }
@keyframes glowPulse { 0%, 100% { text-shadow: 0 0 5px rgba(37, 99, 235, 0.4); } 50% { text-shadow: 0 0 12px rgba(37, 99, 235, 0.8); } }
@keyframes purplePulse { 0% { box-shadow: 0 0 10px rgba(168, 85, 247, 0.4); } 100% { box-shadow: 0 0 60px #7e22ce; } }