/* Base Variables and Reset */
:root {
    --primary-white: #FFFFFF;
    --medical-blue: #0066CC;
    --medical-blue-hover: #0052a3;
    --text-black: #111827;
    --text-dark-gray: #4B5563;
    --highlight-yellow: #FFC300;
    --danger-red: #E63946;
    --bg-light: #F8FBFF;
    --shadow-soft: 0 10px 30px rgba(0, 102, 204, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 102, 204, 0.15);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --border-subtle: rgba(0, 102, 204, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Intro Preloader Overlay */
.intro-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--primary-white);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.intro-preloader video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}



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

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--primary-white);
    color: var(--text-dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-black);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.bg-light {
    background-color: var(--bg-light);
}

.text-blue {
    color: var(--medical-blue);
}

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

.mt-40 {
    margin-top: 40px;
}

.section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-black);
}

.section-title.text-blue {
    color: var(--medical-blue);
}

.section-title.align-left {
    text-align: left;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--medical-blue);
    color: var(--primary-white);
    border: 2px solid var(--medical-blue);
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    background-color: var(--medical-blue-hover);
    border-color: var(--medical-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--medical-blue);
    border: 2px solid var(--medical-blue);
}

.btn-outline:hover {
    background-color: var(--medical-blue);
    color: var(--primary-white);
    transform: translateY(-2px);
}

.btn-danger {
    background-color: #E53935;
    color: #FFFFFF;
    border: 2px solid #E53935;
}

.btn-danger:hover {
    background-color: #D32F2F;
    border-color: #D32F2F;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.4);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

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

.nav-logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-black);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--medical-blue);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--medical-blue);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-black);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 160px 0 100px;
    background-color: var(--primary-white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 0 0 60%;
    text-align: left;
}

.hero-visual {
    flex: 0 0 40%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--highlight-yellow);
    color: var(--text-black);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 30px;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(255, 195, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.1s;
}

.hero-headline {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--text-black);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-dark-gray);
    margin-bottom: 40px;
    font-weight: 500;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

.stat-card {
    background-color: transparent;
    padding: 16px 0;
    border-radius: 0;
    box-shadow: none;
    border-top: none;
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: none;
    transform: translateY(-3px);
}

.stat-number {
    font-size: 2.2rem;
    color: var(--medical-blue);
    line-height: 1;
    margin-bottom: 8px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40%;
    height: 2px;
    background-color: var(--medical-blue);
    opacity: 0.5;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-dark-gray);
    font-weight: 500;
    margin-top: 10px;
}

/* Right Column Visuals */
.visual-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,102,204,0.05) 0%, rgba(0,102,204,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.india-map-bg {
    position: absolute;
    width: 2800px;
    height: auto;
    object-fit: contain;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0.9;
    mix-blend-mode: multiply;
}

.visual-base-card {
    position: relative;
    width: 480px;
    height: 360px;
    background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(248,252,255,0.4) 100%);
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 102, 204, 0.08);
    border: 1px solid rgba(255,255,255,0.6);
    backdrop-filter: blur(16px);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Scene container */
.scene-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 40px 60px 40px;
    position: relative;
    z-index: 1;
}

