/* Main Styles for STIKOM UYELINDO Kupang Alumni System */

/* ----------------- Base Styles ----------------- */
:root {
  /* Color Palette */
  --primary-50: #e6f0ff;
  --primary-100: #cce1ff;
  --primary-200: #99c2ff;
  --primary-300: #66a3ff;
  --primary-400: #3385ff;
  --primary-500: #0066ff; /* Primary Color */
  --primary-600: #0052cc;
  --primary-700: #003d99;
  --primary-800: #002966;
  --primary-900: #001433;

  --secondary-50: #fff9e6;
  --secondary-100: #fff2cc;
  --secondary-200: #ffe699;
  --secondary-300: #ffd966;
  --secondary-400: #ffcc33;
  --secondary-500: #ffbf00; /* Secondary Color (Gold) */
  --secondary-600: #cc9900;
  --secondary-700: #997300;
  --secondary-800: #664d00;
  --secondary-900: #332600;

  --accent-50: #e6f9ff;
  --accent-100: #ccf3ff;
  --accent-200: #99e8ff;
  --accent-300: #66dcff;
  --accent-400: #33d1ff;
  --accent-500: #00c5ff; /* Accent Color */
  --accent-600: #009ecc;
  --accent-700: #007699;
  --accent-800: #004f66;
  --accent-900: #002733;

  --success-500: #10b981;
  --warning-500: #f59e0b;
  --error-500: #ef4444;

  --neutral-50: #f9fafb;
  --neutral-100: #f3f4f6;
  --neutral-200: #e5e7eb;
  --neutral-300: #d1d5db;
  --neutral-400: #9ca3af;
  --neutral-500: #6b7280;
  --neutral-600: #4b5563;
  --neutral-700: #374151;
  --neutral-800: #1f2937;
  --neutral-900: #111827;

  /* Typography */
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Open Sans", sans-serif;

  /* Spacing (8px system) */
  --space-1: 0.25rem; /* 4px */
  --space-2: 0.5rem; /* 8px */
  --space-3: 0.75rem; /* 12px */
  --space-4: 1rem; /* 16px */
  --space-5: 1.25rem; /* 20px */
  --space-6: 1.5rem; /* 24px */
  --space-8: 2rem; /* 32px */
  --space-10: 2.5rem; /* 40px */
  --space-12: 3rem; /* 48px */
  --space-16: 4rem; /* 64px */
  --space-20: 5rem; /* 80px */

  /* Border Radius */
  --radius-sm: 0.125rem; /* 2px */
  --radius-md: 0.25rem; /* 4px */
  --radius-lg: 0.5rem; /* 8px */
  --radius-xl: 1rem; /* 16px */
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;
}

/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Open+Sans:wght@400;600&display=swap");

/* Base Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--neutral-700);
  background-color: var(--neutral-50);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-4);
  color: var(--neutral-900);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--space-4);
}

a {
  color: var(--primary-500);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

img {
  max-width: 100%;
  height: auto;
}

ul,
ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-5);
}

/* ----------------- Layout ----------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.site-main {
  flex: 1;
  padding: var(--space-8) 0;
}

/* ----------------- Header ----------------- */
.site-header {
  background-color: #fff;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  color: var(--neutral-900);
  font-weight: 600;
  font-size: 1.25rem;
}

.logo img {
  height: 50px;
  margin-right: var(--space-2);
}

.main-navigation {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0 var(--space-3);
}

.nav-menu a {
  color: var(--neutral-700);
  font-weight: 500;
  padding: var(--space-2) 0;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--primary-500);
  left: 0;
  bottom: 0;
  transition: width var(--transition-normal);
}

.nav-menu a:hover,
.nav-menu .active a {
  color: var(--primary-500);
}

.nav-menu a:hover::after,
.nav-menu .active a::after {
  width: 100%;
}

.auth-buttons {
  display: flex;
  align-items: center;
  margin-left: var(--space-6);
}

.auth-buttons a {
  margin-left: var(--space-3);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.hamburger-icon {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--neutral-800);
  position: relative;
  transition: background-color var(--transition-fast);
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--neutral-800);
  transition: transform var(--transition-fast);
}

.hamburger-icon::before {
  top: -8px;
}

.hamburger-icon::after {
  bottom: -8px;
}

/* User Dropdown */
.user-dropdown {
  position: relative;
}

.user-dropdown-btn {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  color: var(--primary-500);
  font-weight: 600;
  cursor: pointer;
  padding: var(--space-2) var(--space-3);
}

.user-dropdown-btn i {
  margin-left: var(--space-2);
  font-size: 0.75rem;
}

.user-dropdown-content {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #fff;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  min-width: 180px;
  padding: var(--space-2) 0;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}

