/**
 * VIT Bargarh - Main Redesign Stylesheet
 * Version: 2.0.0
 *
 * This is the main stylesheet that imports all component styles
 * and contains global component definitions.
 */

/* ================================================
   IMPORT DESIGN SYSTEM
   Note: In production, consider combining these files
   ================================================ */

@import url('design-system.css');

/* ================================================
   GOOGLE FONTS IMPORT
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ================================================
   BUTTONS
   ================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  line-height: var(--leading-tight);
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration-300) var(--ease-in-out);
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Primary Button */
.btn-primary {
  background: var(--vit-primary-gradient);
  color: var(--vit-white);
  border-color: var(--vit-primary);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover:not(:disabled) {
  background: var(--vit-primary-gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
  background: transparent;
  color: var(--vit-primary);
  border-color: var(--vit-primary);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--vit-primary);
  color: var(--vit-white);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--vit-dark-gray);
  border-color: var(--vit-light-gray);
}

.btn-outline:hover:not(:disabled) {
  background: var(--vit-bg-gray);
  border-color: var(--vit-gray);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--vit-dark-gray);
  border-color: transparent;
}

.btn-ghost:hover:not(:disabled) {
  background: var(--vit-bg-gray);
}

/* White Button */
.btn-white {
  background: var(--vit-white);
  color: var(--vit-primary);
  border-color: var(--vit-white);
  box-shadow: var(--shadow-md);
}

.btn-white:hover:not(:disabled) {
  background: var(--vit-bg-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Button Sizes */
.btn-xs {
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

.btn-xl {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-xl);
}

/* Full Width Button */
.btn-block {
  display: flex;
  width: 100%;
}

/* Icon Button */
.btn-icon {
  padding: var(--space-3);
  border-radius: var(--radius-full);
}

.btn-icon.btn-sm {
  padding: var(--space-2);
}

.btn-icon.btn-lg {
  padding: var(--space-4);
}

/* ================================================
   CARDS
   ================================================ */

.card {
  background: var(--vit-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--duration-300) var(--ease-in-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card-body {
  padding: var(--space-6);
}

.card-header {
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--vit-lighter-gray);
}

.card-footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--vit-lighter-gray);
  background: var(--vit-bg-light);
}

.card-title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--vit-dark);
  margin-bottom: var(--space-2);
}

.card-subtitle {
  font-size: var(--text-sm);
  color: var(--vit-gray);
}

.card-text {
  color: var(--vit-dark-gray);
  line-height: var(--leading-relaxed);
}

.card-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Card Variants */
.card-bordered {
  border: 1px solid var(--vit-lighter-gray);
  box-shadow: none;
}

.card-bordered:hover {
  border-color: var(--vit-primary);
}

.card-flat {
  box-shadow: none;
  background: var(--vit-bg-light);
}

.card-flat:hover {
  background: var(--vit-bg-gray);
  transform: none;
}

/* Notice Card - Inspired by BPUT */
.notice-card {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--vit-white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--vit-primary);
  transition: all var(--duration-200) var(--ease-in-out);
}

.notice-card:hover {
  background: var(--vit-bg-light);
  border-left-width: 6px;
  transform: translateX(4px);
}

.notice-date {
  flex-shrink: 0;
  min-width: 60px;
  text-align: center;
  background: var(--vit-primary-gradient);
  color: var(--vit-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2) var(--space-3);
}

.notice-date-day {
  display: block;
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  line-height: 1;
}

.notice-date-month {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-top: var(--space-1);
}

.notice-content {
  flex: 1;
  min-width: 0;
}

.notice-title {
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  color: var(--vit-dark);
  margin-bottom: var(--space-1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notice-title a {
  color: inherit;
  text-decoration: none;
}

.notice-title a:hover {
  color: var(--vit-primary);
}

.notice-meta {
  font-size: var(--text-sm);
  color: var(--vit-gray);
}

/* Profile Card */
.profile-card {
  text-align: center;
  background: var(--vit-white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--duration-300) var(--ease-in-out);
}

.profile-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.profile-card-image-wrapper {
  position: relative;
  overflow: hidden;
}

.profile-card-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform var(--duration-500) var(--ease-out);
}

.profile-card:hover .profile-card-image {
  transform: scale(1.05);
}

.profile-card-content {
  padding: var(--space-6);
}

.profile-card-name {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--vit-dark);
  margin-bottom: var(--space-1);
}

