/* Modern Index Page Styles */

/* Hero SVG Animations */
.cluster-pulse {
  animation: clusterPulse 3s ease-in-out infinite;
}

.cluster-pulse-delayed {
  animation: clusterPulse 3s ease-in-out infinite 1.5s;
}

.pulse-animation {
  animation: nodePulse 2s ease-in-out infinite;
}

.pulse-animation-delayed {
  animation: nodePulse 2s ease-in-out infinite 0.5s;
}

.pulse-animation-strong {
  animation: nodePulse 1.5s ease-in-out infinite;
}

.pulse-animation-slow {
  animation: nodePulse 3s ease-in-out infinite;
}

.expand-animation {
  animation: expandRing 4s ease-in-out infinite;
}

.expand-animation-delayed {
  animation: expandRing 4s ease-in-out infinite 1s;
}

.expand-animation-slow {
  animation: expandRing 6s ease-in-out infinite;
}

.wave-animation {
  animation: waveExpand 3s ease-out infinite;
}

.wave-animation-delayed {
  animation: waveExpand 3s ease-out infinite 1s;
}

.wave-animation-slow {
  animation: waveExpand 4s ease-out infinite;
}

@keyframes clusterPulse {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes nodePulse {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

@keyframes expandRing {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.2);
    opacity: 0.2;
  }
}

@keyframes waveExpand {
  0% {
    r: 30;
    opacity: 0.6;
  }
  100% {
    r: 80;
    opacity: 0;
  }
}

/* Hero Section */
.hero-section {
  padding: 120px 0 100px;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%236B9BD1" stroke-width="0.3"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.2;
  animation: float 20s ease-in-out infinite, parallaxMove 30s ease-in-out infinite;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.9) 30%,
    rgba(248, 250, 252, 0.7) 70%,
    rgba(255, 255, 255, 0.6) 100%
  );
  z-index: 0;
}

.hero-section .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 1200px;
}

.hero-content {
  animation: gentleFadeIn 1s ease-out;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(107, 155, 209, 0.3);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-primary);
  animation: fadeInUp 0.8s ease-out 0s both;
  letter-spacing: -0.02em;
  text-rendering: optimizeLegibility;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  -webkit-background-clip: text;
  /* -webkit-text-fill-color: transparent; */
  background-clip: text;
  /* color: transparent; */
}

