:root {
  --color-primary: #1a237e;
  --color-primary-light: #3949ab;
  --color-primary-dark: #0d1642;
  --secondary-color: #bd9d6c;
  --secondary-light: #d4b98a;
  --secondary-dark: #a38658;
  --text-color: #333;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.08);
  --shadow-light: 0 4px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 20px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 6px 30px rgba(26, 35, 126, 0.12);
  --shadow-hover: 0 20px 60px rgba(26, 35, 126, 0.2);
  --border-radius-sm: 4px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 30px;
  --transition-fast: 0.3s ease-out;
  --transition-scroll: 0.8s ease-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.unit-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f0f2ff 0%, #ffffff 40%);
  position: relative;
  overflow: hidden;
}

.unit-section::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(57, 73, 171, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.unit-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(189, 157, 108, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.unit-header {
  text-align: center;
  margin-bottom: 70px;
  padding: 60px 40px;
  border-radius: var(--border-radius-lg);
  background: linear-gradient(
    135deg,
    var(--color-primary-light) 0%,
    var(--color-primary-dark) 60%,
    #060d2e 100%
  );
  box-shadow: var(--shadow-hover);
  position: relative;
  overflow: hidden;
}

.unit-header::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.unit-header::after {
  content: "";
  position: absolute;
  bottom: -120px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: rgba(189, 157, 108, 0.08);
  border-radius: 50%;
}

.unit-header .icon-wrapper {
  color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  border: 3px solid rgba(189, 157, 108, 0.5);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 8px rgba(189, 157, 108, 0.1);
  animation: pulse-ring 3s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%,
  100% {
    box-shadow: 0 0 0 8px rgba(189, 157, 108, 0.1);
  }
  50% {
    box-shadow: 0 0 0 16px rgba(189, 157, 108, 0.05);
  }
}

.unit-header h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

.unit-header .subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.identify-unit {
  color: var(--secondary-color);
  font-weight: bold;
  position: relative;
  text-decoration: none;
  transition: color 0.3s;
}

.identify-unit::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--secondary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: right;
}

.identify-unit:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.content-wrapper {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
}

.content-card {
  flex: 1;
  background: #fff;
  padding: 40px 35px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-card);
  border-right: 4px solid var(--color-primary-light);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.content-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--color-primary-light)
  );
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.content-card:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.content-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-right-color: var(--secondary-color);
}

.card-title {
  color: var(--color-primary);
  font-size: 1.8rem;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-align {
  color: var(--secondary-color);
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.content-card:hover .icon-align {
  transform: scale(1.2) rotate(-5deg);
}

.content-card p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.9;
}

.duties-section {
  margin-top: 10px;
  border-right: 4px solid var(--secondary-color);
}

.duties-list {
  list-style: none;
  padding: 0;
}

.duties-list li {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  padding: 12px 20px 12px 0;
  border-bottom: 1px solid #f5f5f5;
  position: relative;
  padding-right: 30px;
  transition: all 0.3s ease;
}

.duties-list li::before {
  content: "◆";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 0.5rem;
  color: var(--secondary-color);
}

.duties-list li:hover {
  color: var(--color-primary);
  padding-right: 38px;
  border-bottom-color: var(--secondary-color);
}

.duties-list li:last-child {
  border-bottom: none;
}

.goals-section {
  padding: 50px 40px;
  background: linear-gradient(135deg, #f7f8ff 0%, #fff 100%);
  border-radius: var(--border-radius-lg);
  margin-bottom: 50px;
  border: 1px solid rgba(57, 73, 171, 0.1);
  box-shadow: var(--shadow-subtle);
  position: relative;
}

.goals-section::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 30px;
  font-size: 8rem;
  color: rgba(189, 157, 108, 0.08);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.section-title-goal {
  text-align: center;
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 45px;
  font-weight: 700;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.section-title-goal::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), transparent);
  margin: 0 auto;
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
}

.goals-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.goal-item {
  background-color: #fff;
  padding: 22px 20px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(57, 73, 171, 0.08);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.goal-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--color-primary-light)
  );
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.goal-item:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 15px 40px rgba(26, 35, 126, 0.15);
  border-color: transparent;
}

