* {
  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;
}

@media screen and (min-width: 600px) and (max-width: 991px) {
  .contact-details{
    align-items: center !important;
    gap:10px !important;
  }
  .right-side{
    gap:10px !important;
  }

}

/* Small devices: Mobiles (up to 599px) */
@media screen and (max-width: 599px) {
  .contact-details{
     align-items: center !important;
     gap:10px !important;
  }
  .right-side{
    gap:10px !important;
  }
 
}

/* 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;
  }
}

  .about-banner {
    background-image: url('images/aboutusbanner.webp'); /* Replace with your actual image path */
    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;
  }
  
  .about-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;
  }
  
  .about-banner-content {
    position: relative;
    z-index: 2;
  }
  
  .about-banner h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  }
  
  .about-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) {
    .about-banner {
      height: 300px;
    }
  
    .about-banner h1 {
      font-size: 2rem;
    }
  
    .about-banner p {
      font-size: 1rem;
    }
  }
  
 /* Section Styling */
.marimony-section {
    padding-bottom: 40px;
    background-color: #fafafa; /* lighter neutral background */
}

/* Main Container */
.marimony-container {
    margin: 0 auto;
}

.marimony-top {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.marimony-title {
    font-size: 2rem;
    color: #de7e1d; /* rich red for the heading */
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.marimony-intro {
    font-size: 1.1rem;
    color: #5c3b3b; /* dark maroon for intro text */
    line-height: 1.8;
    max-width: 800px;
    text-align: left;
    margin: 0 auto;
}

.marimony-intro strong {
    color: #d84315; /* vibrant orange-red for brand highlight */
    font-weight: 700;
}

/* Responsiveness */
@media (max-width: 768px) {
    .marimony-top {
        padding: 30px 15px;
    }

    .marimony-title {
        font-size: 1.6rem;
    }

    .marimony-intro {
        font-size: 1rem;
    }
    .marimony-container {
      padding-left: 15px;
      padding-right: 15px;
  }
}

@media (max-width: 480px) {
    .marimony-top {
        padding: 20px 10px;
    }

    .marimony-title {
        font-size: 1.4rem;
    }

    .marimony-intro {
        font-size: 0.95rem;
    }
    .marimony-container {
      padding-left: 15px;
      padding-right: 15px;
  }
}

/* Card Styling */
.marimony-card {
    display: flex;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1000px;
}

/* Image Side */
.marimony-card-image {
    flex: 1 1 50%;
}

.marimony-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content Side */
.marimony-card-content {
    flex: 1 1 50%;
    padding: 40px;
}

.marimony-subtitle {
    font-size: 20px;
    color: #d84315; /* vibrant orange-red for subtitle */
    font-weight: 600;
    margin-bottom: 20px;
}

.marimony-text {
    font-size: 16px;
    color: #5c3b3b; /* dark maroon */
    line-height: 1.8;
    margin-bottom: 15px;
}

.marimony-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #c62828; /* rich red for button */
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.marimony-button:hover {
    background-color: #a31515; /* darker red for hover */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .marimony-card {
        flex-direction: column;
    }

    .marimony-card-image, 
    .marimony-card-content {
        flex: 1 1 100%;
    }

    .marimony-card-content {
        padding: 30px 20px;
    }

    .marimony-title {
        font-size: 26px;
    }

    .marimony-intro {
        font-size: 16px;
    }
}

.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;
  }
}