.highlight-text {
  color: var(--primary-color) !important;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(107, 155, 209, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 570px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  text-align: justify;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-visual {
  animation: gentleFadeIn 1.2s ease-out 0.2s both;
  position: relative;
}

.hero-illustration {
  position: relative;
}

.hero-svg {
  width: 100%;
  height: auto;
  max-width: 500px;
}

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

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

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

/* Research Areas Section */
.research-section {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
  opacity: 0;
  animation: sectionFadeIn 1s ease-out 0.3s forwards;
}

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

.section-title {
  font-size: clamp(2.5rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 30px;
  position: relative;
  transition: all 0.3s ease;
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.section-header:hover .section-title::after {
  width: 80px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Research Carousel */
.research-carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.research-carousel-track {
  display: flex;
  animation: scroll 60s linear infinite;
  width: calc(520px * 10);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-520px * 5));
  }
}

.research-card {
  flex: 0 0 450px;
  background: white;
  border-radius: 16px;
  padding: 40px;
  margin-right: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(107, 155, 209, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.research-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.research-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(107, 155, 209, 0.2);
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  width: 100%;
}

.card-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.card-icon svg {
  width: 18px;
  height: 18px;
  color: white;
}

.card-title-section {
  flex: 1;
  text-align: left;
}

.card-title-section h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
  text-align: left;
}

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

.card-body p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  font-size: 0.95rem;
  text-align: left;
}

.card-button {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  width: 100%;
  justify-content: center;
}

.card-button:hover {
  color: var(--secondary-color);
  transform: translateX(4px);
}

.card-button .btn-icon {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.card-button:hover .btn-icon {
  transform: translateX(4px);
}

/* Community Section */
.community-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  position: relative;
  opacity: 0;
  animation: sectionFadeIn 1s ease-out 0.6s forwards;
}

.community-content {
  max-width: 1200px;
  margin: 0 auto;
}

.community-header {
  text-align: center;
  margin-bottom: 80px;
}

.community-title {
  font-size: clamp(2.5rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 30px;
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility;
  position: relative;
}

.community-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.community-testimonial {
  display: grid;
  /* grid-template-columns: 2fr 1fr;
  gap: 60px; */
  align-items: center;
  margin-bottom: 80px;
  background: white;
  border-radius: 20px;
  padding: 60px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.community-testimonial::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.community-testimonial:hover::before {
  transform: scaleX(1);
}

.community-testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
  position: relative;
}

.quote-icon {
  width: 48px;
  height: 48px;
  color: var(--primary-color);
  margin-bottom: 24px;
}

.testimonial-content blockquote {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin: 0 0 32px 0;
  font-style: italic;
  position: relative;
  text-align: justify;
}

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

.author-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.author-title {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.testimonial-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-pattern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  opacity: 0.6;
}

.pattern-dot {
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

.pattern-dot:nth-child(2) {
  animation-delay: 0.2s;
}
.pattern-dot:nth-child(3) {
  animation-delay: 0.4s;
}
.pattern-dot:nth-child(4) {
  animation-delay: 0.6s;
}
.pattern-dot:nth-child(5) {
  animation-delay: 0.8s;
}

@keyframes dotPulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

/* Community Stats */
.community-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

.stat-item {
  text-align: center;
  padding: 32px 24px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(107, 155, 209, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(107, 155, 209, 0.1), transparent);
  transition: left 0.5s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(107, 155, 209, 0.15);
  border-color: rgba(107, 155, 209, 0.2);
}

.stat-item:hover::before {
  left: 100%;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
  display: block;
  transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
  transform: scale(1.1);
  text-shadow: 0 4px 8px rgba(107, 155, 209, 0.3);
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 1rem;
}

/* Community Features */
.community-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(107, 155, 209, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(107, 155, 209, 0.15);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.feature-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.feature-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  background: rgba(107, 155, 209, 0.1);
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Solutions Section */
.solutions-section {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: sectionFadeIn 1s ease-out 0.9s forwards;
}

.solutions-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="solutions-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%236B9BD1" stroke-width="0.2"/></pattern></defs><rect width="100%" height="100%" fill="url(%23solutions-grid)"/></svg>');
  opacity: 0.05;
  animation: float 25s ease-in-out infinite, parallaxMove 35s ease-in-out infinite reverse;
  z-index: 0;
}

.solutions-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 1;
}

.solution-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(107, 155, 209, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUpSolution 0.8s ease-out forwards;
}

.solution-card:nth-child(1) {
  animation-delay: 0.1s;
}

.solution-card:nth-child(2) {
  animation-delay: 0.3s;
}

.solution-card:nth-child(3) {
  animation-delay: 0.5s;
}

.solution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.solution-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(107, 155, 209, 0.25);
}

.solution-card:hover .solution-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(107, 155, 209, 0.4);
}

.solution-card.primary {
  border: 2px solid var(--primary-color);
  transform: scale(1.02);
}

.solution-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
  position: relative;
}

.solution-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.solution-card:hover .solution-icon::before {
  opacity: 0.2;
  animation: iconPulse 1s ease-in-out infinite;
}

.solution-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.solution-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.solution-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.content-section {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.content-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
  flex: 1;
}

.solution-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  text-align: center;
  margin-top: 24px;
  align-self: stretch;
}

.solution-link:hover {
  color: white;
  background-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 155, 209, 0.3);
}

/* CTA Section */
.cta-section {
  padding: 50px 0;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: sectionFadeIn 1s ease-out 1.2s forwards;
}

.cta-background-layers {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
}

.cta-layer-1,
.cta-layer-2 {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: white;
}

