/* -----------------------------------
   Global Styles & Reset
----------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth; /* Smooth scroll for anchor links */
}

body {
  font-family: "Inter", sans-serif;
  background: #f8fafc;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* -----------------------------------
   Navigation Bar
----------------------------------- */
nav {
  position: sticky; /* Stays visible when scrolling */
  top: 0;
  background: rgba(0, 51, 102, 0.95);
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.2rem 0;
  z-index: 100;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px); /* Frosted-glass effect */
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

nav a:hover {
  color: #ffcc00;
  background: rgba(255, 255, 255, 0.1);
}

/* -----------------------------------
   Hero Header Section
----------------------------------- */
header {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}

/* Overlay gradient background */
header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 30, 60, 0.75) 0%,
    rgba(0, 51, 102, 0.85) 100%
  );
  z-index: 1;
}

/* Main hero text content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeInUp 1s ease-out; /* Entrance animation */
}

.hero-content h1 {
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #00c6ff, #0072ff, #0056b3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent; /* Gradient text effect */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-content p {
  font-size: 1.5rem;
  font-weight: 300;
  color: #f0f0f0;
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Call-to-action buttons */
.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(to right, #0072ff, #0056b3);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3);
  margin: 0.5rem;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 114, 255, 0.4);
}

/* Secondary (outlined) button style */
.cta-button.secondary {
  background: transparent;
  border: 2px solid #fff;
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* -----------------------------------
   Generic Section Styling
----------------------------------- */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: auto;
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, #0072ff, #00c6ff);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-header p {
  color: #666;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* -----------------------------------
   About Section
----------------------------------- */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05); /* Zoom effect on hover */
}

/* -----------------------------------
   Stats Section
----------------------------------- */
.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  min-width: 200px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0072ff;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #666;
  font-weight: 600;
}

/* -----------------------------------
   Cards Section
----------------------------------- */
/* .cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.card {
  background: #fff;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  width: 300px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
} */

/* Gradient bar on hover */
/* .card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #0072ff, #00c6ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card:hover:before {
  transform: scaleX(1);
}

.card i {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #0072ff, #00c6ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #003366;
}

.card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-link {
  display: inline-flex;
  color: #0072ff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  align-items: baseline; 
  gap: 6px;
}

.card-link i {
  font-size: 1em;
  line-height: 2; 
}

.card-link:hover {
  color: #0056b3;
  transform: translateX(5px);
} */

/* -----------------------------------
   Testimonials
----------------------------------- */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.testimonial {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  max-width: 350px;
  position: relative;
}

.testimonial-text {
  font-style: italic;
  color: #555;
  margin-bottom: 1.5rem;
  position: relative;
}

/* Quotation mark decoration */
.testimonial-text:before {
  content: "“";
  font-size: 4rem;
  color: #0072ff;
  opacity: 0.2;
  position: absolute;
  top: -1.5rem;
  left: -1rem;
  font-family: Arial, sans-serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0.2rem;
  color: #003366;
}

.author-info p {
  color: #666;
  font-size: 0.9rem;
}

