/* ============================================
   ResearchHub - Style
   Modern, responsive, animated research theme
   ============================================ */

:root {
  --primary: #6a11cb;
  --primary-dark: #2575fc;
  --secondary: #ff7a00;
  --accent: #00d2ff;
  --dark: #0f0c29;
  --dark-2: #1b1b3a;
  --gradient: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  --gradient-hot: linear-gradient(135deg, #ff512f 0%, #f09819 100%);
  --text-light: #ffffff;
  --text-muted: #b3b3cc;
  --bg-soft: #f5f7ff;
  --shadow: 0 15px 40px rgba(37, 117, 252, 0.15);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

a {
  text-decoration: none;
}

/* ---------------- Gradient & buttons ---------------- */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.btn-gradient {
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all .4s ease;
  z-index: 1;
}

.btn-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-hot);
  border-radius: 50px;
  opacity: 0;
  z-index: -1;
  transition: opacity .4s ease;
}

.btn-gradient:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 81, 47, 0.4);
}

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

.btn-outline-light {
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  transition: all .4s ease;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-3px);
}

/* ---------------- Navbar ---------------- */
.navbar {
  transition: all .4s ease;
  padding: 18px 0;
}

.navbar-glass {
  background: transparent;
}

.navbar.scrolled {
  background: rgba(15, 12, 41, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 5px 30px rgba(0,0,0,0.3);
  padding: 10px 0;
}

.navbar-brand .brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  margin-right: 10px;
  box-shadow: 0 5px 15px rgba(106,17,203,0.4);
  animation: float 3s ease-in-out infinite;
}

.brand-text {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  padding-top: 4px;
}

.brand-highlight {
  background: var(--gradient-hot);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar .nav-link {
  color: #e0e0f0;
  font-weight: 500;
  margin: 0 8px;
  position: relative;
  transition: color .3s ease;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--gradient-hot);
  border-radius: 5px;
  transition: width .3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #fff;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: calc(100% - 16px);
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.5);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

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

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106,17,203,0.4), transparent 60%);
  animation: pulse 6s ease-in-out infinite;
}

#particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(5px);
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.hero-badge i {
  color: var(--secondary);
}

.hero-title {
  font-size: 3.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease .1s both;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease .2s both;
}

.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease .3s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  animation: fadeInUp 1s ease .4s both;
}

.stat {
  text-align: center;
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-hot);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.stat-label {
  color: var(--text-muted);
  font-size: .95rem;
}

.hero-visual {
  position: relative;
  animation: float 5s ease-in-out infinite;
}

.hero-img {
  width: 100%;
  border-radius: 25px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  border: 3px solid rgba(255,255,255,0.2);
}

.float-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  border-radius: 15px;
  padding: 12px 18px;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.float-card i {
  color: var(--primary);
  font-size: 20px;
}

.float-card strong {
  color: var(--primary);
}

.float-card-1 {
  top: -15px;
  left: -20px;
  animation: float 4s ease-in-out infinite;
}

.float-card-2 {
  bottom: 20px;
  right: -20px;
  animation: float 5s ease-in-out infinite .5s;
}

/* ---------------- Sections ---------------- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-soft);
}

.section-tag {
  display: inline-block;
  background: rgba(106,17,203,0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.section-desc {
  color: #666;
  font-size: 1rem;
  margin-bottom: 20px;
}

/* ---------------- About ---------------- */
.about-media {
  position: relative;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 22px;
  box-shadow: 0 25px 60px rgba(37, 117, 252, 0.18);
  width: 100%;
}

.about-image::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -18px;
  width: 130px;
  height: 130px;
  border-radius: 22px;
  background: rgba(106, 17, 203, 0.08);
  z-index: -1;
}

.about-image::after {
  content: "";
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 3px dashed rgba(37, 117, 252, 0.25);
  z-index: -1;
}

.experience-badge {
  position: absolute;
  bottom: -22px;
  right: -14px;
  background: var(--gradient);
  color: #fff;
  border-radius: 18px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}

.exp-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.exp-text {
  font-size: .85rem;
  line-height: 1.35;
}