.goal-item:hover::after {
  transform: scaleX(1);
}

.goal-icon {
  color: var(--secondary-color);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
  transition:
    transform 0.3s ease,
    color 0.3s;
}

.goal-item:hover .goal-icon {
  transform: scale(1.25) rotate(-8deg);
  color: var(--color-primary-light);
}

.goal-item p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-color);
  line-height: 1.7;
}

.structure-page {
  padding: 10px 0;
}

.body-section {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(57, 73, 171, 0.07);
}

.body-section .title {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--secondary-color);
  display: inline-block;
}

.body-section > p {
  font-size: 1.08rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 40px;
  padding: 20px;
  background: #f8f9ff;
  border-right: 4px solid var(--color-primary-light);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

.system-of-study {
  background: #fff;
  border-radius: var(--border-radius-md);
  padding: 30px 35px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(57, 73, 171, 0.08);
  border-top: 4px solid transparent;
  background-clip: padding-box;
  transition: all 0.35s ease;
  position: relative;
}

.system-of-study::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--color-primary-light),
    var(--secondary-color)
  );
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.system-of-study:hover::before {
  opacity: 1;
}

.system-of-study:hover {
  transform: translateX(-5px);
  box-shadow: var(--shadow-card);
}

.system-of-study h1 {
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.system-of-study h1::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--secondary-color);
  border-radius: 50%;
  flex-shrink: 0;
}

.list-study {
  list-style: none;
  padding: 0;
}

.list-study li {
  margin-bottom: 25px;
  position: relative;
}

.list-study li a {
  color: var(--color-primary-light);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;

  align-items: center;
  flex-direction: row-reverse;
  gap: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.list-study li a::before {
  content: "\f0da";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--secondary-color);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  margin-left: 7px;
}

.list-study li a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    var(--secondary-color),
    var(--color-primary-light)
  );
  border-radius: 0 8px 8px 0;
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}

.list-study li a:hover {
  color: var(--color-primary-dark);
  transform: translateX(-4px);
}

.list-study li a:hover::before {
  transform: translateX(3px);
}

.contact-card {
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 60%,
    #040a1e 100%
  );
  color: #fff;
  padding: 60px 50px;
  border-radius: var(--border-radius-lg);
  margin-top: 60px;
  box-shadow: 0 30px 80px rgba(13, 22, 66, 0.35);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.contact-card::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: rgba(189, 157, 108, 0.07);
  border-radius: 50%;
}

.contact-card h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--secondary-color);
  position: relative;
  z-index: 1;
}

.contact-details {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.contact-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-link i {
  font-size: 1.4rem;
}

.contact-link:hover {
  color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(189, 157, 108, 0.4);
  transform: translateY(-3px);
}

.btn-main {
  display: inline-block;
  padding: 15px 50px;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--secondary-dark)
  );
  color: var(--color-primary-dark);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.35s ease;
  box-shadow: 0 8px 25px rgba(189, 157, 108, 0.4);
  position: relative;
  z-index: 1;
  letter-spacing: 0.5px;
}

