/* ========================================================================
   Final CSS File for ARRISE Project (2026)
   Responsive, Animated, Mobile Menu, and Modern Techniques
======================================================================== */

/* -------------------------------
   Reset & Base Styles
------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Custom Properties */
:root {
  --primary-color: #660033;
  --primary-dark: #330A1F;
  --secondary-color: #2ecc71;
  --tertiary-color: #e74c3c;
  --text-color: #333333;
  --background-color: #ffffff;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #757575;
  --font-main: 'Roboto', sans-serif;
  --font-headings: 'Montserrat', sans-serif;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #ecf0f1;
    --primary-dark: #3498db;
    --secondary-color: #27ae60;
    --tertiary-color: #e74c3c;
    --text-color: #ecf0f1;
    --background-color: #2c3e50;
    --light-gray: #1e1e1e;
    --medium-gray: #2d2d2d;
    --dark-gray: #aaaaaa;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  }
}

/* Header and Navigation */
.site-header {
  background-color: var(--background-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
}

.arrise-logo {
  max-height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  display: flex;
  align-items: center;
}

.nav-links a i {
  margin-right: 5px;
  font-size: 1.1rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.language-switcher {
  display: flex;
  align-items: center;
}

.language-switcher label {
  margin-right: 8px;
  font-size: 0.9rem;
  color: var(--text-color);
}

.language-switcher select {
  padding: 6px 8px;
  background-color: var(--light-gray);
  border: none;
  border-radius: 4px;
  color: var(--text-color);
  font-size: 0.9rem;
  cursor: pointer;
}

/* Base Styles */
body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
  min-height: 100vh;
  padding-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  margin-bottom: 1rem;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

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

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}

.col-50 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" width="10" height="10"/></svg>');
  opacity: 0.03;
  z-index: 1;
}

.morph-image {
  position: relative;
  z-index: 2;
  transform: perspective(1000px) rotateY(0deg);
  transition: transform 0.7s ease-in-out;
}

.morph-image:hover {
  transform: perspective(1000px) rotateY(5deg);
}

.pulsing-bg {
  animation: pulse 3s ease-in-out infinite;
  background: radial-gradient(ellipse at center, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0) 70%);
}

.hero-text h2 {
  background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.icon-list li {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.icon-list li:hover {
  transform: translateX(10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

/* ===== Services Section Improvements ===== */
.services-section {
  position: relative;
  padding: 120px 0;
  background: #ffffff;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(46, 204, 113, 0.05) 0%, transparent 50%);
  animation: gradientMove 15s ease-in-out infinite alternate;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-subtitle {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  color: white;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
  animation: badgePulse 3s ease-in-out infinite;
}

.section-title {
  font-size: 3rem;
  color: #2c3e50;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 8s linear infinite;
}

.section-description {
  color: #666;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: #ffffff;
  border-radius: 30px;
  padding: 40px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}

.service-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #3498db, #2ecc71, #f1c40f, #3498db);
  background-size: 400% 400%;
  z-index: -1;
  border-radius: 32px;
  animation: gradientBorder 3s ease infinite;
  opacity: 0.1;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, #3498db, #2ecc71);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  position: relative;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 15px 30px rgba(52, 152, 219, 0.2),
    inset 0 0 15px rgba(255, 255, 255, 0.3);
  transform: rotate(-10deg);
}

.service-card:hover .service-icon {
  transform: rotate(0deg) scale(1.1);
  box-shadow: 
    0 20px 40px rgba(52, 152, 219, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.4);
}

.service-content h3 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.service-content h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  border-radius: 3px;
}

.service-content p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.btn-service {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(52, 152, 219, 0.2);
}

.btn-service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #2ecc71, #3498db);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-service:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(52, 152, 219, 0.3);
}

.btn-service:hover::before {
  opacity: 1;
}

.btn-service span {
  position: relative;
  z-index: 1;
  margin-right: 10px;
}

.btn-service i {
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}

.btn-service:hover i {
  transform: translateX(8px);
}

@keyframes gradientMove {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

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

@keyframes gradientText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes gradientBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Responsive Design */
@media (max-width: 992px) {
  .services-section {
    padding: 80px 0;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .service-card {
    padding: 30px;
  }
  
  .service-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
}

/* ===== Testimonials Section Improvements ===== */
.testimonials-section {
  position: relative;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.03) 0%, rgba(52, 152, 219, 0.08) 100%);
  overflow: hidden;
}

.testimonials-section:before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0) 70%);
  top: -150px;
  left: -150px;
}

.testimonials-section:after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 76, 60, 0.08) 0%, rgba(231, 76, 60, 0) 70%);
  bottom: -150px;
  right: -150px;
}

.testimonials-slider {
  max-width: 900px;
  height: 350px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
  border-radius: 20px;
}

