/* Homepage Styles - Medical Store Green Theme */

:root {
    --home-green: #e5e7eb;
    --home-green-light: #ffffff;
    --home-green-dark: #cbd5e1;
    --home-bg: #0b0f14;
    --home-bg-alt: #131a23;
    --home-card: rgba(255, 255, 255, 0.04);
    --home-card-strong: rgba(255, 255, 255, 0.06);
    --home-text: #e5e7eb;
    --home-muted: rgba(229, 231, 235, 0.70);
    --home-border: rgba(255, 255, 255, 0.10);
    --home-border-strong: rgba(255, 255, 255, 0.16);
    --home-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.45);
    --home-shadow-medium: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.offer-strip {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: #dc2626;
    color: #ffffff;
    z-index: 10000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.offer-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.offer-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.offer-marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 44px;
    will-change: transform;
    animation: offer-marquee 16s linear infinite;
}

.offer-marquee-track span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

@keyframes offer-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Top Bar */
.top-bar {
    background: rgba(11, 15, 20, 0.92);
    color: #ffffff;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid var(--home-border);
    position: fixed;
    top: 28px;
    left: 0;
    right: 0;
    z-index: 9999;
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-weight: 500;
}

.top-bar-item i {
    font-size: 14px;
    color: #ffffff;
}

.top-bar-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.15);
}

.top-bar-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-bar-link:hover {
    color: rgba(255, 255, 255, 0.85);
}

.top-bar-right {
    display: flex;
    align-items: center;
}

.top-bar-admin-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.90);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.2s ease;
    border: 1px solid var(--home-border);
}

.top-bar-admin-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    transform: translateY(-1px);
}

.top-bar-admin-btn i {
    font-size: 12px;
}

.top-bar-logout-btn {
    background: #d11a2a;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.top-bar-logout-btn:hover {
    background: rgba(11, 15, 20, 0.98);
    color: #d11a2a;
    border-color: #d11a2a;
    transform: translateY(-1px);
}

/* Mobile Top Bar Toggle */
.top-bar-mobile-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

.top-bar-mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile Top Bar Menu */
.top-bar-mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 20px;
    background: rgba(11, 15, 20, 0.96);
    border: 1px solid var(--home-border);
    border-radius: 8px;
    padding: 8px;
    min-width: 160px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.top-bar-mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.top-bar-mobile-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: #e2e8f0;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.top-bar-mobile-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.top-bar-mobile-item i {
    font-size: 14px;
    color: rgba(229, 231, 235, 0.85);
}

