/* 
  Brand Colors:
  Header Dark Blue: #02142a -> #03254c (approx background gradient)
  Cyan Accent: #00b4d8
  Secondary Text: #f8f9fa
  Light Bg: #f4f6fa
  Card Bg: #ffffff
  Light Blue Box: #cce3f6
  Table Header Bg: #006080 or #014361
  Inactive Toggle Bg: #031c3b
*/

:root {
  --primary-dark: #021a36;
  --primary-light: #03254c;

  --light-bg: #f5f7f9;
  --text-dark: #2c3e50;
  --toggle-dark: #001f3f;
  --table-header: #026b8b;
  /* Teal/Blue */
  --bank-box-bg: #c5dfef;
}

html {
  scroll-behavior: smooth;
}

.bg-primary-light {
  background-color: var(--primary-light);
}

.text-primary-light {
  color: var(--primary-light);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--light-bg);
  color: var(--text-dark);
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-main {
  flex: 1;
  overflow: hidden;
}

.page-transition {
  min-height: 100%;
  animation: pageFadeIn 420ms ease both;
  will-change: opacity, transform;
}

.route-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 26, 54, 0.18);
  backdrop-filter: blur(3px);
  animation: routeOverlayFade 180ms ease both;
}

.route-loading-spinner {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.55);
  border-top-color: var(--table-header);
  box-shadow: 0 12px 35px rgba(2, 26, 54, 0.22);
  animation: routeSpinner 760ms linear infinite;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes routeOverlayFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-transition,
  .route-loading-overlay,
  .route-loading-spinner {
    animation: none;
  }
}

/* --- Typography & Utilities --- */
a {
  text-decoration: none;
}

.btn-white {
  background-color: var(--light-bg);
  color: var(--primary-light);
  font-weight: 500;
  border: none;
  transition: all 0.3s ease;
}

.btn-white:hover {
  background-color: var(--light-bg);
  box-shadow: 0 2px 6px gray;
}
.btn-dark {
  background-color: var(--primary-light);
}
.btn-dark:hover {
  background-color: #1c3757 !important;
}

/* --- Header Section --- */
.header-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  border-bottom: 2px solid rgba(255, 255, 255, 0.05);
  max-height: 80vh;
}

/* Navbar */
.navbar-brand {
  line-height: 1;
}

.navbar-logo-link {
  flex: 0 1 auto;
  gap: 1rem;
  min-width: 0;
  overflow: hidden;
}

.brand-logo-uysm {
  width: 170px;
  height: 80px;
  object-fit: contain;
}

.brand-logo-itu {
  width: 107px;
  height: 60px;
  object-fit: contain;
  transform: translateY(-10px);
}

.brand-logo-divider {
  width: 1px;
  height: 70px;
  flex: 0 0 1px;
}

.navbar > .container {
  position: relative;
}

.brand-logo-shadow {
  filter: drop-shadow(0 3px 7px rgba(0, 0, 0, 0.38));
}

.navbar-brand .brand-title {
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.navbar-brand .brand-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: #a0aab5;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
}

.btn-portal {
  font-size: 0.9rem;
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-portal:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(44px, 1fr));
  align-items: center;
  min-height: 38px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.language-switch-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 30px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.language-switch-option:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.language-switch-option.active {
  color: var(--primary-light);
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

/* ===== IMMERSIVE HERO CAROUSEL ===== */
.home-carousel-col {
  margin-inline: auto;
}

.hero-carousel-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-carousel-viewport {
  position: relative;
  aspect-ratio: 12 / 5.5;
  overflow: hidden;
}

/* --- Slides --- */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  will-change: opacity;
  transform: translateZ(0);
}

.hero-slide--active {
  opacity: 1;
  z-index: 1;
}

.hero-slide-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 6.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1) translateZ(0);
  will-change: transform;
}

/* Ken Burns zoom on active slide */
.hero-slide--active .hero-slide-bg {
  transform: scale(1.08) translateZ(0);
}

/* --- Cinematic overlay --- */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(135deg, rgba(2, 20, 42, 0.72) 0%, rgba(3, 37, 76, 0.38) 50%, rgba(0, 0, 0, 0.52) 100%),
    linear-gradient(180deg, transparent 45%, rgba(2, 20, 42, 0.85) 100%);
  pointer-events: none;
}

/* --- Floating orbs --- */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  z-index: 3;
  pointer-events: none;
  animation: heroOrbFloat 8s ease-in-out infinite alternate;
  will-change: transform;
  transform: translateZ(0);
}

