body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
p {
  margin: 0 !important;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.4rem;
}

h5 {
  font-size: 1.2rem;
}

p {
  font-size: 1rem;
}

.card-title {
  font-size: 1.2rem;
}

.card-description {
  font-size: 1rem;
}

.card-text {
  font-size: 1rem;
}

.card-text-small {
  font-size: 0.8rem;
}

.card-text-x-small {
  font-size: 0.6rem;
}

.card-text-xx-small {
  font-size: 0.4rem;
}

.card-text-xxx-small {
  font-size: 0.2rem;
}

.card-text-xxxx-small {
  font-size: 0.1rem;
}

.card-text-xxxxx-small {
  font-size: 0.05rem;
}

.card-text-xxxxxx-small {
  font-size: 0.025rem;
}

.card-text-xxxxxxx-small {
  font-size: 0.0125rem;
}

.card-text-xxxxxxxx-small {
  font-size: 0.00625rem;
}

.card-text-xxxxxxxxx-small {
  font-size: 0.003125rem;
}

/* Centered Footer Extra Section Styles */

.footer-extra-centered {
  width: 50%;
  margin: -40px auto 0 auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 9;
  position: absolute;
  left: 0;
  right: 0;
}

.footer-extra-centered h3 {
  color: #216ba1;
  font-weight: 600;
  margin-bottom: 24px;
  font-size: 1.4rem;
}

.footer-info-block {
  width: 100%;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.footer-contact-icons p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  margin: 0 0 10px 0;
  color: #222;
}

.footer-contact-icons i {
  color: #216ba1;
  font-size: 1.3rem;
}

.footer-social-icons {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 10px;
}

.footer-social-icons span {
  font-weight: 500;
  color: #444;
  margin-bottom: 8px;
}

.social-icons-row {
  display: flex;
  gap: 22px;
}

.social-link i {
  font-size: 2rem;
  color: #216ba1;
  transition: color 0.2s;
}

.social-link i:hover {
  color: #216ba1;
}

@media (max-width: 900px) {
  .footer-extra-centered {
    width: 90%;
    padding: 24px 10px;
  }

  h1,
h2,
h3,
h4,
h5,
p {
  margin: 0 !important;
}

h1 {
  font-size: 1.65rem;
}

h2 {
  font-size: 1.45rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.4rem;
}

h5 {
  font-size: 1.2rem;
}

p {
  font-size: 1rem;
}

}


/* Footer Extra Section Styles */

.footer-extra {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #f9f9f9;
  padding: 32px 0;
  border-top: 1px solid #eee;
}

.footer-extra-left {
  flex: 1;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #222;
}

.footer-extra-left h3 {
  margin-bottom: 10px;
  color: #216ba1;
}

.footer-extra-right {
  flex: 1;
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  color: #222;
}

.social-icons-row {
  display: flex;
  gap: 18px;
  margin-bottom: 12px;
}

.footer-extra-left p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px 0;
  font-size: 1rem;
}

.footer-extra-right h3 {
  margin-bottom: 10px;
  color: #216ba1;
}

.social-link {
  color: #216ba1;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
}

.social-link:hover {
  color: #0056b3;
}

@media (max-width: 700px) {
  .footer-extra {
    flex-direction: column;
    padding: 24px 10px;
    gap: 24px;
  }

  .footer-extra-left,
  .footer-extra-right {
    padding: 0;
    align-items: flex-start;
  }

  .footer-extra-right {
    align-items: flex-start;
  }
}

.banner {
  max-width: 100%;
  width: 100%;
}

/* Logo Above Banner Styles */

.logo-above {
  width: 100%;
  display: flex;
  align-items: flex-start;
  padding: 24px 0 0 40px;
  background: transparent;
  /* Logo Above Banner Styles */
  /* Removed logo-above styles */
  bottom: 0;
  left: 0;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

/* Contact Us Section Styles */

.contact-section {
  background: #f9f9f9;
  padding: 40px 20px;
  max-width: 100%;
  margin: 40px auto;
  /* Footer Contact Info Styles */
  /* Removed footer-contact styles */
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.contact-form button {
  background: #216ba1;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.contact button:hover {
  background: #0056b3;
}

/* Main Header Styles - Overlapping Banner */
.main-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  background: transparent;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
  position: relative;
}

.bg-blur {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.85);
  width: calc(100% - 120px);
  height: 70px;
  border-radius: 50px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: -1;
}

.header-logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.header-logo img {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: 40px;
  padding-bottom: 4px;
}

.nav-link {
  color: #262626;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
  position: relative;
  z-index: 1;
}

.nav-link:hover {
  color: #216ba1;
  transform: translateY(-2px);
}

.nav-link.active {
  color: #216ba1;
  font-weight: 600;
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -23px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #216ba1;
  border-radius: 2px;
}

.header-login-btn {
  padding: 10px 24px;
  background: #216ba1;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); */
  position: relative;
  z-index: 1;
  border: 1.5px solid #216ba1;
  text-decoration: none;
  
}

.header-login-btn:hover {
  background: #1a5a8a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.header-login-btn i {
  font-size: 1.1rem;
}

.login-text {
  display: inline-block;
}

/* Menu Overlay - Hidden by default on desktop */
.menu-overlay {
  display: none;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 8px;
  z-index: 101;
  transition: transform 0.3s ease;
  position: relative;
}

.hamburger-line {
  width: 20px;
  height: 3px;
  background: #0056b3;
  border-radius: 3px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(9px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Header */
@media (max-width: 1024px) {
  .main-header {
    padding: 16px 0;
  }

  .header-container {
    padding: 0 30px;
  }

  .bg-blur {
    width: calc(100% - 60px);
    height: 65px;
  }

  .header-logo img {
    height: 50px;
  }

  .header-nav {
    gap: 24px;
    margin-left: 30px;
  }

  .nav-link {
    font-size: 0.95rem;
  }

  .header-login-btn {
    padding: 8px 18px;
    font-size: 0.9rem;
    margin-right: 12px;
  }


}

@media (max-width: 768px) {

  .mobile-menu-toggle {
    display: flex;
    right: 9px;
  }

  .main-header {
    padding: 16px 0;
  }

  .header-container {
    position: relative;
    padding: 0 20px;
  }

  .bg-blur {
    width: calc(100% - 40px);
    height: 60px;
  }

  .header-logo {
    flex: 1;
  }

  .header-logo img {
    height: 45px;
    margin-left: 11px;
  }

  /* Overlay when menu is open */
  .menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 98;
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(247, 249, 249, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 30px 30px 30px;
    gap: 0;
    margin: 0;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 99;
  }

  .header-nav.active {
    right: 0;
  }

  .nav-link {
    width: fit-content;
    padding: 16px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-shadow: none;
    color: #0056b3 !important;
  }

  .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
    padding-left: 10px;
    transform: none;
  }

  .nav-link.active {
    color: #0056b3 !important;
    background: rgba(255, 255, 255, 0.15);
    display: inline-block;
    /* padding-left: 10px; */
    font-weight: 600;
  }

  .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #216ba1;
  border-radius: 2px;
  }

  .header-login-btn{
    margin-left: auto;
    margin-right: 12px;
    padding: 8px 16px;
    font-size: 0.9rem;
  }

}

