* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: black;
  height: 100%;
  overflow-x: hidden;
}

.top-header {
  background-color: #f0f0f0;
  padding: 10px 20px;
  color: black;
}

.top-line {
  height: 2px;
  background: #ccc;
  margin-bottom: 10px;
}

.top-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.left-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.line {
  font-weight: bold;
  font-size: 18px;
}

.logo img {
  height: 80px;
}

.right-side {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;

}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 14px;
}

.phone-login {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.login-btn {
  background: #6200ea;
  color: white;
  border: none;
  padding: 6px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
}

.longline {
  background: #f6e19d;
  color: #000;
  padding: 10px;
  font-weight: bold;
  overflow-x: hidden;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  text-align: center;
  font-size: 1.2rem;
  position: relative;
}

.longline-text {
  display: inline-block;
  white-space: nowrap;
  animation: scrollText 20s linear infinite;
}

/* Responsive adjustments for screens smaller than 600px */
@media (max-width: 600px) {
  .longline {
    font-size: 0.8rem; /* Keep it readable */
    padding: 8px;
  }
}

@keyframes scrollText {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 20px;
}

.menustyle {
  font-size: 20px;
  font-weight: bold;
  display: none;
}

.menu-icon {
  font-size: 28px;
  cursor: pointer;
  display: none;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #6200ea;
  padding: 10px 0;
}

nav ul {
  display: flex;
  list-style: none;
  border-left: 1px solid #444;
}

nav ul li {
  margin: 0;
  padding: 0 20px;
  border-right: 1px solid #444;
  font-family: 'Poppins', sans-serif;

}

nav ul li:last-child {
  border-right: none;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 17px;
  font-weight: 500;
  display: inline-block;
  padding: 8px 0;
  transition: 0.3s ease-in-out;
  position: relative;
}

/* Gradient underline on hover */
.nav-links li a:hover::after {
  content: '';
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, red, orange, green, blue, purple);
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 10px;
}

/* Desktop nav background */
.desktop-nav {
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: #6200ea;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #a03828;
  position: absolute;
  top: 100%;
  width: 100%;
  left: 0;
  z-index: 5;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
  transition: max-height 0.4s ease, opacity 0.4s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.mobile-menu.active {
  display: flex;
  max-height: 500px;
  opacity: 1;
}

.mobile_navlinks {
  list-style: none;
  padding: 10px 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile_navlinks li {
  width: 100%;
  text-align: center;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.mobile_navlinks a {
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  color: white;
  transition: color 0.3s ease;
}

.mobile_navlinks a:hover {
  color: #6200ea;
}

@media (max-width: 969px) {
  .nav-links {
    display: none;
  }
  nav{
    display: none;
  }
  .line{
    padding-left: 25px;
  }
  .whats{
    padding-left: 55px;
  }
  .menu-icon, .menustyle {
    display: block;
  }

  .main-header {
    text-align: left;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .top-content {
    flex-direction: column;
    align-items: center;
  }

  .right-side {
    flex-direction: column;
    align-items: center;
  }
}

  .success-banner {
    background-image: url('images/successstorybanner.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 20px;
    color: #fff;
  }
  
  .success-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text visibility */
    z-index: 1;
  }
  
  .success-banner-content {
    position: relative;
    z-index: 2;
  }
  
  .success-banner h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  }
  
  .success-banner p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.4);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .success-banner {
      height: 300px;
    }
  
    .success-banner h1 {
      font-size: 2rem;
    }
  
    .success-banner p {
      font-size: 1rem;
    }
  }
/* Success Story Section */
.success-story {
    padding: 60px 20px;
    background: #fdfcfb; 
    font-family: 'Poppins', sans-serif;
}

.success-story .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.success-story .title {
    font-size: 2.5rem;
    color: #c69428; /* rich red */
    margin-bottom: 10px;
}

.success-story .subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #644b4b;
}

.stories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.story-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    border-bottom-left-radius: brown;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.story-card:hover {
    transform: translateY(-10px);
}

.story-card h3 {
    color: #b36a36; /* rich red */
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.story-card .quote {
    font-style: italic;
    color: #413a3a; /* muted deep brown */
    margin-bottom: 15px;
}

.story-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.story-card ul li {
    margin-bottom: 8px;
    font-size: 1rem;
    color: #333;
}

.story-card ul li strong {
    color: #111;
}

.share-story {
    background: #fff3e0; /* soft light beige */
    padding: 30px;
    border-radius: 15px;
}

.share-story h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #c67a28;
}

