:root {
  --primary-color: #6b9e65;
  --primary-dark: #5a8a54;
  --text-color: #000000;
  --text-light: #666666;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --black: #000000;
  --dark: #000000;
  --border-radius: 8px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --tech-line: rgba(76, 175, 80, 0.1);
  --tech-node: rgba(76, 175, 80, 0.6);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Poppins", "Roboto", sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  overflow-x: hidden;
  background-color: #f8f9fa;
  position: relative;
  min-height: 100vh;
  background: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 100px 0;
  background-color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
}

.bg-light {
  background-color: rgba(245, 245, 245, 0.85) !important;
  backdrop-filter: blur(5px);
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-block;
  /* background-color: var(--primary-color);
    color: var(--white); */
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  text-transform: capitalize;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
}

.btn:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.btn-outline {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.btn-block {
  display: block;
  width: 100%;
}

.section-title {
  margin-bottom: 60px;
  text-align: center;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

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

.left-align h2::after {
  left: 0;
  transform: none;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo img {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-item {
  margin-left: 30px;
  position: relative;
}

.nav-link {
  color: var(--text-color);
  font-weight: 500;
  font-size: 1rem;
  text-transform: capitalize;
  padding: 10px 0;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
  transition: var(--transition);
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: var(--transition);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 80px 30px 30px;
  transition: var(--transition);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul li {
  margin-bottom: 20px;
}

.mobile-menu .mobile-nav-link {
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 500;
  transition: var(--transition);
  display: block;
  padding: 8px 0;
}

.mobile-menu .mobile-nav-link:hover,
.mobile-menu .mobile-nav-link.active {
  color: var(--primary-color);
  padding-left: 10px;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(24, 154, 57, 0.69)),
    url("../asset/image/wallpaper/wallpaper.png") no-repeat center center/cover;
  color: var(--white);
  text-align: center;
  padding: 120px 0 80px;
  overflow: hidden;
  margin: 0;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Hero section splitter removed */

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 20px;
  border-radius: 20px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: capitalize;
  animation: fadeInUp 1s ease;
  color: var(--white);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.4s;
  animation-fill-mode: both;
}

.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 0.9rem;
  text-decoration: none;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounce 2s infinite;
}

.scroll-icon {
  display: block;
  width: 30px;
  height: 50px;
  border: 2px solid var(--white);
  border-radius: 15px;
  margin-bottom: 10px;
  position: relative;
}

.scroll-icon::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 10px;
  background-color: var(--white);
  border-radius: 2px;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 20px);
    opacity: 0;
  }
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.section-padding .features-grid #feature-card1 {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(10, 28, 8, 1)),
    url("../asset/image/why_choose_us_card/excellence.jpg") no-repeat center
      center/cover;
  color: var(--white);
}
.section-padding .features-grid #feature-card2 {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(10, 28, 8, 1)),
    url("../asset/image/why_choose_us_card/Integrity.jpg") no-repeat center
      center/cover;
  color: var(--white);
}
.section-padding .features-grid #feature-card3 {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(10, 28, 8, 1)),
    url("../asset/image/why_choose_us_card/innovation.jpg") no-repeat center
      center/cover;
  color: var(--white);
}
/*hover **/
.section-padding .features-grid #feature-card1:hover {
  background: var(--dark);
}
.section-padding .features-grid #feature-card2:hover {
  background: var(--dark);
}
.section-padding .features-grid #feature-card3:hover {
  background: var(--dark);
}

.feature-card {
  /* background-color: var(--white); */
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid #eee;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.81);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--primary-color);
  font-size: 30px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background-color: var(--primary-color);
  color: var(--white);
  transform: rotateY(180deg);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--white);
}

.feature-card p {
  color: var(--white);
  margin-bottom: 0;
}

/* About Section */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.about-content p {
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 1.05rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0 30px;
}

.stat-item {
  text-align: center;
  padding: 20px 10px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 5px;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid #eee;
  text-align: center;
  padding: 40px 25px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

#service-card1 {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(10, 28, 8, 1)),
    url("../asset/image/Services/vet_services.jpg") no-repeat center
      center/cover;
  color: var(--white);
}
#service-card1:hover {
  background: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 1)),
    url("../asset/image/Services/vet_services.jpg") no-repeat center
      center/cover;
  color: var(--white);
}

