    :root {
      --primary-color: #0077b6;
      --primary-dark: #005577;
      --primary-light: #4da6d9;
      --secondary-color: #f8f9fa;
      --text-color: #2c3e50;
      --border-radius: 16px;
      --shadow: 0 10px 30px rgba(0, 119, 182, 0.1);
      --shadow-hover: 0 15px 40px rgba(0, 119, 182, 0.15);
      --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    /* Reset and base styles */
    * {
      box-sizing: border-box;
    }
    
    input {
      border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
    

    html {
      scroll-behavior: smooth;
      height: 100%;
      overflow-y: scroll;
    }

    body {
      font-family: 'Poppins', sans-serif;
      background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
      min-height: 100vh;
      color: var(--text-color);
      margin: 0;
      padding: 0;
      overflow-x: hidden;
      background-attachment: fixed;
      background-size: cover;
      background-repeat: no-repeat;
    }

    /* Cancel Bootstrap's padding-right compensation */
    body.modal-open {
      padding-right: 0 !important;
      overflow-y: scroll !important; /* Keep scrollbar to prevent shrinking */
    }
    
    /* Optional: Also prevent modal's backdrop from triggering layout shifts */
    .modal-backdrop {
      overflow: hidden;
    }
      
    /* Ensure full height layout */
    #main {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    .container-fluid {
      flex: 1;
      display: flex;
      flex-direction: column;
      padding: 0;
    }

    /* Header Section */
    .header-section {
        background: linear-gradient(
        45deg,
        rgba(36, 72, 214, 0.9) 0%,
        rgba(0, 119, 182, 0.9) 50%,
        rgba(21, 81, 201, 0.9) 100%
      ), 
      url("../img/hero-bg.jpg") center center no-repeat;
      border-radius: 0 0 var(--border-radius) var(--border-radius);
      box-shadow: var(--shadow);
      width: 100%;
      flex-shrink: 0;
    }

    .header-badge {
      background: rgba(255, 255, 255, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: var(--border-radius);
      padding: 0.5rem;
      margin: 1.5rem 20px;
      color: white;
    }

    .header-title {
      font-weight: 700;
      font-size: clamp(1.5rem, 4vw, 2.5rem);
      line-height: 1.2;
      text-shadow: var(--text-shadow);
    }

    /* Main content container */
    .main-content-wrapper {
      flex: 1;
      width: 100%;
      padding: 0 20px 2rem;
    }

    /* Card Enhancements */
    .modern-card {
      background: white;
      border-radius: var(--border-radius);
      box-shadow: var(--shadow);
      border: none;
      transition: all 0.3s ease;
      overflow: hidden;
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .modern-card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-2px);
    }

    .modern-card .card-body {
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .card-header-modern {
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
      border: none;
      padding: 1.5rem;
      border-radius: var(--border-radius) var(--border-radius) 0 0;
      flex-shrink: 0;
    }

    /* Enhanced Info Alert */
    .info-alert {
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
      border-radius: 12px;
      padding: 1.25rem;
      margin-bottom: 1.5rem;
      position: relative;
      overflow: hidden;
      box-shadow: 0 4px 16px rgba(0, 119, 182, 0.2);
    }

    .info-alert::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(72, 202, 228, 0.1) 0%, transparent 50%);
      pointer-events: none;
    }

    .info-icon {
      background: rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(10px);
      border-radius: 50%;
      width: 3rem;
      height: 3rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 1rem;
      flex-shrink: 0;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
    }

    .info-alert:hover .info-icon {
      transform: scale(1.05);
    }

    .info-alert h5 {
      color: white !important;
      text-shadow: var(--text-shadow);
      font-weight: 600;
      margin-bottom: 0.5rem;
    }

    .info-alert p {
      color: rgba(255, 255, 255, 0.9) !important;
      font-size: 0.9rem;
      margin-bottom: 0;
    }

    /* Enhanced Lead Text */
    .lead-text {
      font-size: 1rem;
      line-height: 1.7;
      color: #495057;
      margin-bottom: 2rem;
      padding: 1.5rem;
      background: linear-gradient(135deg, rgba(0, 119, 182, 0.03) 0%, rgba(72, 202, 228, 0.03) 100%);
      border-radius: 12px;
      border-left: 4px solid var(--primary-color);
      position: relative;
    }

    .lead-text::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(0, 119, 182, 0.01) 20px,
        rgba(0, 119, 182, 0.01) 40px
      );
      border-radius: 12px;
      pointer-events: none;
    }

    /* Enhanced Steps Container */
    /* Enhanced Steps Container */
