:root {
  --cdr-blue: #1B365D;
  --cdr-red: #152C52;
  --cdr-yellow: #FFFFFF;
  --cdr-dark: #0B182D;
  --cdr-accent: #2563eb;
  --cdr-emerald: #059669;
  --cdr-purple: #7c3aed;
  --cdr-gold: #f59e0b;
  --cdr-pink: #ec4899;
}

/* Global Theme Overrides removed for custom buttons to allow transparent/white color styling */

/* Smooth transition on all lucide icons and SVGs globally */
@keyframes gentleSway {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-1.5px) rotate(-1deg);
  }
  50% {
    transform: translateY(0px) rotate(0deg);
  }
  75% {
    transform: translateY(1.5px) rotate(1deg);
  }
}

.lucide, svg {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
  animation: gentleSway 6s ease-in-out infinite;
  display: inline-block;
}

button:hover .lucide,
button:hover svg,
a:hover .lucide,
a:hover svg,
.lucide:hover,
svg:hover {
  animation-play-state: paused;
  transform: scale(1.15) rotate(6deg) !important;
}

* {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

html, body {
  font-family: 'Inter', 'Poppins', sans-serif;
  background-color: #FFFFFF;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

::-webkit-scrollbar {
  display: none !important;
}

* {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Visible scrollbar for Training page (global scrollbars are hidden above) */
html.training-page-scroll {
  scrollbar-width: thin !important;
  -ms-overflow-style: auto !important;
}

html.training-page-scroll::-webkit-scrollbar {
  display: block !important;
  width: 10px;
}

html.training-page-scroll::-webkit-scrollbar-track {
  background: #f1f5f9;
}

html.training-page-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #1B365D, #2563eb);
  border-radius: 9999px;
  border: 2px solid #f1f5f9;
}

html.training-page-scroll::-webkit-scrollbar-thumb:hover {
  background: #1B365D;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(37, 99, 235, 0.2); }
  50% { box-shadow: 0 0 40px rgba(37, 99, 235, 0.4); }
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease-out forwards;
}

.animate-slideUp {
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-scaleIn {
  animation: scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-infinite-scroll {
  animation: scroll 30s linear infinite;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* ===== MODERN CARD STYLES ===== */
.modern-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modern-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 30px 60px -15px rgba(0, 85, 255, 0.15);
  border-color: rgba(37, 99, 235, 0.3);
}

/* ===== GLASSMORPHISM ===== */
.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-dark {
  background: rgba(11, 24, 45, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== GRADIENT BUTTONS ===== */
.btn-gradient-blue {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  font-weight: 700;
  border: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.btn-gradient-blue::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-gradient-blue:hover::before {
  left: 100%;
}

.btn-gradient-blue:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.4);
}

.btn-gradient-emerald {
  background: linear-gradient(135deg, #059669, #047857);
  color: white;
  font-weight: 700;
  border: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.btn-gradient-emerald::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-gradient-emerald:hover::before {
  left: 100%;
}

.btn-gradient-emerald:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 20px 40px -10px rgba(5, 150, 105, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* ===== ACTION BUTTONS COMPACT ===== */
.btn-action-compact {
  padding: 0.45rem 1rem;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== BEAUTIFUL BADGES ===== */
.badge-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== HERO TITLE ===== */
.hero-title-glow {
  text-shadow: 0 0 40px rgba(37, 99, 235, 0.3);
}

/* ===== LINE CLAMP ===== */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 1;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 2;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 3;
}

/* ===== DIVIDER ===== */
.divider-gradient {
  height: 2px;
  background: linear-gradient(90deg, transparent, #2563eb, transparent);
  border: none;
  margin: 2rem 0;
}

/* ===== SECTION TITLE UNDERLINE ===== */
.section-underline {
  position: relative;
  display: inline-block;
}

.section-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
  border-radius: 2px;
}

.section-underline-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ===== JOB CARD ===== */
.job-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
}

.job-card:hover {
  border-color: #2563eb;
  box-shadow: 0 20px 50px -15px rgba(37, 99, 235, 0.15);
  transform: translateY(-2px);
}

/* ===== NEW CARD HOVER ===== */
.news-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 1.5rem;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -15px rgba(59, 130, 246, 0.2);
}

/* ===== SECTION SPACING ===== */
.section-padding {
  padding: 5rem 1.5rem;
}

@media (min-width: 640px) {
  .section-padding {
    padding: 6rem 2rem;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding: 7rem 2rem;
  }
}

/* ===== IMAGE SHIMMER LOADING ===== */
.img-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* ===== RESPONSIVE ICONS ===== */
@media (max-width: 640px) {
  .icon-size-responsive {
    width: 20px;
    height: 20px;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .icon-size-responsive {
    width: 24px;
    height: 24px;
  }
}

@media (min-width: 1025px) {
  .icon-size-responsive {
    width: 28px;
    height: 28px;
  }
}

/* ===== INHERITED STYLES ===== */
.hover-glow {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-glow:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 30px 60px -15px rgba(0, 85, 255, 0.15);
  border-color: rgba(0, 85, 255, 0.4);
}

.btn-interactive {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-interactive:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 15px 30px -10px rgba(0, 85, 255, 0.3);
}

.btn-interactive:active {
  transform: translateY(1px) scale(0.97);
}

.icon-spin-slow:hover {
  transform: rotate(15deg) scale(1.1);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ===== WHATSAPP CARD ===== */
.whatsapp-card {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border-color: #e5e7eb;
}

.whatsapp-card:hover {
  border-color: #2563eb;
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 50px -15px rgba(37, 99, 235, 0.2);
}

.whatsapp-card:active {
  transform: translateY(-1px) scale(0.99);
}

/* ===== TEXT GRADIENT ===== */
.text-gradient {
  background: linear-gradient(135deg, #0066FF 0%, #0B182D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #7c3aed, #ec4899);
  z-index: 9999;
  transform-origin: left;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
}