/* ==========================================================================
   MEDSUGGEST HOME PAGE DESIGN SYSTEM — EXACT LOGO THEMED REVAMP
   Colors: Deep Teal (#0a3a40 / #0e6b76), Cyan (#00b4d8 / #00b4ff), Orange (#ff7a00)
   ========================================================================== */

:root {
    --med-teal: #0e6b76;
    --med-teal-dark: #0a3a40;
    --med-cyan: #00b4d8;
    --med-cyan-light: #e0f7fa;
    --med-cyan-glow: rgba(0, 180, 216, 0.18);
    --med-orange: #0e6b76;
    --med-orange-hover: #0a4d55;
    --med-dark: #0f172a;
    --med-slate: #334155;
    --med-muted: #64748b;
    --med-border: #e2e8f0;
    --med-border-light: #f1f5f9;
    --med-card-bg: #ffffff;
    --med-bg-soft: #f8fafc;
    --med-radius: 16px;
    --med-radius-sm: 10px;
    --med-radius-lg: 24px;
    --med-shadow: 0 10px 30px -5px rgba(14, 107, 118, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
    --med-shadow-hover: 0 20px 35px -8px rgba(14, 107, 118, 0.16), 0 8px 16px rgba(0, 0, 0, 0.06);
    --med-transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   1. COMMON SECTION HEADERS & UTILITIES
   ========================================================================== */
.home-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.home-section {
    padding: 64px 0;
    position: relative;
}

.home-section.bg-soft {
    background: #f8fafc;
}

.home-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
    gap: 20px;
}

.section-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 180, 216, 0.1);
    color: var(--med-teal);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 10px;
    border: 1px solid rgba(0, 180, 216, 0.2);
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--med-dark);
    margin: 0 0 8px;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.section-title span {
    background: linear-gradient(135deg, var(--med-teal), var(--med-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 15px;
    color: var(--med-muted);
    margin: 0;
    max-width: 650px;
    line-height: 1.5;
}

/* Header Store Button */
.btn-header-store {
    background: linear-gradient(135deg, #0e6b76 0%, #00b4d8 100%);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.28);
    transition: var(--med-transition);
    white-space: nowrap;
    border: none;
}

.btn-header-store:hover {
    background: linear-gradient(135deg, #0a4d55 0%, #0099b8 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 122, 0, 0.38);
}

/* ==========================================================================
   2. HERO IMAGE SLIDER (FRAMED ASPECT RATIO)
   ========================================================================== */
.home-hero-section {
    padding: 24px 0 32px;
}

.hero-slider-frame {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: #0f2b32;
    box-shadow: 0 20px 50px -10px rgba(10, 58, 64, 0.28);
    border: 1px solid rgba(0, 180, 216, 0.25);
    min-height: 440px;
}

.hero-slides-wrapper {
    position: relative;
    width: 100%;
    min-height: 440px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
    display: flex;
    align-items: center;
    padding: 48px 60px;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slide 1 - Oncology Pharmacy */
.hero-slide.slide-1 {
    background: linear-gradient(120deg, #07262c 0%, #0e4c56 60%, #0284c7 100%);
}

/* Slide 2 - Doctor Consultations */
.hero-slide.slide-2 {
    background: linear-gradient(120deg, #092e35 0%, #155e75 60%, #0369a1 100%);
}

/* Slide 3 - Cold Chain Assurance */
.hero-slide.slide-3 {
    background: linear-gradient(120deg, #052229 0%, #0e6b76 60%, #00b4d8 100%);
}

.hero-slide-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-slide-content {
    color: #ffffff;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 auto 18px;
}

.hero-slide-badge i {
    color: var(--med-cyan);
}

.hero-slide-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin: 0 auto 16px;
    letter-spacing: -0.5px;
    text-align: center;
    max-width: 850px;
}

.hero-slide-title .highlight-cyan {
    color: #38bdf8;
}

.hero-slide-title .highlight-orange {
    color: #38bdf8;
}

.hero-slide-desc {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0 auto 28px;
    max-width: 620px;
    text-align: center;
}

.hero-slide-ctas {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #0e6b76 0%, #00b4d8 100%);
    color: #ffffff;
    padding: 13px 28px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(14, 107, 118, 0.35);
    transition: var(--med-transition);
}

.btn-hero-primary:hover {
    background: linear-gradient(135deg, #0a4d55 0%, #0099b8 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(14, 107, 118, 0.45);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    padding: 13px 26px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--med-transition);
}

.btn-hero-secondary:hover {
    background: #ffffff;
    color: var(--med-dark);
    border-color: #ffffff;
    transform: translateY(-2px);
}

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

.hero-visual-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 380px;
    width: 100%;
    color: #ffffff;
}

.hero-visual-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 12px;
    background: #ffffff;
    padding: 8px;
    margin-bottom: 16px;
}

.hero-visual-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
}

.hero-visual-card p {
    font-size: 13px;
    color: #cbd5e1;
    margin: 0 0 12px;
}

.hero-visual-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 10px;
}

/* Slider Controls */
.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    transition: var(--med-transition);
}

.hero-slider-nav:hover {
    background: rgba(14, 107, 118, 0.9);
    transform: translateY(-50%) scale(1.08);
}

.hero-slider-nav.prev {
    left: 20px;
}

.hero-slider-nav.next {
    right: 20px;
}

.hero-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: var(--med-transition);
    padding: 0;
}

.hero-slider-dot.active {
    background: var(--med-cyan);
    width: 28px;
    border-radius: 10px;
}

/* ==========================================================================
   3. TRUST RIBBON (5 CREDIBILITY BADGES)
   ========================================================================== */
.trust-ribbon-section {
    margin-top: -16px;
    position: relative;
    z-index: 5;
    margin-bottom: 24px;
}

.trust-ribbon-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--med-border);
    box-shadow: 0 10px 30px rgba(14, 107, 118, 0.08);
    padding: 18px 24px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    border-right: 1px solid var(--med-border-light);
    padding-right: 12px;
}

