/* General Reset */
body {
  margin: 0;
  font-family: "Arial", sans-serif;
  overflow-x: hidden; /* Prevent horizontal scroll from animations */
  line-height: 1.6;
}

/* Global Section Styling */
section {
  margin: 0;
  padding: 80px 0;
  position: relative;
}

section:not(:last-child) {
  margin-bottom: 0;
}

/* Section Headers */
section h2 {
  margin-bottom: 40px;
  position: relative;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #198754, #007bff);
  border-radius: 2px;
}

/* Section Content Spacing */
section .container {
  padding: 0 15px;
}

section .row {
  margin-bottom: 30px;
}

section .row:last-child {
  margin-bottom: 0;
}

/* Visual Section Separators */
section:not(:first-child)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #198754, transparent);
}

/* Section Background Variations */
section.bg-light {
  background-color: #f8f9fa !important;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

section.bg-white {
  background-color: #ffffff !important;
}

section.bg-success {
  background-color: #198754 !important;
  color: white;
}

section.bg-primary {
  background-color: #007bff !important;
  color: white;
}

/* Section Padding Variations */
section.py-5 {
  padding: 80px 0 !important;
}

section.py-4 {
  padding: 60px 0 !important;
}

section.py-3 {
  padding: 40px 0 !important;
}

/* Responsive Section Spacing */
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  section.py-5 {
    padding: 60px 0 !important;
  }
  
  section.py-4 {
    padding: 40px 0 !important;
  }
  
  section.py-3 {
    padding: 30px 0 !important;
  }
}

/* Additional Spacing Utilities */
.section-spacing-sm {
  padding: 40px 0;
}

.section-spacing-md {
  padding: 60px 0;
}

.section-spacing-lg {
  padding: 80px 0;
}

.section-spacing-xl {
  padding: 100px 0;
}

/* Content Margins */
.content-margin-top {
  margin-top: 40px;
}

.content-margin-bottom {
  margin-bottom: 40px;
}

.content-margin-left {
  margin-left: 20px;
}

.content-margin-right {
  margin-right: 20px;
}

/* Card Spacing */
.card {
  margin-bottom: 30px;
}

.card:last-child {
  margin-bottom: 0;
}

/* Row Spacing */
.row + .row {
  margin-top: 30px;
}

/* Container Padding */
.container {
  padding-left: 15px;
  padding-right: 15px;
}

/* Section Content Alignment */
.section-content-center {
  text-align: center;
}

.section-content-left {
  text-align: left;
}

