:root {
    --primary: #263A99;
    /* Deep medical blue - trust */
    --primary-dark: #083866;
    --accent: #00A896;
    /* Healing teal */
    --accent-soft: #E6F7F5;
    --bg: #FAFBFC;
    --surface: #FFFFFF;
    --text: #0F1B2D;
    --text-soft: #5A6678;
    --border: #E5EAF0;
    --warm: #F8F5F0;
    /* Warm cream for sections */
    --shadow-sm: 0 1px 3px rgba(11, 77, 140, 0.06);
    --shadow-md: 0 8px 24px rgba(11, 77, 140, 0.08);
    --shadow-lg: 0 20px 50px rgba(11, 77, 140, 0.12);
    --display: 'Fraunces', Georgia, serif;
    --body: 'DM Sans', -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ====== HEADER ====== */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    max-width: 1240px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-size: 22px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 36px;
    height: 36px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-mark svg {
    width: 100%;
    height: 100%;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    font-size: 15px;
    font-weight: 500;
}

.nav-links a {
    color: var(--text-soft);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phone-link {
    display: none;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: var(--primary);
    color: white;
    border-radius: 999px;
    font-weight: 500;
    font-size: 14px;
    font-family: var(--body);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: white;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

/* ====== HERO ====== */
.hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(0, 168, 150, 0.08), transparent 50%),
        radial-gradient(circle at 15% 80%, rgba(11, 77, 140, 0.05), transparent 50%),
        var(--bg);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero h1 {
    font-family: var(--display);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero h1 em {
    font-style: italic;
    color: var(--primary);
    font-weight: 400;
}

.hero p {
    font-size: 18px;
    color: var(--text-soft);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    gap: 40px;
}

.trust-stat {
    display: flex;
    flex-direction: column;
}

.trust-stat strong {
    font-family: var(--display);
    font-size: 28px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.trust-stat span {
    font-size: 13px;
    color: var(--text-soft);
}

.hero-visual {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-card-1 {
    top: 10%;
    left: 0;
    animation: float 6s ease-in-out infinite;
}

.hero-card-2 {
    bottom: 15%;
    right: 5%;
    animation: float 6s ease-in-out infinite;
    animation-delay: 2s;
}

.hero-card-3 {
    top: 50%;
    right: 0;
    animation: float 6s ease-in-out infinite;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-card-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.hero-card-text strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.hero-card-text span {
    font-size: 12px;
    color: var(--text-soft);
}

.hero-circle {
    width: 75%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    opacity: 0.95;
    position: relative;
}

.hero-circle::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: white;
    display: flex;
}

.hero-circle-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-family: var(--display);
    font-size: 64px;
    color: var(--primary);
    font-weight: 600;
}

/* ====== CATEGORIES ====== */
.section {
    padding: 100px 0;
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-eyebrow {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 16px;
}

.section h2 {
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section h2 em {
    font-style: italic;
    color: var(--primary);
}

.section-head p {
    font-size: 17px;
    color: var(--text-soft);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-width: 300px;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.category-card:hover::before {
    transform: scaleX(1);
}
.category-card-detail{
    padding: 25px;
}

.category-grid a div{
    min-height: 200px;
    background-position: center;
    background-size:cover;
}

.category-grid a .oxygen{
    background-image: url(https://breathenest.in/wp-content/uploads/2025/08/Cpap-BiPap-1024x683.jpg);
}
.category-grid a .equipment{
    background-image: url(https://louderworks.imgix.net/media/solokrafts/catalog_category_image/134/category_d69ccc2d33.jpg?crop=faces&fit=crop&h=460&w=1800&lossless=1&q=65);
}
.category-grid a .chair{
    background-image: url(https://www.oldisgoldstore.com/wp-content/uploads/2021/10/20-wheelchair-with-hard-seat-cc809y.jpg.webp);
}
.category-grid a .bed{
    background-image: url(https://louderworks.imgix.net/media/solokrafts/catalog_image/621/products_dc125.jpg?crop=faces&fit=crop&lossless=1&q=65);
}

.cat-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-soft);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
}

.category-card h3 {
    font-family: var(--display);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.category-card p {
    color: var(--text-soft);
    margin-bottom: 20px;
    font-size: 15px;
}

.category-card .cat-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.category-card:hover .cat-link {
    gap: 10px;
}

/* ====== WHY US ====== */
.why {
    background: var(--warm);
    padding: 100px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.why-item {
    text-align: left;
}

.why-num {
    font-family: var(--display);
    font-size: 48px;
    font-weight: 500;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}

.why-item h4 {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.why-item p {
    color: var(--text-soft);
    font-size: 15px;
}

/* ====== CTA BANNER ====== */
.cta-banner {
    background: var(--primary);
    border-radius: 32px;
    padding: 60px;
    color: white;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
    opacity: 0.4;
}

.cta-banner-content {
    position: relative;
    z-index: 2;
}

.cta-banner h2 {
    font-family: var(--display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 14px;
}

.cta-banner p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 28px;
}

.cta-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-banner .btn {
    background: white;
    color: var(--primary);
}

.cta-banner .btn:hover {
    background: var(--accent-soft);
}

.cta-banner .btn-outline {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.cta-banner .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}
/* ====== PARTNER BRANDS ====== */
.partners {
  padding: 60px 0 70px;
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.partners-label {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-soft);
  font-weight: 600;
  margin-bottom: 40px;
}

.logo-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.logo-track {
  display: flex;
  width: max-content;
  animation: scroll-logos 35s linear infinite;
  gap: 70px;
  align-items: center;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-item {
  flex-shrink: 0;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: opacity 0.3s, filter 0.3s;
}

.logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.logo-item img {
  max-height: 100%;
  max-width: 160px;
  width: auto;
  object-fit: contain;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .partners {
    padding: 50px 0;
  }
  
  .partners-label {
    font-size: 12px;
    margin-bottom: 30px;
    padding: 0 20px;
  }
  
  .logo-track {
    gap: 50px;
    animation-duration: 25s;
  }
  
  .logo-item {
    height: 40px;
  }
  
  .logo-item img {
    max-width: 120px;
  }
}

/* ====== PALLIATIVE CARE SECTION ====== */
.palliative {
  background: var(--accent-soft);
  position: relative;
  overflow: hidden;
}

.palliative-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.palliative-content h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.palliative-content h2 em {
  font-style: italic;
  color: var(--primary);
}

.palliative-content p {
  font-size: 17px;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.palliative-list {
  list-style: none;
  margin: 28px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.palliative-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 15px;
}

.palliative-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* ====== REVIEW CAROUSEL ====== */
.palliative-visual {
  width: 100%;
}

.review-carousel {
  position: relative;
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.review-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.review-slide {
  min-width: 100%;
  padding: 40px;
  box-sizing: border-box;
}

.quote-stars {
  color: #FFB400;
  font-size: 18px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.review-slide p {
  font-family: var(--display);
  font-size: 19px;
  font-style: italic;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 24px;
  min-height: 130px;
}

.palliative-author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.palliative-author strong {
  color: var(--text);
  font-size: 15px;
}

.palliative-author span {
  color: var(--text-soft);
  font-size: 13px;
}

/* ====== CAROUSEL DOTS ====== */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0 0 24px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 4px;
}

.dot:hover:not(.active) {
  background: var(--text-soft);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .palliative-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .review-slide {
    padding: 28px;
  }
  .review-slide p {
    font-size: 16px;
    min-height: 110px;
  }
}

/* ====== FOOTER ====== */
footer {
    background: #0F1B2D;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    max-width: 320px;
    margin-bottom: 24px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--accent);
}

footer h5 {
    color: white;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    font-weight: 600;
}

footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

footer ul a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

footer ul a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ====== WHATSAPP FLOAT ====== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: transform 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@media (max-width: 1400px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}
/* ====== RESPONSIVE ====== */
@media (min-width: 768px) {
    .phone-link {
        display: flex;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        display: none;
    }

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

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

    .cta-banner {
        grid-template-columns: 1fr;
        padding: 40px 28px;
        text-align: center;
    }

    .cta-banner-actions {
        justify-content: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .section {
        padding: 70px 0;
    }

    .hero {
        padding: 50px 0 70px;
    }

    .hero-trust {
        gap: 24px;
        flex-wrap: wrap;
    }
}

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ====== ANIMATIONS ON SCROLL ====== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s, transform 0.8s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====== PALLIATIVE MOBILE FIX ====== */
@media (max-width: 900px) {
  .palliative {
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
  }
  
  .palliative .container {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
    overflow: hidden;
  }
  
  .palliative-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    width: 100%;
  }
  
  .palliative-content,
  .palliative-visual {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  
  .review-carousel {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 16px;
  }
  
  .review-track {
    width: 100%;
    max-width: 100%;
  }
  
  .review-slide {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    padding: 24px 20px;
    box-sizing: border-box;
    flex-shrink: 0;
  }
  
  .review-slide p {
    font-size: 15px;
    min-height: auto;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}