/* CardioSense AI - Custom Styles */

/* CSS Variables for Color Palette */
:root {
    --deep-blue: #003366;
    --teal: #009688;
    --white: #ffffff;
    --accent-red: #ff3b30;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
    --text-dark: #212529;
    --text-light: #6c757d;
    --border-color: #dee2e6;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

.text-accent {
    color: var(--accent-red) !important;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--deep-blue) 0%, #004080 100%);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--white) !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal) 0%, #00796b 100%);
    border: none;
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00796b 0%, #00695c 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-red) 0%, #d32f2f 100%);
    color: var(--white);
}

.btn-accent:hover {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--deep-blue);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--deep-blue) 0%, #004080 50%, var(--teal) 100%);
    color: var(--white);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-image {
    text-align: center;
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--deep-blue) 0%, #004080 100%);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--deep-blue);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Overview Section */
.overview-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    color: var(--teal);
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--deep-blue) 0%, #004080 100%);
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--deep-blue);
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--teal);
    color: var(--white);
    transform: translateY(-2px);
}

/* About Page Styles */
.about-content {
    padding: 80px 0;
}

.about-section {
    margin-bottom: 4rem;
}

.info-card {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--teal);
}

.feature-highlight {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-highlight:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.highlight-icon {
    font-size: 2.5rem;
    color: var(--teal);
}

.tech-list {
    list-style: none;
    padding: 0;
}

.tech-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.tech-list i {
    color: var(--teal);
}

.company-info {
    background: var(--light-gray);
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 0.5rem;
}

/* Features Page Styles */
.features-main {
    padding: 80px 0;
}

.feature-item {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon-large {
    font-size: 4rem;
    color: var(--teal);
    text-align: center;
}

.feature-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--deep-blue);
}

.feature-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-benefits {
    list-style: none;
    padding: 0;
}

.feature-benefits li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.feature-benefits i {
    color: var(--teal);
}

.additional-features {
    background: var(--light-gray);
}

.capability-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.capability-icon {
    font-size: 2.5rem;
    color: var(--teal);
    margin-bottom: 1rem;
}

.tech-specs {
    background: var(--white);
}

.specs-card {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.spec-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.spec-item h5 {
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.spec-item i {
    color: var(--teal);
}

/* Contact Page Styles */
.contact-content {
    padding: 80px 0;
}

.contact-form-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.contact-info-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--teal);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-details h5 {
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
}

.contact-details a {
    color: var(--teal);
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--deep-blue);
}

.quick-contact {
    background: var(--light-gray);
}

.quick-contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.quick-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.quick-contact-icon {
    font-size: 2.5rem;
    color: var(--teal);
}

.map-section {
    background: var(--white);
}

.map-container {
    background: var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-placeholder {
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--teal);
    margin-bottom: 1rem;
}

.map-placeholder h4 {
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

/* Form Styles */
.form-control, .form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 0.2rem rgba(0, 150, 136, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-check-input:checked {
    background-color: var(--teal);
    border-color: var(--teal);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-image {
        font-size: 8rem;
        margin-top: 2rem;
    }
    
    .feature-item {
        padding: 2rem;
    }
    
    .contact-form-card {
        padding: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn {
        width: auto;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .contact-form-card {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--teal);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--deep-blue);
} 