.hero-orb--1 {
  width: 180px;
  height: 180px;
  top: -30px;
  right: 15%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.6) 0%, transparent 70%);
  animation-duration: 7s;
}

.hero-orb--2 {
  width: 120px;
  height: 120px;
  bottom: 20%;
  left: 5%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.5) 0%, transparent 70%);
  animation-duration: 9s;
  animation-delay: -3s;
}

.hero-orb--3 {
  width: 90px;
  height: 90px;
  top: 40%;
  right: 8%;
  background: radial-gradient(circle, rgba(0, 200, 150, 0.4) 0%, transparent 70%);
  animation-duration: 11s;
  animation-delay: -5s;
}

@keyframes heroOrbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, -25px) scale(1.15); }
}

/* --- Glassmorphism caption card --- */
.hero-caption-card {
  position: absolute;
  left: clamp(1.25rem, 4vw, 2.5rem);
  bottom: clamp(1.25rem, 4vw, 2.5rem);
  z-index: 5;
  max-width: 520px;
  background: rgba(2, 20, 42, 0.55);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.6rem 1.8rem;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-caption-card--in {
  opacity: 1;
  transform: translateY(0);
}

.hero-caption-card--out {
  opacity: 0;
  transform: translateY(16px);
}

.hero-caption-link {
  text-decoration: none;
  color: #fff;
  display: block;
}

.hero-caption-link:hover,
.hero-caption-link:focus {
  color: #fff;
}

.hero-caption-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.25), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(0, 180, 216, 0.3);
  font-size: 1.15rem;
  color: #00d4ff;
  margin-bottom: 0.85rem;
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.15);
}

.hero-caption-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.4rem;
}

.hero-caption-divider {
  margin: 0 0.3em;
  opacity: 0.4;
}

.hero-caption-title {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.65rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-caption-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.85rem;
}

.hero-caption-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #00d4ff;
  transition: gap 0.3s ease;
}

.hero-caption-link:hover .hero-caption-cta {
  gap: 0.85em;
}

/* --- Hero controls bar --- */
.hero-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: rgba(2, 20, 42, 0.82);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-arrows {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.hero-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-arrow:hover {
  background: rgba(0, 180, 216, 0.2);
  border-color: rgba(0, 180, 216, 0.4);
  color: #fff;
  transform: scale(1.08);
}

/* --- Progress bar indicators --- */
.hero-progress-bar-group {
  display: flex;
  gap: 0.5rem;
  flex: 1;
}

.hero-progress-track {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: height 0.2s ease;
}

.hero-progress-track:hover {
  height: 6px;
}

.hero-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, #00b4d8, #6366f1);
  box-shadow: 0 0 8px rgba(0, 180, 216, 0.4);
  will-change: width;
}

.hero-progress-fill--running {
  animation: heroProgressGrow 6s linear forwards;
  box-shadow: 0 0 12px rgba(0, 180, 216, 0.6);
}

.hero-progress-fill--done {
  width: 100%;
}

@keyframes heroProgressGrow {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ===== ANNOUNCEMENTS GLASS PANEL ===== */
.announcements-glass-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(2, 20, 42, 0.7);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow:
    0 15px 50px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.announcements-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcements-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 0.3px;
}

.announcements-bell-badge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.15));
  border: 1px solid rgba(251, 191, 36, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  font-size: 0.8rem;
  animation: bellPulse 3s ease-in-out infinite;
}

@keyframes bellPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
  50% { box-shadow: 0 0 12px 2px rgba(251, 191, 36, 0.2); }
}

.announcements-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.announcement-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.6rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s ease;
  animation: announceFadeIn 0.4s ease both;
}

.announcement-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

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

.announcement-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00b4d8, #6366f1);
  flex-shrink: 0;
  margin-top: 6px;
  box-shadow: 0 0 8px rgba(0, 180, 216, 0.4);
}

.announcement-date {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 2px;
  letter-spacing: 0.3px;
}

.announcement-title-text {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.35;
  transition: color 0.2s ease;
}

.announcement-item:hover .announcement-title-text {
  color: #fff;
}

.announcements-footer {
  padding-top: 0.85rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.announcements-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 180, 216, 0.25);
  background: rgba(0, 180, 216, 0.08);
  color: #00d4ff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.announcements-view-all:hover {
  background: rgba(0, 180, 216, 0.18);
  border-color: rgba(0, 180, 216, 0.45);
  color: #fff;
  transform: translateY(-1px);
}

