/* ============================================
   WECARE 2026 MEDICAL CONFERENCE WEBSITE
   Modern Medical Elegance with Vibrant Energy
   ============================================ */

:root {
  /* Primary Colors from Logo */
  --primary-blue: #1B3A7A;
  --vibrant-red: #E63946;
  --bright-yellow: #FFD60A;
  --cyan: #00D9FF;
  --magenta: #FF006E;
  --dark-slate: #2D3E50;
  --light-bg: #F8F9FA;
  --white: #FFFFFF;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1B3A7A 0%, #0D5A9E 100%);
  --gradient-warm: linear-gradient(135deg, #E63946 0%, #FF006E 100%);
  --gradient-accent: linear-gradient(135deg, #FFD60A 0%, #FFA500 100%);
  --gradient-cool: linear-gradient(135deg, #00D9FF 0%, #1B3A7A 100%);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark-slate);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-slate);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
  background: var(--gradient-primary);
  box-shadow: 0 4px 20px rgba(27, 58, 122, 0.15);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand::before {
  content: '♥';
  color: var(--vibrant-red);
  font-size: 1.8rem;
  animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1);
  }
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  font-size: 1rem;
  margin: 0 0.5rem;
  position: relative;
  transition: color var(--transition-fast);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--bright-yellow);
  transition: width var(--transition-normal);
}

.navbar-nav .nav-link:hover {
  color: var(--bright-yellow) !important;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .nav-link.active {
  color: var(--bright-yellow) !important;
}

.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu Styling */
.dropdown-menu {
  background: var(--primary-blue);
  border: none;
  border-radius: 8px;
  padding: 0.5rem 0;
  box-shadow: 0 8px 24px rgba(27, 58, 122, 0.2);
  animation: slideDown 0.3s ease-out;
  min-width: 220px;
}

.dropdown-menu .dropdown-item {
  color: var(--white);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  transition: all var(--transition-fast);
  position: relative;
}

.dropdown-menu .dropdown-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--bright-yellow);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-fast);
}

.dropdown-menu .dropdown-item:hover {
  background: rgba(255, 214, 10, 0.1);
  color: var(--bright-yellow);
  padding-left: 2rem;
}

.dropdown-menu .dropdown-item:hover::before {
  transform: scaleY(1);
}

.dropdown-menu .dropdown-item.active {
  background: rgba(255, 214, 10, 0.15);
  color: var(--bright-yellow);
}

.navbar-toggler {
  border: none;
  color: var(--white) !important;
  font-size: 1.5rem;
  padding: 0.25rem 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: 2px solid var(--bright-yellow);
  outline-offset: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 214, 10, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 0, 110, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out;
}

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

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--white);
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--bright-yellow);
  font-weight: 500;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-size: 1rem;
}

.btn-primary {
  background: var(--vibrant-red);
  color: var(--white);
}

.btn-primary:hover {
  background: #d62828;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.4);
}

.btn-secondary {
  background: var(--bright-yellow);
  color: var(--primary-blue);
}

.btn-secondary:hover {
  background: #FFC300;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 214, 10, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-blue);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient-warm);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section-subtitle {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 1rem auto 0;
}

/* ============================================
   CARDS
   ============================================ */

.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-normal);
  overflow: hidden;
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card-header {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  padding: 1.5rem;
  font-weight: 600;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ============================================
   FEATURE CARDS
   ============================================ */

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  background: var(--light-bg);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  background: var(--white);
  box-shadow: 0 8px 24px rgba(27, 58, 122, 0.15);
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  animation: scaleIn 0.6s ease-out;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.feature-card h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.feature-card p {
  color: #666;
  font-size: 0.95rem;
}

/* ============================================
   DIAGONAL DIVIDER
   ============================================ */

.divider {
  position: relative;
  overflow: hidden;
}

.divider-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 Q300,0 600,50 T1200,50 L1200,120 L0,120 Z" fill="%23F8F9FA"></path></svg>') repeat-x;
  background-size: cover;
  animation: wave 15s linear infinite;
}

