Veda / static /css /Hp.css
sumit1901's picture
Upload 139 files
59d9f71 verified
Raw History Blame Contribute Delete
9.03 kB
/* ================= THEME ================= */
:root {
--primary: #0F9F82;
--primary-dark: #0B7D67;
--accent-soft: #E7F6F2;
--bg-main: #F6FBF9;
--card-bg: #ffffff;
--text-dark: #1E3A32;
--text-soft: #5F7F8C;
--border-soft: #E3EFEA;
}
/* ================= RESET ================= */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Inter", system-ui, sans-serif;
}
body {
background:
radial-gradient(1200px 600px at 90% -10%, #DFF3ED 0%, transparent 60%),
radial-gradient(800px 400px at -10% 20%, #EAF7F3 0%, transparent 60%),
var(--bg-main);
color: var(--text-dark);
line-height: 1.7;
}
/* ================= PAGE CONTAINER ================= */
.page-container {
max-width: 1200px;
margin: auto;
padding: 80px 20px 40px;
}
/* ================= HERO ================= */
.hero {
text-align: center;
padding: 100px 20px 70px;
}
.hero-badge {
display: inline-block;
background: var(--accent-soft);
color: var(--primary-dark);
padding: 8px 18px;
border-radius: 999px;
font-size: 13px;
font-weight: 600;
margin-bottom: 18px;
}
.hero h1 {
font-size: clamp(36px, 5vw, 56px);
font-weight: 800;
margin-bottom: 16px;
}
.hero h1 span {
background: linear-gradient(90deg, var(--primary), var(--primary-dark));
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero p {
max-width: 900px;
margin: auto;
font-size: 18px;
color: var(--text-soft);
}
/* ================= HERO BUTTONS ================= */
.hero-actions,
.role-nav {
margin-top: 36px;
display: flex;
justify-content: center;
gap: 18px;
flex-wrap: wrap;
}
.hero-actions a,
.role-nav button {
padding: 15px 34px;
border-radius: 16px;
font-weight: 700;
border: none;
cursor: pointer;
font-size: 15px;
transition: all 0.3s ease;
}
.hero-actions a:first-child,
.role-nav button:first-child {
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
color: #fff;
box-shadow: 0 18px 45px rgba(15,159,130,.35);
}
.hero-actions a:last-child,
.role-nav button:last-child {
background: #fff;
border: 1.5px solid var(--border-soft);
color: var(--primary-dark);
}
/* ================= SECTION ================= */
.section,
.intro {
padding: 50px 10px;
}
.section-title,
.section h2,
.intro h1 {
font-size: clamp(28px, 4vw, 40px);
margin-bottom: 14px;
}
.section p,
.intro p {
max-width: 900px;
font-size: 16px;
color: var(--text-soft);
}
/* ================= DIVIDER ================= */
.section-divider {
width: 100%;
max-width: 900px;
height: 1px;
margin: 30px auto;
background: linear-gradient(
to right,
transparent,
rgba(15,159,130,0.35),
transparent
);
}
/* ================= GRID ================= */
.card-grid,
.e-card-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 26px;
margin-top: 30px;
}
/* ================= PREMIUM CARD ================= */
.card,
.e-card {
position: relative;
background: linear-gradient(180deg, #ffffff, #fbfefd);
border-radius: 26px;
padding: 28px;
border: 1px solid var(--border-soft);
box-shadow:
0 18px 45px rgba(0, 0, 0, 0.153),
inset 0 1px 0 rgba(255,255,255,0.9);
transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card::before,
.e-card::before {
content: "";
position: absolute;
inset: -1px;
border-radius: 26px;
background: linear-gradient(
135deg,
rgba(15,159,130,0.35),
rgba(255,255,255,0),
rgba(15,159,130,0.25)
);
opacity: 0;
transition: opacity 0.35s ease;
}
.card:hover,
.e-card:hover {
transform: translateY(-8px);
box-shadow:
0 22px 50px rgba(15,159,130,0.14),
inset 0 1px 0 rgba(255,255,255,0.9);
}
.card:hover::before,
.e-card:hover::before {
opacity: 1;
}
/* ================= CARD TEXT ================= */
.card h3,
.card h4,
.e-card h3 {
font-size: 18px;
margin-bottom: 10px;
font-weight: 600;
}
.card p,
.card li,
.e-card span {
font-size: 14.5px;
color: var(--text-soft);
}
.card ul {
padding-left: 18px;
}
/* ================= WAVES OFF (CLEAN LOOK) ================= */
.wave {
display: none;
}
/* ================= MOBILE ================= */
@media (max-width: 768px) {
.hero {
padding: 80px 15px 60px;
}
.hero p {
font-size: 16px;
}
.hero-actions a,
.role-nav button {
width: 100%;
text-align: center;
}
}
/* ================= CTA SECTION ================= */
.cta {
margin: 60px auto 40px; /* reduced vertical gap */
max-width: 1100px;
padding: 70px 30px;
border-radius: 36px;
background:
radial-gradient(600px 300px at 20% 10%, #EAF7F3 0%, transparent 60%),
linear-gradient(135deg, #F6FBF9, #FFFFFF);
text-align: center;
box-shadow:
0 30px 80px rgba(0, 0, 0, 0.411),
inset 0 1px 0 rgba(255,255,255,0.9);
}
.cta h2 {
font-size: clamp(30px, 4vw, 44px);
font-weight: 800;
margin-bottom: 16px;
color: var(--text-dark);
}
.cta p {
max-width: 820px;
margin: 0 auto 32px;
font-size: 16px;
color: var(--text-soft);
}
/* CTA BUTTON */
.cta .btn-primary,
.cta a {
display: inline-block;
padding: 16px 40px;
border-radius: 18px;
background: linear-gradient(
135deg,
var(--primary),
var(--primary-dark)
);
color: #fff;
font-weight: 700;
font-size: 15px;
text-decoration: none;
box-shadow: 0 18px 45px rgba(15,159,130,0.35);
transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cta .btn-primary:hover,
.cta a:hover {
transform: translateY(-3px);
box-shadow: 0 26px 60px rgba(15,159,130,0.45);
}
/* ================= MOBILE ================= */
@media (max-width: 600px) {
.cta {
padding: 50px 20px;
border-radius: 26px;
}
.cta h2 {
font-size: 26px;
}
.cta p {
font-size: 15px;
}
.cta a {
width: 100%;
text-align: center;
}
}
/* ================= SYSTEM OVERVIEW CONTAINER ================= */
#system-overview {
max-width: 1300px;
margin: 40px auto 20px; /* reduces gap before/after */
padding: 60px 40px;
border-radius: 32px;
background:
linear-gradient(180deg, #ffffff, #fbfefd);
border: 1px solid var(--border-soft);
box-shadow:
0 18px 45px rgba(0, 0, 0, 0.41),
inset 0 1px 0 rgba(255,255,255,0.9);
text-align: center;
}
#system-overview h2 {
font-size: clamp(28px, 4vw, 40px);
font-weight: 800;
margin-bottom: 16px;
color: var(--text-dark);
}
#system-overview .section-desc,
#system-overview p {
max-width: 900px;
margin: 0 auto;
font-size: 16px;
color: var(--text-soft);
line-height: 1.8;
}
/* Subtle top divider glow */
#system-overview::before {
content: "";
display: block;
width: 120px;
height: 3px;
margin: 0 auto 22px;
border-radius: 999px;
background: linear-gradient(
90deg,
transparent,
var(--primary),
transparent
);
opacity: 0.6;
}
/* ================= MOBILE ================= */
@media (max-width: 768px) {
#system-overview {
padding: 45px 22px;
border-radius: 24px;
}
}
/* ================= BUTTON HOVER ANIMATIONS ================= */
/* Common animation base */
.hero-actions a,
.role-nav button,
.btn-primary,
.btn-secondary {
position: relative;
overflow: hidden;
transition:
transform 0.25s ease,
box-shadow 0.25s ease,
background 0.25s ease;
}
/* PRIMARY BUTTON (Get Started) */
.btn-primary,
.hero-actions a:first-child,
.role-nav button:first-child {
background: linear-gradient(
135deg,
var(--primary),
var(--primary-dark)
);
}
/* Hover effect */
.btn-primary:hover,
.hero-actions a:first-child:hover,
.role-nav button:first-child:hover {
transform: translateY(-3px);
box-shadow: 0 26px 60px rgba(15,159,130,0.45);
}
/* Active (click) */
.btn-primary:active,
.hero-actions a:first-child:active,
.role-nav button:first-child:active {
transform: translateY(-1px);
box-shadow: 0 16px 30px rgba(15,159,130,0.35);
}
/* SECONDARY BUTTON (Login) */
.btn-secondary,
.hero-actions a:last-child,
.role-nav button:last-child {
background: #ffffff;
border: 1.5px solid var(--border-soft);
}
/* Hover effect */
.btn-secondary:hover,
.hero-actions a:last-child:hover,
.role-nav button:last-child:hover {
transform: translateY(-3px);
box-shadow: 0 16px 36px rgba(0,0,0,0.12);
border-color: var(--primary);
color: var(--primary-dark);
}
/* Active (click) */
.btn-secondary:active,
.hero-actions a:last-child:active,
.role-nav button:last-child:active {
transform: translateY(-1px);
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}