/* ========================================
   RESEARCH & PUBLICATIONS PAGE STYLES
   KalkiNetra - Blue Theme
   ======================================== */

:root {
  /* Blue Palette */
  --color-primary: #0066ff;
  --color-secondary: #3388ff;
  --color-accent: #1a75ff;
  --color-dark: #000000;

  /* Text Colors */
  --color-text-primary: #ffffff;
  --color-text-secondary: rgba(255, 255, 255, 0.8);
  --color-text-muted: rgba(255, 255, 255, 0.5);

  /* Blue Glow Effects */
  --glow-blue: rgba(0, 102, 255, 0.5);
  --glow-blue-soft: rgba(0, 102, 255, 0.3);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
    "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background: #00050c;
}

/* ========================================
   DARKVEIL FIXED BACKGROUND
   ======================================== */
#darkveil-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

#darkveil-background canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ========================================
   TRANSPARENT SECTIONS BASE
   ======================================== */
section {
  background: transparent !important;
  position: relative;
  z-index: 1;
}

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

/* ========================================
   RESEARCH HERO SECTION
   ======================================== */
.research-hero-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: visible;
}

.glow-hero-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  top: -150px;
  right: -100px;
  background: radial-gradient(
    circle,
    rgba(0, 102, 255, 0.3) 0%,
    transparent 60%
  );
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.6;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.glow-hero-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  bottom: -100px;
  left: -100px;
  background: radial-gradient(
    circle,
    rgba(51, 136, 255, 0.25) 0%,
    transparent 60%
  );
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  pointer-events: none;
  animation: float 10s ease-in-out infinite 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(30px, -30px);
  }
  66% {
    transform: translate(-30px, 30px);
  }
}

.research-hero-title {
  font-size: 3vh;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -1px;
  margin-bottom: 2rem;
  text-align: left;
}

.research-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--color-text-secondary);
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* ========================================
   INTRODUCTION SECTION
   ======================================== */
.intro-section {
  padding: 80px 0;
}

.intro-card {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 102, 255, 0.2);
}

.intro-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15), transparent);
  border-radius: 50%;
}

.intro-text {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.intro-highlight {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--color-secondary);
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

/* ========================================
   SECTION TITLES
   ======================================== */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   RESEARCH GRID SECTION
   ======================================== */
.research-grid-section {
  padding: 80px 0;
}

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

/* Research Project Cards */
.research-project-card {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 24px;
  padding: 2.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.research-project-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15), transparent 70%);
  border-radius: 50%;
  transform: translate(50%, -50%);
  transition: all 0.5s ease;
  opacity: 0;
}

.research-project-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 102, 255, 0.25);
  background: rgba(0, 0, 0, 0.6);
}

.research-project-card:hover::before {
  opacity: 1;
  transform: translate(30%, -30%) scale(1.3);
}

/* Card Number */
.card-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(0, 102, 255, 0.08);
  line-height: 1;
  z-index: 0;
}

/* Card Icon */
.card-icon {
  width: 70px;
  height: 70px;
  background: rgba(0, 102, 255, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-secondary);
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 102, 255, 0.3);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.research-project-card:hover .card-icon {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.35);
}

/* Card Title */
.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 1.5rem 0 1rem;
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

/* Card Description */
.card-description {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Card Link */
.card-link {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
}

.card-link:hover {
  color: var(--color-primary);
  transform: translateX(8px);
}

.card-link i {
  transition: transform 0.3s ease;
}

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

/* ========================================
   EARLY ACCESS CTA SECTION
   ======================================== */
.early-access-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.glow-cta {
  position: absolute;
  width: 600px;
  height: 600px;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(
    circle,
    rgba(0, 102, 255, 0.3) 0%,
    transparent 70%
  );
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.7;
}

/* CTA Icon */
.cta-icon {
  width: 100px;
  height: 100px;
  background: rgba(0, 102, 255, 0.2);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--color-secondary);
  margin: 0 auto;
  border: 1px solid rgba(0, 102, 255, 0.3);
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.3);
  animation: pulse 3s ease-in-out infinite;
}

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

.cta-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--color-text-secondary);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* CTA Buttons */
.cta-buttons {
  position: relative;
  z-index: 1;
}

