/* CSS Variables for Neumorphism and Biomorphic Design */
:root {
  /* Split-Complementary Color Scheme */
  --primary-color: #3B82F6;
  --primary-dark: #1E40AF;
  --secondary-color: #F59E0B;
  --secondary-dark: #D97706;
  --accent-color: #EF4444;
  --accent-dark: #DC2626;
  
  /* Neumorphic Colors */
  --neomorphic-bg: #F1F5F9;
  --neomorphic-shadow-light: #FFFFFF;
  --neomorphic-shadow-dark: #CBD5E1;
  --neomorphic-inset-light: #E2E8F0;
  --neomorphic-inset-dark: #94A3B8;
  
  /* Text Colors */
  --text-primary: #1E293B;
  --text-secondary: #475569;
  --text-light: #64748B;
  --text-white: #FFFFFF;
  
  /* Background Colors */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-dark: #0F172A;
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  
  /* Fonts */
  --font-heading: 'Roboto', sans-serif;
  --font-body: 'Lato', sans-serif;
  
  /* Shadows */
  --shadow-neumorphic: 12px 12px 24px var(--neomorphic-shadow-dark), -12px -12px 24px var(--neomorphic-shadow-light);
  --shadow-inset: inset 6px 6px 12px var(--neomorphic-inset-dark), inset -6px -6px 12px var(--neomorphic-inset-light);
  --shadow-hover: 16px 16px 32px var(--neomorphic-shadow-dark), -16px -16px 32px var(--neomorphic-shadow-light);
  
  /* Border Radius */
  --border-radius-sm: 12px;
  --border-radius-md: 20px;
  --border-radius-lg: 32px;
  --border-radius-organic: 60% 40% 30% 70% / 60% 30% 70% 40%;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
  overflow-x: hidden
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--neomorphic-bg);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2.25rem; }
h4 { font-size: 1.875rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* Global Button Styles */
.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--border-radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-neumorphic);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--text-white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: var(--text-white);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  color: var(--text-white);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
  box-shadow: none;
}

.btn-outline-light:hover {
  background: var(--text-white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: none;
}

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

/* Header Styles */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
  padding: 1rem 0;
}

.navbar-brand img {
  height: 50px;
  width: auto;
}

.navbar-nav .nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
  background: rgba(59, 130, 246, 0.1);
}

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

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(59, 130, 246, 0.3));
  z-index: 1;
}

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

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: var(--text-white) !important;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  color: var(--text-white) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Section Titles */
.section-title {
  color: var(--text-primary);
  margin-bottom: 1rem;
  position: relative;
  text-align: center;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--bg-gradient);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  text-align: center;
  margin-bottom: 3rem;
}

/* Card Styles with Neumorphism */
.card {
  background: var(--neomorphic-bg);
  border: none;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-neumorphic);
  transition: var(--transition-smooth);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.card-image {
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition-smooth);
  margin: 0 auto;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 1.5rem;
}

.card-title {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.card-text {
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: 1rem;
}

/* Feature Cards */
.feature-card {
  height: 100%;
  transition: var(--transition-bounce);
}

.feature-card:hover {
  transform: translateY(-10px) rotate(1deg);
}

/* Webinar Cards */
.webinar-card {
  overflow: hidden;
}

.webinar-date {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

/* Process Steps */
.process-step {
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  background: var(--neomorphic-bg);
  box-shadow: var(--shadow-neumorphic);
  transition: var(--transition-smooth);
  height: 100%;
}

.process-step:hover {
  box-shadow: var(--shadow-inset);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--bg-gradient);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-neumorphic);
}

/* Case Study Cards */
.case-study-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  position: relative;
}

.case-metrics {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.metric {
  background: var(--primary-color);
  color: var(--text-white);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
}

/* Testimonial Cards */
.testimonial-card {
  text-align: center;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  height: 100%;
}

.testimonial-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-neumorphic);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.testimonial-name {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.testimonial-position {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Event Cards */
.event-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.event-date {
  background: var(--accent-color);
  color: var(--text-white);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.event-details {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.event-location,
.event-time {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Resource Cards */
.resource-card {
  border: 2px solid transparent;
  transition: var(--transition-smooth);
  height: 100%;
}

.resource-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

/* Accolade Cards */
.accolade-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--border-radius-lg);
  height: 100%;
}

.accolade-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Career Cards */
.career-card {
  border-left: 4px solid var(--primary-color);
  transition: var(--transition-smooth);
}

.career-card:hover {
  border-left-color: var(--accent-color);
  transform: translateX(5px);
}

.career-details {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.career-location,
.career-type {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Contact Form */
.contact-card {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-neumorphic);
}

.contact-form .form-control,
.contact-form .form-select {
  border: none;
  border-radius: var(--border-radius-sm);
  padding: 1rem;
  background: var(--neomorphic-bg);
  box-shadow: var(--shadow-inset);
  transition: var(--transition-smooth);
  font-family: var(--font-body);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  box-shadow: var(--shadow-neumorphic);
  border: 2px solid var(--primary-color);
  outline: none;
}

.contact-form .form-label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--text-white);
  margin-top: 4rem;
}

.footer h5 {
  color: var(--text-white);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.footer a {
  color: #94A3B8;
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.social-links {
  margin-top: 1rem;
}

.social-links a {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

.social-links a:hover {
  color: var(--primary-color);
}

/* Parallax Effects */
.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Background Sections */
.bg-light {
  background: var(--bg-secondary) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  
  .parallax-bg {
    background-attachment: scroll;
  }
  
  .event-details,
  .career-details,
  .case-metrics {
    justify-content: center;
  }
  
  .process-step {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }
  
  .card-content {
    padding: 1rem;
  }
  
  .hero-section {
    padding: 2rem 0;
  }
  
  .section-title::after {
    width: 60px;
  }
}

/* Cookie Consent Styles */
.cookie-consent {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-consent .btn {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
}

/* Success Page Styles */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient);
  color: var(--text-white);
  text-align: center;
}

.success-content {
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* About, Terms, Privacy Pages */
.page-content {
  padding-top: 120px;
  padding-bottom: 4rem;
}

.page-content h1,
.page-content h2,
.page-content h3 {
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.page-content ul,
.page-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.page-content li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

/* Utility Classes */
.text-gradient {
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.organic-shape {
  border-radius: var(--border-radius-organic);
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Enhanced Hover Effects */
.card-hover-lift {
  transition: var(--transition-bounce);
}

.card-hover-lift:hover {
  transform: translateY(-15px) scale(1.02);
}

/* Biomorphic Elements */
.bio-shape-1 {
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
}

.bio-shape-2 {
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.bio-shape-3 {
  border-radius: 73% 27% 83% 17% / 72% 61% 39% 28%;
}

.p-5 {
  padding: 1rem !important;
}