:root {
  /* Neomorphic Color Palette */
  --primary-color: #4a6fa5;
  --primary-dark: #395780;
  --primary-light: #5c82ba;
  --secondary-color: #e0a458;
  --secondary-dark: #c88e3f;
  --secondary-light: #f3b96d;
  --neutral-100: #f8f9fa;
  --neutral-200: #e9ecef;
  --neutral-300: #dee2e6;
  --neutral-400: #ced4da;
  --neutral-500: #adb5bd;
  --neutral-600: #6c757d;
  --neutral-700: #495057;
  --neutral-800: #343a40;
  --neutral-900: #212529;
  
  /* Shadows & Effects */
  --neomorphic-light: rgba(255, 255, 255, 0.7);
  --neomorphic-shadow: rgba(0, 0, 0, 0.05);
  --card-shadow: 10px 10px 20px var(--neomorphic-shadow), -10px -10px 20px var(--neomorphic-light);
  --input-shadow: inset 2px 2px 5px var(--neomorphic-shadow), inset -2px -2px 5px var(--neomorphic-light);
  --button-shadow: 5px 5px 10px var(--neomorphic-shadow), -5px -5px 10px var(--neomorphic-light);
  --button-pressed: inset 2px 2px 5px var(--neomorphic-shadow), inset -2px -2px 5px var(--neomorphic-light);
  
  /* Typography */
  --heading-font: 'Oswald', sans-serif;
  --body-font: 'Nunito', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 3rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-round: 50%;
  
  /* Transitions */
  --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(--body-font);
  color: var(--neutral-700);
  background-color: var(--neutral-100);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.2;
  color: var(--neutral-800);
}

.section-heading {
  position: relative;
  margin-bottom: var(--space-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-heading:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin: var(--space-md) auto 0;
}

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

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

a:hover, a:focus {
  color: var(--primary-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Fixed Header */
header {
  z-index: 1030;
  transition: var(--transition-normal);
}

.navbar {
  padding: var(--space-sm) 0;
  transition: all var(--transition-normal);
}

.navbar-brand {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.navbar-light .navbar-brand:hover {
  color: var(--primary-dark);
}

.nav-link {
  font-weight: 600;
  padding: var(--space-sm) var(--space-md) !important;
  position: relative;
}

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

.nav-link:hover:after, .nav-link:focus:after {
  width: 80%;
}

/* Button Styles */
.btn {
  position: relative;
  font-weight: 600;
  border: none;
  transition: all var(--transition-normal);
  border-radius: var(--radius-md);
  padding: 0.6rem 1.5rem;
  overflow: hidden;
}

.neomorphic-btn {
  box-shadow: var(--button-shadow);
  background-color: var(--neutral-100);
  color: var(--neutral-700);
}

.neomorphic-btn:hover, .neomorphic-btn:focus {
  box-shadow: var(--button-pressed);
  transform: translateY(2px);
}

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

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-dark);
  color: white;
}

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

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

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.75rem 1.75rem;
  font-size: 1.1rem;
}

/* Card Styles */
.neomorphic-card {
  background: var(--neutral-100);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: none;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.neomorphic-card:hover {
  transform: translateY(-5px);
  box-shadow: 15px 15px 30px var(--neomorphic-shadow), -15px -15px 30px var(--neomorphic-light);
}

.card-image {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-image img {
  transition: transform var(--transition-slow);
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.neomorphic-card:hover .card-image img {
  transform: scale(1.05);
}

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

/* Form Inputs */
.neomorphic-input {
  border: none;
  background: var(--neutral-100);
  box-shadow: var(--input-shadow);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.2rem;
  transition: all var(--transition-normal);
}

.neomorphic-input:focus {
  outline: none;
  box-shadow: var(--input-shadow), 0 0 0 3px rgba(74, 111, 165, 0.25);
}

.form-check-input {
  border: none;
  background: var(--neutral-100);
  box-shadow: var(--input-shadow);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.hero-section .container {
  position: relative;
  z-index: 10;
}

.animated-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Services Section */
.animated-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  border-radius: var(--radius-round);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto var(--space-md);
  position: relative;
  overflow: hidden;
}

.animated-icon:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4));
  transform: translateX(-100%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

/* Portfolio Section */
.portfolio-item .card-image {
  height: 250px;
}

.portfolio-item .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Testimonial Section */
.testimonial-card {
  text-align: center;
}

.testimonial-image {
  margin: 0 auto var(--space-lg);
  width: 120px;
  height: 120px;
  border-radius: var(--radius-round);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  font-style: italic;
  position: relative;
  padding: 0 var(--space-lg);
  margin-bottom: var(--space-lg);
}

.testimonial-text:before, .testimonial-text:after {
  content: '"';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--primary-light);
  opacity: 0.3;
  position: absolute;
}

.testimonial-text:before {
  left: 0;
  top: -20px;
}

.testimonial-text:after {
  right: 0;
  bottom: -40px;
  transform: rotate(180deg);
}

.testimonial-name {
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--primary-color);
}

.testimonial-position {
  color: var(--neutral-600);
  font-size: 0.9rem;
}

.carousel-control-prev, .carousel-control-next {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-color);
  border-radius: var(--radius-round);
  opacity: 0.8;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-prev {
  left: -1.5rem;
}

.carousel-control-next {
  right: -1.5rem;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Pricing Section */
.pricing-card {
  text-align: center;
}

.pricing-card.featured {
  transform: scale(1.05);
  position: relative;
}

.featured-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--secondary-color);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: var(--card-shadow);
}