/* -----------------------------------
   Resources Section
----------------------------------- */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.resource-item {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.resource-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.resource-icon {
  font-size: 2.5rem;
  color: #0072ff;
  margin-bottom: 1rem;
}

.resource-links {
  margin-top: 1.5rem;
}

.resource-link {
  display: flex;
  align-items: center;
  color: #0072ff;
  text-decoration: none;
  margin-bottom: 0.8rem;
  transition: all 0.3s;
}

.resource-link:hover {
  color: #0056b3;
  transform: translateX(5px);
}

.resource-link i {
  margin-right: 0.5rem;
}

/* -----------------------------------
   Contact Form
----------------------------------- */
.form-container {
  background: #fff;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  max-width: 700px;
  margin: 0 auto;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

form label {
  font-weight: 600;
  color: #003366;
  font-size: 0.95rem;
}

form input,
form textarea,
form select {
  padding: 1rem 1.2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  transition: all 0.3s;
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: #0072ff;
  box-shadow: 0 0 0 3px rgba(0, 114, 255, 0.1);
}

form button {
  padding: 1.2rem;
  background: linear-gradient(to right, #0072ff, #0056b3);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 1rem;
}

form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 114, 255, 0.3);
}

/* -----------------------------------
   Form Status Messages
----------------------------------- */
.form-status {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  display: block;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
}

/* While sending */
.form-status.loading {
  color: #555;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  position: relative;
}

/* ✅ Little loading spinner animation */
.form-status.loading::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid #ccc;
  border-top: 2px solid #0072ff;
  border-radius: 50%;
  display: inline-block;
  margin-left: 8px;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

/* Success message (blue-green tone to match theme) */
.form-status.success {
  color: #004085;
  background-color: #cce5ff;
  border: 1px solid #b8daff;
}

/* Error message (blue-red tone for consistency) */
.form-status.error {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
}

/* Spinner animation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* -----------------------------------
   Footer
----------------------------------- */
footer {
  background: linear-gradient(to right, #00264d, #003366);
  padding: 4rem 2rem 2rem;
  color: #ccc;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-logo {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(to right, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-about {
  line-height: 1.6;
}

.footer-heading {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: #0072ff;
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-links a i {
  margin-right: 0.5rem;
  font-size: 0.8rem;
}

/* Social icons */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s;
}

.social-links a:hover {
  background: #0072ff;
  transform: translateY(-3px);
}

/* Footer bottom bar */
.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer a {
  color: #ffcc00;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* -----------------------------------
   Animations
----------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -----------------------------------
   Responsive Design
----------------------------------- */
@media (max-width: 768px) {
  nav {
    gap: 1.5rem;
    padding: 1rem;
    flex-wrap: wrap;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .form-container {
    padding: 2rem 1.5rem;
  }

  .about-content {
    flex-direction: column; /* Stack items on smaller screens */
  }

  .footer-container {
    grid-template-columns: 1fr; /* Single column footer */
  }
}

.text-justify {
  text-align: justify;
}

/* -----------------------------------
   Analytica India Footer
----------------------------------- */

.ai-footer {
  background: linear-gradient(to right, #00264d, #003366);
  padding: 4rem 0 2rem;
  color: #ccc;
  font-size: 0.95rem;
}

.ai-footer-logo {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(to right, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ai-footer-about {
  line-height: 1.6;
}

.ai-footer-heading {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.ai-footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: #0072ff;
  border-radius: 2px;
}

.ai-footer-links {
  list-style: none;
  padding-left: 0;
}

.ai-footer-links li {
  margin-bottom: 0.8rem;
}

.ai-footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start; /* Align icon to top */
}

.ai-footer-links a:hover {
  color: #fff;
  transform: translateX(5px);
}

.ai-footer-links a i {
  margin-right: 0.5rem;
  font-size: 0.8rem;
  position: relative;
  top: 5px; /* Move arrow down */
}

/* Social icons */
.ai-social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.ai-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
}

.ai-social-links a:hover {
  background: #0072ff;
  transform: translateY(-3px);
}

/* Bottom bar */
.ai-footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-footer-bottom a {
  color: #ffcc00;
  text-decoration: none;
}

.ai-footer-bottom a:hover {
  color: #fff;
  text-decoration: underline;
}

/* LINKEDIN POSTS */
/* ===== RESET / BASE (only for this section) ===== */
#linkedin-posts-section {
  display: block;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}

/* section styling */
#linkedin-posts-section .section {
  padding: 3rem 1.5rem;
  background: #f6f9fe;
}

/* Follow on LinkedIn button */
#linkedin-posts-section .linkedin-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #0077b5;
  color: white;
  padding: 0.7rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.2s;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 119, 181, 0.2);
}

#linkedin-posts-section .linkedin-follow-btn i {
  font-size: 1.4rem;
}

#linkedin-posts-section .linkedin-follow-btn:hover {
  background-color: #005e93;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 119, 181, 0.3);
}