/* Banner Section */
.banner-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
  z-index: 1;
}

.banner-text {
  position: relative;
  top: 0px;
  left: 44%;
  transform: translate(25%, 170px);
  text-align: Center;
  color: #262626;
  z-index: 2;
  width: auto;
    gap: 10px;
  display: flex;
  flex-direction: column;
}
.mindRx_banner {
  left: 0;
  right: 0;
  margin: 0 auto;
  top:0;
  text-align: center;
  transform: translate(0, 158px);
}
.coming-soon-effect {
  margin-top: 28px;
  display: flex;
  justify-content: left;
}

.coming-soon-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #212b62;
  letter-spacing: 0.5px;
  padding: 10px 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 20px 9px rgb(0 123 255 / 10%) !important;
  animation: pulse 1.2s infinite alternate;
}


@keyframes pulse {
  0% {
    box-shadow: 0 2px 12px rgba(255, 152, 0, 0.18);
    transform: scale(1);
  }

  100% {
    box-shadow: 0 4px 24px rgba(255, 152, 0, 0.32);
    transform: scale(1.07);
  }
}

@media (max-width: 700px) {
  .coming-soon-text {
    font-size: 1.1rem;
    padding: 8px 12px;
  }
}

.banner-cta {
  margin-top: 22px;
  padding: 12px 32px;
  font-size: 1.15rem;
  font-weight: 500;
  color: #fff;
  background: #007bff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background 0.2s, transform 0.2s;
}

.banner-cta:hover {
  background: #0056b3;
  transform: translateY(-2px) scale(1.04);
}

@media (max-width: 700px) {
  .banner-cta {
    font-size: 1rem;
    padding: 10px 20px;
    margin-top: 16px;
  }
}

.banner-heading {
  /* font-size: 2.2rem; */
  font-weight: 700;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  color: #262626;
  padding: 0px ;
}

.banner-subheading {
  /* font-size: 1.35rem; */
  font-weight: 400;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
  color: #262626;
}

@media (max-width: 700px) {
  /* .banner-text {
    left: 38% !important;
  } */

  .banner-overlay {
    flex-direction: column;
    align-items: center;
    padding: 16px;
  }

  .banner-heading {
    /* font-size: 2rem; */
    margin-bottom: 10px;
  }

  .banner-subheading {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .footer-extra-centered {
    width: 90%;
    padding: 10px 20px;
    font-size: 0.98rem;
  }

  .footer-info-block {
    gap: 16px;
  }

  .footer-contact-icons p {
    font-size: 0.98rem;
    margin-bottom: 6px;
  }

  .footer-social-icons span {
    font-size: 0.98rem;
  }

  .social-icons-row {
    gap: 14px;
  }
}

.banner-flex {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: left;
}

/* Old logo-left styles removed - now using header-logo */

/* Better Adherence Section */
#adherence {
  background: #fff;
  padding: 80px 0;
  width: 100%;
}

.adherence-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.adherence-header {
  text-align: center;
  margin-bottom: 60px;
    gap: 10px;
  display: flex;
  flex-direction: column;
}

.adherence-title {
  font-weight: 700;
  color: #262626;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.adherence-subtitle {
  font-weight: 400;
  color: #666;
  line-height: 1.6;
}

.adherence-content {
  display: flex;
  align-items: stretch;
  gap: 40px;
}

.adherence-image {
  flex: none;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background-color: #eef7fc;
  border-radius: 20px;
}

.pill-bottle-placeholder {
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  min-height: 100%;
}

@media (max-width:1024px) {
  .pill-bottle-placeholder {
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  min-height: 100%;
  position: absolute;
}
}

.pill-bottle-img {
  width: 40%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.adherence-cards {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-content: stretch;
}

.adherence-card {
  background: #eef7fc;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
  width: 64px;
  height: 64px;
  background: #216ba1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.card-icon i {
  font-size: 32px;
  color: #fff;
}

.card-title {
  font-weight: 700;
  color: #262626;
  line-height: 1.4;
}

.card-description {
  font-weight: 400;
  color: #666;
  line-height: 1.6;
}

/* Responsive Design for Adherence Section */
@media (max-width: 1024px) {
  .adherence-content {
    flex-direction: column;
    gap: 40px;
  }

  .adherence-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .adherence-cards {
    width: 100%;
  }

  .one_app-left {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  background: #ffffff;
  border-radius: 26px;
  padding: 50px 40px 0;
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.image-card {
  width: 260px;
  height: auto;
  border-radius: 20px;
  /* overflow: hidden; */
   align-items: center;
  position: relative;
  left: 95px;
  top: 13px;
  width: 260px;
  z-index: 3;
}

.image-card img {
  width: 100%;
  display: block;
}

.front {
  position: absolute;
  left: 150px;
  top: 120px;
  width: 260px;
  z-index: 1;
  right: 0;
  margin: 0 auto;
}

}

@media (max-width: 768px) {
  #adherence {
    padding: 60px 0;
  }

  .adherence-container {
    padding: 0 20px;
  }

  .adherence-title {
    font-size: 2.2rem;
  }

  .adherence-subtitle {
    font-size: 1.1rem;
  }

  .adherence-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .adherence-card {
    padding: 24px;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-description {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  #adherence {
    padding: 40px 0;
  }

  .adherence-header {
    margin-bottom: 40px;
  }

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

  .adherence-subtitle {
    font-size: 1rem;
  }

  .adherence-card {
    padding: 20px;
  }

  .card-icon {
    width: 56px;
    height: 56px;
  }

  .card-icon i {
    font-size: 28px;
  }
}

/* Medication Section */
#medication {
  background: #fff;
  padding: 80px 0;
  width: 100%;
}

.medication-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.medication-block {
  margin-bottom: 80px;
}

.medication-block:last-child {
  margin-bottom: 0;
}

/* 2:1 Grid Layout */
.medication-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.medication-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
    gap: 10px;
  display: flex;
  flex-direction: column;
}

