:root {
  /* Primary Color Palette - 5 colors with light/dark shades */
  --primary-purple: #6f42c1;
  --primary-purple-light: #8a63d0;
  --primary-purple-dark: #5a359c;
  
  --primary-orange: #fd7e14;
  --primary-orange-light: #ff9642;
  --primary-orange-dark: #dc6502;
  
  --primary-green: #28a745;
  --primary-green-light: #34ce57;
  --primary-green-dark: #1e7e34;
  
  --primary-teal: #20c997;
  --primary-teal-light: #3dd5aa;
  --primary-teal-dark: #1ba085;
  
  --primary-crimson: #dc3545;
  --primary-crimson-light: #e15960;
  --primary-crimson-dark: #b02a37;
  
  /* Neutral colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #6c757d;
  --dark-gray: #343a40;
  --black: #000000;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-purple), var(--primary-teal));
  --gradient-secondary: linear-gradient(135deg, var(--primary-orange), var(--primary-crimson));
  --gradient-accent: linear-gradient(135deg, var(--primary-green), var(--primary-teal));
  
  /* Conservative font sizes */
  --font-size-base: 1rem;
  --font-size-small: 0.875rem;
  --font-size-large: 1.125rem;
  --h1-size: 2rem;
  --h2-size: 1.75rem;
  --h3-size: 1.5rem;
  --h4-size: 1.25rem;
  --navbar-brand-size: 1.125rem;
}

/* Base 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(--dark-gray);
  background-color: var(--white);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Conservative heading sizes */
h1 { font-size: var(--h1-size); font-weight: 700; margin-bottom: 1rem; }
h2 { font-size: var(--h2-size); font-weight: 600; margin-bottom: 0.875rem; }
h3 { font-size: var(--h3-size); font-weight: 600; margin-bottom: 0.75rem; }
h4 { font-size: var(--h4-size); font-weight: 500; margin-bottom: 0.625rem; }

p { margin-bottom: 1rem; }

/* Header and Navigation */
.navbar-brand {
  font-size: var(--navbar-brand-size) !important;
  font-weight: 600;
  color: var(--primary-purple) !important;
}

.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--dark-gray) !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-purple) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../KEG_images/hero-bg.webp') center/cover;
  opacity: 0.2;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-decorative {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.hero-decorative:nth-child(1) {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.hero-decorative:nth-child(2) {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 5%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section:nth-child(even) {
  background-color: var(--light-gray);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--medium-gray);
  text-align: center;
  margin-bottom: 2rem;
}

/* Services Cards */
.service-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-purple);
  margin: 1rem 0;
}

/* Team Cards */
.team-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
  text-align: center;
}

/* Price Plan Cards */
.price-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  position: relative;
}

.price-card.featured {
  background: var(--gradient-primary);
  color: var(--white);
  transform: scale(1.05);
}

.price-card:hover {
  transform: translateY(-10px);
}

.price-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  margin: 1rem 0;
}

/* Reviews/Testimonials */
.review-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 1rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.review-author {
  font-weight: 600;
  color: var(--primary-purple);
}

/* Blog Cards */
.blog-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-link {
  color: var(--primary-purple);
  text-decoration: none;
  font-weight: 500;
}

.blog-link:hover {
  color: var(--primary-purple-dark);
}

/* FAQ */
.faq-item {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 10px 10px 0 0;
  margin: 0;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 1.5rem;
  display: none;
}

.faq-answer.show {
  display: block;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.form-control {
  border-radius: 10px;
  border: 2px solid #e9ecef;
  padding: 0.75rem 1rem;
  transition: border-color 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-primary {
  background: var(--gradient-primary);
  border: none;
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--gradient-primary);
}

/* Footer */
.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-teal);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-teal);
}

.footer-bottom {
  border-top: 1px solid var(--medium-gray);
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
}

/* Breadcrumbs */
.breadcrumb-container {
  padding: 1rem 0;
  background: var(--light-gray);
}

.breadcrumb-image {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-purple);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1rem 2rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  margin-right: auto;
}

.timeline-item:nth-child(even) {
  left: 50%;
  margin-left: auto;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--primary-purple);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd)::before {
  right: -2rem;
}

.timeline-item:nth-child(even)::before {
  left: -2rem;
}

/* Process Steps */
.process-step {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* 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-lg {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Space page styles */
#space {
  min-height: 70vh;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  margin: 2rem 0;
} 


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
