/home3/bmscom/manuela.bms69.com/src/index.css
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 0 0% 100%; /* Default to #FFF */
--foreground: 138 35% 15%; /* Dark green for text, derived from #2e5f38 */
--card: 0 0% 100%;
--card-foreground: 138 35% 15%;
--popover: 0 0% 100%;
--popover-foreground: 138 35% 15%;
--primary: 138 35% 27%; /* #2e5f38 */
--primary-foreground: 0 0% 100%; /* White */
--secondary: 210 40% 96.1%; /* Light gray */
--secondary-foreground: 222.2 47.4% 11.2%; /* Dark gray */
--muted: 210 40% 96.1%;
--muted-foreground: 215.4 16.3% 46.9%;
--accent: 28 100% 62%; /* #FF9A3C */
--accent-foreground: 0 0% 100%; /* White */
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 0 0% 100%;
--border: 214.3 31.8% 91.4%;
--input: 214.3 31.8% 91.4%;
--ring: 138 35% 27%; /* #2e5f38 */
--radius: 0.5rem;
}
.dark {
/* For dark mode, you might want different shades. Keeping it simple for now. */
--background: 222.2 84% 4.9%;
--foreground: 210 40% 98%;
--card: 222.2 84% 4.9%;
--card-foreground: 210 40% 98%;
--popover: 222.2 84% 4.9%;
--popover-foreground: 210 40% 98%;
--primary: 138 35% 27%;
--primary-foreground: 0 0% 100%;
--secondary: 217.2 32.6% 17.5%;
--secondary-foreground: 210 40% 98%;
--muted: 217.2 32.6% 17.5%;
--muted-foreground: 215 20.2% 65.1%;
--accent: 28 100% 62%;
--accent-foreground: 0 0% 100%;
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 0 0% 100%;
--border: 217.2 32.6% 17.5%;
--input: 217.2 32.6% 17.5%;
--ring: 138 35% 27%;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-siteBackground text-foreground; /* Use custom property for background */
}
}
.gradient-text {
/* Use the new primary color for gradient text */
background: linear-gradient(135deg, #2e5f38 0%, #52a062 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.glass-effect {
background: rgba(46, 95, 56, 0.1); /* Adjusted for new primary color */
backdrop-filter: blur(10px);
border: 1px solid rgba(46, 95, 56, 0.2);
}
.course-card {
background: linear-gradient(145deg, #ffffff 0%, #f9f9f9 100%); /* Slightly off-white */
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05); /* Softer shadow */
transition: all 0.3s ease;
border: 1px solid #e5e7eb; /* Light border */
}
.course-card:hover {
transform: translateY(-8px);
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}
/* Remove old hero-pattern, background image will be set in component */
/* .hero-pattern { ... } */
.floating-animation {
animation: float 6s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-15px); } /* Slightly less float */
}
.pulse-glow {
animation: pulse-glow 2s ease-in-out infinite alternate;
}
@keyframes pulse-glow {
from { box-shadow: 0 0 15px rgba(255, 154, 60, 0.4); } /* Accent color glow */
to { box-shadow: 0 0 30px rgba(255, 154, 60, 0.7); }
}
/* Ensure buttons use the new accent color */
.btn-accent {
@apply bg-accent text-accent-foreground hover:bg-accent/90;
}
.btn-outline-primary {
@apply border-2 border-primary text-primary hover:bg-primary/10;
}