/**
 * Custom styles for Fondation pour la promotion des droits website
 * Enhances the Bootstrap framework with custom styling and animations
 */

:root {
  --primary-color: #28a745;
  --primary-color-dark: #218838;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --info-color: #0dcaf0;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --body-bg: #f8f9fa;
  --card-border-radius: 0.75rem;
  --transition-speed: 0.3s;
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  --bs-primary: var(--primary-color);
  --bs-primary-rgb: 40, 167, 69;
  --bs-secondary: var(--secondary-color);
  --bs-secondary-rgb: 226, 125, 35;
}

/* General styling */
body {
  background-color: var(--body-bg);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--neutral-dark);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
}

/* Enhanced card styling */
.card {
  border-radius: var(--card-border-radius);
  border: none;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-body {
  padding: 1.75rem;
}

.card-title {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Button styling */
.btn {
  border-radius: 0.5rem;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  transition: all var(--transition-speed);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color) !important;
}

/* Secondary button styling */
.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background-color: var(--secondary-dark) !important;
  border-color: var(--secondary-dark) !important;
}

/* Header styling */
header {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
}

.site-title {
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-slogan {
  font-weight: 300;
  opacity: 0.9;
}

/* Enhanced navbar */
.navbar {
  box-shadow: var(--shadow-sm);
  background-color: var(--neutral-white) !important;
}

.navbar .nav-link {
  position: relative;
  margin: 0 0.25rem;
  padding: 0.75rem 1rem !important;
  font-weight: 500;
  transition: color var(--transition-speed);
}

.navbar .nav-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed);
}

.navbar .nav-link:hover:after,
.navbar .nav-link.active:after {
  width: 80%;
}

.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary-color);
  font-weight: 600;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: var(--primary-dark);
}