/* Hero Content */
.hero-title {
  color: var(--cyan-accent);
  font-weight: 700;
  font-size: 3.5rem;
  text-shadow: 0 2px 10px rgba(0, 195, 225, 0.2);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Glowing Badge Box */
.glowing-box {
  background-color: #fff;
  border-radius: 12px;
  width: 280px;
  height: 280px;
  box-shadow: 0 0 35px rgba(0, 195, 225, 0.6);
  color: #000;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.glowing-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 45px rgba(0, 195, 225, 0.8);
}

.uysm-logo-box {
  width: 100%;
}

.u-text {
  color: #ff0000;
  font-size: 1.1rem;
  letter-spacing: -0.5px;
}

.badge-icon-bg {
  background-color: #2c3e50;
  width: 45px;
  height: 60px;
  border-radius: 4px;
}

.u-big {
  color: var(--toggle-dark);
  font-size: 6rem;
  line-height: 0.8;
  margin-top: -10px;
  margin-left: -5px;
  letter-spacing: -5px;
}

.uysm-title {
  color: var(--toggle-dark);
  font-size: 1rem;
  margin-top: -85px;
}

/* Right Side Text */
.section-heading-white {
  font-size: 2.2rem;
  line-height: 1.3;
}

.section-text-light {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- Pricing and Account Section --- */
.pricing-section {
  background-color: var(--light-bg);
}

.pricing-title {
  color: var(--cyan-accent);
  font-size: 2rem;
}

.title-underline {
  height: 3px;
  width: 60px;
  background-color: var(--cyan-accent);
  border-radius: 2px;
}

/* Cards */
.info-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.card-title {
  color: var(--toggle-dark);
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}

.card-top {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg,
      #f6f8fa 0%,
      #e9edf2 55%,
      #e1e6ec 100%);
}

.icon-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Toggles */
.toggle-group {
  background-color: transparent;
}

.btn-toggle {
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  transition: all 0.3s ease;
}

.active-toggle {
  background-color: var(--table-header);
  color: #fff;
}

.inactive-toggle {
  background-color: var(--toggle-dark);
  color: #fff;
}

.inactive-toggle:hover {
  background-color: #00366b;
  color: #fff;
}

/* Pricing Table */
.pricing-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  margin-top: 1rem;
}

.pricing-table th,
.pricing-table td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
  line-height: 1.35;
}

.table-header-row th {
  background-color: var(--table-header) !important;
  color: #fff;
  border-bottom: none;
  padding: 0.7rem 0.45rem !important;
}

.pricing-table tbody tr:hover td {
  background-color: rgba(2, 107, 139, 0.05);
  color: var(--table-header);
  font-weight: 500;
}

.pricing-table td {
  padding: 0.65rem 0;
  color: #5a6a7a;
}

.pricing-table tbody tr td:first-child {
  padding-left: 0.75rem;
}

.pricing-table tbody tr td:last-child {
  padding-right: 0.75rem;
}

.about-product-badges .badge {
  max-width: 100%;
  white-space: normal;
  text-align: left;
  line-height: 1.35;
}

.org-chart-center > * {
  max-width: 100%;
}


/* Bank Info Box */
.bank-info-box {
  background: linear-gradient(135deg, #d8ecfb 0%, #b8d8f3 50%, #9fc8eb 100%);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-left: 3px solid var(--cyan-accent);
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4a5a6a;
}

/* --- Services Section --- */
.services-section {
  background-color: #fcfdfe;
}

.blur-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.blur-circle-left {
  width: 500px;
  height: 500px;
  background-color: rgba(0, 195, 225, 0.08);
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.blur-circle-right {
  width: 400px;
  height: 400px;
  background-color: rgba(0, 195, 225, 0.12);
  top: -100px;
  right: 0;
}

.custom-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 20px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  will-change: transform;
  z-index: 1;
}

.custom-icon-box {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background-color: #e5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-accent);
  transition: transform 0.3s ease, background-color 0.3s ease;
  will-change: transform;
}

.card-heading {
  color: #0b1a30;
  font-size: 1.25rem;
  letter-spacing: -0.3px;
}

.card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
}