/* Responsive Top Bar */
@media (max-width: 768px) {
    .top-bar {
        font-size: 12px;
        padding: 6px 0;
        height: 36px;
        overflow: visible;
        /* position: fixed already set in base */
    }
    
    .top-bar-inner {
        padding: 0 15px;
        height: 100%;
        overflow: hidden;
    }
    
    .top-bar-left {
        gap: 12px;
        justify-content: flex-start;
        width: auto;
        flex: 1;
        flex-wrap: nowrap;
        white-space: nowrap;
        overflow: hidden;
    }

    .top-bar-left .top-bar-link {
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .top-bar-divider {
        display: block;
        height: 14px;
    }
    
    .top-bar-item {
        font-size: 11px;
    }
    
    /* Hide admin login on mobile, show hamburger */
    .top-bar-right {
        display: none;
    }
    
    .top-bar-mobile-toggle {
        display: flex;
    }
    
    .top-bar-mobile-menu {
        display: block;
    }
}

@media (max-width: 480px) {
    .top-bar-inner {
        padding: 0 12px;
    }
    
    .top-bar-left {
        flex-direction: row;
        gap: 10px;
    }
    
    .top-bar-item {
        font-size: 10px;
    }
    
    .top-bar-item i {
        font-size: 11px;
    }
    
    .top-bar-divider {
        height: 12px;
    }
}

/* Mobile typography & spacing */
@media (max-width: 640px) {
    .home-section {
        padding: 32px 16px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .home-hero-content {
        max-width: 100%;
        padding: 0 12px;
    }

    .home-hero-title {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 12px;
        font-weight: 800;
    }

    .home-hero-sub {
        font-size: 14px;
        margin-bottom: 24px;
        line-height: 1.5;
        padding: 0 8px;
    }

    .home-hero-actions {
        gap: 10px;
    }
    
    .home-hero-actions .btn {
        justify-content: center;
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 600;
    }
}

/* Extra small mobile devices */
@media (max-width: 380px) {
    .home-hero {
        padding: 100px 12px 60px;
        min-height: auto;
    }
    
    .home-hero-title {
        font-size: 22px;
    }
    
    .home-hero-sub {
        font-size: 13px;
    }
    
    .home-hero-actions {
        max-width: 260px;
    }
    
    .home-hero-actions .btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* Improved mobile header */
@media (max-width: 640px) {
    .home-header-container {
        padding: 10px 16px;
    }
    
    .home-logo img {
        height: 44px;
    }
    
    .mobile-menu-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Mobile hero with different background */
@media (max-width: 640px) {
    .home-hero {
        background: var(--home-hero-bg-mobile, url('../../images/homeopathy-962079_640.jpg')) 60% center/cover no-repeat;
        padding: 100px 16px 80px;
        min-height: 70vh;
    }
    
    .home-hero::before {
        background: rgba(11, 15, 20, 0.68);
    }

    .home-hero::after {
        background: rgba(255, 255, 255, 0.03);
    }
    
    .home-hero-content {
        padding: 0 8px;
    }
    
    .home-hero-title {
        font-size: 24px;
        margin-bottom: 12px;
        line-height: 1.25;
    }
    
    .home-hero-sub {
        font-size: 14px;
        margin-bottom: 24px;
        line-height: 1.5;
        padding: 0;
    }
    
    /* Side-by-side centered buttons on mobile */
    .home-hero-actions {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
        width: 100%;
        max-width: none;
        margin: 0 auto;
        justify-content: center;
        align-items: center;
    }
    
    .home-hero-actions .btn {
        width: auto;
        flex: 0 1 auto;
        min-width: 120px;
        max-width: 160px;
        padding: 10px 16px;
        font-size: 13px;
        font-weight: 600;
        text-align: center;
        justify-content: center;
    }
}

/* Extra small mobile - even smaller buttons */
@media (max-width: 380px) {
    .home-hero {
        padding: 90px 12px 70px;
        min-height: 65vh;
        background-position: 62% center;
    }

    .home-hero::before {
        background: rgba(20, 83, 45, 0.50);
    }
    
    .home-hero-title {
        font-size: 22px;
    }
    
    .home-hero-sub {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .home-hero-actions .btn {
        min-width: 110px;
        max-width: 140px;
        padding: 9px 14px;
        font-size: 12px;
    }
}

/* Mobile info cards compact */
@media (max-width: 640px) {
    .info-card {
        padding: 20px 16px;
        flex: 0 0 calc(85% - 10px);
        max-width: calc(85% - 10px);
    }
    
    .info-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .info-title {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .info-desc {
        font-size: 12px;
        line-height: 1.4;
    }
}

/* Mobile medicines grid */
@media (max-width: 640px) {
    /* Featured medicines section: remove container padding so cards use full width */
    #features .container {
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Contact Us section: remove container padding for full width */
    #contact .container {
        padding-left: 0;
        padding-right: 0;
    }
    
    #contact .contact-container {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .medicines-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .medicine-card {
        border-radius: 16px;
        width: 100%;
    }
    
    .medicine-thumb {
        height: 180px;
    }
    
    .medicine-body {
        padding: 16px;
    }
    
    .medicine-title {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .medicine-desc {
        font-size: 12px;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    
    .medicine-dates {
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .medicine-price {
        margin-bottom: 12px;
    }
    
    .price-final {
        font-size: 18px;
    }
    
    .medicine-card .btn-black {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Mobile reviews compact */
@media (max-width: 640px) {
    .reviews-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        margin-bottom: 16px;
    }
    
    .review-card {
        flex: 0 0 300px;
        padding: 20px;
    }
    
    .review-text {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .review-author {
        gap: 10px;
    }
    
    .review-avatar {
        width: 40px;
        height: 40px;
    }
    
    .review-name {
        font-size: 14px;
    }
}

/* Mobile FAQ compact */
@media (max-width: 640px) {
    .faq-item {
        margin-bottom: 10px;
    }
    
    .faq-question {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .faq-answer p {
        padding: 0 16px 14px;
        font-size: 13px;
        line-height: 1.5;
    }
}

/* Mobile contact compact */
@media (max-width: 640px) {
    .contact-container {
        gap: 20px;
    }
    
    .contact-info-item {
        padding: 12px;
        gap: 12px;
    }
    
    .contact-info-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .contact-info-content h3 {
        font-size: 14px;
    }
    
    .contact-info-content p {
        font-size: 12px;
    }
    
    .contact-form-container {
        padding: 16px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* Mobile view more button */
@media (max-width: 640px) {
    .home-view-more {
        margin-top: 24px;
    }
    
    .home-view-more .btn {
        width: 100%;
        max-width: 200px;
        padding: 12px 20px;
        font-size: 14px;
    }
}

body {
    background: var(--home-bg);
    color: var(--home-text);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.home-hero {
    padding: 120px 20px;
    text-align: center;
    position: relative;
    background: var(--home-hero-bg-desktop, url('../../images/banner.webp')) center/cover no-repeat;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-hero::before{
    content:'';
    position:absolute;
    inset:0;
    background: rgba(11, 15, 20, 0.70);
}
.home-hero::after{
    content:'';
    position:absolute;
    inset:0;
    background: rgba(255, 255, 255, 0.04);
    pointer-events:none;
}
.home-hero-content {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 10px 0;
    text-align: center;
}
.home-hero-title {
    font-size: clamp(26px, 6vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.home-hero-sub {
    font-size: 18px;
    color: #233302;
    font-weight: 700;
    margin-bottom: 28px;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    display: inline-block;
    max-width: 760px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(6px);
}
.home-hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.home-hero .btn-black{
    background: #dc2626;
    border-color: rgba(255,255,255,0.9);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    min-width: 140px;
    text-align: center;
    justify-content: center;
}
.home-hero .btn-black:hover{
    background: #b91c1c;
    border-color: rgba(255,255,255,1);
    color: white !important;
    transform: translateY(-2px);
}
.home-hero .btn-outline{
    border-color: rgba(255,255,255,0.9);
    color: #ffffff;
    background: rgba(22, 163, 74, 0.9);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    min-width: 140px;
    text-align: center;
    justify-content: center;
}
.home-hero .btn-outline:hover{
    background: rgba(21, 128, 61, 0.95);
    border-color: rgba(255,255,255,1);
    color:#ffffff;
    transform: translateY(-2px);
}

.home-hero .btn-black,
.home-hero .btn-outline{
    position:relative;
    overflow:hidden;
    transform: translateZ(0);
}
.home-hero .btn-black::after,
.home-hero .btn-outline::after{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:80%;
    height:100%;
    background: none;
    transform: skewX(-18deg);
    transition:left 0.55s ease;
    pointer-events:none;
}
.home-hero .btn-black:hover::after,
.home-hero .btn-outline:hover::after{
    left:140%;
}

/* Homepage Sticky Header */
.home-header {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(11, 15, 20, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--home-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.home-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.home-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.home-logo img {
    height: 56px;
    width: auto;
    display: block;
    object-fit: contain;
}

.home-nav {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.home-nav::-webkit-scrollbar {
    display: none;
}

.home-nav-link {
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: rgba(229, 231, 235, 0.78);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.home-nav-link:hover,
.home-nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.home-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 2px;
}

.home-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* Responsive Header */
@media (max-width: 768px) {
    .home-header-container {
        padding: 10px 15px;
        flex-wrap: nowrap;
    }
    
    .home-nav {
        order: 0;
        width: auto;
        justify-content: flex-start;
        margin-top: 0;
    }
    
    .home-logo {
        max-width: 170px;
    }

    .home-logo img {
        height: 50px;
    }
    
    .home-header-actions {
        gap: 8px;
    }
    
    .btn-sm {
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .home-nav-link {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .home-logo {
        max-width: 140px;
    }

    .home-logo img {
        height: 44px;
    }

    .home-header-actions .btn-sm {
        padding: 6px 10px;
        font-size: 12px;
        gap: 6px;
    }
}

/* Add top padding to body to account for fixed header */
body {
    padding-top: 0;
}

/* Adjust hero section top padding to account for top bar + header */
.home-hero {
    padding-top: 148px;
    margin-top: 0;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .home-hero {
        margin-top: 0;
        padding-top: 154px;
        min-height: 100vh;
    }
}

/* Sections */
.home-section {
    padding: 60px 20px;
    background: transparent;
}
.section-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    padding: 0 10px;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-track:active {
    cursor: grabbing;
}

.carousel-track .info-card {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
    padding: 32px 20px;
    box-sizing: border-box;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.carousel-dot {
    width: 14px;
    height: 14px;
    aspect-ratio: 1 / 1;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.carousel-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-dot.active {
    border-color: rgba(255, 255, 255, 0.55);
    transform: scale(1.1);
}

.carousel-dot.active::before {
    transform: translate(-50%, -50%) scale(1);
}

.carousel-dot:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
    transform: scale(1.05);
}

/* Enhanced info cards for carousel */
.carousel-track .info-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--home-border);
    border-radius: 20px;
    padding: 32px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--home-shadow-soft);
    position: relative;
    overflow: hidden;
    margin: 8px 0;
    scroll-snap-align: start;
}

.carousel-track .info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(13, 110, 253, 0.45);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-track .info-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--home-shadow-medium);
    border-color: var(--home-border-strong);
}

.carousel-track .info-card:hover::before {
    transform: scaleX(1);
}

.carousel-track .info-icon {
    width: 104px;
    height: 104px;
    margin: 0 auto 24px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: rgba(255, 255, 255, 0.92);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-track .info-icon img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.carousel-track .info-card:hover .info-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.10);
}

.carousel-track .info-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
    transition: color 0.4s ease;
}

.carousel-track .info-card:hover .info-title {
    color: #ffffff;
}

.carousel-track .info-desc {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(229, 231, 235, 0.72);
    transition: color 0.4s ease;
}

.carousel-track .info-card:hover .info-desc {
    color: rgba(229, 231, 235, 0.86);
}

.carousel-track.is-dragging {
    cursor: grabbing;
    user-select: none;
    -webkit-user-select: none;
}

/* Responsive carousel */
@media (max-width: 1024px) {
    .carousel-track .info-card {
        flex: 0 0 calc(33.333% - 14px);
        max-width: calc(33.333% - 14px);
        padding: 0 12px;
    }
    .carousel-track {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .carousel-track .info-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        padding: 0 10px;
    }
    .carousel-track {
        gap: 20px;
    }
    
    .carousel-container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .carousel-track .info-card {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 28px 20px;
        min-height: 220px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid var(--home-border);
        border-radius: 20px;
        box-shadow: var(--home-shadow-soft);
        pointer-events: auto;
        touch-action: pan-y;
        scroll-snap-align: center;
    }
    .carousel-track {
        gap: 0;
        cursor: grab;
        touch-action: pan-y;
        scroll-snap-type: x mandatory;
    }
    
    .carousel-track:active {
        cursor: grabbing;
    }
    
    .carousel-container {
        padding: 0 16px;
        touch-action: pan-y;
        overflow: hidden;
    }
    
    .carousel-dots {
        gap: 10px;
        margin-top: 24px;
        position: relative;
        z-index: 10;
    }
    
    .carousel-dot {
        width: 14px;
        height: 14px;
        border: 2px solid rgba(255, 255, 255, 0.22);
        z-index: 20;
        pointer-events: auto;
    }
    
    .carousel-dot.active {
        border-color: rgba(255, 255, 255, 0.55);
        background: rgba(255, 255, 255, 0.55);
    }
    
    /* Info card content styling for mobile */
    .carousel-track .info-icon {
        width: 64px;
        height: 64px;
        margin: 0 auto 20px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        color: rgba(255, 255, 255, 0.90);
        pointer-events: none;
    }
    
    .carousel-track .info-title {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 12px;
        color: #ffffff;
        pointer-events: none;
    }
    
    .carousel-track .info-desc {
        font-size: 15px;
        line-height: 1.6;
        color: rgba(229, 231, 235, 0.72);
        pointer-events: none;
    }
    
    /* Section title for Why Choose Us */
    #features .section-title {
        font-size: 26px;
        margin-bottom: 28px;
    }
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.info-card {
    background: var(--home-card);
    border: 1px solid var(--home-border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--home-shadow-soft);
}

.info-card:hover,
.carousel-track .info-card:hover,
.medicine-card:hover,
.review-card:hover,
.faq-item:hover,
.contact-info-item:hover {
    color: var(--home-text);
}

.info-card:hover .info-title,
.carousel-track .info-card:hover .info-title,
.carousel-track .info-card:hover .info-desc,
.info-card:hover .info-desc,
.medicine-card:hover .medicine-title,
.medicine-card:hover .medicine-desc {
    color: inherit;
}
.info-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.10);
    color: white;
    border-radius: 16px;
    font-size: 28px;
}

.info-icon img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
}
.info-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}
.info-desc {
    font-size: 15px;
    color: rgba(229, 231, 235, 0.72);
}

/* Medicines Grid */
.medicines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.medicines-offer-strip {
    border-radius: 12px;
    border: 1px solid red;
    background: red;
    padding: 10px 14px;
    margin: -12px auto 20px;
    max-width: 720px;
}

.medicines-offer-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.medicines-offer-track {
    display: inline-flex;
    align-items: center;
    gap: 44px;
    will-change: transform;
    animation: medicines-offer-marquee 14s linear infinite;
}

.medicines-offer-track span {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

@keyframes medicines-offer-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.lowest-price-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(220, 38, 38, 0.92);
    color: #ffffff;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.2px;
    margin: 0 0 18px 0;
    box-shadow: 0 8px 16px rgba(220, 38, 38, 0.18);
    position: relative;
    overflow: hidden;
    animation: lowest-price-blink 1.6s ease-in-out infinite;
}

.lowest-price-badge img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

@keyframes lowest-price-blink {
    0%, 100% { transform: translateY(0); filter: brightness(1); }
    50% { transform: translateY(-1px); filter: brightness(1.08); }
}

.lowest-price-badge span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.15;
}

.lowest-price-badge span strong {
    font-weight: 800;
    font-size: 13.5px;
}

.lowest-price-badge span small {
    font-weight: 600;
    font-size: 12px;
    opacity: 0.92;
}

.medicine-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--home-border);
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: var(--home-shadow-soft);
}
.medicine-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--home-shadow-medium);
    border-color: var(--home-border-strong);
}
.medicine-thumb {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
}
.medicine-off-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2px;
    color: #ffffff;
    background: #dc2626;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 22px rgba(239, 68, 68, 0.25);
    backdrop-filter: blur(6px);
}
.medicine-off-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: none;
    pointer-events: none;
}
.medicine-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.45s ease;
}
.medicine-card:hover .medicine-thumb img {
    transform: scale(1.08);
}
.medicine-thumb .avatar {
    font-size: 48px;
    color: var(--home-muted);
}
.medicine-body {
    padding: 18px 18px 16px;
}
.medicine-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--home-green-dark);
    line-height: 1.25;
}
.medicine-desc {
    font-size: 14px;
    color: rgba(229, 231, 235, 0.70);
    margin-bottom: 14px;
    line-height: 1.55;
    position: relative;
}
.desc-more-btn {
    font-size: 12px;
    font-weight: 600;
    color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.20);
    border-radius: 6px;
    padding: 2px 6px;
    margin-top: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}