.medication-title {
  font-weight: 700;
  color: #262626;

  letter-spacing: -0.5px;
  line-height: 1.2;
}

.medication-description {
  font-weight: 400;
  color: #666;
  line-height: 1.6;
}

.medication-detail-text {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
  margin: 16px 0 0 0;
  line-height: 1.8;
}

.medication-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Block 1: Medication on Time */
.bottle-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.medication-bottle {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
}

.notification-bubble {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  z-index: 10;
}

.notification-bubble i {
  color: #216ba1;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.notification-bubble p {
  margin: 0;
  font-size: 0.9rem;
  color: #262626;
  font-weight: 500;
  line-height: 1.4;
}

.bubble-1 {
  top: -20px;
  right: -40px;
}

.bubble-1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 40px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #fff;
}

/* Block 2: Multiple Caps App */
.block-2 .medication-grid {
  grid-template-columns: 3fr 4fr;
}

.phone-mockup {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  min-height: 600px;
}

.phone-header {
  background: linear-gradient(135deg, #216ba1 0%, #1a5a8a 100%);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-time {
  font-size: 0.9rem;
  font-weight: 500;
}

.phone-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-greeting {
  font-size: 0.85rem;
  font-weight: 400;
}

.phone-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.phone-status i {
  font-size: 1.2rem;
}

.app-content {
  padding: 24px;
}

.adherence-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0 30px;
}

.circle-progress {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: conic-gradient(#216ba1 0% 80%, #eef7fc 80% 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.circle-progress::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff;
}

.progress-value {
  font-size: 2rem;
  font-weight: 700;
  color: #216ba1;
  z-index: 1;
}

.progress-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #666;
  z-index: 1;
  margin-top: 4px;
}

.medication-list h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #262626;
  margin: 0 0 16px 0;
}

.med-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #f8f9fa;
  transition: background 0.2s;
  cursor: pointer;
}

.med-item:hover {
  background: #eef7fc;
}

.med-item.synced {
  background: #e8f5e9;
}

.med-item i:first-child {
  color: #216ba1;
  font-size: 1.5rem;
}

.med-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.med-name {
  font-size: 1rem;
  font-weight: 600;
  color: #262626;
}

.med-sync {
  font-size: 0.85rem;
  color: #666;
}

.med-item i:last-child {
  color: #999;
  font-size: 1.2rem;
}

/* Block 3: Medication History */
.phone-app-detail {
  min-height: 700px;
}

.app-detail-content {
  padding: 24px;
}

.med-info {
  margin-bottom: 20px;
}

.med-info-text {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.med-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
}

.stat-label {
  font-size: 0.75rem;
  color: #666;
  font-weight: 400;
}

.stat-value {
  font-size: 1.1rem;
  color: #262626;
  font-weight: 700;
}

.calendar-widget {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 16px;
}

.calendar-header h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #262626;
  margin: 0 0 16px 0;
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
}

.calendar-day.upcoming {
  background: #fff3cd;
  color: #856404;
}

.calendar-day.taken {
  background: #d4edda;
  color: #155724;
}

.calendar-day.current {
  background: #216ba1;
  color: #fff;
  font-weight: 700;
}

.calendar-day.unavailable {
  background: #f8f9fa;
  color: #999;
}

.time-slots {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.time-slot {
  padding: 10px 16px;
  background: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #262626;
  text-align: center;
}

.bubble-2 {
  top: 20px;
  right: -60px;
}

.bubble-2::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 40px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
}

/* Responsive Design for Medication Section */
@media (max-width: 1024px) {
  .medication-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .block-2 .medication-grid {
    grid-template-columns: 1fr;
  }

  .medication-visual {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .bubble-1 {
    top: -60px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .bubble-2 {
    top: -60px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  #medication {
    padding: 60px 0;
  }

  .medication-container {
    padding: 0 20px;
  }

  .medication-block {
    margin-bottom: 60px;
  }

  .medication-title {
    font-size: 2rem;
  }

  .medication-description {
    font-size: 1.1rem;
  }

  .medication-bottle {
    max-width: 250px;
  }

  .phone-mockup {
    max-width: 100%;
  }

  .med-stats {
    grid-template-columns: 1fr;
  }

  .calendar-grid {
    gap: 6px;
  }

  .calendar-day {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  #medication {
    padding: 40px 0;
  }

  .medication-title {
    font-size: 1.6rem;
  }

  .medication-description {
    font-size: 1rem;
  }

  .medication-bottle {
    max-width: 200px;
  }

  .phone-mockup {
    min-height: 500px;
  }

  .notification-bubble {
    max-width: 240px;
    padding: 12px 16px;
  }

  .notification-bubble p {
    font-size: 0.8rem;
  }
}

/* Medication Info Section */
#medication_info {
  background: #eef7fc;
  padding: 80px 0;
  width: 100%;
  display: grid;
  gap: 20px;
}

.medication-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.medication-info-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 0 0 0;
  display: grid;
  flex-direction: column;
  grid-template-columns: 3fr 4fr;
  gap: 40px;
}

.medication-info-container2 {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 0 0 0;
  display: grid;
  flex-direction: column;
  grid-template-columns: 4fr 3fr;
  gap: 40px;
}

.info-card_bottle {
  background: #fff;
  border-radius: 24px;
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.frac_2 {
  grid-template-columns: 1fr 1fr;
}

.info-card_bottle:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.info-card_bottle-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card_bottle-title {
  font-weight: 700;
  color: #262626;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.info-card_bottle-description {
  font-weight: 500;
  color: #216ba1;
  line-height: 1.6;
}

.info-card_bottle-detail-text {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
  margin: 16px 0 0 0;
  line-height: 1.8;
}

.info-card_bottle-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Card 1: Bottle with Notification */
.info-bottle-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.bottle_card {
  padding: 0;
}

.mockup_3 {
  max-width: 350px !important;
  transform: translate(0, 47px);
}

.bottle_cap2 {
  transform: translate(0, 40px);
}

.info-bottle-img {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
}

.info-notification-bubble {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  z-index: 10;
  top: -30px;
  right: 0;
  left: 0;
  margin: 0 auto;
}

.info-notification-bubble i {
  color: #216ba1;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-notification-bubble p {
  margin: 0;
  font-size: 0.9rem;
  color: #262626;
  font-weight: 500;
  line-height: 1.4;
}

.info-notification-bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #fff;
}