.profile-card-designation {
  font-size: var(--text-sm);
  color: var(--vit-gray);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

/* Quick Link Card */
.quick-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  background: var(--vit-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transition: all var(--duration-300) var(--ease-in-out);
  min-height: 160px;
}

.quick-link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  background: var(--vit-primary-gradient);
  color: var(--vit-white);
}

.quick-link-icon {
  font-size: var(--text-4xl);
  color: var(--vit-primary);
  margin-bottom: var(--space-3);
  transition: color var(--duration-300) var(--ease-in-out);
}

.quick-link-card:hover .quick-link-icon {
  color: var(--vit-white);
}

.quick-link-title {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--vit-dark);
  text-align: center;
  transition: color var(--duration-300) var(--ease-in-out);
}

.quick-link-card:hover .quick-link-title {
  color: var(--vit-white);
}

/* ================================================
   BADGES
   ================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.badge-primary {
  background: var(--vit-primary);
  color: var(--vit-white);
}

.badge-secondary {
  background: var(--vit-secondary);
  color: var(--vit-white);
}

.badge-success {
  background: var(--vit-success);
  color: var(--vit-white);
}

.badge-warning {
  background: var(--vit-warning);
  color: var(--vit-dark);
}

.badge-error {
  background: var(--vit-error);
  color: var(--vit-white);
}

.badge-info {
  background: var(--vit-info);
  color: var(--vit-white);
}

.badge-new {
  background: var(--vit-accent-gradient);
  color: var(--vit-white);
  animation: pulse 2s infinite;
}

.badge-outline {
  background: transparent;
  border: 1px solid currentColor;
}

.badge-pdf {
  background: var(--vit-error);
  color: var(--vit-white);
}

.badge-pdf::before {
  content: '\f1c1';
  font-family: 'Font Awesome 6 Free';
  font-weight: 400;
}

/* ================================================
   SECTION STYLES
   ================================================ */

.section {
  padding: var(--space-16) 0;
}

.section-sm {
  padding: var(--space-10) 0;
}

.section-lg {
  padding: var(--space-24) 0;
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--vit-dark);
  text-align: center;
  margin-bottom: var(--space-3);
}

@media (min-width: 1024px) {
  .section-title {
    font-size: var(--text-4xl);
  }
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--vit-gray);
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-12);
}

.section-header {
  margin-bottom: var(--space-12);
}

/* Section with background */
.section-gray {
  background: var(--vit-bg-gray);
}

.section-dark {
  background: var(--vit-dark);
  color: var(--vit-white);
}

.section-dark .section-title,
.section-dark .section-subtitle {
  color: var(--vit-white);
}

.section-dark .section-subtitle {
  opacity: 0.8;
}

.section-gradient {
  background: var(--vit-primary-gradient);
  color: var(--vit-white);
}

/* ================================================
   TABS (Notice Board)
   ================================================ */

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  border-bottom: 2px solid var(--vit-lighter-gray);
  padding-bottom: var(--space-2);
}

.tab-btn {
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--vit-gray);
  background: transparent;
  border: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  cursor: pointer;
  transition: all var(--duration-200) var(--ease-in-out);
  position: relative;
}

.tab-btn:hover {
  color: var(--vit-primary);
  background: var(--vit-bg-light);
}

.tab-btn.active {
  color: var(--vit-primary);
  background: var(--vit-white);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vit-primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn var(--duration-300) var(--ease-out);
}

/* ================================================
   FORM ELEMENTS
   ================================================ */

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--vit-dark);
  margin-bottom: var(--space-2);
}

.form-label.required::after {
  content: '*';
  color: var(--vit-error);
  margin-left: var(--space-1);
}

.form-control {
  display: block;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-family: var(--font-primary);
  color: var(--vit-dark);
  background: var(--vit-white);
  border: 2px solid var(--vit-lighter-gray);
  border-radius: var(--radius-lg);
  transition: all var(--duration-200) var(--ease-in-out);
}