.about-chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(106, 17, 203, 0.1);
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--dark);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.about-chip i {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.chip-1 {
  top: 30px;
  left: -30px;
  animation: float 4s ease-in-out infinite;
}

.chip-2 {
  bottom: 70px;
  left: -30px;
  animation: float 5s ease-in-out infinite .6s;
}

.about-heading {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 18px;
}

.about-lead {
  font-size: 1.02rem;
  color: var(--dark);
  line-height: 1.75;
  margin-bottom: 12px;
}

.about-sub {
  color: #666;
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 22px;
}

.mission-callout {
  background: linear-gradient(135deg, #0f0c29, #302b63);
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.mission-callout::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.mission-callout i {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--gradient-hot);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.mission-callout span {
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.mission-callout p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 0;
}

.feature-item {
  background: #fff;
  border-radius: 15px;
  padding: 18px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  display: flex;
  gap: 14px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  border: 1px solid rgba(106, 17, 203, 0.06);
  border-left: 4px solid var(--primary);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-left-color: var(--secondary);
}

.feature-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  box-shadow: 0 6px 16px rgba(106, 17, 203, 0.25);
}

.feature-item h5 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: .83rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* ---------------- Project Cards ---------------- */
.project-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  transition: transform .4s ease, box-shadow .4s ease;
  height: 100%;
}

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

.project-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}

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

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

.project-cat {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gradient-hot);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
}

.project-body {
  padding: 20px;
}

.project-body h5 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.project-body p {
  font-size: .88rem;
  color: #666;
  margin-bottom: 15px;
}

.progress-text {
  font-size: .8rem;
  color: var(--primary);
  font-weight: 600;
}

.progress {
  height: 7px;
  border-radius: 50px;
  background: #eee;
  margin: 8px 0 15px;
}

.progress-bar {
  background: var(--gradient);
  border-radius: 50px;
}

.project-footer a {
  color: var(--primary);
  font-weight: 600;
  font-size: .9rem;
}

/* ---------------- Publications ---------------- */
.pub-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pub-item {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.pub-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow);
}

.pub-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 12px;
  background: rgba(106,17,203,0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.pub-info {
  flex: 1;
}

.pub-info h5 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.pub-meta {
  font-size: .82rem;
  color: #888;
  margin: 0;
}

.pub-meta i {
  margin-right: 3px;
  color: var(--primary);
}

.pub-badge {
  background: var(--gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
  white-space: nowrap;
}

.newsletter-card {
  background: linear-gradient(135deg, #0f0c29, #302b63);
  border-radius: 20px;
  padding: 35px;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}

.nw-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: var(--gradient-hot);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
}

.newsletter-card h4 {
  margin-bottom: 10px;
}

.newsletter-card p {
  color: var(--text-muted);
  font-size: .9rem;
}

.newsletter-card .form-control {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 10px;
  padding: 12px;
}

.newsletter-card .form-control::placeholder {
  color: #aaa;
}

.newsletter-card .form-control:focus {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: var(--primary);
  box-shadow: none;
}

/* ---------------- Team ---------------- */
.team-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform .4s ease, box-shadow .4s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(106,17,203,0.2);
}

.team-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

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

.team-card h5 {
  font-size: 1.05rem;
  margin: 15px 0 5px;
}

.team-card > span {
  color: var(--primary);
  font-size: .85rem;
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.team-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(106,17,203,0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}

.team-social a:hover {
  background: var(--gradient);
  color: #fff;
  transform: translateY(-3px);
}

/* ---------------- Contact ---------------- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 25px;
}

.ci-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ci-item i {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.ci-item div {
  display: flex;
  flex-direction: column;
}

.ci-item strong {
  font-size: 1rem;
}

.ci-item span {
  color: #666;
  font-size: .9rem;
}

.contact-form {
  background: #fff;
  border-radius: 20px;
  padding: 35px;
  box-shadow: var(--shadow);
}

.contact-form .form-control,
.newsletter-card .form-control {
  border-radius: 10px;
  padding: 12px;
  border: 1px solid #ddd;
}

.contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(106,17,203,0.1);
}

/* ---------------- Footer ---------------- */
.footer {
  background: var(--dark);
  color: #ccc;
  position: relative;
  padding-top: 60px;
}

.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  color: var(--dark);
  line-height: 0;
}

.footer-wave svg {
  width: 100%;
  
}

.footer .brand-text {
  color: #fff;
}

.footer-desc {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

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

.footer-social a:hover {
  background: var(--gradient-hot);
  transform: translateY(-3px);
}

.footer-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  border-radius: 5px;
  background: var(--gradient-hot);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: .9rem;
  transition: all .3s ease;
}

.footer-links a i {
  font-size: .7rem;
  margin-right: 5px;
  color: var(--primary);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-newsletter .form-control {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 10px 0 0 10px;
}

.footer-newsletter .form-control::placeholder {
  color: #999;
}

.footer-newsletter .btn {
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  margin-top: 40px;
  font-size: .85rem;
}

.footer-bottom span {
  color: var(--text-muted);
}

.footer-legal a {
  color: var(--text-muted);
  transition: color .3s ease;
}

.footer-legal a:hover {
  color: #fff;
}

.footer-legal .dot {
  margin: 0 8px;
  color: var(--primary);
}

/* ---------------- Back to top ---------------- */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  border: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .4s ease;
  box-shadow: 0 10px 25px rgba(106,17,203,0.4);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* ---------------- Stat Cards ---------------- */
.stat-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  transition: transform .4s ease, box-shadow .4s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(106,17,203,0.08);
  transition: transform .4s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(106,17,203,0.2);
}

.stat-card:hover::before {
  transform: scale(1.5);
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  border-radius: 16px;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(106,17,203,0.3);
}

.stat-card h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 5px;
}