.info-bubble-2 {
  top: 20px;
  right: -40px;
}

.info-bubble-2::after {
  top: -10px;
  bottom: auto;
  border-top: none;
  border-bottom: 10px solid #fff;
}

/* Card 2 & 3: Phone Mockups */
.info-phone-mockup {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  width: 100%;
  max-width: 350px;
  min-height: 580px;
}

.mockup_2 {
  padding: 50px 50px 0px 50px;
}

.info-phone-header {
  background: linear-gradient(135deg, #216ba1 0%, #1a5a8a 100%);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-phone-time {
  font-size: 0.85rem;
  font-weight: 500;
}

.info-phone-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}

.info-phone-greeting {
  font-weight: 600;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.info-phone-text {
  font-weight: 400;
}

.info-phone-status i {
  font-size: 1.1rem;
}

.info-phone-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.info-app-content {
  padding: 20px;
}

.info-adherence-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0 24px;
}

.info-circle-progress {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(#216ba1 0% 80%, #eef7fc 80% 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.info-circle-progress::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #fff;
}

.info-progress-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #216ba1;
  z-index: 1;
}

.info-progress-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #666;
  z-index: 1;
  margin-top: 4px;
}

.info-medication-list h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #262626;
  margin: 0 0 14px 0;
}

.info-med-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  background: #f8f9fa;
  transition: background 0.2s;
}

.info-med-item:hover {
  background: #eef7fc;
}

.info-med-item.synced {
  background: #e8f5e9;
}

.info-med-item i:first-child {
  color: #216ba1;
  font-size: 1.3rem;
}

.info-med-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.info-med-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #262626;
}

.info-med-sync {
  font-size: 0.75rem;
  color: #666;
}

.info-med-item i:last-child {
  color: #999;
  font-size: 1rem;
}

/* Card 3: Detail View */
.info-phone-detail {
  min-height: 680px;
}

.info-app-detail-content {
  padding: 20px;
}

.info-med-info {
  margin-bottom: 18px;
}

.info-med-info p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.info-med-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.info-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
}

.info-stat-label {
  font-size: 0.7rem;
  color: #666;
  font-weight: 400;
}

.info-stat-value {
  font-size: 1rem;
  color: #262626;
  font-weight: 700;
}

.info-calendar-widget {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 14px;
}

.info-calendar-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #262626;
  margin: 0 0 14px 0;
  text-align: center;
}

.info-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.info-calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}

.info-calendar-day.upcoming {
  background: #fff3cd;
  color: #856404;
}

.info-calendar-day.taken {
  background: #d4edda;
  color: #155724;
}

.info-calendar-day.current {
  background: #216ba1;
  color: #fff;
  font-weight: 700;
}

.info-calendar-day.unavailable {
  background: #f8f9fa;
  color: #999;
}

.info-time-slots {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-time-slot {
  padding: 8px 14px;
  background: #fff;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #262626;
  text-align: center;
}

/* Responsive Design for Medication Info Section */
@media (max-width: 1024px) {
  .info-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }

  .info-card-visual {
    order: -1;
  }

  .info-bubble-2 {
    top: -60px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .info-notification-bubble {
    top: -60px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  .everyday-content img {
    width: 85%;
  }
}

@media (max-width: 768px) {
  #medication_info {
    padding: 60px 0;
  }

  .medication-info-container {
    padding: 0 20px;
    gap: 30px;
  }

  .info-card {
    padding: 30px 24px;
    gap: 30px;
  }

  .info-card-title {
    font-size: 2rem;
  }

  .info-card-description {
    font-size: 1.1rem;
  }

  .info-bottle-img {
    max-width: 220px;
  }

  .info-phone-mockup {
    max-width: 100%;
  }

  .info-med-stats {
    grid-template-columns: 1fr;
  }

  .info-calendar-grid {
    gap: 4px;
  }

  .info-calendar-day {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  #medication_info {
    padding: 40px 0;
  }

  .medication-info-container {
    gap: 24px;
  }

  .info-card {
    padding: 24px 20px;
  }

  .info-card-title {
    font-size: 1.6rem;
  }

  .info-card-description {
    font-size: 1rem;
  }

  .info-bottle-img {
    max-width: 180px;
  }

  .info-phone-mockup {
    min-height: 500px;
  }

  .info-notification-bubble {
    max-width: 240px;
    padding: 12px 16px;
  }

  .info-notification-bubble p {
    font-size: 0.8rem;
  }
}

/* Everyday Management Section */
#everyday_management {
  background: #fff;
  padding: 80px 0;
  width: 100%;
}

.everyday-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.everyday-header {
  text-align: left;
  margin-bottom: 60px;
  gap: 10px;
  display: flex;
  flex-direction: column;
}

.everyday-title {
  font-weight: 700;
  color: #262626;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.everyday-subtitle {
  font-weight: 400;
  color: #666;
  line-height: 1.6;
}

.everyday-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  padding: 40px 0;
}
.grid_1 {
  grid-template-columns:3fr 2fr;
}
.grid-2 {
  grid-template-columns: 2fr 3fr;
}

.everyday-content img {
  width: 75%;
}

.everyday-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-block {
  background: #eef7fc;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-feature {
  padding: 10px 24px;
  background: #216ba1;
  color: #ffffff !important;
  transition: background 0.3s ease, transform 0.2s ease;
  width: fit-content;
  border-radius: 20px;
  cursor: pointer;       /* important for button feeling */
  border: none;          /* cleaner look */
  font-size: 16px;
  font-family: inherit;
}

.feature-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.8rem;
}

.feature-icon-red {
  background: #fee;
  color: #dc3545;
}

.feature-icon-blue {
  background: #ddf3ff;
  color: #216ba1;
}

.feature-icon-yellow {
  background: #fff9e6;
  color: #ffc107;
}