.btn-cta-primary {
  background: rgba(0, 102, 255, 0.2);
  color: var(--color-text-primary);
  border: 1px solid rgba(0, 102, 255, 0.4);
  padding: 1rem 2.5rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-cta-primary:hover {
  background: rgba(0, 102, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 102, 255, 0.4);
  color: var(--color-text-primary);
}

.btn-cta-outline {
  background: rgba(255, 255, 255, 0.02);
  color: var(--color-secondary);
  border: 2px solid rgba(0, 102, 255, 0.3);
  padding: 1rem 2.5rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-cta-outline:hover {
  background: rgba(0, 102, 255, 0.1);
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 102, 255, 0.2);
}

/* ========================================
   ANIMATIONS
   ======================================== */
.animate-on-scroll {
  opacity: 0;
}

.animate-on-scroll.visible {
  opacity: 1;
}

.animate-on-scroll[data-animation="fade-up"] {
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll[data-animation="fade-up"].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 991px) {
  .research-hero-section {
    min-height: 70vh;
    padding-top: 120px;
  }

  .research-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }

  .intro-card {
    padding: 2rem;
  }

  .research-project-card {
    padding: 2rem;
  }

  .card-number {
    font-size: 3rem;
  }

  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }
}

@media (max-width: 767px) {
  .research-hero-section {
    min-height: 60vh;
    padding-top: 100px;
  }

  .research-hero-title {
    font-size: 2rem;
    line-height: 1.3;
  }

  .research-hero-subtitle {
    font-size: 1rem;
  }

  .intro-card {
    padding: 1.5rem;
  }

  .intro-text {
    font-size: 1rem;
  }

  .intro-highlight {
    font-size: 1.1rem;
  }

  .research-project-card {
    padding: 1.5rem;
  }

  .card-number {
    font-size: 2.5rem;
    top: 1rem;
    right: 1rem;
  }

  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .card-description {
    font-size: 0.95rem;
  }

  .cta-icon {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

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

/* ========================================
   UTILITIES
   ======================================== */
::selection {
  background: rgba(0, 102, 255, 0.3);
  color: var(--color-text-primary);
}

::-moz-selection {
  background: rgba(0, 102, 255, 0.3);
  color: var(--color-text-primary);
}

*:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: #00050c;
  color: #fff;
  overflow-x: hidden;
  padding: 0px 0;
}

/* Section Wrapper with Curved Background */
.section-wrapper {
  position: relative;
  margin: 60px 0;
}

/* Curved Background Container */
.curved-bg {
  background: #000;
  border-radius: 80px;
  padding: 100px 40px;
  margin: 0 0px;
  position: relative;
  overflow: hidden;
}

.curved-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.02) 0%,
    transparent 100%
  );
  pointer-events: none;
}

/* AI Security Section Background */
.ai-security-bg {
  background: linear-gradient(135deg, #16213e 0%, #0d1b2a 50%, #1a1a2e 100%);
}

/* Cybersecurity Section Background */
.cyber-security-bg {
  background: linear-gradient(135deg, #16213e 0%, #0d1b2a 50%, #1a1a2e 100%);
}

.container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
}

/* Section Titles */
.section-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #888;
  margin-bottom: 15px;
  font-weight: 600;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #a0a0a0;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

/* Research Cards */
.research-project-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 45px;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.research-project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.research-project-card:hover {
  transform: translateY(-12px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.research-project-card:hover::before {
  opacity: 1;
}

.card-number {
  position: absolute;
  top: 35px;
  right: 35px;
  font-size: 5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
}

.card-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  border-radius: 18px;
  margin-bottom: 25px;
  transition: all 0.4s ease;
}

.research-project-card:hover .card-icon {
  transform: scale(1.1);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
}

.card-icon i {
  font-size: 32px;
  color: #fff;
}

.card-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: #fff;
  line-height: 1.3;
}

.card-description {
  font-size: 1.05rem;
  color: #a0a0a0;
  line-height: 1.8;
  margin-bottom: 30px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 3px;
}

.card-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #fff 0%, transparent 100%);
  transition: width 0.4s ease;
}

.card-link:hover {
  color: #fff;
}

