:root {
  /* 5-Color Palette with gradients */
  --primary-purple: #6f42c1;
  --primary-orange: #fd7e14;
  --primary-teal: #20c997;
  --primary-pink: #e83e8c;
  --primary-navy: #212529;
  
  /* Light/Dark shades */
  --purple-light: #8a63d2;
  --purple-dark: #5a2d9f;
  --orange-light: #ff922b;
  --orange-dark: #e8590c;
  --teal-light: #40e0d0;
  --teal-dark: #198754;
  --pink-light: #f06292;
  --pink-dark: #c2185b;
  --navy-light: #495057;
  --navy-dark: #000000;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-purple), var(--primary-orange));
  --gradient-secondary: linear-gradient(135deg, var(--primary-teal), var(--primary-pink));
  --gradient-accent: linear-gradient(135deg, var(--primary-orange), var(--primary-teal));
  
  /* Conservative font sizes */
  --font-size-small: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-h6: 1rem;
  --font-size-h5: 1.125rem;
  --font-size-h4: 1.25rem;
  --font-size-h3: 1.375rem;
  --font-size-h2: 1.5rem;
  --font-size-h1: 1.75rem;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--primary-navy);
  overflow-x: hidden;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography */
h1 { font-size: var(--font-size-h1); font-weight: 700; }
h2 { font-size: var(--font-size-h2); font-weight: 600; }
h3 { font-size: var(--font-size-h3); font-weight: 600; }
h4 { font-size: var(--font-size-h4); font-weight: 500; }
h5 { font-size: var(--font-size-h5); font-weight: 500; }
h6 { font-size: var(--font-size-h6); font-weight: 500; }

p { 
  font-size: var(--font-size-base); 
  margin-bottom: 1rem;
  max-width: 65ch;
}

/* Header & Navigation */
.navbar {
  background: var(--gradient-primary) !important;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-size: var(--font-size-lg) !important; /* Conservative size */
  font-weight: 700;
  color: white !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  font-size: 10px;
  color: white !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--orange-light) !important;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-secondary);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../HOS_images/hero-bg.webp') center/cover;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero-decorative {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--gradient-accent);
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-purple);
  box-shadow: 0 20px 40px rgba(111, 66, 193, 0.2);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.service-price {
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
}

/* About Features */
.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(111, 66, 193, 0.1), rgba(253, 126, 20, 0.1));
  border-radius: 15px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  background: var(--gradient-primary);
  color: white;
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-purple);
  margin-bottom: 1rem;
}

.feature-item:hover .feature-icon {
  color: white;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  text-align: center;
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 5px solid var(--primary-teal);
}

/* Testimonials */
.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin: 1rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-purple);
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: serif;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

.faq-question {
  background: var(--gradient-primary);
  color: white;
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--gradient-secondary);
}

.faq-answer {
  padding: 1.5rem;
  border-top: 1px solid #eee;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  border: 2px solid #eee;
  border-radius: 10px;
  padding: 1rem;
  font-size: var(--font-size-base);
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.25);
}

.btn-submit {
  background: var(--gradient-primary);
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(111, 66, 193, 0.3);
  color: white;
}

/* Footer */
.footer {
  background: var(--primary-navy);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 5rem;
}

.footer h5 {
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.footer a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-orange);
}

/* Section Spacing */
.section {
  padding: 5rem 0;
}

.section:nth-child(even) {
  background: linear-gradient(135deg, rgba(32, 201, 151, 0.05), rgba(232, 62, 140, 0.05));
}

/* Breadcrumbs */
.breadcrumb-section {
  padding: 2rem 0;
  background: var(--gradient-primary);
}

.breadcrumb-img {
  max-height: 50px;
  object-fit: contain;
}

/* Price Plans */
.price-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.price-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.price-card.featured {
  border: 3px solid var(--primary-purple);
  transform: scale(1.05);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-purple);
  margin: 1rem 0;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

/* Additional Pages Styles */
.page-section {
  padding: 4rem 0;
  min-height: 50vh;
}

.additional-content {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin: 2rem 0;
}

/* Space Page */
#space {
  min-height: 80vh;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin: 2rem 0;
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary { background: var(--gradient-primary); }
.bg-gradient-secondary { background: var(--gradient-secondary); }
.bg-gradient-accent { background: var(--gradient-accent); }

.shadow-custom {
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.rounded-custom {
  border-radius: 20px;
} 