@keyframes wave {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(1200px);
  }
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--primary-blue);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

footer h5 {
  color: var(--bright-yellow);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-fast);
}

footer a:hover {
  color: var(--bright-yellow);
}

footer ul {
  list-style: none;
  padding: 0;
}

footer li {
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--bright-yellow);
  color: var(--primary-blue);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 0.8s ease-out forwards;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 0.8s ease-out forwards;
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0;
    min-height: auto;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  section {
    padding: 2rem 0;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .feature-card {
    margin-bottom: 1.5rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
  }
  
  .dropdown-menu {
    background: rgba(27, 58, 122, 0.95);
    min-width: 100%;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-primary {
  color: var(--primary-blue);
}

.text-accent {
  color: var(--vibrant-red);
}

.bg-light {
  background-color: var(--light-bg);
}

.bg-primary {
  background: var(--gradient-primary);
  color: var(--white);
}

.container-custom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.mt-5 {
  margin-top: 3rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}


/* ============================================
    ULTRA PREMIUM PRICING CARDS
============================================ */

.pricing-ultra-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 22px;
    padding: 35px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;

    border: 2px solid transparent;
    background-image:
        linear-gradient(white, white),
        linear-gradient(135deg, #1B3A7A, #E63946);
    background-clip: padding-box, border-box;
    background-origin: border-box;

    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
    transition: all 0.45s ease;
}

.pricing-ultra-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 28px 65px rgba(0,0,0,0.18);
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #E63946;
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}

.pricing-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1B3A7A;
    margin-bottom: 10px;
}

.pricing-icon {
    font-size: 3rem;
    margin: 10px 0 20px 0;
    animation: float 5s ease-in-out infinite;
}

.pricing-price strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #E63946;
}

.pricing-price span {
    font-size: 0.95rem;
    color: #555;
    margin-top: -5px;
    display: block;
}

.pricing-divider {
    height: 2px;
    margin: 20px auto;
    width: 50%;
    background: linear-gradient(to right, #1B3A7A, #E63946);
    border-radius: 2px;
}

/* Floating animation */
@keyframes float {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}


/* ============================================
   ULTRA PREMIUM COMMITTEE CARDS
============================================ */

.committee-premium-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 22px;
    padding: 30px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;

    /* Premium gradient border */
    border: 2px solid transparent;
    background-image: 
        linear-gradient(white, white),
        linear-gradient(135deg, #1B3A7A, #1b3a7a);
    background-origin: border-box;
    background-clip: padding-box, border-box;

    box-shadow: 0 18px 45px rgba(0,0,0,0.08);
    transition: all 0.45s ease;
}

/* Hover Magic */
.committee-premium-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 28px 65px rgba(0,0,0,0.18);
}

/* Soft Glow Effect */
.committee-premium-card::before {
    content: "";
    position: absolute;
    top: -60%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.5), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.committee-premium-card:hover::before {
    opacity: 1;
}

/* Committee Photo */
.committee-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto 18px auto;
    background: linear-gradient(135deg, #E63946, #1B3A7A);
    padding: 4px; /* gradient border */
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    animation: float 5s ease-in-out infinite;
}

.committee-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Name Styling */
.committee-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1B3A7A;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

/* Role Styling */
.committee-role {
    font-size: 0.95rem;
    color: #444;
    background: rgba(27, 58, 122, 0.08);
    padding: 6px 14px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 600;
}

/* Floating animation */
@keyframes float {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}
 
/* ============================================
   FORMS
   ============================================ */

.form-control {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(27, 58, 122, 0.1);
  outline: none;
}

.form-label {
  font-weight: 600;
  color: var(--dark-slate);
  margin-bottom: 0.5rem;
}

/* ============================================
   LOADING & ANIMATIONS
   ============================================ */

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(27, 58, 122, 0.2);
  border-radius: 50%;
  border-top-color: var(--primary-blue);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--vibrant-red);
  outline-offset: 2px;
}
