/* Home Hero Section */
.home-hero {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: center;
  padding: 0px 0 0;
}

.home-hero-bg {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.home-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.home-hero-text {
  flex: 1;
  max-width: 1000px;
  color: #ffffff;
}

.home-hero-text h1 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #ffffff;
}

.home-hero-text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
  color: #ffffff;
  opacity: 0.95;
}

.hero-cta {
  display: inline-block;
  background: #ffffff;
  color: #1e2b79;
  padding: 14px 36px;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 15px;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.home-hero-image {
  flex: 0 0 auto;
  width: 55%;
  max-width: 700px;
  position: relative;
}

.home-hero-image img {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 1024px) {
  .home-hero {
    min-height: 600px;
  }

  .home-hero-text h1 {
    font-size: 48px;
  }

  .home-hero-content {
    gap: 40px;
    padding: 0 32px;
  }

  .home-hero-image {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .home-hero {
    min-height: auto;
    padding: 170px 0 80px;
  }

  .home-hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    padding: 0 24px;
  }

  .home-hero-text {
    max-width: 100%;
  }

  .home-hero-text h1 {
    font-size: 32px;
    white-space: normal;
  }

  .home-hero-text p {
    font-size: 15px;
  }

  .hero-cta {
    padding: 12px 32px;
    font-size: 14px;
  }

  .home-hero-image {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .home-hero {
    padding: 150px 0 60px;
  }

  .home-hero-text h1 {
    font-size: 28px;
  }

  .home-hero-text p {
    font-size: 14px;
  }
}

/* Home Services Section */
.home-services {
  padding: 120px 0px;
}

.home-services-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}

.section-heading {
  font-size: 48px;
  color: #0b0f28;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subheading {
  font-size: 16px;
  color: #a1a1a1;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.home-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.home-card {
  position: relative;
  background: #f7f8fb;
  border-radius: 20px;
  height: 400px;
  overflow: hidden;
  cursor: pointer;
}

.card-bg-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 65%;
  height: auto;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.card-content {
  max-width: 100%;
}

.card-title {
  font-size: 32px;
  color: #0b0f28;
  margin-bottom: 16px;
  font-weight: 700;
}

.card-desc {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 15px;
}

.card-icons {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: center;
}

.card-icons img {
  height: 32px;
  width: auto;
}

.card-cta {
  display: inline-block;
  background: #1b2d74;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s ease;
}

.card-cta:hover {
  background: #16205a;
}

/* Hover effect */
.home-card:hover .card-bg-image {
  width: 35%;
  transform-origin: bottom right;
}

.home-card:hover .card-overlay {
  opacity: 1;
}

/* Scroll-triggered effect for mobile/tablet */
@media (max-width: 770px) {
  .home-card:hover .card-bg-image {
    width: 65%;
  }

  .home-card:hover .card-overlay {
    opacity: 0;
  }

  .home-card.in-view .card-bg-image {
    width: 35%;
    transform-origin: bottom right;
  }

  .home-card.in-view .card-overlay {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .home-cards-grid {
    gap: 24px;
  }
  .home-card {
    height: 420px;
  }
  .section-heading {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .home-cards-grid {
    grid-template-columns: 1fr;
  }
  .home-card {
    height: 400px;
  }
  .section-heading {
    font-size: 32px;
  }
  .card-title {
    font-size: 28px;
  }
  .card-desc {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .home-card {
    height: 360px;
  }
  .card-overlay {
    padding: 24px;
  }
  .card-title {
    font-size: 24px;
  }
  .card-icons img {
    height: 26px;
  }
}

/* Transparent Breakdown Section */
.transparent-breakdown {
  background: #f8f9ff;
  padding: 120px 0px;
}

.breakdown-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px;
}

.breakdown-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}

.breakdown-heading {
  font-size: 48px;
  color: #0b0f28;
  font-weight: 800;
  margin-bottom: 16px;
}

.breakdown-subheading {
  font-size: 16px;
  color: #a1a1a1;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.breakdown-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.breakdown-card {
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(30, 42, 120, 0.05) 100%
  );

  border-radius: 24px;
  padding: 32px 32px 64px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.breakdown-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.card-icon-wrapper {
  width: 88px;
  height: 88px;
  background: #e8e9f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 40px 0;
}

.card-icon {
  width: 32px;
  height: 32px;
  display: block;
}

.breakdown-card .card-heading {
  font-size: 24px;
  color: #0b0f28;
  font-weight: 700;
  margin: 26px 0;
}

.breakdown-card .card-description {
  font-size: 15px;
  color: #a1a1a1;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 1024px) {
  .breakdown-heading {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .breakdown-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .breakdown-heading {
    font-size: 32px;
  }
  .breakdown-card {
    padding: 32px 24px;
  }
}

/* Why Choose Us Section */
.why-choose {
  padding: 80px 0px;
}

.why-choose-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px;
}

.why-choose-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}

.why-choose-heading {
  font-size: 48px;
  color: #0b0f28;
  font-weight: 800;
  margin-bottom: 16px;
}

.why-choose-subheading {
  font-size: 16px;
  color: #a1a1a1;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.stats-card {
  position: relative;
  background: #f7f8fb;
  border-radius: 32px;
  padding: 56px;
  overflow: hidden;
}

.stats-decoration {
  position: absolute;
  top: -7%;
  right: 0%;
  width: 40%;
  height: auto;
  max-width: 600px;
  opacity: 1;
  pointer-events: none;
}

.stats-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.stats-main-text {
  font-size: 36px;
  font-weight: 800;
  color: #0b0f28;
  line-height: 1.4;
  margin-bottom: 32px;
}

.stats-main-text .highlight {
  color: #2d3fb2;
}

.stats-cta {
  display: inline-block;
  background: #1b2d74;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 48px;
  transition: background 0.2s ease;
}

.stats-cta:hover {
  background: #16205a;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

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

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: #0b0f28;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
  .why-choose-heading {
    font-size: 36px;
  }
  .stats-main-text {
    font-size: 32px;
  }
  .stats-decoration {
    width: 55%;
    right: -5%;
  }
}

@media (max-width: 768px) {
  .stats-card {
    padding: 40px 32px;
  }
  .why-choose-heading {
    font-size: 32px;
  }
  .stats-main-text {
    font-size: 28px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .stats-decoration {
    width: 50%;
    top: auto;
    bottom: -5%;
    right: -5%;
    transform: scaleY(-1);
    opacity: 0.8;
  }
  .stat-number {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .stats-card {
    padding: 32px 24px;
  }
  .stats-main-text {
    font-size: 24px;
  }
  .stats-decoration {
    width: 60%;
    bottom: -8%;
    right: -10%;
    transform: scaleY(-1);
  }
}
