:root {
  --brand-slate: #0f172a;
  --brand-navy: #1e293b;
  --brand-orange: #ea580c;
  --brand-orange-light: #ffedd5;
  --brand-blue: #2563eb;
  --brand-blue-light: #dbeafe;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #f8fafc;
  color: #334155;
}

.font-playfair {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.font-mono {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Custom Buttons */
.btn-orange {
  background-color: var(--brand-orange);
  color: white;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
}
.btn-orange:hover {
  background-color: #c2410c;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(234, 88, 12, 0.2);
}

.btn-navy {
  background-color: var(--brand-navy);
  color: white;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
}
.btn-navy:hover {
  background-color: var(--brand-slate);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(15, 23, 42, 0.2);
}

.bg-slate {
  background-color: var(--brand-slate) !important;
}

.bg-navy {
  background-color: var(--brand-navy) !important;
}

.text-orange {
  color: var(--brand-orange) !important;
}

/* Hover effects */
.hover-orange:hover {
  color: var(--brand-orange) !important;
}

.card-hover {
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08) !important;
  border-color: #cbd5e1;
}

/* Floating WhatsApp widget */
.wa-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.wa-btn {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  position: relative;
}
.wa-btn:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
  color: white;
}
.wa-tooltip {
  background-color: #0f172a;
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
}
.wa-widget:hover .wa-tooltip {
  opacity: 1;
}

/* Ping animation */
.wa-ping {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25d366;
  opacity: 0.7;
  animation: wa-ping 1.5s infinite;
  z-index: -1;
}
@keyframes wa-ping {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Tailwind utility compatibility layer */
.bg-orange {
  background-color: var(--brand-orange) !important;
}
.bg-orange-light {
  background-color: var(--brand-orange-light) !important;
}
.fw-black {
  font-weight: 900 !important;
}
.fw-extrabold {
  font-weight: 800 !important;
}
.text-xs {
  font-size: 0.75rem !important;
}
.text-sm {
  font-size: 0.875rem !important;
}
.text-slate {
  color: var(--brand-slate) !important;
}
.leading-tight {
  line-height: 1.25 !important;
}
.leading-relaxed {
  line-height: 1.625 !important;
}

/* Fix background opacity overrides for Bootstrap */
.bg-opacity-5 {
  background-color: rgba(255, 255, 255, 0.05) !important;
}
.bg-opacity-10 {
  background-color: rgba(255, 255, 255, 0.1) !important;
}
.bg-orange.bg-opacity-10 {
  background-color: rgba(234, 88, 12, 0.1) !important;
}
.bg-danger.bg-opacity-10 {
  background-color: rgba(220, 53, 69, 0.1) !important;
}
.bg-warning.bg-opacity-10 {
  background-color: rgba(255, 193, 7, 0.1) !important;
}
.bg-success.bg-opacity-10 {
  background-color: rgba(40, 167, 69, 0.1) !important;
}
.bg-info.bg-opacity-10 {
  background-color: rgba(23, 162, 184, 0.1) !important;
}

/* Custom Glassmorphic Hero Cards */
.hero-card {
  background-color: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: all 0.3s ease;
}
.hero-card:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25) !important;
}

/* Sub tabs styling in thesis */
.thesis-sub-tabs .nav-link {
  color: var(--brand-slate) !important;
  border: none !important;
  border-bottom: 3px solid transparent !important;
  background: transparent !important;
  transition: all 0.2s ease-in-out;
}
.thesis-sub-tabs .nav-link.active {
  color: var(--brand-orange) !important;
  border-bottom: 3px solid var(--brand-orange) !important;
  font-weight: 800 !important;
}

/* Option selection box */
.option-box {
  border: 2px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.option-box:hover {
  border-color: var(--brand-orange);
  background-color: #fffaf8;
}
.option-box.selected {
  border-color: var(--brand-orange);
  background-color: var(--brand-orange-light);
}
