/* Homepage specific styles */

/* Hero Section with Search */
.hero-section {
  background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), 
              url('https://images.unsplash.com/photo-1503220317375-aaad61436b1b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80') no-repeat center center;
  background-size: cover;
  color: white;
  text-align: center;
  padding: 100px 20px 60px;
  position: relative;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, rgba(15, 23, 42, 0.95) 100%);
  z-index: 1;
}

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

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 25px;
  border: 2px solid var(--secondary-light);
  box-shadow: 0 4px 15px rgba(198, 40, 40, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

.hero-badge i {
  margin-right: 8px;
  color: gold;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: white;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary-light);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

/* Search Container */
.search-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 35px;
  max-width: 950px;
  margin: 0 auto 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.search-tabs {
  display: flex;
  border-bottom: 2px solid #eee;
  margin-bottom: 30px;
  justify-content: center;
}

.tab {
  background: none;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  position: relative;
}

.tab.active {
  color: var(--secondary-color);
}

.tab.active:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
}

.search-form {
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-family: 'Montserrat', sans-serif;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  background-color: white;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.form-row .form-group:last-child {
  display: flex;
  align-items: flex-end;
}

.form-row .form-group:last-child label {
  visibility: hidden;
}

.form-row .button {
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 10px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-cta .button {
  min-width: 220px;
  padding: 20px 40px; /* Increased padding for better click area */
  font-weight: 800; /* Bolder font weight */
  font-size: 1.2rem; /* Larger font size */
  border-radius: 50px; /* More rounded corners */
  text-transform: uppercase;
  letter-spacing: 1.5px; /* Increased letter spacing */
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Smoother transition */
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4); /* Enhanced shadow */
  border: 2px solid var(--primary-color); /* Added border */
}

.hero-cta .button:hover {
  transform: translateY(-8px) scale(1.05); /* More pronounced lift and slight scale */
  box-shadow: 0 15px 35px rgba(14, 165, 233, 0.6); /* Enhanced shadow on hover */
}

.hero-cta .button:active {
  transform: translateY(0) scale(0.98); /* Press down effect when clicked */
}

.hero-cta .button.primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white; /* Keep white text on colored background */
  position: relative;
  z-index: 1;
}

.hero-cta .button.primary:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white; /* White background on hover */
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-cta .button.primary:hover:before {
  opacity: 1;
}

.hero-cta .button.primary:hover {
  color: var(--primary-color); /* Primary color text on white background */
}

.hero-cta .button.secondary {
  background: transparent;
  border: 2px solid white;
  color: white; /* White text on transparent background */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.hero-cta .button.secondary:hover {
  background: var(--primary-color); /* Primary color background on hover */
  color: white; /* White text on primary color background */
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Hero Trust Section */
.hero-trust {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-badge i {
  color: var(--secondary-light);
}

/* About Section */
.about-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.05) 0%, transparent 20%),
                    radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 20%);
}

.about-section:before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.1);
  z-index: 0;
}

.about-section:after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.1);
  z-index: 0;
}

.about-section .section-header {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
  z-index: 1;
}

.about-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  color: var(--heading-color);
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
}

.about-section h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
}

.about-section .section-subtitle {
  text-align: center;
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 0;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.5px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 1;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h3 {
  font-size: 2.2rem;
  color: var(--heading-color);
  margin-bottom: 30px;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.3;
  position: relative;
  padding-bottom: 15px;
}

.about-text h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.about-text h3 .highlight {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.about-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.8);
  padding: 25px;
  border-radius: 15px;
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.about-text p:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.about-text p:first-of-type {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin: 40px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 1px solid rgba(226, 232, 240, 0.5);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
  transform: translateY(-8px);
  background: white;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-light);
}

