/*
 * Copyright (c) Sai Medisales
 * The license text is available at LICENSE file.
 */

/* =====================================
 * CSS Custom Properties & Base Styles
 * ===================================== */
:root {
    --primary-color: #3b82f6;
    --secondary-color: #6c757d;
    --light-gray-background: #f8f9fa;
    --border-color: #dee2e6;
}

/* Custom Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.font-poppins {
    font-family: 'Poppins', sans-serif;
}
.font-inter {
    font-family: 'Inter', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================================
 * Animations & Effects
 * ===================================== */
.fade-in visible {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-hover {
    transition: all 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.pulse-animation {
    animation: pulse 2s infinite ease-in-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.success-message {
    display: none;
    animation: slideIn 0.5s ease-out;
}

/* =====================================
 * Header & Navigation
 * ===================================== */
.header-hidden {
    transform: translateY(-100%);
}
.nav-link {
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.nav-link:hover {
    background-color: rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after {
    width: 80%;
}

/* =====================================
 * Section-Specific Styles
 * ===================================== */
.hero-gradient {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #667eea 100%);
}
.hero-gradient-products {
    background: linear-gradient(135deg, #3b82f6, #60a5fa, #1d4ed8);
}
.medical-pattern {
    background-image:
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
}

.contact-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.contact-card:nth-child(2n) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.contact-card:nth-child(3n) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}
.contact-card:nth-child(4n) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.newsletter-signup {
    background-color: var(--light-gray-background);
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 8px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.newsletter-signup h2 {
    font-size: 2em;
    margin-bottom: 25px;
    color: var(--primary-color);
}
.newsletter-signup form {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.newsletter-signup input[type="email"] {
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    width: 100%;
    max-width: 350px;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.newsletter-signup input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}
.newsletter-signup button[type="submit"] {
    padding: 12px 25px;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
#newsletter-message {
    margin-top: 20px;
    font-size: 1.1em;
    color: green;
    font-weight: 500;
}

.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.business-hours {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* =====================================
 * Responsive Design
 * ===================================== */
@media (max-width: 768px) {
    .newsletter-signup h2 {
        font-size: 1.8em;
    }
    .newsletter-signup form {
        flex-direction: column;
        align-items: center;
    }
    .newsletter-signup input[type="email"],
    .newsletter-signup button[type="submit"] {
        width: 80%;
        max-width: none;
    }
}