.card-link:hover::after {
  width: calc(100% - 30px);
}

.card-link i {
  transition: transform 0.3s ease;
  margin-left: 8px;
}

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

/* Animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.9s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.row > div:nth-child(1) .animate-on-scroll {
  animation-delay: 0.1s;
}
.row > div:nth-child(2) .animate-on-scroll {
  animation-delay: 0.2s;
}
.row > div:nth-child(3) .animate-on-scroll {
  animation-delay: 0.3s;
}
.row > div:nth-child(4) .animate-on-scroll {
  animation-delay: 0.4s;
}

/* Responsive */
@media (max-width: 1200px) {
  .curved-bg {
    border-radius: 60px;
  }
}

@media (max-width: 992px) {
  .section-title {
    font-size: 2.8rem;
  }

  .research-project-card {
    padding: 35px;
  }

  .curved-bg {
    border-radius: 50px;
    padding: 80px 30px;
  }
}

@media (max-width: 768px) {
  .curved-bg {
    border-radius: 40px;
    padding: 60px 20px;
  }

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

  .section-subtitle {
    font-size: 1rem;
  }

  .card-number {
    font-size: 3.5rem;
    top: 25px;
    right: 25px;
  }

  .research-project-card {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .curved-bg {
    border-radius: 30px;
  }
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: #00050c;
  color: #fff;
  overflow-x: hidden;
}

/* Hero Section */
.research-hero-section {
  min-height: 78vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 42px 0 80px;
}

/* Animated Glow Effects */
.glow-effect {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.glow-hero-1 {
  width: 600px;
  height: 600px;
  top: -150px;
  right: -100px;
  background: radial-gradient(
    circle,
    rgba(0, 102, 255, 0.3) 0%,
    transparent 60%
  );
  filter: blur(120px);
  opacity: 0.6;
  animation: float 8s ease-in-out infinite;
}

.glow-hero-2 {
  width: 500px;
  height: 500px;
  bottom: -100px;
  left: -100px;
  background: radial-gradient(
    circle,
    rgba(51, 136, 255, 0.25) 0%,
    transparent 60%
  );
  filter: blur(100px);
  opacity: 0.5;
  animation: float 10s ease-in-out infinite 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(30px, -30px);
  }
  66% {
    transform: translate(-30px, 30px);
  }
}

/* Hero Content */
.hero-content-wrapper {
  position: relative;
  z-index: 2;
}

.hero-text-container {
  max-width: 650px;
}

.research-hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -1px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.2s;
}

.research-hero-subtitle {
  font-size: 1.2rem;
  color: #a0a0a0;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0;
  text-align: left;
  animation: fadeUp 1s ease forwards 0.4s;
}

.hero-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.6s;
}

.hero-cta-button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
  color: #fff;
}

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

/* Card Swap Container */
.card-swap-wrapper {
  position: relative;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-swap-container {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translate(5%, 20%);
  transform-origin: bottom right;
  perspective: 900px;
  overflow: visible;
}

.card {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
  transform-style: preserve-3d;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 102, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.card-description {
  font-size: 0.95rem;
  color: #a0a0a0;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .research-hero-section {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-text-container {
    text-align: center;
    max-width: 100%;
    margin-bottom: 60px;
  }

  .card-swap-wrapper {
    height: 500px;
  }

  .card-swap-container {
    position: relative;
    transform: translate(0, 0);
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .card-swap-container {
    transform: scale(0.75) translate(0, 0);
  }

  .card {
    padding: 30px;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .card-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .card-swap-container {
    transform: scale(0.6) translate(0, 0);
  }

  .research-hero-title {
    font-size: 2rem;
  }

  .research-hero-subtitle {
    font-size: 1rem;
  }
}


.research-hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  /* background: linear-gradient(135deg, #0066ff 0%, #000000 100%); */
  /* background: linear-gradient(135deg, #3388ff 0%, #0066ff 100%); */
  /* background: linear-gradient(180deg, #0066ff 0%, #001a4d 100%); */
  background: linear-gradient(135deg, #1a75ff 0%, #0033cc 50%, #000000 100%);
  /* background: linear-gradient(135deg, #3399ff 0%, #0052cc 100%); */
  overflow: hidden;
}

.research-hero-section > .container {
  position: relative;
  z-index: 2;
}

.research-hero-section .glow-effect {
  position: absolute;
  z-index: 1;
}
/* Gradient Background for Hero Section */
.research-hero-section {
  position: relative;
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.15) 0%,
    rgba(139, 92, 246, 0.15) 25%,
    rgba(236, 72, 153, 0.15) 50%,
    rgba(59, 130, 246, 0.15) 75%,
    rgba(99, 102, 241, 0.15) 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  overflow: hidden;
}

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

/* Enhance with additional glow layers */
.research-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, 
    rgba(37, 65, 177, 0.576) 0%,
    transparent 70%);
  pointer-events: none;
}

















