:root {
  /* Primary Color Palette - High Contrast Pastels */
  --primary-color: #5258ed;
  --primary-light: #a5afff;
  --primary-dark: #533aba;
  
  --secondary-color: #19ba97;
  --secondary-light: #6be4bb;
  --secondary-dark: #0c6b5c;
  
  --accent-color: #ffa900;
  --accent-light: #ffd739;
  --accent-dark: #c37709;
  
  --neutral-color: #7b8490;
  --neutral-light: #c6c8cb;
  --neutral-dark: #4c5664;
  
  --surface-color: #f8fafc;
  --surface-light: #ffffff;
  --surface-dark: #eaecef;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  /* Borders */
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  --border-width: 1px;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--neutral-dark);
  background-color: var(--surface-light);
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.loaded {
  opacity: 1;
}

/* 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;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.53rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.87rem; }
h4 { font-size: 1.61rem; }
h5 { font-size: 1.30rem; }
h6 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Header Styles */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 0;
}

.navbar-brand {
  font-size: 1.64rem;
  font-weight: 700;
  color: var(--primary-color) !important;
  font-family: var(--font-secondary);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--neutral-dark) !important;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: var(--shadow-lg);
}

.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  font-weight: 600;
}

.navbar-toggler {
  border: 1px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(81, 98, 232, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2899, 102, 241, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

#hero .container {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  padding-top: 50px !important;
  font-size: 3.53rem;
  font-weight: 700;
  margin-bottom: 1.61rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.39rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  color: var(--neutral-dark);
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--neutral-color);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
#about {
  background: var(--surface-color);
}

.feature-card {
  background: var(--surface-light);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.feature-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.62rem;
}

.feature-card h4 {
  color: var(--neutral-dark);
  margin-bottom: 1rem;
}

/* Services Section */
.service-card {
  background: var(--surface-light);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.service-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.61rem;
}

.service-card h4 {
  color: var(--neutral-dark);
  margin-bottom: 1rem;
}

.service-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1.5rem 0;
}

.service-features {
  text-align: left;
  margin: 1.5rem 0;
}

.service-features li {
  margin-bottom: 0.69rem;
  color: var(--neutral-color);
}

/* Price Plan Section */
.pricing-card {
  background: var(--surface-light);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  position: relative;
  border: 2px solid var(--surface-dark);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
}

.pricing-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: var(--border-radius);
  font-size: 0.96rem;
  font-weight: 600;
}

.pricing-card h4 {
  margin-bottom: 1rem;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1.5rem 0;
}

.pricing-card.featured .price {
  color: white;
}

/* Team Section */
.team-member {
  text-align: center;
  background: var(--surface-light);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.70rem;
  border: 4px solid var(--primary-color);
}

.team-member h5 {
  color: var(--neutral-dark);
  margin-bottom: 0.60rem;
}

.team-member p {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 0;
}

/* Reviews Section */
.review-card {
  background: var(--surface-light);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  height: 100%;
  position: relative;
  border-left: 4px solid var(--primary-color);
}

.review-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-color);
  position: absolute;
  top: 10px;
  right: 20px;
  opacity: 0.3;
}

.review-author {
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 1rem;
}

/* FAQ Section */
.faq-item {
  background: var(--surface-light);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  background: var(--surface-color);
  padding: 1.5rem;
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  color: var(--neutral-dark);
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--surface-dark);
}

.faq-question.active {
  background: var(--primary-color);
  color: white;
}

.faq-question.active:hover {
  background: var(--primary-dark);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--neutral-color);
  line-height: 1.6;
  display: none;
}

/* Contact Form */
.contact-form {
  background: var(--surface-light);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.65rem;
}

.form-control {
  border: 2px solid var(--surface-dark);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(118, 122, 235, 0.25);
  outline: none;
}

.form-control.is-valid {
  border-color: var(--secondary-color);
}

.form-control.is-invalid {
  border-color: #d12f38;
}

.invalid-feedback {
  color: #f0423e;
  font-size: 0.95rem;
  margin-top: 0.46rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border: none;
  border-radius: var(--border-radius);
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Footer */
footer {
  background: var(--neutral-dark);
  color: var(--surface-light);
  padding: 3rem 0 1rem;
}

footer h5 {
  color: var(--primary-light);
  margin-bottom: 1rem;
}

footer a {
  color: var(--surface-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-light);
}

footer .social-links a {
  display: inline-block;
  margin-right: 1rem;
  font-size: 1.63rem;
}

/* Gallery */
.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Blog */
.blog-card {
  background: var(--surface-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card h5 {
  color: var(--neutral-dark);
  margin-bottom: 1rem;
}

.blog-card p {
  color: var(--neutral-color);
  margin-bottom: 1rem;
}

.blog-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

/* Utilities */
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }
.bg-light { background-color: var(--surface-color) !important; }

.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Breadcrumbs */
.breadcrumb-container {
  padding: 1rem 0;
  background: var(--surface-color);
}

.breadcrumb-container img {
  height: 30px;
  width: auto;
}

/* Space page specific */
#space {
  min-height: 80vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: var(--border-radius-lg);
  margin: 2rem 0;
} 


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