.stat-card h3 .stat-num {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card p {
  color: #666;
  font-size: .9rem;
  font-weight: 500;
  margin: 0;
}

/* ---------------- Indicator Cards ---------------- */
.indicator-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  display: block;
  height: 100%;
  transition: transform .4s ease, box-shadow .4s ease;
  position: relative;
  overflow: hidden;
}

.indicator-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: var(--gradient-hot);
  transition: width .4s ease;
}

.indicator-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(106,17,203,0.2);
}

.indicator-card:hover::after {
  width: 100%;
}

.ind-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: rgba(106,17,203,0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all .4s ease;
}

.indicator-card:hover .ind-icon {
  background: var(--gradient);
  color: #fff;
  transform: rotateY(360deg);
}

.indicator-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
}

.indicator-card span {
  color: #888;
  font-size: .85rem;
}

/* ---------------- Incentive Cards ---------------- */
.incentive-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  display: block;
  text-align: center;
  height: 100%;
  transition: transform .4s ease, box-shadow .4s ease;
  position: relative;
}

.incentive-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(106,17,203,0.2);
}

.inc-img {
  background: linear-gradient(135deg, #f0e6ff, #e6f0ff);
  padding: 30px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inc-img img {
  max-height: 120px;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.2));
  transition: transform .4s ease;
}

.inc-img i {
  font-size: 66px;
  line-height: 1;
  color: var(--gradient);
  transition: transform .4s ease;
}

.inc-img i::before {
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.incentive-card:hover .inc-img i {
  transform: scale(1.1) rotate(-3deg);
}

.incentive-card:hover .inc-img img {
  transform: scale(1.1) rotate(-3deg);
}

.incentive-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin: 15px 0 5px;
}

.incentive-card span {
  color: #777;
  font-size: .85rem;
  display: block;
  padding-bottom: 25px;
}

.inc-arrow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--gradient);
  color: #fff;
  padding: 12px;
  text-align: center;
  transform: translateY(100%);
  transition: transform .4s ease;
}

.incentive-card:hover .inc-arrow {
  transform: translateY(0);
}

/* ---------------- Grant Cards ---------------- */
.grant-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  border: 1px solid rgba(106,17,203,0.08);
  display: block;
  height: 100%;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
  position: relative;
}

.grant-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
  z-index: 2;
}

.grant-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 50px rgba(106,17,203,0.22);
  border-color: rgba(106,17,203,0.15);
}

.grant-card:hover::before {
  transform: scaleX(1);
}