.feature-text {
  flex: 1;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #216ba1;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.feature-description {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* Phone Mockup */
.everyday-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.everyday-phone-mockup {
  background: #000;
  border-radius: 32px;
  width: 100%;
  max-width: 350px;
  min-height: 650px;
  padding: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.everyday-phone-header {
  background: #000;
  color: #fff;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 20px 20px 0 0;
}

.everyday-phone-time {
  font-size: 0.9rem;
  font-weight: 600;
}

.everyday-phone-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #fff;
}

.everyday-phone-content {
  background: #fff;
  border-radius: 0 0 20px 20px;
  min-height: 600px;
  padding: 20px;
}

.everyday-notification-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #262626;
  margin: 0 0 20px 0;
}

.everyday-notification-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.everyday-notification-item {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: background 0.2s;
}

.everyday-notification-item.highlighted {
  background: #fff9e6;
  border: 2px solid #ffc107;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.everyday-notification-item.blurred {
  opacity: 0.5;
  filter: blur(1px);
}

.everyday-notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  background: #eef7fc;
  color: #216ba1;
}

.everyday-notification-icon.yellow-battery {
  background: #fff9e6;
  color: #ffc107;
}

.everyday-notification-text {
  flex: 1;
}

.everyday-notification-title-text {
  font-size: 1rem;
  font-weight: 600;
  color: #262626;
  margin: 0 0 4px 0;
}

.everyday-notification-message {
  font-size: 0.9rem;
  font-weight: 400;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

/* Responsive Design for Everyday Management Section */
@media (max-width: 1024px) {
  .everyday-content {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }

  .everyday-visual {
    order: 0;
  }
}

@media (max-width: 768px) {
  #everyday_management {
    padding: 60px 0;
  }

  .everyday-container {
    padding: 0 20px;
  }

  .everyday-header {
    margin-bottom: 40px;
  }

  .everyday-title {
    font-size: 2.2rem;
    text-align: center;
  }

  .everyday-subtitle {
    font-size: 1.1rem;
    text-align: center;
  }

  .feature-block {
    padding: 20px;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }

  .feature-title {
    font-size: 1.1rem;
  }

  .feature-description {
    font-size: 0.95rem;
  }

  .everyday-phone-mockup {
    max-width: 100%;
    min-height: 550px;
  }
}

@media (max-width: 480px) {
  #everyday_management {
    padding: 40px 0;
  }

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

  .everyday-subtitle {
    font-size: 1rem;
  }

  .everyday-features {
    gap: 20px;
  }

  .feature-block {
    padding: 16px;
    gap: 16px;
  }

  .feature-icon {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }

  .feature-title {
    font-size: 1rem;
  }

  .feature-description {
    font-size: 0.9rem;
  }

  .everyday-phone-mockup {
    min-height: 500px;
    padding: 8px;
  }

  .everyday-phone-content {
    padding: 16px;
    min-height: 450px;
  }

  .everyday-notification-item {
    padding: 12px;
  }

  .everyday-notification-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
}

/* Medication Reminder Section */
#medication_rmd {
  background: #fff;
  padding: 80px 0;
  width: 100%;
}

.medication-rmd-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

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

.medication-rmd-title {
  font-weight: 700;
  color: #262626;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.medication-rmd-subtitle {
  font-weight: 400;
  color: #666;
  line-height: 1.6;
  text-align: center;
}

.medication-rmd-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.medication-rmd-panel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.medication-rmd-panel:hover {
  transform: translateY(-8px);
}

.panel-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.panel-placeholder {
  width: 100%;
  height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.panel-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Left Panel: Smart Cap */
.bottle-showcase {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.showcase-bottle {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

/* Middle Panel: Family */
.family-showcase {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.family-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 200px;
}

.person-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #216ba1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.person-icon.adult-1,
.person-icon.adult-2 {
  background: #eef7fc;
}

.person-icon.child-1,
.person-icon.child-2 {
  background: #fff9e6;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
}

.phone-icon {
  width: 80px;
  height: 80px;
  background: #216ba1;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  box-shadow: 0 4px 16px rgba(33, 107, 161, 0.3);
}

.bottle-icon-small {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #216ba1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Right Panel: Elderly */
.elderly-showcase {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.elderly-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: #216ba1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.bottle-icon-large {
  width: 80px;
  height: 80px;
  background: #eef7fc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #216ba1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Overlay Text */
.panel-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgb(239 247 252), transparent);
  padding: 24px;
  text-align: left;
  transition: all 0.5s ease-in-out;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.box {
  position: absolute;
  bottom: 0;
  display: block;
}

.panel-content:hover>.panel-overlay-text {
  background: linear-gradient(to top, rgb(187 217 235 / 83%), #ffffff00);
  transition: all 0.5s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.panel-content:hover>.panel-overlay-text .content {
  opacity: 1;
  transition: all 0.5s ease-in-out;
}

.panel-content:hover>.panel-overlay-text .box {
  transform: translateY(-50%);
  transition: all 0.5s ease-in-out;
}

.overlay-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: #262626;
  left: 20px;
  bottom: 20px;
}

.panel-overlay-text .content {
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

/* Responsive Design for Medication RMD Section */
@media (max-width: 1024px) {
  .medication-rmd-panels {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .panel-right {
    grid-column: 1 / -1;
  }

  .panel-placeholder {
    height: 450px;
  }
}

@media (max-width: 768px) {
  #medication_rmd {
    padding: 60px 0;
  }

  .medication-rmd-container {
    padding: 0 20px;
  }

  .medication-rmd-header {
    margin-bottom: 40px;
  }

  .medication-rmd-title {
    font-size: 2.2rem;
  }

  .medication-rmd-subtitle {
    font-size: 1.1rem;
  }

  .medication-rmd-panels {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .panel-right {
    grid-column: 1;
  }

  .panel-placeholder {
    height: 400px;
  }

  .showcase-bottle {
    max-width: 250px;
  }

  .family-icons {
    max-width: 160px;
    gap: 16px;
  }

  .person-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .person-icon.child-1,
  .person-icon.child-2 {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .phone-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .elderly-icon {
    width: 80px;
    height: 80px;
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  #medication_rmd {
    padding: 40px 0;
  }

  .medication-rmd-title {
    font-size: 1.8rem;
  }

  .medication-rmd-subtitle {
    font-size: 1rem;
  }

  .panel-placeholder {
    height: 350px;
  }

  .panel-content {
    padding: 30px 20px;
  }

  .showcase-bottle {
    max-width: 200px;
  }

  .overlay-label {
    font-size: 1rem;
  }

  .panel-overlay-text {
    padding: 20px;
  }
}

/* Medication Management Simplified Section */
#simplified {
  padding: 80px 0;
  width: 100%;
  background: #eef7fc;
}

.simplified-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  gap: 20px;
}

.simplified-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 20px;
  gap: 10px;
  display: flex;
  flex-direction: column;
}

.simplified-title {
  font-weight: 700;
  color: #262626;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.simplified-subtitle {
  font-weight: 400;
  color: #666;
  line-height: 1.6;
  text-align: center;
}

.simplified-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 30px;
}

.grid-reverse {
  display: grid;
  grid-template-columns: 3fr ;
  gap: 30px;
}

.simplified-block {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.simplified-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.grid-image {
  width: 100%;
  height: 100%;
}

/* Feature Blocks */

.feature-header {
  display: flex;
  align-items: center;
  gap: 20px;
}
.feature-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: end;
}

.simplified-icon {
  width: 64px;
  height: 64px;
  background: #eef7fc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #216ba1;
}

.simplified-block-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #262626;
  margin: 0;
  line-height: 1.3;
}

.simplified-block-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: #666;
  margin: 0;
}

.simplified-block-description {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
  margin: 0;
  line-height: 1.7;
}

/* Tablet Mockups */
.visual-block {
  padding: 20px;
  background: #ffffff;
  overflow: visible;
}

.tablet-mockup {
  position: relative;
  width: 100%;
  display: grid;
  width: 100%;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}

.tablet-screen {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  width: 100%;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.tablet-background {
  position: absolute;
  width: 95%;
  height: 95%;
  background: #f0f0f0;
  border-radius: 16px;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Dashboard Screen */
.dashboard-screen {
  min-height: 500px;
  padding: 24px;
}

.screen-header {
  margin-bottom: 24px;
}

.screen-header h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #262626;
  margin: 0;
}

.dashboard-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.dashboard-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dashboard-section h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #262626;
  margin: 0;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
}

.bar {
  flex: 1;
  min-height: 20px;
  border-radius: 4px 4px 0 0;
  transition: transform 0.2s;
}

.bar:hover {
  transform: scaleY(1.1);
}

.bar-taken {
  background: #28a745;
}

.bar-missed {
  background: #dc3545;
}

.pie-chart {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(#28a745 0% 55%, #dc3545 55% 100%);
  position: relative;
  margin: 0 auto;
}

.pie-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #262626;
}

.alerts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.alert-item {
  padding: 10px 12px;
  background: #fff3cd;
  border-left: 3px solid #ffc107;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #856404;
}

/* Patient Management Screen */
.patient-screen {
  min-height: 550px;
}

.patient-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  height: 100%;
}

.patient-sidebar {
  background: #f8f9fa;
  border-right: 1px solid #e0e0e0;
  padding: 20px;
  overflow-y: auto;
}

.sidebar-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #262626;
  margin: 0 0 16px 0;
}