.feature-item i {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-right: 20px;
  min-width: 35px;
  padding-top: 5px;
  background: rgba(14, 165, 233, 0.1);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature-item:hover i {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.feature-item h4 {
  margin: 0 0 10px 0;
  color: var(--heading-color);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.feature-item p {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  font-size: 1rem;
  color: #64748b;
  box-shadow: none;
  transition: none;
}

.feature-item p:hover {
  transform: none;
  box-shadow: none;
}

.about-image {
  flex: 1;
  min-width: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  background: white;
  align-self: flex-start;
}

.about-image:hover {
  transform: translateY(-20px) rotate(2deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.image-badge {
  position: absolute;
  top: 25px;
  left: 25px;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(198, 40, 40, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: pulse 2s infinite;
}

.image-badge i {
  margin-right: 0;
  color: gold;
  font-size: 1.2rem;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  transition: all 0.4s ease;
}

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

.image-stats {
  display: flex;
  justify-content: space-around;
  background: rgba(14, 165, 233, 0.95);
  padding: 25px;
  border-radius: 0 0 20px 20px;
  color: white;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat {
  flex: 1;
}

.stat .stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
  margin-bottom: 5px;
}

.stat .stat-label {
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 5px;
  font-weight: 500;
}

.about-cta {
  text-align: center;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.about-cta .button {
  margin-bottom: 25px;
  padding: 20px 45px;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(14, 165, 233, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s ease;
  border: none;
}

.about-cta .button:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(14, 165, 233, 0.7);
}

.about-cta .button i {
  transition: transform 0.3s ease;
}

.about-cta .button:hover i {
  transform: translateX(8px);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: #475569;
  padding: 15px 25px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.trust-badge i {
  color: var(--accent-color);
}

/* Services Section */
.services-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.services-section:before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.1);
  z-index: 0;
}

.services-section:after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.1);
  z-index: 0;
}

.section-header {
  text-align: center;
  position: relative;
  z-index: 1;
}

.services-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.8rem;
  font-family: 'Playfair Display', serif;
  color: var(--heading-color);
}

.section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: #64748b;
  margin-bottom: 60px;
  font-weight: 400;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(14, 165, 233, 0.3);
}

.service-card:hover:before {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--primary-color), var(--primary-color));
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.2rem;
  color: var(--primary-color);
  transition: all 0.4s ease;
  border: 2px solid rgba(14, 165, 233, 0.2);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  transform: scale(1.1) rotate(10deg);
  border-color: var(--secondary-color);
}

.service-card h3 {
  margin: 0 0 15px 0;
  font-size: 1.4rem;
  color: var(--heading-color);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.service-card p {
  margin: 0 0 20px 0;
  color: #64748b;
  line-height: 1.6;
  font-size: 1rem;
}

.service-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  color: white;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Key Features Section - Redesigned */
.key-features-section {
  padding: 50px 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.key-features-section:before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.1);
  z-index: 0;
}

.key-features-section:after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.1);
  z-index: 0;
}

.key-features-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.8rem;
  font-family: 'Playfair Display', serif;
  color: var(--heading-color);
  position: relative;
  z-index: 1;
}

.features-masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-light);
}

.feature-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

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

.feature-card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 2;
  border: 3px solid white;
}

.feature-card-content {
  padding: 30px;
}

.feature-card-content h3 {
  margin: 0 0 15px 0;
  font-size: 1.5rem;
  color: var(--heading-color);
  font-family: 'Montserrat', sans-serif;
  position: relative;
  padding-bottom: 15px;
}

.feature-card-content h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
}

.feature-card-content p {
  margin: 0;
  color: #666;
  line-height: 1.8;
  font-size: 1rem;
}