#service-card2 {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(10, 28, 8, 1)),
    url("../asset/image/Services/farm_solution.jpg") no-repeat center
      center/cover;
  color: var(--white);
}
#service-card2:hover {
  background: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 1)),
    url("../asset/image/Services/vet_services.jpg") no-repeat center
      center/cover;
  color: var(--white);
}

#service-card3 {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(10, 28, 8, 1)),
    url("../asset/image/Services/consulting.jpg") no-repeat center center/cover;
  color: var(--white);
}
#service-card3:hover {
  background: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 1)),
    url("../asset/image/Services/vet_services.jpg") no-repeat center
      center/cover;
  color: var(--white);
}

#service-card4 {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(10, 28, 8, 1)),
    url("../asset/image/Services/training.jpg") no-repeat center center/cover;
  color: var(--white);
}
#service-card4:hover {
  background: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 1)),
    url("../asset/image/Services/vet_services.jpg") no-repeat center
      center/cover;
  color: var(--white);
}

#service-card5 {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(10, 28, 8, 1)),
    url("../asset/image/Services/investment.jpg") no-repeat center center/cover;
  color: var(--white);
}
#service-card5:hover {
  background: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 1)),
    url("../asset/image/Services/vet_services.jpg") no-repeat center
      center/cover;
  color: var(--white);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.81);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--primary-color);
  font-size: 30px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--primary-color);
  color: var(--white);
  transform: rotateY(180deg);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--light);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.service-link {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.service-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--primary-dark);
}

.service-link:hover i {
  transform: translateX(5px);
}

/* Team Section */
.team-section {
  margin: 0 auto 60px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  display: none;
  max-width: 1200px;
  padding: 0 20px;
}

.team-section.active {
  opacity: 1;
  transform: translateY(0);
  display: block;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.team-section[data-category="leadership"] {
  max-width: 1000px;
  margin: 0 auto 60px;
}

.team-section .bio {
  padding: 30px;
  line-height: 1.8;
  color: #555;
  background: #f9f9f9;
  border-top: 1px solid #eee;
  margin-top: 30px;
  border-radius: 0 0 12px 12px;
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #f1f1f1;
}

.team-section .bio::-webkit-scrollbar {
  width: 6px;
}

.team-section .bio::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.team-section .bio::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.team-section .bio::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

.team-section .bio #name {
  color: var(--primary-color);
  font-weight: 600;
}

.team-section[data-category="leadership"] {
  display: block;
  opacity: 1;
  transform: none;
  max-height: none;
  overflow: visible;
}

.team-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto 60px;
  gap: 12px;
  max-width: 1000px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 60px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 2;
  border: 1px solid rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.team-filter .filter-btn {
  padding: 10px 25px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 30px;
  color: #666;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.team-filter .filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--primary-color);
  transition: width 0.3s ease;
  z-index: -1;
  border-radius: 30px;
}