.form-control:focus {
  outline: none;
  border-color: var(--vit-primary);
  box-shadow: 0 0 0 3px var(--vit-primary-100);
}

.form-control::placeholder {
  color: var(--vit-gray);
}

.form-control:disabled {
  background: var(--vit-bg-gray);
  cursor: not-allowed;
}

.form-control.is-invalid {
  border-color: var(--vit-error);
}

.form-control.is-valid {
  border-color: var(--vit-success);
}

.form-text {
  display: block;
  font-size: var(--text-sm);
  color: var(--vit-gray);
  margin-top: var(--space-1);
}

.form-error {
  display: block;
  font-size: var(--text-sm);
  color: var(--vit-error);
  margin-top: var(--space-1);
}

/* Textarea */
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Select */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right var(--space-3) center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: var(--space-10);
}

/* Checkbox & Radio */
.form-check {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.form-check-input {
  width: 18px;
  height: 18px;
  accent-color: var(--vit-primary);
  cursor: pointer;
}

.form-check-label {
  font-size: var(--text-base);
  color: var(--vit-dark-gray);
  cursor: pointer;
}

/* ================================================
   BREADCRUMB
   ================================================ */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) 0;
  font-size: var(--text-sm);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--vit-gray);
}

.breadcrumb-item a {
  color: var(--vit-gray);
  text-decoration: none;
  transition: color var(--duration-200) var(--ease-in-out);
}

.breadcrumb-item a:hover {
  color: var(--vit-primary);
}

.breadcrumb-item:not(:last-child)::after {
  content: '/';
  color: var(--vit-light-gray);
}

.breadcrumb-item.active {
  color: var(--vit-dark);
  font-weight: var(--font-medium);
}

/* ================================================
   PAGE BANNER
   ================================================ */

.page-banner {
  position: relative;
  padding: var(--space-16) 0;
  background: var(--vit-primary-gradient);
  color: var(--vit-white);
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
  background-size: 200px 200px;
}

.page-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-banner-title {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
}

@media (min-width: 1024px) {
  .page-banner-title {
    font-size: var(--text-5xl);
  }
}

.page-banner-subtitle {
  font-size: var(--text-lg);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* ================================================
   MODAL
   ================================================ */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  z-index: var(--z-modal-backdrop);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-300) var(--ease-out);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  background: var(--vit-white);
  border-radius: var(--radius-2xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  transform: scale(0.9) translateY(20px);
  transition: transform var(--duration-300) var(--ease-bounce);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--vit-lighter-gray);
}

.modal-title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--vit-dark);
}

.modal-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--vit-gray);
  transition: all var(--duration-200) var(--ease-in-out);
}

.modal-close:hover {
  background: var(--vit-error);
  color: var(--vit-white);
  transform: rotate(90deg);
}

.modal-body {
  padding: var(--space-6);
  overflow-y: auto;
  max-height: calc(90vh - 140px);
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--vit-lighter-gray);
  background: var(--vit-bg-light);
}

/* Modal Sizes */
.modal-sm {
  max-width: 400px;
}

.modal-lg {
  max-width: 800px;
}

.modal-xl {
  max-width: 1000px;
}

.modal-fullscreen {
  max-width: none;
  width: calc(100% - var(--space-8));
  height: calc(100% - var(--space-8));
  max-height: none;
  border-radius: var(--radius-xl);
}

/* ================================================
   TABLES
   ================================================ */

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.table th,
.table td {
  padding: var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--vit-lighter-gray);
}

.table th {
  font-weight: var(--font-semibold);
  color: var(--vit-dark);
  background: var(--vit-bg-light);
}

.table tbody tr:hover {
  background: var(--vit-bg-light);
}

.table-striped tbody tr:nth-child(odd) {
  background: var(--vit-bg-light);
}

.table-bordered {
  border: 1px solid var(--vit-lighter-gray);
}

.table-bordered th,
.table-bordered td {
  border: 1px solid var(--vit-lighter-gray);
}

/* ================================================
   ALERTS
   ================================================ */

.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
}

.alert-icon {
  flex-shrink: 0;
  font-size: var(--text-xl);
}

