KasaHealth / app /static /css /style.css
78anand's picture
Upload folder using huggingface_hub
cd24174 verified
:root {
--primary-blue: #1E4D7B;
--primary-teal: #2BBF9E;
--secondary-teal: #e6f7f4;
--text-dark: #2c3e50;
--text-muted: #576574;
--bg-light: #f8fafc;
--pure-white: #ffffff;
--danger: #e74c3c;
--success: #27ae60;
--shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
--shadow-medium: 0 10px 30px rgba(30, 77, 123, 0.08);
--border-radius: 12px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
body {
background-color: var(--bg-light);
color: var(--text-dark);
line-height: 1.6;
overflow-x: hidden;
}
/* Layout Utilities */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}
section {
padding: 6rem 0;
}
.spiced-bg {
background-color: var(--pure-white);
}
/* Typedography */
h1,
h2,
h3,
h4 {
font-family: 'Poppins', sans-serif;
color: var(--primary-blue);
font-weight: 700;
}
.section-title {
text-align: center;
margin-bottom: 4rem;
font-size: 2.5rem;
}
.subtitle {
display: block;
color: var(--primary-teal);
text-transform: uppercase;
letter-spacing: 2px;
font-size: 0.9rem;
margin-bottom: 0.5rem;
font-weight: 600;
}
/* Navigation */
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.5rem 0;
position: sticky;
top: 0;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
z-index: 1000;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.logo-container img {
height: 40px;
}
.credibility-line {
font-size: 0.85rem;
color: var(--text-muted);
font-weight: 500;
padding-left: 1rem;
border-left: 1px solid #ddd;
}
/* Hero Section */
.hero {
min-height: 80vh;
display: flex;
align-items: center;
position: relative;
background: url('../images/hero-bg.png') right center no-repeat;
background-size: contain;
}
.hero-content {
max-width: 600px;
}
.hero-content h1 {
font-size: 4rem;
line-height: 1.1;
margin-bottom: 1.5rem;
}
.hero-content p {
font-size: 1.25rem;
color: var(--text-muted);
margin-bottom: 2.5rem;
}
.btn-group {
display: flex;
gap: 1rem;
}
.primary-btn {
background: var(--primary-blue);
color: white;
padding: 1rem 2rem;
border-radius: var(--border-radius);
text-decoration: none;
font-weight: 600;
transition: all 0.3s ease;
border: none;
cursor: pointer;
}
.primary-btn:hover {
background: #153a5c;
transform: translateY(-2px);
box-shadow: var(--shadow-medium);
}
.outline-btn {
border: 2px solid var(--primary-blue);
color: var(--primary-blue);
padding: 1rem 2rem;
border-radius: var(--border-radius);
text-decoration: none;
font-weight: 600;
transition: all 0.3s ease;
}
.outline-btn:hover {
background: var(--secondary-teal);
}
/* Stats Cards */
.problem-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.stat-card {
background: var(--pure-white);
padding: 2.5rem;
border-radius: var(--border-radius);
box-shadow: var(--shadow-soft);
border: 1px solid rgba(0, 0, 0, 0.02);
transition: transform 0.3s ease;
}
.stat-card:hover {
transform: translateY(-5px);
}
.stat-card i,
.stat-card img {
color: var(--primary-teal);
font-size: 2.5rem;
margin-bottom: 1.5rem;
}
.stat-card h3 {
margin-bottom: 1rem;
font-size: 1.5rem;
}
/* Flow Chart */
.flow-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 2rem;
position: relative;
}
.flow-item {
text-align: center;
position: relative;
}
.icon-wrapper {
width: 80px;
height: 80px;
background: var(--secondary-teal);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 1.5rem;
}
.icon-wrapper img {
width: 40px;
height: 40px;
}
.flow-item h4 {
margin-bottom: 0.5rem;
}
/* Analyzer Card - Redesigned */
.analyzer-card {
background: var(--pure-white);
border-radius: 20px;
padding: 4rem;
box-shadow: var(--shadow-medium);
max-width: 800px;
margin: 0 auto;
border: 1px solid var(--secondary-teal);
}
.upload-zone {
border: 2px dashed #cbd5e1;
border-radius: var(--border-radius);
padding: 4rem 2rem;
text-align: center;
cursor: pointer;
transition: 0.3s;
}
.upload-zone:hover {
border-color: var(--primary-teal);
background: var(--secondary-teal);
}
.upload-icon {
width: 48px;
height: 48px;
margin: 0 auto 1rem;
color: var(--primary-blue);
}
#result-label {
text-transform: uppercase;
}
#result-label.healthy {
color: var(--success);
}
#result-label.sick {
color: var(--danger);
}
.status-icon.healthy {
background: var(--success);
box-shadow: 0 0 15px rgba(39, 174, 96, 0.4);
}
.status-icon.sick {
background: var(--danger);
box-shadow: 0 0 15px rgba(231, 76, 60, 0.4);
}
/* Case Grid */
.case-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.case-card {
background: var(--secondary-teal);
padding: 2rem;
border-radius: var(--border-radius);
display: flex;
gap: 1.5rem;
}
/* Badge Section */
.badge-grid {
display: flex;
justify-content: center;
gap: 3rem;
margin-top: 2rem;
}
.badge-item {
display: flex;
align-items: center;
gap: 10px;
font-weight: 600;
color: var(--text-dark);
}
.badge-item i {
color: var(--primary-teal);
font-size: 1.2rem;
}
/* Founder Card */
.founder-card {
display: flex;
align-items: center;
background: var(--pure-white);
padding: 3rem;
border-radius: var(--border-radius);
box-shadow: var(--shadow-soft);
gap: 4rem;
}
.founder-img {
width: 250px;
height: 250px;
background: #eee;
border-radius: 10px;
object-fit: cover;
}
/* CTA */
.cta-section {
background: var(--primary-blue);
color: white;
text-align: center;
padding: 8rem 0;
}
.cta-section h2 {
color: white;
font-size: 3rem;
margin-bottom: 2rem;
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate {
animation: fadeIn 0.8s ease-out forwards;
}
/* Footer */
footer {
padding: 4rem 0;
text-align: center;
background: #f1f5f9;
color: var(--text-muted);
}
/* Common Classes */
.hidden {
display: none !important;
}
/* Responsive */
@media (max-width: 900px) {
.flow-grid {
grid-template-columns: 1fr 1fr;
}
.hero {
background: none;
}
.hero-content {
text-align: center;
margin: 0 auto;
}
.btn-group {
justify-content: center;
}
.founder-card {
flex-direction: column;
text-align: center;
}
}