Files
RIT-nexus/src/index.css
2026-07-21 12:21:53 +05:30

297 lines
6.5 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');
@import "tailwindcss";
@theme {
--color-primary: #F97316;
--color-primary-light: #FB923C;
--color-primary-dark: #EA580C;
--color-primary-50: #FFF7ED;
--color-primary-100: #FFEDD5;
--color-primary-200: #FED7AA;
--color-secondary: #FB923C;
--color-background: #FAFAFA;
--color-surface: #FFFFFF;
--color-border: #E5E7EB;
--color-heading: #1E293B;
--color-body: #475569;
--color-muted: #94A3B8;
--color-accent: #FFF7ED;
--font-heading: 'Playfair Display', Georgia, serif;
--font-body: 'Inter', system-ui, sans-serif;
--font-button: 'Poppins', system-ui, sans-serif;
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 16px;
--radius-xl: 20px;
--radius-2xl: 24px;
--radius-3xl: 32px;
--radius-full: 9999px;
--shadow-soft: 0 2px 15px -3px rgba(0,0,0,0.07), 0 10px 20px -2px rgba(0,0,0,0.04);
--shadow-medium: 0 4px 25px -5px rgba(0,0,0,0.1), 0 10px 30px -5px rgba(0,0,0,0.07);
--shadow-strong: 0 8px 40px -8px rgba(0,0,0,0.15), 0 20px 45px -8px rgba(0,0,0,0.1);
--shadow-orange: 0 8px 30px -4px rgba(249,115,22,0.3);
}
/* Tailwind Preflight handles resets natively. Custom modifications go here: */
html {
scroll-behavior: smooth;
font-size: 16px;
}
body {
font-family: var(--font-body);
background-color: #FAFAFA;
color: #475569;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Scrollbar styling */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #F97316;
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: #EA580C;
}
/* Selection */
::selection {
background-color: rgba(249, 115, 22, 0.2);
color: #1E293B;
}
/* Typography base */
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-heading);
color: #1E293B;
line-height: 1.2;
}
/* Focus ring */
:focus-visible {
outline: 2px solid #F97316;
outline-offset: 2px;
border-radius: 4px;
}
/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
}
@keyframes pulse-orange {
0%, 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4); }
70% { box-shadow: 0 0 0 10px rgba(249, 115, 22, 0); }
}
@keyframes shimmer {
0% { background-position: -200% 0; }
100% { background-position: 200% 0; }
}
@keyframes gradientShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.animate-float {
animation: float 4s ease-in-out infinite;
}
.animate-float-delayed {
animation: float 4s ease-in-out infinite 1s;
}
.animate-pulse-orange {
animation: pulse-orange 2s infinite;
}
.animate-shimmer {
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
background-size: 200% 100%;
animation: shimmer 1.5s infinite;
}
/* Glass effect */
.glass {
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.3);
}
.glass-dark {
background: rgba(30, 41, 59, 0.8);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
/* Card base */
.card-base {
background: #FFFFFF;
border-radius: 20px;
border: 1px solid #E5E7EB;
box-shadow: 0 2px 15px -3px rgba(0,0,0,0.07), 0 10px 20px -2px rgba(0,0,0,0.04);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-base:hover {
transform: translateY(-4px);
box-shadow: 0 8px 40px -8px rgba(0,0,0,0.15), 0 20px 45px -8px rgba(0,0,0,0.1);
}
/* Gradient text */
.gradient-text {
background: linear-gradient(135deg, #F97316, #FB923C, #FBBF24);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Orange button */
.btn-primary {
font-family: var(--font-button);
background: linear-gradient(135deg, #F97316, #FB923C);
color: white;
border: none;
border-radius: 12px;
padding: 12px 28px;
font-weight: 600;
font-size: 15px;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
display: inline-flex;
align-items: center;
gap: 8px;
text-decoration: none;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
background: linear-gradient(135deg, #EA580C, #F97316);
}
.btn-primary:active {
transform: translateY(0);
}
/* Ghost button */
.btn-ghost {
font-family: var(--font-button);
background: transparent;
color: #1E293B;
border: 2px solid #E5E7EB;
border-radius: 12px;
padding: 10px 26px;
font-weight: 600;
font-size: 15px;
cursor: pointer;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
gap: 8px;
text-decoration: none;
}
.btn-ghost:hover {
border-color: #F97316;
color: #F97316;
transform: translateY(-2px);
}
/* Section spacing */
.section-padding {
padding: 80px 0;
}
@media (max-width: 768px) {
.section-padding {
padding: 56px 0;
}
}
/* Container */
.container-custom {
max-width: 1200px;
margin: 0 auto;
padding: 0 24px;
}
@media (max-width: 768px) {
.container-custom {
padding: 0 16px;
}
}
/* Orange dot pattern background */
.dot-pattern {
background-image: radial-gradient(circle, #F9731615 1px, transparent 1px);
background-size: 24px 24px;
}
/* Noise texture overlay */
.noise-overlay::before {
content: '';
position: absolute;
inset: 0;
opacity: 0.03;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
pointer-events: none;
}
/* Chat bubble */
.chat-bubble-user {
background: linear-gradient(135deg, #F97316, #FB923C);
color: white;
border-radius: 18px 18px 4px 18px;
padding: 12px 16px;
font-size: 14px;
max-width: 75%;
align-self: flex-end;
}
.chat-bubble-ai {
background: #F8FAFC;
color: #1E293B;
border-radius: 18px 18px 18px 4px;
padding: 12px 16px;
font-size: 14px;
max-width: 80%;
align-self: flex-start;
border: 1px solid #E5E7EB;
}