.trust-item:last-child {
    border-right: none;
    padding-right: 0;
}

.trust-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 180, 216, 0.1);
    color: var(--med-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.trust-info h5 {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--med-dark);
    margin: 0 0 2px;
    line-height: 1.25;
}

.trust-info p {
    font-size: 11.5px;
    color: var(--med-muted);
    margin: 0;
    line-height: 1.3;
}

/* ==========================================================================
   4. MEDICINES STORE SECTION (3x3 GRID — 9 CARDS)
   ========================================================================== */
.medicine-grid-3x3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.home-medicine-card {
    background: #ffffff;
    border: 1.5px solid var(--med-border);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--med-transition);
}

.home-medicine-card:hover {
    border-color: rgba(0, 180, 216, 0.5);
    box-shadow: var(--med-shadow-hover);
    transform: translateY(-4px);
}

.card-top-badges {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    padding-right: 42px; /* Protected space so badges never collide with top-right wishlist toggle */
    min-height: 24px;
}

.card-discount-tag {
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.card-rx-tag {
    background: #fee2e2;
    color: #dc2626;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.card-wishlist-toggle {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #ffffff;
    border: 1px solid var(--med-border);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    cursor: pointer;
    transition: var(--med-transition);
    z-index: 4;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.card-wishlist-toggle:hover,
.card-wishlist-toggle.active {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
}

.card-image-box {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px;
    overflow: hidden;
}

.card-image-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.home-medicine-card:hover .card-image-box img {
    transform: scale(1.05);
}

.card-brand-tag {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--med-teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-med-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--med-dark);
    margin: 0 0 6px;
    line-height: 1.35;
    height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-med-title a {
    color: inherit;
    text-decoration: none;
}

.card-med-title a:hover {
    color: var(--med-teal);
}

.card-med-salt {
    font-size: 12px;
    color: var(--med-muted);
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-pricing-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}

.card-curr-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--med-teal);
}

.card-mrp-price {
    font-size: 13.5px;
    color: #94a3b8;
    text-decoration: line-through;
}