.btn-main:hover {
  background: linear-gradient(
    135deg,
    var(--secondary-light),
    var(--secondary-color)
  );
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(189, 157, 108, 0.5);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.scrolled {
  opacity: 1;
  transform: translateY(0);
}

.content-wrapper .content-card:nth-child(1) {
  transition-delay: 0.1s;
}
.content-wrapper .content-card:nth-child(2) {
  transition-delay: 0.25s;
}

.goals-list .goal-item:nth-child(1) {
  transition-delay: 0.05s;
}
.goals-list .goal-item:nth-child(2) {
  transition-delay: 0.15s;
}
.goals-list .goal-item:nth-child(3) {
  transition-delay: 0.25s;
}
.goals-list .goal-item:nth-child(4) {
  transition-delay: 0.35s;
}
.goals-list .goal-item:nth-child(5) {
  transition-delay: 0.45s;
}
.goals-list .goal-item:nth-child(6) {
  transition-delay: 0.55s;
}
.goals-list .goal-item:nth-child(7) {
  transition-delay: 0.65s;
}
.goals-list .goal-item:nth-child(8) {
  transition-delay: 0.75s;
}

.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 22, 66, 0.75);
  backdrop-filter: blur(6px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.popup-overlay.active {
  display: flex;
  opacity: 1;
  animation: popup-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popup-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.popup-content {
  background: #fff;
  border-radius: var(--border-radius-lg);
  max-width: 700px;
  width: 90%;
  position: relative;
  box-shadow: 0 40px 100px rgba(13, 22, 66, 0.4);
  animation: slide-up 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.05s both;
}

@keyframes slide-up {
  from {
    transform: translateY(50px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.popup-close {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.popup-close:hover {
  background: var(--secondary-color);
  transform: rotate(90deg);
}

.popup-title {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 25px;
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--secondary-color);
}

.popup-image img {
  width: 100%;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-medium);
}

.organizational-section {
  padding: 35px;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #f9f9fb 0%, #f1f3ff 100%);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-subtle);
  border-top: 4px solid var(--secondary-color);
  transition: box-shadow 0.3s ease;
}

.organizational-section:hover {
  box-shadow: var(--shadow-card);
}

.organizational-section .section-title {
  color: var(--color-primary);
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-description {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 25px;
  padding-right: 18px;
  border-right: 4px solid var(--secondary-color);
  border-radius: 0 4px 4px 0;
  background: rgba(189, 157, 108, 0.05);
  padding: 12px 18px;
}

.table-container {
  overflow-x: auto;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-subtle);
}

.organizational-section table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}

.organizational-section th,
.organizational-section td {
  padding: 15px 18px;
  text-align: right;
  border: 1px solid #e8ebf5;
  font-size: 1rem;
}

.organizational-section th {
  background: linear-gradient(
    135deg,
    var(--color-primary-light),
    var(--color-primary-dark)
  );
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
}

.organizational-section th:first-child {
  border-radius: 0 var(--border-radius-sm) 0 0;
}
.organizational-section th:last-child {
  border-radius: var(--border-radius-sm) 0 0 0;
}

.organizational-section tbody tr {
  transition: background 0.2s ease;
}

.organizational-section tbody tr:nth-child(even) td {
  background: #f8f9ff;
}

.organizational-section tbody tr:hover td {
  background: rgba(189, 157, 108, 0.08);
}

.total-stats-section {
  margin-bottom: 40px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.total-table-container {
  overflow-x: auto;
  border-radius: var(--border-radius-md);
  border: 1px solid #e0e4f0;
}

.total-stats-section table {
  width: 100%;
  border-collapse: collapse;
}

.total-stats-section th,
.total-stats-section td {
  padding: 13px 10px;
  text-align: center;
  border: 1px solid #e0e0e0;
  font-size: 0.95rem;
}

.total-stats-section thead th {
  background: linear-gradient(
    135deg,
    var(--color-primary-light),
    var(--color-primary-dark)
  );
  color: #fff;
  font-weight: 700;
}

.specialization-header {
  background-color: var(--secondary-color) !important;
  color: var(--color-primary) !important;
  font-size: 1.05rem !important;
}

.years-header {
  background-color: #3f5d81 !important;
  color: #fff !important;
}

.total-column-header,
.total-column-cell {
  background-color: #eef3ff !important;
  color: var(--color-primary);
  font-weight: bold;
  border-left: 3px solid var(--secondary-color) !important;
}

.total-stats-section tbody td {
  background: #fff;
}
.total-stats-section tbody tr:nth-child(even) td {
  background: #f7f8ff;
}

.total-stats-section tbody tr:hover td {
  background: rgba(189, 157, 108, 0.07);
}

.specialization-cell {
  text-align: right !important;
  font-weight: 600;
  padding-right: 20px !important;
  background: linear-gradient(135deg, #f5f6ff, #f0f2ff) !important;
}

.footer-row {
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--secondary-dark)
  );
  color: var(--color-primary);
  font-weight: 700;
  border-top: 3px solid var(--color-primary);
}

.footer-row td {
  font-weight: 700;
  background-color: inherit !important;
  color: inherit !important;
}

.footer-row .final-total-cell {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-dark)
  ) !important;
  color: var(--secondary-color) !important;
  font-size: 1.2rem;
}

.final-summary-row td {
  text-align: center !important;
  padding: 18px !important;
  font-size: 1.3rem;
  font-weight: 700;
  background: #fff !important;
}

.final-number {
  color: var(--color-primary-light);
  font-size: 1.5rem;
  font-weight: 800;
}

.hero-section {
  background: linear-gradient(
    135deg,
    var(--color-primary-dark) 0%,
    var(--color-primary-light) 50%,
    #3d6ab0 100%
  );
  color: #fff;
  padding: 80px 0;
  text-align: center;
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-section h1 {
  color: var(--secondary-color);
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-section h2 {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.5rem;
  border: none;
  display: block;
  font-weight: 400;
  position: relative;
}

.intro-section {
  padding: 60px 0;
}

.intro-section p {
  font-size: 1.1rem;
  line-height: 1.9;
  background: #fff;
  padding: 30px 35px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-card);
  border-right: 5px solid var(--secondary-color);
  color: var(--text-color);
  position: relative;
}

.partners-section {
  background: linear-gradient(180deg, #f0f2ff 0%, #ffffff 100%);
  padding: 60px 0;
}

.partners-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  border: 1px solid rgba(57, 73, 171, 0.1);
  transition: box-shadow 0.3s ease;
}

.partners-list:hover {
  box-shadow: var(--shadow-hover);
}

.partners-list h3 {
  text-align: right;
  color: var(--color-primary);
  padding: 20px 25px 15px;
  border-bottom: 2px solid var(--secondary-color);
  display: block;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #f8f9ff, #fff);
}

.partners-list ul {
  list-style: none;
  padding: 0 25px 20px;
  margin-bottom: 0;
}

.partners-list li {
  padding: 12px 0;
  font-size: 1.05rem;
  border-bottom: 1px dashed rgba(57, 73, 171, 0.1);
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.partners-list li::before {
  content: "▸";
  color: var(--secondary-color);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: transform 0.25s;
}

.partners-list li:hover {
  background: rgba(189, 157, 108, 0.07);
  padding-right: 8px;
  color: var(--color-primary);
  border-radius: 6px;
}

.partners-list li:hover::before {
  transform: translateX(-4px);
}

.partners-list li:last-child {
  border-bottom: none;
}

.role {
  font-weight: 700;
  color: var(--color-primary);
}

.name {
  font-weight: 500;
  color: var(--text-light);
}

.application-section {
  padding: 60px 0;
}

.application-section h2 {
  margin-bottom: 25px;
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 10px;
  color: var(--color-primary);
}

.image-placeholder {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-card);
  text-align: center;
  border: 2px solid rgba(189, 157, 108, 0.3);
  transition:
    box-shadow 0.35s,
    transform 0.35s;
}

.image-placeholder:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.02);
}

