You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

283 lines
4.4 KiB

/* Hero Section */
.hero {
min-height: 100vh;
background: linear-gradient(135deg, #1a4731 0%, #2f855a 100%);
padding: 4rem 0;
position: relative;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('https://images.unsplash.com/photo-1518173946687-a4c8892bbd9f') center/cover;
opacity: 0.1;
}
.hero-content {
position: relative;
z-index: 1;
}
.hero h1 {
font-size: 4rem;
font-weight: 800;
background: linear-gradient(to right, #fff, #48bb78);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 1.5rem;
line-height: 1.2;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.hero .lead {
font-size: 1.5rem;
line-height: 1.6;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.hero img {
transition: transform 0.5s ease;
max-width: 80%;
margin: 0 auto;
}
.hero img:hover {
transform: rotate(0deg) scale(1.02) !important;
}
/* Features Section */
.features {
padding: 6rem 0;
background: linear-gradient(135deg, #f7fafc 0%, #e6fffa 100%);
}
.features .card {
border: none;
border-radius: 20px;
transition: all 0.3s ease;
background: white;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
overflow: hidden;
}
.features .card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.features .card-body {
padding: 2.5rem;
}
.features h3 {
font-size: 1.5rem;
font-weight: 700;
color: #2d3748;
margin-bottom: 1rem;
}
.features p {
color: #4a5568;
line-height: 1.6;
}
.features svg {
padding: 12px;
background: #f0fff4;
border-radius: 12px;
margin-bottom: 1.5rem;
}
.feature-image-wrapper {
max-width: 800px;
margin: 0 auto;
overflow: hidden;
}
.feature-image {
width: 100%;
height: 400px;
object-fit: cover;
object-position: center;
transition: transform 0.3s ease;
}
.feature-image:hover {
transform: scale(1.02);
}
/* Community Section */
.community-section {
padding: 6rem 0;
background: white;
}
.community-section img {
border-radius: 20px;
transition: transform 0.5s ease;
}
.community-section img:hover {
transform: scale(1.02);
}
.stats-card {
padding: 1.5rem;
border-radius: 15px;
background: #f7fafc;
transition: all 0.3s ease;
}
.stats-card:hover {
transform: translateY(-5px);
background: #f0fff4;
}
.stats-number {
font-size: 2.5rem;
font-weight: 800;
color: #2f855a;
margin-bottom: 0.5rem;
}
.stats-label {
color: #4a5568;
font-weight: 500;
}
/* News Section */
.news-section {
background: linear-gradient(135deg, #f8fafc 0%, #f0fff4 100%);
padding: 4rem 0;
}
.hover-card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}
.animate-spin {
animation: spin 1s linear infinite;
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.nav-end {
display: flex;
align-items: center;
gap: 0.5rem;
}
.btn-outline-success {
border: 2px solid #48bb78;
color: #48bb78;
font-weight: 600;
transition: all 0.3s ease;
height: 38px;
padding: 0 1rem;
}
.btn-outline-success:hover {
background-color: #48bb78;
color: white;
transform: translateY(-2px);
}
/* Dropdown Styles */
.dropdown-menu {
border: none;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
padding: 0.5rem;
}
.dropdown-item {
color: #4a5568;
border-radius: 8px;
padding: 0.5rem 1rem;
transition: all 0.2s ease;
}
.dropdown-item:hover {
background-color: #f0fff4;
color: #48bb78;
transform: translateX(4px);
}
.dropdown-item.active {
background-color: #48bb78;
color: white;
}
/* Responsive Design */
@media (max-width: 991.98px) {
.hero {
min-height: 100vh;
padding: 2rem 0;
}
.hero h1 {
font-size: 3rem;
}
.hero img {
max-width: 90%;
}
.features {
padding: 4rem 0;
}
.community-section {
padding: 4rem 0;
}
.navbar {
top: 0.5rem;
width: 98%;
}
.nav-end {
margin-top: 1rem;
width: 100%;
justify-content: center;
}
.navbar .nav-item:not(:last-child)::after {
display: none;
}
}
@media (max-width: 767.98px) {
.hero {
min-height: 100vh;
}
.hero h1 {
font-size: 2.5rem;
}
.hero img {
max-width: 100%;
}
.stats-card {
margin-bottom: 1rem;
}
}