.desc-more-btn:hover {
    background: rgba(220, 38, 38, 0.12);
}
.medicine-dates {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
    justify-content: space-between;
}
.date-item {
    display: flex;
    flex-direction: column;
}
.date-item:last-child {
    align-items: flex-end;
    text-align: right;
}
.date-label {
    font-weight: 600;
    color: var(--home-muted);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}
.date-value {
    color: rgba(229, 231, 235, 0.90);
    font-weight: 500;
}
.medicine-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.price-original {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
}
.price-final {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.2px;
}
.price-discount {
    font-size: 13px;
    color: #dc2626;
    font-weight: 600;
    background: rgba(220, 38, 38, 0.08);
    padding: 2px 6px;
    border-radius: 6px;
    border: 1px solid rgba(220, 38, 38, 0.20);
}
.btn-block {
    width: 100%;
    justify-content: center;
}

.home-view-more {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

/* All Medicines: Search */
.med-search {
    max-width: 640px;
    margin: 0 auto 26px;
}
.med-search-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--home-border);
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(22, 163, 74, 0.08);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.med-search-inner:focus-within {
    border-color: var(--home-border-strong);
    box-shadow: var(--home-shadow-medium);
}
.med-search-inner i {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
}
#medSearchInput {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #ffffff;
    background: transparent;
}
#medSearchInput::placeholder {
    color: #9ca3af;
}
.med-search-clear {
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(229, 231, 235, 0.92);
    width: 38px;
    height: 38px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}