.user-dropdown-content a {
  display: block;
  padding: var(--space-2) var(--space-4);
  color: var(--neutral-700);
  margin: 0;
}

.user-dropdown-content a:hover {
  background-color: var(--neutral-100);
  color: var(--primary-500);
}

.user-dropdown:hover .user-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ----------------- Buttons ----------------- */
.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  font-size: 0.875rem;
}

.btn-primary {
  background-color: var(--primary-500);
  color: white;
  border: 1px solid var(--primary-500);
}

.btn-primary:hover {
  background-color: var(--primary-600);
  border-color: var(--primary-600);
  color: white;
}

.btn-secondary {
  background-color: var(--secondary-500);
  color: var(--neutral-900);
  border: 1px solid var(--secondary-500);
}

.btn-secondary:hover {
  background-color: var(--secondary-600);
  border-color: var(--secondary-600);
  color: var(--neutral-900);
}

.btn-accent {
  background-color: var(--accent-500);
  color: white;
  border: 1px solid var(--accent-500);
}

.btn-accent:hover {
  background-color: var(--accent-600);
  border-color: var(--accent-600);
  color: white;
}

.btn-success {
  background-color: var(--success-500);
  color: white;
  border: 1px solid var(--success-500);
}

.btn-success:hover {
  background-color: #0d9e6d;
  border-color: #0d9e6d;
  color: white;
}

.btn-danger {
  background-color: var(--error-500);
  color: white;
  border: 1px solid var(--error-500);
}

.btn-danger:hover {
  background-color: #dc2626;
  border-color: #dc2626;
  color: white;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-500);
  border: 1px solid var(--primary-500);
}

.btn-outline:hover {
  background-color: var(--primary-500);
  color: white;
}

.btn-link {
  background-color: transparent;
  color: var(--primary-500);
  border: none;
  padding: var(--space-2) var(--space-3);
}

.btn-link:hover {
  text-decoration: underline;
  color: var(--primary-600);
}

.btn-lg {
  padding: var(--space-3) var(--space-6);
  font-size: 1rem;
}

.btn-sm {
  padding: var(--space-1) var(--space-3);
  font-size: 0.75rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ----------------- Footer ----------------- */
.site-footer {
  background-color: var(--neutral-800);
  color: var(--neutral-300);
  padding: var(--space-12) 0 var(--space-4);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.footer-info {
  flex: 1;
  min-width: 300px;
  margin-bottom: var(--space-6);
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-4);
  color: white;
  font-weight: 600;
  font-size: 1.25rem;
}

.footer-logo img {
  height: 40px;
  margin-right: var(--space-2);
}

.social-links {
  display: flex;
  margin-top: var(--space-4);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: rgb(255, 255, 255);
  margin-right: var(--space-2);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--primary-500);
  color: white;
  transform: translateY(-2px);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  flex: 2;
}

.footer-menu,
.footer-contact {
  flex: 1;
  min-width: 200px;
  margin-bottom: var(--space-6);
  padding-left: var(--space-4);
}

.footer-menu h4,
.footer-contact h4 {
  color: white;
  margin-bottom: var(--space-4);
  font-size: 1.125rem;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: var(--space-2);
}

.footer-menu a {
  color: var(--neutral-300);
  transition: color var(--transition-fast);
}

.footer-menu a:hover {
  color: white;
}

.footer-contact address {
  font-style: normal;
}

.footer-contact p {
  margin-bottom: var(--space-2);
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  margin-right: var(--space-2);
  color: var(--primary-400);
  min-width: 16px;
  margin-top: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-4);
  border-top: 1px solid var(--neutral-700);
  font-size: 0.875rem;
}

/* ----------------- Hero Section ----------------- */
.hero-section {
  position: relative;
  background-color: var(--primary-800);
  color: white;
  padding: var(--space-16) 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(0, 41, 102, 0.85),
      rgba(0, 41, 102, 0.9)
    ),
    url("../images/campus.jpg");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: var(--space-4);
  color: white;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--space-6);
  color: var(--neutral-200);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
}

/* ----------------- Cards ----------------- */
.card {
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-normal),
    box-shadow var(--transition-normal);
}

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

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

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

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
}

.card-text {
  color: var(--neutral-600);
  margin-bottom: var(--space-3);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  background-color: var(--neutral-50);
  border-top: 1px solid var(--neutral-200);
  align-items: center;
}

/* ----------------- Grid Layouts ----------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

/* ----------------- Forms ----------------- */
.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 500;
  color: var(--neutral-700);
}

.form-control {
  display: block;
  width: 100%;
  padding: var(--space-3);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--neutral-700);
  background-color: white;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-400);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-control::placeholder {
  color: var(--neutral-400);
}

