
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Manrope', sans-serif;
    background: #191820;
    color: white;
    overflow-x: hidden;
}

.titles{
  font-size: 31px !important;
  font-weight: 600 !important;
}
.descriptions{
  /* font-size: 14px !important; */
  color: #aaa !important;
}
.header-section {
    position: relative;
    height: 100vh;
    padding: 2rem;
    background-color: #0f0f25;
    z-index: 1;
    display: flex;
    flex-direction: column;
}


.header-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/bg-header.webp') no-repeat center center / cover;
    z-index: -3;
}

.content-wrapper {
  max-width: 800px;
}

.content-wrapper p {
  max-width: 500px;
}


.glass-image {
  position: absolute;
  right: 6%;
  bottom: 0;
  width: 340px;
  height: auto;
  z-index: -1;
  object-fit: contain;
  top: unset;
  max-height: 85%;
}



.maxine-logo img{
    width: 125px;
}

.consult-btn {
    background-color: #7166D6;
    color: white;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.consult-btn:hover {
    background-color: white;
    color: #7166D6;
    border: 1px solid #7166D6;
}


.text-block h1{
    font-size: 4rem;
}

.store-badges img {
    height: 60px;
    margin-right: 1rem;
}

.hand-phone-img {
    /* left: 777px; */
    position: absolute;
    right: 170px;
    bottom: 0;
    max-height: 90%;
    z-index: 1;
}

/* =============== Why Choose Maxine ================= */



.violet-radiation{
    color: #AFA7FF;
    font-size: 0.9rem;
}



/* ====================== Core Services ================= */
/* Grid Container */
.grid-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: auto;
  gap: 1.5rem;
}
.home-main {
  grid-column: span 4;
  aspect-ratio: 449 / 350; /* reduce from 400 to 350 for shorter height */
}