.testimonial-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
  transform: translateX(100px);
  top: 0;
  left: 0;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.testimonial-content {
  height: 100%;
  background: white;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-quote {
  position: relative;
  padding-left: 40px;
  margin-bottom: 25px;
}

.testimonial-quote i {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 2rem;
  color: rgba(52, 152, 219, 0.2);
}

.testimonial-quote p {
  font-style: italic;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
  margin-top: auto;
}

.testimonial-image {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
  border: 3px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-controls {
  margin-top: 40px;
  position: relative;
  z-index: 3;
}

.testimonial-prev,
.testimonial-next {
  background: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin: 0 5px;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
}

.testimonial-dots {
  display: flex;
  margin: 0 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: scale(0.8);
}

.dot.active {
  background: var(--secondary-color);
  transform: scale(1);
}

/* ===== News Section Improvements ===== */
.news-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.news-filters {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.news-filter {
  padding: 8px 20px;
  margin: 0 5px 10px;
  background: white;
  border: 1px solid #eee;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
  color: #666;
}

.news-filter.active {
  background: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
  box-shadow: 0 3px 10px rgba(52, 152, 219, 0.2);
}

.news-filter:hover:not(.active) {
  background: #f8f9fa;
  color: var(--secondary-color);
  border-color: #e9ecef;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.news-card {
  border-radius: 15px;
  overflow: hidden;
  background: white;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card.hidden {
  display: none;
}

.news-card:hover {
  transform: none !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.news-image {
  height: 220px;
  position: relative;
  overflow: hidden;
}

/* Enhanced News Image Slider */
.news-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.news-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.news-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(20px);
}

.news-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.news-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
}

/* Navigation Arrows */
.news-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 16px;
  color: #333;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-slider-container:hover .news-slider-arrow {
  opacity: 1;
  visibility: visible;
}

.news-slider-prev {
  left: 15px;
}

.news-slider-next {
  right: 15px;
}

.news-slider-arrow:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.news-slider-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

/* Navigation Dots */
.news-slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 12px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.news-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.news-slider-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-slider-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.news-slider-dot.active {
  background: #ffffff;
  transform: scale(1.3);
}

.news-slider-dot.active::before {
  width: 4px;
  height: 4px;
}

/* Single image styling */
.news-image img:only-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

/* Ensure news date stays on top */
.news-date {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 15 !important;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .news-slider-arrow {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  
  .news-slider-prev {
    left: 10px;
  }
  
  .news-slider-next {
    right: 10px;
  }
  
  .news-slider-dots {
    bottom: 10px;
    padding: 6px 10px;
  }
  
  .news-slider-dot {
    width: 8px;
    height: 8px;
  }
}

/* Hide single arrows and dots when not needed */
.news-slider-container[data-slides="1"] .news-slider-arrow,
.news-slider-container[data-slides="1"] .news-slider-dots {
  display: none;
}

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

/* Enhanced News Section Styles */
.news-section {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  overflow: hidden;
}

.news-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 20%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(46, 204, 113, 0.05) 0%, transparent 50%);
  animation: gradientMove 15s ease-in-out infinite alternate;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.section-subtitle {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  color: white;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
  animation: badgePulse 3s ease-in-out infinite;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-title {
  font-size: 3.5rem;
  color: #2c3e50;
  margin-bottom: 25px;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 8s linear infinite;
  font-weight: 700;
}

.section-description {
  color: #666;
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Enhanced News Filters */
.news-filters {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 15px;
  position: relative;
  z-index: 1;
}

.news-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  font-weight: 500;
  color: #666;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.news-filter::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  transition: left 0.4s ease;
  z-index: -1;
}

.news-filter.active {
  background: linear-gradient(45deg, #3498db, #2ecc71);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
  transform: translateY(-3px);
}

.news-filter:hover:not(.active) {
  background: #f8f9fa;
  color: #3498db;
  border-color: #3498db;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
}

.news-filter:hover:not(.active)::before {
  left: 100%;
}

.news-filter i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.news-filter:hover i {
  transform: scale(1.1) rotate(5deg);
}

/* Enhanced News Cards */
.news-card {
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-card.featured {
  border: 2px solid #3498db;
  box-shadow: 0 20px 40px rgba(52, 152, 219, 0.15);
}

.news-card:hover {
  transform: none !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.news-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 4;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.news-date {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border-radius: 15px;
  padding: 15px;
  z-index: 4;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.news-date .day {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 5px;
}

.news-date .month {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.news-date .year {
  display: block;
  font-size: 0.8rem;
  opacity: 0.8;
}

.news-content {
  padding: 35px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.news-meta .category {
  color: #3498db;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-meta .reading-time {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 0.9rem;
}

.news-meta .reading-time i {
  color: #3498db;
}

.news-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.4;
  color: #2c3e50;
  transition: color 0.3s ease;
}

.news-card:hover .news-content h3 {
  color: #3498db;
}

.news-content p {
  color: #666;
  line-height: 1.8;
  flex-grow: 1;
  margin-bottom: 25px;
  font-size: 1.05rem;
}

.news-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.news-tags .tag {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(52, 152, 219, 0.2);
}

.news-tags .tag:hover {
  background: #3498db;
  color: white;
  transform: translateY(-2px);
}

.news-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.news-actions .read-more {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3498db;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

.news-actions .read-more::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #3498db;
  transition: width 0.3s ease;
}

.news-actions .read-more:hover {
  color: #2c3e50;
  transform: translateX(5px);
}

.news-actions .read-more:hover::after {
  width: 100%;
}

.news-stats {
  display: flex;
  gap: 20px;
  color: #999;
  font-size: 0.9rem;
}

.news-stats span {
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.news-stats span:hover {
  color: #3498db;
}

.news-stats i {
  font-size: 1rem;
}

/* Enhanced Call to Action */
.news-cta {
  text-align: center;
  margin-top: 80px;
  padding: 60px;
  background: white;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(52, 152, 219, 0.05), rgba(46, 204, 113, 0.05));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.news-cta:hover::before {
  opacity: 1;
}

.cta-content h3 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-content p {
  color: #666;
  margin-bottom: 40px;
  font-size: 1.2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cta-actions .liquid-btn,
.cta-actions .btn-outline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  text-decoration: none;
}

.cta-actions .btn-outline {
  background: transparent;
  border: 2px solid #3498db;
  color: #3498db;
}

.cta-actions .btn-outline:hover {
  background: #3498db;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(52, 152, 219, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
  .news-section {
    padding: 80px 0;
  }
  
  .section-title {
    font-size: 2.8rem;
  }
  
  .news-filters {
    gap: 10px;
  }
  
  .news-filter {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .section-description {
    font-size: 1.1rem;
  }
  
  .news-filters {
    flex-direction: column;
    align-items: center;
  }
  
  .news-filter {
    min-width: 200px;
    justify-content: center;
  }
  
  .news-content {
    padding: 25px;
  }
  
  .news-content h3 {
    font-size: 1.3rem;
  }
  
  .news-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .news-actions {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  
  .news-stats {
    justify-content: center;
  }
  
  .news-cta {
    padding: 40px 20px;
  }
  
  .cta-content h3 {
    font-size: 2rem;
  }
  
  .cta-actions {
    flex-direction: column;
  }
  
  .cta-actions .liquid-btn,
  .cta-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }
}

/* Enhanced Language Selector Styles */
.language-selector {
  position: relative;
  margin-left: 20px;
  z-index: 1000;
}

.language-dropdown {
  position: relative;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: white;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.language-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.language-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.current-lang-flag {
  font-size: 1.2em;
  line-height: 1;
}

.current-lang-name {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.dropdown-arrow {
  font-size: 0.7em;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 5px;
}

.language-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
  border: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.language-options.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.language-options.active ~ .language-toggle .dropdown-arrow {
  transform: rotate(180deg);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.language-option:last-child {
  border-bottom: none;
}

.language-option:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  transform: translateX(5px);
}

.language-option.current {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  color: #1976d2;
  font-weight: 600;
}

.language-option.current::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, #1976d2, #42a5f5);
}

.lang-flag {
  font-size: 1.3em;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.lang-name {
  flex-grow: 1;
  font-weight: 500;
  font-size: 0.95rem;
}

.language-option i.fas.fa-check {
  color: #1976d2;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Fade in animation */
.language-selector.fade-in {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* Language switching loading state */
.language-switching {
  cursor: wait;
}

.language-switching * {
  pointer-events: none;
}

.language-switching .language-toggle {
  opacity: 0.7;
  transform: scale(0.98);
}

/* Mobile responsive design for language selector */
@media (max-width: 992px) {
  .language-selector {
    margin-left: 15px;
  }
  
  .language-toggle {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  
  .current-lang-name {
    display: none;
  }
  
  .language-options {
    right: -10px;
    min-width: 180px;
  }
  
  .language-option {
    padding: 12px 15px;
  }
}

@media (max-width: 768px) {
  .language-selector {
    margin-left: 10px;
  }
  
  .language-toggle {
    padding: 6px 10px;
  }
  
  .current-lang-flag {
    font-size: 1.1em;
  }
  
  .language-options {
    right: -15px;
    min-width: 160px;
    border-radius: 15px;
  }
  
  .language-option {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  
  .lang-flag {
    font-size: 1.2em;
  }
}

/* Special styles for language selector in mobile nav */
.mobile-nav .language-selector {
  margin: 20px 0;
  margin-left: 0;
  padding: 0 20px;
}

.mobile-nav .language-toggle {
  width: 100%;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav .language-options {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav .language-option {
  color: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav .language-option:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.mobile-nav .language-option.current {
  background: rgba(52, 152, 219, 0.2);
  color: #3498db;
}

/* Enhanced animations and micro-interactions */
.language-option {
  position: relative;
  overflow: hidden;
}

.language-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
  transition: left 0.5s ease;
}

.language-option:hover::before {
  left: 100%;
}

/* Accessibility improvements */
.language-toggle:focus-visible {
  outline: 2px solid #3498db;
  outline-offset: 2px;
}

.language-option:focus-visible {
  outline: 2px solid #3498db;
  outline-offset: -2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .language-toggle {
    border-width: 3px;
    border-color: white;
  }
  
  .language-options {
    border-width: 2px;
    border-color: black;
  }
  
  .language-option {
    border-bottom-width: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .language-toggle,
  .language-options,
  .language-option,
  .dropdown-arrow {
    transition: none;
  }
  
  .language-selector.fade-in {
    animation: none;
  }
}

.news-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  z-index: 1;
}

.news-date {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--tertiary-color);
  color: white;
  border-radius: 8px;
  padding: 8px 14px;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
  transition: all 0.3s ease;
}



.news-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
  color: var(--primary-color);
  transition: color 0.3s ease;
}



.news-content p {
  color: #666;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 20px;
}

.read-more {
  align-self: flex-start;
  font-weight: 600;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  margin-top: auto;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

.read-more::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.read-more:hover {
  color: var(--primary-color);
}

.read-more:hover::after {
  width: 100%;
}

.read-more i {
  margin-left: 5px;
  
}



.center-btn {
  margin-top: 60px;
}

.btn-primary {
  padding: 14px 35px;
  font-size: 1rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-radius: 50px;
  background: linear-gradient(45deg, var(--secondary-color), #2980b9);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
  transition: all 0.4s ease;
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
  background: linear-gradient(45deg, #2980b9, var(--secondary-color));
}

/* ===== CTA Section Improvements ===== */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
  overflow: hidden;
  z-index: 1;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.2"/></svg>');
  opacity: 0.2;
  z-index: -1;
}

.cta-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

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

.shape1 {
  width: 300px;
  height: 300px;
  bottom: -150px;
  left: -100px;
}

.shape2 {
  width: 200px;
  height: 200px;
  top: -100px;
  right: -50px;
}

.shape3 {
  width: 100px;
  height: 100px;
  bottom: 50px;
  right: 100px;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 25px;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.7;
}

.btn-cta {
  display: inline-block;
  padding: 16px 40px;
  background: white;
  color: var(--secondary-color);
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.btn-cta:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  color: var(--primary-color);
}

.cta-countdown {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.countdown-item {
  margin: 0 10px;
  text-align: center;
  min-width: 80px;
}

.countdown-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  display: block;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.countdown-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== Footer Improvements ===== */
#qodef-page-footer {
  background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}

#qodef-page-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><rect width="1" height="1" fill="white" opacity="0.05"/></svg>');
  z-index: 0;
}

.footer-top {
  padding: 80px 0 40px;
  position: relative;
  z-index: 1;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-column h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 25px;
  font-weight: 600;
  position: relative;
  padding-bottom: 15px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary-color);
}

.footer-newsletter {
  display: flex;
  margin-bottom: 20px;
}

.footer-newsletter input[type="email"] {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 4px 0 0 4px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9rem;
}

.footer-newsletter input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter button {
  padding: 0 20px;
  background: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-newsletter button:hover {
  background: #2980b9;
}

.footer-social {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 15px;
}

.footer-social li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social li a:hover {
  background: var(--secondary-color);
  transform: translateY(-5px);
}

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

.contact-info p i {
  margin-right: 10px;
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-top: 3px;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  background: #25d366;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

.whatsapp-button:hover {
  background: #1da851;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-button i {
  margin-right: 8px;
  font-size: 1.2rem;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  position: relative;
  z-index: 1;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-inner p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-bottom-inner a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-inner a:hover {
  color: white;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

/* ===== Floating Elements ===== */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--tertiary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cta:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 10px 25px rgba(231, 76, 60, 0.4);
}

.floating-cta::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--tertiary-color);
  z-index: -1;
  opacity: 0.4;
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.back-to-top:hover {
  background: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Mobile Navigation */
@media (max-width: 992px) {
  .site-header .nav-links {
    display: none;
  }
  
  .site-header #mobileMenuToggle {
    display: block;
  }
  
  .language-switcher {
    display: none;
  }
  
  .mobile-nav {
    display: flex;
  }
}

@media (min-width: 993px) {
  .site-header #mobileMenuToggle {
    display: none;
  }
  
  .mobile-nav {
    display: none;
  }
}

/* Mobile Menu Styles */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: var(--background-color);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 80px 25px 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  backdrop-filter: blur(10px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateX(100%);
}

.mobile-nav.open {
  right: 0;
  transform: translateX(0);
  animation: slideInRight 0.4s ease-out;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-links li {
  margin-bottom: 8px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open .mobile-nav-links li {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav.open .mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.open .mobile-nav-links li:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.open .mobile-nav-links li:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.open .mobile-nav-links li:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.open .mobile-nav-links li:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav.open .mobile-nav-links li:nth-child(6) { transition-delay: 0.35s; }

.mobile-nav-links a {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  color: var(--text-color);
  font-weight: 500;
  padding: 16px 20px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.05);
  margin: 5px 0;
  position: relative;
  overflow: hidden;
}

.mobile-nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.mobile-nav-links a i {
  margin-right: 15px;
  font-size: 1.3rem;
  color: var(--primary-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 24px;
  text-align: center;
}

.mobile-nav-links a:hover {
  color: white;
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.mobile-nav-links a:hover::before {
  opacity: 1;
}

.mobile-nav-links a:hover i {
  transform: scale(1.1) rotate(5deg);
  color: white;
}

.mobile-nav-links a.active {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.mobile-nav-links a.active i {
  color: white;
  transform: scale(1.1);
}

/* Mobile Menu Close Button */
.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.mobile-nav-close:hover {
  color: var(--tertiary-color);
  background: rgba(231, 76, 60, 0.1);
  transform: rotate(90deg) scale(1.1);
}

/* Mobile Menu Language Switcher */
.mobile-nav .language-switcher {
  margin-top: auto;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  display: block !important; /* Force display in mobile */
}

.mobile-nav .language-switcher::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  opacity: 0.05;
  z-index: 0;
}

.mobile-nav .language-switcher select {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%233498db' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  position: relative;
  z-index: 1;
  -webkit-appearance: none; /* For Safari */
  -moz-appearance: none; /* For Firefox */
}

.mobile-nav .language-switcher select:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.1);
}

.mobile-nav .language-switcher select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

/* Mobile Menu Animation */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Mobile Menu Scrollbar */
.mobile-nav::-webkit-scrollbar {
  width: 5px;
}

.mobile-nav::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
}

.mobile-nav::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
  transition: background 0.3s ease;
}

.mobile-nav::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Mobile Menu Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Enhanced Hero Section with Advanced Effects */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 100px 0 50px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 50px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 30px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
  transform: translateY(0);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #3498db, #2ecc71, #f1c40f, #3498db);
  background-size: 400% 400%;
  z-index: -1;
  border-radius: 32px;
  animation: gradientBorder 3s ease infinite;
  opacity: 0.5;
}

.hero-content:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 0 30px rgba(255, 255, 255, 0.1);
}

/* Enhanced Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  padding: 12px 24px;
  border-radius: 50px;
  margin-bottom: 30px;
  box-shadow: 
    0 10px 20px rgba(52, 152, 219, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 10px rgba(255, 255, 255, 0.2);
  animation: badgePulse 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

.hero-badge span {
  color: white;
  font-weight: 600;
  margin-right: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: 1px;
}

.hero-badge i {
  color: #ffd700;
  animation: spin 4s linear infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Enhanced Title */
.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 2rem;
  line-height: 1.2;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 8s linear infinite;
  text-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
  position: relative;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.5), transparent);
  animation: titleLine 3s ease-in-out infinite;
}

/* Enhanced Description */
.hero-description {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-left: 20px;
  border-left: 3px solid rgba(52, 152, 219, 0.5);
}

/* Enhanced Buttons */
.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 3rem;
}

.hero-buttons .btn {
  position: relative;
  overflow: hidden;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  letter-spacing: 1px;
}

.hero-buttons .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  z-index: -1;
  transition: opacity 0.4s ease;
}

.hero-buttons .btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(45deg);
  transition: transform 0.6s ease;
}

.hero-buttons .btn:hover::after {
  transform: rotate(45deg) translate(50%, 50%);
}

.hero-buttons .btn-primary {
  color: white;
  border: none;
  box-shadow: 
    0 10px 20px rgba(52, 152, 219, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.hero-buttons .btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(5px);
}

.hero-buttons .btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 
    0 15px 30px rgba(52, 152, 219, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Enhanced Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.stat-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.stat-item:hover::before {
  opacity: 0.1;
}

.stat-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 2rem;
  position: relative;
  z-index: 1;
  transform: rotate(-10deg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 15px 30px rgba(52, 152, 219, 0.2),
    inset 0 0 15px rgba(255, 255, 255, 0.3);
  transform: rotate(-10deg);
}

.stat-item:hover .stat-icon {
  transform: rotate(0deg) scale(1.1);
  box-shadow: 
    0 15px 30px rgba(52, 152, 219, 0.3),
    inset 0 0 15px rgba(255, 255, 255, 0.3);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  background: linear-gradient(45deg, #3498db, #2ecc71);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
  letter-spacing: 1px;
}

/* Enhanced Scroll Indicator */
.hero-scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-down a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  gap: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-scroll-down a:hover {
  color: white;
  transform: translateY(-5px);
}

.hero-scroll-down span {
  font-size: 1rem;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: 1px;
}

.hero-scroll-down i {
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Advanced Animations */
@keyframes gradientText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes gradientBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes titleLine {
  0%, 100% { transform: scaleX(0.3); opacity: 0.5; }
  50% { transform: scaleX(1); opacity: 1; }
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .hero-section {
    padding: 80px 0 40px;
  }
  
  .hero-content {
    max-width: 100%;
    padding: 40px;
  }
  
  .hero-title {
    font-size: 3.2rem;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .hero-scroll-down {
    bottom: 20px;
  }
}

/* Enhanced Appointment Button */
.moduletable.bookBtn {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  width: 280px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.moduletable.bookBtn::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #3498db, #2ecc71, #f1c40f, #3498db);
  background-size: 400% 400%;
  z-index: -1;
  border-radius: 22px;
  animation: gradientBorder 3s ease infinite;
  opacity: 0.5;
}

.moduletable.bookBtn h2 {
  color: white;
  font-size: 1.2rem;
  margin: 0 0 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.moduletable.bookBtn h2 i {
  transition: transform 0.3s ease;
  color: #3498db;
  font-size: 1rem;
}

.moduletable.bookBtn.active h2 i {
  transform: rotate(180deg);
}

.moduletable.bookBtn ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.moduletable.bookBtn.active ul {
  max-height: 500px;
}

.moduletable.bookBtn li {
  margin: 10px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.moduletable.bookBtn.active li {
  opacity: 1;
  transform: translateY(0);
}

.moduletable.bookBtn li:nth-child(1) { transition-delay: 0.1s; }
.moduletable.bookBtn li:nth-child(2) { transition-delay: 0.2s; }
.moduletable.bookBtn li:nth-child(3) { transition-delay: 0.3s; }

.btnWrapper {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btnWrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.btnWrapper:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 10px 20px rgba(0, 0, 0, 0.2),
    inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.btnWrapper:hover::before {
  opacity: 0.1;
}

.ico-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.btnWrapper:hover .ico-arrow {
  transform: translateY(-50%) translateX(5px);
}

.btnText a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  display: block;
  padding-right: 30px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.btnWrapper:hover .btnText a {
  color: #3498db;
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(-50%); }
}

.moduletable.bookBtn {
  animation: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .moduletable.bookBtn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    top: auto;
    transform: none;
    width: calc(100% - 40px);
    max-width: 300px;
    animation: none;
  }
  
  .moduletable.bookBtn h2 {
    font-size: 1.1rem;
  }
  
  .btnWrapper {
    padding: 12px;
  }
}

/* Enhanced Hover Effects */
.moduletable.bookBtn:hover {
  transform: translateY(-50%);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 0 30px rgba(255, 255, 255, 0.1);
}

.moduletable.bookBtn:hover::before {
  opacity: 0.7;
}

/* Glowing Effect */
.moduletable.bookBtn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(52, 152, 219, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.moduletable.bookBtn:hover::after {
  opacity: 1;
}

/* Rehabilitation Page Specific Styles */
.rehab-hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  overflow: hidden;
  padding: 120px 0 60px;
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.morph-image {
  position: relative;
  z-index: 2;
}

.image-wrapper {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateY(0deg);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-wrapper:hover {
  transform: perspective(1000px) rotateY(5deg);
}

.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.shape1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.shape2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 20%;
  animation-delay: 2s;
}

.shape3 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 40%;
  animation-delay: 4s;
}

.morph-img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(52, 152, 219, 0.8),
    rgba(46, 204, 113, 0.8)
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-wrapper:hover .image-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: white;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s ease;
}

.image-wrapper:hover .overlay-content {
  transform: translateY(0);
  opacity: 1;
}

.overlay-text {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 10px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Hero Text Styles */
.hero-text {
  position: relative;
  z-index: 2;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 30px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  padding: 12px 24px;
  border-radius: 50px;
  margin-bottom: 30px;
  box-shadow: 
    0 10px 20px rgba(52, 152, 219, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: badgePulse 3s ease-in-out infinite;
}

.hero-badge span {
  color: white;
  font-weight: 600;
  margin-right: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-badge i {
  color: #ffd700;
  animation: spin 4s linear infinite;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 8s linear infinite;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* Stats Section */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.stat-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: white;
  font-size: 1.5rem;
  transform: rotate(-10deg);
  transition: all 0.4s ease;
}

.stat-item:hover .stat-icon {
  transform: rotate(0deg) scale(1.1);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.btn {
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(45deg, #3498db, #2ecc71);
  color: white;
  border: none;
  box-shadow: 
    0 10px 20px rgba(52, 152, 219, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 15px 30px rgba(52, 152, 219, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Scroll Down Indicator */
.hero-scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-down a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.4s ease;
}

.hero-scroll-down a:hover {
  color: white;
  transform: translateY(-5px);
}

.hero-scroll-down span {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.hero-scroll-down i {
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

/* Injuries Section */
.injuries-section {
  padding: 100px 0;
  background: #f8f9fa;
  position: relative;
  overflow: hidden;
}

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

.section-subtitle {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  color: white;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.section-title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 20px;
}

.section-description {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.injuries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.injury-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 
    0 10px 20px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}

.injury-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 2rem;
  transform: rotate(-10deg);
  transition: all 0.4s ease;
}

.injury-card:hover .card-icon {
  transform: rotate(0deg) scale(1.1);
}

.treatment-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.treatment-list li {
  margin: 10px 0;
  display: flex;
  align-items: center;
  color: #666;
}

.treatment-list li i {
  color: #2ecc71;
  margin-right: 10px;
}

/* Diagnostics Section */
.diagnostics-section {
  padding: 100px 0;
  background: white;
  position: relative;
}

.diagnostics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.diagnostic-card {
  background: #f8f9fa;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 
    0 10px 20px rgba(0, 0, 0, 0.05),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}

.diagnostic-card:hover {
  transform: translateY(-10px) rotateY(10deg);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.1);
}

/* Physiotherapy Section */
.physiotherapy-section {
  padding: 100px 0;
  background: #f8f9fa;
  position: relative;
}

.physio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.physio-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 
    0 10px 20px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}

.physio-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.1);
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  text-align: left;
}

.card-features span {
  display: flex;
  align-items: center;
  color: #666;
}

.card-features i {
  color: #2ecc71;
  margin-right: 10px;
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background: white;
  position: relative;
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slide {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}

.testimonial-quote {
  position: relative;
  padding-left: 40px;
  margin-bottom: 30px;
}

.testimonial-quote i {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 2rem;
  color: rgba(52, 152, 219, 0.2);
}

.testimonial-quote p {
  font-style: italic;
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
}

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

.testimonial-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin: 0;
  color: #2c3e50;
}

.author-info p {
  margin: 5px 0 0;
  color: #666;
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
  position: relative;
  overflow: hidden;
}

.cta-content {
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn-cta {
  display: inline-block;
  padding: 15px 40px;
  background: white;
  color: #3498db;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

@keyframes gradientText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .injuries-grid,
  .diagnostics-grid,
  .physio-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Menu Styles */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: white;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
    display: block;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: 10px 0;
  }

  #mobileMenuToggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    z-index: 1001;
  }
}

/* Appointment Button Styles */
.moduletable.bookBtn {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  width: 280px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.moduletable.bookBtn h2 {
  margin: 0;
  padding: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  color: #333;
}

.moduletable.bookBtn h2 i {
  transition: transform 0.3s ease;
}

.moduletable.bookBtn ul {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin: 0;
  padding: 0;
  list-style: none;
}

.moduletable.bookBtn.active ul {
  max-height: 500px;
  padding: 10px 0;
}

.moduletable.bookBtn li {
  margin: 5px 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.moduletable.bookBtn.active li {
  opacity: 1;
  transform: translateY(0);
}

.btnWrapper {
  display: flex;
  align-items: center;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btnWrapper:hover {
  background: #e9ecef;
}

.btnText a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

/* Mobile Responsive Styles for Appointment Button */
@media (max-width: 768px) {
  .moduletable.bookBtn {
    position: fixed;
    right: 15px;
    bottom: 15px;
    top: auto;
    transform: none;
    width: auto;
    min-width: 200px;
  }

  .moduletable.bookBtn h2 {
    font-size: 1rem;
  }
}

/* Publications Section Styles */
.publications-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.publications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.publication-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 20px;
}

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

.publication-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.publication-card:hover::before {
  opacity: 1;
}

.publication-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.publication-icon i {
  font-size: 24px;
  color: #ffffff;
}

.publication-content {
  flex: 1;
}

.publication-header h3 {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 15px;
  line-height: 1.4;
}

.publication-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  color: #6c757d;
  font-size: 0.9rem;
}

.publication-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.publication-meta i {
  color: #4a90e2;
}

.publication-abstract {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
}

.publication-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.publication-stats .stat {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6c757d;
  font-size: 0.9rem;
}

.publication-stats .stat i {
  color: #4a90e2;
}

.publication-actions {
  display: flex;
  gap: 15px;
}

.publication-actions .btn-primary,
.publication-actions .btn-outline {
  padding: 10px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.publication-actions .btn-primary {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: #ffffff;
}

.publication-actions .btn-outline {
  border: 2px solid #4a90e2;
  color: #4a90e2;
}

.publication-actions .btn-primary:hover,
.publication-actions .btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 144, 226, 0.2);
}

.publications-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border: none;
  background: #ffffff;
  border-radius: 10px;
  color: #6c757d;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover,
.filter-btn.active {
  background: #4a90e2;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 144, 226, 0.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .publications-grid {
    grid-template-columns: 1fr;
  }

  .publication-card {
    flex-direction: column;
    padding: 20px;
  }

  .publication-icon {
    width: 50px;
    height: 50px;
  }

  .publication-actions {
    flex-direction: column;
  }

  .publications-filter {
    gap: 10px;
  }

  .filter-btn {
    padding: 8px 15px;
    font-size: 0.8rem;
  }
}

/* Enhanced Research Hero Section */
.research-hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(46, 204, 113, 0.1) 100%);
  overflow: hidden;
  padding: 120px 0;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(52, 152, 219, 0.2), rgba(46, 204, 113, 0.2));
  filter: blur(20px);
  animation: float 8s ease-in-out infinite;
}

.hero-shapes .shape1 {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -150px;
  animation-delay: 0s;
}

.hero-shapes .shape2 {
  width: 200px;
  height: 200px;
  top: 50%;
  right: -100px;
  animation-delay: 2s;
}

.hero-shapes .shape3 {
  width: 150px;
  height: 150px;
  bottom: -75px;
  left: 50%;
  animation-delay: 4s;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  font-size: 2rem;
  color: rgba(52, 152, 219, 0.3);
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.image-wrapper:hover {
  transform: translateY(-10px);
}

.pulsing-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1));
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 0.5; }
}

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1));
  border-radius: 30px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(52, 152, 219, 0.2), rgba(46, 204, 113, 0.2));
  animation: shine 3s infinite;
}

.hero-badge span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2c3e50;
  margin-right: 8px;
  position: relative;
  z-index: 1;
}

.hero-badge i {
  color: #3498db;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #2c3e50, #3498db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  border-radius: 2px;
  animation: titleLine 1s ease-out forwards;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #34495e;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.5s;
}

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

.stat-item {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.stat-item:hover::before {
  opacity: 1;
}

.stat-icon {
  font-size: 2rem;
  color: #3498db;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon {
  transform: scale(1.1) rotate(5deg);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 5px;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  color: #7f8c8d;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.btn {
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(45deg, #3498db, #2ecc71);
  color: white;
  border: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid #3498db;
  color: #3498db;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.hero-scroll-down a {
  color: #3498db;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.hero-scroll-down a:hover {
  color: #2ecc71;
}

.hero-scroll-down span {
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-scroll-down i {
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

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

@keyframes gradientText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes titleLine {
  from { width: 0; }
  to { width: 60px; }
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

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

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-buttons {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .hero-description {
    font-size: 1rem;
  }
  .stat-item {
    padding: 15px;
  }
  .stat-icon {
    font-size: 1.5rem;
  }
  .stat-number {
    font-size: 1.5rem;
  }
  .stat-label {
    font-size: 0.8rem;
  }
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Enhanced Projects Section */
.current-projects {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.project-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.project-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8));
  opacity: 0;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.overlay-content {
  text-align: center;
  color: white;
  padding: 20px;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.project-card:hover .overlay-content {
  transform: translateY(0);
}

.overlay-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: white;
}

.project-tags {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 15px 0;
}

.tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  backdrop-filter: blur(5px);
}

.project-content {
  padding: 25px;
}

.project-category {
  color: #3498db;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.project-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.project-description {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.project-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  color: #666;
  font-size: 0.9rem;
}

.project-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-meta i {
  color: #3498db;
}

.project-progress {
  margin-bottom: 20px;
}

.progress-bar {
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 5px;
}

.progress {
  height: 100%;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  border-radius: 4px;
  transition: width 1s ease;
}

.progress-text {
  font-size: 0.9rem;
  color: #666;
}

.project-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
}

.detail-item i {
  font-size: 1.2rem;
  color: #3498db;
  margin-bottom: 5px;
}

.detail-item span {
  font-size: 0.8rem;
  color: #666;
}

.projects-cta {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.projects-cta h3 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 15px;
}

.projects-cta p {
  color: #666;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-details {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-cta {
    padding: 30px 20px;
  }

  .projects-cta h3 {
    font-size: 1.5rem;
  }
}

/* Enhanced Conferences Section */
.conferences-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
  position: relative;
  overflow: hidden;
}

.conferences-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/pattern.png');
  opacity: 0.05;
  animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
  0% { background-position: 0 0; }
  100% { background-position: 100% 100%; }
}

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

.conferences-section .section-subtitle {
  color: #3498db;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: inline-block;
  position: relative;
}

.conferences-section .section-subtitle::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, #3498db, #2ecc71);
}

.conferences-section .section-title {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.conferences-section .section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2ecc71);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.conferences-section:hover .section-title::after {
  transform: scaleX(1);
}

.conferences-section .section-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.conferences-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 40px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.conference-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  position: relative;
}

.conference-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1));
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.conference-card:hover::before {
  opacity: 1;
}

.conference-date {
  background: linear-gradient(45deg, #3498db, #2ecc71);
  color: white;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  position: relative;
  overflow: hidden;
}

.conference-date::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.conference-card:hover .conference-date::before {
  transform: translateX(100%);
}

.conference-date .month {
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.conference-date .day {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.conference-content {
  padding: 30px;
  flex: 1;
  position: relative;
}

.conference-status {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.status-upcoming {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.status-registration {
  background: rgba(241, 196, 15, 0.2);
  color: #f1c40f;
  border: 1px solid rgba(241, 196, 15, 0.3);
}

.status-closed {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.conference-content h3 {
  font-size: 1.6rem;
  color: white;
  margin-bottom: 20px;
  transition: color 0.3s ease;
  font-weight: 600;
}

.conference-card:hover .conference-content h3 {
  color: #3498db;
}

.conference-location {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.conference-location i {
  color: #3498db;
  font-size: 1.2rem;
}

.conference-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
  line-height: 1.7;
  font-size: 1.05rem;
}

.conference-meta {
  display: flex;
  gap: 25px;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.conference-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.conference-meta i {
  color: #3498db;
  font-size: 1.1rem;
}

.conference-tags {
  display: flex;
  gap: 12px;
  margin: 25px 0;
  flex-wrap: wrap;
}

.conference-tag {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(52, 152, 219, 0.2);
}

.conference-tag:hover {
  background: #3498db;
  color: white;
  transform: translateY(-2px);
}

.conference-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.conference-actions .btn-primary,
.conference-actions .btn-outline {
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.conference-actions .btn-primary {
  background: linear-gradient(45deg, #3498db, #2ecc71);
  color: white;
  border: none;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.conference-actions .btn-outline {
  border: 2px solid rgba(52, 152, 219, 0.5);
  color: #3498db;
  background: transparent;
}

.conference-actions .btn-primary:hover,
.conference-actions .btn-outline:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.conference-actions .btn-outline:hover {
  background: rgba(52, 152, 219, 0.1);
}

.conferences-cta {
  text-align: center;
  margin-top: 80px;
  padding: 50px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.conferences-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.conferences-cta:hover::before {
  opacity: 1;
}

.conferences-cta h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.conferences-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.conferences-cta .btn {
  padding: 15px 35px;
  font-size: 1.1rem;
  border-radius: 30px;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  color: white;
  border: none;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.conferences-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

@media (max-width: 992px) {
  .conferences-section {
    padding: 80px 0;
  }

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

  .conferences-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .conferences-section {
    padding: 60px 0;
  }

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

  .conference-card {
    flex-direction: column;
  }

  .conference-date {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    padding: 20px;
  }

  .conference-date .month {
    margin-bottom: 0;
  }

  .conference-actions {
    flex-direction: column;
  }

  .conference-actions .btn-primary,
  .conference-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .conferences-cta {
    padding: 30px 20px;
  }

  .conferences-cta h3 {
    font-size: 1.6rem;
  }
}

/* Additional fixes for appointment button to ensure proper functionality */
.moduletable.bookBtn {
  transition: all 0.3s ease !important;
  z-index: 9999 !important;
}

.moduletable.bookBtn h2 {
  cursor: pointer !important;
  user-select: none !important;
}

.moduletable.bookBtn .has-submenu .btnWrapper {
  cursor: pointer !important;
  user-select: none !important;
}

.moduletable.bookBtn .has-submenu .submenu-arrow {
  transition: transform 0.3s ease !important;
  pointer-events: none !important;
}

.moduletable.bookBtn .has-submenu.active .submenu-arrow {
  transform: rotate(180deg) !important;
}

.moduletable.bookBtn ul {
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.4s ease !important;
}

.moduletable.bookBtn.active ul {
  max-height: 500px !important;
}

.moduletable.bookBtn .submenu {
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.3s ease !important;
}

.moduletable.bookBtn .has-submenu.active .submenu {
  max-height: 200px !important;
}

.moduletable.bookBtn .has-submenu .btnWrapper {
  cursor: pointer !important;
  position: relative !important;
}

.moduletable.bookBtn .submenu {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  background: inherit !important;
  border-radius: 8px !important;
  padding-top: 10px !important;
}

.moduletable.bookBtn .submenu a {
  display: block !important;
  padding: 10px 15px !important;
  color: white !important;
  text-decoration: none !important;
  border-radius: 4px !important;
  margin: 2px 0 !important;
  transition: all 0.3s ease !important;
}

.moduletable.bookBtn .submenu a:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateX(5px) !important;
}

/* Ensure appointment button works on all devices */
@media (max-width: 768px) {
  .moduletable.bookBtn {
    position: fixed !important;
    right: 10px !important;
    bottom: 20px !important;
    z-index: 9999 !important;
  }
  
  .moduletable.bookBtn .has-submenu.active .submenu {
    position: absolute !important;
    bottom: 100% !important;
    right: 0 !important;
    width: 250px !important;
    background: #660033 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
    margin-bottom: 10px !important;
  }
}
