/* Base Styles */
:root {
  --primary: #1E4697; /* Blue */
  --secondary: #e63946; /* Red */
  --dark: #24252A;
  --gray: #555b66;
  --light-gray: #f1f5f9;
  --gradient: linear-gradient(135deg, #1E4697, #e63946);
  --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  --border-radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  background-color: #ffffff;
  color: var(--dark);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

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

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1em;
}

/* Header Styles */
header {
  background-color: #ffffff;
  box-shadow: var(--shadow);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo a {
  display: flex;
  align-items: center;
  color: var(--dark);
  font-weight: bold;
  font-size: 1.4rem;
}

.logo img {
  margin-right: 10px;
}

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

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: var(--dark);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background: var(--gradient);
  color: white;
  text-align: center;
  padding: 120px 0 100px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M30,30 L70,30 L70,70 L30,70 Z' fill='white' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 100px 100px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

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

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: var(--secondary);
}

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

.secondary-btn:hover {
  background-color: white;
  color: var(--primary);
  transform: translateY(-3px);
}

.hero-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: white;
  color: var(--secondary);
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  transform: rotate(15deg);
  box-shadow: var(--shadow);
}

/* About Section */
.about {
  padding: 100px 0 80px;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--primary);
  text-align: center;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 20px;
}

.about-tech {
  flex: 0 0 30%;
  display: flex;
  justify-content: center;
}

.tech-icon {
  max-width: 100%;
  height: auto;
}

/* Why Choose Section */
.why-choose {
  padding: 80px 0;
  background-color: #f1f5f9;
}

.why-choose h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
  color: var(--primary);
}

.choose-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: var(--gray);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gradient);
  transition: height 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature:hover::before {
  height: 100%;
}

.feature-icon {
  margin-bottom: 20px;
}

.feature h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.feature p {
  color: var(--gray);
}

/* How It Works Section */
.how {
  padding: 100px 0;
  background-color: white;
  position: relative;
  overflow: hidden;
}

.how::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--gradient);
  opacity: 0.05;
  top: -100px;
  left: -100px;
}

.how::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--gradient);
  opacity: 0.05;
  bottom: -50px;
  right: -50px;
}

.how h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
  color: var(--primary);
}

.steps-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto 60px;
}

.steps {
  list-style: none;
}

.steps li {
  position: relative;
  padding: 30px 0 30px 80px;
  margin-bottom: 30px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.steps li:last-child {
  margin-bottom: 0;
}

.steps li span {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gradient);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.step-content h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.step-content p {
  color: var(--gray);
  margin: 0;
}

.cta-container {
  text-align: center;
  padding: 30px;
  background: var(--light-gray);
  border-radius: var(--border-radius);
  max-width: 600px;
  margin: 0 auto;
}

.cta-note {
  margin-top: 15px;
  color: var(--gray);
  font-size: 0.9rem;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.faq h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
  color: var(--primary);
}

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

.faq-item {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateX(5px);
}

.faq-item h3 {
  color: var(--primary);
  margin-bottom: 10px;
  position: relative;
}

.faq-item p {
  color: var(--gray);
  margin: 0;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 60px 0 30px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient);
}

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

.footer-logo img {
  margin-right: 10px;
}

.footer-logo span {
  font-weight: bold;
  font-size: 1.2rem;
}

footer p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
  }
  
  .about-tech {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  nav ul {
    margin-top: 10px;
  }
  
  nav ul li {
    margin-left: 15px;
  }
  
  .hero {
    padding: 80px 0 60px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-badge {
    position: static;
    margin: 0 auto 20px;
    transform: none;
  }
  
  .about, .why-choose, .how, .faq {
    padding: 60px 0;
  }
  
  .about h2, .why-choose h2, .how h2, .faq h2 {
    font-size: 2.2rem;
  }
  
  .steps li {
    padding: 25px 20px 25px 70px;
  }
  
  .steps li span {
    left: 10px;
  }
}

@media (max-width: 480px) {
  nav ul li {
    margin-left: 10px;
    font-size: 0.9rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  .about h2, .why-choose h2, .how h2, .faq h2 {
    font-size: 1.8rem;
  }
  
  .steps li {
    padding: 20px 15px 20px 60px;
  }
  
  .steps li span {
    width: 40px;
    height: 40px;
    left: 10px;
  }
  
  .faq-item {
    padding: 20px;
  }
}