.sidebar-controls {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.filter-btn,
.search-btn {
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #666;
  font-size: 0.9rem;
}

.add-btn {
  flex: 1;
  padding: 8px 12px;
  background: #216ba1;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}

.patient-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.patient-item {
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  transition: all 0.2s;
}

.patient-item:hover {
  border-color: #216ba1;
  box-shadow: 0 2px 8px rgba(33, 107, 161, 0.1);
}

.patient-item.active {
  background: #eef7fc;
  border-color: #216ba1;
}

.patient-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #262626;
  margin-bottom: 4px;
}

.patient-stats {
  font-size: 0.85rem;
  color: #666;
}

.patient-details {
  padding: 20px;
  background: #fff;
  overflow-y: auto;
}

.details-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #262626;
  margin: 0 0 20px 0;
}

.details-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-section h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #262626;
  margin: 0 0 8px 0;
}

.condition-text {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.med-detail-item {
  padding: 10px 12px;
  background: #f8f9fa;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #262626;
}

.calendar-view {
  display: flex;
  gap: 6px;
}

.calendar-view .calendar-day {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-view .calendar-day.taken {
  background: #d4edda;
}

.calendar-view .calendar-day.current {
  background: #216ba1;
}

.calendar-view .calendar-day.upcoming {
  background: #fff3cd;
}

/* Responsive Design for Simplified Section */
@media (max-width: 1024px) {
  .simplified-grid {
    gap: 24px;
  }

  .simplified-block {
    padding: 30px;
  }

  .dashboard-content {
    grid-template-columns: 1fr;
  }

  .patient-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #simplified {
    padding: 60px 0;
    background:#eef7fc;
  }

  .simplified-container {
    padding: 0 20px;
  }
.simplified-grid {
  grid-template-columns: 1fr;
}
  .simplified-header {
    margin-bottom: 40px;
  }

  .simplified-title {
    font-size: 2.2rem;
  }

  .simplified-subtitle {
    font-size: 1.1rem;
  }

  .simplified-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .simplified-block {
    padding: 30px 24px;
  }

  .tablet-screen {
    min-height: 400px;
  }

  .dashboard-screen {
    min-height: 400px;
    padding: 20px;
  }

  .patient-screen {
    min-height: 450px;
  }
}

@media (max-width: 480px) {
  #simplified {
    padding: 40px 0;
    background: #eef7fc;
  }

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

  .simplified-subtitle {
    font-size: 1rem;
  }

  .simplified-block {
    padding: 24px 20px;
  }

  .simplified-icon {
    width: 56px;
    height: 56px;
    font-size: 1.8rem;
  }

  .simplified-block-title {
    font-size: 1.3rem;
  }

  .simplified-block-subtitle {
    font-size: 1rem;
  }

  .simplified-block-description {
    font-size: 0.95rem;
  }

  .dashboard-screen {
    padding: 16px;
  }

  .screen-header h4 {
    font-size: 1.1rem;
  }

  .patient-sidebar,
  .patient-details {
    padding: 16px;
  }
}

/* Footer Section */
#footer {
  background: #fff;
  padding: 80px 0 30px;
  width: 100%;
  border-top: 1px solid #eee;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-main {
  display: grid;   
  grid-template-columns: 1.2fr 1.8fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
  align-items: start;
}

/* Left Column: Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  /* background: #eef7fc; */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #216ba1;
  font-size: 1.5rem;
}

.footer-logo-icon img {
  margin-left: 46px;
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.footer-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #262626;
}

.footer-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
  max-width: 400px;
  margin-bottom: 8px;
}