.read-more-link {
  color: var(--cyan-accent);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.read-more-link:hover {
  color: var(--btn-hover-cyan);
}

.read-more-link i {
  transition: transform 0.3s ease;
}

.read-more-link:hover i {
  transform: translateX(5px);
}

/* Footer */

.footer-custom {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
}

.footer-link {
  color: white;
  opacity: 0.7;
}

.footer-link:hover {
  opacity: 1;
  text-shadow: 1px white;
}

.footer-mail-input {
  background: transparent;
  border: 1px solid rgba(256, 256, 256, 0.2);
  color: rgba(256,256,256, 0.7) !important;
  outline: none;
  font-size: 0.85rem;
  font-weight: 400;
}
.footer-mail-input:focus {
  background-color: transparent;
  border: 1px solid rgba(256, 256, 256, 0.5);
}

.footer-mail-input::placeholder {
  color: rgba(256, 256, 256, 0.5);;
}

.footer-mail-button {
  background-color: transparent;
  color: rgba(256, 256, 256, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
}
.footer-mail-button:hover {
  border: 1px solid rgba(256, 256, 256, 0.5);
  color: #fff !important;
  background-color: rgba(255, 255, 255, 0.1);
}
.footer-social-hover {
  transition: all 0.3s ease;
}

.footer-social-hover:hover {
  opacity: 1 !important;
  color: #fff !important;
  transform: translateY(-2px);
}
/* Scroll to Top Button */
.scroll-top-btn {
  width: 50px !important;
  height: 50px !important;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  border: none;
  background-color: #272727 !important;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn.show:hover {
  transform: translateY(-5px);
  background-color: #808080 !important;
}

.custom-service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(0, 180, 216, 0.1);
  z-index: 2;
}

.custom-service-card:hover .custom-icon-box {
  transform: rotate(5deg);
  background-color: #d5e9ed;
}

@media (min-width: 1200px) {
  .navbar-logo-link {
    flex-shrink: 0;
    overflow: visible;
  }
}

@media (max-width: 768px) {
  .footer-section {
    text-align: center;
  }
}

@media (max-width: 1199.98px) {
  .header-section {
    max-height: none;
  }

  .blur-circle {
    display: none;
  }

  .navbar {
    position: relative;
    z-index: 1200;
  }

  .navbar-toggler {
    position: relative;
    z-index: 1202;
    margin-left: 0.75rem;
  }

  .navbar-collapse {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0.75rem;
    right: 0.75rem;
    z-index: 1201;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(2, 26, 54, 0.96);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
  }

  .navbar-collapse.collapsing {
    height: auto !important;
    overflow: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }

  .action-buttons {
    margin-top: 0.75rem !important;
    padding-bottom: 0 !important;
  }

  .hero-content {
    padding-top: 1rem !important;
  }

  .home-carousel-col {
    max-width: 720px;
    text-align: center;
  }

  .hero-carousel-viewport {
    aspect-ratio: 16 / 9;
  }

  .hero-caption-card {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
    padding: 1.2rem 1.25rem;
  }

  .hero-caption-title {
    font-size: 1.15rem;
  }

  .hero-caption-desc {
    font-size: 0.82rem;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-orb {
    opacity: 0.2;
  }
}

@media (max-width: 575.98px) {
  .hero-carousel-viewport {
    aspect-ratio: 4 / 3;
  }

  .hero-caption-icon-badge {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  .hero-controls {
    padding: 0.5rem 0.75rem;
    gap: 0.6rem;
  }

  .hero-arrow {
    width: 30px;
    height: 30px;
    font-size: 0.65rem;
  }
}

@media (max-width: 575.98px) {
  .navbar {
    padding-block: 0.75rem !important;
  }

  .navbar > .container {
    flex-wrap: nowrap;
  }

  .navbar-logo-link {
    gap: 0.65rem;
  }

  .brand-logo-uysm {
    width: 140px;
    height: 58px;
  }

  .brand-logo-itu {
    width: 86px;
    height: 48px;
    transform: translateY(-6px);
  }

  .brand-logo-divider {
    height: 54px;
  }

  .navbar-toggler {
    flex: 0 0 auto;
  }

  .pricing-cards-row {
    margin-right: 0;
    margin-left: 0;
  }

  .pricing-cards-row > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }

  .info-card .card-bottom {
    margin-right: 1rem !important;
    margin-left: 1rem !important;
  }

  .org-chart-center {
    flex-direction: column;
  }

  .org-chart-center .fa-arrows-left-right {
    transform: rotate(90deg);
  }
}

@media (max-width: 359.98px) {
  .navbar-logo-link {
    gap: 0.5rem;
  }

  .brand-logo-uysm {
    width: 118px;
    height: 50px;
  }

  .brand-logo-itu {
    width: 75px;
    height: 42px;
  }

  .brand-logo-divider {
    height: 46px;
  }
}