.med-search-clear:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.04);
}

/* All Medicines: Not Found */
.med-not-found {
    text-align: center;
    padding: 56px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    margin: 10px 0 0;
}
.med-not-found img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    opacity: 0.9;
    margin-bottom: 18px;
}
.med-not-found-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}
.med-not-found-sub {
    font-size: 15px;
    color: rgba(229, 231, 235, 0.70);
}

/* Reviews Section */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0 8px;
}

.reviews-nav {
    display: flex;
    gap: 8px;
}

.review-nav-btn {
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(229, 231, 235, 0.92);
    font-size: 16px;
}

.review-nav-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    transform: scale(1.05);
}

.review-nav-btn:active {
    transform: scale(0.95);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.reviews-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 8px 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reviews-carousel::-webkit-scrollbar {
    display: none;
}

 .reviews-carousel::-webkit-scrollbar-thumb {
     background: transparent;
 }

 .reviews-carousel::-webkit-scrollbar-track {
     background: transparent;
 }

.review-card {
    flex: 0 0 340px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--home-border);
    border-radius: 20px;
    padding: 24px 20px;
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--home-shadow-soft);
    color: #ffffff;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--home-shadow-medium);
}

.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: #fbbf24;
    font-size: 18px;
}

.review-text {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(229, 231, 235, 0.78);
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
}

.review-avatar {
width: 48px;
height: 48px;
background: rgba(255, 255, 255, 0.08);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: rgba(229, 231, 235, 0.92);
font-size: 18px;
overflow: hidden;
flex-shrink: 0;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.review-info {
    flex: 1;
}

.review-name {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.review-date {
    font-size: 14px;
    color: #9ca3af;
    color: #ffffff;
}

/* FAQ Accordion Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    background: transparent;
    padding: 20px;
    border-radius: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--home-border);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #ffffff;
}

.faq-item:hover {
    box-shadow: var(--home-shadow-soft);
}

.faq-question {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    color: #ffffff;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.06);
}

.faq-question i {
    color: rgba(255, 255, 255, 0.75);
    transition: transform 0.3s ease;
    font-size: 14px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #ffffff;
}

.faq-answer p {
    padding: 0 24px 20px;
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
    font-size: 15px;
    color: #ffffff;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* Contact Us Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
    padding: 20px;
    border-radius: 16px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: #ffffff;
}

@media (min-width: 969px) {
    .contact-info {
        position: sticky;
        top: 110px;
        align-self: start;
    }
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--home-border);
    border-radius: 16px;
    transition: all 0.3s ease;
    color: #ffffff;
}

a.contact-info-item {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.contact-info-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--home-shadow-soft);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(229, 231, 235, 0.92);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.contact-info-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.contact-info-content p {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
    word-break: break-word;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--home-border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--home-shadow-soft);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 15px;
    font-weight: 600;
    color: rgba(229, 231, 235, 0.88);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--home-border);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--home-border-strong);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Responsive Contact */
@media (max-width: 968px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 24px 20px;
    }
    
    .contact-info-item {
        padding: 16px;
    }
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-question {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .faq-answer p {
        padding: 0 20px 16px;
        font-size: 14px;
    }
}

/* Responsive Reviews */
@media (max-width: 768px) {
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 8px;
    }
    
    .review-card {
        flex: 0 0 300px;
        padding: 20px 16px;
    }
}

@media (max-width: 480px) {
    .review-card {
        flex: 0 0 280px;
        padding: 20px 16px;
    }
    
    .review-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .review-card {
        flex: 0 0 300px;
        padding: 20px 16px;
    }

    .review-text {
        font-size: 14px;
        margin-bottom: 14px;
    }

    .review-stars {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .review-avatar {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .review-name {
        font-size: 14px;
    }

    .review-date {
        font-size: 12px;
    }

    .faq-question {
        padding: 14px 16px;
        font-size: 14px;
    }

    .faq-answer p {
        padding: 0 16px 14px;
        font-size: 13px;
    }

    .contact-container {
        gap: 28px;
    }

    .contact-form-container {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .contact-info-item {
        padding: 14px;
        border-radius: 14px;
    }

    .contact-info-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
        font-size: 18px;
    }

    .contact-info-content h3 {
        font-size: 16px;
    }

    .contact-info-content p {
        font-size: 13px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
        border-radius: 10px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-outline {
    border-color: var(--home-border-strong);
    color: #ffffff;
    background: transparent;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.10);
    color: inherit;
}
.btn-black {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border-color: var(--home-border);
}
.btn-black:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--home-border-strong);
}

/* Responsive */
@media (max-width: 640px) {
    .home-hero { 
        padding: 90px 16px; 
        min-height: 100vh;
    }
    .home-hero-actions { flex-direction: row; justify-content: center; align-items: center; gap: 10px; flex-wrap: nowrap; }
    .home-section { padding: 40px 16px; }
    .section-title { font-size: 28px; }
    .info-cards { grid-template-columns: 1fr; gap: 16px; }
    .medicines-grid { grid-template-columns: 1fr; gap: 16px; }

    .medicine-card {
        border-radius: 18px;
    }

    .medicine-body {
        padding: 18px 16px;
    }

    .medicine-title {
        font-size: 16px;
    }

    .medicine-desc {
        font-size: 13px;
    }
}

/* Modal styles (reuse from main style.css) */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 10000;
}
.modal.open {
    display: block;
}
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}
.modal-dialog {
    position: relative;
    max-width: 720px;
    width: calc(100% - 26px);
    margin: 6vh auto;
    background: var(--home-card);
    border-radius: 18px;
    border: 1px solid var(--home-border);
    box-shadow: var(--home-shadow-medium);
    overflow: hidden;
    max-height: calc(100vh - 12vh);
    display: flex;
    flex-direction: column;
}
.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--home-border);
    background: rgba(255, 255, 255, 0.04);
}
.modal-title {
    font-weight: 900;
}
.modal-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    color: rgba(229, 231, 235, 0.70);
}
.modal-close:hover {
    background: rgba(255, 255, 255, 0.06);
}
.modal-body {
    padding: 20px;
    overflow: auto;
    flex: 1 1 auto;
    min-height: 0;
}
.modal-foot {
    padding: 14px 16px;
    border-top: 1px solid var(--home-border);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: flex-end;
}
.modal-src {
    display: none;
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--home-border);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(229, 231, 235, 0.92);
    font-size: 20px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: inherit;
}