.section-content-right {
  text-align: right;
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-left.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-right.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-scale.animated {
  opacity: 1;
  transform: scale(1);
}

.animate-delay-1 {
  transition-delay: 0.1s;
}

.animate-delay-2 {
  transition-delay: 0.2s;
}

.animate-delay-3 {
  transition-delay: 0.3s;
}

.animate-delay-4 {
  transition-delay: 0.4s;
}

.animate-delay-5 {
  transition-delay: 0.5s;
}

/* Staggered Animation for Cards */
.stagger-animate .card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stagger-animate.animated .card {
  opacity: 1;
  transform: translateY(0);
}

.stagger-animate.animated .card:nth-child(1) { transition-delay: 0.1s; }
.stagger-animate.animated .card:nth-child(2) { transition-delay: 0.2s; }
.stagger-animate.animated .card:nth-child(3) { transition-delay: 0.3s; }
.stagger-animate.animated .card:nth-child(4) { transition-delay: 0.4s; }
.stagger-animate.animated .card:nth-child(5) { transition-delay: 0.5s; }
.stagger-animate.animated .card:nth-child(6) { transition-delay: 0.6s; }

/* Gallery Animations */
.gallery-item {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item.animated {
  opacity: 1;
  transform: scale(1);
}

.gallery-item img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1) rotate(2deg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Hero Section with Enhanced Animations */
.hero {
  height: 80vh;
  background-image: url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
  animation: shimmer 3s ease-in-out infinite;
}

.hero .container {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1.2s ease-out;
}

.hero h1 {
  animation: slideInFromTop 1s ease-out 0.3s both;
}

.hero p {
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero .btn {
  animation: bounceIn 1s ease-out 0.9s both;
}

/* Hero variants with different animations */
.hero1, .hero2, .hero3, .hero4, .hero5, .hero6 {
  height: 80vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.hero1 { background-image: url("../images/service.jpg"); }
.hero2 { background-image: url("../images/corporate.jpg"); }
.hero3 { background-image: url("../images/faqs.jpg"); }
.hero4 { background-image: url("../images/gasabo1.jpg"); }
.hero5 { background-image: url("../images/kicukiro1.jpg"); }
.hero6 { background-image: url("../images/nyarugenge.jpg"); }

.hero1::before, .hero2::before, .hero3::before, 
.hero4::before, .hero5::before, .hero6::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
  animation: shimmer 3s ease-in-out infinite;
}

/* Enhanced Navigation Bar - Premium Design */
.navbar {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%) !important;
  backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(25, 135, 84, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: slideInFromTop 0.8s ease-out;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(25px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: #198754 !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

.navbar-brand img {
  max-height: 55px;
  margin-right: 15px;
  transition: all 0.4s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  border-radius: 50%;
  overflow: hidden;
}

.navbar-brand:hover {
  transform: translateY(-2px);
  color: #007bff !important;
}

.navbar-brand:hover img {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 8px 16px rgba(25, 135, 84, 0.3));
}

.navbar-nav {
  margin-left: auto;
}

.nav-item {
  margin: 0 8px;
  position: relative;
}

.nav-link {
  font-weight: 600;
  font-size: 1rem;
  color: #2c3e50 !important;
  padding: 12px 20px !important;
  border-radius: 25px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), rgba(0, 123, 255, 0.1));
  transition: left 0.4s ease;
  z-index: -1;
}

.nav-link:hover::before {
  left: 0;
}

.nav-link:hover {
  color: #198754 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(25, 135, 84, 0.2);
}

.nav-link.active {
  color: #198754 !important;
  background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), rgba(0, 123, 255, 0.1));
  box-shadow: 0 4px 15px rgba(25, 135, 84, 0.2);
}

/* Enhanced Dropdown Menu */
.dropdown-menu {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(25, 135, 84, 0.1);
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  margin-top: 10px;
  animation: fadeInUp 0.3s ease-out;
  transform-origin: top;
  min-width: 200px;
}

.dropdown-item {
  padding: 12px 25px;
  color: #2c3e50;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 2px 10px;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, #198754, #007bff);
  color: white;
  transform: translateX(8px);
  box-shadow: 0 5px 15px rgba(25, 135, 84, 0.3);
}

/* Mobile Navigation Toggle */
.navbar-toggler {
  border: none;
  padding: 8px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #198754, #007bff);
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.3);
}

.navbar-toggler:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(25, 135, 84, 0.3);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Enhanced Contact Info Bar */
.contact-info-bar {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 2px solid rgba(25, 135, 84, 0.1);
  padding: 15px 0;
  animation: slideInFromTop 0.8s ease-out;
  position: relative;
  overflow: hidden;
}

.contact-info-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(25, 135, 84, 0.05), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

.contact-info-bar .container {
  position: relative;
  z-index: 2;
}

.contact-info-bar .row > div {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  padding: 8px 15px;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
}

.contact-info-bar .row > div::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(25, 135, 84, 0.1), transparent);
  transition: left 0.4s ease;
}

.contact-info-bar .row > div:hover::before {
  left: 100%;
}

.contact-info-bar .row > div:hover {
  transform: translateY(-3px);
  background: rgba(25, 135, 84, 0.1);
  box-shadow: 0 8px 25px rgba(25, 135, 84, 0.15);
}

.contact-info-bar i {
  font-size: 20px;
  margin-right: 10px;
  transition: all 0.4s ease;
  padding: 8px;
  border-radius: 50%;
  background: rgba(25, 135, 84, 0.1);
}

.contact-info-bar i:hover {
  transform: scale(1.3) rotate(360deg);
  color: #198754 !important;
  background: rgba(25, 135, 84, 0.2);
  box-shadow: 0 5px 15px rgba(25, 135, 84, 0.3);
}

