/*
====================================================
WEBSITE      : ScientificBioMinds
PURPOSE      : Bioinformatics Research, Training & Consultancy
FRAMEWORK    : Bootstrap 4
CUSTOMIZED   : Navigation, Branding, Typography, Academic UI
====================================================
*/

/* ===============================
   BRAND VARIABLES
================================ */
:root {
  --sbm-primary: #2e7eed;
  --sbm-dark: #1a1b1f;
  --sbm-gray: #fafafa;
  --sbm-text: #333333;
}

/* ===============================
   GLOBAL TYPOGRAPHY
================================ */
body {
  font-family: "Open Sans", sans-serif;
  color: var(--sbm-text);
}

h1, h2 {
  font-weight: 600;
  color: #000;
}

h3, h4, h5, h6 {
  font-weight: 500;
  color: #000;
}

p {
  font-size: 16px;
  line-height: 26px;
}

/* ===============================
   TOP HEADER BAR
================================ */
.top-header {
  background: #1b1a1f;
  color: #ffffff;
  font-size: 13px;
  padding: 8px 0;
}

.top-header .top-link {
  color: #ffffff;
  font-weight: 600;
  margin-right: 10px;
}

.top-header .top-link:hover {
  color: var(--sbm-primary);
}

.top-header .separator {
  margin: 0 8px;
  color: #777;
}

/* Social Icons */
.top-header .social-icon {
  display: inline-block;
  margin-left: 10px;
  font-size: 16px;
  color: #ffffff;
  transition: 0.3s;
}

.top-header .social-icon:hover {
  color: var(--sbm-primary);
}

/* WhatsApp specific */
.top-header .whatsapp:hover {
  color: #25D366;
}

/* LinkedIn specific */
.top-header .linkedin:hover {
  color: #0A66C2;
}
/* ===============================
   TOP HEADER BAR
================================ */
.top-header {
  background: #01125a;
  color: #ffffff;
  font-size: 13px;
  padding: 8px 0;
}

.top-header .top-link {
  color: #ffffff;
  font-weight: 600;
  margin-right: 10px;
}

.top-header .top-link:hover {
  color: var(--sbm-primary);
}

.top-header .separator {
  margin: 0 8px;
  color: #777;
}
.text-justify {
  text-align: justify;
}
/* Social Icons */
.top-header .social-icon {
  display: inline-block;
  margin-left: 12px;
  font-size: 16px;
  color: #ffffff;
  transition: 0.3s ease;
}

/* WhatsApp Hover */
.top-header .social-icon.whatsapp:hover {
  color: #25D366;
}

/* LinkedIn Hover */
.top-header .social-icon.linkedin:hover {
  color: #0A66C2;
}

/* ===============================
   NAVBAR – ScientificBioMinds
================================ */
.main-nav {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.main-nav .navbar-nav .nav-link {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: #000;
}

.main-nav .navbar-nav .nav-link:hover,
.main-nav .navbar-nav .nav-item.active .nav-link {
  color: var(--sbm-primary);
}

/* Active underline (desktop only) */
@media (min-width: 992px) {
  .main-nav .navbar-nav .nav-item.active .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 60%;
    height: 2px;
    background: var(--sbm-primary);
  }
}

