OJOS-AI / static /css /home.css
Sharad9084's picture
Initial commit for OJOS AI: Multiclass model integration, Keras 3 compatibility patch, and glassmorphism styling
1d4eab2
Raw
History Blame Contribute Delete
7.51 kB
/* सामान्य रीसेट और फ़ॉन्ट */
body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
background-color: #F7F7F7; /* हल्का बैकग्राउंड */
color: #333;
line-height: 1.6;
}
/* ग्रीन थीम कलर */
:root {
--primary-green: #00A859; /* मेडिकल ग्रीन (एक्सेन्ट) */
--dark-green: #006400; /* डार्क ग्रीन (टेक्स्ट/होवर) */
--footer-bg: #004d40; /* डार्क फ़ॉरेस्ट ग्रीन (फुटर बैकग्राउंड) */
--light-green: #E8F8F5; /* बहुत हल्का ग्रीन */
}
.green-text {
color: var(--primary-green);
}
a {
text-decoration: none;
color: var(--primary-green);
transition: color 0.3s ease;
}
a:hover {
color: var(--dark-green);
}
/* ------------------- Header & Navigation ------------------- */
.main-header {
background-color: white;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
padding: 15px 5%;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo img {
height: 50px; /* logo ki height */
width: auto; /* width auto rahegi */
object-fit: contain;
}
.logo a {
display: flex;
align-items: center;
}
@media (max-width: 768px) {
.logo img {
height: 40px;
}
}
nav ul {
list-style: none;
display: flex;
margin: 0;
padding: 0;
}
nav ul li {
margin-left: 25px;
}
nav ul li a {
color: #555;
font-weight: 600;
padding: 5px 10px;
position: relative;
transition: color 0.3s ease;
}
nav ul li a:hover, nav ul li a.active {
color: var(--primary-green);
}
nav ul li a.active::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 100%;
height: 3px;
background-color: var(--primary-green);
border-radius: 2px;
}
.cta-button {
background-color: var(--primary-green);
color: white !important;
padding: 8px 15px;
border-radius: 25px;
transition: background-color 0.3s ease, transform 0.2s ease;
font-weight: 600;
}
.cta-button:hover {
background-color: var(--dark-green);
transform: translateY(-2px);
}
/* ------------------- Hero Section ------------------- */
.hero-section {
background-color: white;
padding: 80px 5%;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
min-height: 400px;
border-bottom: 5px solid var(--light-green);
}
.hero-content {
max-width: 800px;
animation: fadeInDown 1s ease-out; /* एनीमेशन */
}
.hero-content h1 {
font-size: 3.5em;
margin-bottom: 20px;
color: #222;
}
.hero-content p {
font-size: 1.2em;
margin-bottom: 40px;
color: #666;
}
.main-cta-button {
display: inline-block;
background-color: var(--primary-green);
color: white !important;
padding: 15px 30px;
border-radius: 30px;
font-size: 1.1em;
font-weight: 700;
letter-spacing: 0.5px;
transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.main-cta-button:hover {
background-color: var(--dark-green);
transform: translateY(-3px);
box-shadow: 0 8px 15px rgba(0, 168, 89, 0.3);
}
/* ------------------- Features Section ------------------- */
.features-section {
padding: 60px 5%;
text-align: center;
}
.features-section h2 {
font-size: 2em;
color: var(--dark-green);
margin-bottom: 50px;
}
.feature-grid {
display: flex;
justify-content: space-around;
gap: 30px;
flex-wrap: wrap;
}
.feature-item {
background-color: white;
padding: 30px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
max-width: 300px;
flex: 1;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover {
transform: translateY(-10px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.feature-item .icon {
font-size: 3em;
color: var(--primary-green);
display: block;
margin-bottom: 15px;
}
.feature-item h3 {
color: var(--dark-green);
margin-top: 0;
margin-bottom: 10px;
}
/* ------------------- Flashes (Alerts) ------------------- */
.flashes {
padding: 10px 5%;
text-align: center;
}
.alert {
padding: 10px;
margin-bottom: 10px;
border-radius: 5px;
font-weight: 600;
}
.alert-success {
background-color: var(--light-green);
color: var(--dark-green);
border: 1px solid var(--primary-green);
}
.alert-danger {
background-color: #fcebeb;
color: #cc0000;
border: 1px solid #cc0000;
}
.alert-warning {
background-color: #fff3cd;
color: #856404;
border: 1px solid #ffeeba;
}
/* ------------------- Professional Footer Styling (.pro-footer) ------------------- */
.pro-footer {
background-color: var(--footer-bg); /* डार्क फ़ॉरेस्ट ग्रीन */
color: #f0f0f0;
padding: 30px 5%;
font-size: 0.9em;
text-align: center;
border-top: 5px solid var(--primary-green);
}
/* --- Social Bar --- */
.footer-social-bar {
padding: 20px 0 40px;
}
.social-icon-link {
display: inline-block;
width: 45px;
height: 45px;
margin: 0 10px;
border-radius: 50%;
overflow: hidden;
background-color: white; /* आइकन बैकग्राउंड */
transition: transform 0.3s ease;
}
.social-icon-link img {
width: 100%;
height: 100%;
display: block;
}
.social-icon-link:hover {
transform: translateY(-5px) scale(1.05); /* Animation */
}
/* --- Contact Details Bar --- */
.footer-contact-details {
display: flex;
justify-content: center;
flex-wrap: wrap;
align-items: center;
padding: 25px 0;
margin-top: 30px;
border-top: 1px solid #333;
border-bottom: 1px solid #333;
}
.detail-item {
display: flex;
align-items: center;
margin: 10px 25px;
font-size: 1em;
font-weight: 600;
}
.detail-item .icon {
font-size: 1.2em;
color: var(--primary-green);
margin-right: 8px;
}
.detail-item a {
color: #f0f0f0;
text-decoration: none;
transition: color 0.3s ease;
}
.detail-item a:hover {
color: var(--primary-green);
}
/* --- Bottom Bar --- */
.footer-bottom-bar {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 20px;
font-size: 0.85em;
color: #888;
}
.footer-bottom-bar p {
margin: 0;
}
.footer-nav-links a {
color: #888;
text-decoration: none;
margin-left: 15px;
transition: color 0.3s ease;
}
.footer-nav-links a:hover {
color: var(--primary-green);
}
/* ------------------- General Animation ------------------- */
@keyframes fadeInDown {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* ------------------- Responsive Design for Footer ------------------- */
@media (max-width: 900px) {
.footer-contact-details {
flex-direction: column;
align-items: center;
}
.detail-item {
margin: 8px 0;
}
.footer-bottom-bar {
flex-direction: column;
text-align: center;
}
.footer-nav-links {
margin-top: 15px;
}
.footer-nav-links a {
display: inline-block;
margin: 5px 10px;
}
}