/* Characters */
.character {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.char-head {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin-bottom: -2px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.eyes {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.eye {
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.eye::after {
    content: '';
    width: 4px;
    height: 4px;
    background-color: #1a1a1a;
    border-radius: 50%;
}

.smile {
    width: 12px;
    height: 6px;
    border: 2px solid transparent;
    border-bottom-color: #1a1a1a;
    border-radius: 50%;
    margin-top: 2px;
}

.bg-blue { background-color: var(--medical-blue); }
.bg-gray { background-color: #CCCCCC; }
.bg-lightblue { background-color: #E8F4FF; }
.bg-skin { background-color: #F5CBA7; }

.char-body {
    width: 54px;
    height: 64px;
    border-radius: 12px 12px 4px 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* CSS Details */
.css-tie {
    width: 0; 
    height: 0; 
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 24px solid white;
    margin-top: -20px;
}

.css-red-cross {
    position: relative;
    width: 20px;
    height: 6px;
    background-color: var(--danger-red);
}
.css-red-cross::after {
    content: '';
    position: absolute;
    top: -7px;
    left: 7px;
    width: 6px;
    height: 20px;
    background-color: var(--danger-red);
}

.text-darkgray { color: #4B5563; }

.char-label {
    margin-top: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

/* Chat Bubbles */
.chat-bubble {
    position: absolute;
    top: -60px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.chat-bubble::after {
    content: '';
    position: absolute;
    bottom: -5px;
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
}

.left-bubble {
    background-color: var(--medical-blue);
    color: var(--primary-white);
    right: -20px;
    animation-delay: 1s;
}

.left-bubble::after {
    background-color: var(--medical-blue);
    left: 20px;
}

.right-bubble {
    background-color: var(--primary-white);
    color: var(--medical-blue);
    border: 1px solid var(--medical-blue);
    left: -20px;
    animation-delay: 1.5s;
}

.right-bubble::after {
    background-color: var(--primary-white);
    border-right: 1px solid var(--medical-blue);
    border-bottom: 1px solid var(--medical-blue);
    right: 20px;
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Path and Moving Package */
.path-container {
    flex-grow: 1;
    height: 80px;
    position: absolute;
    top: 50%;
    left: 90px;
    right: 90px;
    transform: translateY(-50%);
    z-index: 1;
}

.dotted-arc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    border: 3px dashed var(--medical-blue);
    border-bottom: none;
    border-radius: 50% / 100% 100% 0 0;
    opacity: 0.4;
}

.package-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    pointer-events: none;
}

.package-x {
    position: absolute;
    left: -18px;
    animation: moveX 5s infinite;
}

.package-y {
    position: absolute;
    top: 0;
    width: 36px;
    height: 36px;
    background: var(--primary-white);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: moveY 5s infinite;
}

.package-y svg {
    width: 20px;
    height: 20px;
}

@keyframes moveX {
    0% { left: -18px; opacity: 0; }
    10% { left: -18px; opacity: 1; animation-timing-function: linear; }
    75% { left: calc(100% - 18px); opacity: 1; }
    85% { left: calc(100% - 18px); opacity: 0; }
    100% { left: calc(100% - 18px); opacity: 0; }
}

@keyframes moveY {
    0%, 10% { top: 62px; animation-timing-function: cubic-bezier(0.33, 1, 0.68, 1); }
    42.5% { top: -18px; animation-timing-function: cubic-bezier(0.32, 0, 0.67, 0); }
    75%, 100% { top: 62px; }
}

.floating-card {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-black);
    width: max-content;
    animation: floatBob 6s ease-in-out infinite;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 102, 204, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medical-blue);
}

.icon-circle svg {
    width: 20px;
    height: 20px;
}

.icon-solid {
    background-color: var(--medical-blue);
    color: var(--primary-white);
}

.card-1 {
    top: -5px;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    top: 18px;
    left: -50px;
    animation-delay: 2s;
}

.card-3 {
    bottom: -30px;
    right: 20px;
    animation-delay: 4s;
}

@keyframes floatBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trusted By Section */
.trusted-by {
    padding: 60px 0;
    background-color: #F0F7FF;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
}

.trusted-by .section-title {
    font-size: 1.5rem;
    color: #0066CC;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    font-weight: bold;
}

.trusted-by .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #FFC300;
}

.marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scrollMarquee 60s linear infinite;
    gap: 80px;
    padding: 0 40px;
    align-items: center;
}

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

.marquee-track img {
    height: 70px;
    width: 140px;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;
}

.marquee-track img:hover {
    transform: scale(1.1);
}

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

/* About Snippet Section */
.about-snippet {
    padding: 0;
    overflow: hidden;
    position: relative;
}

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

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    padding: 20px;
    background-color: var(--primary-white);
    box-shadow: var(--shadow-soft);
}

.perspective-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 50vw;
    perspective: 1000px;
    overflow: hidden;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
}

.three-d-marquee {
    display: flex;
    gap: 24px;
    transform: rotateX(45deg) rotateY(0deg) rotateZ(45deg);
    transform-style: preserve-3d;
    width: 280%;
    height: 280%;
    margin-top: -40%;
    margin-left: 0%;
}

.marquee-column {
    display: flex;
    flex-direction: column;
    width: 33.333%;
}

.marquee-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 24px;
}

.marquee-column img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: contain;
    background-color: var(--primary-white);
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    padding: 16px;
}

.move-up {
    animation: moveUp 30s linear infinite;
}

.move-down {
    animation: moveDown 35s linear infinite;
}

@keyframes moveUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes moveDown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary-white);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--medical-blue);
    border-left: 4px solid var(--highlight-yellow);
}

