/* GlobalMIG Dev Workshop - Custom Styles */
/* Color Scheme: Tech/Developer Theme */

:root {
  /* Primary - Deep Blue (Professional/Tech) */
  --dev-blue: #1E3A5F;            /* Primary - professional navy */
  --dev-blue-light: #2D4A6F;
  --dev-blue-dark: #152A45;

  /* Secondary - Bright Blue (Accent) */
  --dev-accent: #3B82F6;          /* Secondary - vibrant blue */
  --dev-accent-light: #60A5FA;
  --dev-accent-dark: #2563EB;

  /* Tertiary - Cyan (Code/Terminal) */
  --dev-cyan: #06B6D4;            /* Code highlight */
  --dev-cyan-light: #22D3EE;

  /* Neutrals */
  --dev-white: #FFFFFF;
  --dev-off-white: #F8FAFC;
  --dev-gray-light: #F1F5F9;
  --dev-gray: #64748B;
  --dev-gray-dark: #334155;
  --dev-dark: #0F172A;
}

html {
  margin-left: 0 !important;
}

/* ==================== */
/* Hero Section         */
/* ==================== */

.hero-section {
  background: linear-gradient(135deg, var(--dev-blue-dark) 0%, var(--dev-blue) 50%, var(--dev-blue-light) 100%);
  color: var(--dev-white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dev-accent), var(--dev-cyan), var(--dev-accent-light));
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dev-white) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
  color: var(--dev-cyan-light);
}

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* ==================== */
/* Buttons              */
/* ==================== */

.btn {
  border-radius: 6px !important;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  border-radius: 8px !important;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  border-radius: 5px !important;
}

/* Primary CTA - Accent Blue */
.btn-dev {
  background: var(--dev-accent);
  color: var(--dev-white);
  font-weight: 600;
  border: none;
}

.btn-dev:hover {
  background: var(--dev-accent-dark);
  color: var(--dev-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Secondary - Navy */
.btn-navy {
  background: var(--dev-blue);
  color: var(--dev-white);
  border: none;
}

.btn-navy:hover {
  background: var(--dev-blue-dark);
  color: var(--dev-white);
}

/* Accent - Cyan */
.btn-cyan {
  background: var(--dev-cyan);
  color: var(--dev-white);
  border: none;
}

.btn-cyan:hover {
  background: #0891B2;
  color: var(--dev-white);
}

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

.btn-outline-light:hover {
  background: var(--dev-white);
  color: var(--dev-blue);
}

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

.btn-outline-navy:hover {
  background: var(--dev-blue);
  color: var(--dev-white);
}

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

.btn-outline-accent:hover {
  background: var(--dev-accent);
  color: var(--dev-white);
}

/* ==================== */
/* Navbar               */
/* ==================== */

.navbar {
  background: var(--dev-blue) !important;
  padding: 0.75rem 0;
}

.navbar-brand {
  font-weight: 600;
}

.navbar .btn-dev {
  background: var(--dev-accent);
}

.navbar .btn-dev:hover {
  background: var(--dev-accent-light);
}

/* ==================== */
/* Cards                */
/* ==================== */

.card {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-header {
  background: var(--dev-blue) !important;
  color: var(--dev-white) !important;
  border-radius: 12px 12px 0 0 !important;
}

/* Session Cards */
.session-card {
  text-align: left;
  padding: 1.5rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  height: 100%;
}

.session-card:hover {
  border-color: var(--dev-accent);
  transform: translateY(-4px);
}

.session-number {
  display: inline-block;
  background: linear-gradient(135deg, var(--dev-accent), var(--dev-accent-dark));
  color: var(--dev-white);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.session-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dev-blue);
  margin-bottom: 0.75rem;
}

.session-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.session-topic {
  background: var(--dev-gray-light);
  color: var(--dev-gray-dark);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.session-desc {
  color: var(--dev-gray);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Category Cards */
.category-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.category-card:hover {
  border-color: var(--dev-accent);
  transform: translateY(-4px);
}

.category-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--dev-accent-light), var(--dev-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--dev-white);
}

.category-icon svg {
  width: 32px;
  height: 32px;
}

.category-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dev-blue);
  margin-bottom: 0.75rem;
}

.category-desc {
  color: var(--dev-gray);
  font-size: 1rem;
  line-height: 1.6;
}

/* ==================== */
/* Feature Cards        */
/* ==================== */

.feature-card {
  text-align: center;
  padding: 2rem 1rem;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--dev-accent-light), var(--dev-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--dev-white);
}

.feature-title {
  font-weight: 600;
  color: var(--dev-blue);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.feature-card .text-muted {
  font-size: 1rem;
}

/* ==================== */
/* Resource Badge       */
/* ==================== */

.dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--dev-accent), var(--dev-accent-dark));
  color: var(--dev-white);
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.dev-badge svg {
  width: 16px;
  height: 16px;
}

.dev-badge-cyan {
  background: linear-gradient(135deg, var(--dev-cyan), var(--dev-cyan-light));
  color: var(--dev-white);
}

/* ==================== */
/* Resource Cards       */
/* ==================== */