.card-stock-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #10b981;
    margin-bottom: 16px;
}

.card-stock-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
}

.card-action-row {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-card-details {
    flex: 1;
    background: #f1f5f9;
    color: var(--med-dark);
    border: 1px solid var(--med-border);
    border-radius: 8px;
    padding: 9px 10px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: var(--med-transition);
}

.btn-card-details:hover {
    background: #e2e8f0;
    color: var(--med-dark);
}

.btn-card-cart {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--med-transition);
}

.btn-card-cart:hover {
    background: #16a34a;
    color: #ffffff;
    border-color: #16a34a;
}

.btn-card-buy {
    flex: 1.1;
    background: linear-gradient(135deg, #0e6b76 0%, #00b4d8 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(14, 107, 118, 0.25);
    transition: var(--med-transition);
}

.btn-card-buy:hover {
    background: linear-gradient(135deg, #0a4d55 0%, #0099b8 100%);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(14, 107, 118, 0.38);
    transform: translateY(-1px);
}

/* ==========================================================================
   5. REVIEWS SECTION (MODERN CAROUSEL)
   ========================================================================== */
.reviews-carousel-wrapper {
    position: relative;
}

.reviews-carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 4px 20px;
    scrollbar-width: none;
}

.reviews-carousel-track::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 calc(33.333% - 16px);
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid var(--med-border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--med-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--med-transition);
}

.review-card:hover {
    box-shadow: var(--med-shadow-hover);
    transform: translateY(-3px);
    border-color: rgba(0, 180, 216, 0.4);
}

.review-stars-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.review-stars {
    color: #f59e0b;
    font-size: 16px;
    letter-spacing: 2px;
}

.review-badge {
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.review-text {
    font-size: 14px;
    color: var(--med-slate);
    line-height: 1.6;
    margin: 0 0 20px;
    font-style: normal;
}

.review-user-row {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--med-border-light);
    padding-top: 16px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--med-cyan-light);
}

.review-avatar-text {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--med-teal), var(--med-cyan));
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-user-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--med-dark);
    margin: 0 0 2px;
}

.review-user-meta {
    font-size: 12px;
    color: var(--med-muted);
}

.carousel-nav-arrows {
    display: flex;
    gap: 10px;
}

.btn-carousel-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--med-border);
    background: #ffffff;
    color: var(--med-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: var(--med-transition);
}

.btn-carousel-nav:hover {
    background: var(--med-teal);
    color: #ffffff;
    border-color: var(--med-teal);
}

/* ==========================================================================
   6. QUESTIONS & ANSWERS SECTION
   ========================================================================== */
.qa-layout-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
    align-items: start;
}

.qa-card-item {
    background: #ffffff;
    border: 1px solid var(--med-border);
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 16px;
    box-shadow: var(--med-shadow);
    transition: var(--med-transition);
}

.qa-card-item:hover {
    border-color: var(--med-teal);
    box-shadow: var(--med-shadow-hover);
}

.qa-question-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--med-dark);
    margin: 0 0 12px;
    line-height: 1.4;
}

.qa-doctor-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--med-border-light);
}

.qa-doc-avatar {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.qa-doc-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--med-dark);
    margin: 0;
    line-height: 1.2;
}

.qa-doc-spec {
    font-size: 12px;
    color: var(--med-teal);
    font-weight: 600;
    margin-top: 2px;
}

.qa-answer-text {
    font-size: 13.5px;
    color: var(--med-slate);
    line-height: 1.6;
    margin: 0 0 12px;
}

.qa-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--med-muted);
    border-top: 1px dashed #f1f5f9;
    padding-top: 8px;
}