.image-placeholder img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-sm);
}

[data-animate="fade-in"] {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity var(--transition-scroll),
    transform var(--transition-scroll);
}

[data-animate="fade-in"].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-in-list"] {
  opacity: 0;
  transform: translateX(25px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

[data-animate="fade-in-list"].visible {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="fade-in-list"]:nth-child(2) {
  transition-delay: 0.1s;
}
[data-animate="fade-in-list"]:nth-child(3) {
  transition-delay: 0.2s;
}
[data-animate="fade-in-list"]:nth-child(4) {
  transition-delay: 0.3s;
}
[data-animate="fade-in-list"]:nth-child(5) {
  transition-delay: 0.4s;
}
[data-animate="fade-in-list"]:nth-child(6) {
  transition-delay: 0.5s;
}
[data-animate="fade-in-list"]:nth-child(7) {
  transition-delay: 0.6s;
}
[data-animate="fade-in-list"]:nth-child(8) {
  transition-delay: 0.7s;
}
[data-animate="fade-in-list"]:nth-child(9) {
  transition-delay: 0.8s;
}
[data-animate="fade-in-list"]:nth-child(10) {
  transition-delay: 0.9s;
}
[data-animate="fade-in-list"]:nth-child(11) {
  transition-delay: 1s;
}

/*  RESPONSIVE  */
@media (max-width: 992px) {
  .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .unit-header h1 {
    font-size: 2.4rem;
  }
  .goals-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .body-section {
    padding: 35px 25px;
  }
}

@media (max-width: 768px) {
  .popup-title {
    font-size: 11px;
  }
  .popup-close {
    width: 23px;
    height: 23px;
  }
  .list-study li a {
    font-size: 13px;
  }
  .unit-header {
    padding: 40px 20px;
  }
  .unit-header h1 {
    font-size: 2rem;
  }
  .unit-header .subtitle {
    font-size: 1rem;
  }
  .card-title {
    font-size: 1.5rem;
  }
  .section-title-goal {
    font-size: 1.8rem;
  }
  .goals-list {
    grid-template-columns: 1fr;
  }
  .contact-details {
    flex-direction: column;
    gap: 15px;
  }
  .contact-card {
    padding: 40px 25px;
  }
  .body-section {
    padding: 25px 20px;
  }
  .goals-section {
    padding: 35px 20px;
  }
  .system-of-study {
    padding: 22px 20px;
  }

  .total-stats-section table {
    min-width: 100%;
    display: block;
  }
  .total-table-container {
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .total-stats-section thead {
    display: none;
  }

  .total-stats-section table tbody,
  .total-stats-section table tfoot,
  .total-stats-section table tr {
    display: block;
  }

  .total-stats-section table tr {
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
  }

  .total-stats-section td {
    display: block;
    text-align: right;
    border-bottom: 1px solid #f1f1f1;
    position: relative;
    padding-right: 50% !important;
    padding-left: 10px !important;
  }

  .total-stats-section td:last-child {
    border-bottom: 0;
  }

  .total-stats-section td::before {
    content: attr(data-label);
    position: absolute;
    right: 10px;
    width: 45%;
    padding-left: 10px;
    font-weight: 700;
    color: var(--color-primary);
    text-align: right;
  }

  .specialization-cell {
    background: linear-gradient(
      135deg,
      var(--color-primary-light),
      var(--color-primary-dark)
    ) !important;
    color: #fff !important;
    text-align: center !important;
    font-size: 1.05rem;
    padding: 15px !important;
  }

  .specialization-cell::before {
    content: none;
  }

  .total-column-cell {
    background: #f0f3ff !important;
    font-size: 1.05rem;
  }

  .footer-row {
    margin-top: 40px;
    border: none;
    background: #fff;
  }
  .footer-row td {
    display: block;
    background: #fff !important;
    color: var(--text-color) !important;
    border: none;
  }

  .footer-row .final-total-cell {
    background: linear-gradient(
      135deg,
      var(--color-primary),
      var(--color-primary-dark)
    ) !important;
    color: var(--secondary-color) !important;
    font-size: 1.2rem;
    text-align: center !important;
    border-radius: 8px;
  }

  .final-summary-row {
    margin-top: 20px;
    border-top: 2px solid var(--secondary-color);
  }
}

@media (max-width: 480px) {
  .unit-section {
    padding: 40px 0;
  }
  .unit-header {
    margin-bottom: 30px;
    padding: 30px 15px;
  }
  .unit-header h1 {
    font-size: 1.6rem;
  }
  .content-card {
    padding: 25px 20px;
  }
  .btn-main {
    padding: 13px 35px;
    font-size: 1rem;
  }
  .hero-section h1 {
    font-size: 2.2rem;
  }

  .total-stats-section table {
    min-width: 100%;
  }
}

@media (max-width: 1500px) {
  .total-stats-section table {
    min-width: 1200px;
  }
}

@media (min-width: 768px) {
  .hero-section h1 {
    font-size: 3.5rem;
  }
  .hero-section h2 {
    font-size: 1.8rem;
  }
}

@media (min-width: 992px) {
  .partners-list {
    grid-template-columns: 1fr 1fr;
  }
}