/* Mobile Menu - Modern Design */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0,0,0,0.2);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid var(--home-border);
}

.mobile-menu-brand {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(229, 231, 235, 0.90);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: rotate(90deg);
}

.mobile-menu-nav {
    flex: 1 1 auto;
    padding: 16px 12px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 4px;
    border-radius: 12px;
    color: #4b5563;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mobile-nav-link i {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(229, 231, 235, 0.72);
    font-size: 14px;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.mobile-nav-link:hover i,
.mobile-nav-link.active i {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.mobile-menu-footer {
    padding: 12px 16px;
    background: rgba(11, 15, 20, 0.98);
    border-top: 1px solid var(--home-border);
}

.mobile-menu-admin {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(229, 231, 235, 0.88);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mobile-menu-admin:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.mobile-menu-admin i {
    color: rgba(229, 231, 235, 0.70);
}

.mobile-menu-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 16px));
    margin-bottom: 60px;
    background: rgba(11, 15, 20, 0.98);
    border-top: 1px solid var(--home-border);
}

.mobile-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.mobile-action-btn.mobile-call {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(229, 231, 235, 0.92);
    border: 1px solid var(--home-border);
}

.mobile-action-btn.mobile-call:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: var(--home-shadow-soft);
}

.mobile-action-btn.mobile-whatsapp {
    background: rgba(255, 255, 255, 0.10);
    color: white;
    border: 1px solid var(--home-border);
}

.mobile-action-btn.mobile-whatsapp:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
    box-shadow: var(--home-shadow-soft);
}

.mobile-action-btn i {
    font-size: 16px;
}

body.menu-open {
    overflow: hidden;
}

/* Show hamburger on mobile, hide desktop nav */
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .home-nav {
        display: none;
    }
    
    .home-header-actions {
        display: none;
    }
}

@media (min-width: 993px) {
    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* Site Footer */
.site-footer {
    margin-top: 40px;
    border-top: 1px solid var(--home-border);
    background: rgba(11, 15, 20, 0.98);
    color: #ffffff;
}

.site-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
}

.site-footer .footer-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.site-footer .footer-title {
    font-weight: 700;
    color: #ffffff;
}

.site-footer .footer-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

.site-footer .footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.site-footer .footer-credit {
    color: rgba(255, 255, 255, 0.70);
}

.site-footer .footer-name {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.90);
}

.site-footer .footer-contact {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    text-decoration: none;
}

.site-footer .footer-contact:hover {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .site-footer .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        gap: 8px;
        font-size: 13px;
    }

    .site-footer .footer-right {
        align-items: flex-start;
    }
}

/* Scroll To Top Button */
.scroll-top-btn {
    position: fixed;
    right: 20px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #111827;
    color: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 95;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .scroll-top-btn {
        right: 16px;
        bottom: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22);
    }
}

:root {
    --ads-blue: #1a73e8;
    --ads-red: #ea4335;
    --ads-yellow: #fbbc05;
    --ads-green: #34a853;
    --home-green: var(--ads-blue);
    --home-green-light: #4d8df0;
    --home-green-dark: #1558b0;
    --bs-primary: var(--ads-blue);
    --bs-success: var(--ads-green);
    --bs-danger: var(--ads-red);
    --bs-warning: var(--ads-yellow);
    --bs-info: #0dcaf0;
    --bs-secondary: #6c757d;
    --home-bg: #ffffff;
    --home-bg-alt: #ffffff;
    --home-card: #ffffff;
    --home-card-strong: #ffffff;
    --home-text: #0f172a;
    --home-muted: #64748b;
    --home-border: rgba(15, 23, 42, 0.12);
    --home-border-strong: rgba(15, 23, 42, 0.18);
    --home-shadow-soft: 0 12px 34px rgba(15, 23, 42, 0.10);
    --home-shadow-medium: 0 22px 70px rgba(15, 23, 42, 0.14);
}

body {
    background: var(--home-bg);
    color: var(--home-text);
}

.top-bar {
    background: #0b5d2a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.20);
}

.top-bar-link:hover {
    color: rgba(255, 255, 255, 0.85);
}

.top-bar-admin-btn {
    position: relative;
    overflow: hidden;
    background: #111827;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.22);
}

.top-bar-admin-btn:hover {
    background: #0b1220;
    border-color: rgba(255, 255, 255, 0.26);
    color: #ffffff;
}

.top-bar-admin-btn::after {
    content: "";
    position: absolute;
    top: -8px;
    bottom: -8px;
    width: 46px;
    left: -70px;
    background: rgba(255, 255, 255, 0.22);
    transform: skewX(-18deg);
    pointer-events: none;
    animation: topbar-shine 2.8s ease-in-out infinite;
}