/* ========================================
   RESEARCH HERO SECTION - FULLY RESPONSIVE
   ======================================== */

.research-hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px 20px;
  background: linear-gradient(135deg, #1a75ff 0%, #0033cc 50%, #000000 100%);
  overflow: hidden;
}

.research-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, 
    rgba(37, 65, 177, 0.576) 0%,
    transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.research-hero-section > .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* ========================================
   GLOW EFFECTS
   ======================================== */
.glow-effect {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.glow-hero-1 {
  width: 700px;
  height: 700px;
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.3) 0%, transparent 60%);
  filter: blur(120px);
  opacity: 0.6;
  animation: float 8s ease-in-out infinite;
}

.glow-hero-2 {
  width: 600px;
  height: 600px;
  bottom: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(51, 136, 255, 0.25) 0%, transparent 60%);
  filter: blur(100px);
  opacity: 0.5;
  animation: float 10s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -30px); }
  66% { transform: translate(-30px, 30px); }
}

/* ========================================
   HERO CONTENT
   ======================================== */
.hero-content-wrapper {
  position: relative;
  z-index: 2;
}

.hero-text-container {
  max-width: 650px;
}

.research-hero-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -1px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.2s;
  word-wrap: break-word;
}

.research-hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0;
  text-align: left;
  animation: fadeUp 1s ease forwards 0.4s;
}

.hero-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.6s;
  white-space: nowrap;
}

.hero-cta-button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
  color: #fff;
}

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

/* ========================================
   CARD SWAP ANIMATION
   ======================================== */
.card-swap-wrapper {
  position: relative;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-swap-container {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translate(5%, 20%);
  transform-origin: bottom right;
  perspective: 900px;
  overflow: visible;
  width: 320px;
  height: 400px;
}

.card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 400px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
  transform-style: preserve-3d;
  will-change: transform;
  backface-visibility: hidden;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 102, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
  line-height: 1.3;
}