.footer-app-downloads {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.app-store-btn,
.google-play-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
  line-height: 1.3;
}

.app-store-btn:hover,
.google-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.app-store-btn i,
.google-play-btn i {
  font-size: 1.2rem;
}

/* Middle Columns: Navigation */
.footer-nav-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.footer-nav-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-nav-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #262626;
  margin: 0;
  margin-bottom: 4px;
}

.footer-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav-links li {
  margin: 0;
}

.footer-nav-links a {
  color: #666;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-nav-links a:hover {
  color: #216ba1;
}

/* Right Column: Subscribe */
.footer-subscribe {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-subscribe-text {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.footer-subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-email-input-wrapper {
  display: flex;
 position: relative;
  align-items: stretch;
}

.footer-email-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 0.95rem;
  color: #262626;
  outline: none;
  transition: border-color 0.2s;
}

.footer-email-input:focus {
  border-color: #216ba1;
}

.footer-submit-btn {
  width: 70px;
  height: -webkit-fill-available;
  background: #e7eff5;
  color: #2d73a6;
  border: 2px solid #e7eff5;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-size: 1.2rem;
  position: absolute;
  right: 0;
}
.footer-submit-btn:hover{
  background: #1a5a8a;
  transform: scale(1.05);
  border: 2px solid #1a5a8a;
}
.footer-submit-btn:hover .bi-envelope {
  color: #fff;
  transform: scale(1.05);
}

.footer-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-checkbox {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.footer-checkbox-label {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  cursor: pointer;
}

.footer-checkbox-label a {
  color: #216ba1;
  text-decoration: none;
}

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

/* Social Media Icons */
.footer-social {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 0;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-social-link:hover {
  background: #216ba1;
  color: #fff;
  transform: translateY(-2px);
}

/* Bottom Section */
.footer-bottom {
  margin-top: 0;
}

.footer-divider {
  height: 1px;
  background: #eee;
  margin-bottom: 32px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-copyright {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.footer-region {
  font-size: 0.9rem;
  color: #666;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-region:hover {
  color: #216ba1;
}

/* Responsive Design for Footer */
@media (max-width: 1024px) {
  #footer {
    padding: 60px 0 30px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }

  .footer-subscribe {
    grid-column: 1 / -1;
  }

  .footer-nav-columns {
    gap: 35px;
  }

  .certified {
    gap: 20px;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  #footer {
    padding: 50px 0 24px;
  }

  .footer-container {
    padding: 0 24px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .footer-subscribe {
    grid-column: 1;
  }

  .footer-nav-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }

  .footer-app-downloads {
    gap: 12px;
  }

  .app-store-btn,
  .google-play-btn {
    width: auto;
    justify-content: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-social {
    justify-content: flex-start;
    width: 100%;
  }

  .certified {
    gap: 16px;
    margin-bottom: 35px;
  }
}

@media (max-width: 480px) {
  #footer {
    padding: 40px 0 20px;
  }

  .footer-container {
    padding: 0 20px;
  }

  .footer-main {
    gap: 35px;
    margin-bottom: 40px;
  }

  .footer-nav-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    gap: 20px;
  }

  .footer-logo-text {
    font-size: 1.5rem;
  }

  .footer-description {
    font-size: 0.95rem;
  }

  .footer-email-input-wrapper {
    flex-direction: column;
  }

  .footer-submit-btn {
    width: 100%;
    height: 44px;
    position: relative;
    margin-top: 8px;
  }

  .certified {
    gap: 12px;
    margin-bottom: 30px;
  }

  .footer-divider {
    margin-bottom: 24px;
  }
}

.logo img {
  width: auto;
  height: 70px;
  /* border-radius: 10px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
}

.banner-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-field {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

.login-btn {
  padding: 8px 20px;
  background: #216ba1;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.login-btn:hover {
  background: #0056b3;
}

@media (max-width: 700px) {
  .banner-overlay {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .banner-right {
    margin-top: 20px;
    width: 100%;
    justify-content: flex-end;
  }
}

/* Portfolio Section */
#portfolio-wrapper {
  padding: 80px 0;
  width: 100%;
  background: #ffffff;
}

.portfolio-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.portfolio-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portfolio-title {
  font-weight: 700;
  color: #262626;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.portfolio-description {
  font-weight: 400;
  color: #666;
  line-height: 1.6;
}

.portfolio-wrapper {
  display: flex;
  width: 100%;
  height: 50vh;
  overflow: hidden;
  margin: 80px 0px 0 0;
  border-radius: 10px;
}

.item {
  flex: 4;
  position: relative;
  transition: all 0.5s ease;
  cursor: pointer;
  overflow: hidden;
  margin: 0 10px;
  border-radius: 20px;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

.item:hover img {
  transform: scale(1.1);
}

.item:hover {
  flex: 4;
}

.item::after {
  content: " + ";
  position: absolute;
  font-size: 1.2rem;
  color: #2d73a6;
  bottom: 20px;
  left: 45px;
  transform: translateX(-50%);
  opacity: 0.7;
  transition: 0.3s all ease-in-out;
  z-index: 9;
  background: #ffffff;
  width: 40px;
  height: 40px;
  text-align: center;
  border-radius: 40px;
  align-items: center;
  justify-content: center;
  display: flex;
}

.item:hover::after {
  font-size: 1.5rem;
  bottom: 30px;
  background: #2d73a6;
  color: #ffffff;
}

.item .content {
  position: absolute;
  color: #262626;
  bottom: 0;
  transform: translateY(0px);
  transition: 0.3s all ease-in-out;
  z-index: 1;
}

.item:hover .content {
  transform: translateY(-100px);
  transition: 0.3s all ease-in-out;
  width: 90%;
}

.item .title {
  position: relative;
  left: 0px;
  z-index: 2;
  color: #262626;
  /* font-size: 1.35rem; */
  font-weight: 600;
  transition: 0.3s all ease-in-out;
  padding: 20px;
}

.item:hover .title {
  /* font-size: 1.4rem; */
  color: #262626;
}

.item p {
  opacity: 0;
  transition: all 0.3s ease-in-out;
  padding: 0 20px;
}

.item:hover p {
  opacity: 1;
  transition: all 0.3s ease-in-out;
  left: 0;
  z-index: 1;
  position: relative;
  color: #666;
}

.item:hover .overlay {
  background: linear-gradient(to bottom, rgb(255 255 255 / 76%), #eef7fc);
  transition: all 0.5s ease;
}

.item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0%), #eef7fc);
  z-index: 1;
  pointer-events: none;
}

.portfolio-wrapper2 {
  display: flex;
  width: 100%;
  height: 50vh;
  overflow: hidden;
  margin: 20px 0px 80px 0;
  border-radius: 10px;
}

#one_app {
  background: #e7eff5;
  padding: 80px 0;
  width: 100%;
}

.one_app-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

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

.one_app-title {
  font-weight: 700;
  color: #262626;
  letter-spacing: -0.5px;
  line-height: 1.2;
  text-align: center;
}
.one_app-subtext {
  font-weight: 400;
  color: #666;
  line-height: 1.6;
}

.one_app-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  background: #e7eff5;
  display: flex;
  justify-content: center;
  font-family: "Inter", sans-serif;
}

.one_app-wrapper {
  width: 90%;
  max-width: 1300px;
}

.one_app-content h2 {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  color: #1c2b39;
  margin-bottom: 5px;
}

.one_app-content .one_app-subtext {
  text-align: center;
  color: #616e7d;
  margin-bottom: 50px;
  font-size: 16px;
}

.one_app-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 3fr 2fr;
}

