/*--------------------------------------------------------------
# General typography & Colors
--------------------------------------------------------------*/
:root {
  --primary-color: #6a11cb;
  --secondary-color: #2575fc;
  --text-color: #333333;
  --text-muted: #6c757d;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --font-primary: 'Inter', sans-serif;
  --transition: all 0.3s ease-in-out;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --box-shadow-hover: 0 15px 35px rgba(106, 17, 203, 0.15);
  --border-radius: 12px;
}

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: #1a1a2e;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  text-decoration: none;
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 15px;
  text-transform: capitalize;
}

.section-title p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* Gradient Text */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom Buttons */
.btn-custom {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-custom:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(106, 17, 203, 0.2);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(106, 17, 203, 0.2);
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
.navbar {
  padding: 20px 0;
  transition: var(--transition);
  z-index: 999;
}

.navbar-brand {
  font-size: 24px;
  font-weight: 800;
  color: #1a1a2e !important;
}

.navbar-brand span {
  color: var(--primary-color);
}

.nav-link {
  font-weight: 600;
  color: #1a1a2e !important;
  margin: 0 10px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-item.active .nav-link::after {
  width: 100%;
}

.navbar-scrolled {
  background: rgba(255, 255, 255, 0.95);
  padding: 15px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 180px 0 120px;
  background: radial-gradient(circle at top right, rgba(106, 17, 203, 0.05), transparent 50%),
              radial-gradient(circle at bottom left, rgba(37, 117, 252, 0.05), transparent 50%),
              var(--white);
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-image {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-shape {
  position: absolute;
  top: -5%;
  right: -5%;
  width: 110%;
  height: 110%;
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.1) 0%, rgba(37, 117, 252, 0.1) 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: -1;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services-bg {
  background-color: var(--light-bg);
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  z-index: -1;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.service-card:hover::before {
  opacity: 1;
  visibility: visible;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(106, 17, 203, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 25px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.service-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  transition: var(--transition);
}

.service-card:hover .service-title, 
.service-card:hover p {
  color: var(--white);
}

/*--------------------------------------------------------------
# Process
--------------------------------------------------------------*/
.process-item {
  text-align: center;
  position: relative;
  padding: 30px;
}

.process-item::after {
  content: '\f0da';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 60px;
  right: -15px;
  font-size: 30px;
  color: #e0e0e0;
}

.process-item:last-child::after {
  display: none;
}

.process-icon {
  width: 90px;
  height: 90px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--primary-color);
  margin: 0 auto 25px;
  box-shadow: var(--box-shadow);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.process-icon::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px dashed rgba(106, 17, 203, 0.2);
  border-radius: 50%;
  transition: var(--transition);
}

.process-item:hover .process-icon {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  transform: scale(1.1);
}

.process-item:hover .process-icon::before {
  border-color: var(--primary-color);
  animation: spin 10s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.process-title {
  font-weight: 700;
  font-size: 20px;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio-filter {
  margin-bottom: 40px;
}

.portfolio-filter li {
  display: inline-block;
  margin: 0 10px;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  transition: var(--transition);
  padding: 5px 15px;
  border-radius: 30px;
}

.portfolio-filter li:hover, .portfolio-filter li.filter-active {
  background: var(--primary-color);
  color: var(--white);
}

.portfolio-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
}

.portfolio-img img {
  width: 100%;
  transition: transform 0.5s ease;
}

.portfolio-info {
  position: absolute;
  bottom: -100px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  text-align: center;
  transition: all 0.4s ease;
  opacity: 0;
}

.portfolio-wrap:hover .portfolio-img img {
  transform: scale(1.1);
}

.portfolio-wrap:hover .portfolio-info {
  bottom: 0;
  opacity: 1;
}

.portfolio-info h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.portfolio-info p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing-card {
  background: var(--white);
  padding: 50px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.pricing-card.featured {
  transform: scale(1.05);
  box-shadow: var(--box-shadow-hover);
  border: 2px solid var(--primary-color);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.plan-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.plan-price {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.plan-price span {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.plan-features li {
  padding: 10px 0;
  color: var(--text-color);
  border-bottom: 1px solid #f0f0f0;
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li i {
  color: #28a745;
  margin-right: 10px;
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonial-bg {
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.05) 0%, rgba(37, 117, 252, 0.05) 100%);
}

.testimonial-item {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin: 15px;
}

.testimonial-text {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.author-info h5 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.author-info p {
  margin: 0;
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 500;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact-info-box {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
  transition: var(--transition);
}

.contact-info-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(106, 17, 203, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary-color);
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact-details p {
  margin: 0;
  color: var(--text-muted);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-form .form-control {
  border: 1px solid #e0e0e0;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(106, 17, 203, 0.15);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background: #1a1a2e;
  color: #fff;
  padding: 80px 0 30px;
}

.footer-brand {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  display: inline-block;
}

.footer-brand span {
  color: var(--primary-color);
}

.footer-text {
  color: #a0a0a0;
  margin-bottom: 30px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--white);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #a0a0a0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #a0a0a0;
}

/*--------------------------------------------------------------
# Inner Pages Header
--------------------------------------------------------------*/
.page-header {
  padding: 150px 0 80px;
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.9) 0%, rgba(37, 117, 252, 0.9) 100%), url('../images/hero-bg.jpg') center/cover;
  text-align: center;
  color: var(--white);
}

.page-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 10px;
}

.breadcrumb {
  background: transparent;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
  color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .hero {
    padding: 150px 0 80px;
    text-align: center;
  }
  .hero-title {
    font-size: 42px;
  }
  .hero-image {
    margin-top: 50px;
  }
  .process-item::after {
    display: none;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: 60px 0;
  }
  .hero-title {
    font-size: 36px;
  }
  .section-title h2 {
    font-size: 30px;
  }
}