.qa-read-more {
    color: var(--med-teal);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.qa-read-more:hover {
    color: var(--med-orange);
    text-decoration: underline;
}

/* QA Corner Top Button */
.btn-qa-corner-top {
    background: #ffffff;
    border: 1.5px solid var(--med-teal);
    color: var(--med-teal);
    font-size: 13.5px;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(14, 107, 118, 0.08);
    transition: var(--med-transition);
    white-space: nowrap;
}

.btn-qa-corner-top:hover {
    background: var(--med-teal);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(14, 107, 118, 0.22);
}

.btn-qa-corner-top i.fa-arrow-right {
    transition: transform 0.2s ease;
}

.btn-qa-corner-top:hover i.fa-arrow-right {
    transform: translateX(3px);
}

/* Ask Free Question Box (Right Column) */
.qa-ask-sidebar-col {
    position: -webkit-sticky;
    position: sticky;
    top: 90px;
    align-self: start;
    height: fit-content;
}

.qa-ask-card {
    background: linear-gradient(135deg, #0e6b76, #09474e);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 28px 24px;
    color: #ffffff;
    box-shadow: 0 16px 40px rgba(14, 107, 118, 0.25);
}

.qa-ask-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px;
    color: #ffffff;
}

.qa-ask-card p {
    font-size: 13.5px;
    color: #cbd5e1;
    margin: 0 0 20px;
    line-height: 1.5;
}

.qa-ask-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 14px;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    resize: none;
    outline: none;
    margin-bottom: 14px;
    transition: var(--med-transition);
}

.qa-ask-textarea::placeholder {
    color: #94a3b8;
}

.qa-ask-textarea:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #38bdf8;
}

.qa-ask-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 12px 14px;
    color: #ffffff;
    font-family: inherit;
    font-size: 13.5px;
    outline: none;
    margin-bottom: 18px;
}

.qa-ask-select option {
    color: #0f172a;
    background: #ffffff;
}

.btn-qa-submit {
    width: 100%;
    background: linear-gradient(135deg, #0e6b76 0%, #00b4d8 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 13px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(14, 107, 118, 0.35);
    transition: var(--med-transition);
}

.btn-qa-submit:hover {
    background: linear-gradient(135deg, #0a4d55 0%, #0099b8 100%);
    transform: translateY(-2px);
}

.qa-anonymous-badge {
    text-align: center;
    font-size: 12px;
    color: #cbd5e1;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ==========================================================================
   7. BLOGS SECTION (RUNNING CONTINUOUS CAROUSEL)
   ========================================================================== */
.blogs-carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 4px 20px;
    scrollbar-width: none;
}

.blogs-carousel-track::-webkit-scrollbar {
    display: none;
}

.blog-item-card {
    flex: 0 0 calc(33.333% - 16px);
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid var(--med-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--med-shadow);
    display: flex;
    flex-direction: column;
    transition: var(--med-transition);
}

.blog-item-card:hover {
    box-shadow: var(--med-shadow-hover);
    transform: translateY(-4px);
    border-color: rgba(0, 180, 216, 0.4);
}

.blog-cover-img {
    height: 190px;
    width: 100%;
    object-fit: cover;
}

.blog-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--med-muted);
    margin-bottom: 10px;
}

.blog-cat-pill {
    background: rgba(0, 180, 216, 0.1);
    color: var(--med-teal);
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.blog-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--med-dark);
    margin: 0 0 8px;
    line-height: 1.35;
    height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-excerpt {
    font-size: 13.5px;
    color: var(--med-slate);
    line-height: 1.5;
    margin: 0 0 16px;
    height: 3em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-link {
    margin-top: auto;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--med-teal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--med-transition);
}

.blog-read-link:hover {
    color: var(--med-cyan);
    transform: translateX(3px);
}

/* ==========================================================================
   8. VIDEOS SECTION (EXACT USER CONSTRAINT: TWO LINE TITLE & BOTTOM RIGHT BUTTON)
   ========================================================================== */
.videos-carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 4px 20px;
    scrollbar-width: none;
}

.videos-carousel-track::-webkit-scrollbar {
    display: none;
}

.video-item-card {
    flex: 0 0 calc(33.333% - 16px);
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid var(--med-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--med-shadow);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--med-transition);
}

.video-item-card:hover {
    box-shadow: var(--med-shadow-hover);
    transform: translateY(-4px);
    border-color: rgba(0, 180, 216, 0.4);
}