.form-select {
  display: block;
  width: 100%;
  padding: var(--space-3);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--neutral-700);
  background-color: white;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='4' viewBox='0 0 8 4'%3E%3Cpath fill='%236B7280' d='M0 0l4 4 4-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  background-size: 8px 4px;
}

.form-text {
  margin-top: var(--space-1);
  font-size: 0.875rem;
  color: var(--neutral-500);
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-2);
}

.form-check-input {
  margin-right: var(--space-2);
}

.form-check-label {
  margin-bottom: 0;
}

.form-card {
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}

.form-header {
  margin-bottom: var(--space-2);
  text-align: center;
}

.form-footer {
  margin-top: var(--space-4);
  text-align: right;
}

/* ----------------- Alerts ----------------- */
.alert {
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
  border-radius: var(--radius-md);
  border-left: 4px solid transparent;
}

.alert-success {
  background-color: #ecfdf5;
  border-color: var(--success-500);
  color: #065f46;
}

.alert-warning {
  background-color: #fffbeb;
  border-color: var(--warning-500);
  color: #92400e;
}

.alert-danger {
  background-color: #fef2f2;
  border-color: var(--error-500);
  color: #991b1b;
}

.alert-info {
  background-color: #eff6ff;
  border-color: var(--primary-500);
  color: #1e40af;
}

/* ----------------- Badges ----------------- */
.badge {
  display: inline-block;
  padding: var(--space-1) var(--space-2);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  border-radius: var(--radius-full);
}

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

.badge-secondary {
  background-color: var(--secondary-500);
  color: var(--neutral-900);
}

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

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

/* ----------------- Tables ----------------- */
.table-container {
  overflow-x: auto;
  margin-bottom: var(--space-6);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

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

.table th {
  background-color: var(--neutral-100);
  font-weight: 600;
  color: var(--neutral-700);
}

.table tr:hover {
  background-color: var(--neutral-50);
}

/* ----------------- Pagination ----------------- */
.pagination {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0;
}

.pagination-item {
  margin: 0 var(--space-1);
}

.pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background-color: white;
  color: var(--neutral-700);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.pagination-link:hover {
  background-color: var(--neutral-100);
  color: var(--primary-500);
}

.pagination-link.active {
  background-color: var(--primary-500);
  color: white;
}

/* ----------------- Breadcrumb ----------------- */
.breadcrumb {
  margin-bottom: var(--space-6);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--neutral-500);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
  content: "/";
  margin: 0 var(--space-2);
  color: var(--neutral-400);
}

.breadcrumb-item a {
  color: var(--neutral-600);
}

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

.breadcrumb-item.active {
  color: var(--primary-500);
  font-weight: 500;
}

/* ----------------- Profile Card ----------------- */
.profile-card {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-normal),
    box-shadow var(--transition-normal);
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.profile-header {
  position: relative;
  height: 30px;
  background-color: var(--primary-500);
}

.profile-avatar {
  width: 120px; /* ukuran avatar tetap */
  height: 120px;
  overflow: hidden;
  top: 30px; /*jarak dengan header */
  border-radius: 50%; /* bentuk bulat jika ingin */
  margin: 0 auto 1rem; /* center dan beri jarak bawah */
  position: relative;
  background-color: #f0f0f0; /* warna latar sementara */
  flex-shrink: 0; /* supaya tidak mengecil */
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop dan cover supaya proporsional */
  object-position: center center; /* tengah gambar */
  display: block;
  transition: transform 0.3s ease; /* opsional untuk smooth */
}

.profile-content {
  padding: var(--space-8) var(--space-4) var(--space-4);
  text-align: center;
}

.profile-name {
  font-size: 1.25rem;
  margin-bottom: var(--space-1);
}

.profile-title {
  color: var(--neutral-500);
  font-size: 0.875rem;
  margin-bottom: var(--space-3);
}

.profile-info {
  margin-bottom: var(--space-3);
}

.profile-info-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-1);
  color: var(--neutral-600);
  font-size: 0.875rem;
}

.profile-info-item i {
  margin-right: var(--space-2);
  color: var(--primary-500);
}

.profile-social {
  display: flex;
  justify-content: center;
  margin-top: var(--space-3);
}

.profile-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--neutral-100);
  color: var(--neutral-600);
  margin: 0 var(--space-1);
  transition: all var(--transition-fast);
}

.profile-social-link:hover {
  background-color: var(--primary-500);
  color: white;
}

.profile-footer {
  padding: var(--space-3);
  text-align: center;
  border-top: 1px solid var(--neutral-200);
}

/* ----------------- Sections ----------------- */
.section {
  margin-bottom: var(--space-12);
}

.section-header {
  margin-bottom: var(--space-6);
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: var(--space-2);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--primary-500);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  color: var(--neutral-500);
  max-width: 600px;
  margin: var(--space-4) auto 0;
}

