:root {
  --primary-color: #0d6efd; /* Brand Color - Updated per instruction */
  --primary-hover: #0a58ca;
  --secondary-color: #475569; /* Slate Gray */
  --bg-light: #ffffff; /* Pure White */
  --bg-surface: #f8fafc; /* Very Light Gray for sections */
  --bg-surface-2: #f1f5f9; /* Slightly darker surface */
  --text-dark: #0f172a; /* Almost Black for headings */
  --text-body: #334155; /* Dark Gray for readability */
  --font-main: 'Inter', sans-serif;
  
  /* Modern Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Borders & Radius */
  --border-color: #e2e8f0;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  /* Fix: Smooth Scrolling & Navbar Offset */
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Basic Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
  margin-bottom: 0.5em;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h1 { font-size: 3rem; line-height: 1.2; }
h2 { font-size: 2.25rem; line-height: 1.3; }

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease-in-out;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Glassmorphism Utilities */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

/* Hero Section Refinements */
.hero-section {
  background: radial-gradient(circle at top right, rgba(13, 110, 253, 0.05), transparent),
              radial-gradient(circle at bottom left, rgba(13, 110, 253, 0.03), transparent);
  background-color: var(--bg-surface);
  min-height: 85vh;
  padding: 4rem 0;
}

/* Floating Animation */
.animation-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Modern Card Layouts */
.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl) !important;
  border-color: rgba(13, 110, 253, 0.2);
}

/* Entrance Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Circle Icon Utilities */
.icon-circle {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle-lg {
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Button Refinements */
.btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 4px 14px 0 rgba(13, 110, 253, 0.39);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.23);
}

/* Navigation Refinements */
.navbar {
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar.scrolled {
  padding: 0.6rem 0;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

/* Pagination Styling */
.page-link {
    color: var(--primary-color);
    border-radius: 8px !important;
    margin: 0 3px;
    border: none;
    padding: 10px 18px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.page-link:hover {
    background-color: var(--bg-surface-2);
    color: var(--primary-color);
}

.page-item.active .page-link {
    background-color: var(--primary-color) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.page-item.disabled .page-link {
    background-color: transparent;
    color: #94a3b8;
}