.cta-layer-1 {
  top: -150px;
  right: -150px;
  animation: float 25s ease-in-out infinite, parallaxMove 40s ease-in-out infinite;
}

.cta-layer-2 {
  bottom: -150px;
  left: -150px;
  animation: float 30s ease-in-out infinite reverse, parallaxMove 45s ease-in-out infinite reverse;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-main-text {
  font-size: 1.1rem;
  margin-bottom: 0;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  text-align: center;
}

/* Solution Section Animations */
@keyframes fadeInUpSolution {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes parallaxMove {
  0%, 100% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(10px) translateY(-5px);
  }
  50% {
    transform: translateX(-5px) translateY(10px);
  }
  75% {
    transform: translateX(-10px) translateY(-8px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .community-testimonial {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 30px;
  }

  .community-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .community-features {
    grid-template-columns: 1fr;
  }

  .solutions-preview {
    grid-template-columns: 1fr;
  }

  .research-carousel-track {
    animation-duration: 50s;
    width: calc(380px * 10);
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-380px * 5));
    }
  }

  .research-card {
    flex: 0 0 350px;
    padding: 32px;
    margin-right: 30px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 80px 0 60px;
  }

  .research-section,
  .community-section,
  .solutions-section {
    padding: 60px 0;
  }

  .cta-section {
    padding: 30px 0;
  }

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

  .feature-card,
  .solution-card {
    padding: 30px 24px;
  }

  .community-stats {
    grid-template-columns: 1fr;
  }
}

/* New Highlight Sections CSS - Adi patch*/ 

/* Post-Quantum Highlight Section */
/* .pqc-highlight-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.pqc-highlight-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%236B9BD1" fill-opacity="0.03"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
    opacity: 0.4;
    animation: float 25s ease-in-out infinite;
} */

/* eBPF Highlight Section */
/* .ebpf-highlight-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.ebpf-highlight-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%234A90E2" fill-opacity="0.03"><circle cx="20" cy="20" r="4"/><circle cx="20" cy="20" r="12"/><circle cx="20" cy="20" r="20"/></g></g></svg>');
    opacity: 0.5;
    animation: float 30s ease-in-out infinite reverse;
} */

/* Common Highlight Content Styles */
/* .highlight-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.highlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(107, 155, 209, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.highlight-badge svg {
    width: 20px;
    height: 20px;
}

.highlight-title {
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    letter-spacing: -0.01em;
    text-rendering: optimizeLegibility;
}

.highlight-description {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    text-align: justify;
    text-justify: inter-word;
} */

/* Hover effects for highlight sections */
/* .pqc-highlight-section:hover::before,
.ebpf-highlight-section:hover::before {
    animation-duration: 15s;
}

.highlight-content:hover .highlight-badge {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 155, 209, 0.4);
}

.highlight-content:hover .highlight-title {
    transform: translateY(-1px);
} */

/* Responsive adjustments for new sections */
/* @media (max-width: 768px) { 
    .pqc-highlight-section,
    .ebpf-highlight-section {
        padding: 60px 0;
    }
    
    .highlight-title {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
    }
    
    .highlight-description {
        font-size: 1rem;
        text-align: left;
    }
    
    .highlight-badge {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .pqc-highlight-section,
    .ebpf-highlight-section {
        padding: 40px 0;
    }
    
    .highlight-title {
        font-size: clamp(1.5rem, 6vw, 1.8rem);
        margin-bottom: 20px;
    }
    
    .highlight-description {
        font-size: 0.95rem;
    }
    
    .highlight-badge {
        padding: 8px 12px;
        font-size: 0.8rem;
        margin-bottom: 20px;
    }
}  Adi Patch 1 completed*/