.pricing-tier {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: var(--space-md);
}

.pricing-value {
  margin: var(--space-lg) 0;
}

.pricing-value .currency {
  vertical-align: super;
  font-size: 1rem;
  margin-right: 2px;
  color: var(--neutral-600);
}

.pricing-value .price {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-color);
}

.pricing-value .period {
  font-size: 0.9rem;
  color: var(--neutral-600);
}

.pricing-features {
  margin-bottom: var(--space-lg);
  text-align: left;
  padding-left: var(--space-md);
}

.pricing-features li {
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: var(--space-lg);
}

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

.pricing-note {
  font-size: 0.9rem;
  color: var(--neutral-600);
}

/* Media Section */
.media-card {
  position: relative;
}

.media-card .card-image {
  height: 300px;
}

.media-date {
  display: inline-block;
  background: var(--secondary-color);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.media-source {
  color: var(--neutral-600);
  font-style: italic;
}

/* Sustainability Section */
.sustainability-icon {
  width: 80px;
  height: 80px;
  margin-bottom: var(--space-md);
}

/* Partners Section */
.partners-carousel {
  padding: var(--space-lg) 0;
}

.partners-carousel img {
  max-height: 80px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all var(--transition-normal);
}

.partners-carousel img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Contact Section */
.contact-info {
  margin-bottom: var(--space-xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.contact-item i {
  margin-right: var(--space-md);
  width: 24px;
  height: 24px;
  color: var(--primary-color);
}

.contact-item p {
  margin: 0;
}

.map-container {
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

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

/* Footer */
.footer {
  padding-top: var(--space-xl);
  background-color: var(--neutral-800);
}

.footer-heading {
  color: white;
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.footer-text {
  color: var(--neutral-400);
}

.footer-links a {
  color: var(--neutral-400);
  display: block;
  padding: var(--space-xs) 0;
  transition: color var(--transition-normal);
}

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

.footer-newsletter h5 {
  color: white;
  font-size: 1rem;
}

.social-links a {
  color: var(--neutral-400);
  transition: color var(--transition-normal);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.copyright-text {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  color: var(--neutral-500);
  font-size: 0.9rem;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) 0;
}

.success-icon {
  width: 120px;
  height: 120px;
  background-color: var(--primary-light);
  border-radius: var(--radius-round);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto var(--space-lg);
  position: relative;
  color: white;
  font-size: 3rem;
}

/* Terms and Privacy Pages */
.terms-content, .privacy-content {
  padding-top: 100px;
  padding-bottom: var(--space-xl);
}

/* Resource Links */
.resource-link {
  color: var(--primary-color);
  display: inline-block;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-normal);
}

.resource-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-normal);
}

.resource-link:hover:after {
  width: 100%;
}

/* Career Section */
.career-position {
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--neutral-300);
  margin-bottom: var(--space-md);
}

.career-position:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

/* Utility Classes */
.bg-light {
  background-color: var(--neutral-200) !important;
}

.bg-white {
  background-color: white !important;
}

.text-muted {
  color: var(--neutral-600) !important;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-section {
    height: auto;
    min-height: 80vh;
    padding: 120px 0 60px;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}

@media (max-width: 768px) {
  .section-heading {
    font-size: 1.8rem;
  }
  
  .pricing-value .price {
    font-size: 2.5rem;
  }
  
  .testimonial-image {
    width: 100px;
    height: 100px;
  }
  
  .footer {
    text-align: center;
  }
  
  .social-links, .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--space-md);
  }
  
  .footer-links a {
    margin: 0 var(--space-sm);
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  .hero-section {
    padding: 100px 0 40px;
  }
  
  .btn-group .btn {
    display: block;
    width: 100%;
    margin-bottom: var(--space-sm);
  }
  
  .section-heading:after {
    margin: var(--space-sm) auto 0;
  }
  
  .testimonial-text {
    padding: 0;
  }
  
  .testimonial-text:before,
  .testimonial-text:after {
    display: none;
  }
}

/* Animation Styles */
.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fadeInUp {
  animation-name: fadeInUp;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-40px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fadeInLeft {
  animation-name: fadeInLeft;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translate3d(40px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fadeInRight {
  animation-name: fadeInRight;
}