.alert-content {
  flex: 1;
}

.alert-title {
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-1);
}

.alert-success {
  background: var(--vit-success-bg);
  color: var(--vit-success-dark);
  border-left: 4px solid var(--vit-success);
}

.alert-warning {
  background: var(--vit-warning-bg);
  color: var(--vit-warning-dark);
  border-left: 4px solid var(--vit-warning);
}

.alert-error {
  background: var(--vit-error-bg);
  color: var(--vit-error-dark);
  border-left: 4px solid var(--vit-error);
}

.alert-info {
  background: var(--vit-info-bg);
  color: var(--vit-info-dark);
  border-left: 4px solid var(--vit-info);
}

/* ================================================
   TOOLTIPS
   ================================================ */

[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  padding: var(--space-2) var(--space-3);
  background: var(--vit-dark);
  color: var(--vit-white);
  font-size: var(--text-xs);
  white-space: nowrap;
  border-radius: var(--radius-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-200) var(--ease-out);
  z-index: var(--z-tooltip);
}

[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-8px);
}

/* ================================================
   BACK TO TOP BUTTON
   ================================================ */

.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vit-primary-gradient);
  color: var(--vit-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--duration-300) var(--ease-out);
  z-index: var(--z-fixed);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-primary);
}

/* ================================================
   LOADING SPINNER
   ================================================ */

.spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid var(--vit-lighter-gray);
  border-top-color: var(--vit-primary);
  border-radius: var(--radius-full);
  animation: spin 0.8s linear infinite;
}

.spinner-sm {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

.spinner-lg {
  width: 40px;
  height: 40px;
  border-width: 4px;
}

/* ================================================
   ANIMATIONS
   ================================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes gradientScroll {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Animation Classes */
.animate-fade-in {
  animation: fadeIn var(--duration-500) var(--ease-out);
}

.animate-fade-in-up {
  animation: fadeInUp var(--duration-500) var(--ease-out);
}

.animate-fade-in-down {
  animation: fadeInDown var(--duration-500) var(--ease-out);
}

.animate-fade-in-left {
  animation: fadeInLeft var(--duration-500) var(--ease-out);
}

.animate-fade-in-right {
  animation: fadeInRight var(--duration-500) var(--ease-out);
}

.animate-pop-in {
  animation: popIn var(--duration-500) var(--ease-bounce);
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Scroll Animation Classes */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-500) var(--ease-out),
              transform var(--duration-500) var(--ease-out);
}

.scroll-animate.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Animation Delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }
.delay-700 { animation-delay: 700ms; }
.delay-800 { animation-delay: 800ms; }

/* Animated Gradient Text */
.gradient-text {
  background: linear-gradient(90deg, var(--vit-primary), var(--vit-accent-orange), var(--vit-accent-gold), var(--vit-primary));
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientScroll 3s linear infinite;
}

/* Hover Effects */
.hover-lift {
  transition: transform var(--duration-300) var(--ease-out), box-shadow var(--duration-300) var(--ease-out);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.hover-scale {
  transition: transform var(--duration-300) var(--ease-out);
}

.hover-scale:hover {
  transform: scale(1.05);
}

.hover-glow {
  transition: box-shadow var(--duration-300) var(--ease-out);
}

.hover-glow:hover {
  box-shadow: var(--shadow-primary);
}

/* Link Underline Animation */
.link-underline {
  position: relative;
  text-decoration: none;
}

.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--vit-primary);
  transition: width var(--duration-300) var(--ease-out);
}

.link-underline:hover::after {
  width: 100%;
}

/* ================================================
   SKELETON LOADING
   ================================================ */

.skeleton {
  background: linear-gradient(90deg, var(--vit-lighter-gray) 25%, var(--vit-bg-gray) 50%, var(--vit-lighter-gray) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

.skeleton-text {
  height: 1em;
  margin-bottom: var(--space-2);
}

.skeleton-title {
  height: 1.5em;
  width: 60%;
  margin-bottom: var(--space-3);
}

.skeleton-circle {
  border-radius: var(--radius-full);
}

.skeleton-image {
  height: 200px;
  border-radius: var(--radius-lg);
}