/* =========================================
   PREMIUM CORPORATE THEME - JAW-DROPPING EDITION
   ========================================= */

/* Top-Tier Typography Setup */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* --- Brand Colors (Corporate & Trust) --- */
  --primary-color: #0F172A;
  /* Midnight Slate */
  --primary-light: #1E293B;
  --primary-dark: #020617;

  --accent-color: #3B82F6;
  /* Vibrant Blue */
  --accent-glow: rgba(59, 130, 246, 0.4);
  --accent-gradient: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);

  --secondary-accent: #10B981;
  /* Success Green */

  /* --- Neutral Tones (Clean & Professional) --- */
  --bg-body: #F8FAFC;
  /* Ice White */
  --bg-surface: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);

  --text-main: #1E293B;
  /* Slate 800 */
  --text-muted: #64748B;
  /* Slate 500 */
  --text-light: #94A3B8;
  /* Slate 400 */

  --border-light: #E2E8F0;
  --border-hover: #CBD5E1;

  /* --- Depth & Elevation (Modern 3D Feel) --- */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);

  --shadow-glow: 0 0 20px var(--accent-glow);

  /* --- Spacing & Radius --- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* --- Animation --- */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Typography */
* {
  box-sizing: border-box;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.75rem;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* --- Layout Wrappers --- */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Premium Buttons --- */
.btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 14px 28px !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  border-radius: var(--radius-md) !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring) !important;
  text-decoration: none !important;
  gap: 8px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Primary Button Style */
.btn,
.btn-primary {
  background: var(--accent-gradient) !important;
  color: white !important;
  box-shadow: var(--shadow-md), 0 4px 12px var(--accent-glow) !important;
}

.btn:hover,
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: var(--shadow-lg), 0 8px 20px var(--accent-glow) !important;
}

.btn:active {
  transform: translateY(-1px) !important;
}

/* Secondary/Outline Button Style */
.btn.secondary {
  background: transparent !important;
  border: 2px solid var(--border-light) !important;
  color: var(--text-main) !important;
  box-shadow: none !important;
}

.btn.secondary:hover {
  border-color: var(--accent-color) !important;
  color: var(--accent-color) !important;
  background: white !important;
  transform: translateY(-2px) !important;
}

/* --- Glassmorphism Header --- */
header.blk-header {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

header.blk-header .logo span {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

header .menu a {
  font-weight: 600;
  color: var(--text-main) !important;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

header .menu a:hover {
  background: rgba(59, 130, 246, 0.08);
  color: var(--accent-color) !important;
}

/* --- Hero Section Revamp --- */
.blk-hero {
  border-radius: var(--radius-xl) !important;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  margin-top: 2rem !important;
  margin-bottom: 4rem !important;
}

.blk-hero h1 {
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.blk-hero[data-has-image="false"] {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%) !important;
  position: relative;
}

.blk-hero[data-has-image="false"]::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 20%);
  pointer-events: none;
}

/* --- Modern Cards & Grid --- */
.blk-card,
.staff-card,
.post-card {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-sm) !important;
  transition: all 0.4s var(--ease-spring) !important;
  overflow: hidden;
  position: relative;
}

.blk-card:hover,
.staff-card:hover,
.post-card:hover {
  transform: translateY(-8px) scale(1.005) !important;
  box-shadow: var(--shadow-xl) !important;
  border-color: rgba(59, 130, 246, 0.3) !important;
}

/* Card Images */
.blk-card img,
.staff-card img,
.post-card img {
  transition: transform 0.6s var(--ease-smooth);
}

.blk-card:hover img,
.staff-card:hover img,
.post-card:hover img {
  transform: scale(1.08);
  /* Zoom effect */
}

/* Card Content Typography */
.card-content h3,
.post-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-content p,
.post-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --- Features / Grid Improvements --- */
.blk-grid-item {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.blk-grid-item h3 {
  font-size: 1.25rem;
  margin-top: 1rem;
}

/* --- Footer Refined & Professional --- */
.blk-footer {
  background: var(--primary-dark) !important;
  color: var(--text-light) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.blk-footer a {
  color: var(--text-muted) !important;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.blk-footer a:hover {
  color: white !important;
  transform: translateY(-2px);
}

/* SVG Social Icons */
.blk-footer .footer-social-icon {
  transition: transform 0.3s ease, opacity 0.3s ease !important;
}

.blk-footer .footer-social-icon:hover {
  transform: scale(1.15) !important;
  opacity: 0.8 !important;
}

.blk-footer .footer-links a {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.blk-footer .footer-links a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Newsletter Form */
.blk-footer .footer-newsletter input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.blk-footer .footer-newsletter button:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Footer Grid */
@media (max-width: 768px) {
  .blk-footer .footer-content>div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    text-align: center !important;
  }

  .blk-footer .footer-newsletter {
    padding: 20px 15px !important;
  }

  .blk-footer .footer-newsletter form {
    flex-direction: column !important;
  }

  .blk-footer .footer-newsletter input,
  .blk-footer .footer-newsletter button {
    width: 100% !important;
  }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blk {
  animation: fadeInUp 0.8s var(--ease-smooth) backwards;
}

.blk:nth-child(1) {
  animation-delay: 0.1s;
}

.blk:nth-child(2) {
  animation-delay: 0.2s;
}

.blk:nth-child(3) {
  animation-delay: 0.3s;
}

.blk:nth-child(4) {
  animation-delay: 0.4s;
}

/* --- Post Grid Specifics --- */
.post-card .date {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.post-card:hover h3 {
  color: var(--accent-color);
  transition: color 0.3s;
}

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