/* =================================== */
/* ABOUT-US PAGE STYLES */
/* =================================== */
.btn-gradient-primary {
  background: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
  color: #fff;
  border: none;
  transition: box-shadow 0.2s, transform 0.2s;
}

.btn-gradient-primary:hover, 
.btn-gradient-primary:focus {
  box-shadow: 0 4px 24px 0 rgba(99,102,241,0.18);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

.text-gradient-primary {
  background: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 991px) {
  #hero-animation .hero-title { 
    font-size: 2.2rem !important; 
  }
  #about-us-info .card { 
    margin-bottom: 2rem; 
  }
}

@media (max-width: 767px) {
  #hero-animation { 
    min-height: 220px; 
  }
  #about-us-info .row { 
    flex-direction: column; 
  }
  #about-us-info .card { 
    margin-bottom: 1.5rem; 
  }
}

/* =================================== */
/* OUR-PROJECTS PAGE STYLES */
/* =================================== */
/* Hero */
#landingHero {
  background: url('/assets/img/front-pages/backgrounds/banner-orizzontale-aps-1.png') center/cover no-repeat;
  padding-block-start: 10.2rem;
}

.hero-title {
  background: linear-gradient(90deg, var(--bs-primary), var(--bs-info));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: .5px;
}

.hero-text-box p {
  font-size: 1.1rem;
  opacity: .9;
}

/* Section card feel */
#our-portfolio .our-portfolio-card {
  background: var(--bs-body-bg);
  border-radius: 1rem;
  border: 1px solid var(--bs-border-color);
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

/* Project timeline list */
.project-timeline {
  position: relative;
  margin-top: .75rem;
  padding-left: 1.5rem;
  border-left: 2px dashed var(--bs-border-color);
}

.project-timeline li {
  position: relative;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-timeline li::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: .45rem;
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
  box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), .15);
}

/* Services list with custom checks */
.check-list {
  list-style: none;
  padding-left: 0;
  margin-top: .5rem;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .5rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1rem;
  height: 1rem;
  line-height: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-success);
  font-weight: 700;
}

/* Style the "See the project" link as pill button without touching its text/i18n */
a[data-i18n="see_project_link"] {
  display: inline-block;
  margin-top: .5rem;
  padding: .35rem .75rem;
  border-radius: 50rem;
  border: 1px solid var(--bs-primary);
  color: var(--bs-primary);
  text-decoration: none;
  transition: all .2s ease;
}

a[data-i18n="see_project_link"]:hover {
  background-color: var(--bs-primary);
  color: #fff;
  transform: translateY(-1px);
}

/* Reveal on scroll */
.reveal-on-scroll { 
  opacity: 0; 
  transform: translateY(12px); 
  transition: all .5s ease; 
}

.reveal-on-scroll.in-view { 
  opacity: 1; 
  transform: none; 
}

/* =================================== */
/* OUR-SOCIAL PAGE STYLES */
/* =================================== */
/* Stili personalizzati per il feed Instagram-like */
.social-feed {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

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

.feed-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feed-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feed-header {
  padding: 15px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}

.feed-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 12px;
}

.feed-username {
  font-weight: 600;
  color: #262626;
  margin: 0;
  font-size: 14px;
}

.feed-date {
  color: #8e8e8e;
  font-size: 12px;
  margin: 2px 0 0 0;
}