.grant-img {
  position: relative;
  height: 150px;
  background: linear-gradient(135deg, #f0e6ff 0%, #e6f0ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.grant-card:hover .grant-img {
  background: linear-gradient(135deg, #e8d9ff 0%, #d9e8ff 100%);
}

.grant-img::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  right: -60px;
  bottom: -70px;
  border-radius: 50%;
  border: 2px dashed rgba(106,17,203,0.18);
  transition: transform .6s ease;
}

.grant-card:hover .grant-img::after {
  transform: scale(1.2) rotate(20deg);
}

.grant-icon {
  width: 86px;
  height: 86px;
  border-radius: 24px;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 12px 28px rgba(106,17,203,0.35);
  transition: transform .4s ease, border-radius .4s ease, box-shadow .4s ease;
  position: relative;
  z-index: 1;
}

.grant-card:hover .grant-icon {
  transform: translateY(-6px) scale(1.06) rotate(-4deg);
  border-radius: 50%;
  box-shadow: 0 18px 38px rgba(106,17,203,0.45);
}

.grant-online .grant-icon {
  background: var(--gradient-hot);
  box-shadow: 0 12px 28px rgba(255,81,47,0.32);
}

.grant-online:hover .grant-icon {
  box-shadow: 0 18px 38px rgba(255,81,47,0.42);
}

.grant-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(255,255,255,0.9);
  color: var(--primary);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(106,17,203,0.15);
  backdrop-filter: blur(4px);
}

.grant-card:hover .grant-badge {
  color: #fff;
  background: var(--gradient);
}

.grant-body {
  padding: 20px 18px 22px;
  text-align: center;
}

.grant-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.grant-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: .85rem;
  background: rgba(106,17,203,0.08);
  padding: 8px 18px;
  border-radius: 30px;
  transition: all .3s ease;
}

.grant-more i {
  transition: transform .3s ease;
}

.grant-card:hover .grant-more {
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 8px 20px rgba(106,17,203,0.35);
}

.grant-card:hover .grant-more i {
  transform: translateX(4px);
}

.grant-online:hover .grant-more {
  background: var(--gradient-hot);
  box-shadow: 0 8px 20px rgba(255,81,47,0.35);
}

/* ---------------- Hero Slider ---------------- */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideFade 18s infinite;
}

.hero-slider .slide:nth-child(1) { animation-delay: 0s; }
.hero-slider .slide:nth-child(2) { animation-delay: 6s; }
.hero-slider .slide:nth-child(3) { animation-delay: 12s; }

@keyframes slideFade {
  0% { opacity: 0; }
  8% { opacity: 1; }
  33% { opacity: 1; }
  41% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(15,12,41,0.9), rgba(48,43,99,0.85));
}

/* ---------------- Brand Logo ---------------- */
.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-right: 10px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
  background: #fff;
  border-radius: 8px;
  padding: 3px;
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.1); opacity: 1; }
}

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

/* ---------------- Responsive ---------------- */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .navbar-collapse {
    background: rgba(15, 12, 41, 0.97);
    border-radius: 15px;
    padding: 15px 20px;
    margin-top: 10px;
  }

  .navbar .nav-link {
    padding: 10px 0;
  }

  .experience-badge {
    right: 10px;
  }

  .chip-1,
  .chip-2 {
    left: 10px;
  }

  .newsletter-card {
    position: static;
  }
}

@media (max-width: 767px) {
  .about-chip {
    font-size: .78rem;
    padding: 8px 12px;
  }

  .about-chip i {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 13px;
  }

  .about-heading {
    font-size: 1.5rem;
  }

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

  .hero {
    padding: 100px 0 50px;
  }

  .hero-stats {
    gap: 25px;
  }

  .section {
    padding: 70px 0;
  }

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

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .experience-badge {
    padding: 12px 18px;
    bottom: -15px;
  }

  .exp-num {
    font-size: 1.8rem;
  }

  .pub-item {
    flex-wrap: wrap;
  }

  .pub-badge {
    margin-left: 68px;
  }

  .contact-form {
    padding: 25px;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .brand-text {
    font-size: 19px;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}
