/* Variables & Base Styles */
:root {
  /* Primary Colors - Complementary Scheme */
  --primary-color: #3273dc;
  --primary-dark: #2860b9;
  --primary-light: #4a89e8;
  --secondary-color: #dc5932;
  --secondary-dark: #b94728;
  --secondary-light: #e87248;
  
  /* Neutral Colors */
  --dark: #222222;
  --dark-gray: #444444;
  --medium-gray: #777777;
  --light-gray: #eeeeee;
  --off-white: #f7f7f7;
  --white: #ffffff;
  
  /* Accent Colors */
  --accent1: #32a852;
  --accent2: #a832a8;
  --accent3: #a89e32;
  
  /* Fonts */
  --heading-font: 'Oswald', sans-serif;
  --body-font: 'Nunito', sans-serif;
  
  /* Shadows & Effects */
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 15px 35px rgba(50, 115, 220, 0.2);
  --text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  --section-padding: 5rem 1.5rem;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  
  /* Borders & Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
}

/* General Styles */
html, body {
  font-family: var(--body-font);
  color: var(--dark);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

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

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

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

.section {
  padding: var(--section-padding);
  position: relative;
}

.container {
  z-index: 2;
  position: relative;
}

.divider {
  height: 3px;
  width: 80px;
  background: var(--primary-color);
  margin: 0 auto 2rem;
}

/* Utility Classes */
.has-shadow {
  box-shadow: var(--card-shadow);
}

.has-text-shadow {
  text-shadow: var(--text-shadow);
}

.is-curved {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.has-bg-dots {
  background-image: radial-gradient(var(--light-gray) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* 3D Effects */
.has-3d-shadow {
  box-shadow: 
    0 10px 20px rgba(0, 0, 0, 0.1),
    0 6px 6px rgba(0, 0, 0, 0.05),
    0 -3px 8px rgba(255, 255, 255, 0.03);
  transform: perspective(1000px) rotateX(0deg);
  transition: transform var(--transition-medium);
}

.has-3d-shadow:hover {
  transform: perspective(1000px) rotateX(2deg) translateY(-5px);
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.15),
    0 8px 8px rgba(0, 0, 0, 0.08),
    0 -4px 10px rgba(255, 255, 255, 0.05);
}

.is-3d-button {
  transform: translateY(0);
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-fast);
}

.is-3d-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.is-3d-button:active {
  transform: translateY(1px);
  box-shadow: 0 3px 5px rgba(50, 50, 93, 0.1), 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Buttons */
.button {
  font-family: var(--body-font);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
}

.button.is-primary {
  background-color: var(--primary-color);
  border-color: transparent;
}

.button.is-primary:hover {
  background-color: var(--primary-dark);
}

.button.is-secondary {
  background-color: var(--secondary-color);
  border-color: transparent;
  color: var(--white);
}

.button.is-secondary:hover {
  background-color: var(--secondary-dark);
}

.button.is-rounded {
  border-radius: 9999px;
  padding-left: 1.5em;
  padding-right: 1.5em;
}

.button.is-outlined {
  background-color: transparent;
  border-color: currentColor;
}

.button.is-outlined:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Read more links */
.read-more-link {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
  padding-right: 25px;
  transition: var(--transition-fast);
}

.read-more-link:after {
  content: '→';
  position: absolute;
  right: 0;
  top: 0;
  transition: transform var(--transition-fast);
}

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

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

/* Navbar/Header */
.navbar {
  transition: background-color var(--transition-fast);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-item {
  font-family: var(--heading-font);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
}

.navbar-item:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  filter: brightness(0.7);
}

.hero-background:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.hero-body {
  z-index: 2;
  position: relative;
}

.hero .title,
.hero .subtitle,
.hero p {
  color: var(--white);
  text-shadow: var(--text-shadow);
}

.hero-image-container {
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.hero-image-container img {
  transform: rotateY(-5deg) rotateX(5deg);
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius-md);
  transition: transform var(--transition-medium);
}

.hero-image-container:hover img {
  transform: rotateY(0deg) rotateX(0deg);
}

/* Vision Section */
.vision-content {
  position: relative;
  padding: 2rem;
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
}

.vision-content:before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 8rem;
  color: var(--primary-color);
  opacity: 0.1;
  font-family: var(--heading-font);
}

.vision-card {
  padding: 2rem;
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
  height: 100%;
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vision-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.card-image-container {
  width: 100%;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  text-align: center;
}

.card-image-container img {
  transition: transform var(--transition-medium);
  object-fit: cover;
  margin: 0 auto;
}

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

/* About Section */
.about-image-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.about-image-container:before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  background: var(--primary-color);
  z-index: -1;
  border-radius: var(--border-radius-lg);
}

.about-image-container img {
  transform: scale(1);
  transition: transform var(--transition-medium);
  display: block;
  width: 100%;
}

.about-image-container:hover img {
  transform: scale(1.02);
}

/* Team Carousel */
.carousel-container {
  position: relative;
  padding: 2rem 0;
}

.team-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 2rem;
  padding: 1rem 0;
}

.team-carousel::-webkit-scrollbar {
  display: none;
}

.team-slide {
  flex: 0 0 auto;
  width: 300px;
  scroll-snap-align: start;
}

.team-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-medium);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.team-card .card-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

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

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

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-controls button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-controls button:hover {
  background: var(--primary-color);
  color: var(--white);
}

.carousel-controls button span {
  font-size: 1.5rem;
}

/* Features Section */
.feature-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-medium);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

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