/* ===============================
   DROPDOWN – FIX & REFINEMENT
================================ */
.main-nav .dropdown-menu {
  border: none;
  border-radius: 6px;
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.main-nav .dropdown-menu .dropdown-item {
  font-size: 13px;
  padding: 8px 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.main-nav .dropdown-menu .dropdown-item:hover,
.main-nav .dropdown-menu .dropdown-item:focus {
  background: transparent;
  color: var(--sbm-primary);
}

/* Desktop hover dropdown */
@media (min-width: 992px) {
  .main-nav .dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* ===============================
   BUTTONS – ACADEMIC STYLE
================================ */
.btn {
  text-transform: none;
  font-weight: 600;
}

.btn-primary,
.btn-main,
.btn-main-md,
.btn-main-sm {
  background: var(--sbm-primary);
  border-color: var(--sbm-primary);
  color: #fff;
}

.btn-primary:hover,
.btn-main:hover {
  background: #1f66d1;
  border-color: #1f66d1;
}

/* ===============================
   SECTION SPACING
================================ */
.section {
  padding: 90px 0;
}

.section-title h2 {
  font-size: 34px;
}

.section-title p {
  font-size: 16px;
}

/* ===============================
   FOOTER – ScientificBioMinds
================================ */
.footer-main {
  background: var(--sbm-dark);
}

.footer-main h6 {
  color: #ffffff;
  font-weight: 600;
}

.footer-main a {
  color: #bdbdbd;
}

.footer-main a:hover {
  color: #ffffff;
}

/* ===============================
   SCROLL TO TOP
================================ */
.scroll-top-to {
  background: var(--sbm-primary);
}

.scroll-top-to:hover {
  background: #1f66d1;
}
/* ===============================
   DNA ANIMATION – NAVBAR
================================ */
.dna-container {
  display: flex;
  gap: 4px;
  margin-right: 15px;
}

.dna-container span {
  width: 4px;
  height: 18px;
  background: var(--sbm-primary);
  border-radius: 10px;
  animation: dnaWave 1.6s infinite ease-in-out;
  opacity: 0.3;
}

.dna-container span:nth-child(odd) {
  animation-delay: 0.2s;
}
.dna-container span:nth-child(even) {
  animation-delay: 0.4s;
}

@keyframes dnaWave {
  0% {
    transform: scaleY(0.5);
    opacity: 0.3;
  }
  50% {
    transform: scaleY(1.6);
    opacity: 1;
  }
  100% {
    transform: scaleY(0.5);
    opacity: 0.3;
  }
}
/* ===============================
   REAL DNA HELIX (SVG)
================================ */

.dna-helix {
  margin-right: 15px;
}

.dna-strand {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: strandMove 3s linear infinite;
}

.strand-2 {
  animation-delay: 1.5s;
}

/* DNA base pairs */
.dna-rung {
  stroke: var(--sbm-primary);
  stroke-width: 1.5;
  opacity: 0.4;
  animation: rungPulse 1.5s ease-in-out infinite;
}

.dna-rung:nth-child(1) { animation-delay: 0s; }
.dna-rung:nth-child(2) { animation-delay: 0.5s; }
.dna-rung:nth-child(3) { animation-delay: 1s; }

@keyframes strandMove {
  0% {
    stroke-dashoffset: 200;
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.4;
  }
}

@keyframes rungPulse {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}
.dna-student-research {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  color: #f5f3f3;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .dna-student-research {
    max-width: 300px;
  }
}
/* ===============================
   PROGRAMS SECTION
================================ */
.programs-section {
  padding: 90px 0;
  background: #ffffff;
}

.section-header .section-tag {
  display: inline-block;
  color: #2e7eed;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1a1b1f;
  margin-bottom: 15px;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto 50px;
  color: #555;
  font-size: 16px;
  line-height: 26px;
}

/* Card */
.program-card {
  display: block;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
}

.program-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.program-card:hover img {
  transform: scale(1.08);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(46,126,237,0.25);
}

.program-content {
  padding: 22px;
}

.program-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1b1f;
  margin-bottom: 8px;
}

.program-content p {
  font-size: 14px;
  color: #666;
  line-height: 22px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 28px;
  }
  .program-card img {
    height: 170px;
  }
}
/* ===============================
   EVENTS SECTION
================================ */
.events-section {
  padding: 90px 0;
  background: #fafafa;
}

.events-slider {
  margin-top: 50px;
}

/* Event Card */
.event-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  margin: 15px;
  position: relative;
  min-height: 220px;
}

.event-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1b1f;
  margin-bottom: 10px;
}

.event-card p {
  font-size: 14px;
  color: #555;
  line-height: 22px;
}

.event-date {
  display: block;
  margin-top: 15px;
  font-size: 13px;
  font-weight: 600;
  color: #777;
}

/* Badges */
.event-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  color: #fff;
  text-transform: uppercase;
}

.event-badge.current {
  background: #2e7eed;
}

.event-badge.upcoming {
  background: #28a745;
}