.feed-media {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.feed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.feed-item:hover .feed-media img {
  transform: scale(1.05);
}

.feed-content {
  padding: 15px;
}

.feed-caption {
  font-size: 14px;
  line-height: 1.5;
  color: #262626;
  margin: 0;
}

.feed-hashtags {
  color: #007bff;
  margin-top: 8px;
  font-size: 13px;
}

.hero-social {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero-social h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-social p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Video Section Styles */
.video-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.video-block {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.video-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-container {
  position: relative;
  width: 100%;
  background: #000;
}

.video-container video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.video-container iframe {
  width: 100%;
  height: 250px;
  display: block;
  border: none;
}

.video-info {
  padding: 20px;
}

.video-title {
  color: #333;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 1.1rem;
}

.video-description {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
  font-size: 14px;
}

.video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background: #f8f9fa;
  color: #007bff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.tag:hover {
  background: #007bff;
  color: white;
}

/* =================================== */
/* OUR-TEAM PAGE STYLES */
/* =================================== */
/* Team Cards Enhancements */
.team-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.team-image-box {
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.team-image-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
  z-index: 1;
}

.team-card img {
  transition: transform 0.3s ease;
}

.team-card:hover img {
  transform: scale(1.05);
}

.team-card .card-body {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  backdrop-filter: blur(10px);
  border-radius: 0 0 16px 16px;
}

.team-card .card-title {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

.team-card .text-body-secondary {
  font-size: 0.9rem;
  color: #64748b !important;
  margin-bottom: 1rem;
}

/* Enhanced Email Banner */
.email-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.email-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.email-banner i {
  font-size: 1.2rem;
}

.email-banner a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.email-banner a:hover {
  color: #f1f5f9;
  text-decoration: none;
}

/* Team Member Description Styling */
.team-description {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid #3b82f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
}

.team-description::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
  border-radius: 12px;
  pointer-events: none;
}

.team-description h3 {
  color: #1e293b;
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
  position: relative;
  z-index: 1;
}

.team-description p {
  line-height: 1.7;
  color: #475569;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.team-description strong {
  color: #1e293b;
  font-weight: 600;
}

/* Section Styling */
#team-members {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
}

#team-members::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
                    radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
}

#team-members .container {
  position: relative;
  z-index: 1;
}

/* LinkedIn Button Enhancement */
.btn-outline-primary {
  border: 2px solid #3b82f6;
  color: #3b82f6;
  font-weight: 500;
  border-radius: 8px;
  padding: 8px 16px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Hero Section Enhancement for our-team */
#landingHero.team-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
  position: relative;
  overflow: hidden;
}

#landingHero.team-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

#landingHero.team-hero .hero-title {
  color: white !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

/* =================================== */
/* DARK THEME SUPPORT */
/* =================================== */
/* Dark theme support for social page */
[data-bs-theme="dark"] .feed-item {
  background: #2b2c40;
  color: #d4d6d8;
}

[data-bs-theme="dark"] .feed-username {
  color: #d4d6d8;
}

[data-bs-theme="dark"] .feed-caption {
  color: #d4d6d8;
}

[data-bs-theme="dark"] .feed-header {
  border-bottom-color: #404040;
}

[data-bs-theme="dark"] .video-block {
  background: #2b2c40;
}

[data-bs-theme="dark"] .video-title {
  color: #d4d6d8;
}

[data-bs-theme="dark"] .video-description {
  color: #a8aab0;
}

[data-bs-theme="dark"] .tag {
  background: #404040;
  color: #d4d6d8;
}

[data-bs-theme="dark"] .tag:hover {
  background: #007bff;
  color: white;
}

/* =================================== */
/* RESPONSIVE STYLES */
/* =================================== */
/* Team page responsive */
@media (max-width: 1024px) {
  .team-description {
    padding: 1.8rem;
  }
  
  .hero-title {
    font-size: 2.5rem !important;
  }
}

@media (max-width: 768px) {
  /* Social page responsive */
  .feed-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-social h1 {
    font-size: 2rem;
  }
  
  .hero-social p {
    font-size: 1rem;
  }
  
  .video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .video-container video {
    height: 200px;
  }
  
  .video-container iframe {
    height: 200px;
  }
  
  .video-info {
    padding: 15px;
  }
  
  /* Team page responsive */
  .team-description {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .email-banner {
    padding: 12px 16px;
    font-size: 0.9rem;
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }
  
  .team-card {
    margin-bottom: 2rem;
  }
  
  .team-image-box {
    height: 200px !important;
  }
  
  .hero-title {
    font-size: 2.2rem !important;
  }
  
  #team-members {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .row.mb-4 {
    margin-bottom: 3rem !important;
  }
}

