:root {
  --primary-color-1: #7e57c2; /* Main purple */
  --primary-color-2: #f2c75c; /* Gold */
  --primary-color-3: #5c9ead; /* Teal */
  --primary-color-4: #e97777; /* Coral */
  --primary-color-5: #80b192; /* Sage green */
  
  --light-1: #f5f0ff;
  --light-2: #faf6e9;
  --light-3: #eef6f7;
  --light-4: #fdf3f3;
  --light-5: #f0f7f2;
  
  --dark-1: #4a3376;
  --dark-2: #c29b2e;
  --dark-3: #3a6570;
  --dark-4: #b04b4b;
  --dark-5: #4d6a57;
  
  --white: #ffffff;
  --black: #222222;
  --gray-light: #f8f9fa;
  --gray-medium: #dee2e6;
  --gray-dark: #6c757d;
}

/* Base styles */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--black);
}

a {
  color: var(--primary-color-1);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--dark-1);
}

/* Utility classes */
.section-padding {
  padding: 100px 0;
}

.section-title {
  margin-bottom: 3rem;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color-1);
  border-color: var(--primary-color-1);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--dark-1);
  border-color: var(--dark-1);
}

.btn-secondary {
  background-color: var(--primary-color-2);
  border-color: var(--primary-color-2);
  color: var(--black);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--dark-2);
  border-color: var(--dark-2);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 15px 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary-color-1);
}

.nav-link {
  font-weight: 600;
  color: var(--black);
  margin: 0 15px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color-1);
}

/* Hero section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--light-1);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.hero-shape {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 300px;
  height: 300px;
  background-color: var(--primary-color-2);
  opacity: 0.2;
  border-radius: 38% 62% 70% 30% / 30% 30% 70% 70%;
  animation: morph 15s linear infinite alternate;
}

@keyframes morph {
  0% {
    border-radius: 38% 62% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 70% 30% 50% 50% / 30% 60% 40% 70%;
  }
  100% {
    border-radius: 40% 60% 30% 70% / 70% 40% 60% 30%;
  }
}

/* About section */
.about {
  background-color: var(--white);
}

.about-img {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.about-img:hover img {
  transform: scale(1.05);
}

.about-feature {
  margin-bottom: 30px;
  padding: 25px;
  border-radius: 10px;
  background-color: var(--light-1);
  transition: all 0.3s ease;
}

.about-feature:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.about-feature i {
  font-size: 2.5rem;
  color: var(--primary-color-1);
  margin-bottom: 15px;
}

/* Services section */
.services {
  background-color: var(--light-3);
}

.service-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
}

.service-price {
  display: inline-block;
  background-color: var(--primary-color-2);
  color: var(--black);
  font-weight: 700;
  padding: 5px 15px;
  border-radius: 50px;
  margin-bottom: 15px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.service-features li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.service-features li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary-color-1);
}

/* Features section */
.features {
  background-color: var(--white);
}

.feature-card {
  padding: 30px;
  border-radius: 10px;
  background-color: var(--light-1);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color-1);
  margin-bottom: 20px;
}

/* Price plans */
.price-plans {
  background-color: var(--light-2);
}

.price-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
}

.price-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.price-header {
  padding: 30px;
  background-color: var(--primary-color-1);
  color: var(--white);
}

.price-content {
  padding: 30px;
}

.price-tag {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 20px 0;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.price-features li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.price-features li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary-color-1);
}

/* Team section */
.team {
  background-color: var(--white);
}

.team-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.team-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.team-img {
  position: relative;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img img {
  transform: scale(1.05);
}

.team-content {
  padding: 25px;
  text-align: center;
  background-color: var(--white);
}

.team-name {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.team-role {
  color: var(--gray-dark);
  margin-bottom: 0;
}

/* Reviews section */
.reviews {
  background-color: var(--light-4);
}

.review-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.review-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.review-text {
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
}

.review-text:before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--primary-color-1);
  opacity: 0.2;
  position: absolute;
  left: -15px;
  top: -30px;
}

.review-author {
  display: flex;
  align-items: center;
}

.review-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color-1);
}

/* Core info */
.core-info {
  background-color: var(--white);
}

.core-info-card {
  padding: 30px;
  border-radius: 10px;
  background-color: var(--light-5);
  transition: all 0.3s ease;
  height: 100%;
}

.core-info-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.core-info-icon {
  font-size: 3rem;
  color: var(--primary-color-5);
  margin-bottom: 20px;
}

/* Contact section */
.contact {
  background-color: var(--light-1);
}

.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-form .form-control {
  border-radius: 50px;
  padding: 12px 20px;
  margin-bottom: 20px;
  border: 1px solid var(--gray-medium);
}

.contact-form textarea.form-control {
  border-radius: 20px;
  resize: none;
  height: 150px;
}

.contact-form .form-check {
  margin-bottom: 20px;
}

.contact-info {
  padding: 40px;
  background-color: var(--primary-color-1);
  color: var(--white);
  border-radius: 10px;
  height: 100%;
}

.contact-info h4 {
  color: var(--white);
  margin-bottom: 30px;
}

.contact-info p {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.contact-info i {
  margin-right: 15px;
  font-size: 1.5rem;
}

/* Blog section */
.blog {
  background-color: var(--white);
}

.blog-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.blog-img {
  height: 200px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.1);
}

.blog-content {
  padding: 25px;
  background-color: var(--white);
}

.blog-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.blog-excerpt {
  margin-bottom: 20px;
}

/* FAQ section */
.faq {
  background-color: var(--light-3);
}

.accordion-item {
  margin-bottom: 15px;
  border: none;
  border-radius: 10px;
  overflow: hidden;
}

.accordion-button {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color-1);
  background-color: var(--light-1);
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
overflow-x: hidden;
  padding: 20px;
  background-color: var(--white);
}

/* Gallery section */
.gallery {
  background-color: var(--white);
}

.gallery-item {
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Footer */
.footer {
  background-color: var(--black);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 1.2rem;
}

.footer p {
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--gray-medium);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color-1);
  padding-left: 5px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
}

.footer-bottom p {
  margin-bottom: 0;
}

/* Space page */
#space {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-1);
}

/* Additional pages */
.page-header {
  height: 300px;
  background-color: var(--primary-color-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-header:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.1) 100%);
}

.breadcrumb-item {
  color: var(--white);
}

.breadcrumb-item a {
  color: var(--light-2);
}

.breadcrumb-item.active {
  color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--white);
} 