.video-thumb-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    overflow: hidden;
}

.video-thumb-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-item-card:hover .video-thumb-frame img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: rgba(239, 68, 68, 0.95);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: var(--med-transition);
}

.video-item-card:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    background: #dc2626;
}

.video-card-body {
    padding: 18px;
    position: relative;
    padding-bottom: 54px; /* Space for bottom right button */
}

.video-doctor-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--med-teal);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* User constraint: ONLY TWO LINE TITLE */
.video-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--med-dark);
    margin: 0;
    line-height: 1.35;
    height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* User constraint: BOTTOM RIGHT CORNER WATCH BUTTON */
.btn-watch-video {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: linear-gradient(135deg, #0e6b76 0%, #00b4d8 100%);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 7px 16px;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(255, 122, 0, 0.28);
    transition: var(--med-transition);
}

.btn-watch-video:hover {
    background: linear-gradient(135deg, #0a4d55 0%, #0099b8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255, 122, 0, 0.4);
}

/* ==========================================================================
   9. CTA INQUIRY SECTION (HIGH-CONVERSION MEDICAL FORM)
   ========================================================================== */
.home-cta-section {
    padding: 60px 0;
}

.cta-banner-card {
    background: linear-gradient(135deg, #07262c 0%, #0e4c56 50%, #0284c7 100%);
    border-radius: 24px;
    padding: 48px;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(10, 58, 64, 0.25);
    position: relative;
    overflow: hidden;
}

.cta-banner-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.cta-banner-content h2 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 16px;
    color: #ffffff;
}

.cta-banner-content p {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0 0 24px;
}

.cta-features-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cta-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.cta-feature-item i {
    color: #38bdf8;
    font-size: 16px;
}

.cta-form-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    color: var(--med-dark);
}

.cta-form-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--med-dark);
    margin: 0 0 6px;
}

.cta-form-card p {
    font-size: 12.5px;
    color: var(--med-muted);
    margin: 0 0 18px;
}

.cta-form-group {
    margin-bottom: 12px;
}

.cta-input {
    width: 100%;
    border: 1.5px solid var(--med-border);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13.5px;
    font-family: inherit;
    outline: none;
    transition: var(--med-transition);
}

.cta-input:focus {
    border-color: var(--med-teal);
    box-shadow: 0 0 0 3px rgba(14, 107, 118, 0.12);
}

.btn-cta-submit {
    width: 100%;
    background: linear-gradient(135deg, #0e6b76 0%, #00b4d8 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 13px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(14, 107, 118, 0.35);
    transition: var(--med-transition);
    margin-top: 6px;
}

.btn-cta-submit:hover {
    background: linear-gradient(135deg, #0a4d55 0%, #0099b8 100%);
    transform: translateY(-2px);
}

/* ==========================================================================
   10. VIDEO LIGHTBOX MODAL & WISHLIST DRAWER
   ========================================================================== */
.video-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-lightbox-box {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.video-lightbox-box iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--med-transition);
}

.video-lightbox-close:hover {
    background: #ef4444;
}

/* Wishlist Drawer */
.wishlist-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.wishlist-drawer {
    position: fixed;
    top: 0;
    right: -460px;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 99999;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.wishlist-drawer.active {
    right: 0;
}

.nav-wishlist-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid var(--med-border);
    padding: 10px 16px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: var(--med-dark);
    cursor: pointer;
    text-decoration: none;
    transition: var(--med-transition);
}

.nav-wishlist-btn:hover {
    border-color: #ef4444;
    background: #fff1f2;
    color: #e11d48;
}

.nav-wishlist-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e11d48;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    height: 19px;
    min-width: 19px;
    padding: 0 5px;
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

/* ==========================================================================
   11. MODERN RESPONSIVE FOOTER STYLES
   ========================================================================== */
.med-modern-footer {
    background: #07262c;
    color: #cbd5e1;
    padding-top: 64px;
    border-top: 3px solid var(--med-cyan);
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-col img {
    height: 44px;
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.footer-brand-col p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 20px;
}

.footer-hotline-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 16px;
}

.footer-hotline-box i {
    font-size: 24px;
    color: var(--med-cyan);
}

.footer-hotline-box h6 {
    margin: 0;
    font-size: 11.5px;
    color: #94a3b8;
    text-transform: uppercase;
}

.footer-hotline-box span {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
}

.footer-links-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--med-cyan);
}

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