@media (max-width: 576px) {
  .team-description {
    padding: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .email-banner {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
  
  .team-card .card-body {
    padding: 1.2rem;
  }
  
  .hero-title {
    font-size: 1.8rem !important;
  }
  
  .team-description h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .team-description p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .video-section {
    padding: 0 15px;
  }
  
  .video-container video {
    height: 180px;
  }
  
  .video-container iframe {
    height: 180px;
  }
}

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

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

.team-card {
  animation: fadeInUp 0.6s ease-out;
}

.team-card:nth-child(odd) {
  animation-delay: 0.1s;
}

.team-card:nth-child(even) {
  animation-delay: 0.2s;
}

.email-banner:hover i {
  animation: pulse 1s infinite;
}

/* Scroll Reveal Animation */
.team-description {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.team-description:nth-of-type(1) { animation-delay: 0.1s; }
.team-description:nth-of-type(2) { animation-delay: 0.2s; }
.team-description:nth-of-type(3) { animation-delay: 0.3s; }
.team-description:nth-of-type(4) { animation-delay: 0.4s; }
.team-description:nth-of-type(5) { animation-delay: 0.5s; }

/* Enhanced Focus States */
.team-card:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Loading State for Images */
.team-image-box img {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 0.3s forwards;
}

/* Smooth Background Transitions */
#team-members::before {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

#team-members:hover::before {
  opacity: 1;
}

/* =================================== */
/* LOGO ICON STYLES AND INLINE FIXES */
/* =================================== */
.logo-icon {
  width: 40px; 
  height: 40px;
}

/* =================================== */
/* ILLUSTRATED BANNER SECTION STYLES */
/* =================================== */
#illustrated-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  position: relative;
  overflow: hidden;
}

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

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

.banner-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  z-index: 1;
}

.banner-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  animation: floatUpDown 6s ease-in-out infinite;
}

.element-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.element-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.element-3 {
  width: 60px;
  height: 60px;
  bottom: 30%;
  left: 80%;
  animation-delay: 4s;
}

@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-40px) rotate(180deg);
    opacity: 1;
  }
  75% {
    transform: translateY(-20px) rotate(270deg);
    opacity: 0.8;
  }
}

.banner-image-wrapper {
  position: relative;
  z-index: 3;
}

.banner-main-image {
  max-height: 500px;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  transition: transform 0.6s ease, filter 0.6s ease;
}

.banner-main-image:hover {
  transform: scale(1.02) translateY(-5px);
  filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
}

.banner-overlay-content {
  top: 0;
  left: 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.4) 100%);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.banner-image-wrapper:hover .banner-overlay-content {
  opacity: 1;
  pointer-events: all;
}

.banner-text-content {
  transform: translateY(20px);
  transition: transform 0.6s ease;
}

.banner-image-wrapper:hover .banner-text-content {
  transform: translateY(0);
}

