:root {
  /* Primary Colors */
  --primary-color: #4a6bff;
  --primary-dark: #3951c6;
  --primary-light: #7c94ff;
  
  /* Secondary Colors */
  --secondary-color: #ff5c8a;
  --secondary-dark: #d14572;
  --secondary-light: #ff83a7;
  
  /* Accent Colors */
  --accent-color: #40e0d0;
  --accent-dark: #2cb3a5;
  --accent-light: #6ffff0;
  
  /* Neutral Colors */
  --dark: #2d3142;
  --gray-dark: #4c5c68;
  --gray: #8896a6;
  --gray-light: #c5d1de;
  --light: #f5f7fa;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  
  /* Typography */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Nunito', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Animation */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--dark);
}

h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
}

h2 {
  font-size: 2.5rem;
  position: relative;
  margin-bottom: var(--spacing-lg);
}

h2:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: var(--radius-sm);
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  transition: transform var(--transition-normal);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-description {
  font-size: 1.2rem;
  color: var(--gray-dark);
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
}

/* Button Styles */
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-heading);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
  z-index: -1;
}

.btn:hover:before {
  width: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(74, 107, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(74, 107, 255, 0.4);
  color: white;
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background: transparent;
}

.btn-outline-primary:hover {
  color: white;
  background: var(--primary-color);
}

.btn-outline-light {
  color: white;
  border-color: white;
  background: transparent;
}

.btn-outline-light:hover {
  color: var(--primary-color);
  background: white;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Header Styles */
.header-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-normal);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}

.header-section.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  height: 60px;
  width: auto;
}

.navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 600;
  padding: 0.5rem 1rem;
  margin: 0 0.2rem;
  position: relative;
  transition: all var(--transition-fast);
}

.navbar-nav .nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: width var(--transition-normal);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after {
  width: 70%;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: var(--spacing-xl) 0;
  margin-top: 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
}

.hero-title, .hero-subtitle {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: var(--spacing-md);
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  margin-top: var(--spacing-md);
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
}

/* Services Section */
.services-section {
  padding: var(--spacing-xl) 0;
  background: var(--light);
}

.service-card {
  height: 100%;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-normal);
  border: 1px solid var(--gray-light);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.service-card:hover .card-img-top {
  transform: scale(1.05);
}

.card-content {
  padding: var(--spacing-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--dark);
}

.card-content p {
  color: var(--gray-dark);
  margin-bottom: var(--spacing-md);
  flex: 1;
}

/* Case Studies Section */
.case-studies-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(to right, #f5f7fa, #e4e8f0);
}

.case-study-card {
  height: 100%;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-normal);
  border: none;
  display: flex;
  flex-direction: column;
}

.case-study-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.progress-container {
  margin-top: var(--spacing-md);
}

.progress-container p {
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
}

.progress {
  height: 8px;
  background-color: var(--gray-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.progress-bar {
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
}

/* Process Section */
.process-section {
  padding: var(--spacing-xl) 0;
  background-color: white;
}

.accordion-item {
  background: white;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  margin-bottom: var(--spacing-md);
}

.accordion-button {
  background: white;
  color: var(--dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background: linear-gradient(to right, rgba(74, 107, 255, 0.05), white);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-light);
}

.step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  margin-right: var(--spacing-sm);
  font-weight: 700;
}

.accordion-body {
  padding: 1.5rem;
}

.image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.accordion-item:hover .image-container img {
  transform: scale(1.05);
}

/* Behind the Scenes Section */
.behind-scenes-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(to right, #f0f2f5, #e6ebf5);
}

.behind-scenes-card {
  height: 100%;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-normal);
  border: none;
  display: flex;
  flex-direction: column;
}

.behind-scenes-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Resources Section */
.resources-section {
  padding: var(--spacing-xl) 0;
  background: white;
}

.resource-card {
  height: 100%;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-normal);
  border: 1px solid var(--gray-light);
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.resource-card .btn {
  align-self: flex-start;
}