.about-badge svg {
    width: 24px;
    height: 24px;
}

.about-header-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.about-text {
    padding: 60px 40px 60px max(24px, calc((100vw - 1200px) / 2 + 24px));
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.about-text .section-title {
    white-space: nowrap;
    font-size: 2rem;
}

.about-buttons-wrapper {
    display: flex;
    gap: 16px;
    align-self: flex-start;
}

.about-buttons-wrapper .btn {
    padding: 14px 32px;
    width: auto;
}

.about-us-pill {
    display: inline-flex;
    align-items: center;
    background-color: #0066CC;
    color: #FFFFFF;
    padding: 8px 18px;
    border-radius: 4px 20px 20px 4px;
    font-size: 0.875rem;
    font-weight: 700;
    border-left: 4px solid #FFC300;
}

.header-divider {
    width: 2px;
    height: 24px;
    background-color: var(--border-subtle);
}

.about-snippet-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.feature-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--text-dark-gray);
    font-weight: 500;
}

.bullet-icon {
    width: 24px;
    height: 24px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066CC;
    flex-shrink: 0;
}

.bullet-icon svg {
    width: 14px;
    height: 14px;
}

.about-desc {
    font-size: 1.125rem;
    margin-bottom: 32px;
}

/* Products Section */
.product-showcase {
    padding: 100px 0;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 80px; /* Extra space to ensure arrows float neatly outside */
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
    padding: 10px 0; /* Add padding for shadow visibility */
    margin: -10px 0;
}

.carousel-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.4s ease-in-out;
    gap: 30px;
}

.carousel-track .product-card {
    flex: 0 0 calc(25% - 22.5px); /* Strict flex-basis and width so it never exceeds size */
    width: calc(25% - 22.5px);
}

@media (max-width: 1200px) {
    .carousel-track .product-card {
        flex: 0 0 calc(33.333% - 20px);
        width: calc(33.333% - 20px);
    }
}
@media (max-width: 768px) {
    .carousel-track .product-card {
        flex: 0 0 calc(50% - 15px);
        width: calc(50% - 15px);
    }
}
@media (max-width: 480px) {
    .carousel-track .product-card {
        flex: 0 0 100%;
        width: 100%;
    }
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-white);
    color: var(--medical-blue);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: var(--transition);
}