.banner-title {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  background: linear-gradient(45deg, #ffffff, #f0f8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titlePulse 3s ease-in-out infinite;
}

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

.banner-subtitle {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  animation: subtitleFade 2s ease-in-out infinite alternate;
}

@keyframes subtitleFade {
  0% { opacity: 0.9; }
  100% { opacity: 1; }
}

.banner-btn-primary {
  background: linear-gradient(45deg, #ffffff, #f8f9fa);
  color: #333;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  transform: translateY(0);
}

.banner-btn-primary:hover {
  background: linear-gradient(45deg, #f8f9fa, #e9ecef);
  color: #333;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.banner-btn-secondary {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  transform: translateY(0);
}

.banner-btn-secondary:hover {
  border-color: #ffffff;
  color: #333;
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.animate-on-scroll-delay {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

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

/* Responsive Banner Styles */
@media (max-width: 1024px) {
  .banner-main-image {
    max-height: 400px;
  }
  
  .banner-title {
    font-size: 2.5rem;
  }
  
  .banner-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .banner-main-image {
    max-height: 300px;
  }
  
  .banner-title {
    font-size: 2rem;
  }
  
  .banner-subtitle {
    font-size: 1rem;
  }
  
  .banner-cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .banner-btn-primary,
  .banner-btn-secondary {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  
  .floating-element {
    display: none;
  }
}

@media (max-width: 576px) {
  .banner-title {
    font-size: 1.8rem;
  }
  
  .banner-subtitle {
    font-size: 0.9rem;
  }
  
  .banner-main-image {
    max-height: 250px;
  }
  
  #illustrated-banner {
    padding: 2rem 0;
  }
}

/* Dark Theme Support */
[data-bs-theme="dark"] #illustrated-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
}

[data-bs-theme="dark"] .banner-btn-primary {
  background: linear-gradient(45deg, #2a2d3a, #3a3d4a);
  color: #e2e8f0;
}

[data-bs-theme="dark"] .banner-btn-primary:hover {
  background: linear-gradient(45deg, #3a3d4a, #4a4d5a);
  color: #f8fafc;
}

/* =================================== */
/* INDEX PAGE HERO AND SWIPER STYLES */
/* =================================== */
/* Enhanced Hero Section Styling */
#hero-animation {
  position: relative;
  overflow: hidden;
}

#hero-animation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="a" cx="50%" cy="40%"><stop offset="0%" stop-color="%23fff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23fff" stop-opacity="0"/></radialGradient></defs><ellipse cx="50" cy="10" rx="50" ry="10" fill="url(%23a)"/></svg>') repeat-x;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

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

.hero-title {
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  background: linear-gradient(45deg, #ffffff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Original Swiper and Tooltip Styling */
.swiper-slide {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swiper-slide:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.tooltip-container {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.swiper-slide:hover .tooltip-container {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(-10px);
}

.tooltip-content p {
  margin: 0;
  font-size: 14px;
}

.modal-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

/* About-us page specific styles */
.hero-animation-section {
  background: linear-gradient(120deg, #e0eafc 0%, #cfdef3 100%); 
  min-height: 350px; 
  display: flex; 
  align-items: center; 
  position: relative; 
  overflow: hidden;
}

.hero-animation-container {
  z-index: 2;
}

.about-us-info-section {
  background: linear-gradient(120deg, #f8fafc 0%, #e0eafc 100%);
}

.about-card-main {
  background: rgba(255,255,255,0.97);
}

.about-icon-span {
  width: 56px; 
  height: 56px; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  border-radius: 50%; 
  box-shadow: 0 2px 8px #b6c6e6; 
  margin-right: 1rem; 
  background: #fff;
}

.about-icon-span-small {
  width: 48px; 
  height: 48px; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  margin-right: 1rem; 
  background: #f3f4f6; 
  border-radius: 50%;
}

.about-icon-span-tiny {
  width: 38px; 
  height: 38px; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  margin-right: 1rem; 
  background: #f3f4f6; 
  border-radius: 50%;
}

.about-text-large {
  font-size: 1.08rem;
}

.discover-btn-large {
  font-size: 1.3rem;
}

/* Team page specific styles */
.team-title-large {
  font-size: 2.5rem; 
  position: relative;
}

.team-title-underline {
  position: absolute; 
  bottom: -8px; 
  left: 50%; 
  transform: translateX(-50%); 
  width: 80px; 
  height: 4px; 
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
  border-radius: 2px;
}

.team-subtitle {
  font-size: 1.1rem; 
  max-width: 600px; 
  margin: 0 auto;
}

.team-image-container {
  height: 220px;
}

.team-image-static {
  max-height: 210px; 
  width: auto; 
  position: static;
}

.team-image-static-tall {
  max-height: 220px; 
  width: auto; 
  position: static;
}