/* Enhanced Highlights Section - CONSISTENT BLUE THEME WITH VISIBLE PROFESSIONAL EFFECTS */
.enhanced-highlights-section {
    padding: 50px 0 30px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

/* VISIBLE BUT PROFESSIONAL BACKGROUND EFFECTS */
.crazy-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

/* VISIBLE PROFESSIONAL GEOMETRIC SHAPES - BLUE THEME ONLY */
.geometric-shape {
    position: absolute;
    border-radius: 50%;
    animation: gentleFloat 30s ease-in-out infinite;
    opacity: 0.12; /* Much more visible now */
}

.shape-1 {
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, #dbeafe, #bfdbfe);
    top: 15%;
    left: 8%;
    animation-delay: -5s;
    border-radius: 30% 70% 40% 60%;
}

.shape-2 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    top: 65%;
    right: 12%;
    animation-delay: -15s;
    border-radius: 60% 40% 70% 30%;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(90deg, #f0f9ff, #e0f2fe);
    bottom: 25%;
    left: 65%;
    animation-delay: -25s;
    border-radius: 40% 60% 30% 70%;
}

.shape-4 {
    width: 320px;
    height: 320px;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    top: -5%;
    right: 35%;
    animation-delay: -10s;
    border-radius: 50% 30% 60% 40%;
}

.shape-5 {
    width: 160px;
    height: 160px;
    background: linear-gradient(225deg, #dbeafe, #93c5fd);
    top: 40%;
    right: 80%;
    animation-delay: -20s;
    border-radius: 70% 30% 50% 50%;
}

/* VISIBLE FLOATING ORBS - BLUE VARIANTS ONLY */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    animation: professionalOrbit 35s ease-in-out infinite;
    filter: blur(1px);
    opacity: 0.15; /* More visible */
}

.orb-1 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #dbeafe, transparent);
    top: 20%;
    left: 80%;
    animation-delay: -8s;
}

.orb-2 {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, #bfdbfe, transparent);
    bottom: 45%;
    right: 25%;
    animation-delay: -18s;
}

.orb-3 {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, #eff6ff, transparent);
    top: 50%;
    left: 15%;
    animation-delay: -28s;
}

.orb-4 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #e0f2fe, transparent);
    bottom: 20%;
    right: 60%;
    animation-delay: -5s;
}

/* VISIBLE LIGHT RAYS - PROFESSIONAL EFFECT */
.light-beam {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #dbeafe, transparent);
    animation: gentleBeam 25s linear infinite;
    opacity: 0.15; /* More visible */
    filter: blur(0.5px);
}

.beam-1 {
    left: 30%;
    animation-delay: -5s;
}

.beam-2 {
    left: 70%;
    animation-delay: -15s;
}

.beam-3 {
    left: 85%;
    animation-delay: -10s;
    background: linear-gradient(to bottom, transparent, #bfdbfe, transparent);
}

/* FLOATING PARTICLES FOR EXTRA CREATIVITY */
.particle-swarm {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.swarm-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #93c5fd;
    border-radius: 50%;
    animation: gentleParticleFloat 20s linear infinite;
    opacity: 0.4;
}

.swarm-particle:nth-child(1) { left: 15%; animation-delay: -2s; }
.swarm-particle:nth-child(2) { left: 35%; animation-delay: -8s; }
.swarm-particle:nth-child(3) { left: 55%; animation-delay: -14s; }
.swarm-particle:nth-child(4) { left: 75%; animation-delay: -6s; }
.swarm-particle:nth-child(5) { left: 25%; animation-delay: -12s; }
.swarm-particle:nth-child(6) { left: 65%; animation-delay: -18s; }

/* Community Note Styling - CONSISTENT THEME */
.community-note {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.community-note p {
    font-size: 1.15rem;
    color: #1e293b; /* Consistent dark text */
    font-style: italic;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.highlight-item {
    margin-bottom: 35px;
    position: relative;
    z-index: 5;
}

.highlight-item:last-child {
    margin-bottom: 20px;
}

/* PROFESSIONAL LIGHT-THEMED BOXES */
.highlight-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 25px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.08),
        0 4px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* PROFESSIONAL HOVER EFFECT */
.highlight-content:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.12),
        0 10px 20px rgba(59, 130, 246, 0.08);
    background: rgba(255, 255, 255, 0.95);
}