@keyframes topbar-shine {
    0% {
        left: -70px;
        opacity: 0;
    }
    20% {
        opacity: 0.75;
    }
    55% {
        left: 110%;
        opacity: 0;
    }
    100% {
        left: 110%;
        opacity: 0;
    }
}

.top-bar-logout-btn {
    background: var(--ads-red);
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 10px 22px rgba(234, 67, 53, 0.22);
}

.top-bar-logout-btn:hover {
    background: #c9372c;
    border-color: rgba(255, 255, 255, 0.30);
    color: #ffffff;
}

.top-bar-logout-btn::after {
    display: none;
}

.home-header {
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid var(--home-border);
}

.home-nav-link {
    color: rgba(15, 23, 42, 0.75);
}

.home-nav-link:hover,
.home-nav-link.active {
    color: var(--ads-blue);
    background: rgba(26, 115, 232, 0.10);
}

.home-nav-link:nth-child(1):hover,
.home-nav-link:nth-child(1).active {
    color: var(--ads-blue);
    background: rgba(26, 115, 232, 0.10);
}

.home-nav-link:nth-child(2):hover,
.home-nav-link:nth-child(2).active {
    color: var(--ads-green);
    background: rgba(52, 168, 83, 0.10);
}

.home-nav-link:nth-child(3):hover,
.home-nav-link:nth-child(3).active {
    color: var(--ads-red);
    background: rgba(234, 67, 53, 0.10);
}

.home-nav-link:nth-child(4):hover,
.home-nav-link:nth-child(4).active {
    color: #7a5200;
    background: rgba(251, 188, 5, 0.18);
}

.home-nav-link:nth-child(5):hover,
.home-nav-link:nth-child(5).active {
    color: var(--ads-blue);
    background: rgba(26, 115, 232, 0.10);
}

.home-nav-link:nth-child(6):hover,
.home-nav-link:nth-child(6).active {
    color: var(--ads-green);
    background: rgba(52, 168, 83, 0.10);
}

.home-nav-link.active::after {
    background: currentColor;
}

.home-hero::before {
    background: transparent;
}

.home-hero::after {
    background: transparent;
}

.home-hero::before,
.home-hero::after {
    display: none;
}

.home-hero-title {
    color: #0f172a;
    text-shadow: none;
}

.home-hero-sub {
    color: #233302;
    font-weight: 800;
    text-shadow: none;
}

.home-hero .btn-black {
    background: var(--ads-blue);
    border-color: var(--ads-blue);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(26, 115, 232, 0.22);
}

.home-hero .btn-black:hover {
    background: var(--home-green-dark);
    border-color: var(--home-green-dark);
}

.home-hero .btn-outline {
    background: var(--ads-green);
    border-color: rgba(52, 168, 83, 0.65);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(52, 168, 83, 0.22);
}

.home-hero .btn-outline:hover {
    background: #2e8f49;
    border-color: rgba(46, 143, 73, 0.75);
    color: #ffffff;
}

.home-hero .btn-black::after,
.home-hero .btn-outline::after {
    display: none;
}

.home-section {
    background: var(--home-bg);
    padding: 54px 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.home-section .container {
    padding-left: 18px;
    padding-right: 18px;
}

#features.home-section {
    background: #ffffff;
}

#medicines.home-section {
    background: #ffffff;
}

#reviews.home-section {
    background: #0b3d2e;
    position: relative;
    overflow: hidden;
}

#reviews.home-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../../images/reviews bag.avif");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.14;
    pointer-events: none;
    z-index: 0;
}

#reviews.home-section > .container {
    position: relative;
    z-index: 1;
}

#contact.home-section {
    background: #ffffff;
}

#faqs .faq-container {
    max-width: 1100px;
    width: 100%;
}

#faqs.home-section {
    background: #06381a;
}

#faqs .section-title {
    color: #ffffff;
}

#faqs .section-title::before {
    background: #f59e0b;
}

#faqs .faq-item.active .faq-question {
    background: #f59e0b;
    color: #ffffff;
}

#faqs .faq-item.active .faq-question i {
    color: #ffffff;
}

.section-title {
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: "";
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.16);
}

#notes.home-section {
    background: rgba(34, 197, 94, 0.10);
}

#notes .section-title {
    color: #0b5d2a;
    font-weight: 800;
    letter-spacing: 0.2px;
}

#notes .section-title::before {
    background: #0b5d2a;
}

.home-notes-content {
    max-width: 920px;
    margin: 14px 0 0;
    padding: 18px 18px;
    border-radius: 16px;
    border: 1px solid rgba(11, 93, 42, 0.18);
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 18px 40px rgba(11, 93, 42, 0.10);
    color: rgba(11, 61, 46, 0.92);
    line-height: 1.85;
    font-size: 16px;
}

@media (max-width: 768px) {
    .home-notes-content {
        padding: 16px 14px;
        border-radius: 14px;
        max-width: 100%;
    }
}

#features .section-title::before {
    background: var(--ads-green);
}

#medicines .section-title::before {
    background: var(--ads-green);
}

#reviews .section-title::before {
    background: rgba(255, 255, 255, 0.85);
}

#faqs .section-title::before {
    background: var(--ads-yellow);
}

#contact .section-title::before {
    background: var(--ads-blue);
}

#reviews .section-title {
    color: #ffffff;
}

#reviews .review-nav-btn {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(11, 61, 46, 0.92);
}

#reviews .review-nav-btn:hover {
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.55);
    color: rgba(11, 61, 46, 0.92);
}

