/* ==========================================================================
   UNS FINTECH CENTER - STYLESHEET
   Design System & Styling matching official UNS Fintech Center layout & visual identity
   ========================================================================== */

:root {
  --primary-color: #0b2545;
  --primary-light: #134074;
  --secondary-color: #8da9c4;
  --accent-gold: #d4af37;
  --accent-gold-hover: #b89628;
  --text-dark: #1d2d44;
  --text-muted: #6c757d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TOP BAR & HEADER NAVIGATION
   ========================================================================== */
.top-bar {
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info span {
  margin-right: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-links {
  display: flex;
  gap: 1rem;
}

.top-bar-links a {
  color: rgba(255, 255, 255, 0.8);
}

.top-bar-links a:hover {
  color: var(--accent-gold);
}

/* Header */
.main-header {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-logo-img {
  height: 52px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  transition: var(--transition);
}

.header-logo-img:hover {
  transform: scale(1.02);
}

.footer-logo-img {
  height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--primary-light);
  background-color: rgba(19, 64, 116, 0.05);
}

.nav-link i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-link i {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border-top: 3px solid var(--accent-gold);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

.dropdown-item a:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
  padding-left: 1.5rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION & STATS COUNTERS
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(11, 37, 69, 0.92), rgba(19, 64, 116, 0.85)),
              url('assets/uns-fintech/hero-activity.jpg') center/cover no-repeat;
  color: #fff;
  padding: 5rem 0 6rem;
}

.hero-content {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.hero-subtitle {
  display: inline-block;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--accent-gold);
  color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  border-color: #ffffff;
  color: #ffffff;
}

.btn-outline:hover {
  background-color: #ffffff;
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Stats Counter Section */
.stats-container {
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background-color: var(--bg-white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
  border-bottom: 4px solid var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--accent-gold);
}

.stat-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(19, 64, 116, 0.08);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.stat-link {
  font-size: 0.85rem;
  color: var(--primary-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.stat-link:hover {
  color: var(--accent-gold-hover);
}

/* ==========================================================================
   INSTAGRAM FEED STRIP
   ========================================================================== */
.instagram-strip {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

.insta-feed-status {
  min-height: 1.5rem;
  margin: -1.5rem auto 1.5rem;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.85rem;
}

.insta-feed-status.is-error {
  color: #92721a;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-subtitle {
  color: var(--accent-gold-hover);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.3;
}

.insta-banner {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.insta-profile {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.insta-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
}

.insta-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.insta-info p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.insta-card {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-sm);
  background: var(--bg-white);
  transition: var(--transition);
}

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

.insta-card-loading {
  background: linear-gradient(110deg, #e8edf3 8%, #f7f9fb 18%, #e8edf3 33%);
  background-size: 200% 100%;
  animation: insta-loading 1.4s linear infinite;
}

@keyframes insta-loading {
  to { background-position-x: -200%; }
}

.insta-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.insta-media-type {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(11, 37, 69, 0.72);
  backdrop-filter: blur(6px);
  font-size: 0.72rem;
  font-weight: 700;
}

.insta-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 37, 69, 0.85);
  color: #fff;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transition: var(--transition);
}

.insta-card:hover .insta-card-overlay {
  opacity: 1;
}

.insta-card:hover img {
  transform: scale(1.08);
}

.insta-card-overlay p {
  font-size: 0.85rem;
  line-height: 1.4;
}

.insta-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--accent-gold);
}

.insta-card-stats {
  display: inline-flex;
  gap: 0.65rem;
  white-space: nowrap;
}

.insta-card-stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .insta-card-loading {
    animation: none;
  }
}

/* ==========================================================================
   WHAT ARE WE DOING (SERVICES)
   ========================================================================== */
.services-section {
  padding: 5rem 0;
  background-color: var(--bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card.highlight {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: #fff;
  grid-column: span 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.service-card.highlight .service-title {
  color: #fff;
}

.service-card.highlight .service-desc {
  color: rgba(255, 255, 255, 0.9);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(19, 64, 116, 0.08);
  color: var(--primary-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.service-card.highlight .service-icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-gold);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-btn {
  align-self: flex-start;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(19, 64, 116, 0.3);
  box-shadow: 0 14px 28px rgba(11, 37, 69, 0.1);
  transform: translateY(-6px);
}

.service-card:hover::before {
  opacity: 1;
}

/* Top Row inside Card */
.service-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.service-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, rgba(19, 64, 116, 0.08), rgba(212, 175, 55, 0.15));
  color: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
}

.service-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  background-color: rgba(19, 64, 116, 0.08);
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.service-badge.live-badge {
  background-color: rgba(212, 175, 55, 0.25);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
}

.service-badge.live-badge i {
  font-size: 0.6rem;
  color: #22c55e;
  margin-right: 0.3rem;
  animation: pulse-live 1.5s infinite;
}

@keyframes pulse-live {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

/* Tag Pills */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.tag-pill {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  background: var(--bg-light);
  color: var(--primary-light);
  border: 1px solid rgba(19, 64, 116, 0.1);
}

/* Bullet points highlights */
.service-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.service-highlights li {
  font-size: 0.88rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-highlights li i {
  color: #16a34a;
  font-size: 0.85rem;
}

/* Highlight Refinitiv Card */
.service-card.highlight {
  background: linear-gradient(135deg, #0b2545 0%, #134074 60%, #1d2d44 100%);
  color: #fff;
  grid-column: span 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 2.75rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.service-card.highlight .service-icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-gold);
}

.service-card.highlight .service-title {
  color: #fff;
}

.service-card.highlight .service-desc {
  color: rgba(255, 255, 255, 0.9);
}

.service-card.highlight .tag-pill {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-gold);
  border-color: rgba(255, 255, 255, 0.2);
}

.service-card.highlight .service-highlights li {
  color: rgba(255, 255, 255, 0.95);
}

.service-card.highlight .service-highlights li i {
  color: var(--accent-gold);
}

.service-action-area {
  flex-shrink: 0;
}

/* Custom Service Action Button */
.service-btn-custom {
  align-self: flex-start;
  margin-top: auto;
  color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-btn-custom i {
  transition: transform 0.2s ease;
}

.service-btn-custom:hover i {
  transform: translateX(4px);
}

.service-card.highlight .service-icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-gold);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-btn {
  align-self: flex-start;
}

.uns-meter-home {
  border-top: 3px solid #00afef;
}

.uns-meter-points {
  display: grid;
  gap: 0.55rem;
  margin: -0.25rem 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.uns-meter-points li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.uns-meter-points i {
  margin-top: 0.2rem;
  color: #00afef;
  font-size: 0.72rem;
}

/* ==========================================================================
   ABOUT UNS FINTECH CENTER
   ========================================================================== */
.about-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--primary-color);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.about-badge h4 {
  font-size: 1.1rem;
  color: var(--accent-gold);
}

.about-badge p {
  font-size: 0.85rem;
  opacity: 0.85;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.about-content p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   EVENTS & NEWS SECTION
   ========================================================================== */
.events-section {
  padding: 5rem 0;
}

.events-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  background-color: var(--bg-light);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.event-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.event-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
  background-color: var(--primary-light);
}

.event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent-gold);
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
}

.event-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.event-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.event-title a:hover {
  color: var(--accent-gold-hover);
}

.event-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.event-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-author {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.read-more-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
}

.read-more-link:hover {
  color: var(--accent-gold-hover);
}

.section-footer-action {
  text-align: center;
}

/* ==========================================================================
   PARTNERS SHOWCASE
   ========================================================================== */
.partners-section {
  padding: 4rem 0;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.partners-slider {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.partner-logo {
  padding: 1rem 1.5rem;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition);
}

.partner-logo:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold);
  transform: scale(1.04);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
  background-color: var(--primary-color);
  color: #fff;
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 0.3rem;
}

.footer-contact li {
  display: flex;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--accent-gold);
  color: var(--primary-color);
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Modal Popup */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal.open {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: var(--radius-md);
  max-width: 650px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card.highlight {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    padding-left: 1.5rem;
    display: none;
  }

  .nav-item.active .dropdown-menu {
    display: block;
  }
  
  .hero-title {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================== 
   REFERENCE SITE VISUAL OVERRIDES
   Matched to fintechcenter.uns.ac.id: Open Sans, white/cyan header,
   blue-violet accents, wide content, and the clean Instagram widget.
   ========================================================================== */
:root {
  --primary-color: #141b38;
  --primary-light: #00afef;
  --accent-gold: #605be5;
  --accent-gold-hover: #00bbff;
  --text-dark: #333333;
  --text-muted: #666666;
  --bg-light: #ffffff;
  --bg-white: #ffffff;
  --border-color: #e8e8eb;
  --shadow-sm: 0 2px 8px rgba(20, 27, 56, 0.06);
  --shadow-md: 0 10px 28px rgba(20, 27, 56, 0.1);
  --shadow-lg: 0 18px 40px rgba(20, 27, 56, 0.14);
  --radius-sm: 4px;
  --radius-md: 4px;
  --radius-lg: 4px;
  --font-heading: 'Roboto', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  color: #333333;
  background: #ffffff;
  font-size: 16px;
}

.top-bar {
  display: none;
}

.main-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 95%, #00bbff 100%);
  box-shadow: none;
  border-bottom: 0;
}

.header-container {
  max-width: 1320px;
  height: 92px;
}

.header-logo-img {
  height: 72px;
  max-width: 140px;
}

.nav-menu {
  gap: 0.15rem;
}

.nav-link {
  padding: 0.7rem 0.8rem;
  color: #000000;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
  border-radius: 0;
}

.nav-link:hover,
.nav-item.active .nav-link {
  color: #00afef;
  background: transparent;
}

.header-tools {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #000000;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
}

.header-tools a:hover,
.header-search:hover {
  color: #00afef;
}

.header-search {
  margin-left: 0.55rem;
  padding: 0;
  color: #00afef;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.dropdown-menu {
  min-width: 179px;
  margin-top: 1.05rem;
  border-top: 0;
  border-radius: 0;
  box-shadow: 0 1px 16px rgba(0, 0, 0, 0.5);
}

.dropdown-item a {
  padding: 0.65rem 0.95rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
}

.dropdown-item a:hover {
  padding-left: 0.95rem;
  color: #ffffff;
  background: #00bbff;
}

.hero-section {
  min-height: 560px;
  padding: 0;
  background-image: url('assets/uns-fintech/hero-activity.jpg');
  background-position: center;
  background-size: cover;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 27, 56, 0.12), rgba(20, 27, 56, 0));
}

.hero-content {
  display: none;
}

.stats-container {
  margin-top: 0;
  padding: 2.4rem 0;
  background: #ffffff;
}

.stat-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 1rem;
  align-items: flex-start;
  text-align: left;
}