/* Responsive Styles for the new design */
@media (max-width: 992px) {
  .key-features-section {
    padding: 80px 0;
  }
  
  .key-features-section h2 {
    font-size: 2.2rem;
  }
  
  .features-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .feature-card-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    padding: 35px 25px;
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
    margin: 0 auto 15px;
  }
  
  .service-card h3 {
    font-size: 1.3rem;
  }
  
  .service-card p {
    font-size: 0.95rem;
  }
  
  .services-section {
    padding: 80px 0;
  }
  
  .services-section h2 {
    font-size: 2.2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
  }
  
  .features-masonry-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card-image {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .key-features-section {
    padding: 60px 0;
  }
  
  .key-features-section h2 {
    font-size: 2rem;
  }
  
  .feature-card-content {
    padding: 20px;
  }
  
  .feature-card-content h3 {
    font-size: 1.3rem;
  }
  
  .feature-card-image {
    height: 180px;
  }
  
  .feature-card-badge {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* Earnings Section */
.earnings-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  position: relative;
  overflow: hidden;
}

.earnings-section:before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.1);
  z-index: 0;
}

.earnings-section:after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.1);
  z-index: 0;
}

.earnings-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.8rem;
  color: var(--heading-color);
  font-family: 'Playfair Display', serif;
  position: relative;
  z-index: 1;
}

.earnings-section .section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: #64748b;
  margin-bottom: 60px;
  font-weight: 400;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

/* New Intro Text Above Cards */
.earnings-intro {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 25px;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.earnings-intro h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--heading-color);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.3;
}

.earnings-intro p {
  font-size: 16px;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

.earning-methods {
  color: #28a745;
  font-weight: bold;
  font-size: 17px;
}

.earnings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.earning-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  overflow: hidden;
}

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

.earning-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
}

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

.earning-card.featured {
  border: 2px solid var(--primary-color);
  box-shadow: 0 15px 30px rgba(14, 165, 233, 0.2);
  position: relative;
  z-index: 1;
  transform: translateY(-10px);
}

.earning-card.featured:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(14, 165, 233, 0.1) 100%);
  z-index: -1;
  border-radius: 16px;
}

.earning-card.featured:hover {
  transform: translateY(-20px);
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.3);
  border-color: var(--primary-color);
}

.earning-badge {
  display: inline-block;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary-color);
  padding: 6px 15px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.earning-card.featured .earning-badge {
  background: rgba(245, 158, 11, 0.2);
  color: var(--secondary-dark);
}

.earning-card h3 {
  margin: 0 0 20px 0;
  font-size: 1.6rem;
  color: var(--heading-color);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.earning-card p {
  margin: 0 0 20px 0;
  color: #64748b;
  font-weight: 500;
  font-size: 1rem;
}

.earning-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}

.earning-card.featured .earning-amount {
  color: var(--primary-color);
}

.earning-features {
  list-style: none;
  padding: 0;
  margin: 25px 0 0 0;
  text-align: left;
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}

.earning-features li {
  margin-bottom: 12px;
  color: #64748b;
  font-size: 0.95rem;
  position: relative;
  padding-left: 25px;
}

.earning-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.earning-card.featured .earning-features li:before {
  color: var(--primary-color);
}

/* New Additional Info Below Cards */
/* Removed earnings-details styles as the section is no longer used */

/* Remove border styling when no-border class is applied */
/* Removed as the section is no longer used */

.freedom-tagline {
  background: linear-gradient(135deg, #28a745, #218838);
  color: white;
  padding: 25px;
  border-radius: 8px;
  margin: 30px auto 0;
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
  animation: pulse 2s infinite;
  max-width: 1200px;
}

.freedom-tagline h3 {
  font-size: 28px;
  margin: 0;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}

.centered-tagline {
  text-align: center;
}

/* Benefits list styles removed as the section is no longer used */

.earnings-details h4 {
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--heading-color);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.earnings-details ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: inline-block;
  text-align: left;
  font-size: 16px;
  color: #64748b;
  max-width: 800px;
}

.earnings-details ul li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 30px;
  font-size: 16px;
}

.earnings-details ul li:before {
  content: "✓";
  color: #28a745;
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 18px;
}

.cta-text {
  font-size: 18px;
  font-weight: bold;
  margin: 25px 0;
  color: var(--heading-color);
  font-family: 'Montserrat', sans-serif;
}

