/* CardioAccess Brand Colors */
:root {
    --ca-primary: #003087;
    --ca-primary-dark: #002266;
    --ca-primary-light: #0047ba;
    --ca-accent: #CC0000;
    --ca-accent-hover: #a30000;
    --ca-gray-100: #f8f9fa;
    --ca-gray-200: #e9ecef;
    --ca-gray-600: #6c757d;
    --ca-gray-800: #343a40;
    --ca-text: #212529;
    --ca-text-light: #6c757d;
}

/* Typography */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--ca-text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--ca-primary);
}

/* Navigation */
.navbar {
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.header-gradient {
    background: linear-gradient(to right, #ffffff 0%, #e8eef5 100%);
}

.bg-primary {
    background-color: var(--ca-primary) !important;
}

.navbar-brand {
    font-size: 1.1rem;
}

.navbar-brand img {
    height: 100px;
    width: auto;
}

/* Light header navigation links */
.header-gradient .navbar-nav .nav-link {
    color: var(--ca-primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.header-gradient .navbar-nav .nav-link:hover,
.header-gradient .navbar-nav .nav-link.active {
    color: var(--ca-primary-dark);
    background-color: rgba(0, 48, 135, 0.08);
    border-radius: 4px;
}

.header-gradient .navbar-toggler {
    border-color: rgba(0, 48, 135, 0.3);
}

.header-gradient .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 48, 135, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Buttons */
.btn-primary {
    background-color: var(--ca-primary);
    border-color: var(--ca-primary);
}

.btn-primary:hover {
    background-color: var(--ca-primary-dark);
    border-color: var(--ca-primary-dark);
}

.btn-accent {
    background-color: var(--ca-accent);
    border-color: var(--ca-accent);
    color: white;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-accent:hover {
    background-color: var(--ca-accent-hover);
    border-color: var(--ca-accent-hover);
    color: white;
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--ca-primary);
    border-color: var(--ca-primary);
}

.btn-outline-primary:hover {
    background-color: var(--ca-primary);
    border-color: var(--ca-primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--ca-primary) 0%, var(--ca-primary-light) 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero .lead {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

/* Hero Heartbeat Animation */
.hero-ecg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    opacity: 0.1;
    overflow: hidden;
}

/* Section Styling */
.section {
    padding: 5rem 0;
}

.section-light {
    background-color: var(--ca-gray-100);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--ca-text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.card.h-auto {
    height: auto;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-title {
    color: var(--ca-primary);
    font-weight: 600;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--ca-primary) 0%, var(--ca-primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

/* Product Cards */
.product-card {
    overflow: hidden;
}

.product-card img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
}

.feature-list li::before {
    content: '\f26a';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--ca-accent);
    font-weight: bold;
}

/* Value Props */
.value-prop {
    text-align: center;
    padding: 2rem 1.5rem;
}

.value-prop-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--ca-primary) 0%, var(--ca-primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-prop-icon i {
    font-size: 2rem;
    color: white;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--ca-primary) 0%, var(--ca-primary-light) 100%);
    color: white;
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Team Section */
.team-card {
    text-align: center;
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--ca-gray-200);
}

.team-card h5 {
    margin-bottom: 0.25rem;
}

.team-card .title {
    color: var(--ca-accent);
    font-size: 0.9rem;
    font-weight: 500;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 1rem;
}

.faq-item .accordion-button {
    font-weight: 500;
    color: var(--ca-primary);
}

.faq-item .accordion-button:not(.collapsed) {
    background-color: rgba(0, 48, 135, 0.05);
    color: var(--ca-primary);
}

.faq-item .accordion-button:focus {
    box-shadow: none;
    border-color: var(--ca-primary);
}

/* Press Release */
.press-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--ca-gray-200);
}

.press-item:last-child {
    border-bottom: none;
}

.press-date {
    color: var(--ca-text-light);
    font-size: 0.9rem;
}

.press-title {
    color: var(--ca-primary);
    text-decoration: none;
    font-weight: 600;
}

.press-title:hover {
    color: var(--ca-accent);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.form-control:focus {
    border-color: var(--ca-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 48, 135, 0.15);
}

/* Footer */
footer {
    background-color: var(--ca-gray-800) !important;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links a {
    transition: opacity 0.2s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

/* Breadcrumb */
.breadcrumb-section {
    background: var(--ca-gray-100);
    padding: 1rem 0;
}

.breadcrumb {
    margin-bottom: 0;
    background: transparent;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--ca-primary) 0%, var(--ca-primary-light) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.page-header p {
    opacity: 0.9;
    margin-bottom: 0;
}

/* Trust Badges */
.trust-badges {
    background: var(--ca-gray-100);
    padding: 2rem 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--ca-accent) 0%, #e60000 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section .btn {
    background: white;
    color: var(--ca-accent);
    font-weight: 600;
    padding: 0.75rem 2rem;
}

.cta-section .btn:hover {
    background: var(--ca-gray-100);
}

/* Utilities */
.text-primary {
    color: var(--ca-primary) !important;
}

.text-accent {
    color: var(--ca-accent) !important;
}

.bg-light-gradient {
    background: linear-gradient(180deg, white 0%, var(--ca-gray-100) 100%);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 991px) {
    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 1.875rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }
}

/* Placeholder for product images */
.product-image-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--ca-gray-200) 0%, var(--ca-gray-100) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ca-text-light);
}

.product-image-placeholder i {
    font-size: 3rem;
    opacity: 0.5;
}

/* Team member placeholder */
.team-image-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ca-gray-200) 0%, var(--ca-gray-100) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 4px solid var(--ca-gray-200);
}

.team-image-placeholder i {
    font-size: 3rem;
    color: var(--ca-text-light);
    opacity: 0.5;
}
