/* Modern CSS with variables for customization */
:root {
  --primary-color: #3066BE;
  --secondary-color: #60AFFF;
  --accent-color: #FB8B24;
  --text-color: #2E294E;
  --light-text: #ffffff;
  --background: #f5f7fa;
  --gradient-start: #3066BE;
  --gradient-end: #60AFFF;
  --box-shadow: 0 8px 20px rgba(48, 102, 190, 0.15);
  --border-radius: 12px;
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --section-padding: 5rem 2rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: var(--background);
  line-height: 1.7;
  scroll-behavior: smooth;
}

header {
  background: linear-gradient(120deg, var(--gradient-start), var(--gradient-end));
  color: var(--light-text);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--box-shadow);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light-text);
  text-decoration: none;
}

.logo svg {
  width: 48px;
  height: 48px;
  margin-right: 10px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

nav ul li a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.hero {
  background: linear-gradient(120deg, rgba(48, 102, 190, 0.9), rgba(96, 175, 255, 0.85)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1200 800'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='600' y1='25' x2='600' y2='777'%3E%3Cstop offset='0' stop-color='%2360AFFF'/%3E%3Cstop offset='1' stop-color='%233066BE'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='650' y1='25' x2='650' y2='777'%3E%3Cstop offset='0' stop-color='%2360AFFF'/%3E%3Cstop offset='1' stop-color='%233066BE'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' gradientUnits='userSpaceOnUse' x1='700' y1='25' x2='700' y2='777'%3E%3Cstop offset='0' stop-color='%2360AFFF'/%3E%3Cstop offset='1' stop-color='%233066BE'/%3E%3C/linearGradient%3E%3ClinearGradient id='d' gradientUnits='userSpaceOnUse' x1='750' y1='25' x2='750' y2='777'%3E%3Cstop offset='0' stop-color='%2360AFFF'/%3E%3Cstop offset='1' stop-color='%233066BE'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg%3E%3Cpath fill='url(%23a)' d='M1200 0L0 0 0 800 1200 800 1200 0z'/%3E%3Cpath fill='url(%23b)' d='M1200 0L0 0 0 800 1200 800 1200 0z'/%3E%3Cpath fill='url(%23c)' d='M1200 0L0 0 0 800 1200 800 1200 0z'/%3E%3Cpath fill='url(%23d)' d='M1200 0L0 0 0 800 1200 800 1200 0z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  color: var(--light-text);
  text-align: center;
  padding: clamp(6rem, 15vh, 10rem) 2rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--light-text);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(251, 139, 36, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.1);
  border-radius: 50px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.cta-button:hover {
  background-color: #F27405;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(251, 139, 36, 0.5);
}

.cta-button:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  margin: 1rem auto 0;
  border-radius: 4px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  border-top: 4px solid transparent;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(48, 102, 190, 0.15);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 64px;
  height: 64px;
  fill: var(--primary-color);
  filter: drop-shadow(0 4px 6px rgba(48, 102, 190, 0.2));
  transition: var(--transition);
}

.feature-card:hover .feature-icon svg {
  transform: scale(1.1);
  fill: var(--accent-color);
}

.feature-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.feature-desc {
  color: #666;
}

.testimonials {
  background-color: #f0f6ff;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '"';
  position: absolute;
  font-size: 25rem;
  opacity: 0.03;
  font-family: Georgia, serif;
  top: -5rem;
  left: 2rem;
  line-height: 1;
  color: var(--primary-color);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: #fff;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-bottom: 4px solid var(--secondary-color);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(48, 102, 190, 0.12);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 4rem;
  color: rgba(48, 102, 190, 0.1);
  position: absolute;
  top: -20px;
  left: -15px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-info {
  margin-left: 1rem;
}

.author-name {
  font-weight: 600;
  color: var(--primary-color);
}

.author-title {
  font-size: 0.9rem;
  color: #777;
}

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

/* Add workflow styling */
.workflow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.workflow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
}

.workflow-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(48, 102, 190, 0.12);
}

.workflow-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(48, 102, 190, 0.3);
}

.workflow-content h3 {
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.bg-light {
  background-color: #f5f7fa;
}

.cta-center {
  text-align: center;
  margin-top: 3rem;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(48, 102, 190, 0.1);
  padding-bottom: 1.5rem;
  transition: var(--transition);
}

.faq-item:hover {
  border-bottom-color: var(--accent-color);
}

.faq-question {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.faq-answer {
  color: #555;
}

.footer {
  background-color: #2E294E;
  color: #fff;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color), var(--secondary-color));
}

.cta-section {
  background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-align: center;
  padding: 5rem 2rem;
  margin-top: 3rem;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.cta-content p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  opacity: 0.9;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-column ul {
  list-style: none;
}

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

.footer-column ul li a {
  color: #ddd;
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-column h3 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  position: relative;
  display: inline-block;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
}

.footer-column ul li a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

/* Animation updates */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated {
  animation: fadeIn 0.8s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-logo svg {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.hamburger {
  display: none;
  cursor: pointer;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
  .header-content {
    flex-direction: column;
  }
  
  .hamburger {
    display: block;
    position: absolute;
    right: 2rem;
    top: 1.5rem;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 5rem;
    flex-direction: column;
    background-color: var(--primary-color);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    z-index: 10;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav ul li {
    margin: 2.5rem 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
}

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

.animated {
  animation: fadeIn 1s ease-in-out;
}
