Agile / project 5 /home.css
thatsdevvvv's picture
Upload 2050 files
390cffd verified
/* Hero Section */
.hero {
position: relative;
height: 100svh;
height: 100vh;
margin: 0;
padding: 0;
overflow: hidden;
text-align: center;
background: transparent;
display: flex;
align-items: center;
}
/* Optional subtle top gradient to improve legibility under transparent nav */
.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 96px;
background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.0) 70%);
pointer-events: none;
z-index: 0; /* below content, above video */
}
/* Hero Video Background */
.hero-video {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
z-index: 0;
pointer-events: none;
}
/* Hero Overlay */
.hero-overlay {
position: absolute;
inset: 0;
background: transparent;
z-index: 0;
}
.hero::after {
content: none;
}
/* Hero Content */
.hero .container {
position: relative;
z-index: 1;
}
.hero-title {
font-size: clamp(2.5rem, 5vw, 4rem);
font-weight: 800;
margin-bottom: 24px;
color: #ffffff; /* White text for better contrast against video */
line-height: 1.2;
display: flex;
align-items: baseline; /* Align logo with text baseline */
justify-content: center;
gap: 6px;
flex-wrap: nowrap; /* Keep logo exactly next to title */
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Add shadow for better readability */
}
.hero-logo-inline {
height: 1em; /* Match text size exactly */
width: auto;
display: inline-block;
vertical-align: baseline;
object-fit: contain;
margin-right: 6px; /* Tight spacing next to title */
transform: translateY(0.12em); /* Pull logo down slightly for optical alignment */
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}
.hero-description {
font-size: clamp(1.1rem, 2vw, 1.3rem);
color: #ffffff; /* White text for better contrast against video */
max-width: 800px;
margin: 0 auto 48px;
line-height: 1.6;
font-weight: 500;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); /* Add shadow for better readability */
}
.hero-actions {
display: flex;
gap: 24px;
justify-content: center;
flex-wrap: wrap;
margin-bottom: 60px;
}
/* KPI Stats Row */
.hero-stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 32px;
max-width: 800px;
margin: 0 auto;
padding: 40px 0;
background: rgba(255, 255, 255, 0.9);
border-radius: 16px;
backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.3);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.stat-item {
text-align: center;
color: #0F4A46; /* Dark Teal */
padding: 16px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.6);
backdrop-filter: blur(10px);
border: 1px solid #D9E6DF; /* Border/Divider */
}
.stat-value {
font-size: 2rem;
font-weight: 800;
display: block;
margin-bottom: 4px;
}
.stat-label {
font-size: 0.9rem;
opacity: 0.8;
font-weight: 500;
}
/* Pastel Stat Tiles for Content Areas */
.stat-tile {
background: #F1F7F4; /* Mint Light */
border: 1px solid #D9E6DF; /* Border/Divider */
border-radius: 16px;
padding: 24px;
text-align: center;
transition: all 0.3s ease;
}
.stat-tile.blue {
background: rgba(42, 110, 123, 0.1);
border-color: #2A6E7B; /* Primary Teal */
}
.stat-tile.green {
background: #ECFDF5;
border-color: #22c55e;
}
.stat-tile.purple {
background: #F5F3FF;
border-color: #8b5cf6;
}
.stat-tile.amber {
background: #FEF3C7;
border-color: #f59e0b;
}
.stat-tile-value {
font-size: 2rem;
font-weight: 800;
color: #0F4A46; /* Dark Teal */
display: block;
margin-bottom: 8px;
}
.stat-tile-label {
font-size: 0.9rem;
color: #335A57; /* Muted Text */
font-weight: 600;
}
/* How It Works Section */
.how-it-works {
padding: 100px 0;
background: #E3F0E7; /* Mint Page Background */
}
.section-title {
text-align: center;
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 80px;
color: #0F4A46; /* Dark Teal */
}
.timeline {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 40px;
max-width: 1000px;
margin: 0 auto;
}
.timeline-step {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 32px;
border-radius: 20px;
background: #FFFFFF; /* Card/Surface */
border: 1px solid #D9E6DF; /* Border/Divider */
box-shadow: 0 10px 24px rgba(42, 110, 123, 0.08);
cursor: pointer;
transition: all 0.3s ease;
position: relative;
}
.timeline-step:hover,
.timeline-step:focus {
transform: translateY(-8px);
box-shadow: 0 20px 40px rgba(42, 110, 123, 0.15);
border-color: #2A6E7B; /* Primary Teal */
}
.step-number {
width: 60px;
height: 60px;
border-radius: 50%;
background: #2A6E7B; /* Primary Teal */
color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
font-weight: 700;
margin-bottom: 24px;
}
.step-content h3 {
font-size: 20px;
font-weight: 600;
margin-bottom: 12px;
color: #0F4A46; /* Dark Teal */
}
.step-content p {
color: #335A57; /* Muted Text */
font-size: 14px;
font-weight: 500;
}
.step-tooltip {
position: absolute;
top: -60px;
left: 50%;
transform: translateX(-50%);
background: #0F4A46; /* Dark Teal */
color: #ffffff;
padding: 12px 16px;
border-radius: 8px;
font-size: 14px;
white-space: nowrap;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
z-index: 10;
max-width: 250px;
white-space: normal;
}
.step-tooltip::after {
content: '';
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
border: 6px solid transparent;
border-top-color: #0F4A46; /* Dark Teal */
}
.timeline-step:hover .step-tooltip,
.timeline-step:focus .step-tooltip {
opacity: 1;
visibility: visible;
}
/* Preview Panels */
.preview-panels {
padding: 100px 0;
background: #E3F0E7; /* Mint Page Background */
}
.panels-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
}
.panel {
background: #FFFFFF; /* Card/Surface */
border-radius: 20px;
padding: 40px;
border: 1px solid #D9E6DF; /* Border/Divider */
box-shadow: 0 10px 24px rgba(42, 110, 123, 0.08);
}
.panel-title {
font-size: 24px;
font-weight: 600;
margin-bottom: 32px;
color: #0F4A46; /* Dark Teal */
}
/* Cases Grid */
.cases-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 24px;
}
.case-card {
background: #FFFFFF; /* Card/Surface */
border-radius: 16px;
overflow: hidden;
border: 1px solid #D9E6DF; /* Border/Divider */
transition: all 0.3s ease;
cursor: pointer;
box-shadow: 0 4px 12px rgba(42, 110, 123, 0.04);
}
.case-card:hover,
.case-card:focus {
transform: translateY(-4px);
box-shadow: 0 12px 24px rgba(42, 110, 123, 0.15);
border-color: #2A6E7B; /* Primary Teal */
}
.case-thumbnail {
height: 120px;
background: linear-gradient(135deg, #F1F7F4 0%, #D9E6DF 100%);
position: relative;
}
.case-thumbnail::after {
content: '🔬';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 32px;
opacity: 0.7;
}
.case-info {
padding: 16px;
}
.case-info h3 {
font-size: 16px;
font-weight: 600;
margin-bottom: 8px;
color: #0F4A46; /* Dark Teal */
}
.confidence-score {
display: flex;
justify-content: space-between;
align-items: center;
}
.score-label {
color: #335A57; /* Muted Text */
font-size: 14px;
}
.score-value {
font-weight: 600;
font-size: 14px;
}
.score-value.high {
color: #22c55e;
}
.score-value.medium {
color: #f59e0b;
}
/* Solvers List */
.solvers-list {
display: flex;
flex-direction: column;
gap: 20px;
}
.solver-card {
display: flex;
align-items: center;
gap: 16px;
padding: 20px;
background: #FFFFFF; /* Card/Surface */
border-radius: 16px;
border: 1px solid #D9E6DF; /* Border/Divider */
transition: all 0.3s ease;
cursor: pointer;
box-shadow: 0 4px 12px rgba(42, 110, 123, 0.04);
}
.solver-card:hover,
.solver-card:focus {
transform: translateX(8px);
box-shadow: 0 8px 16px rgba(42, 110, 123, 0.15);
border-color: #2A6E7B; /* Primary Teal */
}
.solver-rank {
width: 32px;
height: 32px;
border-radius: 50%;
background: #D9E6DF; /* Border/Divider */
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
color: #0F4A46; /* Dark Teal */
}
.solver-avatar {
width: 48px;
height: 48px;
border-radius: 50%;
background: linear-gradient(135deg, #F1F7F4 0%, #D9E6DF 100%);
position: relative;
}
.solver-avatar::after {
content: '👨‍⚕️';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 20px;
}
.solver-info {
flex: 1;
}
.solver-info h3 {
font-size: 16px;
font-weight: 600;
margin-bottom: 4px;
color: #0F4A46; /* Dark Teal */
}
.solver-stats {
margin-bottom: 8px;
}
.solved-count {
color: #22c55e;
font-weight: 600;
font-size: 14px;
}
.expertise-tags {
display: flex;
gap: 6px;
flex-wrap: wrap;
}
.view-all-link {
display: inline-block;
margin-top: 24px;
color: #2A6E7B; /* Primary Teal */
text-decoration: none;
font-weight: 600;
transition: color 0.3s ease;
}
.view-all-link:hover {
color: #255F6A; /* Primary Teal Hover */
}
/* Footer */
.footer {
background: #E3F0E7; /* Mint Page Background */
padding: 40px 0;
text-align: center;
border-top: 1px solid #D9E6DF; /* Border/Divider */
}
.disclaimer {
color: #335A57; /* Muted Text */
font-size: 14px;
max-width: 600px;
margin: 0 auto;
}
.disclaimer strong {
color: #dc2626;
}
/* Agilisium Footer Bottom */
.footer_bottom-wrapper {
background: #0F4A46; /* Dark Teal */
padding: 40px 0;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 20px;
color: #ffffff;
}
.footer_logo-link {
display: flex;
align-items: center;
text-decoration: none;
color: inherit;
}
.footer_logo {
height: 40px;
width: auto;
filter: brightness(0) invert(1); /* Make logo white */
}
.footer_credit-wrapper {
display: flex;
align-items: center;
gap: 16px;
flex-wrap: wrap;
justify-content: center;
}
.footer_credit-text {
color: #ffffff;
font-size: 14px;
text-decoration: none;
transition: opacity 0.3s ease;
}
.footer_credit-text:hover {
opacity: 0.8;
}
.footer_credit-year {
font-weight: 600;
}
.hide-mobile-portrait {
display: inline;
}
.footer_social-list {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 16px;
align-items: center;
}
.footer_social-link {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
text-decoration: none;
color: #ffffff;
}
.footer_social-link:hover {
background: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
}
.icon-embed-xsmall {
width: 20px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
}
.w-embed svg {
width: 100%;
height: 100%;
}
.w-layout-grid {
display: grid;
}
.w-inline-block {
display: inline-block;
}
.w-nav-brand {
font-weight: 600;
}
.w--current {
color: #ffffff;
}
/* Responsive Design */
@media (max-width: 1024px) {
.panels-grid {
grid-template-columns: 1fr;
gap: 40px;
}
.timeline {
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 30px;
}
.footer_bottom-wrapper {
flex-direction: column;
text-align: center;
gap: 30px;
}
.footer_credit-wrapper {
order: 2;
}
.footer_social-list {
order: 3;
}
}
@media (max-width: 768px) {
.hero {
padding: 80px 0;
min-height: 50vh;
}
.hero-video {
object-position: center center;
}
.hero-title {
flex-direction: column;
gap: 12px;
}
.hero-actions {
flex-direction: column;
align-items: center;
}
.hero-actions .btn {
width: 100%;
max-width: 300px;
}
.how-it-works {
padding: 80px 0;
}
.preview-panels {
padding: 80px 0;
}
.timeline {
grid-template-columns: 1fr;
}
.cases-grid {
grid-template-columns: 1fr;
}
.panel {
padding: 24px;
}
.footer_bottom-wrapper {
padding: 30px 0;
gap: 20px;
}
.footer_credit-wrapper {
flex-direction: column;
gap: 8px;
}
.hide-mobile-portrait {
display: none;
}
.footer_social-list {
grid-template-columns: repeat(3, 1fr);
gap: 12px;
max-width: 200px;
}
.footer_social-link {
width: 36px;
height: 36px;
}
.icon-embed-xsmall {
width: 18px;
height: 18px;
}
}