.contact-info-bar span {
  font-weight: 600;
  color: #2c3e50;
  transition: all 0.3s ease;
}

.contact-info-bar .row > div:hover span {
  color: #198754;
  transform: translateX(5px);
}

.contact-info-bar a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.contact-info-bar a:hover {
  transform: translateY(-2px);
  color: #198754;
}

/* Contact Info Bar Responsive */
@media (max-width: 768px) {
  .contact-info-bar .row > div {
    margin-bottom: 10px;
    flex-direction: column;
    text-align: center;
    padding: 15px 10px;
  }
  
  .contact-info-bar i {
    margin-right: 0;
    margin-bottom: 8px;
  }
}

/* About Us Section with Enhanced Animations */
#about-us {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
  border-top: 3px solid #198754;
  border-bottom: 3px solid #198754;
}

#about-us::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(25, 135, 84, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

#about-us .container {
  position: relative;
  z-index: 2;
}

#about-us h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #198754;
  margin-bottom: 50px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

#about-us h2::after {
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #198754, #007bff, #198754);
}

#about-us p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 25px;
  text-align: justify;
}

#about-us img {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: all 0.5s ease;
}

#about-us img:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

#about-us h2 {
  font-size: 2rem;
  color: #198754;
  animation: fadeInLeft 1s ease-out;
}

#about-us p {
  line-height: 1.8;
  color: #333;
  animation: fadeInUp 1s ease-out 0.2s both;
}

#about-us .btn {
  font-weight: bold;
  border-radius: 25px;
  padding: 10px 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#about-us .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

#about-us .btn:hover::before {
  left: 100%;
}

#about-us .btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(25, 135, 84, 0.3);
}

#about-us img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  transition: all 0.5s ease;
  border-radius: 15px;
}

#about-us img:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Services Section Styling */
#services {
  background: linear-gradient(135deg, #98c396 0%, #7fb069 100%);
  position: relative;
  overflow: hidden;
  border-top: 3px solid #198754;
  border-bottom: 3px solid #198754;
  padding: 100px 0;
}

#services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

#services .container {
  position: relative;
  z-index: 2;
}

#services h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 50px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  font-weight: 700;
}

#services h2::after {
  background: linear-gradient(90deg, #ffffff, #f8f9fa, #ffffff);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Services Section with Enhanced Card Animations */
#services .card {
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

#services .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), rgba(0, 123, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

#services .card:hover::before {
  opacity: 1;
}

#services .card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

#services .card img {
  border-radius: 10px;
  transition: all 0.4s ease;
}

#services .card:hover img {
  transform: scale(1.1) rotate(2deg);
}

#services .card-body {
  transition: all 0.3s ease;
}

#services .card:hover .card-body {
  transform: translateY(-5px);
}

/* Testimonials Section with Enhanced Animations */
#testimonials {
  position: relative;
  overflow: hidden;
}

#testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

#testimonials .container {
  position: relative;
  z-index: 2;
}

#testimonials blockquote {
  font-style: italic;
  line-height: 1.8;
  animation: fadeInUp 1s ease-out;
}

#testimonials blockquote p {
  color: #ddd;
  transition: all 0.3s ease;
}

#testimonials blockquote:hover p {
  transform: scale(1.02);
  color: #fff;
}

#testimonials blockquote footer {
  color: #aaa;
  transition: color 0.3s ease;
}

#testimonials blockquote:hover footer {
  color: #198754;
}

/* Our Network Section with Enhanced Animations */
#our-network {
  background-color: #fff;
  position: relative;
}

#our-network::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #198754, #007bff, #198754);
  animation: shimmer 3s ease-in-out infinite;
}

#our-network h2 {
  border-bottom: 2px solid #198754;
  display: inline-block;
  padding-bottom: 5px;
  animation: fadeInLeft 1s ease-out;
  position: relative;
}

#our-network h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #007bff;
  animation: expandWidth 1.5s ease-out 0.5s forwards;
}