.card-description {
  font-size: 0.95rem;
  color: #a0a0a0;
  line-height: 1.6;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Large Desktops (1920px+) */
@media (min-width: 1920px) {
  .research-hero-section {
    min-height: 100vh;
    padding: 140px 40px 100px 40px;
  }
  
  .research-hero-title {
    font-size: 4.5rem;
  }
  
  .research-hero-subtitle {
    font-size: 1.4rem;
  }
  
  .card-swap-container {
    width: 380px;
    height: 480px;
  }
  
  .card {
    width: 380px;
    height: 480px;
    padding: 50px;
  }
  
  .card-title {
    font-size: 1.7rem;
  }
  
  .card-description {
    font-size: 1.05rem;
  }
}

/* Desktop (1440px - 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
  .research-hero-section {
    min-height: 95vh;
    padding: 60px 40px 90px 40px;
  }
  
  .glow-hero-1 {
    width: 650px;
    height: 650px;
  }
  
  .glow-hero-2 {
    width: 550px;
    height: 550px;
  }
}

/* Standard Desktop (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
  .research-hero-section {
    min-height: 90vh;
    padding: 120px 30px 80px 30px;
  }
  
  .research-hero-title {
    font-size: 3.5rem;
  }
  
  .research-hero-subtitle {
    font-size: 1.15rem;
  }
  
  .card-swap-wrapper {
    height: 600px;
  }
  
  .card-swap-container {
    width: 300px;
    height: 380px;
  }
  
  .card {
    width: 300px;
    height: 380px;
    padding: 35px;
  }
  
  .glow-hero-1 {
    width: 600px;
    height: 600px;
    top: -120px;
    right: -80px;
  }
  
  .glow-hero-2 {
    width: 500px;
    height: 500px;
    bottom: -80px;
    left: -80px;
  }
}

/* Small Desktop / Large Tablet Landscape (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .research-hero-section {
    min-height: 85vh;
    padding: 110px 25px 70px 25px;
  }
  
  .research-hero-title {
    font-size: 3rem;
  }
  
  .research-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-cta-button {
    padding: 14px 28px;
    font-size: 1rem;
  }
  
  .card-swap-wrapper {
    height: 550px;
  }
  
  .card-swap-container {
    width: 280px;
    height: 360px;
  }
  
  .card {
    width: 280px;
    height: 360px;
    padding: 30px;
  }
  
  .card-icon {
    width: 55px;
    height: 55px;
    font-size: 24px;
  }
  
  .card-title {
    font-size: 1.3rem;
  }
  
  .card-description {
    font-size: 0.9rem;
  }
  
  .glow-hero-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    right: -60px;
    filter: blur(100px);
  }
  
  .glow-hero-2 {
    width: 450px;
    height: 450px;
    bottom: -70px;
    left: -70px;
    filter: blur(90px);
  }
}

/* Tablet Portrait & Below (< 992px) */
@media (max-width: 991px) {
  .research-hero-section {
    min-height: auto;
    padding: 100px 20px 60px 20px;
  }
  
  .hero-content-wrapper .row {
    flex-direction: column;
  }
  
  .hero-text-container {
    text-align: center;
    max-width: 100%;
    margin-bottom: 60px;
  }
  
  .research-hero-title {
    font-size: 2.5rem;
    text-align: center;
    padding-top: 2rem;
  }
  
  .research-hero-subtitle {
    text-align: center;
  }
  
  .hero-cta-button {
    margin: 0 auto;
  }
  
  .card-swap-wrapper {
    height: 500px;
    margin-top: 40px;
  }
  
  .card-swap-container {
    position: relative;
    transform: translate(0, 0);
    margin: 0 auto;
    width: 280px;
    height: 350px;
  }
  
  .card {
    width: 280px;
    height: 350px;
    padding: 30px;
  }
  
  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
  
  .card-title {
    font-size: 1.25rem;
  }
  
  .card-description {
    font-size: 0.9rem;
  }
  
  .glow-hero-1 {
    width: 450px;
    height: 450px;
    top: -80px;
    right: -50px;
    filter: blur(90px);
    opacity: 0.5;
  }
  
  .glow-hero-2 {
    width: 400px;
    height: 400px;
    bottom: -60px;
    left: -60px;
    filter: blur(80px);
    opacity: 0.4;
  }
}

/* Tablet Portrait (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .research-hero-title {
    font-size: 2.8rem;
    padding-top: 1.5rem;
  }
  
  .research-hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .card-swap-container {
    width: 300px;
    height: 370px;
  }
  
  .card {
    width: 300px;
    height: 370px;
    padding: 32px;
  }
}

/* Mobile Landscape / Small Tablet (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .research-hero-section {
    min-height: auto;
    padding: 90px 20px 50px 20px;
  }
  
  .research-hero-title {
    font-size: 2.2rem;
    padding-top: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .research-hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.7;
  }
  
  .hero-cta-button {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
  
  .card-swap-wrapper {
    height: 450px;
  }
  
  .card-swap-container {
    transform: scale(0.85);
    width: 260px;
    height: 330px;
  }
  
  .card {
    width: 260px;
    height: 330px;
    padding: 28px;
  }
  
  .card-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
  
  .card-title {
    font-size: 1.2rem;
  }
  
  .card-description {
    font-size: 0.85rem;
  }
  
  .glow-hero-1 {
    width: 350px;
    height: 350px;
    top: -60px;
    right: -40px;
    filter: blur(70px);
    opacity: 0.4;
  }
  
  .glow-hero-2 {
    width: 320px;
    height: 320px;
    bottom: -50px;
    left: -50px;
    filter: blur(60px);
    opacity: 0.3;
  }
}

/* Mobile Portrait (320px - 575px) */
@media (max-width: 575px) {
  .research-hero-section {
    min-height: auto;
    padding: 80px 15px 40px 15px;
  }
  
  .research-hero-title {
    font-size: 1.8rem;
    padding-top: 0.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
  }
  
  .research-hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.8rem;
    line-height: 1.6;
  }
  
  .hero-cta-button {
    padding: 12px 20px;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }
  
  .card-swap-wrapper {
    height: 400px;
    margin-top: 30px;
  }
  
  .card-swap-container {
    transform: scale(0.75);
    width: 240px;
    height: 310px;
  }
  
  .card {
    width: 240px;
    height: 310px;
    padding: 25px;
  }
  
  .card-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .card-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  .card-description {
    font-size: 0.8rem;
    line-height: 1.5;
  }
  
  .glow-hero-1 {
    width: 280px;
    height: 280px;
    top: -40px;
    right: -30px;
    filter: blur(50px);
    opacity: 0.35;
  }
  
  .glow-hero-2 {
    width: 250px;
    height: 250px;
    bottom: -40px;
    left: -40px;
    filter: blur(45px);
    opacity: 0.25;
  }
}