.share-story p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #544f4f;
}

.share-story .btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #c62828;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.share-story .btn:hover {
    background-color: #a31515; /* darker hover */
}

/* Responsive */
@media (max-width: 768px) {
    .success-story .title {
        font-size: 2rem;
    }

    .story-card h3 {
        font-size: 1.5rem;
    }
}

.footer {
  position: relative;
  background-color: brown;
  padding: 40px 0;
  color: #fff;
  overflow: hidden;
  z-index: 1;
}

/* Content wrapper sits above hearts */
.footer-content {
  position: relative;
  z-index: 2;
}

/* Heart Shape Base */
.heart-shape {
  position: absolute;
  width: 30px;
  height: 30px;
  background: #ff4d6d;
  transform: rotate(-45deg);
  opacity: 0.8;
  z-index: 0; /* Behind everything */
}

.heart-shape::before,
.heart-shape::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  background: #ff4d6d;
  border-radius: 50%;
}

.heart-shape::before {
  top: -15px;
  left: 0;
}
.heart-shape::after {
  left: 15px;
  top: 0;
}

/* Heart positions */
.heart1 { top: 40px; left: 30px; transform: rotate(-45deg) scale(1.6); }
.heart2 { top: 90px; left: 10px; transform: rotate(-45deg) scale(1.3); }
.heart3 { top: 120px; left: 70px; transform: rotate(-45deg) scale(1); }
.heart4 { top: 160px; left: 40px; transform: rotate(-45deg) scale(0.8); }
.heart5 { bottom: 40px; right: 30px; transform: rotate(-45deg) scale(1.6); }
.heart6 { bottom: 90px; right: 10px; transform: rotate(-45deg) scale(1.3); }
.heart7 { bottom: 120px; right: 70px; transform: rotate(-45deg) scale(1); }
.heart8 { bottom: 160px; right: 40px; transform: rotate(-45deg) scale(0.8); }

/* Responsive hearts */
@media (max-width: 768px) {
  .heart1 { top: 20px; left: 15px; transform: rotate(-45deg) scale(1.2); }
  .heart2 { top: 60px; left: 5px; transform: rotate(-45deg) scale(1); }
  .heart3 { top: 90px; left: 40px; transform: rotate(-45deg) scale(0.9); }
  .heart4 { top: 120px; left: 20px; transform: rotate(-45deg) scale(0.7); }
  .heart5 { bottom: 20px; right: 15px; transform: rotate(-45deg) scale(1.2); }
  .heart6 { bottom: 60px; right: 5px; transform: rotate(-45deg) scale(1); }
  .heart7 { bottom: 90px; right: 40px; transform: rotate(-45deg) scale(0.9); }
  .heart8 { bottom: 120px; right: 20px; transform: rotate(-45deg) scale(0.7); }
}

.footer-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 0 50px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-box {
  flex: 1 1 22%;
  min-width: 250px;
  box-sizing: border-box;
  padding: 10px;
}

.footer h3 {
  font-size: 1rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 2px solid #fff;
  display: inline-block;
  padding-bottom: 5px;
}

.footer ul {
  list-style-type: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer ul li a:hover {
  color: #00ffff;
}

.footer p {
  font-size: 1rem;
  margin-bottom: 10px;
}

.footer p span {
  font-weight: bold;
}

.contact-details i {
  margin-right: 8px;
  color: #ffcccc;
}

.footer-bottom {
  text-align: center;
  padding: 15px 20px;
  background-color: rgb(96, 92, 92);
  color: #fff;
  font-size: 0.9rem;
  flex: 1 1 100%;
}

.footer-bottom i {
  color: red;
  margin-left: 6px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Responsive Layout Adjustments */
@media (max-width: 992px) {
  .footer-container {
    justify-content: left;
    padding: 0 30px;
  }

  .footer-box {
    flex: 1 1 45%;
    text-align: left;
  }
}

@media (max-width: 600px) {
  .footer-box {
    flex: 1 1 100%;
    margin-bottom: 20px;
  }

  .footer h3 {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .footer-bottom {
    font-size: 0.85rem;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .footer-bottom {
    font-size: 0.8rem;
    padding: 8px;
  }
}