.steps-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step-counter;
  width: 100%;
}

.steps-list li {
  counter-increment: step-counter;
  position: relative;
  padding: 1rem 1rem 1rem 3.5rem;
  margin-bottom: 0.5rem; /* Balanced spacing */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 249, 250, 0.8) 100%);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(0, 119, 182, 0.1);
  box-shadow: 0 2px 12px rgba(0, 119, 182, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  line-height: 1.5;
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0.75rem;
  top: 1rem;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 3px 10px rgba(0, 119, 182, 0.3);
  transition: all 0.3s ease;
  z-index: 2;
}

.steps-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.12);
  border-color: rgba(0, 119, 182, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(0, 119, 182, 0.05) 100%);
}

.steps-list li:hover::before {
  transform: scale(1.1);
  box-shadow: 0 5px 16px rgba(0, 119, 182, 0.4);
}

    /* Calendar Enhancements */
    .calendar-card {
      background: white;
      border-radius: var(--border-radius);
      box-shadow: var(--shadow);
      border: none;
      height: 100%;
      display: flex;
      flex-direction: column;
      min-height: 650px;
    }

    .calendar-card .card-body {
      flex: 1;
      display: flex;
      flex-direction: column;
      padding: 0;
      overflow: hidden;
    }
    
    #calendar {
      min-height: 500px;
    }

    .fc {
      font-family: 'Poppins', sans-serif;
      /*height: 100% !important;*/
    }

    .fc-event {
      font-size: 0.85em;
      font-weight: 500;
      padding: 4px 8px;
      white-space: normal;
      border-radius: 8px;
      border: none;
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
      cursor: pointer;
      box-shadow: 0 2px 8px rgba(0, 119, 182, 0.2);
    }

    .fc-event:hover {
      background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(0, 119, 182, 0.3);
    }

    .fc-daygrid-event {
      white-space: normal !important;
      text-align: center;
    }

    .fc-toolbar-title {
      font-family: 'Poppins', sans-serif;
      font-weight: 600;
      color: var(--primary-color);
    }

    .fc-button-primary {
      background: var(--primary-color);
      border-color: var(--primary-color);
      border-radius: 8px;
      font-family: 'Poppins', sans-serif;
      font-weight: 500;
    }

    .fc-button-primary:hover,
    .fc-button-primary:focus {
      background: var(--primary-dark);
      border-color: var(--primary-dark);
    }

    /* Modal Enhancements */
    .modal-content {
      border-radius: var(--border-radius);
      border: none;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    }

    .modal-header {
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
      border-radius: var(--border-radius) var(--border-radius) 0 0;
      border: none;
    }

    /* Animation Enhancements */
    .step {
      display: none;
      animation: fadeInUp 0.6s ease-in-out;
    }

    .step.active {
      display: block;
    }

    @keyframes fadeInUp {
      from { 
        opacity: 0;
        transform: translateY(20px);
      }
      to { 
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    /* Loading Enhancement */
    #preloader {
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    }

    /* Back to top button */
    .back-to-top {
      background: var(--primary-color);
      border-radius: 50%;
      width: 50px;
      height: 50px;
      box-shadow: var(--shadow);
      transition: all 0.3s ease;
    }

    .back-to-top:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: var(--shadow-hover);
    }

    /* Row and column enhancements */
    .row {
      margin: 0;
      height: 100%;
      width: 100%;
    }

    .row.g-4 {
      --bs-gutter-x: 2rem;
      --bs-gutter-y: 2rem;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .header-badge {
        padding: 1.5rem;
        margin: 1rem;
      }
      
      .info-icon {
        width: 50px;
        height: 50px;
        margin-right: 0.75rem;
      }
      
      .steps-list li {
        padding: 1rem 0 1rem 3.5rem;
      }
      
      .steps-list li::before {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.8rem;
      }

      .main-content-wrapper {
        padding: 0 10px;
      }

      #calendar {
        min-height: 400px;
      }
    }

    @media (max-width: 576px) {
      .header-badge {
        margin: 0.5rem 10px;
        padding: 1rem;
      }

      .main-content-wrapper {
        padding: 0 10px;
      }

      .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
      }
    }

    /* Ensure proper column stretching */
    @media (min-width: 992px) {
      .col-lg-4,
      .col-lg-8 {
        display: flex;
        flex-direction: column;
      }
    }

    @media (min-width: 1200px) {
      .col-xl-4,
      .col-xl-8 {
        display: flex;
        flex-direction: column;
      }
    }