.footer-links-col a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13.5px;
    transition: var(--med-transition);
}

.footer-links-col a:hover {
    color: var(--med-cyan);
    padding-left: 4px;
}

.footer-bottom-bar {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: #64748b;
}

.footer-disclaimer {
    background: rgba(0, 0, 0, 0.25);
    padding: 14px 20px;
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.5;
    text-align: center;
}

/* ==========================================================================
   12. GLOBAL RESPONSIVE MEDIA QUERIES (DESKTOP, TABLET & MOBILE PERFECTION)
   ========================================================================== */

/* Prevent horizontal overflow while keeping position: sticky active */
html, body {
    overflow-x: clip;
    max-width: 100vw;
}

/* --------------------------------------------------------------------------
   A. LAPTOPS & SMALL DESKTOPS (<= 1200px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .trust-ribbon-card {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }

    .footer-top-grid {
        grid-template-columns: 1.2fr 1fr 1fr 1fr;
        gap: 30px;
    }
}

/* --------------------------------------------------------------------------
   B. TABLETS PORTRAIT & LANDSCAPE (<= 991px)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    /* Topbar navigation styles are handled cleanly by navbar-cart.css */


    /* Section 1: Hero Slider */
    .home-hero-section {
        padding: 16px 0 24px;
    }

    .hero-slider-frame,
    .hero-slides-wrapper {
        min-height: 450px;
    }

    .hero-slide {
        padding: 36px 32px 48px;
    }

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

    .hero-slide-visual {
        display: none;
    }

    .hero-slide-content {
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }

    .hero-slide-badge {
        margin: 0 auto 12px;
    }

    .hero-slide-title {
        font-size: 28px;
        line-height: 1.25;
        margin: 0 auto 12px;
        text-align: center;
    }

    .hero-slide-desc {
        font-size: 14.5px;
        max-width: 600px;
        margin: 0 auto 22px;
        text-align: center;
    }

    .hero-slide-ctas {
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }

    .hero-slider-nav {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    /* Section 2: Trust Ribbon */
    .trust-ribbon-section {
        margin-top: -10px;
        margin-bottom: 20px;
    }

    .trust-ribbon-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 16px 20px;
    }

    .trust-item {
        border-right: none;
        border-bottom: 1px solid var(--med-border-light);
        padding-bottom: 10px;
        padding-right: 0;
    }

    .trust-item:nth-last-child(-n+2) {
        border-bottom: none;
        padding-bottom: 0;
    }

    /* Section 3: Medicines Catalog Grid */
    .medicine-grid-3x3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    /* Section 4, 6, 7: Carousels (2 cards visible on tablet) */
    .review-card,
    .blog-item-card,
    .video-item-card {
        flex: 0 0 calc(50% - 12px);
    }

    /* Section 5: Q&A Layout */
    .qa-layout-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .qa-ask-card {
        position: static;
        width: 100%;
    }

    /* Section 8: CTA Banner */
    .home-cta-section {
        padding: 40px 0;
    }

    .cta-banner-card {
        padding: 36px 28px;
        border-radius: 20px;
    }

    .cta-banner-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* Footer */
    .med-modern-footer {
        padding-top: 48px;
    }

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