.carousel-track .info-card,
.medicine-card,
.review-card,
.faq-item,
.contact-info-item,
.contact-form-container,
.med-search-inner {
    background: #ffffff;
    border: 1px solid var(--home-border);
    box-shadow: var(--home-shadow-soft);
    border-radius: 18px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.carousel-track .info-card:hover,
.medicine-card:hover,
.review-card:hover,
.faq-item:hover,
.contact-info-item:hover {
    border-color: #f59e0b;
    border-width: 2px;
    box-shadow: var(--home-shadow-medium);
}

.carousel-track .info-card,
.medicine-card,
.review-card,
.faq-item,
.contact-info-item {
    border-style: solid;
}

.medicine-card .btn.btn-black.btn-block {
    position: relative;
    overflow: hidden;
}

.medicine-card .btn.btn-black.btn-block::after {
    content: "";
    position: absolute;
    top: -10px;
    bottom: -10px;
    width: 46px;
    left: -70px;
    background: rgba(255, 255, 255, 0.26);
    transform: skewX(-18deg);
    pointer-events: none;
    animation: enquire-shine 2.6s ease-in-out infinite;
}

@keyframes enquire-shine {
    0% {
        left: -70px;
        opacity: 0;
    }
    18% {
        opacity: 0.75;
    }
    55% {
        left: 110%;
        opacity: 0;
    }
    100% {
        left: 110%;
        opacity: 0;
    }
}

.medicine-card .btn.btn-black.btn-block:hover {
    color: #ffffff;
}

.carousel-track .info-title,
.medicine-title,
.review-name,
.faq-question,
.contact-info-content h3 {
    color: #0f172a;
}

.carousel-track .info-desc,
.medicine-desc,
.review-text,
.faq-answer p,
.contact-info-content p,
.med-not-found-sub {
    color: rgba(15, 23, 42, 0.68);
}

.carousel-track .info-icon,
.contact-info-icon {
    background: rgba(26, 115, 232, 0.10);
    color: var(--ads-blue);
}

.info-cards .info-card {
    position: relative;
    border-top: 4px solid rgba(15, 23, 42, 0.06);
}

.info-cards .info-card:nth-child(1) {
    border-top-color: rgba(26, 115, 232, 0.35);
}

.info-cards .info-card:nth-child(2) {
    border-top-color: rgba(52, 168, 83, 0.35);
}

.info-cards .info-card:nth-child(3) {
    border-top-color: rgba(234, 67, 53, 0.35);
}

.info-cards .info-card:nth-child(4) {
    border-top-color: rgba(251, 188, 5, 0.55);
}

.info-cards .info-card:nth-child(5) {
    border-top-color: rgba(13, 202, 240, 0.35);
}

.info-cards .info-card:nth-child(1) .info-icon {
    background: rgba(26, 115, 232, 0.12);
    color: var(--ads-blue);
}

.info-cards .info-card:nth-child(2) .info-icon {
    background: rgba(52, 168, 83, 0.12);
    color: var(--ads-green);
}

.info-cards .info-card:nth-child(3) .info-icon {
    background: rgba(234, 67, 53, 0.12);
    color: var(--ads-red);
}

.info-cards .info-card:nth-child(4) .info-icon {
    background: rgba(251, 188, 5, 0.22);
    color: #7a5200;
}

.info-cards .info-card:nth-child(5) .info-icon {
    background: rgba(13, 202, 240, 0.14);
    color: var(--bs-info);
}

.price-final {
    color: var(--ads-green);
}

.btn {
    border-radius: 10px;
}

.btn-black {
    background: var(--ads-blue);
    border-color: var(--ads-blue);
    color: #ffffff;
}

.btn-black:hover {
    background: var(--home-green-dark);
    border-color: var(--home-green-dark);
}

.btn-outline {
    border-color: rgba(15, 23, 42, 0.16);
    color: var(--home-text);
    background: #ffffff;
}

.home-header-actions .btn-outline {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.20);
    color: #0f172a;
}

.home-header-actions .btn-outline:hover {
    background: rgba(251, 188, 5, 0.18);
    border-color: rgba(251, 188, 5, 0.36);
    color: #0f172a;
}

.home-header-actions .btn-black {
    background: var(--ads-green);
    border-color: rgba(52, 168, 83, 0.65);
    color: #ffffff;
}

.home-header-actions .btn-black:hover {
    background: #2e8f49;
    border-color: rgba(46, 143, 73, 0.75);
    color: #ffffff;
}

.btn-outline:hover {
    background: rgba(26, 115, 232, 0.08);
    border-color: rgba(26, 115, 232, 0.28);
    color: var(--ads-blue);
}

.btn:hover {
    color: inherit;
}

.review-nav-btn {
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: #ffffff;
    color: rgba(15, 23, 42, 0.78);
}

.review-nav-btn:hover {
    background: rgba(52, 168, 83, 0.10);
    border-color: rgba(52, 168, 83, 0.22);
    color: var(--ads-green);
}

.form-group label {
    color: rgba(15, 23, 42, 0.88);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.12);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(13, 110, 253, 0.45);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.18);
}

.mobile-menu {
    background: #ffffff;
}

.mobile-menu-header {
    background: #ffffff;
    border-bottom: 1px solid var(--home-border);
}

.mobile-menu-brand {
    color: #0f172a;
}

.mobile-nav-link {
    color: rgba(15, 23, 42, 0.78);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(13, 110, 253, 0.10);
    color: var(--home-green-dark);
}

.mobile-menu-nav .mobile-nav-link:nth-child(1):hover,
.mobile-menu-nav .mobile-nav-link:nth-child(1).active {
    background: rgba(26, 115, 232, 0.10);
    color: var(--ads-blue);
}

.mobile-menu-nav .mobile-nav-link:nth-child(2):hover,
.mobile-menu-nav .mobile-nav-link:nth-child(2).active {
    background: rgba(52, 168, 83, 0.10);
    color: var(--ads-green);
}

.mobile-menu-nav .mobile-nav-link:nth-child(3):hover,
.mobile-menu-nav .mobile-nav-link:nth-child(3).active {
    background: rgba(234, 67, 53, 0.10);
    color: var(--ads-red);
}

.mobile-menu-nav .mobile-nav-link:nth-child(4):hover,
.mobile-menu-nav .mobile-nav-link:nth-child(4).active {
    background: rgba(251, 188, 5, 0.18);
    color: #7a5200;
}

.mobile-menu-nav .mobile-nav-link:nth-child(5):hover,
.mobile-menu-nav .mobile-nav-link:nth-child(5).active {
    background: rgba(26, 115, 232, 0.10);
    color: var(--ads-blue);
}

.mobile-menu-nav .mobile-nav-link:nth-child(6):hover,
.mobile-menu-nav .mobile-nav-link:nth-child(6).active {
    background: rgba(52, 168, 83, 0.10);
    color: var(--ads-green);
}

.mobile-nav-link i {
    background: rgba(15, 23, 42, 0.06);
    color: rgba(15, 23, 42, 0.70);
}

.mobile-nav-link:hover i,
.mobile-nav-link.active i {
    background: rgba(13, 110, 253, 0.14);
    color: var(--home-green-dark);
}

.mobile-menu-footer,
.mobile-menu-actions {
    background: #ffffff;
    border-top: 1px solid var(--home-border);
}

.mobile-menu-admin {
    background: rgba(251, 188, 5, 0.18);
    color: #7a5200;
}

.mobile-menu-admin:hover {
    background: rgba(251, 188, 5, 0.26);
    color: #7a5200;
    border-color: rgba(251, 188, 5, 0.32);
}

.mobile-menu-admin i {
    color: #7a5200;
}