.carousel-btn:hover {
    background-color: var(--medical-blue);
    color: var(--primary-white);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--primary-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.card-image-placeholder {
    width: 100%;
    height: 200px;
    background-color: #F3F4F6;
    background-image: linear-gradient(45deg, #F9FAFB 25%, transparent 25%, transparent 75%, #F9FAFB 75%, #F9FAFB), 
                      linear-gradient(45deg, #F9FAFB 25%, transparent 25%, transparent 75%, #F9FAFB 75%, #F9FAFB);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-badge {
    display: inline-block;
    padding: 4px 10px;
    background-color: rgba(0, 102, 204, 0.1);
    color: var(--medical-blue);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    align-self: flex-start;
}

.product-name {
    font-size: 1.25rem;
    color: var(--medical-blue);
    margin-bottom: 8px;
}

.brand-name {
    font-size: 0.875rem;
    color: var(--text-dark-gray);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Store Address Section */
.store-address {
    padding: 100px 0;
}

.store-card {
    background-color: var(--primary-white);
    border-radius: 24px;
    box-shadow: var(--shadow-hover);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border-left: 8px solid var(--medical-blue);
}

.store-details {
    padding: 60px;
}

.store-name {
    font-size: 2rem;
    color: var(--medical-blue);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-item p {
    font-size: 1.125rem;
    color: var(--text-black);
}

.store-buttons {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.store-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-color: #E5E7EB;
    position: relative;
}

.map-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #9CA3AF;
}

.map-placeholder svg {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
}

/* Footer Section */
.footer {
    background-color: var(--primary-white);
    border-top: 1px solid var(--border-subtle);
    padding-top: 80px;
}

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

.footer-logo {
    height: 40px;
    margin-bottom: 24px;
}

.footer-brand p {
    font-size: 1rem;
    color: var(--text-dark-gray);
    max-width: 300px;
}

.footer-links h3,
.footer-contact h3 {
    color: var(--medical-blue);
    margin-bottom: 24px;
    font-size: 1.25rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-dark-gray);
}

.footer-links ul li a:hover {
    color: var(--medical-blue);
    padding-left: 4px;
}

.footer-contact p {
    margin-bottom: 12px;
    color: var(--text-dark-gray);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: #9CA3AF;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
    }
    
    .hero-content {
        flex: 0 0 100%;
        text-align: center;
    }
    
    .hero-tagline {
        margin: 0 auto 40px;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        flex: 0 0 100%;
        margin-top: 60px;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .stat-number::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .store-card {
        grid-template-columns: 1fr;
    }
    
    .store-details {
        padding: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

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

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-content {
    background-color: var(--primary-white);
    padding: 24px;
    border-radius: 12px;
    position: relative;
    max-width: 90%;
    width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-dark-gray);
    line-height: 1;
}

.visiting-card-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 24px;
    margin-top: 16px;
    box-shadow: var(--shadow-card);
}

.modal-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
}


/* Nav Contact Button */
.nav-contact-btn {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    background: linear-gradient(to right, #2563eb, #1d4ed8);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease-out;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.nav-contact-btn:hover {
    background: linear-gradient(to right, #1d4ed8, #1e40af);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.nav-contact-btn:active {
    transform: scale(0.95);
}

.nav-contact-btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 1;
}

.nav-contact-btn-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-contact-btn-icon svg {
    width: 20px;
    height: 20px;
    color: white;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-contact-btn:hover .nav-contact-btn-icon svg {
    transform: scale(1.1) rotate(10deg);
}

.nav-contact-btn-text {
    transition: transform 0.3s ease-out;
}

.nav-contact-btn:hover .nav-contact-btn-text {
    transform: translateX(4px);
}

.nav-contact-btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-12deg);
    transition: left 0.7s ease-out;
    opacity: 0;
}

.nav-contact-btn:hover .nav-contact-btn-shine {
    left: 100%;
    opacity: 1;
}


/* Hero Shop Button */
.hero-shop-btn {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    background: #ffffff;
    color: #2563eb !important;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease-out;
    border: 2px solid #2563eb;
}

.hero-shop-btn:hover {
    background: #f8fafc;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.hero-shop-btn:active {
    transform: scale(0.95);
}

.hero-shop-btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 1;
}

.hero-shop-btn-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-shop-btn-icon svg {
    width: 20px;
    height: 20px;
    color: #2563eb;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-shop-btn:hover .hero-shop-btn-icon svg {
    transform: scale(1.1) rotate(-10deg);
}

.hero-shop-btn-text {
    transition: transform 0.3s ease-out;
}

.hero-shop-btn:hover .hero-shop-btn-text {
    transform: translateX(4px);
}

.hero-shop-btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(37, 99, 235, 0.1), transparent);
    transform: skewX(-12deg);
    transition: left 0.7s ease-out;
    opacity: 0;
}