/* LEFT (Phones) */
.one_app-left {
  position: relative;
  flex: 1;
  justify-content: center;
  background: #ffffff;
  border-radius: 26px;
  padding: 50px 40px 0;
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.06);
  /* overflow: hidden; */
}

.image-card {
  width: auto;
  height: auto;
  border-radius: 20px;
  /* overflow: hidden; */
  position: relative;
  z-index: 3;
}

.image-card img {
    width: 70%;
    display: block;
    top: 0;
    position: relative;
    left: 0;
    bottom: 0;
    transform: translate(0, 46px);
    right: 0;
    margin: 0 auto;
}

@media (max-width: 1024px) {
  .image-card img {
   width: 100%;
    display: block;
    top: 51px;
    position: relative;
    left: 0;
    bottom: 0;
    transform: translate(-94px, 0);
    right: 0;
    margin: 0;
}
}

/* .front {
  position: absolute;
  left: 150px;
  top: 120px;
  width: 260px;
  z-index: 1;
  right: 0;
  margin: 0 auto;
} */

/* RIGHT (Text Section) */
.one_app-right {
  background: #ffffff;
  border-radius: 26px;
  padding: 50px 40px;
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.06);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

}
.one_app-right-content{
      text-align: left;
}
.icon-box {
  width: 56px;
  height: 56px;
  background: #0c3c60;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  margin-bottom: 20px;
}

.icon-box img {
  width: auto;
  height: 30px;
}

.one_app-right h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1c2b39;
}

.one_app-right p {
  color: #6c7a87;
  font-size: 16px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 960px) {
  .one_app-grid {
    flex-direction: column;
    text-align: center;
    grid-template-columns: 1fr;
  }

  .front {
    left: auto;
    right: 158px;
    top: 120px;
  }
}


/* Main Wrapper */
#contact-details {
  background: #e9f0f5;
  padding: 60px 0;
  display: flex;
  justify-content: center;
  font-family: "Inter", sans-serif;
}

/* Main Grid */
.contact-container {
  width: 90%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

/* Form Section */
.contact {
  background: #fff;
  padding: 40px;
  border-radius: 25px;
}

.contact input,
.contact textarea {
  width: -webkit-fill-available;
  padding: 18px;
  border-radius: 20px;
  border: none;
  background: #e7eff5;
  font-size: 16px;
  margin-bottom: 20px;
  outline: none;
}

.grid-2 {
  display: flex;
  gap: 20px;
}

textarea {
  height: 50px;
  resize: none;
}

.send-btn {
  padding: 14px 32px;
  border-radius: 40px;
  border: 2px solid #0a5a8c;
  background: transparent;
  color: #0a5a8c;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.send-btn:hover {
  background: #0a5a8c;
  color: #fff;
}

/* Contact Info Section */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-card {
  background: #fff;
  padding: 35px 40px;
  border-radius: 25px;
  display: flex;
  align-items: start;
  gap: 25px;
  flex-direction: column;
}

.icon-box {
  width: 55px;
  height: 55px;
  background: #064a77;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
}

.info-text {
  font-size: 19px;
  color: #333;
}

.certified {
  display: flex;
  gap: 58px;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.certified a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, opacity 0.2s;
}

.certified a:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

.certified img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =============================
   RESPONSIVE DESIGN
   ============================= */

/* Tablet */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .info-card {
    padding: 28px 30px;
  }
}

/* Mobile Large */
@media (max-width: 600px) {
  #contact-details {
    padding: 40px 0;
  }

  .contact-form {
    padding: 25px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .info-card {
    padding: 25px;
    flex-direction: row;
  }

  .info-text {
    font-size: 17px;
  }
}

/* Mobile Small */
@media (max-width: 420px) {
  .icon-box {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .send-btn {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
}


/* Calendly Card - Absolute Positioned */
.calendly-card {
  position: absolute;
  bottom: 30px;
  /* moves card slightly below banner */
  right: 10%;
  transform: translateX(-50%);
  width: 340px;
  background: #ffffff;
  padding: 32px;
  border-radius: 22px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  text-align: left;
  font-family: "Inter", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 25px;
}


/* Logo Style */
.calendly-logo {
  font-size: 20px;
  font-weight: 600;
  color: #006cff;
  margin-bottom: 15px;
}


/* Title */
.calendly-card h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1d1d1d;
}


/* Paragraph */
.calendly-card p {
  font-size: 15px;
  line-height: 1.5;
  color: #6c7581;
  margin-bottom: 30px;
}


/* Button */
.schedule-btn {
  padding: 14px 32px;
  border-radius: 40px;
  border: 2px solid #0073ff;
  background: transparent;
  color: #0073ff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.schedule-btn:hover {
  background: #0073ff;
  color: #fff;
}


/* Responsive */
@media (max-width: 600px) {
  .calendly-card {
    width: 90%;
    padding: 25px;
    bottom: -30px;
  }

  .calendly-card h2 {
    font-size: 18px;
  }
}

.pawbox_banner {
  transform: translate(0, 200px);
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
}

.pawbox_banner .banner-heading {
  letter-spacing: 0.08em;
}

.pawbox_banner .banner-subheading {
  letter-spacing: 0.99em;
}