/* Card Styles */
.card {
  position: relative;
  background-color: #302F36;
  border-radius: 20px;
  padding: 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.card h2{
    color: white;
    font-size: 25px;
}

.card img {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  max-height: 74%;
  object-fit: contain;
  z-index: 0;
}

.card .text {
  position: relative;
  z-index: 1;
}

.card h5 {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 1rem;
  color: #ccc;
  margin: 0;
}

/* Grid Spans */
.home-care {
  grid-column: span 4;
  aspect-ratio: 626 / 647;
}
.home-care p{
  width: 100%;
}
.home-care img{
  width: 82%;
  bottom: -20px;
  max-height: 60%;
}




.care-consulting {
  grid-column: span 8;
  aspect-ratio: 930 / 334;
}

.care-consulting p{
  width: 42%;
}

.care-consulting img{
  bottom: -0.5rem;
  right: 2.5rem;
  max-height: 97%;
}



.everyday-living {
  grid-column: span 4;
  aspect-ratio: 541 / 647;
}
.everyday-living img {
  max-height: 192px;
  margin-bottom: 1.5rem;
}

.everyday-living {
  flex-direction: column-reverse; /* image on top, text at bottom */
}

.everyday-living img {
  position: relative;
  bottom: unset;
  right: unset;
  align-self: center;
}






.home-safety {
  grid-column: span 4;
  aspect-ratio: 449 / 400; /* shorter */
}
.home-safety {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

.home-safety img {
  position: relative;
  width: auto;
  max-height: 180px;
  object-fit: contain;
  margin-bottom: 1rem;
  align-self: center;
}

.home-safety .text {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.home-safety,
.transportation,
.home-maintenance {
  margin-top: -98px;
}

.home-maintenance {
  margin-top: -198px;
}
.home-maintenance p{
  width: 47%;
}

.transportation {
  
  grid-column: span 4;
  aspect-ratio: 449 / 400; /* shorter */
}
.transportation img{
  position: static !important;
  width: 179px;
  margin-top: 0.5rem;
  align-self: center;
}
.transportation p{
  width: 100%;
}

.home-maintenance {
  grid-column: 5 / span 8; /* starts beside safety/transport */
  aspect-ratio: 1387 / 368;

}



.home-safety {
  flex-direction: column-reverse !important;
}

.home-safety img {
  position: relative !important;
  bottom: unset !important;
  right: unset !important;
  max-height: 144px;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
  align-self: center;
}




/* ================================ HOW IT WORKS================================================== */
.how-it-works {
  padding: 3rem 1rem 0;
  background-color: #1A181F;
  color: white;
  position: relative;
}

.how-it-works-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1rem;
  color: #8F8D98;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.4;
}

.how-it-works-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 3rem;
  max-width: 829px;
  margin: 0 auto;
}

.how-it-works-image {
  position: relative;
  width: 353px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
}

.step-image {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 506px;
  transition: opacity 0.5s ease;
  opacity: 0;
  z-index: 0;
}

.step-image.active {
  opacity: 1;
  z-index: 1;
}

.how-it-works-content {
  flex: 1;
  min-width: 320px;
  max-width: 600px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.step-number {
  width: 70px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.08);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.step-number.active {
  background-color: #655EFF;
  color: white;
}

.step-text h4 {
  font-size: 31px;
  margin-bottom: 0.5rem;
}

.step-text p {
  font-size: 1.1rem;
  color: #ccc;
  margin: 0;
}

@media (max-width: 768px) {
  .how-it-works-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .how-it-works-image {
    width: 240px;
    height: auto;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .step-number {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .step-text h4 {
    font-size: 1.1rem;
  }

  .step-text p {
    font-size: 1rem;
  }
}

/* =============================Pricing====================== */
/* Section Background */
.pricing-section {
  background-color: #302F36;
  padding: 0rem 0;
  position: relative;
  overflow: hidden;
}

/* Background 'PRICING' text */
.pricing-bg-text {
  /* position: absolute; */
  top: 10%;
  left: 50%;
  /* transform: translateX(-50%); */
  font-size: 15rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  z-index: 0;
  pointer-events: none;
}

/* Card Styles */
.card {
  border-radius: 20px;
  padding: 1rem;
  border: none;
  backdrop-filter: blur(7px);
}
.card-body {
  padding-bottom: 3rem !important;
}
/* Ensure parent allows overflow content */
.pricing-left {
  top: -130px;
  background: rgba(136, 92, 255, 0.1);
  position: relative;
  overflow: visible !important; /* allow phone to overflow card */
}


.pricing-right {
  top: -130px;
  background: rgba(255, 255, 255, 0.05); /* Transparent */
  backdrop-filter: blur(10px);
}


/* Phone */
.phone-wrapper {
  position: absolute;
  bottom: -40px; /* make sure it's lower */
  right: -40px;
  z-index: 5;
  pointer-events: none;
}


.phone-image {
  width: 341px;
  right: 0rem!important;
  bottom: 0rem!important;
}

/* Typography */
.card h1, .card h2, .card h3 {
  color: white;
}

/* Pointer Dot List Items */
.pointer-dot {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.pointer-dot::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 10px;
  height: 10px;
  background: #A394F5;
  border-radius: 50%;
}

/* ============================================TrustedByMany================== */
.trusted-section {
  background-color: #1D1C22;
  position: relative;
  padding-top: 10rem;
  padding-bottom: 10rem;
  overflow: hidden;
}

.trusted-heading {
  font-size: 10.8rem;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0.4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 3rem;
}

.thousands {
  display: inline-block;
  font-size: 12rem;
  background: linear-gradient(180deg, #ffffff 0%, #FFFFFF00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Floating cards with new layout */
.floating-card {
  position: absolute;
  width: 200px;
  padding: 1.5rem 1.2rem;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  text-align: left;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.floating-card h3 {
  margin: 0.5rem 0 0;
  font-size: 3rem;
  font-weight: 700;
}

.floating-card p {
  font-size: 1rem;
  margin: 0;
  opacity: 0.9;
}

.icon-img {
  width: 55px;
  margin-top: -0.2rem;
  margin-left: -0.2rem;
}

/* Specific card positions, now more spaced */
.card1 { top: -20%; left: 11%; animation-delay: 0s; }
.card2 { top: -14%; right: 9%; animation-delay: 1s; }
.card3 { bottom: -25%; left: 15%; animation-delay: 2s; }

.floating-img {
  position: absolute;
  width: 250px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.img1 {
  top: -18%;
  left: 38%;
  transform: translateX(-50%);
  animation: float 7s ease-in-out infinite;
}

.img2 {
  bottom: -31%;
  right: 21%;
  animation: float 8s ease-in-out infinite;
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* 
========================================================================== sample ===================================================== */
.testimonial-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.left-column {
  flex: 1;
  min-width: 300px;
}

.left-column h4 {
  color: #a394f5;
  margin-bottom: 10px;
  font-weight: 500;
}

.left-column h2 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.left-column p {
  color: #aaa;
  margin-bottom: 30px;
}

.arrows {
  display: flex;
  gap: 15px;
}

.arrow-btn {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 50%;
  color: #aaa;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.arrow-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.testimonial-slider {
  padding-bottom: 306px;
  flex: 1;
  min-width: 300px;
  position: relative;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  padding: 40px;
  border-radius: 25px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease;
  z-index: 0;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}


.testimonial-text {
  font-size: 18px;
  line-height: 1.6;
  color: #f1f1f1;
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info p {
  margin: 0;
}

.author-info .name {
  font-weight: 600;
}

.author-info .location {
  font-size: 14px;
  color: #ccc;
}

.quotes img{
  width: 32px;
  margin-bottom: 1.5rem;
}
/* =============================================================FAQ====================================== */
.faq-section {
  max-width: 800px;
  margin: 100px auto;
  margin-top: 0px;
  padding: 0 20px 41px;
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-header h4 {
  color: #a394f5;
  font-weight: 500;
  margin-bottom: 10px;
}

.faq-header h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.faq-header p {
  color: #aaa;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  position: relative;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 18px;
  margin: 0;
  font-weight: 500;
}

.faq-toggle-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #2d2a38;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.faq-toggle-icon img {
  width: 38px;
  height: 38px;
  pointer-events: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  padding-top: 0;
}

.faq-answer p {
  margin: 15px 0 0;
  color: #ccc;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  opacity: 1;
  padding-top: 10px;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(180deg);
}



/* =======================FOOTER============================ */

    .footer-cta {
      backdrop-filter: blur(9px);
      /* opacity: 98%; */
      background: linear-gradient(180deg, #1c1b22cf 0%, #1211169c 100%);
      border-radius: 40px;
      padding: 60px;
      margin-bottom: -169px;
      position: relative;
      z-index: 2;
      border-top: 1px solid #ffffff38;
      border-bottom: 1px solid #ffffff38;
    }
    
    .mobile-footer img{
      position: absolute;
      bottom: 0;
      right: 100px;
    }

    .footer-cta h5 {
      color: #837df5;
      font-weight: 500;
    }

    .footer-cta h2 {
      font-size: 32px;
      margin: 5px 0 10px;
    }

    .footer-cta p {
      color: #aaa;
      margin-bottom: 20px;
    }

    .app-buttons img {
      height: 50px;
      margin-right: 15px;
    }

    .footer-base {
      border-top: 1px solid rgba(255,255,255,0.1);
      background: black;
      padding: 180px 0 20px;
    }

    .footer-logo {
      font-size: 28px;
      font-weight: bold;
    }

    .social-icons img {
      width: 28px;
      height: 28px;
      margin-right: 15px;
      cursor: pointer;

    }
    .social-media{
      background: #363345;
      padding: 3px 7px;
      border-radius: 160px;
    }

    .footer-links a {
      color: #aaa;
      text-decoration: none;
      margin: 0 15px;
    }

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

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.08);
      padding-top: 20px;
      font-size: 13px;
      color: #888;
      text-align: center;
    }








@media(max-width: 360px){
.consult-btn {
  padding: 0.5rem 0.2rem;
  font-size: 12px;
}
.text-block h1 {
    font-size: 2rem;
    margin-top: 30px;
    text-align: center;
    margin-left: 0 !important;
}
img.hand-phone-img {
  display: none;
}
img.glass-image {
  display: none;
}

.text-block p{
  font-size: 12px;
  text-align: center;
}
.store-badges img {
    height: 38px;
    margin-right: 1rem;
}
.violet-radiation{
  text-align: center;
  font-size: 12px;
}
.titles{
  font-size: 25px !important;
  text-align: center;
}
.descriptions{
  text-align: center;
  font-size: 13px;
}
.center-wrapper {
  height: 100vh;
}



}



@media(min-width: 360px){
.consult-btn {
  padding: 0.5rem 0.2rem;
  font-size: 12px;
}
.text-block h1 {
    font-size: 3rem;
    margin-top: 30px;
    text-align: center;
    margin-left: 0 !important;
}
img.hand-phone-img {
  display: none;
}
img.glass-image {
  display: none;
}

.text-block p{
  font-size: 19px;
  text-align: center;
}
.store-badges img {
    height: 38px;
    margin-right: 1rem;
}
.violet-radiation{
  text-align: center;
  font-size: 12px;
}
.titles{
  font-size: 25px !important;
  text-align: center;
}
.descriptions{
  text-align: center;
  font-size: 13px;
}
.center-wrapper {
  height: 100vh;
}



}











/* Responsive */
@media (max-width: 768px) {
  .how-it-works-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .how-it-works-image {
    width: 260px;
    height: auto;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .step-text p {
    font-size: 1rem;
  }
  .how-it-works-wrapper {
    flex-direction: column;
  }

  .how-it-works-image {
    width: 260px;
    height: auto;
  }

  .section-title {
    font-size: 1.6rem;
  }
  .footer-cta {
    padding: 40px 20px;
    text-align: center;
  }

  .footer-cta .col-md-6 {
    margin-bottom: 30px;
  }

  .footer-base {
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
  .grid-container {
    grid-template-columns: 1fr;
  }

  .card {
    aspect-ratio: auto;
  }

  .card img {
    position: relative;
    max-height: 180px;
    margin-top: 1rem;
  }

}
  

/* Responsive Fixes */
@media (max-width: 1024px) {
  .grid-container {
    grid-template-columns: repeat(6, 1fr);
  }

  .home-care,
  .everyday-living,
  .care-consulting,
  .home-safety,
  .transportation,
  .home-maintenance {
    grid-column: span 6;
  }
}



 /* RESPONSIVE UNDER 4K */
@media (min-width: 2560px){
.hand-phone-img {
    right: 420px;
}
.glass-image {
  position: absolute;
  right: 10%;
  bottom: 0;
  width: 663px;
}
.maxine-logo img{
  width: 223px;
}
.header-section{
  padding: 4rem;
}
.content-wrapper {
  max-width: 1390px;
}
.text-block h1 {
   font-size: 7rem;
}
.content-wrapper p {
  max-width: 1045px;
  font-size: 2.2rem;
}
.store-badges img {
    height: 101px;
}
.container {
  max-width: 1805px !important;
}
.consult-btn {
    padding: 1.4rem 2.8rem;
    font-size: 31px;
}
}


 /* Just some more alignmentissues ig */
@media (max-width :1778px){
.hand-phone-img {
    right: 188px;
}
}