
/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #006ebc; /* Medical blue */
    --primary-dark: #004e87;
    --secondary: #00b4d8;
    --accent: #f26d21; /* Warm orange accent for buttons */
    --accent-hover: #e05e15;
    --text-main: #333333;
    --text-light: #666666;
    --bg-white: #ffffff;
    --bg-gray: #f7f9fc;
    --light-blue: #eaf3fa;
    --border-color: #eaeaea;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1rem; }
.w-100 { width: 100%; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
    font-size: 1rem;
}

.btn i {
    font-size: 1.1em;
}

.btn-primary {
    background-color: var(--accent);
    color: white !important;
    box-shadow: 0 4px 15px rgba(242, 109, 33, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 109, 33, 0.4);
}

.btn-secondary {
    background-color: var(--light-blue);
    color: var(--primary) !important;
}

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

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white !important;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary) !important;
}

.btn-light {
    background-color: white;
    color: var(--primary) !important;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-lg {
    padding: 15px 32px;
    font-size: 1.1rem;
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 3px;
}

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

/* Topbar */
.topbar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    padding: 8px 0;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.topbar-links a {
    color: white;
    font-weight: 500;
}

.topbar-links a:hover {
    color: var(--accent);
}

/* Header & Nav */
.header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.main-nav a:not(.btn):hover::after,
.main-nav a.active:not(.btn)::after {
    width: 100%;
}

.main-nav a:not(.btn):hover,
.main-nav a.active:not(.btn) {
    color: var(--primary);
}

.btn-nav {
    background-color: var(--light-blue);
    color: var(--primary) !important;
    padding: 10px 20px;
    border-radius: 8px;
}
.btn-nav:hover {
    background-color: var(--primary);
    color: white !important;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, #00b4d8 100%);
    padding: 120px 0 160px;
    color: white;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 6px 15px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.trust-indicators {
    display: flex;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-item i {
    color: #4ade80;
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 1;
}

.image-wrapper {
    position: relative;
}

.main-img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 5px solid rgba(255,255,255,0.2);
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary);
    background: var(--light-blue);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.card-text h4 {
    margin: 0;
    color: var(--text-main);
    font-size: 1.1rem;
}

.card-text span {
    color: var(--text-light);
    font-size: 0.85rem;
}

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

.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(130% + 1.3px);
    height: 70px;
}

.shape-divider .shape-fill {
    fill: #ffffff;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.icon-box {
    width: 80px;
    height: 80px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.icon-box i {
    font-size: 2rem;
    color: var(--primary);
}

.feature-card:hover .icon-box {
    background: var(--primary);
}

.feature-card:hover .icon-box i {
    color: white;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Categories Section */
.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.category-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.category-img {
    height: 200px;
    background: var(--light-blue);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary) 0%, transparent 100%);
    opacity: 0.1;
}

.category-icon {
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.8;
}

.category-content {
    padding: 30px;
}

.category-content h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
}

.product-features {
    margin: 20px 0;
}

.product-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.product-features i {
    color: #4ade80;
    font-size: 0.9rem;
}

/* Brands Section */
.brands-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.brands-text {
    flex: 1;
}

.brands-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.brand-photo {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.brands-text h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.brand-item {
    display: flex;
    gap: 20px;
    background: var(--bg-gray);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.brand-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.brand-info h4 {
    margin-bottom: 5px;
}

.brand-info p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 78, 135, 0.9), rgba(0, 78, 135, 0.9)), url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
    padding: 80px 0;
    color: white;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0; /* Changed from 50px so layout fills nicely */
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contact-info-panel {
    padding: 50px;
}

/* Map fix: stretch full height of parent and remove white gaps */
.contact-map {
    width: 100%;
    min-height: 100%; /* forces map to match height of the left info panel */
    display: flex;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block; /* removes gap below iframe */
}

.detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 50px;
    height: 50px;
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.detail-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.detail-item p {
    margin: 0;
}

/* Eshop Redirect Block Fix */
.eshop-redirect {
    margin-top: 40px;
    background-color: var(--light-blue);
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid var(--primary);
}

.eshop-redirect h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.eshop-redirect h4 i {
    color: var(--primary);
}

.eshop-redirect p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background-color: #111827;
    color: #9ca3af;
    padding: 40px 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-logo .logo-icon {
    color: var(--primary);
}

.footer-links a {
    color: #9ca3af;
    margin-left: 20px;
}

.footer-links a:hover {
    color: white;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    box-shadow: var(--shadow-md);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container, .brands-wrapper {
        flex-direction: column;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    /* When stacked, map needs a defined height */
    .contact-map {
        min-height: 400px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        transition: 0.4s ease-in-out;
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        box-shadow: inset 0 10px 10px -10px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        width: 100%;
    }

    .main-nav a {
        font-size: 1.2rem;
        display: block;
        padding: 10px;
    }

    .nav-cta-item {
        margin-top: 20px;
    }

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

    .trust-indicators {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .footer-links a {
        margin: 0 10px;
    }

    .contact-info-panel {
        padding: 30px 20px;
    }
}