/* Pricing Section */
.pricing-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, #f5f7fa, #e4e8f0);
}

.pricing-card {
  height: 100%;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-normal);
  border: none;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.pricing-card.featured {
  background: linear-gradient(to bottom, white, #f0f5ff);
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(74, 107, 255, 0.2);
  border: 2px solid var(--primary-light);
  z-index: 1;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-card .card-header {
  background: var(--gradient-primary);
  color: white;
  padding: var(--spacing-md);
  border-bottom: none;
}

.pricing-card .card-header h3 {
  color: white;
  margin-bottom: var(--spacing-xs);
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-heading);
}

.currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.period {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.features-list {
  list-style: none;
  padding: 0;
  margin: var(--spacing-md) 0;
  text-align: left;
}

.features-list li {
  padding: var(--spacing-xs) 0;
  margin-bottom: var(--spacing-xs);
  padding-left: 30px;
  position: relative;
}

.features-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.pricing-footer {
  margin-top: auto;
  padding: var(--spacing-md);
}

/* Projects Section */
.projects-section {
  padding: var(--spacing-xl) 0;
  background: white;
}

.project-card {
  height: 100%;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-normal);
  border: 1px solid var(--gray-light);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, #f5f7fa, #e4e8f0);
}

.contact-info {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.info-item {
  margin-bottom: var(--spacing-md);
}

.info-item h3 {
  margin-bottom: var(--spacing-xs);
  color: var(--primary-color);
}

.map-container {
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-top: var(--spacing-md);
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form-container {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-control, .form-select {
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.25rem rgba(74, 107, 255, 0.25);
}

.form-label {
  font-weight: 600;
  color: var(--gray-dark);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Footer Section */
.footer-section {
  padding: var(--spacing-xl) 0 var(--spacing-md);
  background: var(--dark);
  color: white;
}

.footer-info {
  margin-bottom: var(--spacing-lg);
}

.footer-info p {
  color: var(--gray-light);
  margin-top: var(--spacing-md);
}

.footer-links h3, .footer-social h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-links ul li a {
  color: var(--gray-light);
  transition: color var(--transition-fast);
}

.footer-links ul li a:hover {
  color: white;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.social-links a {
  color: var(--gray-light);
  transition: color var(--transition-fast);
  font-weight: 600;
}

.social-links a:hover {
  color: white;
}

.newsletter {
  margin-top: var(--spacing-lg);
}

.newsletter p {
  color: var(--gray-light);
  margin-bottom: var(--spacing-sm);
}

.newsletter-form .input-group {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.newsletter-form .form-control {
  background: transparent;
  border: none;
  color: white;
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn {
  background: var(--primary-color);
  border: none;
  color: white;
}

.footer-bottom {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-light);
  margin: 0;
}

/* Cookie Consent */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 1rem;
  z-index: 9999;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-content p {
  margin: 0;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa, #e4e8f0);
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.success-container {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  max-width: 600px;
}

.success-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.success-message h2 {
  margin-bottom: var(--spacing-md);
}

.success-message p {
  margin-bottom: var(--spacing-md);
  color: var(--gray-dark);
}

/* About, Privacy, Terms Pages */
.page-content {
  padding-top: 120px;
  padding-bottom: var(--spacing-xl);
}

.page-header {
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.content-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 767.98px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-header {
    margin-bottom: var(--spacing-lg);
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content button {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
}

/* Additional Utility Classes */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.neo-brutalism {
  box-shadow: 8px 8px 0px var(--dark);
  border: 3px solid var(--dark);
  transform: translate(-4px, -4px);
  transition: all var(--transition-fast);
}

.neo-brutalism:hover {
  transform: translate(0, 0);
  box-shadow: 0px 0px 0px var(--dark);
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  margin-top: var(--spacing-sm);
  transition: all var(--transition-fast);
}

.read-more:after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform var(--transition-fast);
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more:hover:after {
  transform: translateX(4px);
}