@keyframes expandWidth {
  to {
    width: 100%;
  }
}

#our-network p {
  line-height: 1.8;
  font-size: 1.1rem;
  color: #555;
  animation: fadeInUp 1s ease-out 0.3s both;
}

/* Map Section with Enhanced Animations */
#map .ratio {
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: scaleIn 1s ease-out;
}

#map .ratio:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* News & Features Section with Enhanced Animations */
#news {
  background-color: #f8f9fa;
  position: relative;
}

#news::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(25, 135, 84, 0.05), rgba(0, 123, 255, 0.05));
  animation: float 8s ease-in-out infinite;
}

#news h5 {
  color: #198754;
  font-weight: bold;
  transition: all 0.3s ease;
}

#news h5:hover {
  transform: translateX(5px);
  color: #007bff;
}

#news img {
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

#news img:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

#news .btn-outline-success {
  border-radius: 30px;
  padding: 8px 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#news .btn-outline-success::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

#news .btn-outline-success:hover::before {
  left: 100%;
}

#news .btn-outline-success:hover {
  background-color: #198754;
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(25, 135, 84, 0.3);
}

/* Free Quote Section with Enhanced Animations */
#quote {
  color: #fff;
  background-size: cover;
  background-position: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

#quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(25, 135, 84, 0.8), rgba(0, 123, 255, 0.8));
  z-index: 1;
}

#quote .container {
  position: relative;
  z-index: 2;
}

#quote h3 {
  font-size: 2rem;
  font-weight: bold;
  animation: fadeInUp 1s ease-out;
}

#quote .btn-outline-light {
  border-radius: 30px;
  padding: 10px 25px;
  border: 2px solid #fff;
  color: #fff;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

#quote .btn-outline-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  transition: left 0.4s ease;
  z-index: -1;
}

#quote .btn-outline-light:hover::before {
  left: 0;
}

#quote .btn-outline-light:hover {
  background-color: #fff;
  color: #198754;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

/* Membership Section with Enhanced Animations */
#membership {
  background-color: #e6f2e6;
  position: relative;
}

#membership::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 70%, rgba(25, 135, 84, 0.1) 0%, transparent 50%);
  animation: float 10s ease-in-out infinite;
}

#membership img {
  max-width: 100%;
  height: 100px;
  margin: 0 auto;
  border-radius: 30%;
  display: block;
  filter: grayscale(100%);
  transition: all 0.4s ease;
  animation: float 4s ease-in-out infinite;
}

#membership img:hover {
  filter: grayscale(0);
  transform: scale(1.2) rotate(10deg);
  animation: pulse 1s ease-in-out infinite;
}

#membership p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

#membership p:hover {
  color: #198754;
  transform: translateX(5px);
}

/* Enhanced Footer - Premium Design */
.footer {
  background: linear-gradient(135deg, #046930 0%, #198754 50%, #20c997 100%);
  color: #fff;
  font-family: "Arial", sans-serif;
  font-size: 16px;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 100px 0 60px 0;
  box-shadow: 0 -15px 50px rgba(0, 0, 0, 0.25);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ffffff, #198754, #007bff, #ffffff);
  animation: shimmer 4s ease-in-out infinite;
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer h5, .footer h6 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  position: relative;
}

.footer h5::after, .footer h6::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #ffffff, #20c997);
  border-radius: 1px;
}

.footer-logo {
  /* Keep footer logo consistent with homepage (#footer .footer-logo from main.css) */
  height: 56px;
  width: 56px;
  margin-bottom: 20px;
  padding: 6px;
  background: rgba(255,255,255,0.96) !important;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
  transition: transform var(--transition), filter var(--transition) !important;
  border-radius: 50%;
  overflow: hidden;
  object-fit: contain;
  filter: none !important;
  animation: none !important;
}

.footer-logo:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px var(--green));
}

.footer a {
  color: #ffffff;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
  font-weight: 500;
}

.footer a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffffff, #20c997);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.footer a:hover::before {
  width: 100%;
}