.stat-card:hover {
  transform: none;
  box-shadow: none;
}

.stat-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.65rem;
  color: #00afef;
  background: rgba(0, 175, 239, 0.09);
  border-radius: 2px;
  font-size: 1.15rem;
}

.stat-number,
.stat-label,
.stat-link {
  color: #141b38;
}

.stat-number {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.7rem;
}

.stat-link:hover {
  color: #00afef;
}

.section-subtitle {
  color: #00afef;
}

.section-title,
.about-content h2,
.service-title,
.event-title {
  color: #141b38;
  font-family: 'Roboto', Arial, sans-serif;
}

.btn {
  border-radius: 4px;
  font-family: 'Open Sans', Arial, sans-serif;
}

.btn-primary {
  background: #408bd1;
  color: #ffffff;
  border-color: #408bd1;
}

.btn-primary:hover {
  background: #359dff;
  border-color: #359dff;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(64, 139, 209, 0.22);
}

.btn-outline {
  border-color: #00afef;
  color: #00afef;
}

.btn-outline:hover {
  background: #00afef;
  color: #ffffff;
}

.instagram-strip {
  padding: 2.1rem 0 0.65rem;
  background: #ffffff;
}

.instagram-strip .container {
  max-width: 1730px;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

.instagram-strip .section-header {
  display: none;
}

.insta-banner {
  justify-content: flex-start;
  margin-bottom: 1.5rem;
  padding: 0;
  color: #333333;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.insta-profile {
  gap: 1rem;
}

.insta-avatar {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

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

.insta-info h3,
.insta-info p {
  color: #605be5;
}

.insta-info h3 {
  margin-bottom: 0.1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.insta-info p {
  font-size: 0.95rem;
  line-height: 1.45;
  opacity: 1;
}

.insta-feed-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.insta-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 1.45rem;
}

.insta-card {
  border-radius: 0;
  box-shadow: none;
}

.insta-card:hover {
  transform: none;
  box-shadow: none;
}

.insta-card-overlay {
  background: rgba(20, 27, 56, 0.82);
  padding: 1.1rem;
}

.insta-media-type {
  top: 50%;
  right: auto;
  left: 50%;
  padding: 0;
  color: #ffffff;
  background: transparent;
  backdrop-filter: none;
  font-size: 0;
  transform: translate(-50%, -50%);
}

.insta-media-type i {
  font-size: 2rem;
}

.insta-card .insta-media-type:nth-of-type(2) {
  top: 1rem;
  right: 1rem;
  left: auto;
  transform: none;
}

.insta-card .insta-media-type:nth-of-type(2) i {
  font-size: 1.25rem;
}

.insta-card-footer {
  color: #ffffff;
}

.insta-card-stats {
  color: #ffffff;
}

.insta-follow-action {
  display: flex;
  justify-content: center;
}

.insta-follow-action .btn-primary {
  min-width: 252px;
  justify-content: center;
  padding: 0.78rem 1.35rem;
}

.services-section,
.events-section,
.about-section {
  background: #ffffff;
}

.about-section {
  background: #f9f9fa;
}

.service-card.highlight {
  background: linear-gradient(135deg, #0068a0, #00afef);
  border-radius: 4px;
}

.filter-btn.active,
.filter-btn:hover {
  background: #00afef;
  border-color: #00afef;
}

.event-category {
  background: #00afef;
  color: #ffffff;
}

.partners-section {
  background: #f9f9fa;
}

.footer {
  background: #141b38;
}

@media (max-width: 992px) {
  .instagram-strip .container {
    max-width: 960px;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 78px;
  }

  .header-logo-img {
    height: 58px;
  }

  .nav-menu {
    top: 78px;
  }

  .header-tools {
    display: none;
  }

  .insta-banner {
    align-items: flex-start;
  }

  .insta-info p {
    font-size: 0.82rem;
  }

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

/* Homepage alignment with the official UNS Fintech Center composition */
.hero-section {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #0c2b4d;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  animation: fintechHeroSlide 24s infinite;
}

.hero-slide-one {
  background-image: url('assets/uns-fintech/hero-activity.jpg');
  animation-delay: 0s;
}

.hero-slide-two {
  background-image: url('assets/uns-fintech/hero-slide-2.jpg');
  animation-delay: 6s;
}

.hero-slide-three {
  background-image: url('assets/uns-fintech/hero-slide-3.jpg');
  animation-delay: 12s;
}

.hero-slide-four {
  background-image: url('assets/uns-fintech/hero-slide-4.jpg');
  animation-delay: 18s;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(9, 30, 58, 0.1);
}

.hero-slider-controls {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.75rem;
  pointer-events: none;
}

.hero-slider-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 50%;
  font-size: 0.82rem;
}

@keyframes fintechHeroSlide {
  0%, 20% { opacity: 1; transform: scale(1); }
  25%, 95% { opacity: 0; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}

.stats-container {
  display: none;
}

.events-section {
  padding: 4.75rem 0 5.5rem;
}

.events-grid {
  gap: 2.35rem 1.6rem;
}

.event-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.event-card:hover {
  box-shadow: none;
  transform: none;
}

.event-thumb {
  height: 230px;
  background: #eef3f7;
}

.event-category {
  top: auto;
  bottom: 0;
  left: 0;
  padding: 0.35rem 0.85rem;
  border-radius: 0;
  font-size: 0.68rem;
}

.event-body {
  padding: 1rem 0 0;
}

.event-footer {
  display: none;
}

.partners-section {
  padding: 4.75rem 0;
  background: #ffffff;
  border: 0;
}

.partners-slider {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2.25rem 1.25rem;
  margin-top: 2.8rem;
}

.partner-logo {
  display: grid;
  min-height: 92px;
  padding: 0.6rem;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.partner-logo img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.82;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.partner-logo:hover {
  border: 0;
  box-shadow: none;
  transform: none;
}

.partner-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 992px) {
  .hero-section {
    min-height: 500px;
  }

  .partners-slider {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-section {
    min-height: 360px;
  }

  .hero-slider-controls {
    padding: 0 0.8rem;
  }

  .hero-slider-arrow {
    width: 34px;
    height: 34px;
  }

  .event-thumb {
    height: 220px;
  }

  .partners-slider {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* COMPACT TEAM FOOTER - REFERENCE PAGE */
body[data-page="team"] .reference-footer {
  height: 260px;
  padding: 0;
  background: var(--primary-color);
  color: #fff;
  overflow: hidden;
}

body[data-page="team"] .reference-footer-inner {
  width: min(1140px, calc(100% - 32px));
  height: 213px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 365px 392px 228px;
  align-items: start;
}

body[data-page="team"] .reference-footer-logo-link {
  display: block;
  width: 215px;
  height: 141px;
  margin: 30px 0 0 70px;
}

body[data-page="team"] .reference-footer-logo-link img {
  display: block;
  width: 172px;
  height: 141px;
  margin-left: 22px;
  object-fit: contain;
}

body[data-page="team"] .reference-footer-about,
body[data-page="team"] .reference-footer-request {
  margin-top: 30px;
  font-family: "Open Sans", sans-serif;
}

body[data-page="team"] .reference-footer-about h2,
body[data-page="team"] .reference-footer-request h2 {
  margin: 0;
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
}

body[data-page="team"] .reference-footer-about h2 {
  font-size: 18px;
  line-height: 18px;
}

body[data-page="team"] .reference-footer-about p {
  margin: 0;
  color: #fff;
  font-size: 13px;
  line-height: 19.5px;
  transform: translateY(-1px);
}

body[data-page="team"] .reference-footer-about p:last-child {
  margin-top: 34px;
  font-size: 12px;
  line-height: 18px;
}

body[data-page="team"] .reference-footer-request {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

body[data-page="team"] .reference-footer-request h2 {
  font-size: 15px;
  line-height: 15px;
}

body[data-page="team"] .reference-footer-request a {
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  text-decoration: none;
}

body[data-page="team"] .reference-footer-request .reference-footer-click {
  margin-top: 5px;
  color: var(--accent-cyan);
}

body[data-page="team"] .reference-footer-request > a:nth-of-type(2) {
  margin-top: 30px;
}

body[data-page="team"] .reference-footer-request > a:nth-of-type(3) {
  margin-top: 11px;
}

body[data-page="team"] .reference-footer-social {
  display: flex;
  gap: 5px;
  margin-top: 12px;
}

body[data-page="team"] .reference-footer-social a {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
}

body[data-page="team"] .reference-footer-bottom {
  height: 47px;
  padding: 8px 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: Roboto, sans-serif;
  font-size: 9px;
  line-height: 13.5px;
}

@media (max-width: 992px) {
  body[data-page="team"] .reference-footer-inner {
    grid-template-columns: 30% 40% 30%;
  }

  body[data-page="team"] .reference-footer-logo-link {
    margin-left: 20px;
  }
}

@media (max-width: 640px) {
  body[data-page="team"] .reference-footer {
    height: auto;
    min-height: 520px;
  }

  body[data-page="team"] .reference-footer-inner {
    width: calc(100% - 40px);
    height: auto;
    min-height: 470px;
    display: flex;
    flex-direction: column;
  }

  body[data-page="team"] .reference-footer-logo-link {
    margin: 24px 0 0;
  }

  body[data-page="team"] .reference-footer-about,
  body[data-page="team"] .reference-footer-request {
    margin-top: 22px;
  }

  body[data-page="team"] .reference-footer-bottom {
    height: 50px;
  }
}

/* ========================================================================== 
   INNER PAGES
   ========================================================================== */
.inner-page .main-header {
  position: sticky;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 6.25rem 0 4.5rem;
  color: #ffffff;
  background: linear-gradient(115deg, rgba(20, 27, 56, 0.92), rgba(0, 104, 160, 0.78)), url('assets/uns-fintech/activity-event.jpg') center/cover;
}

.page-hero .container {
  position: relative;
  max-width: 1200px;
}

.page-eyebrow,
.page-breadcrumb {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 760px;
  margin: 0.5rem 0 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.12;
}

.page-hero p {
  max-width: 680px;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.75;
}

.page-breadcrumb {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  letter-spacing: 0.04em;
  text-transform: none;
}

.page-breadcrumb a:hover {
  color: #00bbff;
}

.page-section {
  padding: 5rem 0;
}

.alt-section {
  background: #f5f8fb;
}

.content-grid-two,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 4.5rem;
  align-items: center;
}

.prose-content h2,
.section-intro h2,
.contact-details h2 {
  margin: 0.4rem 0 1.2rem;
  color: #141b38;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  line-height: 1.2;
}

.prose-content p,
.section-intro p,
.contact-details p {
  margin-bottom: 1.25rem;
  color: #5c6470;
  line-height: 1.8;
}

.image-panel {
  min-height: 360px;
  overflow: hidden;
  background: #e5edf5;
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.detail-visual {
  display: grid;
  gap: 1rem;
}

.detail-visual > img {
  width: 100%;
  height: 265px;
  object-fit: cover;
}

.detail-aside,
.refinitiv-panel {
  padding: 2.5rem;
  color: #ffffff;
  background: linear-gradient(145deg, #0068a0, #00afef);
  box-shadow: 0 16px 38px rgba(0, 104, 160, 0.22);
}

.detail-aside h3,
.refinitiv-panel h3 {
  margin: 1.25rem 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.4rem;
}

.page-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  color: #00afef;
  background: rgba(0, 175, 239, 0.1);
  font-size: 1.3rem;
}

.page-icon.large {
  width: 64px;
  height: 64px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.75rem;
}

.check-list,
.contact-list {
  display: grid;
  gap: 0.9rem;
}

.check-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  line-height: 1.45;
}

.check-list i {
  margin-top: 0.2rem;
  color: #ffffff;
  font-size: 0.78rem;
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.service-page-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-card {
  display: flex;
  flex-direction: column;
  min-height: 248px;
  padding: 2rem;
  color: #333333;
  background: #ffffff;
  border: 1px solid #e8e8eb;
  box-shadow: 0 5px 18px rgba(20, 27, 56, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.page-card:hover {
  border-color: #00afef;
  box-shadow: 0 14px 30px rgba(20, 27, 56, 0.1);
  transform: translateY(-5px);
}

.page-card-image {
  overflow: hidden;
}

.page-card-image > img {
  width: calc(100% + 4rem);
  height: 180px;
  margin: -2rem -2rem 1.3rem;
  object-fit: cover;
}

.page-card-image h3 {
  margin-top: 0;
}

.page-card h3 {
  margin: 1.15rem 0 0.65rem;
  color: #141b38;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
}

.page-card p {
  color: #64707e;
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  margin-top: auto;
  padding-top: 1.35rem;
  color: #00afef;
  font-size: 0.86rem;
  font-weight: 700;
}

.compact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #dfe6ee;
}

.uns-meter-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compact-list article {
  padding: 2rem 1.5rem 1.25rem 0;
  border-right: 1px solid #dfe6ee;
}

.compact-list article + article {
  padding-left: 1.5rem;
}

.compact-list article:last-child {
  border-right: 0;
}

.compact-list span {
  display: block;
  margin-bottom: 1rem;
  color: #00afef;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
}

.compact-list h3 {
  margin-bottom: 0.65rem;
  color: #141b38;
  font-family: 'Roboto', Arial, sans-serif;
}

.compact-list p {
  color: #64707e;
  line-height: 1.7;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 2.8rem;
  text-align: center;
}

.value-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.value-grid article {
  padding: 1.7rem;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e8e8eb;
}

.value-grid i {
  color: #00afef;
  font-size: 1.75rem;
}

.value-grid h3 {
  margin: 1rem 0 0.55rem;
  color: #141b38;
  font-family: 'Roboto', Arial, sans-serif;
}

.value-grid p {
  color: #64707e;
  font-size: 0.92rem;
  line-height: 1.6;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-cover {
  margin-bottom: 3rem;
  overflow: hidden;
}

.team-cover img {
  display: block;
  width: 100%;
  height: min(42vw, 430px);
  object-fit: cover;
}

.team-group-title {
  margin: 3rem 0 1.3rem;
  color: #141b38;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.55rem;
}

.leadership-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin: 0 auto;
}

.team-photo {
  display: block;
  width: 150px;
  height: 150px;
  margin: 0 auto 1.25rem;
  object-fit: cover;
  border-radius: 50%;
  background: #eef5f8;
}

.team-card.featured .team-photo {
  width: 180px;
  height: 180px;
}

.team-card {
  padding: 2rem;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e8e8eb;
}

.team-card.featured {
  border-top: 3px solid #00afef;
}

.team-initial {
  display: flex;
  width: 76px;
  height: 76px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #ffffff;
  background: linear-gradient(135deg, #0068a0, #00afef);
  border-radius: 50%;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.team-card h3 {
  color: #141b38;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
}

.team-card p {
  margin: 0.35rem 0;
  color: #00afef;
  font-size: 0.86rem;
  font-weight: 700;
}

.team-card span {
  color: #707987;
  font-size: 0.82rem;
}

.timeline-list,
.news-list {
  display: grid;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-list article,
.news-list article {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid #e4e9ef;
}

.timeline-list time {
  color: #00afef;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
}

.timeline-list h3,
.news-list h3 {
  margin: 0.25rem 0 0.65rem;
  color: #141b38;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.35rem;
}

.timeline-list p,
.news-list p {
  color: #64707e;
  line-height: 1.7;
}

.media-list {
  display: grid;
  max-width: 1000px;
  margin: 0 auto;
}

.media-list article {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e4e9ef;
}

.media-list article > img {
  width: 220px;
  height: 140px;
  object-fit: cover;
}

.media-list time {
  display: block;
  margin-bottom: 0.45rem;
  color: #00afef;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
}

.media-list h3 {
  margin: 0.25rem 0 0.65rem;
  color: #141b38;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.35rem;
}

.media-list p {
  color: #64707e;
  line-height: 1.7;
}

.news-date {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  color: #00afef;
}

.news-date strong {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 3rem;
  line-height: 1;
}

.news-date span {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}

.refinitiv-panel > i {
  color: #ffffff;
  font-size: 3rem;
}

.contact-layout {
  align-items: start;
}

.contact-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  color: #596473;
  line-height: 1.6;
}

.contact-list i {
  width: 1rem;
  margin-top: 0.35rem;
  color: #00afef;
}

.contact-list a:hover {
  color: #00afef;
}

.contact-page-form {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  background: #f5f8fb;
  border: 1px solid #e2e9f1;
}

.contact-page-form label {
  display: grid;
  gap: 0.4rem;
  color: #141b38;
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-page-form input,
.contact-page-form textarea,
.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  color: #333333;
  font: inherit;
  background: #ffffff;
  border: 1px solid #dce3eb;
  border-radius: 2px;
}

.contact-page-form input:focus,
.contact-page-form textarea:focus {
  border-color: #00afef;
  outline: 2px solid rgba(0, 175, 239, 0.16);
}

.form-message {
  color: #178852;
  font-size: 0.85rem;
  font-weight: 700;
}

.footer-contact-button {
  width: 100%;
  justify-content: center;
  margin-top: 0.8rem;
}

.modal-content form {
  display: grid;
  gap: 0.85rem;
}

.modal-content form .btn {
  justify-self: end;
}

@media (max-width: 992px) {
  .content-grid-two,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .page-card-grid,
  .team-grid,
  .value-grid,
  .compact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .compact-list article:nth-child(2) {
    border-right: 0;
  }

  .compact-list article:nth-child(3) {
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: 4.5rem 0 3.25rem;
  }

  .page-section {
    padding: 3.5rem 0;
  }

  .service-page-grid,
  .page-card-grid,
  .team-grid,
  .value-grid,
  .compact-list {
    grid-template-columns: 1fr;
  }

  .compact-list article,
  .compact-list article + article,
  .compact-list article:nth-child(3) {
    padding: 1.5rem 0;
    border-right: 0;
    border-bottom: 1px solid #dfe6ee;
  }

  .timeline-list article,
  .news-list article {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .team-cover img {
    height: 230px;
  }

  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .media-list article {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .media-list article > img {
    width: 100%;
    height: 210px;
  }
}

/* ========================================================================== 
   TEAM PAGE - REFERENCE LAYOUT
   ========================================================================== */
body[data-page="team"] {
  color: #333333;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.8;
}

body[data-page="team"] .main-header {
  position: sticky;
  top: 0;
  height: 65px;
  background: #ffffff;
  border-bottom: 3px solid #19b8e8;
  box-shadow: none;
  z-index: 1000;
}

body[data-page="team"] .header-container {
  max-width: 1140px;
  height: 65px;
  padding: 0;
}

body[data-page="team"] .header-logo-img {
  height: 70px;
  max-width: 140px;
}

body[data-page="team"] .nav-menu {
  gap: 0;
}

body[data-page="team"] .nav-link {
  padding: 0.4rem 0.85rem;
  color: #000000;
  font-size: 0.83rem;
  font-weight: 600;
}

body[data-page="team"] .nav-link:hover,
body[data-page="team"] .nav-item.active .nav-link {
  color: #00afef;
  background: transparent;
}

body[data-page="team"] .header-tools {
  font-size: 0.72rem;
}

body[data-page="team"] #pageContent {
  background: #ffffff;
}

.team-reference-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.team-reference-intro {
  height: 424px;
  padding-top: 20px;
  background: #ffffff;
}

.team-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: 404px;
}

.team-intro-media {
  position: relative;
  height: 404px;
  padding: 20px 10px 0 20px;
}

.team-intro-photo {
  width: 500px;
  height: 333px;
  overflow: hidden;
  border-radius: 8px;
}

.team-intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-intro-logo {
  position: absolute;
  right: 20px;
  bottom: 19px;
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 24px;
}

.team-intro-copy {
  padding: 10px;
}

.team-intro-copy h1 {
  margin: 0;
  color: #333333;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 23px;
  line-height: 23px;
  font-weight: 700;
}

.team-intro-rule {
  height: 4px;
  margin: 10px 0 7px;
  background: #19b8e8;
}

.team-intro-copy p {
  margin: 0 0 14.4px;
  color: #000000;
  font-size: 13px;
  line-height: 23.4px;
}

.team-reference-main {
  padding-bottom: 20px;
  overflow: hidden;
}

.team-reference-labels,
.team-reference-project-heading {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: 44px;
  align-items: center;
}

.team-reference-labels {
  margin-top: 41px;
}

.team-reference-heading h2,
.team-reference-labels h2,
.team-reference-project-heading h2 {
  margin: 0;
  color: #333333;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 24px;
  line-height: 24px;
  font-weight: 700;
  text-align: center;
}

.team-reference-grid {
  display: grid;
  grid-template-columns: repeat(6, 170px);
  grid-auto-rows: 319px;
  column-gap: 20px;
  row-gap: 0;
  width: 1120px;
  margin: 20px auto 0;
}

.leadership-grid-reference {
  grid-template-columns: repeat(2, 550px);
  grid-auto-rows: 476px;
}

.reference-team-card {
  height: 319px;
  padding-top: 10px;
  text-align: center;
}

.reference-team-card > img {
  display: block;
  width: 170px;
  height: 227px;
  margin: 0 auto 16px;
  object-fit: cover;
}

.reference-team-card-copy h3 {
  margin: 0;
  color: #333333;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 16px;
  font-weight: 700;
}

.reference-team-card-copy p,
.reference-team-card-copy span {
  display: block;
  margin: 8px 0 0;
  color: #333333;
  font-size: 12px;
  line-height: 16px;
}

.leadership-grid-reference .reference-team-card {
  height: 476px;
}

.leadership-grid-reference .reference-team-card > img {
  width: 300px;
  height: 400px;
  margin-bottom: 20px;
}

.team-reference-group {
  margin-top: 40px;
}

.team-reference-heading {
  height: 44px;
  display: grid;
  place-items: center;
}

.team-project-group {
  width: 1120px;
  margin-top: 38px;
  margin-right: auto;
  margin-left: auto;
}

.team-reference-project-heading {
  width: 1120px;
  column-gap: 20px;
}

.team-reference-project-heading h2:first-child {
  text-align: left;
}

.team-reference-project-grid {
  display: grid;
  grid-template-columns: 550px 550px;
  column-gap: 20px;
  height: 309px;
  margin-top: 20px;
}

.team-reference-project-column {
  display: grid;
  align-content: start;
  column-gap: 21px;
  grid-auto-rows: 299px;
}

.project-coordinators {
  grid-template-columns: repeat(2, 164px);
}

.project-assistants {
  grid-template-columns: repeat(3, 164px);
}

.team-reference-project-column .reference-team-card {
  width: 164px;
  height: 299px;
  padding-top: 0;
}

.team-reference-project-column .reference-team-card > img {
  width: 164px;
  height: 219px;
  margin-bottom: 16px;
}

.team-reference-project-column .reference-team-card-copy h3 {
  font-size: 15px;
  line-height: 16px;
}

.team-reference-project-column .reference-team-card-copy p {
  margin-top: 7px;
}

.internship-grid-reference {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  width: 1120px;
  grid-auto-rows: 249px;
  column-gap: 20px;
}

.internship-grid-reference .reference-team-card {
  width: 123px;
  height: 249px;
  padding-top: 10px;
}

.internship-grid-reference .reference-team-card > img {
  width: 123px;
  height: 163px;
  margin-bottom: 16px;
}

.internship-grid-reference .reference-team-card-copy h3 {
  font-size: 13px;
  line-height: 15px;
}

.internship-grid-reference .reference-team-card-copy p {
  margin-top: 7px;
  font-size: 11px;
  line-height: 14px;
}

@media (max-width: 992px) {
  body[data-page="team"] .header-container {
    padding: 0 1.5rem;
  }

  body[data-page="team"] .nav-menu {
    gap: 0;
  }

  .team-reference-intro {
    height: auto;
    padding: 20px 1.5rem 0;
  }

  .team-reference-container {
    max-width: 100%;
  }

  .team-intro-grid {
    height: auto;
    grid-template-columns: 1fr;
  }

  .team-intro-media {
    height: auto;
    padding: 0;
  }

  .team-intro-photo {
    width: 100%;
    height: min(56vw, 420px);
  }

  .team-intro-logo {
    right: 20px;
    bottom: -28px;
  }

  .team-intro-copy {
    padding: 58px 0 0;
  }

  .team-reference-main {
    padding: 0 1.5rem 20px;
  }

  .team-reference-labels,
  .team-reference-project-heading {
    width: 100%;
  }

  .team-reference-grid,
  .leadership-grid-reference,
  .internship-grid-reference,
  .team-project-group,
  .team-reference-project-grid {
    width: 100%;
  }

  .team-reference-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .leadership-grid-reference {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .internship-grid-reference {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .team-reference-project-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-reference-project-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-assistants .reference-team-card:last-child {
    grid-column: 1;
  }

  .reference-team-card,
  .leadership-grid-reference .reference-team-card,
  .team-reference-project-column .reference-team-card,
  .internship-grid-reference .reference-team-card {
    width: 100%;
  }

  .reference-team-card > img,
  .leadership-grid-reference .reference-team-card > img,
  .team-reference-project-column .reference-team-card > img,
  .internship-grid-reference .reference-team-card > img {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  body[data-page="team"] .main-header,
  body[data-page="team"] .header-container {
    height: 78px;
  }

  body[data-page="team"] .header-logo-img {
    height: 58px;
  }

  body[data-page="team"] .nav-menu {
    top: 78px;
  }

  .team-reference-labels,
  .team-reference-project-heading {
    grid-template-columns: 1fr;
    height: auto;
    gap: 18px;
    padding: 26px 0 4px;
  }

  .team-reference-labels {
    margin-top: 28px;
  }

  .team-reference-grid,
  .leadership-grid-reference,
  .internship-grid-reference {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    margin-top: 20px;
  }

  .reference-team-card,
  .leadership-grid-reference .reference-team-card,
  .team-reference-project-column .reference-team-card,
  .internship-grid-reference .reference-team-card {
    height: auto;
    min-height: 0;
    padding: 10px 0 24px;
  }

  .reference-team-card > img,
  .leadership-grid-reference .reference-team-card > img,
  .team-reference-project-column .reference-team-card > img,
  .internship-grid-reference .reference-team-card > img {
    width: min(300px, 100%);
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .team-reference-project-heading h2:first-child {
    text-align: center;
  }

  .team-reference-project-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .team-reference-project-column {
    grid-template-columns: 1fr;
    height: auto;
  }

  .project-assistants {
    margin-top: 20px;
  }

  .project-assistants .reference-team-card:last-child {
    grid-column: auto;
  }
}