.event-badge.past {
  background: #6c757d;
}
/* Mobile Optimization */
/* Floating Button */
.floating-events-btn {
  position: fixed;
  right: 20px;
  bottom: 90px;
  background: #2e7eed;
  color: #fff;
  padding: 14px 18px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(46,126,237,0.35);
}

/* Floating Window */
.floating-events-window {
  position: fixed;
  right: 20px;
  bottom: 150px;
  width: 320px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  z-index: 9999;
}

/* Header */
.floating-header {
  background: #2e7eed;
  color: #fff;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px 10px 0 0;
}

.floating-header h3 {
  margin: 0;
  font-size: 18px;
}

.close-btn {
  cursor: pointer;
  font-size: 22px;
}

/* Content */
.floating-content {
  padding: 15px;
  max-height: 380px;
  overflow-y: auto;
}

/* Event Box */
.event-box {
  border-left: 4px solid;
  padding: 12px 12px 12px 15px;
  margin-bottom: 15px;
  background: #fafafa;
  border-radius: 6px;
}

.event-box h4 {
  font-size: 15px;
  margin-bottom: 6px;
}

.event-box p {
  font-size: 13px;
  color: #555;
}

.event-box small {
  font-weight: 600;
  color: #777;
}

/* Badges */
.badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 12px;
  color: #fff;
  display: inline-block;
  margin-bottom: 6px;
}