/* ----------------- Stats ----------------- */
.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: var(--space-8) 0;
}

.stat-item {
  text-align: center;
  padding: var(--space-4);
  flex: 1;
  min-width: 200px;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-500);
  margin-bottom: var(--space-2);
}

.stat-label {
  color: var(--neutral-600);
  font-size: 1rem;
}

/* ----------------- Testimonials ----------------- */
.testimonial-card {
  padding: var(--space-6);
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-4);
}

.testimonial-content {
  font-style: italic;
  color: var(--neutral-600);
  margin-bottom: var(--space-4);
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  left: -20px;
  top: -20px;
  opacity: 0.1;
  color: var(--primary-500);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  margin-right: var(--space-3);
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  margin-bottom: 0;
  font-size: 1rem;
}

.testimonial-info p {
  margin-bottom: 0;
  color: var(--neutral-500);
  font-size: 0.875rem;
}

/* ----------------- Responsive ----------------- */
@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
    z-index: 101;
  }

  .main-navigation {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px var(--space-4) var(--space-4);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-normal);
    z-index: 100;
  }

  .main-navigation.active {
    right: 0;
  }

  .mobile-menu-toggle.active .hamburger-icon {
    background-color: transparent;
  }

  .mobile-menu-toggle.active .hamburger-icon::before {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-toggle.active .hamburger-icon::after {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
  }

  .nav-menu li {
    margin: 0;
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--neutral-200);
  }

  .auth-buttons {
    margin: var(--space-4) 0 0;
    width: 100%;
    flex-direction: column;
  }

  .auth-buttons a {
    margin: var(--space-2) 0 0;
    width: 100%;
    text-align: center;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-info,
  .footer-menu,
  .footer-contact {
    width: 100%;
    padding-left: 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: var(--space-2);
  }

  .section-title {
    font-size: 1.5rem;
  }

  .stats-container {
    flex-direction: column;
  }

  .stat-item {
    margin-bottom: var(--space-4);
  }
}

/* ----------------- Animations ----------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

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

/* ----------------- Gallery ----------------- */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-4);
}

.gallery-item {
  position: relative;
  height: 0;
  padding-bottom: 75%;
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: transform var(--transition-normal);
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 60%
  );
  display: flex;
  align-items: flex-end;
  padding: var(--space-3);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: white;
  margin: 0;
  font-size: 1rem;
}

/* ----------------- Timeline ----------------- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-6) 0;
}

.timeline::before {
  content: "";
  position: absolute;
  width: 2px;
  background-color: var(--neutral-300);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 var(--space-6) var(--space-8);
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: var(--primary-500);
  border-radius: 50%;
  top: 0;
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-content {
  background-color: white;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.timeline-date {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background-color: var(--primary-500);
  color: white;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  margin-bottom: var(--space-2);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    width: 100%;
    padding-left: var(--space-10);
    padding-right: 0;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 22px;
  }
}

/* ----------------- Dashboard ----------------- */
.dashboard-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.dashboard-sidebar {
  flex: 1;
  min-width: 250px;
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-4);
}

.dashboard-content {
  flex: 3;
  min-width: 300px;
}

.dashboard-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dashboard-menu-item {
  margin-bottom: var(--space-2);
}

.dashboard-menu-link {
  display: flex;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  color: var(--neutral-700);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.dashboard-menu-link i {
  margin-right: var(--space-3);
  width: 20px;
  text-align: center;
  color: var(--neutral-500);
}

.dashboard-menu-link:hover,
.dashboard-menu-link.active {
  background-color: var(--primary-50);
  color: var(--primary-600);
}

.dashboard-menu-link:hover i,
.dashboard-menu-link.active i {
  color: var(--primary-500);
}

.dashboard-card {
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
}

.dashboard-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--neutral-200);
}

.dashboard-card-title {
  margin: 0;
  font-size: 1.25rem;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.dashboard-stat-card {
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-4);
  display: flex;
  align-items: center;
}

.dashboard-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--primary-50);
  color: var(--primary-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: var(--space-3);
  font-size: 1.25rem;
}

.dashboard-stat-info h4 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.dashboard-stat-info p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--neutral-500);
}

/* ----------------- Tabs ----------------- */
.tabs {
  margin-bottom: var(--space-6);
}

.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--neutral-200);
  margin-bottom: var(--space-4);
  overflow-x: auto;
}

.tab-btn {
  padding: var(--space-3) var(--space-4);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-weight: 500;
  color: var(--neutral-600);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab-btn.active {
  color: var(--primary-500);
  border-bottom-color: var(--primary-500);
}

.tab-btn:hover:not(.active) {
  color: var(--neutral-900);
  border-bottom-color: var(--neutral-300);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}