.hero-shop-btn:hover .hero-shop-btn-shine {
    left: 100%;
    opacity: 1;
}

/* Contact Options Modal */
.contact-options-content {
    width: 400px;
    padding: 32px;
}
.contact-modal-title {
    color: var(--medical-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}
.contact-modal-subtitle {
    color: var(--text-gray);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 32px;
}
.contact-btn-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.contact-option-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    color: white !important;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}
.contact-option-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.btn-call-now {
    background-color: var(--medical-blue);
}
.btn-whatsapp-now {
    background-color: #25D366;
}
.contact-btn-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.contact-btn-subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
}


/* Address Section Rich Buttons */
.store-rich-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.store-rich-btn .nav-contact-btn-content {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}
.store-rich-btn .nav-contact-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.store-rich-btn .nav-contact-btn-icon svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}
.store-rich-btn .nav-contact-btn-text {
    transition: transform 0.3s ease;
}
.store-rich-btn:hover .nav-contact-btn-icon svg {
    transform: scale(1.1) rotate(10deg);
}
.store-rich-btn:hover .nav-contact-btn-text {
    transform: translateX(4px);
}
.store-rich-btn .hero-shop-btn-shine,
.store-rich-btn .nav-contact-btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    transition: all 0.5s ease;
    opacity: 0;
    z-index: 0;
}
.store-rich-btn:hover .hero-shop-btn-shine,
.store-rich-btn:hover .nav-contact-btn-shine {
    left: 100%;
    opacity: 1;
}


.store-rich-btn.btn-outline .nav-contact-btn-icon svg {
    color: currentColor !important;
}


/* Make bottom View All buttons longer */
.text-center.mt-40 .store-rich-btn {
    min-width: 240px;
    padding: 14px 48px;
}

/* =========================================================
   COMPREHENSIVE MOBILE OPTIMIZATIONS (max-width: 768px)
   ========================================================= */