.footer a:hover {
  color: #20c997;
  transform: translateY(-2px);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer hr {
  border-top: 3px solid rgba(255, 255, 255, 0.25);
  width: 95%;
  margin: 40px auto;
  animation: expandWidth 2s ease-out 1s forwards;
  border-radius: 2px;
}

.footer .fab {
  font-size: 24px;
  transition: all 0.4s ease;
  animation: float 4s ease-in-out infinite;
  margin: 0 8px;
  padding: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer .fab:hover {
  color: #20c997;
  transform: scale(1.2) rotate(360deg);
  animation: pulse 1s ease-in-out infinite;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 25px rgba(32, 201, 151, 0.4);
}

.footer p {
  margin-bottom: 8px;
  transition: all 0.3s ease;
  line-height: 1.6;
}

.footer p:hover {
  transform: translateX(5px);
  color: #20c997;
}

.footer small {
  display: block;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
  font-size: 12px;
  text-align: center;
}

.footer small:hover {
  color: #ffffff;
}

/* Footer Sections */
.footer-section {
  margin-bottom: 30px;
}

.footer-section:last-child {
  margin-bottom: 0;
}

/* Footer Social Icons Container */
.footer-social {
  text-align: center;
  margin: 20px 0;
}

.footer-social .fab {
  margin: 0 10px;
}

/* Footer Contact Info */
.footer-contact {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 20px;
  margin: 20px 0;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 10px;
  color: #20c997;
  width: 20px;
  text-align: center;
}

/* Enhanced Form Section Animations */
.form-section {
  background-color: #2b8a3e;
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.form-section:hover::before {
  left: 100%;
}

.form-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.form-row {
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.form-row:hover {
  transform: translateX(5px);
}

label {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
  transition: all 0.3s ease;
  color: #fff;
}

.form-row:hover label {
  color: #ffd700;
  transform: scale(1.02);
}

input,
textarea {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
  transform: scale(1.02);
}

input[type="date"] {
  max-width: 200px;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

button {
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

button:hover::before {
  left: 100%;
}

button:hover {
  background-color: #45a049;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3);
}

input[type="checkbox"] {
  margin-right: 10px;
  transition: all 0.3s ease;
}

input[type="checkbox"]:checked {
  background-color: #4caf50;
  transform: scale(1.2);
}

/* Enhanced Contact Info Bar */
.contact-info-bar {
  font-size: 14px;
  border-bottom: 1px solid #ddd;
  transition: all 0.3s ease;
}

.contact-info-bar:hover {
  background: linear-gradient(90deg, #f8f9fa, #e9ecef, #f8f9fa);
  background-size: 200% 100%;
  animation: shimmer 2s ease-in-out infinite;
}

.contact-info-bar i {
  font-size: 18px;
  vertical-align: middle;
  transition: all 0.4s ease;
}

.contact-info-bar i:hover {
  transform: scale(1.3) rotate(360deg);
  color: #198754 !important;
}

.contact-info-bar span {
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-info-bar .row > div {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-info-bar .row > div:hover {
  transform: translateY(-2px);
  background: rgba(25, 135, 84, 0.1);
  border-radius: 8px;
  padding: 5px;
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

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

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #198754, #007bff, #198754);
  z-index: 9999;
  transition: width 0.1s ease;
}

/* Parallax Effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .contact-info-bar .row > div {
    flex-direction: column;
    text-align: center;
  }
  
  .animate-on-scroll,
  .animate-left,
  .animate-right,
  .animate-scale {
    opacity: 1;
    transform: none;
  }
  
  .parallax {
    background-attachment: scroll;
  }
}

/* Print Styles */
@media print {
  .animate-on-scroll,
  .animate-left,
  .animate-right,
  .animate-scale,
  .stagger-animate {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* Welcome Section Styling */
#welcome {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
  border-top: 3px solid #007bff;
  border-bottom: 3px solid #007bff;
  padding: 100px 0;
}

#welcome::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(0, 123, 255, 0.05) 0%, transparent 50%);
  animation: float 8s ease-in-out infinite;
}

#welcome .container {
  position: relative;
  z-index: 2;
}

#welcome h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  font-weight: 700;
}

#welcome h2::after {
  background: linear-gradient(90deg, #007bff, #198754, #007bff);
}

#welcome p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

#welcome img {
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: all 0.5s ease;
  max-width: 200px;
  margin: 0 auto;
  display: block;
}

#welcome img:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Testimonials Section Enhanced Styling */
#testimonials {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  position: relative;
  overflow: hidden;
  border-top: 3px solid #e74c3c;
  border-bottom: 3px solid #e74c3c;
  padding: 100px 0;
}

#testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
}

#testimonials .container {
  position: relative;
  z-index: 2;
}

#testimonials h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 50px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  font-weight: 700;
}

#testimonials h2::after {
  background: linear-gradient(90deg, #e74c3c, #f39c12, #e74c3c);
}

/* Our Network Section Enhanced Styling */
#our-network {
  background: linear-gradient(135deg, #ffffff 0%, #ecf0f1 100%);
  position: relative;
  overflow: hidden;
  border-top: 3px solid #9b59b6;
  border-bottom: 3px solid #9b59b6;
  padding: 100px 0;
}

#our-network::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(155, 89, 182, 0.05) 0%, transparent 50%);
  animation: float 10s ease-in-out infinite;
}

#our-network .container {
  position: relative;
  z-index: 2;
}