.medicine-off-badge {
    background: var(--ads-red);
}

.medicine-off-badge::before {
    display: none;
}

.carousel-track .info-card {
    background: #ffffff;
}

.carousel-track .info-card::before {
    background: var(--ads-blue);
}

.medicine-card {
    background: #ffffff;
}

.faq-question {
    background: #ffffff;
}

.contact-info-item {
    background: #ffffff;
}

.home-hero .btn-black,
.home-hero .btn-outline,
.btn-black,
.btn-outline {
    transform: none;
}

.btn-black:hover,
.btn-outline:hover {
    transform: none;
}

.home-hero .btn-black:hover,
.home-hero .btn-outline:hover {
    transform: none;
}

.info-card:hover,
.carousel-track .info-card:hover,
.medicine-card:hover,
.review-card:hover,
.faq-item:hover,
.contact-info-item:hover {
    color: var(--home-text);
}

.info-card:hover .info-title,
.carousel-track .info-card:hover .info-title,
.medicine-card:hover .medicine-title,
.review-card:hover .review-name,
.faq-item:hover .faq-question,
.contact-info-item:hover .contact-info-content h3 {
    color: #0f172a;
}

.info-card:hover .info-desc,
.carousel-track .info-card:hover .info-desc,
.medicine-card:hover .medicine-desc,
.review-card:hover .review-text,
.faq-item:hover .faq-answer p,
.contact-info-item:hover .contact-info-content p {
    color: rgba(15, 23, 42, 0.68);
}

.mobile-action-btn.mobile-call {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.14);
    color: rgba(15, 23, 42, 0.82);
}

.mobile-action-btn.mobile-call:hover {
    background: rgba(26, 115, 232, 0.08);
    border-color: rgba(26, 115, 232, 0.28);
    color: var(--ads-blue);
    transform: none;
    box-shadow: var(--home-shadow-soft);
}

.mobile-action-btn.mobile-whatsapp {
    background: var(--ads-green);
    border: 1px solid rgba(52, 168, 83, 0.55);
    color: #ffffff;
}

.mobile-action-btn.mobile-whatsapp:hover {
    background: #2e8f49;
    border-color: rgba(46, 143, 73, 0.70);
    color: #ffffff;
    transform: none;
    box-shadow: 0 12px 26px rgba(25, 135, 84, 0.22);
}

.carousel-dot {
    border-color: rgba(234, 67, 53, 0.35);
}

.carousel-dot::before {
    background: var(--ads-red);
}

.carousel-dot.active {
    border-color: rgba(234, 67, 53, 0.65);
}

.carousel-dot:hover {
    border-color: rgba(234, 67, 53, 0.65);
    background: rgba(234, 67, 53, 0.08);
}

.site-footer {
    background: #0b1220;
    color: rgba(255, 255, 255, 0.86);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer .footer-title {
    color: #ffffff;
}

.site-footer .footer-subtitle {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer .footer-credit {
    color: rgba(255, 255, 255, 0.68);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
}

.site-footer .footer-name {
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.1;
    padding: 0 2px;
    vertical-align: middle;
}

.site-footer .footer-contact {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
}

.site-footer .footer-contact:hover {
    color: #ffffff;
    text-decoration: underline;
}

.site-footer .footer-name::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 52px;
    left: -80px;
    background: rgba(255, 255, 255, 0.22);
    transform: skewX(-18deg);
    pointer-events: none;
    animation: footer-name-shine 3.2s ease-in-out infinite;
}

@keyframes footer-name-shine {
    0% {
        left: -80px;
        opacity: 0;
    }
    18% {
        opacity: 0.75;
    }
    55% {
        left: 120%;
        opacity: 0;
    }
    100% {
        left: 120%;
        opacity: 0;
    }
}

.scroll-top-btn {
    background: var(--ads-green);
    color: #ffffff;
    border: 1px solid rgba(52, 168, 83, 0.40);
    box-shadow: 0 12px 26px rgba(52, 168, 83, 0.22);
}

.scroll-top-btn:hover {
    background: var(--ads-blue);
    border-color: rgba(26, 115, 232, 0.42);
}

.modal-backdrop {
    background: rgba(15, 23, 42, 0.45);
}

.modal-dialog {
    background: #ffffff;
    border: 1px solid var(--home-border);
    box-shadow: var(--home-shadow-medium);
    color: var(--home-text);
}

.modal-head,
.modal-foot {
    background: rgba(248, 250, 252, 0.92);
    border-color: var(--home-border);
}

.modal-close {
    color: rgba(15, 23, 42, 0.70);
}

.modal-close:hover {
    background: rgba(15, 23, 42, 0.06);
}

.mobile-menu-overlay {
    background: rgba(15, 23, 42, 0.45);
}

.mobile-menu-btn {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.14);
    color: rgba(15, 23, 42, 0.78);
}

.mobile-menu-btn:hover {
    background: rgba(251, 188, 5, 0.18);
    border-color: rgba(251, 188, 5, 0.36);
    color: rgba(15, 23, 42, 0.82);
}

.mobile-menu-btn i {
    color: inherit;
}

.site-footer {
    box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.22);
}

.site-footer .footer-contact {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
}

.site-footer .footer-contact:hover {
    color: #ffffff;
    text-decoration: underline;
}

.medicine-dates {
    border-top-color: rgba(15, 23, 42, 0.10);
}

.date-value {
    color: rgba(15, 23, 42, 0.62);
}

@media (max-width: 768px) {
    .home-header {
        top: 44px;
    }

    .home-header-container {
        padding: 10px 14px;
        gap: 12px;
    }

    .home-logo {
        max-width: 170px;
    }

    .home-logo img {
        height: 44px;
    }

    .faq-container {
        max-width: 100%;
    }

    .reviews-carousel {
        padding-left: 8px;
        padding-right: 8px;
    }

    .review-card {
        flex: 0 0 calc(100% - 32px);
    }
}

@media (max-width: 480px) {
    .home-header {
        top: 52px;
    }

    .faq-question {
        padding-left: 16px;
        padding-right: 16px;
    }

    .faq-answer p {
        padding-left: 16px;
        padding-right: 16px;
    }

    .review-card {
        flex: 0 0 calc(100% - 24px);
    }
}

/* Button shine utilities */
.btn-shine-red {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-shine-red::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    transition: left 0.75s ease-out;
    z-index: 1;
}

.btn-shine-red:hover::before {
    left: 100%;
}

.btn-shine-red:hover {
    background: var(--ads-red);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.30);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(234, 67, 53, 0.22);
}
