
   body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff0D5;
  margin: 0;
  padding: 0;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(to right, #eec7b7, #f9e3d6);
  gap: 100px;
  max-height: 400px;
}

.hero img {
  border-radius: 20px;
  height: 350px;
  max-width: 550px;
  margin-right: 150px;
}

.hero-text {
  max-width: 450px;
}

.hero-text h1 {
  font-size: 26px;
  margin-bottom: 10px;
}

.hero-text p {
  margin: 10px 0;
}

.highlight {
  background-color: #f9a825;
  color: white;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 13px;
  margin-left: 5px;
}

.features {
  display: flex;
  margin-top: 20px;
  gap: 20px;
}

.feature {
  text-align: center;
  font-size: 14px;
  color: #912b4a;
}

.feature-icon {
  font-size: 24px;
  margin-bottom: 5px;
}

/* ------------------ MEDIA QUERIES ------------------ */

/* Mobile (up to 600px) */
@media (max-width: 600px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    max-height: none;
  }

  .hero img {
    margin-right: 0;
    max-width: 100%;
    height: auto;
  }

  .hero-text {
    max-width: 100%;
    padding: 0 15px;
  }

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

  .features {
    flex-direction: column;
    gap: 15px;
  }
}

/* Tablet (601px – 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    max-height: none;
  }

  .hero img {
    margin-right: 0;
    max-width: 80%;
    height: auto;
  }

  .hero-text {
    max-width: 600px;
  }

  .features {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .feature {
    flex: 1 1 40%;
  }
}

/* Laptop / Large screens (1025px and up) */
@media (min-width: 1025px) {
  .hero {
    flex-direction: row;
    gap: 100px;
  }

  .hero img {
    max-width: 550px;
    height: 350px;
    margin-right: 150px;
  }

  .hero-text {
    max-width: 450px;
  }
}

/* =======================
   Base Styles
======================= */
.sip-calculator {
  padding: 50px 20px;
  text-align: center;
}
.sip-calculator h2 {
  color: #912b4a;
}

.sell-switch {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  justify-content: center;
}
.active-tab {
  background-color: #9C1137;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 16px;
  cursor: pointer;
}
.inactive-tab {
  background: none;
  color: #9C1137;
  border: 2px solid #ffaa0f;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 16px;
  cursor: pointer;
}

.sip-description {
  color: #444;
  font-size: 18px;
  text-align: center;
}

/* Estimator Section */
.sip-estimator {
  margin: 30px auto;
  display: flex;
  justify-content: center;
  max-width: 1000px;
  gap: 20px;
}
.estimator-box {
  flex: 1;
  border: 1px solid #912b4a;
  border-radius: 10px;
  padding: 20px;
  background-color: white;
}
.estimator-box h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

/* Icon Section */
.icon-section {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin: 30px 0;
}
.icon-card {
  text-align: center;
  color: #b52b50;
}
.icon-card img.icon {
  width: 50px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 8px;
  margin-right: 20px;
}