/* SUBTLE RIPPLE EFFECT */
.highlight-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    pointer-events: none;
}

.highlight-content:hover::before {
    width: 300px;
    height: 300px;
}

/* ALL SECTIONS LEFT ALIGNED */
.left-aligned .highlight-content {
    flex-direction: row;
}

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

.highlight-text {
    flex: 2;
    z-index: 2;
}

.highlight-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ALL HEADINGS SAME BLUE COLOR AS eBPF */
.highlight-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    position: relative;
    color: #3b82f6; /* Same beautiful blue for all three headings */
}

.highlight-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #475569; /* Consistent gray */
    margin: 0;
    font-weight: 400;
}

/* ALL ICON BACKGROUNDS SAME BLUE THEME - CONSISTENT */
.floating-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: gentleFloat 8s ease-in-out infinite;
    transition: all 0.4s ease;
}

.highlight-content:hover .floating-icon {
    transform: scale(1.1) rotate(5deg);
}

.floating-icon svg {
    width: 45px;
    height: 45px;
    color: white;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* ALL ICONS SAME BEAUTIFUL BLUE GRADIENT */
.quantum-icon,
.ebpf-icon,
.telecom-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); /* Same blue for all */
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* REDUCE OVERALL SECTION SPACING */
.enhanced-highlights-section + * {
    margin-top: -20px;
}

/* ENHANCED ANIMATIONS FOR VISIBILITY */
@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        border-radius: 50% 30% 60% 40%;
    }
    25% {
        transform: translateY(-20px) rotate(2deg);
        border-radius: 40% 60% 30% 70%;
    }
    50% {
        transform: translateY(-10px) rotate(-2deg);
        border-radius: 60% 40% 70% 30%;
    }
    75% {
        transform: translateY(-15px) rotate(1deg);
        border-radius: 30% 70% 40% 60%;
    }
}

@keyframes professionalOrbit {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }
    25% {
        transform: translateY(-30px) translateX(20px) scale(1.1);
    }
    50% {
        transform: translateY(-15px) translateX(-25px) scale(0.95);
    }
    75% {
        transform: translateY(-22px) translateX(15px) scale(1.05);
    }
}

@keyframes gentleBeam {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    50% {
        opacity: 0.15;
        transform: translateX(0px);
    }
    100% {
        opacity: 0;
        transform: translateX(30px);
    }
}

@keyframes gentleParticleFloat {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-10vh);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .enhanced-highlights-section {
        padding: 40px 0 20px 0;
    }
    
    .highlight-content {
        flex-direction: column !important;
        gap: 25px;
        padding: 20px;
    }
    
    .left-text {
        text-align: center !important;
    }
    
    .highlight-title {
        font-size: 1.75rem;
    }
    
    .highlight-subtitle {
        font-size: 1rem;
    }
    
    .floating-icon {
        width: 70px;
        height: 70px;
    }
    
    .floating-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .community-note p {
        font-size: 1rem;
    }
    
    .highlight-item {
        margin-bottom: 25px;
    }
    
    .highlight-item:last-child {
        margin-bottom: 15px;
    }
    
    .highlight-content:hover {
        transform: translateY(-8px);
    }
    
    /* Keep background effects visible on mobile */
    .geometric-shape,
    .floating-orb {
        opacity: 0.08;
    }
    
    .light-beam {
        opacity: 0.1;
    }
    
    .swarm-particle {
        opacity: 0.2;
    }
}

@media (max-width: 480px) {
    .enhanced-highlights-section {
        padding: 30px 0 15px 0;
    }
    
    .highlight-title {
        font-size: 1.5rem;
    }
    
    .highlight-subtitle {
        font-size: 0.95rem;
    }
    
    .floating-icon {
        width: 60px;
        height: 60px;
    }
    
    .floating-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .community-note p {
        font-size: 0.95rem;
    }
    
    .highlight-item {
        margin-bottom: 20px;
    }
    
    .highlight-item:last-child {
        margin-bottom: 10px;
    }
}
