/* Base Styles & Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #00B4DB;
  --primary-dark: #0083B0;
  --secondary: #3CAEA3;
  --dark: #333333;
  --light: #f5f5f5;
  --text: #444444;
  --gradient: linear-gradient(135deg, var(--primary), var(--primary-dark));
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--light);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

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

ul {
  list-style-type: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
  line-height: 1.2;
  color: var(--dark);
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.3rem;
}

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

.nav-items {
  display: flex;
  gap: 2rem;
}

.nav-items a {
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding: 0.3rem 0;
}

.nav-items a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-items a:hover {
  color: var(--primary);
}

.nav-items a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark);
  margin: 5px 0;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 6rem 0 5rem;
  background-color: #f0f9ff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(0, 180, 219, 0.05) 0%, rgba(0, 131, 176, 0.05) 90%);
}

.hero .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
  max-width: 90%;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-svg {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 131, 176, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 131, 176, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
  margin-left: 1rem;
}

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

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.center-button {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: white;
}

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

.card {
  background-color: white;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

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

.card-icon {
  margin: 0 auto 1.5rem;
}

/* How It Works Section */
.how-it-works {
  padding: 5rem 0;
  background-color: #f8fdff;
}

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

.step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.step-content {
  flex-grow: 1;
}

/* Why Us Section */
.why-us {
  padding: 5rem 0;
  background-color: white;
}

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

.benefit {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius);
  background-color: #f8fdff;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.benefit:hover {
  transform: translateY(-5px);
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background-color: #f0f9ff;
}

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

.testimonial {
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: opacity 0.5s ease;
  opacity: 0;
  position: absolute;
  width: 100%;
}

.rating {
  color: #FFD700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.quote {
  font-size: 1.2rem;
  font-style: italic;
}

.author {
  font-weight: 600;
  margin-top: 1rem;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: var(--gradient);
  color: white;
  text-align: center;
}

.cta-section h2 {
  color: white;
}

.cta-section h2::after {
  background-color: white;
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
}

.cta-section .btn {
  background-color: white;
  color: var(--primary-dark);
  font-weight: 700;
}

.cta-section .btn:hover {
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
}

/* Footer */
footer {
  background-color: #222;
  color: #f5f5f5;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo span {
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-column h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}

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

.footer-column ul li a {
  color: #bbb;
  transition: color 0.3s ease;
}

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

.footer-disclaimer {
  border-top: 1px solid #444;
  padding-top: 2rem;
  font-size: 0.9rem;
  text-align: center;
  color: #999;
  margin-bottom: 2rem;
}

.footer-copyright {
  text-align: center;
  font-size: 0.9rem;
  color: #888;
}

/* Media Queries */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  
  .nav-items {
    position: fixed;
    top: 0;
    right: -100%;
    width: 270px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-items.active {
    right: 0;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-logo {
    align-items: center;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .footer-column {
    text-align: center;
  }
  
  .footer-column h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .testimonial {
    position: relative;
    margin-bottom: 1rem;
  }
}