@media (max-width: 768px) {
    /* Global Resets */
    body, html {
        overflow-x: hidden;
        max-width: 100vw;
        width: 100%;
    }
    
    .section, section {
        padding: 60px 0 !important;
    }

    /* Navbar */
    .nav-links {
        padding: 20px 24px;
        align-items: stretch;
        gap: 16px;
    }
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    .nav-contact-btn {
        width: 100%;
    }

    /* Hero Section */
    .hero {
        padding: 120px 0 60px !important;
        min-height: auto;
    }
    .hero-headline {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    .hero-tagline {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
        margin-top: 40px;
        align-items: center; /* Balance heights so columns look even */
    }
    .stat-card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: 100%;
        padding: 0;
    }
    .stat-number {
        font-size: 1.8rem; /* Scale down slightly for mobile */
    }
    .stat-number::after {
        display: none; /* remove separator line on mobile grid */
    }
    .hero-visual {
        height: auto;
        min-height: 300px;
        margin-top: 40px;
    }

    /* Products & Grids */
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
    .product-card {
        border-radius: 12px;
    }
    .card-content {
        padding: 12px;
    }
    .product-name {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    .brand-name {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    .card-content .btn {
        padding: 10px;
        font-size: 0.85rem;
    }

    /* Modals */
    .modal-content {
        width: 95%;
        padding: 20px;
    }
    .contact-options-content {
        width: 95%;
    }
    .visiting-card-image {
        border-radius: 8px;
    }

    /* Trusted Brands */
    .trusted-by {
        padding: 24px 0 !important;
    }
    .trusted-by .section-title {
        margin-bottom: 20px !important;
        font-size: 1.2rem !important;
    }
    .logo-track {
        height: 40px;
    }
    .logo-item img {
        max-height: 24px;
        max-width: 80px;
    }

    /* Store Address & Maps */
    .store-details {
        padding: 30px;
    }
    .store-name {
        font-size: 1.6rem;
    }
    .store-buttons {
        flex-direction: column;
    }
    .store-buttons .btn {
        width: 100%;
        text-align: center;
    }
    .store-map {
        min-height: 300px;
    }
    .store-map iframe {
        border-radius: 0 0 24px 24px !important;
    }
}

/* =========================================================
   SMALL MOBILE OPTIMIZATIONS (max-width: 480px)
   ========================================================= */
@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.8rem;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }
    .card-image-placeholder, .product-card img {
        height: 140px !important;
    }
    .product-name {
        font-size: 0.95rem;
    }
    .card-content {
        padding: 10px;
    }
    .card-content .btn {
        padding: 8px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .modal-actions {
        flex-direction: column;
    }
    .modal-actions .btn {
        width: 100%;
    }
}

/* =========================================================
   COMPREHENSIVE MOBILE OPTIMIZATIONS (max-width: 768px)
   Based on exact requirements 1-12
   ========================================================= */

/* 11. GLOBAL FIXES */
@media (max-width: 768px) {
    body, html {
        overflow-x: hidden;
        max-width: 100vw;
    }
    .section, section, .container {
        max-width: 100%;
        box-sizing: border-box;
    }
    .container {
        padding: 0 16px;
    }
    img {
        max-width: 100%;
        height: auto;
    }

    /* 1. HERO SECTION */
    .hero-visual {
        display: none !important;
    }

    /* 2. ABOUT SECTION */
    .about-header h2, .section-title {
        font-size: 1.6rem !important;
        width: 100%;
        white-space: normal !important;
        overflow: hidden;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .about-desc {
        max-width: 100%;
        overflow-wrap: break-word;
    }
    .about-buttons-wrapper {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100%;
        gap: 8px !important;
    }
    .about-buttons-wrapper .btn {
        flex: 1;
        white-space: nowrap !important;
        padding: 12px 8px !important;
        font-size: 0.9rem !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .about-image-grid, .about-visual, .about-image-wrapper {
        display: none !important;
    }

    /* 3. BEST SELLERS & 4. CAROUSEL CARDS */
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
    .product-name {
        font-size: 0.95rem !important;
    }
    .product-card {
        height: 100%;
    }
    /* Buttons in product card */
    .card-content .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    /* Global View More buttons below grids */
    .text-center.mt-40 .btn {
        width: 100%;
        display: block;
        margin-top: 16px;
    }

    /* 4. FEATURED PRODUCTS (CAROUSEL) */
    .carousel-container {
        padding: 0 !important;
    }
    .carousel-viewport {
        overflow: visible !important;
    }
    .carousel-track {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        transform: none !important;
    }
    .carousel-track .product-card {
        flex: none !important;
        width: 100% !important;
    }
    .carousel-btn {
        display: none !important;
    }

    /* 5. STORE ADDRESS */
    .contact-item p {
        overflow-wrap: break-word;
        word-break: break-all;
    }
    .store-details {
        max-width: 100%;
        padding: 30px 16px;
    }
    .store-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .store-buttons .btn {
        width: 100%;
        text-align: center;
    }
    .store-map {
        width: 100%;
        height: 200px;
        min-height: 200px;
    }
    .store-map iframe {
        border-radius: 0 0 24px 24px !important;
    }

    /* 6. FOOTER */
    .footer-grid {
        display: flex !important;
        flex-direction: column;
        gap: 24px !important;
    }
    .footer-brand, .footer-links, .footer-contact {
        text-align: left;
    }
    .footer-brand p, .footer-links a, .footer-contact p {
        font-size: 0.9rem;
    }
    /* Make contact button in footer full width if it exists */
    .footer .btn {
        width: 100%;
        text-align: center;
    }

    /* 12. NAVBAR MOBILE */
    .nav-links.active {
        background-color: var(--primary-white);
        width: 100%;
        padding: 16px 0;
    }
    .nav-links li {
        width: 100%;
        padding: 8px 16px;
        box-sizing: border-box;
    }
    .nav-links li a {
        display: block;
        width: 100%;
    }
    .nav-contact-btn {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}