.team-filter .filter-btn:hover,
.team-filter .filter-btn.active {
  color: #fff;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.team-filter .filter-btn:hover::before,
.team-filter .filter-btn.active::before {
  width: 100%;
}

.team-filter .filter-btn.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.team-city {
  font-size: 2.2rem;
  color: #1a2b3c;
  margin: 30px 0 20px;
  padding: 0 0 20px;
  position: relative;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.team-city::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #4caf50);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.team-city:hover::after {
  width: 100px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
  margin: 40px 0;
  transition: all 0.4s ease;
  align-items: start;
  padding: 0 0 20px;
}

/* Leadership grid specific styles */
.team-section[data-category="leadership"] .team-grid {
  grid-template-columns: 1fr 1.5fr;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
  align-items: start;
}

/* Leadership team member card */
.team-section[data-category="leadership"] .team-member-wrapper {
  grid-column: 1;
  margin: 0;
  height: 100%;
}

.team-section[data-category="leadership"] .team-member {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: none;
  transition: all 0.3s ease;
}

.team-section[data-category="leadership"] .team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Leadership bio section */
.team-section[data-category="leadership"] .bio {
  grid-column: 2;
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  margin: 0;
  height: 100%;
  max-height: none;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.team-section[data-category="leadership"] .bio p {
  margin-bottom: 1.5em;
  line-height: 1.8;
  color: #444;
}

.team-section[data-category="leadership"] .bio p:last-child {
  margin-bottom: 0;
}

.team-section[data-category="leadership"] .bio strong,
.team-section[data-category="leadership"] .bio #name {
  color: var(--primary-color);
  font-weight: 600;
}

/* Make the bio scrollable if content is too long */
.team-section[data-category="leadership"] .bio {
  max-height: 800px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #f1f1f1;
}

.team-section[data-category="leadership"] .bio::-webkit-scrollbar {
  width: 6px;
}

.team-section[data-category="leadership"] .bio::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.team-section[data-category="leadership"] .bio::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

/* Adjust image container for leadership */
.team-section[data-category="leadership"] .team-image {
  height: 400px;
  border-radius: 12px 12px 0 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.team-section[data-category="leadership"] .team-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.team-section[data-category="leadership"] .team-member:hover .team-image img {
  transform: scale(1.03);
}

/* Adjust team info for leadership */
.team-section[data-category="leadership"] .team-info {
  padding: 25px;
  border-radius: 0 0 12px 12px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .team-section[data-category="leadership"] .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 15px;
  }
  .team-section[data-category="leadership"] .team-member-wrapper,
  .team-section[data-category="leadership"] .bio {
    grid-column: 1;
    position: static;
  }
  .team-section[data-category="leadership"] .team-member {
    margin-bottom: 20px;
  }
  .team-section[data-category="leadership"] .team-image {
    height: 350px;
  }
  .team-section[data-category="leadership"] .bio {
    padding: 25px;
    margin-top: 0;
  }
  .team-section[data-category="leadership"] .bio p {
    font-size: 0.95em;
    line-height: 1.7;
  }
}

@media (max-width: 768px) {
  .team-section[data-category="leadership"] .team-grid {
    gap: 20px;
  }
  .team-section[data-category="leadership"] .team-member {
    margin-bottom: 15px;
  }
  .team-section[data-category="leadership"] .team-image {
    height: 300px;
  }
  .team-section[data-category="leadership"] .bio {
    padding: 20px;
  }
  .team-section[data-category="leadership"] .bio p {
    font-size: 0.9em;
    line-height: 1.6;
  }
}

/* Other team sections grid */
.team-section:not([data-category="leadership"]) .team-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  padding: 0 20px 30px;
}

.team-member {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.1);
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), #4caf50);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member:hover::before {
  opacity: 1;
}

.team-image {
  position: relative;
  overflow: hidden;
  height: 320px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(20%);
}

.team-member:hover .team-image img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.team-info {
  padding: 30px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  text-align: center;
  background: #fff;
  position: relative;
  z-index: 1;
}

.team-info h3 {
  font-size: 1.4rem;
  margin: 0 0 8px;
  color: #2c3e50;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.team-info p {
  color: var(--primary-color);
  font-weight: 600;
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.team-info .team-position {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin-top: 5px;
  font-weight: 500;
}

.team-info::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease;
}

.team-member:hover .team-info::after {
  width: 80px;
  background: var(--primary-dark);
}

/* Gallery Section */
.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 auto 40px;
  max-width: 800px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 2;
}

.gallery-filter .filter-btn {
  padding: 8px 22px;
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  margin: 3px 0;
  outline: none;
  position: relative;
  overflow: hidden;
}

.gallery-filter .filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
  z-index: -1;
  border-radius: 50px;
}

.gallery-filter .filter-btn:hover,
.gallery-filter .filter-btn.active {
  color: var(--white);
  border-color: var(--primary-color);
}

.gallery-filter .filter-btn:hover::before,
.gallery-filter .filter-btn.active::before {
  width: 100%;
}

