/* BioMonit Tower Healthcare Monitoring Solution Styles */

:root {
    --primary-color: #0066cc;
    --secondary-color: #004d99;
    --accent-color: #3399ff;
    --light-color: #f0f8ff;
    --dark-color: #333;
    --success-color: #28a745;
    --hospital-bg-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'1200\' height=\'600\' viewBox=\'0 0 1200 600\'%3E%3Crect width=\'1200\' height=\'600\' fill=\'%23004080\'/%3E%3Cpath d=\'M0 300 Q300 200 600 300 T1200 300\' fill=\'%230066cc\' opacity=\'0.3\'/%3E%3Cpath d=\'M0 350 Q300 250 600 350 T1200 350\' fill=\'%233399ff\' opacity=\'0.3\'/%3E%3Ccircle cx=\'900\' cy=\'120\' r=\'60\' fill=\'%23ffcc00\' opacity=\'0.8\'/%3E%3Crect x=\'350\' y=\'330\' width=\'500\' height=\'270\' fill=\'%23003366\'/%3E%3Crect x=\'350\' y=\'330\' width=\'500\' height=\'60\' fill=\'%230066cc\'/%3E%3Crect x=\'400\' y=\'430\' width=\'80\' height=\'170\' fill=\'%23001a33\'/%3E%3Crect x=\'520\' y=\'430\' width=\'160\' height=\'100\' fill=\'%23001a33\'/%3E%3Crect x=\'720\' y=\'430\' width=\'80\' height=\'170\' fill=\'%23001a33\'/%3E%3Cpath d=\'M580 380 L620 380 L620 330 L580 330 Z\' fill=\'%23001a33\'/%3E%3Cpath d=\'M550 260 L650 260 L650 330 L550 330 Z\' fill=\'%230066cc\'/%3E%3Cpath d=\'M580 220 L620 220 L620 260 L580 260 Z\' fill=\'%23001a33\'/%3E%3Crect x=\'420\' y=\'450\' width=\'40\' height=\'40\' fill=\'%2300ccff\' opacity=\'0.8\'/%3E%3Crect x=\'420\' y=\'510\' width=\'40\' height=\'40\' fill=\'%2300ccff\' opacity=\'0.8\'/%3E%3Crect x=\'540\' y=\'450\' width=\'40\' height=\'40\' fill=\'%2300ccff\' opacity=\'0.8\'/%3E%3Crect x=\'600\' y=\'450\' width=\'40\' height=\'40\' fill=\'%2300ccff\' opacity=\'0.8\'/%3E%3Crect x=\'740\' y=\'450\' width=\'40\' height=\'40\' fill=\'%2300ccff\' opacity=\'0.8\'/%3E%3Crect x=\'740\' y=\'510\' width=\'40\' height=\'40\' fill=\'%2300ccff\' opacity=\'0.8\'/%3E%3Cpath d=\'M150 550 C150 550, 100 450, 200 450 C300 450, 250 550, 250 550 Z\' fill=\'%23006600\'/%3E%3Cpath d=\'M950 550 C950 550, 900 470, 1000 470 C1100 470, 1050 550, 1050 550 Z\' fill=\'%23006600\'/%3E%3Cpath d=\'M850 550 C850 550, 820 500, 880 500 C940 500, 910 550, 910 550 Z\' fill=\'%23006600\'/%3E%3C/svg%3E');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f8f9fa;
}

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

header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Hero section */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--secondary-color);
}

.btn-accent {
    background-color: var(--accent-color);
}

.btn-accent:hover {
    background-color: var(--primary-color);
}

.hero-badge {
    margin-top: 1.5rem;
}

.badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    margin: 0.3rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-cta {
    margin-bottom: 1rem;
}

section {
    padding: 4rem 0;
    scroll-margin-top: 70px; /* For smooth scrolling with sticky header */
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-heading p {
    font-size: 1.2rem;
    color: #666;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.specs {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
}

.specs h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.spec-item {
    margin-bottom: 0.5rem;
}

.spec-label {
    font-weight: 600;
}

.applications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.application-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.application-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

/* Application card images */
.patient-safety-image {
    background-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'800\' height=\'600\' viewBox=\'0 0 800 600\'%3E%3Crect width=\'800\' height=\'600\' fill=\'%23f0f8ff\'/%3E%3Ccircle cx=\'400\' cy=\'200\' r=\'100\' fill=\'%23f0f8ff\' stroke=\'%230066cc\' stroke-width=\'15\'/%3E%3Cpath d=\'M400 300 L400 500 M300 400 L500 400\' stroke=\'%230066cc\' stroke-width=\'15\'/%3E%3Cpath d=\'M300 200 A100 100 0 0 1 500 200\' stroke=\'%230066cc\' stroke-width=\'10\' fill=\'none\'/%3E%3C/svg%3E');
}

.virtual-nursing-image {
    background-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'800\' height=\'600\' viewBox=\'0 0 800 600\'%3E%3Crect width=\'800\' height=\'600\' fill=\'%23f0f8ff\'/%3E%3Crect x=\'200\' y=\'150\' width=\'400\' height=\'300\' rx=\'20\' ry=\'20\' fill=\'%23f0f8ff\' stroke=\'%230066cc\' stroke-width=\'15\'/%3E%3Ccircle cx=\'400\' cy=\'250\' r=\'50\' fill=\'%230066cc\'/%3E%3Crect x=\'250\' y=\'350\' width=\'300\' height=\'50\' rx=\'10\' ry=\'10\' fill=\'%233399ff\'/%3E%3Cpath d=\'M300 150 L300 100 L500 100 L500 150\' stroke=\'%230066cc\' stroke-width=\'10\' fill=\'none\'/%3E%3Ccircle cx=\'400\' cy=\'100\' r=\'20\' fill=\'%230066cc\'/%3E%3C/svg%3E');
}