.current { border-color: #2e7eed; }
.upcoming { border-color: #28a745; }
.past { border-color: #6c757d; }

.badge.current { background: #2e7eed; }
.badge.upcoming { background: #28a745; }
.badge.past { background: #6c757d; }

/* Mobile */
@media (max-width: 576px) {
  .floating-events-window {
    width: 90%;
    right: 5%;
  }
}
/* Floating Button */
.floating-events-btn {
  position: fixed;
  right: 20px;
  bottom: 90px;
  background: #2e7eed;
  color: #fff;
  padding: 14px 18px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  z-index: 9999;
  transition: transform 0.3s;
}

/* Floating Window */
.floating-events-window {
  position: fixed;
  right: 20px;
  bottom: 150px;
  width: 340px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  z-index: 9999;
}

/* Header */
.floating-header {
  background: #2e7eed;
  color: #fff;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px 10px 0 0;
}

.close-btn {
  cursor: pointer;
  font-size: 22px;
}

/* Content */
.floating-content {
  padding: 15px;
  max-height: 400px;
  overflow-y: auto;
}

/* Event Box */
.event-box {
  background: #fafafa;
  padding: 14px;
  border-radius: 6px;
  border-left: 4px solid;
  margin-bottom: 15px;
}

/* Auto-highlight current */
.event-box.highlight {
  background: #eaf1ff;
  box-shadow: 0 0 0 2px rgba(46,126,237,0.2);
}

/* Event Text */
.event-box h4 {
  font-size: 15px;
  margin-bottom: 6px;
}

.event-box p {
  font-size: 13px;
  color: #555;
}

.event-box small {
  font-weight: 600;
  color: #777;
}

/* Status */
.current { border-color: #2e7eed; }
.upcoming { border-color: #28a745; }
.past { border-color: #6c757d; }

.badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 12px;
  color: #fff;
  display: inline-block;
  margin-bottom: 6px;
}

.badge.current { background: #2e7eed; }
.badge.upcoming { background: #28a745; }
.badge.past { background: #6c757d; }

/* Register Button */
.btn-register {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  background: #2e7eed;
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  text-decoration: none;
}

.btn-register:hover {
  background: #1f5fd4;
}

/* WhatsApp Join */
.whatsapp-join {
  text-align: center;
  margin-top: 10px;
}

.whatsapp-join a {
  color: #25D366;
  font-weight: 600;
  text-decoration: none;
}

/* Mobile */
@media (max-width: 576px) {
  .floating-events-window {
    width: 90%;
    right: 5%;
  }
}
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  z-index: 9999;
}

.vertical-marquee {
  background: #f8f8f8;
  color: #313030;
  padding: 12px;
  width: 100%;
}

.marquee-box {
  height: 250px;          /* Visible area height */
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: block;
  animation: marquee-up 12s linear infinite;
}

/* SPEED CONTROL */
/* Increase seconds = slower */
@keyframes marquee-up {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-100%);
  }
}

/* STOP ON MOUSE OVER */
.marquee-box:hover .marquee-content {
  animation-play-state: paused;
}

.marquee-content div {
  padding: 8px 0;
  font-weight: 600;
}
.mission-list {
  padding-left: 18px;
  margin-bottom: 0;
}

.mission-list li {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}

.mission-list {
  padding-left: 18px;
  margin-bottom: 0;
}

.mission-list li {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}
.mission-list li::marker {
  color: var(--sbm-primary);
  font-weight: bold;
}
.mission-list li:last-child {
  margin-bottom: 0;
}
.mission-list li::marker {
  color: var(--sbm-primary);
  font-weight: bold;
}
.mission-list li:last-child {
  margin-bottom: 0;
}
.mission-list li {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}
.mission-list li::marker {
  color: var(--sbm-primary);
  font-weight: bold;
}
.mission-list li:last-child {
  margin-bottom: 0;
}
.mission-list li {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}
.offer-box {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  max-width: 420px;
  margin: auto;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative; /* REQUIRED */
}

/* Statistics Section */
.stats-section {
  padding: 80px 0;
  background: #ffffff;
}

.stat-box {
  padding: 30px 20px;
  border-radius: 10px;
  background: #fafafa;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-6px);
}

.stat-box h2 {
  font-size: 42px;
  font-weight: 700;
  color: #2e7eed;
  margin-bottom: 10px;
}

.stat-box p {
  font-size: 16px;
  font-weight: 600;
  color: #1a1b1f;
}
/* Mobile Optimization */
@media (max-width: 768px) {
  .stat-box h2 {
    font-size: 32px;
  }
} 

/* =====================================
   Image Rounded Corner + Shadow (Global)
===================================== */

.img-rounded-shadow {
  border-radius: 16px; /* Smooth rounded corners */
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18); /* Soft professional shadow */
  transition: all 0.35s ease-in-out;
}

/* Hover effect for premium feel */
.img-rounded-shadow:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.25);
}

.service-box {
  border-radius: 14px;
  transition: all 0.3s ease-in-out;
  background: #fff;
}

.service-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.text-justify {
  text-align: justify;
}

/* Workshop Custom Styling */
.workshop-item {
  transition: all 0.3s ease-in-out;
}

.workshop-item .card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s;
}

.workshop-item .card:hover {
  transform: translateY(-8px);
}

.category-sidebar {
  border: 1px solid #eee;
  position: sticky;
  top: 100px;
}

.category-sidebar h6 {
  color: #0d6efd;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.badge-primary { background-color: #0d6efd; }
.badge-success { background-color: #28a745; }

/* Payment Page Enhancements */
.method-box i {
  display: block;
  margin-bottom: 5px;
}

.btn-lg {
  font-size: 1.1rem;
  padding: 12px;
  font-weight: 600;
  border-radius: 8px;
}

.payment-card .border-bottom {
  border-bottom: 1px dashed #ddd !important;
}

/* --- Modern UI Overrides --- */

:root {
  --primary-blue: #0d6efd;
  --deep-research-blue: #1a3c8b;
  --glass-bg: rgba(255, 255, 255, 0.85);
}

/* Glassmorphism Header - Applies when scrolling */
.navbar.main-nav {
  backdrop-filter: blur(10px);
  background: var(--glass-bg) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
}

/* Floating Animation for the Hero SVG */
.dna-student-research {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Hover Effect for Capacity/Partnership/Consultancy Cards */
.pull-top .rounded.shadow {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid transparent;
}

.pull-top .rounded.shadow:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
  border-color: var(--primary-blue);
}

/* DNA Rung Animation for the Navbar Logo Area */
.dna-rung {
  stroke-dasharray: 10;
  animation: pulse-rung 2s infinite;
}

@keyframes pulse-rung {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

/* Refined Hero Gradient to match Bio-Tech aesthetics */
.gradient-banner {
  background: linear-gradient(135deg, #0d6efd 0%, #1a3c8b 100%);
  position: relative;
  overflow: hidden;
}

/* Better Text Visibility */
.section-title h2 {
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--deep-research-blue);
  margin-bottom: 20px;
  position: relative;
}

/* Decorative underline for headings */
.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-blue);
  margin: 10px auto;
}

/* Service Item Enhancements */
.service-item {
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.service-item:hover {
  border-bottom: 3px solid var(--primary-blue);
  background: #f8f9ff;
}

.service-item i {
  font-size: 2.5rem;
  background: linear-gradient(to right, #0d6efd, #5fa8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .top-header {
    font-size: 12px;
    padding: 5px 0;
  }
  
  .navbar-brand img {
    height: 60px; /* Scaled down for mobile */
  }

  /* Stack Hero Buttons on Mobile */
  .gradient-banner .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
}

/* --- Reveal Animations --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- High-End Scientific Buttons --- */
.btn-main-md {
    background: linear-gradient(45deg, #0d6efd, #004fb1) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease !important;
}

.btn-main-md:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

/* --- DNA Animation for Hero Section --- */
.dna-strand {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawStrand 3s ease-forward forwards;
}

@keyframes drawStrand {
    to { stroke-dashoffset: 0; }
}

/* --- Chatbot Improvements --- */
.chatbot-window {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1);
}

.bot-message {
    background: #f0f4f8;
    color: #1a3c8b;
    border-radius: 12px 12px 12px 0;
    padding: 10px 15px;
    margin-bottom: 10px;
}

.user-message {
    background: #0d6efd;
    color: white;
    border-radius: 12px 12px 0 12px;
    padding: 10px 15px;
    margin-bottom: 10px;
    align-self: flex-end;
}

/* --- Workshop Banner Image Handling --- */
.workshop-banner {
  position: relative;
  height: 160px; /* Fixed height for uniformity */
  overflow: hidden;
  background: #f0f0f0;
}

.workshop-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image fills space without stretching */
  transition: transform 0.5s ease;
}

.workshop-card:hover .workshop-banner img {
  transform: scale(1.1); /* Zoom effect on hover */
}

.ws-content .x-small {
  font-size: 13px;
  line-height: 1.4;
  height: 40px; /* Keeps text height consistent */
  overflow: hidden;
}
/* --- Date and Pricing Styling --- */
.ws-date-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13, 110, 253, 0.9);
  color: white;
  font-size: 12px;
  padding: 5px;
  text-align: center;
  font-weight: 600;
}

.ws-fee {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a3c8b;
}

.modal-header.bg-primary {
  background: linear-gradient(to right, #0d6efd, #1a3c8b) !important;
}

/* Slider Navigation Styling */
.event-slider {
  padding: 20px 0;
}

.slick-prev, .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: var(--sbm-primary);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

.slick-prev { left: -50px; }
.slick-next { right: -50px; }

/* Handle card spacing inside slider */
.workshop-card {
  margin: 10px;
}

/* Dots for mobile */
.slick-dots {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 20px 0 0;
}

.slick-dots li button {
  font-size: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  margin: 0 5px;
}

.slick-dots li.slick-active button {
  background: var(--sbm-primary);
}

/* Custom Scientific Reveal */
[data-aos="dna-reveal"] {
  opacity: 0;
  transform: scaleY(0.5) skewX(-10deg);
  transition-property: transform, opacity;
}

[data-aos="dna-reveal"].aos-animate {
  opacity: 1;
  transform: scaleY(1) skewX(0);
}
/* --- Advanced Footer Styling --- */
.footer-main {
  background-color: #16181b !important; /* Slightly lighter than pure black */
  font-family: 'Open Sans', sans-serif;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  transition: all 0.3s ease;
  font-size: 14px;
}

.footer-links a:hover {
  color: #2e7eed !important;
  padding-left: 5px;
  text-decoration: none;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  transition: 0.3s;
}

.footer-socials a:hover {
  background: #2e7eed;
  transform: translateY(-3px);
}

.subscribe-form .form-control {
  height: 45px;
  font-size: 14px;
}

.subscribe-form .form-control:focus {
  box-shadow: none;
  background: rgba(255,255,255,0.2) !important;
}

.footer-bottom {
  border-color: rgba(255,255,255,0.05) !important;
}

/* --- Product Card Styling --- */
.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.product-img {
  position: relative;
  height: 200px;
}

.product-img img {
  width: 100%; height: 100%; object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--sbm-primary);
  color: #fff;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
}

.step-num {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(46, 126, 237, 0.1);
  margin-bottom: -35px;
}

/* Custom Product Styling */
.uppercase {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  display: block;
}

.img-rounded-shadow {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.img-rounded-shadow:hover {
  transform: scale(1.02);
}

.toolkit-points li {
  margin-bottom: 12px;
  font-size: 15px;
  color: #555;
  display: flex;
  align-items: center;
}

.bg-gray {
  background-color: #f8f9fa !important;
}

.order-lg-1 { order: 1; }
.order-lg-2 { order: 2; }

.cta-hire.bg-primary {
  background: linear-gradient(45deg, #2e7eed 0%, #2e7eed 100%) !important;
  padding: 80px 0;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.856) !important;
}

.btn-light {
  background: #fff;
  color: #2e7eed;
  font-weight: 700;
  border-radius: 50px;
  padding: 15px 35px;
  transition: all 0.3s ease;
}

.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* --- Partnership Pillar Styling --- */
.partner-hover {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-top: 3px solid transparent;
  background: #fff;
  border-radius: 10px;
}

.partner-hover:hover {
  transform: translateY(-10px);
  border-top: 3px solid var(--sbm-primary); /* Uses your brand blue */
  box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

.partner-hover i {
  font-size: 40px;
  margin-bottom: 15px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.partner-hover:hover i {
  transform: scale(1.1);
}

/* ===============================
   TOP HEADER – ScientificBioMinds
   /* Partner Ecosystem Cards */
.partner-card {
  background: #fff;
  border-radius: 12px;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-8px);
  border-bottom: 3px solid var(--sbm-primary);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* CTA Custom Styling */
.cta-collaboration {
  background: linear-gradient(rgba(46, 126, 237, 0.9), rgba(13, 110, 253, 0.9)), url('../images/backgrounds/lab-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 100px 0;
}

.btn-white {
  background: #fff;
  color: #0d6efd;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-white:hover {
  background: #f8f9fa;
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.contact-info-card {
  background: linear-gradient(135deg, #0d6efd 0%, #06357a 100%) !important;
  height: 100%;
}

.bg-gray {
  background-color: #f8f9fa !important;
}

.opacity-2 {
  opacity: 0.2;
}

.italic {
  font-style: italic;
}

.form-control:focus {
  background: #fff !important;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
  border: 1px solid #0d6efd !important;
}

/* WhatsApp Section Styling */
.border-top-whatsapp {
    border-top: 5px solid #25D366 !important;
}

.text-whatsapp {
    color: #25D366 !important;
}

.whatsapp-icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icon-circle i {
    font-size: 35px;
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.whatsapp-card {
    transition: transform 0.3s ease;
}

.whatsapp-card:hover {
    transform: scale(1.01);
}

/* General Professional Polish */
.professional-nav {
    border-bottom: 1px solid #f0f0f0;
    padding: 0.8rem 0;
    font-family: 'Inter', 'Segoe UI', sans-serif; /* Modern, clean font */
}

/* Custom Underline Animation */
.custom-nav-item .nav-link {
    color: #333 !important;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    position: relative;
    transition: color 0.3s ease;
}

.custom-nav-item .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #2e7eed;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.custom-nav-item .nav-link:hover::after {
    width: 60%;
}

/* Professional Dropdown */
.dropdown-menu {
    border-radius: 12px;
    padding: 1rem 0;
    margin-top: 15px !important;
}

.dropdown-item {
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
    color: #555;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: #f8f9ff;
    color: #2e7eed;
    padding-left: 1.8rem; /* Subtle slide effect */
}

/* Call to Action Button (Clean & Corporate) */
.btn-expert {
    background: #2e7eed;
    color: white !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.btn-expert:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 126, 237, 0.3);
}

/* Subtle Animation for Dropdown */
.animate {
    animation-duration: 0.3s;
    animation-fill-mode: both;
}

@keyframes slideIn {
    0% { transform: translateY(10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}