#our-network h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #9b59b6;
  margin-bottom: 50px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  font-weight: 700;
}

#our-network h2::after {
  background: linear-gradient(90deg, #9b59b6, #3498db, #9b59b6);
}

/* Map Section Enhanced Styling */
#map {
  background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
  position: relative;
  overflow: hidden;
  border-top: 3px solid #95a5a6;
  border-bottom: 3px solid #95a5a6;
  padding: 80px 0;
}

#map .container {
  position: relative;
  z-index: 2;
}

#map h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  font-weight: 700;
}

#map h2::after {
  background: linear-gradient(90deg, #95a5a6, #7f8c8d, #95a5a6);
}

/* News Section Enhanced Styling */
#news {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
  border-top: 3px solid #17a2b8;
  border-bottom: 3px solid #17a2b8;
  padding: 100px 0;
}

#news::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(23, 162, 184, 0.05) 0%, transparent 50%);
  animation: float 12s ease-in-out infinite;
}

#news .container {
  position: relative;
  z-index: 2;
}

#news h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #17a2b8;
  margin-bottom: 50px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  font-weight: 700;
}

#news h2::after {
  background: linear-gradient(90deg, #17a2b8, #20c997, #17a2b8);
}

/* Quote Section Enhanced Styling */
#quote {
  background: linear-gradient(135deg, #198754 0%, #20c997 100%);
  position: relative;
  overflow: hidden;
  border-top: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  padding: 100px 0;
}

#quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M0,25 Q12.5,15 25,25 T50,25" stroke="rgba(255,255,255,0.1)" fill="none" stroke-width="2"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
  opacity: 0.3;
}

#quote .container {
  position: relative;
  z-index: 2;
}

#quote h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  font-weight: 700;
}

#quote h2::after {
  background: linear-gradient(90deg, #ffffff, #f8f9fa, #ffffff);
}

/* Membership Section Enhanced Styling */
#membership {
  background: linear-gradient(135deg, #e6f2e6 0%, #d4edda 100%);
  position: relative;
  overflow: hidden;
  border-top: 3px solid #28a745;
  border-bottom: 3px solid #28a745;
  padding: 100px 0;
}

#membership::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 70%, rgba(40, 167, 69, 0.1) 0%, transparent 50%);
  animation: float 14s ease-in-out infinite;
}

#membership .container {
  position: relative;
  z-index: 2;
}

#membership h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #28a745;
  margin-bottom: 50px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  font-weight: 700;
}

#membership h2::after {
  background: linear-gradient(90deg, #28a745, #20c997, #28a745);
}

/* Contact Section Enhanced Styling */
#contact {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  position: relative;
  overflow: hidden;
  border-top: 3px solid #3498db;
  border-bottom: 3px solid #3498db;
  padding: 100px 0;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="25" height="25" patternUnits="userSpaceOnUse"><path d="M25,0 L0,0 0,25" stroke="rgba(52, 152, 219, 0.1)" fill="none" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