/* Extra Small Mobile (< 375px) */
@media (max-width: 374px) {
  .research-hero-section {
    min-height: auto;
    padding: 70px 12px 35px 12px;
  }
  
  .research-hero-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  
  .research-hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-cta-button {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
  
  .card-swap-wrapper {
    height: 350px;
  }
  
  .card-swap-container {
    transform: scale(0.65);
    width: 220px;
    height: 290px;
  }
  
  .card {
    width: 220px;
    height: 290px;
    padding: 22px;
  }
  
  .card-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .card-title {
    font-size: 1rem;
  }
  
  .card-description {
    font-size: 0.75rem;
  }
  
  .glow-hero-1,
  .glow-hero-2 {
    display: none;
  }
}

/* Landscape Mode Adjustments for Mobile */
@media (max-height: 600px) and (orientation: landscape) {
  .research-hero-section {
    min-height: auto;
    padding: 60px 20px 40px 20px;
  }
  
  .research-hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    padding-top: 0;
  }
  
  .research-hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-cta-button {
    padding: 10px 20px;
  }
  
  .card-swap-wrapper {
    height: 350px;
  }
  
  .card-swap-container {
    transform: scale(0.7);
  }
}

/* Ultra-wide Screens (2560px+) */
@media (min-width: 2560px) {
  .research-hero-section {
    padding: 160px 60px 120px 60px;
  }
  
  .research-hero-title {
    font-size: 5rem;
  }
  
  .research-hero-subtitle {
    font-size: 1.5rem;
  }
  
  .hero-cta-button {
    padding: 18px 36px;
    font-size: 1.15rem;
  }
  
  .card-swap-container {
    width: 420px;
    height: 520px;
  }
  
  .card {
    width: 420px;
    height: 520px;
    padding: 55px;
  }
  
  .card-icon {
    width: 70px;
    height: 70px;
    font-size: 32px;
  }
  
  .card-title {
    font-size: 1.8rem;
  }
  
  .card-description {
    font-size: 1.1rem;
  }
  
  .glow-hero-1 {
    width: 800px;
    height: 800px;
  }
  
  .glow-hero-2 {
    width: 700px;
    height: 700px;
  }
}

/* ========================================
   ACCESSIBILITY & PERFORMANCE
   ======================================== */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .glow-hero-1,
  .glow-hero-2 {
    animation: none !important;
  }
  
  .research-hero-section::before {
    animation: none !important;
  }
  
  .research-hero-title,
  .research-hero-subtitle,
  .hero-cta-button {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .research-hero-title,
  .research-hero-subtitle {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  }
  
  .hero-cta-button {
    border-width: 2px;
  }
  
  .card {
    border-width: 2px;
  }
}

/* Print styles */
@media print {
  .research-hero-section {
    min-height: auto;
    padding: 40px 20px;
    background: white;
    color: black;
  }
  
  .glow-hero-1,
  .glow-hero-2,
  .research-hero-section::before {
    display: none;
  }
  
  .card-swap-wrapper {
    display: none;
  }
}