2026-01-19 17:48:51 +05:30

395 lines
7.4 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');
/* @import "tailwindcss"; */
:root {
/* Color Palette - Updated per user request */
--primary: #ec4899;
/* Pink */
--primary-dark: #db2777;
--secondary: #2563eb;
/* Blue (Requested #2563eb) */
--secondary-dark: #1255d8;
/* Blue (Requested #1255d8) */
--accent: #6cb655;
/* Green (Requested #6cb655) */
--accent-dark: #5a9646;
--dark-blue: #0072b1;
/* Dark Blue (Requested #0072b1) */
--yellow: #f9cd35;
/* Yellow (Requested #f9cd35) */
/* Backgrounds */
--background: #ffffff;
--background-secondary: #f8fafc;
--bg-primary: #ffffff;
--card-bg: #ffffff;
--foreground: #0f172a;
--foreground-secondary: #475569;
/* Text Colors */
--text-primary: #0f172a;
--text-secondary: #475569;
/* Borders */
--border-color: #e2e8f0;
/* Gradients - Linear Theme using new palette */
/* Blue (#2563eb) to Pink (#ec4899) */
--gradient-primary: linear-gradient(to right, #2563eb 0%, #ec4899 100%);
/* Yellow (#f9cd35) to Roman? No, let's keep consistency. Maybe Yellow to Pink?
User didn't specify gradient composition, just colors.
Retaining generic gradients but updating hexes. */
--gradient-secondary: radial-gradient(circle, #2563eb 0%, #ec4899 100%);
/* Dark Blue (#0072b1) to Green (#6cb655) for accent gradient if needed */
--gradient-accent: linear-gradient(135deg, #0072b1 0%, #6cb655 100%);
--gradient-hero: radial-gradient(circle, #2563eb 0%, #ec4899 100%);
/* Shadows */
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
--shadow-glow: 0 0 40px rgba(236, 72, 153, 0.3);
/* Border Radius */
--radius-sm: 0.375rem;
--radius-md: 0.5rem;
--radius-lg: 0.75rem;
--radius-xl: 1rem;
--radius-2xl: 1.5rem;
/* Spacing */
--spacing-xs: 0.5rem;
--spacing-sm: 1rem;
--spacing-md: 1.5rem;
--spacing-lg: 2rem;
--spacing-xl: 3rem;
--spacing-2xl: 4rem;
/* Typography */
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
--font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
background: var(--background);
color: var(--foreground);
font-family: var(--font-sans);
line-height: 1.6;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slideInLeft {
from {
opacity: 0;
transform: translateX(-30px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes slideInRight {
from {
opacity: 0;
transform: translateX(30px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes scaleIn {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes float {
0%,
100% {
transform: translateY(0px);
}
50% {
transform: translateY(-20px);
}
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
@keyframes shimmer {
0% {
background-position: -1000px 0;
}
100% {
background-position: 1000px 0;
}
}
/* Utility Classes */
.animate-fade-in {
animation: fadeIn 0.6s ease-out forwards;
}
.animate-slide-left {
animation: slideInLeft 0.6s ease-out forwards;
}
.animate-slide-right {
animation: slideInRight 0.6s ease-out forwards;
}
.animate-scale {
animation: scaleIn 0.6s ease-out forwards;
}
.animate-float {
animation: float 3s ease-in-out infinite;
}
.gradient-text {
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.gradient-border {
position: relative;
background: var(--background);
border-radius: var(--radius-xl);
}
.gradient-border::before {
content: '';
position: absolute;
inset: 0;
border-radius: var(--radius-xl);
padding: 2px;
background: var(--gradient-primary);
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
mask-composite: exclude;
}
.glass {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.container {
width: 100%;
max-width: 1280px;
margin: 0 auto;
padding: 0 var(--spacing-md);
}
/* Alternating Section Backgrounds */
section {
position: relative;
z-index: 1;
}
section:nth-child(odd) {
background-color: #f1f5f9;
}
section:nth-child(even) {
background-color: #ffffff;
/* Slate 100 - Distinct contrast */
border-top: 1px solid var(--border-color);
/* border-bottom: 1px solid var(--border-color); */
}
/* Ensure spacing consistency */
.section {
padding: 4rem 0;
/* Default mobile padding */
}
@media (min-width: 768px) {
.section {
padding: 4rem 0;
}
}
@media (min-width: 1024px) {
.section {
padding: 4rem 0;
/* Standardized large spacing per user request */
}
}
/* Button Styles */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.75rem 1rem;
font-weight: 600;
border-radius: var(--radius-lg);
transition: all 0.3s ease;
cursor: pointer;
border: none;
font-size: 1rem;
text-decoration: none;
}
.btn-primary {
background: var(--gradient-primary);
color: white;
box-shadow: var(--shadow-md);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-xl), var(--shadow-glow);
}
.btn-secondary {
background: var(--background);
color: var(--foreground);
border: 2px solid var(--primary);
}
.btn-secondary:hover {
background: var(--primary);
color: white;
transform: translateY(-2px);
}
.btn-large {
padding: 1rem 2rem;
font-size: 1.125rem;
}
/* Card Styles */
.card {
background: var(--background);
border-radius: var(--radius-xl);
padding: var(--spacing-lg);
box-shadow: var(--shadow-md);
transition: all 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-xl);
}
.card-glass {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
/* Responsive Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-display);
font-weight: 700;
line-height: 1.2;
margin-bottom: var(--spacing-sm);
}
h1 {
font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
font-size: clamp(1.5rem, 3vw, 2rem);
}
p {
margin-bottom: var(--spacing-sm);
color: var(--foreground-secondary);
}
/* Scrollbar Styling */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: var(--background-secondary);
}
::-webkit-scrollbar-thumb {
background: var(--primary);
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--primary-dark);
}