#contact .container {
  position: relative;
  z-index: 2;
}

#contact h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 50px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  font-weight: 700;
}

#contact h2::after {
  background: linear-gradient(90deg, #3498db, #2980b9, #3498db);
}

/* Footer List Items */
.footer-column ul {
  margin: 0;
  padding: 0;
}

.footer-column li {
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.footer-column li:hover {
  transform: translateX(8px);
}

.footer-column li a {
  display: inline-block;
  padding: 5px 0;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.footer-column li a:hover {
  background: rgba(255, 255, 255, 0.1);
  padding-left: 10px;
  padding-right: 10px;
}

/* Footer Header Section - Company Info */
.footer-header {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-company-name {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
  background: linear-gradient(135deg, #ffffff, #20c997);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  font-weight: 500;
}

.footer-years {
  font-size: 1.3rem;
  font-weight: 700;
  color: #20c997;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 25px;
  border-radius: 25px;
  display: inline-block;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Footer Main Content - 4 Column Layout */
.footer-main {
  margin-bottom: 50px;
}

.footer-column h5 {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 25px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
  position: relative;
  padding-bottom: 15px;
}

.footer-column h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #ffffff, #20c997);
  border-radius: 2px;
}

.footer-column h6 {
  color: #20c997;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 30px;
}

.footer-bottom p {
  margin-bottom: 15px;
  transition: all 0.3s ease;
  line-height: 1.6;
  font-size: 1rem;
}

.footer-bottom p:hover {
  transform: translateX(5px);
  color: #20c997;
}

.footer-bottom small {
  display: block;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
  font-size: 14px;
  text-align: center;
}

.footer-bottom small:hover {
  color: #ffffff;
}

/* Navigation Bar Additional Sizing */
.navbar {
  min-height: 90px;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Enhanced Navigation Brand */
.navbar-brand {
  padding: 15px 0;
  margin-right: 30px;
}

.navbar-brand span {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #198754, #007bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation Link Enhancements */
.nav-link {
  position: relative;
  z-index: 1;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #198754, #007bff);
  transition: all 0.4s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

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

/* Mobile Navigation Improvements */
@media (max-width: 991.98px) {
  .navbar {
    min-height: 80px;
    padding: 15px 0;
  }
  
  .navbar-brand {
    margin-right: 0;
  }
  
  .navbar-brand span {
    font-size: 1.5rem;
  }
  
  .navbar-nav {
    margin-top: 20px;
    gap: 5px;
  }
  
  .nav-link {
    padding: 15px 20px !important;
    margin: 5px 0;
    text-align: center;
  }
}

/* Service Cards - Uniform Sizes and Hover Effects */
.service-card {
  height: 100%;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  background: white;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 50px rgba(25, 135, 84, 0.25);
}

.service-card-link {
  display: block;
  height: 100%;
  transition: all 0.3s ease;
}

.service-card-link:hover {
  text-decoration: none;
}

.service-image-container {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.service-card:hover .service-image {
  transform: scale(1.1);
}

.service-hover-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: rgba(25, 135, 84, 0.9);
  color: white;
  padding: 15px 20px;
  border-radius: 25px;
  text-align: center;
  transition: all 0.4s ease;
  opacity: 0;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-card:hover .service-hover-info {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.service-hover-info i {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 5px;
  animation: bounce 1s infinite;
}

.service-hover-info span {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Service Card Body */
.service-card .card-body {
  padding: 20px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card h5 {
  margin-bottom: 10px;
  color: #198754;
  font-size: 1.1rem;
}

.service-card p {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Service Cards Grid */
#services .row {
  margin: 0 -15px;
}

#services .col-lg-3,
#services .col-md-4,
#services .col-sm-6 {
  padding: 15px;
  margin-bottom: 20px;
}

/* Responsive Service Cards */
@media (max-width: 991.98px) {
  .service-image-container {
    height: 180px;
  }
  
  .service-card .card-body {
    min-height: 100px;
    padding: 15px;
  }
  
  .service-card h5 {
    font-size: 1rem;
  }
  
  .service-card p {
    font-size: 0.8rem;
  }
}

@media (max-width: 767.98px) {
  .service-image-container {
    height: 160px;
  }
  
  .service-card .card-body {
    min-height: 90px;
    padding: 12px;
  }
  
  .service-hover-info {
    padding: 10px 15px;
  }
  
  .service-hover-info i {
    font-size: 1.2rem;
  }
  
  .service-hover-info span {
    font-size: 0.8rem;
  }
}

/* Mobile Navigation Ball */
.nav-ball {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #198754, #20c997);
  border-radius: 50%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 20px 60px rgba(25, 135, 84, 0.4);
  overflow: hidden;
}

.nav-ball.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.nav-ball-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  color: white;
}

.nav-ball-header {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
}

.nav-ball-header h6 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}

.nav-ball-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.nav-ball-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.nav-ball-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.nav-ball-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  font-weight: 600;
  min-width: 180px;
  justify-content: center;
}

.nav-ball-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(10px);
  color: white;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.nav-ball-link i {
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.nav-ball-link span {
  font-size: 0.95rem;
}

/* Navigation Ball Responsive */
@media (max-width: 480px) {
  .nav-ball {
    width: 280px;
    height: 280px;
  }
  
  .nav-ball-content {
    padding: 25px;
  }
  
  .nav-ball-header {
    padding: 0 25px;
  }
  
  .nav-ball-link {
    min-width: 160px;
    padding: 10px 16px;
  }
  
  .nav-ball-link i {
    font-size: 1.1rem;
  }
  
  .nav-ball-link span {
    font-size: 0.9rem;
  }
}

/* Toggle Button Active State */
.navbar-toggler.active {
  background: linear-gradient(135deg, #20c997, #198754) !important;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(32, 201, 151, 0.4);
}

/* Services Horizontal Carousel */
.services-carousel-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.services-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.services-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 20px;
  padding: 10px;
}

.service-item {
  flex: 0 0 300px;
  min-width: 300px;
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: scale(1.02);
}

/* Navigation Arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #198754, #20c997);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
}

.carousel-nav:hover {
  background: linear-gradient(135deg, #20c997, #198754);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(25, 135, 84, 0.4);
}

.carousel-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.prev-btn {
  left: -25px;
}

.next-btn {
  right: -25px;
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(25, 135, 84, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.indicator:hover {
  background: rgba(25, 135, 84, 0.6);
  transform: scale(1.2);
}

.indicator.active {
  background: #198754;
  border-color: #20c997;
  transform: scale(1.3);
}

/* Responsive Carousel */
@media (max-width: 768px) {
  .service-item {
    flex: 0 0 280px;
    min-width: 280px;
  }
  
  .carousel-nav {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .prev-btn {
    left: -25px;
  }
  
  .next-btn {
    right: -25px;
  }
}

/* Anniversary Content Centering for Mobile and Medium Screens */
@media (max-width: 991.98px) {
  #welcome .row {
    justify-content: center !important;
  }
  
  #welcome .col-4 {
    flex: 0 0 auto;
    width: auto;
    max-width: 200px;
  }
  
  #welcome h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  #welcome p {
    text-align: center;
    font-size: 1.1rem;
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  #welcome h2 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  #welcome p {
    font-size: 1rem;
    padding: 0 15px;
  }
  
  #welcome .col-4 {
    max-width: 150px;
  }
}

@media (max-width: 575.98px) {
  #welcome h2 {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  
  #welcome p {
    font-size: 0.95rem;
    padding: 0 10px;
  }
  
  #welcome .col-4 {
    max-width: 120px;
  }
}

@media (max-width: 576px) {
  .service-item {
    flex: 0 0 260px;
    min-width: 260px;
  }
  
  .carousel-nav {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  .prev-btn {
    left: -20px;
  }
  
  .next-btn {
    right: -20px;
  }
  
  .carousel-indicators {
    margin-top: 20px;
  }
  
  .indicator {
    width: 12px;
    height: 12px;
  }
}