.resource-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.resource-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.resource-card-header {
  background: var(--dev-off-white);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}

.resource-card-body {
  padding: 1.25rem;
}

.resource-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dev-blue);
  margin-bottom: 0.5rem;
}

.resource-title a {
  color: var(--dev-blue);
  text-decoration: none;
}

.resource-title a:hover {
  color: var(--dev-accent);
}

.resource-category {
  display: inline-block;
  background: var(--dev-gray-light);
  color: var(--dev-gray-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.resource-desc {
  color: var(--dev-gray);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.resource-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dev-accent);
  font-size: 0.875rem;
  font-weight: 500;
}

.resource-link svg {
  width: 16px;
  height: 16px;
}

/* ==================== */
/* Code Highlight       */
/* ==================== */

.code-highlight {
  background: var(--dev-dark);
  color: var(--dev-cyan-light);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 0.875rem;
}

.code-block {
  background: var(--dev-dark);
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
}

.code-block code {
  color: var(--dev-cyan-light);
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ==================== */
/* Section Styles       */
/* ==================== */

.section-light {
  background: var(--dev-off-white);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dev-blue);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--dev-gray);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--dev-accent-light), var(--dev-accent));
  color: var(--dev-white);
  position: relative;
}

.cta-section h2 {
  color: var(--dev-white);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
}

/* Stats Section */
.stats-section {
  background: var(--dev-blue);
  color: var(--dev-white);
  padding: 3rem 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dev-cyan-light);
  display: block;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ==================== */
/* Footer               */
/* ==================== */

.site-footer {
  background: var(--dev-blue-dark);
  color: var(--dev-white);
  padding: 2.5rem 0 1.5rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--dev-accent), var(--dev-cyan), var(--dev-accent-light));
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--dev-cyan-light);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: var(--dev-cyan-light);
}

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

/* ==================== */
/* Filter Buttons       */
/* ==================== */

.filter-btn {
  background: var(--dev-white);
  border: 2px solid #e5e7eb;
  color: var(--dev-gray-dark);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--dev-accent);
  color: var(--dev-accent);
}

.filter-btn.active {
  background: var(--dev-accent);
  border-color: var(--dev-accent);
  color: var(--dev-white);
}

/* ==================== */
/* Info Box             */
/* ==================== */

.info-box {
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border: 1px solid #BFDBFE;
  border-radius: 12px;
  padding: 1.5rem;
}

.info-box-cyan {
  background: linear-gradient(135deg, #ECFEFF, #CFFAFE);
  border-color: #A5F3FC;
}

.info-box-title {
  font-weight: 600;
  color: var(--dev-blue);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-box-title svg {
  color: var(--dev-accent);
}

/* ==================== */
/* Instructor Card      */
/* ==================== */

.instructor-card {
  background: var(--dev-white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid #e5e7eb;
}

.instructor-avatar {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--dev-accent), var(--dev-cyan));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--dev-white);
  font-size: 2.5rem;
  font-weight: 700;
}

.instructor-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dev-blue);
  margin-bottom: 0.25rem;
}

.instructor-title {
  color: var(--dev-accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.instructor-bio {
  color: var(--dev-gray);
  font-size: 1rem;
  line-height: 1.6;
}

/* ==================== */
/* Typography           */
/* ==================== */

body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--dev-dark);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dev-blue);
}

h1 {
  font-size: 2.25rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.75rem;
  line-height: 1.35;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.375rem;
  line-height: 1.4;
}

h4 {
  font-size: 1.125rem;
  line-height: 1.4;
}

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

.small, small {
  font-size: 0.9375rem !important;
}

.text-muted {
  color: var(--dev-gray) !important;
}

a {
  color: var(--dev-accent);
}

a:hover {
  color: var(--dev-accent-dark);
}

/* ==================== */
/* Utility Classes      */
/* ==================== */

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

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

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

.text-dev-cyan {
  color: var(--dev-cyan);
}

.border-dev {
  border-color: var(--dev-accent) !important;
}

/* ==================== */
/* Mobile Adjustments   */
/* ==================== */

@media (max-width: 768px) {
  body {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .category-card {
    padding: 1.5rem 1rem;
  }

  .category-icon {
    width: 56px;
    height: 56px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .footer-links {
    justify-content: center;
  }

  .session-card {
    padding: 1.25rem;
  }

  .instructor-avatar {
    width: 100px;
    height: 100px;
    font-size: 2rem;
  }
}

/* ==================== */
/* Animation            */
/* ==================== */

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

.animate-fadeInUp {
  animation: fadeInUp 0.5s ease-out;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* ==================== */
/* Speaker Card         */
/* ==================== */

.speaker-card {
  padding: 3rem 2.5rem;
  text-align: center;
  border-radius: 1rem;
  border: 1px solid var(--dev-gray-light);
  background: var(--dev-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.speaker-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--dev-accent-light), var(--dev-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dev-white);
}

.speaker-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dev-dark);
  margin-bottom: 0.5rem;
}

.speaker-title {
  font-size: 1rem;
  color: var(--dev-accent);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.speaker-bio {
  font-size: 1rem;
  color: var(--dev-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.speaker-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
