deepsite / main.css
samsalai's picture
Upload 19 files
ead63a3 verified
raw
history blame
9.56 kB
/* Main CSS for Econovation - Universal Styles */
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
:root {
--primary-color: #3b82f6; /* Blue 600 */
--primary-hover: #2563eb; /* Blue 700 */
--secondary-color: #4f46e5; /* Indigo 600 */
--accent-color: #8b5cf6; /* Violet 500 */
--text-dark: #1e293b; /* Slate 800 */
--text-light: #f8fafc; /* Slate 50 */
--bg-light: #f8fafc; /* Slate 50 */
--bg-dark: #1e293b; /* Slate 800 */
--gray-100: #f3f4f6;
--gray-200: #e5e7eb;
--gray-300: #d1d5db;
--gray-400: #9ca3af;
--gray-500: #6b7280;
--gray-600: #4b5563;
--gray-700: #374151;
--gray-800: #1f2937;
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
/* Base Styles */
body {
font-family: 'Poppins', 'Inter', sans-serif;
margin: 0;
padding: 0;
color: var(--text-dark);
background-color: var(--bg-light);
overflow-x: hidden;
}
/* Universal Navigation Bar */
.econov-navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
background-color: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(255, 255, 255, 0.18);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
/* Gradient Navigation Bar - Alternative Style */
.gradient-nav {
background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.gradient-nav .nav-link {
color: white !important;
position: relative;
overflow: hidden;
}
.gradient-nav .nav-link::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 0;
height: 2px;
background-color: white;
transition: width 0.3s ease;
}
.gradient-nav .nav-link:hover::after {
width: 100%;
}
.econov-navbar.scrolled {
box-shadow: var(--shadow-md);
}
.econov-navbar .container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
max-width: 1200px;
margin: 0 auto;
}
.econov-navbar .logo {
display: flex;
align-items: center;
}
.econov-navbar .logo img {
height: 40px;
margin-right: 0.5rem;
}
.econov-navbar .logo-text {
font-weight: 700;
font-size: 1.25rem;
color: var(--text-dark);
text-decoration: none;
}
.econov-navbar .logo-text span {
color: var(--primary-color);
}
.econov-navbar .nav-links {
display: flex;
gap: 2rem;
}
.econov-navbar .nav-link {
position: relative;
color: var(--text-dark);
text-decoration: none;
font-size: 0.875rem;
font-weight: 500;
padding: 0.5rem 0;
transition: color 0.3s ease;
}
.econov-navbar .nav-link::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
transition: width 0.3s ease;
}
.econov-navbar .nav-link:hover {
color: var(--primary-color);
}
.econov-navbar .nav-link:hover::after,
.econov-navbar .nav-link.active::after {
width: 100%;
}
.econov-navbar .nav-link.active {
color: var(--primary-color);
}
.econov-navbar .mobile-toggle {
display: none;
background: none;
border: none;
color: var(--text-dark);
font-size: 1.5rem;
cursor: pointer;
}
/* Mobile Menu */
.econov-mobile-menu {
position: fixed;
top: 0;
right: 0;
bottom: 0;
width: 80%;
max-width: 300px;
background-color: white;
z-index: 1001;
transform: translateX(100%);
transition: transform 0.3s ease;
box-shadow: var(--shadow-lg);
padding: 2rem;
display: flex;
flex-direction: column;
}
.econov-mobile-menu.open {
transform: translateX(0);
}
.econov-mobile-menu .close-btn {
align-self: flex-end;
background: none;
border: none;
color: var(--text-dark);
font-size: 1.5rem;
cursor: pointer;
margin-bottom: 2rem;
}
.econov-mobile-menu .mobile-nav-links {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.econov-mobile-menu .nav-link {
color: var(--text-dark);
text-decoration: none;
font-size: 1.125rem;
font-weight: 500;
transition: color 0.3s ease;
}
.econov-mobile-menu .nav-link:hover,
.econov-mobile-menu .nav-link.active {
color: var(--primary-color);
}
.econov-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
z-index: 1000;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
}
.econov-overlay.open {
opacity: 1;
pointer-events: auto;
}
/* Responsive Styles */
@media (max-width: 768px) {
.econov-navbar .nav-links {
display: none;
}
.econov-navbar .mobile-toggle {
display: block;
}
.econov-navbar .container {
padding: 0.75rem 1rem;
}
}
/* Main Content Padding (to account for fixed navbar) */
main {
padding-top: 80px;
}
/* Button Styles */
.econov-btn {
display: inline-block;
padding: 0.5rem 1.5rem;
border-radius: 0.375rem;
font-weight: 500;
text-align: center;
text-decoration: none;
cursor: pointer;
transition: all 0.3s ease;
}
.econov-btn-primary {
background-color: var(--primary-color);
color: white;
}
.econov-btn-primary:hover {
background-color: var(--primary-hover);
transform: translateY(-2px);
}
.econov-btn-outline {
background-color: transparent;
color: var(--primary-color);
border: 1px solid var(--primary-color);
}
.econov-btn-outline:hover {
background-color: var(--primary-color);
color: white;
transform: translateY(-2px);
}
/* Section Styles */
.section {
padding: 4rem 2rem;
}
.section-title {
font-size: 2rem;
font-weight: 700;
margin-bottom: 1rem;
text-align: center;
}
.section-subtitle {
font-size: 1.125rem;
color: var(--gray-600);
margin-bottom: 2.5rem;
text-align: center;
}
/* Container */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
}
/* Card Styles */
.card {
background-color: white;
border-radius: 0.5rem;
box-shadow: var(--shadow);
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-md);
}
/* Footer Styles */
.econov-footer {
background-color: var(--bg-dark);
color: var(--text-light);
padding: 3rem 2rem;
}
.econov-footer .container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.econov-footer .footer-logo {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 1rem;
}
.econov-footer .footer-logo span {
color: var(--primary-color);
}
.econov-footer .footer-section h3 {
font-size: 1.125rem;
margin-bottom: 1.25rem;
position: relative;
display: inline-block;
}
.econov-footer .footer-section h3::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 40px;
height: 2px;
background-color: var(--primary-color);
}
.econov-footer .footer-links {
list-style: none;
padding: 0;
margin: 0;
}
.econov-footer .footer-links li {
margin-bottom: 0.75rem;
}
.econov-footer .footer-links a {
color: var(--gray-300);
text-decoration: none;
transition: color 0.3s ease;
}
.econov-footer .footer-links a:hover {
color: var(--primary-color);
}
.econov-footer .social-links {
display: flex;
gap: 1rem;
margin-top: 1rem;
}
.econov-footer .social-link {
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 50%;
background-color: var(--gray-700);
color: var(--text-light);
transition: all 0.3s ease;
}
.econov-footer .social-link:hover {
background-color: var(--primary-color);
transform: translateY(-3px);
}
.econov-footer .newsletter-form {
display: flex;
margin-top: 1rem;
}
.econov-footer .newsletter-input {
flex: 1;
padding: 0.5rem 1rem;
border: none;
border-radius: 0.25rem 0 0 0.25rem;
font-size: 0.875rem;
}
.econov-footer .newsletter-btn {
background-color: var(--primary-color);
color: white;
border: none;
border-radius: 0 0.25rem 0.25rem 0;
padding: 0.5rem 1rem;
cursor: pointer;
transition: background-color 0.3s ease;
}
.econov-footer .newsletter-btn:hover {
background-color: var(--primary-hover);
}
.econov-footer .copyright {
text-align: center;
padding-top: 2rem;
margin-top: 2rem;
border-top: 1px solid var(--gray-700);
color: var(--gray-400);
font-size: 0.875rem;
}
/* Animations */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideUp {
from { transform: translateY(20px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
.fade-in {
animation: fadeIn 0.5s ease forwards;
}
.slide-up {
animation: slideUp 0.5s ease forwards;
}