/* Active state with different style */
.gallery-filter .filter-btn.active {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 15px rgba(107, 158, 101, 0.3);
  transform: translateY(-2px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin: 30px auto 0;
  max-width: 1400px;
  padding: 0 20px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  text-align: center;
}

.lightbox-img {
  max-height: 80vh;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.lightbox-caption {
  color: white;
  font-size: 1.2rem;
  margin-top: 15px;
  padding: 10px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--primary-color);
}

/* Animation for lightbox content */
@keyframes lightboxFadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox.active .lightbox-content {
  animation: lightboxFadeIn 0.3s ease-out;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 250px;
}

.tech-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.15;
  pointer-events: none;
}

#tech-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-info {
  text-align: center;
  color: var(--white);
  padding: 20px;
  transform: translateY(20px);
  transition: var(--transition);
}

.gallery-item:hover .gallery-info {
  transform: translateY(0);
}

.gallery-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--white);
}

.gallery-info p {
  margin-bottom: 15px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.gallery-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  font-size: 18px;
  transition: var(--transition);
}

.gallery-view:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: rotate(90deg);
}

/* Appointment Section */
.appointment-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.appointment-info {
  padding: 50px;
  background-color: #f9f9f9;
}

.appointment-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.appointment-info p {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(107, 158, 101, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 20px;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--dark);
}

.contact-details p,
.contact-details a {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.working-hours h4 {
  font-size: 1.3rem;
  margin: 30px 0 15px;
  color: var(--dark);
}

.working-hours ul {
  list-style: none;
}

.working-hours li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  color: var(--text-light);
  font-size: 0.95rem;
}

.working-hours li:last-child {
  border-bottom: none;
}

.working-hours span {
  color: var(--dark);
  font-weight: 500;
}

.appointment-form-container {
  padding: 50px;
}

.appointment-form .form-group {
  margin-bottom: 20px;
}

.appointment-form .form-control {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  transition: var(--transition);
}

.appointment-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(107, 158, 101, 0.2);
  outline: none;
}

.appointment-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* Testimonials Section */
.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.testimonial-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--box-shadow);
  margin: 20px 10px;
  position: relative;
}

.testimonial-item::before {
  content: "\201C";
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 80px;
  color: rgba(107, 158, 101, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
  z-index: 1;
}

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

.testimonial-text {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
  font-style: italic;
}

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

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  border: 3px solid var(--primary-color);
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--dark);
}

.author-info span {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
}

.contact-info {
  padding-right: 30px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.contact-item {
  display: flex;
  margin-bottom: 25px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(107, 158, 101, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 20px;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--dark);
}

.contact-text p,
.contact-text a {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
  transition: var(--transition);
}

.contact-text a:hover {
  color: var(--primary-color);
}

.social-links h4 {
  font-size: 1.3rem;
  margin: 40px 0 15px;
  color: var(--dark);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #f5f5f5;
  color: var(--text-color);
  border-radius: 50%;
  font-size: 18px;
  transition: var(--transition);
}

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

.contact-form-container {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--box-shadow);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form .form-control {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  transition: var(--transition);
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(107, 158, 101, 0.2);
  outline: none;
}

.contact-form textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.map-container {
  margin-top: 50px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

/* Newsletter Section */
.newsletter {
  background-color: var(--primary-color);
  padding: 70px 0;
  color: var(--white);
  text-align: center;
}

.newsletter-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

.newsletter h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--white);
}

.newsletter p {
  margin-bottom: 30px;
  font-size: 1.1rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  overflow: hidden;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 25px;
  border: none;
  font-size: 1rem;
  outline: none;
}

.newsletter-form button {
  background-color: var(--dark);
  color: var(--white);
  border: none;
  padding: 0 30px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: #111;
}

