/* Variables */
:root {
  /* Primary Colors - Split-Complementary Scheme */
  --primary-color: #3E64FF;       /* Vibrant Blue */
  --primary-dark: #2A47C0;        /* Darker Blue */
  --primary-light: #7993FF;       /* Lighter Blue */
  
  --secondary-color: #FF5757;     /* Coral Red - Complementary */
  --secondary-dark: #D93A3A;      /* Darker Red */
  --secondary-light: #FF8B8B;     /* Lighter Red */
  
  --accent-color: #FFBE3D;        /* Gold Yellow - Split Complementary */
  --accent-dark: #D99B28;         /* Darker Yellow */
  --accent-light: #FFD380;        /* Lighter Yellow */
  
  /* Neutral Colors */
  --dark: #2A2B3A;                /* Dark Blue-Gray */
  --gray: #707793;                /* Medium Gray */
  --light-gray: #E6E9F2;          /* Light Gray */
  --white: #FFFFFF;               /* White */
  
  /* Typography */
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Source Sans Pro', sans-serif;
  
  /* Shadows & Effects */
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  --button-shadow: 0 4px 14px rgba(62, 100, 255, 0.4);
  --hover-transform: translateY(-5px);
  --transition-speed: 0.3s ease;
  
  /* Borders */
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --border-radius-sm: 8px;
}

/* Global Styles */
body {
  font-family: var(--body-font);
  color: var(--dark);
  overflow-x: hidden;
  background-color: var(--white);
  line-height: 1.6;
}

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

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

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

.section {
  padding: 5rem 1.5rem;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Button Styles */
.button {
  transition: transform var(--transition-speed), box-shadow var(--transition-speed), background-color var(--transition-speed);
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.button:hover {
  transform: var(--hover-transform);
}

.button.is-primary {
  background-color: var(--primary-color);
  box-shadow: var(--button-shadow);
}

.button.is-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(62, 100, 255, 0.6);
}

.button.is-light {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
}

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

.button.is-link {
  background-color: var(--accent-color);
  color: var(--dark);
}

.button.is-link:hover {
  background-color: var(--accent-dark);
  color: var(--white);
}

.animated-button {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.animated-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
  z-index: -1;
}

.animated-button:hover:before {
  left: 100%;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar {
  padding: 1rem 0;
}

.navbar-item {
  font-weight: 600;
  transition: color var(--transition-speed);
}

.navbar-item:hover {
  color: var(--primary-color);
  background-color: transparent !important;
}

.navbar-burger {
  color: var(--dark);
}

/* 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: -1;
}

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

.hero-body {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: 6rem;
}

.hero .title, 
.hero .subtitle {
  color: var(--white) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  height: 100%;
  width: 4px;
  background: var(--primary-light);
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  margin-left: 60px;
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: -60px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--primary-color);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 8px rgba(62, 100, 255, 0.2);
}

.timeline-marker.is-primary {
  background-color: var(--primary-color);
}

.timeline-content {
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.process-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

/* Features Section */
.features-section {
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.features-section:before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: rgba(255, 190, 61, 0.2);
  border-radius: 50%;
  z-index: 0;
}

.feature-card {
  height: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed);
  display: flex;
  flex-direction: column;
}

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

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

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

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.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 .title {
  color: var(--dark);
  margin-bottom: 1rem;
}

/* Case Studies Section */
.case-studies-section {
  background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
  position: relative;
}

.custom-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease;
}

.slider-item {
  min-width: 100%;
  padding: 0 15px;
}

.case-study-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

.slider-prev, 
.slider-next {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.slider-prev:hover, 
.slider-next:hover {
  background-color: var(--primary-dark);
  transform: scale(1.1);
}

.slider-prev span, 
.slider-next span {
  font-size: 1.5rem;
  line-height: 1;
}

/* Resources Section */
.resources-section {
  background-color: var(--white);
}

.resource-card {
  height: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed);
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  transform: translateY(-10px);
}

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

/* FAQ Section */
.faq-section {
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.faq-section:after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: rgba(62, 100, 255, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius);
  background-color: var(--white);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-speed);
}

.faq-question:hover {
  background-color: rgba(62, 100, 255, 0.05);
}

.faq-question h3 {
  margin: 0;
}

.faq-question .icon {
  transition: transform var(--transition-speed);
}

.faq-item.active .faq-question .icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 1000px;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
}

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

.contact-card .card-content {
  padding: 2rem;
}

.contact-form .input,
.contact-form .textarea {
  border-radius: var(--border-radius-sm);
  border: 2px solid var(--light-gray);
  transition: border-color var(--transition-speed);
}

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

.contact-info {
  padding: 2rem;
  background-color: var(--primary-color);
  border-radius: var(--border-radius);
  color: var(--white);
  box-shadow: var(--card-shadow);
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.info-item .icon {
  margin-right: 1rem;
  color: var(--accent-light);
}

.info-item p {
  margin-bottom: 0;
}

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

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

.footer p {
  color: rgba(255, 255, 255, 0.7);
}

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

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-speed);
}

.footer ul li a:hover {
  color: var(--accent-color);
}

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

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-speed);
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.social-links a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width var(--transition-speed);
}

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

.social-links a:hover:after {
  width: 100%;
}

.newsletter .input {
  border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
  border: none;
}

.newsletter .button {
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

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

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

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

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

.privacy-content,
.terms-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

/* About Page */
.about-section {
  padding-top: 100px;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  box-shadow: var(--card-shadow);
}

/* Responsive Design */
@media screen and (max-width: 1023px) {
  .timeline:before {
    left: 20px;
  }
  
  .timeline-item {
    margin-left: 40px;
  }
  
  .timeline-marker {
    left: -40px;
    width: 20px;
    height: 20px;
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding: 4rem 1rem;
  }
  
  .hero-body {
    padding-top: 5rem;
  }
  
  .hero .title {
    font-size: 2.5rem !important;
  }
  
  .hero .subtitle {
    font-size: 1.5rem !important;
  }
  
  .timeline:before {
    left: 15px;
  }
  
  .timeline-item {
    margin-left: 30px;
  }
  
  .timeline-marker {
    left: -30px;
    width: 15px;
    height: 15px;
  }
  
  .contact-info {
    margin-top: 2rem;
  }
}

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

@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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

.slide-in-right {
  animation: slideInRight 0.8s ease forwards;
}