/* Tab styling */
.nav-pills .nav-link {
  border-radius: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  color: var(--secondary-color);
  background-color: rgba(248, 249, 250, 0.9);
  transition: all var(--transition-speed);
  margin: 0 0.25rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-pills .nav-link:hover {
  background-color: #fff;
  box-shadow: var(--box-shadow-sm);
  color: var(--primary-color);
}

.nav-pills .nav-link.active {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 8px rgba(13, 110, 253, 0.2);
  transform: translateY(-2px);
}

/* Task item styling */
.task-item {
  background-color: white;
  border-radius: var(--card-border-radius);
  margin-bottom: 1rem;
  transition: all var(--transition-speed);
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
}

.task-item:hover {
  box-shadow: var(--box-shadow);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.completed-task {
  opacity: 0.7;
}

.delete-task-btn {
  opacity: 0.5;
  transition: opacity var(--transition-speed);
}

.task-item:hover .delete-task-btn {
  opacity: 1;
}

/* Resource icon */
.resource-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(13, 110, 253, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  transition: all var(--transition-speed);
}

.resource-card:hover .resource-icon {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

/* Page header */
.page-header {
  padding: 3.5rem 0;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.shape-1 {
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: rgba(13, 110, 253, 0.05);
  right: -100px;
  top: -100px;
  border-radius: 50%;
}

.shape-2 {
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: rgba(13, 110, 253, 0.05);
  left: -50px;
  bottom: -50px;
  border-radius: 50%;
}

/* Section styling */
.section-title-wrapper {
  margin-bottom: 3rem;
}

.section-divider {
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 1.5rem auto;
  border-radius: 2px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Search section */
.search-section .card {
  border-radius: 1rem;
  box-shadow: var(--box-shadow);
}

.form-control {
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed);
}

.form-control:focus {
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.25);
  border-color: var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--neutral-dark) !important;
  color: white;
  padding-top: 4rem;
  position: relative;
}

footer a {
  transition: all var(--transition-speed);
  text-decoration: none;
}

footer a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-speed);
  margin-right: 0.5rem;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

/* Language selector styling */
.language-selector {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 2000;
  display: flex;
  gap: 8px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.language-selector button {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 5px 15px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.language-selector button.active {
  background-color: white !important;
  color: #28a745 !important;
  border-color: white !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.language-selector button:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Responsive styling for language selector on mobile */
@media (max-width: 767px) {
  .language-selector {
    position: fixed;
    top: 10px;
    right: 10px;
    transform: scale(0.9);
    transform-origin: top right;
  }
  
  .language-selector button {
    padding: 3px 10px;
    font-size: 0.75rem;
  }
}

/* Modern skill badges */
.skill-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  background-color: rgba(13, 110, 253, 0.1);
  color: var(--primary-color);
  font-weight: 500;
  margin: 0.25rem;
  transition: all var(--transition-speed);
}

.skill-badge:hover {
  background-color: #28a745;
  color: white;
  transform: translateY(-2px);
}

/* Task section enhancements */
.task-add-card {
  border-radius: var(--card-border-radius) var(--card-border-radius) 0 0;
  margin-bottom: 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tasks-list-card {
  border-radius: 0 0 var(--card-border-radius) var(--card-border-radius);
}

/* Empty state styling */
.empty-tasks-icon i {
  font-size: 3.5rem;
  color: rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

/* Loading animation */
.loading-spinner {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 3px solid rgba(13, 110, 253, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Card hover effects */
.card .hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(13, 110, 253, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-speed);
}

.card:hover .hover-overlay {
  opacity: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* List group styling */
.list-group-item {
  border-left: 3px solid transparent;
  transition: var(--transition-fast);
}

.list-group-item:hover {
  border-left-color: var(--primary-light);
  background-color: var(--neutral-light);
}

/* Target audience section icons */
.fa-users, .fa-graduation-cap, .fa-hands-helping, .fa-shield-alt {
  color: var(--secondary-color);
}

/* Hero section enhancements */
.hero {
  background-color: var(--neutral-light);
}

.hero h2 {
  color: var(--primary-color);
  font-weight: bold;
}

/* Call to action section */
.py-5.bg-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light)) !important;
}

/* Improve form fields */
input.form-control:focus, 
textarea.form-control:focus, 
select.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Links styling */
a {
  color: var(--primary-color);
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

/* Add accents to image containers */
.img-fluid.rounded.shadow {
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-md) !important;
}

/* Custom CSS overrides to apply the new color scheme */

/* Direct color overrides with !important for immediate effect */
.bg-primary {
  background-color: #28a745 !important;
}

header.bg-primary {
  background-color: #28a745 !important;
  background: linear-gradient(135deg, #28a745, #5cb85c) !important;
}

.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.nav-link.active {
  color: #28a745 !important;
  font-weight: 600 !important;
}

.nav-link:hover {
  color: #218838 !important;
}

.btn-primary {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
}

.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active {
  background-color: #218838 !important;
  border-color: #218838 !important;
}

.btn-outline-primary {
  color: #28a745 !important;
  border-color: #28a745 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: #28a745 !important;
  color: white !important;
  border-color: #28a745 !important;
}

.btn-secondary {
  background-color: #E27D23 !important;
  border-color: #E27D23 !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background-color: #C45E08 !important;
  border-color: #C45E08 !important;
}

/* Hero section */
.hero {
  background-color: #E8ECF2 !important;
}

.hero h2.display-4 {
  color: #28a745 !important;
  font-weight: 700 !important;
  font-family: 'Montserrat', sans-serif !important;
}

/* Call to action section */
section.py-5.bg-primary {
  background: linear-gradient(45deg, #28a745, #5cb85c) !important;
}

/* Site title styling */
.site-title {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
}

/* Card styling */
.card {
  border: none !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

.card-title {
  color: #28a745 !important;
  font-weight: 600 !important;
}

/* Footer styling */
footer.bg-dark {
  background-color: #2E3A4F !important;
}

/* Icons coloring */
.fa-users, .fa-graduation-cap, .fa-hands-helping, .fa-shield-alt {
  color: #E27D23 !important;
}

/* Make sure fonts are applied */
body {
  font-family: 'Open Sans', sans-serif !important;
  color: #2E3A4F !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif !important;
  color: #28a745 !important;
}

/* Add green accents */
a {
  color: #28a745 !important;
}

a:hover {
  color: #E27D23 !important;
}

/* Social icons */
.social-icons a {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: white;
  color: #28a745 !important;
}

/* List group styling */
.list-group-item {
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.list-group-item:hover {
  border-left-color: #E27D23 !important;
  background-color: #f8f9fa !important;
}

/* Newsletter section styling */
.newsletter-section {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(30, 90, 168, 0.05);
}

.newsletter-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(226, 125, 35, 0.05);
}

.newsletter-card {
  border: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  position: relative;
  z-index: 2;
}

.newsletter-icon {
  color: #28a745;
  background-color: rgba(40, 167, 69, 0.1);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.newsletter-form .input-group {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.newsletter-form .form-control {
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
}

.newsletter-form .btn {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  font-weight: 600;
}

.newsletter-form .form-check-label {
  color: #6c757d;
}

.newsletter-form .form-check-label a {
  color: #28a745 !important;
  text-decoration: underline;
}

.newsletter-card:hover .newsletter-icon {
  transform: scale(1.1);
}

/* Impact Numbers Section styling */
.impact-section {
  background-color: white;
  position: relative;
  z-index: 1;
}

.impact-item {
  padding: 2rem;
  transition: all 0.3s ease;
  border-radius: 12px;
}

.impact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
  background-color: #fff;
}

.impact-icon {
  margin-bottom: 1.5rem;
  width: 80px;
  height: 80px;
  background-color: rgba(30, 90, 168, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.impact-icon i {
  font-size: 2rem;
  color: #28a745;
}

.impact-item:hover .impact-icon {
  background-color: #28a745;
}

.impact-item:hover .impact-icon i {
  color: white;
}

.impact-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #28a745;
}

.impact-item p {
  font-size: 1.1rem;
  color: #6c757d;
  font-weight: 500;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .impact-item {
    padding: 1.5rem 1rem;
  }
  
  .impact-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .impact-icon i {
    font-size: 1.5rem;
  }
  
  .impact-item h3 {
    font-size: 2rem;
  }
  
 .impact-item p {
    font-size: 1rem;
  }
}

/* Testimonials carousel styling */
.testimonials-section {
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(40, 167, 69, 0.05);
  z-index: 1;
}

.testimonial-carousel {
  position: relative;
  z-index: 2;
  padding: 1.5rem 0;
}

.testimonial-item {
  padding: 2rem 0;
}

.testimonial-content {
  background-color: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
  position: absolute;
  top: -15px;
  left: 30px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #28a745;
  color: white;
  border-radius: 50%;
  font-size: 1.2rem;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
  border: 3px solid rgba(40, 167, 69, 0.1);
}

.testimonial-info h5 {
  margin-bottom: 0.25rem;
  color: #28a745;
  font-weight: 600;
}

.testimonial-info p {
  margin-bottom: 0;
  color: #6c757d;
  font-size: 0.9rem;
}

.carousel-control-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #28a745;
  color: white;
  border-radius: 50%;
  font-size: 1rem;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-icon,
.carousel-control-next:hover .carousel-control-icon {
  opacity: 1;
  transform: scale(1.1);
}

.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.carousel-control-prev,
.carousel-control-next {
  position: relative;
  width: auto;
  opacity: 1;
  pointer-events: auto;
}

.carousel-indicators {
  position: relative;
  margin-top: 2rem;
  margin-bottom: 0;
}

.carousel-indicators button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50%;
  background-color: rgba(40, 167, 69, 0.3) !important;
  margin: 0 5px;
}

.carousel-indicators button.active {
  background-color: #28a745 !important;
  transform: scale(1.2);
}

@media (max-width: 767px) {
  .testimonial-content {
    padding: 2rem 1.5rem;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
  
  .carousel-controls {
    display: none;
  }
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #28a745;
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #218838;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top i {
  font-size: 1.2rem;
}

@media (max-width: 767px) {
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
  }
}

/* Modern Hero Section */
.hero-modern {
  position: relative;
  overflow: hidden;
  padding: 0;
  color: white;
  margin-bottom: 5rem;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-color: #28a745;
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.9) 0%, rgba(40, 167, 69, 0.7) 100%);
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.3;
}

.min-vh-75 {
  min-height: 75vh;
}

.hero-content {
  padding: 3rem 0;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: white !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-text {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
  background: white !important;
  color: #28a745 !important;
  border: none;
}

.hero-buttons .btn-primary:hover {
  background: #f8f9fa !important;
  transform: translateY(-3px);
}

.hero-buttons .btn-outline-light {
  border: 2px solid white;
}

.hero-buttons .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-3px);
}

.hero-image-container {
  position: relative;
  padding: 2rem;
  perspective: 1000px;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: rotateY(-5deg) rotateX(5deg);
  transition: all 0.5s ease;
}

.hero-image-container:hover .hero-image {
  transform: rotateY(0deg) rotateX(0deg);
}

.hero-shape-1 {
  position: absolute;
  top: -30px;
  right: -20px;
  width: 150px;
  height: 150px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  z-index: -1;
  transform: rotate(45deg);
}

.hero-shape-2 {
  position: absolute;
  bottom: -20px;
  left: 30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  z-index: -1;
}

.hero-badge {
  position: absolute;
  bottom: 50px;
  right: -15px;
  background: white;
  padding: 1rem;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  animation: float 4s ease-in-out infinite;
}

.hero-badge .badge-text {
  font-size: 0.8rem;
  color: #28a745;
  font-weight: 600;
  text-align: center;
}

.hero-badge .badge-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #28a745;
  line-height: 1;
  margin: 0.1rem 0;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-text {
    font-size: 1.1rem;
    max-width: 100%;
  }
  
  .min-vh-75 {
    min-height: 60vh;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-content {
    padding: 2rem 0;
    text-align: center;
  }
  
  .hero-text {
    max-width: 100%;
    margin: 0 auto 2rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .min-vh-75 {
    min-height: 50vh;
  }
}

/* Modern Header Styling */
.modern-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #28a745, #5cb85c);
  padding: 3rem 0;
  color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 10;
  min-height: 180px;
}

.header-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.logo-wrapper {
  max-width: 60%;
}

.site-logo {
  position: relative;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.site-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.site-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  color: white !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.5px;
}

.site-slogan {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.9;
  margin: 0;
  color: white;
}

.header-right {
  display: flex;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  color: white !important;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-links a:hover {
  background: white;
  color: #28a745 !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.header-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
}

.backdrop-shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: 10%;
  opacity: 0.6;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: 15%;
  opacity: 0.4;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  left: 30%;
  opacity: 0.3;
}

/* Modern Navbar */
.modern-navbar {
  background: white;
  border-radius: 30px;
  margin-top: -30px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  padding: 0.8rem 1.5rem;
  position: sticky;
  top: 15px;
  margin-left: auto;
  margin-right: auto;
  max-width: 95%;
  z-index: 1000;
}

.modern-navbar .navbar-nav {
  margin: 0 auto;
}

.modern-navbar .nav-item {
  position: relative;
  margin: 0 2px;
}

.modern-navbar .nav-link {
  color: #495057 !important;
  font-weight: 600;
  padding: 0.7rem 1.2rem !important;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.modern-navbar .nav-link:hover, 
.modern-navbar .nav-link.active {
  color: #28a745 !important;
  background-color: rgba(40, 167, 69, 0.1);
}

.modern-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: #28a745;
  transform: translateX(-50%);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.modern-navbar .nav-link:hover::after,
.modern-navbar .nav-link.active::after {
  width: 30px;
}

@media (max-width: 991.98px) {
  .logo-wrapper {
    max-width: 100%;
  }
  
  .modern-header {
    padding: 2rem 0;
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  
  .site-logo {
    margin-bottom: 1.5rem;
  }
  
  .site-title {
    font-size: 1.8rem;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .modern-navbar {
    margin-top: -20px;
    border-radius: 20px;
  }
}

@media (max-width: 767.98px) {
  .site-title {
    font-size: 1.5rem;
  }
  
  .site-slogan {
    font-size: 0.9rem;
  }
  
  .modern-header {
    padding: 1.5rem 0;
    min-height: 150px;
  }
  
  .modern-navbar {
    max-width: 100%;
    margin-top: -15px;
    border-radius: 0;
  }
  
  .site-logo {
    padding: 0.8rem;
  }
} 