/* PREMIUM PHARMACEUTICAL WEBSITE ENHANCEMENTS */

/* Hero Section - Modern Pharmaceutical Design */
.hero {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(240,249,255,0.95) 100%),
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(0,102,204,0.03) 35px, rgba(0,102,204,0.03) 70px);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0,102,204,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(22,163,74,0.1) 0%, transparent 50%);
    z-index: 0;
}

/* Add hero image using pure CSS */
.hero-content::after {
    content: '';
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background:
        radial-gradient(circle at 30% 30%, rgba(0,102,204,0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(22,163,74,0.15) 0%, transparent 50%),
        linear-gradient(135deg, rgba(0,102,204,0.1) 0%, rgba(22,163,74,0.08) 100%);
    border-radius: 50%;
    filter: blur(60px);
    animation: heroFloat 8s ease-in-out infinite;
    z-index: -1;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-45%) scale(1.1); }
}

/* Premium Cards with Real Depth */
.feature-card,
.product-card,
.value-card {
    position: relative;
    transform-style: preserve-3d;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg,
        rgba(0,102,204,0.5) 0%,
        rgba(13,148,136,0.5) 50%,
        rgba(22,163,74,0.5) 100%);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(8px);
}

.feature-card:hover::before {
    opacity: 1;
}

/* Product Images - CSS Generated Pharmaceutical Pills */
.product-image {
    position: relative;
    background: linear-gradient(135deg, #e0f2fe 0%, #dcfce7 100%);
}

.product-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background:
        radial-gradient(ellipse at center, #fff 0%, transparent 50%),
        linear-gradient(135deg, rgba(0,102,204,0.3) 0%, rgba(22,163,74,0.2) 100%);
    border-radius: 50%;
    box-shadow:
        0 10px 40px rgba(0,102,204,0.3),
        inset 0 2px 10px rgba(255,255,255,0.8);
}

/* Animated Gradient Text */
.hero-title .text-gradient {
    background: linear-gradient(90deg,
        #0066cc 0%,
        #0d9488 25%,
        #16a34a 50%,
        #0d9488 75%,
        #0066cc 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShine 3s linear infinite;
}

@keyframes gradientShine {
    to { background-position: 200% center; }
}

/* Glass Cards for Quality Section */
.quality-card {
    background: linear-gradient(135deg,
        rgba(255,255,255,0.25) 0%,
        rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(30px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow:
        0 20px 60px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.5);
}

/* Premium Button Effects */
.btn-primary {
    background: linear-gradient(135deg, #0066cc 0%, #004a99 100%);
    box-shadow:
        0 10px 30px rgba(0,102,204,0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
        transparent 30%,
        rgba(255,255,255,0.3) 50%,
        transparent 70%);
    transform: rotate(45deg);
    animation: buttonShine 3s ease-in-out infinite;
}

@keyframes buttonShine {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Section Backgrounds */
.section-alt {
    background:
        linear-gradient(180deg, rgba(249,250,251,0) 0%, rgba(249,250,251,1) 100%),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 50px,
            rgba(0,102,204,0.02) 50px,
            rgba(0,102,204,0.02) 51px);
}

/* Floating Animation for All Cards */
@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.feature-card:hover,
.product-card:hover,
.value-card:hover {
    animation: cardFloat 2s ease-in-out infinite;
}

/* Premium Shadows */
.feature-card:hover {
    box-shadow:
        0 30px 60px -15px rgba(0,102,204,0.4),
        0 0 0 1px rgba(0,102,204,0.1),
        inset 0 1px 0 rgba(255,255,255,0.8);
}

.product-card:hover {
    box-shadow:
        0 30px 60px -15px rgba(0,102,204,0.3),
        0 0 0 1px rgba(0,102,204,0.15);
}

/* Filter Buttons Premium Style */
.filter-btn {
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(0,102,204,0.1) 0%,
        rgba(22,163,74,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    opacity: 1;
}

.filter-btn.active {
    background: linear-gradient(135deg, #0066cc 0%, #0d9488 100%);
    box-shadow:
        0 10px 30px rgba(0,102,204,0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

/* Research Cards with Images */
.research-card {
    background:
        linear-gradient(135deg, rgba(239,246,255,1) 0%, rgba(240,253,244,0.8) 100%),
        url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"%3E%3Cpath d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(0,102,204,0.1)" stroke-width="0.5"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="100" height="100" fill="url(%23grid)"/%3E%3C/svg%3E');
    background-size: cover, 20px 20px;
}

/* Footer Premium Gradient */
.footer {
    background:
        linear-gradient(135deg,
            rgba(0,74,153,1) 0%,
            rgba(0,102,204,0.95) 40%,
            rgba(13,148,136,0.9) 100%),
        repeating-linear-gradient(45deg,
            transparent,
            transparent 35px,
            rgba(255,255,255,0.05) 35px,
            rgba(255,255,255,0.05) 70px);
}

/* Newsletter Form Premium */
.newsletter-form {
    position: relative;
}

.newsletter-form input {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
}

.newsletter-form button {
    background: linear-gradient(135deg,
        rgba(255,255,255,0.3) 0%,
        rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.newsletter-form button:hover {
    background: rgba(255,255,255,0.4);
    transform: scale(1.05);
}

/* Contact Info Cards */
.info-card {
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateX(10px);
    background: rgba(0,102,204,0.05);
    padding: 15px;
    border-radius: 12px;
}

.info-icon {
    background: linear-gradient(135deg, #0066cc 0%, #0d9488 100%);
    box-shadow: 0 8px 20px rgba(0,102,204,0.3);
}
