/* General Styles */
:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --text-color: #1f2937;
  --light-bg: #f3f4f6;
  --accent-color: #f27127;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-color);
  padding-top: 76px;
  background: linear-gradient(135deg, #fff 0%, var(--light-bg) 100%);
}

/* Navbar */
.navbar {
  padding: 0.75rem 0;
}

.navbar-logo {
  height: 55px;
  width: auto;
}

@media (max-width: 768px) {
  .navbar-logo {
    height: 45px;
  }
}

/* Promotions Carousel */
.promotions-carousel {
  background-color: var(--accent-color);
  padding: 0.75rem 0;
  color: white;
}

.carousel-item {
  transition: transform 0.4s ease-in-out;
}

.promotion-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 0.25rem;
  min-height: 40px;
}

.promotion-item p {
  margin: 0;
  font-size: 1rem;
}

.promotion-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

@media (min-width: 769px) {
  .promotion-item {
    margin-top: 15px;
  }
}

@media (max-width: 768px) {
  .promotion-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .promotion-item p {
    font-size: 0.875rem;
  }
}

/* Hero Section */
.hero {
  padding: 80px 0;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}

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

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  //color: var(--primary-color);
  background: linear-gradient(
    to right,
    black,
    orange
  ); /* Define the gradient */
  -webkit-background-clip: text; /* Clip the background to the text */
  -webkit-text-fill-color: transparent; /* Make the text color transparent */
  background-clip: text; /* Needed for some non-webkit browsers */
  color: transparent; /* Fallback for unsupported browsers */
}

.stat-label {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Calculator Card */
.calculator-card {
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

.calculation-results {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--light-bg);
  border-radius: 0.5rem;
}

.result-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.result-item.highlight {
  font-weight: 700;
  //color: var(--primary-color);
  font-size: 1.1rem;
  background: linear-gradient(
    to right,
    black,
    orange
  ); /* Define the gradient */
  -webkit-background-clip: text; /* Clip the background to the text */
  -webkit-text-fill-color: transparent; /* Make the text color transparent */
  background-clip: text; /* Needed for some non-webkit browsers */
  color: transparent; /* Fallback for unsupported browsers */
}

/* Features Section */
.features {
  padding: 80px 0;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

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

.feature-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  background: rgba(37, 99, 235, 0.1);
  width: 64px;
  height: 64px;
  line-height: 64px;
  border-radius: 50%;
  display: inline-block;
}

/* Testimonials */
.testimonials {
  position: relative;
  padding: 80px 0;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

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

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.testimonial-author img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-right: 1rem;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.trust-badge-item:hover {
  transform: translateY(-2px);
  background: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.trust-badge-item img {
  height: 40px;
}

.trust-badge-text {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.9rem;
}

.badge-desc {
  color: #6b7280;
  font-size: 0.8rem;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--accent-color) 0%, #e05f15 100%);
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer a:hover {
  color: white;
  text-decoration: underline;
}

.footer h5 {
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .calculator-card {
    margin-top: 2rem;
  }

  .trust-badges-grid {
    grid-template-columns: 1fr;
  }
}

/* Button Styles */
.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #e05f15 !important;
  border-color: #e05f15 !important;
}

/* Section Separator */
.section-separator {
  position: relative;
  padding-top: 80px;
}

.section-separator::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

/* Feature Rows */
.feature-rows {
  margin-top: 6rem;
}

.feature-row {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.feature-row:last-child {
  border-bottom: none;
}

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

.feature-content {
  padding: 2rem;
}

.feature-content h3 {
  color: var(--accent-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-description {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

.feature-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
}

.feature-list li::before {
  content: "✓";
  color: var(--accent-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

@media (max-width: 991px) {
  .feature-card {
    margin-bottom: 1rem;
  }

  .feature-content {
    padding: 2rem 0;
    text-align: center;
  }

  .feature-list {
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
  }

  .feature-image {
    margin-bottom: 2rem;
  }
}