.earnings-cta-button {
  display: inline-block;
  background: #28a745;
  color: white;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.earnings-cta-button:hover {
  background: #218838;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Animations */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

/* Responsive Styles for Earnings Section */
@media (max-width: 768px) {
  .earnings-intro {
    padding: 20px 15px;
  }
  
  .earnings-intro h3 {
    font-size: 20px;
  }
  
  .earnings-intro p {
    font-size: 14px;
  }
  
  .earning-methods {
    font-size: 15px;
  }
  
  .freedom-tagline {
    padding: 20px 15px;
    margin: 20px auto 0;
  }
  
  .freedom-tagline h3 {
    font-size: 22px;
  }
  
  .earnings-cta-button {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .freedom-tagline {
    padding: 15px;
    margin: 15px auto 0;
  }
  
  .freedom-tagline h3 {
    font-size: 18px;
  }
  
  .earnings-cta-button {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}

/* How It Works Section */
.how-it-works-section {
  padding: 100px 0;
  background: white;
}

.how-it-works-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5rem;
  font-family: 'Montserrat', sans-serif;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 50px;
}

.step {
  text-align: center;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 30px;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}

.step:hover .step-icon {
  background: var(--secondary-color);
  transform: scale(1.1) rotate(10deg);
}

.step h3 {
  margin: 0 0 20px 0;
  font-size: 1.6rem;
  color: var(--heading-color);
  font-family: 'Montserrat', sans-serif;
}

.step p {
  margin: 0;
  color: #666;
  line-height: 1.8;
  font-size: 1.1rem;

}

/* CTA Center - Centering buttons */
.cta-center {
  text-align: center;
  margin: 40px 0;
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.testimonials-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5rem;
  font-family: 'Montserrat', sans-serif;
}

.testimonials-slider {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.testimonial {
  background: white;
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid #eee;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial:before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 5rem;
  color: rgba(37, 99, 235, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-content p {
  font-size: 1.1rem;
  font-style: italic;
  color: #555;
  line-height: 1.8;
  margin-bottom: 30px;
  font-weight: 400;
}

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

.author-image {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 15px;
  background-size: cover;
  background-position: center;
  border: 3px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-name {
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 5px;
  font-size: 1.2rem;
  font-family: 'Montserrat', sans-serif;
}

.author-title {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 1rem;
}

/* Latest Posts Section */
.latest-posts-section {
  padding: 100px 0;
  background: white;
}

.latest-posts-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5rem;
  font-family: 'Montserrat', sans-serif;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.post-card {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.post-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.post-image {
  height: 220px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
}

.post-content {
  padding: 30px;
}

.post-content h3 {
  margin: 0 0 15px 0;
  font-size: 1.4rem;
  color: var(--heading-color);
  font-family: 'Montserrat', sans-serif;
}

.post-content p {
  margin: 0;
  color: #666;
  line-height: 1.7;
}

/* Footer styles removed to use global footer styles */

/* Responsive styles for homepage */
@media (max-width: 992px) and (min-width: 769px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  /* Update earnings grid for medium screens - 2 cards per row */
  .earnings-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  /* About features responsive for medium screens */
  .about-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 20px 50px;
  }
  
  .hero-section h1 {
    font-size: 2.2rem;
  }
  
  .hero-section p {
    font-size: 1.1rem;
  }
  
  .search-container {
    padding: 25px;
    margin: 0 auto 30px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .form-row .form-group:last-child {
    margin-top: 15px;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 20px;
  }
  
  .services-grid,
  .earnings-grid,
  .steps-container {
    grid-template-columns: 1fr;
  }
  
  .services-grid,
  .posts-grid {
    gap: 30px;
  }
  
  .service-card,
  .earning-card {
    padding: 35px 25px;
  }
  
  .feature-item {
    margin-bottom: 50px;
  }
  
  .testimonial {
    padding: 40px 25px;
  }
  
  .copyright {
    flex-direction: column;
    text-align: center;
  }
  
  .services-section h2,
  .key-features-section h2,
  .earnings-section h2,
  .how-it-works-section h2,
  .testimonials-section h2,
  .latest-posts-section h2 {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-badge {
    font-size: 0.9rem;
    padding: 8px 15px;
  }
  
  .hero-stats {
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .hero-trust {
    gap: 15px;
    margin-top: 30px;
  }
  
  .trust-badge {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  
  .search-tabs {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 10px;
  }
  
  .tab {
    padding: 12px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  /* About features responsive for small screens */
  .about-features {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
  }
  
  .feature-item {
    margin-bottom: 0;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .hero-section {
    padding: 70px 15px 40px;
  }
  
  .search-container {
    padding: 20px;
  }
  
  .form-group input,
  .form-group select {
    padding: 14px;
    font-size: 0.9rem;
  }
  
  .form-row .button {
    padding: 16px;
    font-size: 1rem;
  }
  
  .hero-cta .button {
    min-width: 100%;
    padding: 16px 25px;
    font-size: 1rem;
  }
  
  .services-section,
  .key-features-section,
  .earnings-section,
  .how-it-works-section,
  .testimonials-section,
  .latest-posts-section {
    padding: 70px 0;
  }
  
  .service-card,
  .earning-card,
  .post-card {
    padding: 25px 20px;
  }
  
  .service-icon {
    width: 80px;
    height: 80px;
    font-size: 2.2rem;
  }
  
  .feature-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    margin-right: 20px;
  }
  
  .feature-content h3 {
    font-size: 1.3rem;
  }
  
  .earning-amount {
    font-size: 1.8rem;
  }
  
  .step-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  /* Footer links styles removed to use global footer styles */
  
  .testimonial-content p {
    font-size: 1.1rem;
  }
  
  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .stat-item {
    width: 100%;
  }
  
  .hero-trust {
    flex-direction: column;
    gap: 10px;
  }
  
  .trust-badge {
    width: 100%;
    justify-content: center;
  }
  
  /* About features responsive for extra small screens */
  .about-features {
    gap: 15px;
    margin: 25px 0;
  }
  
  .feature-item {
    padding: 15px;
  }
  
  .feature-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 40px;
    height: 40px;
  }
  
  .feature-item h4 {
    font-size: 1.1rem;
  }
  
  .feature-item p {
    font-size: 0.9rem;
  }
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .key-features-section {
    padding: 80px 0;
  }
  
  .key-features-section h2 {
    font-size: 2.2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-image {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    padding: 30px 20px;
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
    margin: 0 auto 15px;
  }
  
  .service-card h3 {
    font-size: 1.3rem;
  }
  
  .service-card p {
    font-size: 0.95rem;
  }
  
  .services-section {
    padding: 80px 0;
  }
  
  .services-section h2 {
    font-size: 2.2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
  }
  
  .feature-image {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .key-features-section {
    padding: 70px 0;
  }
  
  .key-features-section h2 {
    font-size: 2rem;
  }
  
  .feature-image {
    height: 180px;
  }
  
  .feature-content-with-image {
    padding: 20px;
  }
  
  .feature-number {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    margin-bottom: 15px;
  }
  
  .feature-content-with-image h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  
  .feature-content-with-image p {
    font-size: 0.9rem;
  }
}

/* Responsive Styles for Testimonials */
@media (max-width: 768px) {
  .testimonials-slider {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 15px;
  }
  
  .testimonial {
    padding: 30px 20px;
  }
  
  .testimonial-content p {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .testimonials-section h2 {
    font-size: 2rem;
  }
  
  .author-image {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 576px) {
  .testimonials-section {
    padding: 70px 0;
  }
  
  .testimonials-slider {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .testimonial {
    padding: 25px 15px;
  }
  
  .testimonial:before {
    font-size: 3rem;
    top: 10px;
    left: 10px;
  }
  
  .testimonial-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  
  .author-name {
    font-size: 1.1rem;
  }
  
  .author-title {
    font-size: 0.9rem;
  }
}

/* Animations */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
  }
}