/* ===== CAROUSEL CONTAINER ===== */
#linkedin-posts-section .resources-carousel-container {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  position: relative;
  /* Fade edges for better visual */
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

#linkedin-posts-section .resources-carousel-wrapper {
  width: 100%;
  overflow: hidden;
}

#linkedin-posts-section .resources-carousel-track {
  display: flex;
  gap: 25px;
  width: fit-content;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  padding: 0.5rem 0 1rem 0;
  transition: none; /* JS handles animation */
}

/* Card styling - Taller cards to show full image */
#linkedin-posts-section .resource-carousel-card {
  flex: 0 0 340px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition:
    box-shadow 0.3s ease,
    transform 0.25s ease;
  border: none;
  cursor: pointer;
  height: 480px;
  display: flex;
  position: relative;
}

#linkedin-posts-section .resource-carousel-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

#linkedin-posts-section .card-link-wrapper {
  text-decoration: none;
  color: inherit;
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}

#linkedin-posts-section .card-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  position: relative;
}

/* Images fully visible with blur effect on hover */
#linkedin-posts-section .card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  transition: filter 0.3s ease, transform 0.3s ease;
  background-color: #f8f9fa;
  filter: blur(0); /* Default - no blur */
}

/* Apply blur to image on card hover */
#linkedin-posts-section .resource-carousel-card:hover .card-image img {
  filter: blur(3px); /* Light blur effect */
  transform: scale(1.02); /* Slight zoom */
}

/* LinkedIn button overlay - hidden by default, shows on hover */
#linkedin-posts-section .linkedin-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #0077b5;
  color: white;
  padding: 12px 24px;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 30;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto; /* Make button clickable */
}

#linkedin-posts-section .linkedin-overlay-btn i {
  font-size: 1.2rem;
}

#linkedin-posts-section .linkedin-overlay-btn:hover {
  background-color: #005e93;
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

/* Show LinkedIn button and blur on card hover */
#linkedin-posts-section .resource-carousel-card:hover .linkedin-overlay-btn {
  opacity: 1;
  visibility: visible;
}

/* Remove the old tooltip */
#linkedin-posts-section .resource-carousel-card .card-link-wrapper::after {
  display: none;
}

/* Arrow buttons - positioned between sliders */
#linkedin-posts-section .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.2rem;
  height: 3.2rem;
  background: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 30, 60, 0.25);
  color: #10345e;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: all 0.15s;
  border: 1px solid #dee7ef;
}

#linkedin-posts-section .carousel-arrow:hover {
  background: #f0f7ff;
  box-shadow: 0 12px 24px rgba(0, 60, 120, 0.35);
  color: #0056a3;
  transform: translateY(-50%) scale(1.05);
}

#linkedin-posts-section .carousel-arrow-left {
  left: 10px;
}

#linkedin-posts-section .carousel-arrow-right {
  right: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #linkedin-posts-section .resource-carousel-card {
    flex: 0 0 280px;
    height: 400px;
  }

  #linkedin-posts-section .resources-carousel-container {
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 5%,
      black 95%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 5%,
      black 95%,
      transparent 100%
    );
  }

  #linkedin-posts-section .carousel-arrow {
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1.3rem;
  }
  
  #linkedin-posts-section .linkedin-overlay-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}

/* Performance optimizations */
#linkedin-posts-section .resources-carousel-track {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform-style: preserve-3d;
}

/* Ensure smooth animation on all devices */
@media (prefers-reduced-motion: reduce) {
  #linkedin-posts-section .resources-carousel-track {
    animation: none;
  }
  
  #linkedin-posts-section .resource-carousel-card:hover .card-image img {
    filter: none;
    transform: none;
  }
}

/* bottom line styling */
#linkedin-posts-section .carousel-footer {
  text-align: center;
  margin-top: 1.5rem;
  color: #6c757d;
  font-size: 0.9rem;
}

#linkedin-posts-section .carousel-footer i {
  margin-right: 0.3rem;
}

/* Ensure images are fully visible */
#linkedin-posts-section .card-image img {
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
  background-color: #f8f9fa;
}