.feature-card .image-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

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

.feature-card .card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.feature-card .price {
  color: var(--secondary-color);
  font-weight: bold;
  margin-bottom: 1rem;
}

.feature-list {
  margin-bottom: 1.5rem;
  list-style-type: none;
  padding-left: 0;
}

.feature-list li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.feature-list li:before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0.5rem;
}

.featured {
  border: 2px solid var(--primary-color);
  position: relative;
}

.featured-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  font-weight: bold;
  z-index: 2;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* Case Studies Section */
.case-study-card {
  height: 100%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-medium);
}

.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.case-study-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.case-study-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

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

.case-study-info {
  flex-grow: 1;
}

.case-study-results {
  display: flex;
  justify-content: space-around;
  margin-top: 2rem;
  text-align: center;
}

.result-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.result-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.result-label {
  font-size: 0.9rem;
  color: var(--medium-gray);
}

/* Accolades Section */
.accolade-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
  height: 100%;
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.accolade-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.accolade-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accolade-icon img {
  max-width: 100%;
  max-height: 100%;
}

/* Timeline */
.timeline {
  position: relative;
  margin: 3rem 0;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-marker {
  flex: 0 0 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary-color);
  margin: 0 3rem;
  z-index: 1;
}

.timeline-content {
  flex: 0 0 calc(50% - 5rem);
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
}

/* Resources Section */
.resource-card {
  height: 100%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.resource-links {
  margin-top: 1.5rem;
}

.resource-item {
  padding: 1.5rem;
  border-bottom: 1px solid var(--light-gray);
}

.resource-item:last-child {
  border-bottom: none;
}

.resource-item h4 {
  margin-bottom: 0.5rem;
}

.resource-item a {
  color: var(--primary-color);
  transition: color var(--transition-fast);
  font-weight: 600;
}

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

.free-resource {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
  height: 100%;
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.free-resource:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.resource-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* Media Section */
.media-card {
  height: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.media-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.media-card .card-image {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
}

.media-card .image-container {
  max-width: 200px;
  max-height: 100px;
}

.media-card .image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.media-source {
  font-style: italic;
  color: var(--medium-gray);
}

.media-banner {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--card-shadow);
}

/* Contact Section */
.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-item .icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(50, 115, 220, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item .info {
  flex-grow: 1;
}

.contact-form-card {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.contact-form .field {
  margin-bottom: 1.5rem;
}

.contact-form .label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  border-radius: var(--border-radius-md);
  border: 2px solid var(--light-gray);
  box-shadow: none;
  transition: all var(--transition-fast);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
}

.social-links {
  margin-top: 2rem;
}

.social-links .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

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

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

/* Footer */
.footer {
  background: var(--dark);
  padding: 5rem 1.5rem 3rem;
  color: var(--white);
}

.footer .title {
  color: var(--white);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

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

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

.social-links a {
  margin-right: 0.75rem;
  transition: color var(--transition-fast);
}

.social-links a:hover {
  color: var(--primary-light);
}

.newsletter-form .input {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

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

.newsletter-form .input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
}

.divider.is-light {
  background: rgba(255, 255, 255, 0.1);
  width: 100%;
  margin: 2rem 0;
}

.copyright {
  padding-top: 1.5rem;
  font-size: 0.875rem;
}

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

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

.cookie-content p {
  margin-bottom: 0;
  margin-right: 2rem;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.success-container {
  max-width: 600px;
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
}

.success-icon {
  font-size: 5rem;
  color: var(--accent1);
  margin-bottom: 2rem;
}

/* Privacy & Terms Pages */
.privacy-page,
.terms-page {
  padding-top: 100px;
}

.privacy-content,
.terms-content {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
}

/* Media Queries */
@media (max-width: 1023px) {
  .section {
    padding: 4rem 1rem;
  }
  
  .timeline:before {
    left: 60px;
  }
  
  .timeline-item {
    flex-direction: row !important;
  }
  
  .timeline-marker {
    flex: 0 0 20px;
    margin: 0 2rem 0 50px;
  }
  
  .timeline-content {
    flex: 0 0 calc(100% - 130px);
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
  
  .case-study-results {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .contact-item {
    flex-direction: column;
  }
  
  .contact-item .icon {
    margin-bottom: 1rem;
    margin-right: 0;
  }
}

@media (max-width: 640px) {
  .timeline-marker {
    margin-left: 20px;
  }
  
  .timeline:before {
    left: 30px;
  }
  
  .timeline-content {
    flex: 0 0 calc(100% - 80px);
  }
}