/* --------------------------------------------------------------------------
   C. MOBILE PHONES & PHABLETS (<= 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    /* Containers */
    .home-container {
        padding: 0 16px;
    }

    /* Section Headers */
    .home-section {
        padding: 36px 0;
    }

    .home-section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 20px;
    }

    .section-pill-tag {
        font-size: 11px;
        padding: 4px 12px;
        margin-bottom: 8px;
    }

    .section-title {
        font-size: 22px;
        line-height: 1.25;
        margin-bottom: 6px;
    }

    .section-subtitle {
        font-size: 13px;
        line-height: 1.45;
    }

    /* Section 1: Hero Slider */
    .hero-slider-frame,
    .hero-slides-wrapper {
        min-height: 480px;
        border-radius: 16px;
    }

    .hero-slide {
        padding: 26px 18px 48px;
    }

    .hero-slide-content {
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }

    .hero-slide-badge {
        font-size: 11.5px;
        padding: 4px 12px;
        margin: 0 auto 10px;
    }

    .hero-slide-title {
        font-size: 23px;
        line-height: 1.25;
        margin: 0 auto 10px;
        letter-spacing: -0.3px;
        text-align: center;
    }

    .hero-slide-desc {
        font-size: 13px;
        line-height: 1.5;
        margin: 0 auto 18px;
        max-width: 100%;
        text-align: center;
    }

    .hero-slide-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
        gap: 10px;
        align-items: center;
        justify-content: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        padding: 11px 18px;
        font-size: 13.5px;
        text-align: center;
    }

    .hero-slider-nav {
        display: none !important;
    }

    .hero-slider-dots {
        bottom: 12px;
    }

    .hero-slider-dot {
        width: 8px;
        height: 8px;
    }

    .hero-slider-dot.active {
        width: 22px;
    }

    /* Section 2: Trust Ribbon */
    .trust-ribbon-card {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 14px 16px;
        border-radius: 14px;
    }

    .trust-item {
        border-right: none;
        border-bottom: 1px solid var(--med-border-light);
        padding-bottom: 10px;
    }

    .trust-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .trust-icon-wrap {
        width: 38px;
        height: 38px;
        font-size: 16px;
        border-radius: 10px;
    }

    .trust-info h5 {
        font-size: 13px;
    }

    .trust-info p {
        font-size: 11.5px;
    }

    /* Section 3: Medicines Catalog */
    .medicine-grid-3x3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .home-medicine-card {
        padding: 12px;
        border-radius: 14px;
    }

    .card-image-box {
        height: 130px;
        padding: 8px;
        margin-bottom: 10px;
    }

    .card-brand-tag {
        font-size: 10.5px;
    }

    .card-med-title {
        font-size: 13.5px;
        height: 2.7em;
        margin-bottom: 4px;
    }

    .card-med-salt {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .card-curr-price {
        font-size: 16.5px;
    }

    .card-mrp-price {
        font-size: 12px;
    }

    .card-stock-indicator {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .card-action-row {
        gap: 6px;
    }

    .btn-card-details,
    .btn-card-buy {
        padding: 8px 6px;
        font-size: 11.5px;
    }

    /* Section 4, 6, 7: Carousels (Single Card with Swipe Peek UX) */
    .reviews-carousel-track,
    .blogs-carousel-track,
    .videos-carousel-track {
        gap: 14px;
        padding: 6px 2px 16px;
    }

    .review-card,
    .blog-item-card,
    .video-item-card {
        flex: 0 0 88%;
        scroll-snap-align: start;
    }

    .review-card {
        padding: 18px;
        border-radius: 14px;
    }

    .review-text {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 14px;
    }

    .review-user-name {
        font-size: 13px;
    }

    .review-user-meta {
        font-size: 11px;
    }

    .blog-body {
        padding: 16px;
    }

    .blog-title {
        font-size: 15px;
        line-height: 1.35;
    }

    .blog-excerpt {
        font-size: 12.5px;
        margin-bottom: 12px;
    }

    .video-card-body {
        padding: 14px 14px 50px;
        position: relative;
    }

    .video-doctor-tag {
        font-size: 11px;
    }

    .video-card-title {
        font-size: 13.5px;
        line-height: 1.35;
        height: 2.7em;
        -webkit-line-clamp: 2;
    }

    .btn-watch-video {
        bottom: 12px;
        right: 12px;
        padding: 6px 14px;
        font-size: 12px;
    }

    /* Section 5: Q&A */
    .qa-card-item {
        padding: 16px;
        border-radius: 14px;
        margin-bottom: 12px;
    }

    .qa-question-title {
        font-size: 14.5px;
        line-height: 1.35;
    }

    .qa-doc-avatar {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
    }

    .qa-doc-name {
        font-size: 13px;
    }

    .qa-doc-spec {
        font-size: 11px;
    }

    .qa-answer-text {
        font-size: 12.5px;
        line-height: 1.5;
    }

    .qa-ask-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .qa-ask-card h3 {
        font-size: 18px;
    }

    .qa-ask-card p {
        font-size: 12.5px;
    }

    .btn-qa-corner-top {
        width: 100%;
        justify-content: center;
        font-size: 13px;
        padding: 10px 16px;
        margin-top: 6px;
    }

    /* Section 8: CTA Inquiry Banner */
    .cta-banner-card {
        padding: 24px 16px;
        border-radius: 16px;
    }

    .cta-banner-content h2 {
        font-size: 22px;
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .cta-banner-content p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .cta-feature-item {
        font-size: 12.5px;
    }

    .cta-form-card {
        padding: 18px 14px;
        border-radius: 14px;
    }

    .cta-form-card h4 {
        font-size: 16px;
    }

    .cta-input {
        padding: 9px 12px;
        font-size: 13px;
    }

    .btn-cta-submit {
        padding: 11px;
        font-size: 14px;
    }

    /* Modern Footer */
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 28px;
    }

    .footer-brand-col img {
        height: 38px;
    }

    .footer-brand-col p {
        font-size: 12.5px;
    }

    .footer-hotline-box {
        padding: 10px 14px;
    }

    .footer-links-col h4 {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .footer-links-col ul {
        gap: 8px;
    }

    .footer-links-col a {
        font-size: 13px;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        font-size: 11.5px;
        padding: 18px 0;
    }

    .footer-disclaimer {
        padding: 10px 14px;
        font-size: 11px;
    }
}

/* --------------------------------------------------------------------------
   D. COMPACT SMARTPHONES (<= 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .home-container {
        padding: 0 12px;
    }

    .hero-slider-frame,
    .hero-slides-wrapper {
        min-height: 480px;
    }

    .hero-slide {
        padding: 22px 14px 46px;
    }

    .hero-slide-title {
        font-size: 20px;
        line-height: 1.25;
        text-align: center;
        margin: 0 auto 10px;
    }

    .hero-slide-desc {
        font-size: 12.5px;
        text-align: center;
        margin: 0 auto 18px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 10px 14px;
        font-size: 13px;
    }

    .section-title {
        font-size: 20px;
    }

    /* Compact 2-column medicines grid */
    .medicine-grid-3x3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .home-medicine-card {
        padding: 10px;
        border-radius: 12px;
    }

    .card-image-box {
        height: 115px;
        padding: 6px;
        margin-bottom: 8px;
    }

    .card-brand-tag {
        font-size: 9.5px;
    }

    .card-med-title {
        font-size: 12.5px;
        height: 2.6em;
    }

    .card-med-salt {
        font-size: 10px;
        margin-bottom: 6px;
    }

    .card-curr-price {
        font-size: 15px;
    }

    .card-mrp-price {
        font-size: 11px;
    }

    .card-action-row {
        flex-direction: column;
        gap: 5px;
    }

    .btn-card-details,
    .btn-card-buy {
        width: 100%;
        text-align: center;
        padding: 6px 4px;
        font-size: 11px;
    }

    .review-card,
    .blog-item-card,
    .video-item-card {
        flex: 0 0 92%;
    }
}

/* --------------------------------------------------------------------------
   E. EXTRA-SMALL MOBILE PHONES (<= 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
    .medicine-grid-3x3 {
        grid-template-columns: 1fr;
    }

    .hero-slide-title {
        font-size: 18.5px;
        text-align: center;
        margin: 0 auto 10px;
    }
}