/* Footer */
.footer {
  background-color: var(--black);
  color: #ffffff;
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-widget {
  margin-bottom: 30px;
}

.footer-widget h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-widget h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-logo img {
  height: 40px;
  margin-bottom: 20px;
}

.footer-widget p {
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 0.95rem;
  color: #cccccc;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  font-size: 16px;
  transition: var(--transition);
}

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

.footer-widget ul li {
  margin-bottom: 12px;
}

.footer-widget ul li:last-child {
  margin-bottom: 0;
}

.footer-widget ul li a {
  color: #cccccc;
  font-size: 0.95rem;
  transition: var(--transition);
  display: block;
  padding: 5px 0;
}

.footer-widget ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.contact-info {
  padding-right: 0;
}

.contact-info ul li {
  display: flex;
  margin-bottom: 15px;
  align-items: flex-start;
}

.contact-info ul li:last-child {
  margin-bottom: 0;
}

.contact-info ul li i {
  color: var(--primary-color);
  margin-right: 15px;
  font-size: 18px;
  margin-top: 5px;
}

.contact-info ul li span {
  flex: 1;
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  background-color: var(--black);
}

.copyright {
  font-size: 0.9rem;
  color: #cccccc;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #cccccc;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  bottom: 30px;
}

.back-to-top:hover {
  background-color: var(--dark);
  color: var(--white);
  transform: translateY(-5px);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 5px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.close-lightbox {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--white);
  font-size: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.close-lightbox:hover {
  color: var(--primary-color);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-nav.prev {
  left: -70px;
}

.lightbox-nav.next {
  right: -70px;
}

.lightbox-nav:hover {
  background-color: var(--primary-color);
}

.lightbox-caption {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  text-align: center;
  color: var(--white);
  font-size: 1rem;
}

/* Responsive Styles */
@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }

  .about-container,
  .appointment-container,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    max-width: 600px;
    margin: 0 auto;
  }

  .appointment-info,
  .appointment-form-container {
    padding: 40px;
  }

  .contact-info {
    padding-right: 0;
  }

  .map-container iframe {
    height: 400px;
  }
}

@media (max-width: 991px) {
  .container {
    max-width: 720px;
  }

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

  .section-title h2 {
    font-size: 2.2rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .features-grid,
  .services-grid,
  .team-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-form {
    flex-direction: column;
    border-radius: var(--border-radius);
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    border-radius: var(--border-radius);
  }

  .newsletter-form button {
    padding: 15px;
  }

  .lightbox-nav.prev {
    left: 10px;
  }

  .lightbox-nav.next {
    right: 10px;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: 540px;
  }

  .section-padding {
    padding: 70px 0;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .features-grid,
  .services-grid,
  .team-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 18px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 575px) {
  .container {
    padding: 0 15px;
  }

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

  .section-title h2 {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }

  .appointment-info,
  .appointment-form-container,
  .contact-form-container {
    padding: 30px 20px;
  }

  .testimonial-item {
    padding: 30px 20px;
  }

  .testimonial-item::before {
    font-size: 60px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .close-lightbox {
    top: -50px;
    font-size: 25px;
  }
}

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

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  animation: bounce 2s infinite;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(107, 158, 101, 0.2);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  margin: 0 auto;
  animation: spin 1s linear infinite;
}

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

/* Utility Classes */
.mt-5 {
  margin-top: 3rem;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.5rem !important;
}

.mb-2 {
  margin-bottom: 1rem !important;
}

.mb-3 {
  margin-bottom: 1.5rem !important;
}

.mb-4 {
  margin-bottom: 2rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.text-white {
  color: var(--white) !important;
}

.bg-white {
  background-color: var(--white) !important;
}

.text-center {
  text-align: center !important;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.d-block {
  display: block !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-flex {
  display: flex !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.align-items-center {
  align-items: center !important;
}

.flex-column {
  flex-direction: column !important;
}

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.p-0 {
  padding: 0 !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

.position-fixed {
  position: fixed !important;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.rounded {
  border-radius: var(--border-radius) !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.shadow {
  box-shadow: var(--box-shadow) !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.visible {
  visibility: visible !important;
}

.invisible {
  visibility: hidden !important;
}

/* Form Validation */
.form-control.error {
  border-color: #dc3545 !important;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 30px;
  background-color: #f8f9fa;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(40, 167, 69, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #28a745;
  font-size: 40px;
}

.success-message h3 {
  color: #28a745;
  margin-bottom: 15px;
}

.success-message p {
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Print Styles */
@media print {
  .no-print,
  .header,
  .footer,
  .back-to-top,
  .mobile-menu-btn {
    display: none !important;
  }

  body {
    padding: 20px;
    font-size: 12pt;
    line-height: 1.5;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

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

  .section-title h2 {
    font-size: 24pt !important;
    margin-bottom: 15px !important;
  }

  .btn {
    display: none !important;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    font-weight: normal;
    color: #666;
  }
}