.security-image {
    background-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'800\' height=\'600\' viewBox=\'0 0 800 600\'%3E%3Crect width=\'800\' height=\'600\' fill=\'%23f0f8ff\'/%3E%3Crect x=\'300\' y=\'150\' width=\'200\' height=\'300\' rx=\'10\' ry=\'10\' fill=\'%23f0f8ff\' stroke=\'%230066cc\' stroke-width=\'15\'/%3E%3Ccircle cx=\'400\' cy=\'250\' r=\'50\' fill=\'%233399ff\' opacity=\'0.5\'/%3E%3Crect x=\'350\' y=\'350\' width=\'100\' height=\'50\' rx=\'10\' ry=\'10\' fill=\'%230066cc\'/%3E%3Ccircle cx=\'400\' cy=\'375\' r=\'10\' fill=\'%23ffcc00\'/%3E%3Cpath d=\'M480 200 A70 70 0 0 1 550 270\' stroke=\'%23dc3545\' stroke-width=\'5\' fill=\'none\' stroke-dasharray=\'10,5\'/%3E%3Ccircle cx=\'550\' cy=\'270\' r=\'15\' fill=\'%23dc3545\'/%3E%3C/svg%3E');
}

.application-content {
    padding: 1.5rem;
}

.application-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.application-content ul {
    list-style-position: inside;
    margin-top: 1rem;
}

.cta {
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-column h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

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

.copyright {
    margin-top: 2rem;
    text-align: center;
    color: #ccc;
    padding-top: 2rem;
    border-top: 1px solid #555;
}

/* Integration Styles */
.integration-content {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.integration-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.integration-column h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.integration-column ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.integration-column ul li {
    margin-bottom: 0.5rem;
}

.standards-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.standard-badge {
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 0.6rem 1rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--primary-color);
}

/* Contact Form Styles */
.contact-form-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
}

.full-width {
    width: 100%;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

textarea {
    resize: vertical;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    position: relative;
    font-size: 0.9rem;
    color: #666;
}

.checkbox-container input {
    width: auto;
}

.form-submit {
    text-align: right;
}

.contact-info {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    height: fit-content;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--primary-color);
    width: 25px;
}

.contact-cta {
    margin-top: 2rem;
    border-top: 1px solid #ddd;
    padding-top: 1.5rem;
}

.contact-cta h4 {
    margin-bottom: 1rem;
}

/* Notification system */
.notification-container {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    pointer-events: none; /* Allow clicking through the container */
}

.notification {
    background-color: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    border-radius: 5px;
    padding: 15px 20px;
    margin: 0 20px;
    display: flex;
    align-items: center;
    max-width: 600px;
    width: auto;
    pointer-events: auto; /* Make the notification itself clickable */
    animation: slideDown 0.5s ease-out forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.notification.success {
    border-left: 4px solid var(--success-color);
}

.notification.error {
    border-left: 4px solid #dc3545;
}

.notification-icon {
    margin-right: 15px;
    font-size: 24px;
}

.notification.success .notification-icon {
    color: var(--success-color);
}

.notification.error .notification-icon {
    color: #dc3545;
}

.notification-content {
    flex-grow: 1;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.notification-message {
    color: #666;
}

.notification-close {
    color: #aaa;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    margin-left: 10px;
    transition: color 0.3s;
}

.notification-close:hover {
    color: #333;
}

/* Form message styles */
.success-message, .error-message {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Default background image for hospital monitoring */
.hospital-monitoring-bg {
    background-image: var(--hospital-bg-image);
}

/* Fix for hospital-monitoring.jpg references */
[style*="hospital-monitoring.jpg"] {
    background-image: var(--hospital-bg-image) !important;
}

/* Fix for any img elements with missing sources */
img[src$=".jpg"], 
img[src$=".png"], 
img[src$=".gif"], 
img[src$=".jpeg"] {
    position: relative;
}

img[src$=".jpg"]::before, 
img[src$=".png"]::before, 
img[src$=".gif"]::before, 
img[src$=".jpeg"]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-color);
    background-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'200\' height=\'200\' viewBox=\'0 0 200 200\'%3E%3Crect width=\'200\' height=\'200\' fill=\'%23f0f8ff\'/%3E%3Cpath d=\'M100 40 L120 70 L150 80 L120 90 L100 120 L80 90 L50 80 L80 70 Z\' fill=\'none\' stroke=\'%230066cc\' stroke-width=\'5\'/%3E%3Ccircle cx=\'100\' cy=\'160\' r=\'10\' fill=\'%230066cc\'/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Active link state */
.nav-links a.active,
.nav-links a:active {
    color: var(--accent-color);
    font-weight: bold;
}

/* Media Queries */
/* Language selector */
.language-selector {
    display: flex;
    gap: 0.5rem;
}

.lang-option {
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s;
}

.lang-option:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.lang-option.active {
    background-color: var(--accent-color);
    font-weight: bold;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }
    
    .nav-links {
        margin-top: 1rem;
    }
    
    .nav-links li {
        margin: 0 0.75rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-form-container {
        grid-template-columns: 1fr;
    }
    
    section {
        scroll-margin-top: 120px; /* Larger margin for mobile */
    }
    
    .language-selector {
        margin-top: 1rem;
    }
}