@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #1d4ed8;
}

.hero-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.pharmacy-card:hover .pharmacy-overlay {
    opacity: 1;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.prescription-upload {
    border: 2px dashed #cbd5e0;
    transition: all 0.3s ease;
}

.prescription-upload:hover {
    border-color: #3b82f6;
    background-color: #f8fafc;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate-fadeIn {
    animation: fadeIn 0.5s ease-out forwards;
}

.gradient-bg {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.drug-card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.drug-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.legal-section {
    counter-reset: section;
}

.legal-section h2:before {
    counter-increment: section;
    content: counter(section) ". ";
}

.legal-subsection {
    counter-reset: subsection;
}

.legal-subsection h3:before {
    counter-increment: subsection;
    content: counter(section) "." counter(subsection) " ";
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s;
}

.scroll-top.visible {
    opacity: 1;
}

.gradient-text {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-link:hover {
    color: #3b82f6;
    transition: all 0.3s ease;
}

.section-divider {
    border-top: 1px solid #2e2e3a;
    margin: 2rem 0;
}

.privacy-item:hover {
    background-color: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(44, 108, 191, 0.2);
}

::selection {
    background: #1d4ed8;
    color: white;
}


.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
}


.glow-text {
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.6);
}

.border-gradient {
    border-image: linear-gradient(90deg, #6366f1, #8b5cf6) 1;
}

.contact-card {
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.glow-text {
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.6);
}

.border-gradient {
    border-image: linear-gradient(90deg, #6366f1, #8b5cf6) 1;
}


.pharmacy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.active-page {
    background-color: #3b82f6;
    color: white;
}

.emergency-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}


.upload-area {
    border: 2px dashed #cbd5e0;
    transition: all 0.3s ease;
    background-color: #f8fafc;
}

.upload-area:hover {
    border-color: #3b82f6;
    background-color: #f0f7ff;
}

.upload-area.active {
    border-color: #3b82f6;
    background-color: #ebf4ff;
}

.file-item {
    transition: all 0.3s ease;
}

.file-item:hover {
    background-color: #f0f7ff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.animate-fadeIn {
    animation: fadeIn 0.3s ease-out forwards;
}


.med-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.prescription-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
    background-color: #3b82f6;
    color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.animate-fadeIn {
    animation: fadeIn 0.3s ease-out forwards;
}

.search-input:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}


:where([class^="ri-"])::before {
    content: "\f3c2";
}

.search-input:focus {
    outline: none;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.category-pill {
    transition: all 0.3s ease;
}

.category-pill:hover {
    transform: scale(1.05);
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.newsletter-input:focus {
    outline: none;
    border-color: #3b82f6;
}