/* Estimator Container */
.estimator-container {
  display: flex;
  max-width: 1000px;
  border: 1px solid #a21d3d;
  border-radius: 10px;
  margin: auto;
  background-color: #fef2e0;
}
.estimator-left,
.estimator-right {
  flex: 1;
  padding: 30px;
}
.estimator-left {
  border-right: 1px solid #a21d3d;
}
.estimator-left h3 {
  margin: 0;
  font-weight: 600;
}
.estimator-left p {
  color: #333;
  font-size: 14px;
  margin-top: 5px;
  margin-bottom: 25px;
}
.input-label {
  color: #999;
  font-weight: 500;
}
.input-line {
  width: 100%;
  border: none;
  border-bottom: 1px solid #aaa;
  margin-bottom: 25px;
  padding: 8px 0;
  font-size: 16px;
  background: none;
}
.slider-label {
  font-weight: 600;
  font-size: 14px;
  margin-top: 20px;
}
.slider-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.slider {
  width: 100%;
  margin: 10px 0;
}
input[type=range] {
  width: 100%;
  height: 2px;
  background: #a21d3d;
  border-radius: 5px;
  outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background: #a21d3d;
  cursor: pointer;
}
.estimator-right {
  text-align: center;
}
.estimator-right h4 {
  margin: 0 0 10px;
  font-weight: 500;
}
.amount {
  font-size: 24px;
  color: #888;
  margin-bottom: 20px;
}
.pie-chart {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(#b14b56 90%, #e0b84a 10%);
  margin: auto;
  position: relative;
}
.legend {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 30px;
  font-size: 14px;
}
.legend-item {
  display: flex;
  gap: 10px;
}
.legend-color {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.invested { background: #b14b56; }
.invested1 { background: #e0b84a; }

/* General Heading */
h2 {
  text-align: center;
  margin-top: 40px;
  font-size: 28px;
}

/* Steps Section */
.title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
}
.steps {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 400px;
  margin: 0 auto;
  gap: 20px;
}
.step {
  border: 1px solid orange;
  border-radius: 20px;
  padding: 15px 20px;
  font-size: 16px;
  background-color: #fdf0d9;
  width: 100%;
  text-align: left;
}
.step strong {
  display: block;
  color: #6f0c27;
  margin-bottom: 5px;
}

/* Video */
.video-placeholder {
  background-color: #ccc;
  height: 200px;
  width: 200px;
  margin: 30px auto;
}
.videos {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.video {
  background-color: black;
  height: 280px;
  width: 160px;
}
.highlight {
  color: #a21d3d;
  border-bottom: 2px solid #f4c267;
  display: inline-block;
  padding-bottom: 5px;
}

/* Start SIP */
.start-sip { display: flex; }

/* Benefits */
h2 {
  color: #b3434d;
  margin: 40px 0;
  font-size: 42px;
  font-weight: bold;
  text-align: center;
}
.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  width: 90%;
  max-width: 1400px;
  margin: auto;
  justify-content: center;
}
.benefit-card {
  background: linear-gradient(135deg, #D6B0A5, #C28978);
  color: white;
  border-radius: 25px;
  padding: 60px 30px 30px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
  font-size: 22px;
}
.benefit-card:hover {
  transform: translateY(-12px);
}
.benefit-card img {
  width: 90px;
  height: 90px;
  background: #fff8ef;
  border-radius: 50%;
  padding: 15px;
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.5s ease;
}
.benefit-card:hover img {
  transform: translateX(-50%) scale(1.3) rotate(10deg);
}
.benefit-card p {
  margin-top: 60px;
  font-size: 22px;
  font-weight: bold;
}

/* Cards */
.card-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}
.card {
  background:#fff0d5;
  color:black;
  width: 280px;
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.card img {
  width: 70px;
  margin-bottom: 20px;
  transition: transform 0.5s ease;
}
.card:hover img {
  transform: scale(1.2) rotate(10deg);
}
.card h3 {
  margin: 15px 0 10px;
  font-size: 20px;
  font-weight: bold;
}
.card p {
  font-size: 14px;
  line-height: 1.5;
}

/* Start Now SIP */
.container1 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px;
}
.steps {
  flex: 1;
  max-width: 40%;
}
.step {
  background: #fff0c2;
  border-radius: 10px;
  margin-bottom: 25px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
}
.step.active {
  background: #f1b02c;
  color: white;
  font-weight: bold;
}
.step:hover {
  background: #f7c85a;
}
.step p {
  display: none;
  margin-top: 10px;
  font-size: 14px;
}
.step.active p {
  display: block;
}
.image-box {
  flex: 1;
  text-align: center;
}
.image-box img {
  width: 350px;
  height: 450px;
  object-fit: contain;
  border-radius: 20px;
  display: none;
  margin-left: 250px;
}
.image-box img.active {
  display: block;
}

/* Button */
.sip-button {
  margin-top: 20px;
  margin-left: 1in;
}
.sip-button button {
  padding: 15px 40px;
  background: #9C1137;
  color: white;
  font-size: 18px;
  border: none;
  border-radius: 13px;
  cursor: pointer;
  transition: 0.3s;
}
.sip-button button:hover {
  background: #b83b52;
}

/* =======================
   Responsive Media Queries
======================= */

/* Mobile (max 600px) */
@media (max-width: 600px) {
  .sip-estimator,
  .estimator-container,
  .container1 {
    flex-direction: column;
    align-items: center;
  }
  .estimator-left,
  .estimator-right,
  .left-panel,
  .right-panel {
    border-right: none;
    width: 100%;
    padding: 20px;
  }
  .benefits-container,
  .benefits-cards {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .image-box img {
    width: 100%;
    height: auto;
    margin-left: 0;
  }
  .sip-button {
    margin-left: 0;
    text-align: center;
  }
  .sip-button button {
    width: 100%;
  }
}

/* Tablet (601px – 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
  .benefits-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .container1 {
    flex-direction: column;
    align-items: center;
  }
  .steps {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .image-box img {
    margin-left: 0;
  }
}

/* Large screens (1025px and up) */
@media (min-width: 1025px) {
  .benefits-container {
    grid-template-columns: repeat(3, 1fr);
  }
}
