:root {
  --psaa-bg: #f2f7f4;
  --psaa-surface: #ffffff;
  --psaa-surface-alt: #e9f3ec;
  --psaa-primary: #0f9b4a;
  --psaa-primary-soft: rgba(15, 155, 74, 0.15);
  --psaa-accent: #f7b500;
  --psaa-accent-soft: rgba(247, 181, 0, 0.1);
  --psaa-text: #13231b;
  --psaa-text-muted: #6f7c75;
  --psaa-border: rgba(0, 0, 0, 0.06);
  --nav-height: 76px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  overscroll-behavior-y: contain;
}

@font-face {
  font-family: "UF Urdu";
  src: url("fonts/ufont1.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Dani Urdu";
  src: url("fonts/dani.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Sahel Urdu";
  src: url("fonts/Sahel%20Regular.ttf") format("truetype");
  font-display: swap;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--psaa-text);
  background-color: var(--psaa-bg);
}

body.lang-ur {
  font-family: "Sahel Urdu", "Sahel", "Noto Nastaliq Urdu",
    "Noto Sans Arabic", "Segoe UI", sans-serif;
}

body.lang-ur h1,
body.lang-ur h2,
body.lang-ur h3,
body.lang-ur h4,
body.lang-ur h5,
body.lang-ur h6,
body.lang-ur .section-title,
body.lang-ur .section-kicker {
  font-family: "Dani Urdu", "Sahel Urdu", "Sahel", "Noto Nastaliq Urdu",
    "Noto Sans Arabic", "Segoe UI", sans-serif;
}

/* Motion (Material-inspired) */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.motion-animate {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 280ms cubic-bezier(0.2, 0, 0, 1),
    transform 320ms cubic-bezier(0.2, 0, 0, 1);
}

.motion-in {
  opacity: 1;
  transform: none;
}

/* FULL SCREEN SECTIONS */

.full-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.full-section > .container {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-section > .container {
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

.snap-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

header#top,
section[id] {
  scroll-margin-top: var(--nav-height);
}

@media (max-width: 991.98px) {
  html {
    scroll-snap-type: none;
    scroll-padding-top: var(--nav-height);
  }

  .snap-section {
    min-height: auto;
    max-height: none;
    overflow: visible;
  }

  .snap-section .section-shell,
  .snap-section > .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .hero-section {
    overflow: visible;
    scroll-snap-type: none;
    min-height: calc(100vh - var(--nav-height));
    max-height: none;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .hero-section .hero-copy,
  .hero-section .hero-visual {
    min-height: auto;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    width: 100%;
  }

  .mobile-slider-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    overflow: visible;
    padding: 0;
    margin: 0;
  }

  .mobile-slider-row > [class*="col-"] {
    width: 100%;
  }

  .mobile-card-compact {
    min-height: 120px;
    height: 100%;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
  }

  .mobile-card-compact:active,
  .mobile-card-compact:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  }

  .mobile-card-compact .card-body {
    padding: 0.75rem 0.85rem;
  }

  .mobile-card-compact .card-text,
  .mobile-card-compact .small.text-muted,
  .mobile-card-compact .badge,
  .mobile-card-compact ul,
  .mobile-card-compact .pill-soft,
  .mobile-card-compact .hero-list,
  .mobile-card-compact a {
    display: none !important;
  }

  .mobile-card-compact .card-title::before,
  .mobile-card-compact h5::before,
  .mobile-card-compact h6::before {
    content: none;
  }

  .mobile-card-compact .card-title,
  .mobile-card-compact h5,
  .mobile-card-compact h6 {
    margin-bottom: 0;
    position: relative;
    padding-left: 1.2rem;
    line-height: 1.3;
  }
}

/* BACKGROUND IMAGES WITH PAKISTANI ART */

.bg-main {
  background-color: #f2f7f4;
}

.navbar {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar .container {
  flex-wrap: nowrap;
  align-items: center;
}

.navbar .navbar-brand {
  min-width: 0;
  flex: 1;
}

.navbar .navbar-brand .small-heading,
.navbar .navbar-brand .brand-sub {
  white-space: nowrap;
}

.navbar .navbar-toggler {
  margin-left: auto;
}

@media (max-width: 991.98px) {
  .navbar .container {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.25rem;
  }

  .navbar .navbar-brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 48px);
  }

  .navbar .navbar-brand .small-heading,
  .navbar .navbar-brand .brand-sub {
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .navbar .navbar-toggler {
    margin-left: 0;
    flex-shrink: 0;
    order: 2;
  }

  .navbar-collapse {
    width: 100%;
    order: 3;
    margin-top: 0.35rem;
  }

  .navbar-collapse.show {
    padding: 0.5rem 0;
  }
}

@media (max-width: 575.98px) {
  .navbar .navbar-brand .small-heading {
    font-size: 0.75rem;
  }
  .navbar .navbar-brand .brand-sub {
    font-size: 0.62rem;
  }
  .navbar .navbar-brand .small-heading,
  .navbar .navbar-brand .brand-sub {
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-logo-img {
    height: 34px;
  }
}

.navbar .nav-link {
  color: var(--psaa-text);
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--psaa-primary);
}

.navbar:hover {
  background-color: var(--psaa-primary) !important;
  border-color: var(--psaa-primary) !important;
}

.navbar:hover .navbar-brand,
.navbar:hover .navbar-brand .small-heading,
.navbar:hover .brand-sub,
.navbar:hover .nav-link {
  color: #ffffff !important;
}

.navbar:hover .nav-link:hover,
.navbar:hover .nav-link:focus {
  color: #f7b500 !important;
}

.navbar:hover .btn-outline-success {
  background-color: #ffffff;
  color: var(--psaa-primary);
  border-color: #ffffff;
}

.mat-icon {
  font-family: "Material Symbols Outlined";
  font-weight: 500;
  font-size: 1.1rem;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  transition: transform 0.18s ease, color 0.18s ease;
}

.icon-depth {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), 0 3px 10px rgba(0, 0, 0, 0.12);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
}

.nav-link .mat-icon {
  color: var(--psaa-primary);
}

.nav-link:hover .mat-icon,
.nav-link:focus .mat-icon {
  transform: translateY(-1px);
}

.btn .mat-icon {
  font-size: 1.2rem;
}

.btn-flag-pk {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #0f9b4a 0 72%, #ffffff 72% 100%);
  color: #020403;
  border: 1px solid rgba(15, 155, 74, 0.35);
  padding-left: 2.8rem !important;
}

.btn-flag-pk::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 14px;
  border-radius: 3px;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  background: url("pakistani-flag.svg") center / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.btn-flag-pk::after {
  content: none;
}

/* Hero: Truck art background + white overlay */
.hero-section {
  background: linear-gradient(135deg, #f2f7f4 0%, #eef5ff 50%, #f7fbf8 100%);
  position: relative;
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.hero-section.full-section {
  min-height: calc(100vh - var(--nav-height));
}

.hero-shell {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero-copy {
  max-width: 720px;
}

.hero-meta {
  align-items: center;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 155, 74, 0.12);
  border: 1px solid rgba(15, 155, 74, 0.28);
  color: #0f512b;
  font-weight: 600;
  font-size: 0.85rem;
}

.hero-chip.ghost {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.05);
  color: var(--psaa-text-muted);
}

.hero-actions .btn-main {
  box-shadow: 0 12px 26px rgba(15, 155, 74, 0.22);
}

.hero-stats .hero-stat-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(15, 155, 74, 0.12);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.hero-stat-card .label {
  letter-spacing: 0.08em;
  color: #0f7b40;
  font-size: 0.74rem;
}

.hero-stat-card .copy {
  color: var(--psaa-text);
  font-weight: 600;
  margin-bottom: 0;
}

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

.hero-photo {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.hero-photo-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.92);
  color: #0f512b;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.hero-card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 18px;
}

.hero-support-card {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.hero-support-card .badge {
  letter-spacing: 0.08em;
}

/* About: Ajrak background */
#about {
  background-color: #ffffff;
}

#departments {
  background-color: #f8fbf8;
}

/* Events: geometric / Islamic style */
#events {
  background-color: #f6f9ff;
}

/* Resources: lighter Ajrak reuse */
#resources {
  background-color: #ffffff;
}

#women-safety {
  background-color: #f5fbf7;
}

/* Chat: Truck art soft overlay reuse */
#chat {
  background-color: #f7fbf8;
}

/* Team: geometric style reuse */
#team {
  background-color: #f6f9ff;
}

#emergency {
  background-color: #f9fbff;
}

/* Common section styling */

.section-light {
  background-color: transparent; /* backgrounds handled above */
}

.bg-section-light {
  background-color: transparent;
}

.border-opacity {
  border-color: var(--psaa-border) !important;
}

/* Departments */

.dept-card {
  border-radius: 18px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.dept-card::before {
  content: "";
  position: absolute;
  inset: -10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(12px);
  transform: scale(1.06);
  opacity: 0.9;
  z-index: 0;
}

.dept-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  z-index: 0;
}

.dept-card .card-body {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(2px);
  border-radius: 14px;
}

.dept-card h6,
.dept-card p,
.dept-card .text-muted {
  color: #0b0b0b !important;
}

.dept-arrow {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0c4d91, #0f9b4a);
  color: #ffffff;
  font-size: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.dept-card:hover .dept-arrow {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #125fae, #15b16a);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.resource-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: transparent !important;
}

.resource-card::before {
  content: "";
  position: absolute;
  inset: -10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(12px);
  transform: scale(1.06);
  opacity: 0.9;
  z-index: 0;
}

.resource-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 0;
}

.resource-card .card-body {
  position: relative;
  z-index: 1;
  background: transparent;
  backdrop-filter: blur(4px);
  border-radius: 14px;
}

.dept-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, rgba(15, 155, 74, 0.12), rgba(247, 181, 0, 0.12));
}

.dept-icon svg {
  width: 30px;
  height: 30px;
}

.dept-card h6 {
  letter-spacing: 0.01em;
}

.dept-card p {
  line-height: 1.5;
}

.dept-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.1);
}

.dept-card.dept-events::before {
  background-image: url("/images/modals/event and culture.png");
}

.dept-card.dept-welfare::before {
  background-image: url("/images/modals/studen-welfare1.png");
}

.dept-card.dept-careers::before {
  background-image: url("/images/modals/career.png");
}

.dept-card.dept-sports::before {
  background-image: url("/images/modals/sports.png");
}

.dept-card.dept-tech::before {
  background-image: url("/images/modals/IT.png");
}

.dept-card.dept-media::before {
  background-image: url("/images/modals/marketing.png");
}

.dept-card.dept-partners::before {
  background-image: url("/images/modals/sponsor.png");
}

@media (max-width: 767.98px) {
  #departments .row.g-4 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  #departments .col-md-3.col-sm-6 {
    width: 100%;
  }

  .dept-card {
    height: 100%;
  }
}

.icon-green {
  background: linear-gradient(135deg, rgba(15, 155, 74, 0.14), rgba(15, 155, 74, 0.08));
}

.icon-gold {
  background: linear-gradient(135deg, rgba(247, 181, 0, 0.16), rgba(247, 181, 0, 0.08));
}

.icon-teal {
  background: linear-gradient(135deg, rgba(32, 201, 151, 0.14), rgba(32, 201, 151, 0.08));
}

.icon-orange {
  background: linear-gradient(135deg, rgba(255, 153, 51, 0.14), rgba(255, 153, 51, 0.08));
}

.icon-deepblue {
  background: linear-gradient(135deg, rgba(17, 58, 98, 0.18), rgba(17, 58, 98, 0.08));
}

.icon-pink {
  background: linear-gradient(135deg, rgba(184, 50, 128, 0.18), rgba(184, 50, 128, 0.08));
}

.icon-amber {
  background: linear-gradient(135deg, rgba(192, 118, 0, 0.18), rgba(192, 118, 0, 0.08));
}

/* Value cards */

.value-card {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.resource-card {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.download-link {
  font-weight: 600;
}

.value-modal-img img {
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
}

/* Sponsors */

.sponsor-logo {
  height: 96px;
  border: 1px solid rgba(15, 155, 74, 0.18);
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(15, 155, 74, 0.08),
    rgba(247, 181, 0, 0.12)
  );
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f4425;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.sponsor-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.02);
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.12));
}

.sponsor-kebab {
  background: linear-gradient(135deg, #fff4e6, #ffe3c8);
  border-color: #f3c38f;
}

.sponsor-sga {
  background: linear-gradient(135deg, #eaf1ff, #d8e8ff);
  border-color: #b3cffc;
}

.sponsor-chain {
  background: linear-gradient(135deg, #e9f9f3, #d6f2e8);
  border-color: #8fd2c0;
}

.sponsor-whatsapp {
  background: linear-gradient(135deg, #e7f9ed, #d4f2e0);
  border-color: #8ad7aa;
}

.sponsor-logo:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 16px 40px rgba(0, 0, 0, 0.08);
}

#sponsors {
  background-color: #f6f9ff;
}

.sponsor-carousel-shell {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.sponsor-feature {
  background: linear-gradient(135deg, #0f9b4a 0%, #0a7f3f 45%, #0c4d91 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

.sponsor-feature-copy p {
  color: rgba(255, 255, 255, 0.9);
}

.sponsor-feature-copy h3 {
  background: linear-gradient(135deg, #ffffff, #c8f3d7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.sponsor-feature-copy .small {
  color: #ffffff;
  font-size: 0.96rem;
}

.sponsor-feature-copy ul {
  color: #ffffff;
  padding-left: 1.1rem;
  list-style: disc;
  font-size: 1rem;
}


.safety-section {
  background: linear-gradient(145deg, rgba(15, 155, 74, 0.08), rgba(12, 77, 145, 0.06));
  border: 1px solid rgba(15, 155, 74, 0.12);
}

.safety-image {
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
  max-width: 320px;
  margin: 0 auto;
  box-shadow: none !important;
  padding: 0;
}

.safety-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.safety-badge {
  margin-top: 0.85rem;
  align-self: flex-start;
}

.safety-card {
  background: #ffffff;
  border: 1px solid rgba(15, 155, 74, 0.12);
}

.safety-card ul {
  padding-left: 1.1rem;
}

.safety-highlight {
  background: linear-gradient(135deg, rgba(15, 155, 74, 0.12), rgba(12, 77, 145, 0.08));
  border: 1px solid rgba(15, 155, 74, 0.18);
}

.safety-highlight .pill-soft {
  background-color: rgba(255, 255, 255, 0.92);
}

.emergency-section {
  border: 1px solid rgba(15, 155, 74, 0.12);
  background: linear-gradient(145deg, rgba(12, 77, 145, 0.04), rgba(15, 155, 74, 0.05));
}

.emergency-card {
  background: #ffffff;
  border: 1px solid rgba(12, 77, 145, 0.08);
}

.emergency-number {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0c4d91;
  margin-bottom: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.emergency-number .mat-icon {
  font-size: 1em;
  color: inherit;
}

.emergency-number a {
  color: inherit;
  text-decoration: none;
}

.emergency-number a:hover,
.emergency-number a:focus {
  text-decoration: underline;
}

.emergency-number.small-number {
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}

.fab-chat {
  position: fixed;
  right: 1rem;
  bottom: 1.1rem;
  z-index: 1050;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0f9b4a, #0c4d91);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.fab-chat:hover,
.fab-chat:focus {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  filter: brightness(1.05);
}

.sponsor-feature-img {
  height: 100%;
  background: transparent;
  padding-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-feature-img img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  display: block;
}

.pill-ghost-light {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 0.8rem;
}

/* Typography & Branding */

.hero-title span {
  background: linear-gradient(135deg, #1ac96d, #f7b500);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title,
h1,
h2,
h3,
h4,
h5,
h6,
.card-title,
.hero-title {
  background: linear-gradient(135deg, #0f9b4a, #0c4d91);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-lead {
  color: var(--psaa-text-muted);
}

.hero-urdu {
  color: #186735;
}

.hero-kicker {
  background-color: rgba(15, 155, 74, 0.12);
  border: 1px solid rgba(15, 155, 74, 0.45);
  color: var(--psaa-text-muted);
  letter-spacing: 0.08em;
}

.brand-logo-img {
  height: 40px;
  width: auto;
}

.brand-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--psaa-text-muted);
}

.small-heading {
  font-size: 0.82rem;
}

.section-kicker {
  letter-spacing: 0.18em;
  color: var(--psaa-text-muted);
}

.section-title {
  letter-spacing: 0.01em;
}

/* Buttons */

.btn-main {
  background: linear-gradient(135deg, var(--psaa-primary), #1ac96d);
  color: #020403;
  border: none;
  box-shadow: 0 12px 30px rgba(5, 255, 142, 0.2);
}

.btn-main:hover {
  filter: brightness(1.05);
  box-shadow: 0 16px 36px rgba(5, 255, 142, 0.3);
  color: #020403;
}

.btn-ghost-custom {
  background-color: #ffffff;
}

/* Pills / badges */

.pill-soft {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--psaa-border);
  background-color: rgba(255, 255, 255, 0.9);
}

.bg-main-soft {
  background-color: rgba(15, 155, 74, 0.12) !important;
  color: #0b5a2c;
}

.bg-outline {
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--psaa-text);
}

.section-shell {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  padding: 2rem;
}

.section-ribbons::after,
.section-ribbons::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30%;
  height: 30%;
  transform: skewX(-12deg);
  pointer-events: none;
  opacity: 0.18;
}

.section-ribbons::after {
  background: linear-gradient(135deg, rgba(15, 155, 74, 0.45), rgba(17, 58, 98, 0.55));
}

.section-ribbons::before {
  background: linear-gradient(135deg, rgba(17, 58, 98, 0.55), rgba(15, 155, 74, 0.35));
  width: 20%;
  height: 24%;
  right: 8%;
  bottom: 10%;
}

/* Hero card */

.hero-card {
  background-color: #ffffff;
}

.hero-list .list-group-item {
  background-color: #f9fcfa;
  border-color: rgba(0, 0, 0, 0.03);
  color: var(--psaa-text);
  font-size: 0.85rem;
}

/* Flags */

.flag {
  width: 28px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: inline-block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.flag-pk {
  background-image: url("pakistani-flag.svg");
}

.flag-au {
  background-image: url("australian-flag.svg");
}

/* Pakistan animated vectors (temporarily hidden for clean backgrounds) */

.pk-vector {
  display: none;
}

/* Chatbot */

.chatbot-card {
  min-height: 320px;
}

.chat-window {
  background-color: #f6fbf8;
  border-radius: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--psaa-border);
  max-height: 260px;
  overflow-y: auto;
  font-size: 0.85rem;
}

.chat-message {
  display: flex;
  margin-bottom: 0.4rem;
}

.chat-message.bot {
  justify-content: flex-start;
}

.chat-message.user {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 80%;
  padding: 0.45rem 0.7rem;
  border-radius: 1rem;
  line-height: 1.35;
}

.chat-message.bot .chat-bubble {
  background-color: #ffffff;
  border: 1px solid var(--psaa-border);
}

.chat-message.user .chat-bubble {
  background: linear-gradient(135deg, var(--psaa-primary), #1ac96d);
  color: #020403;
}

.chat-input-row {
  display: flex;
  align-items: center;
}

#chatInput.keyboard-flash {
  animation: keyboardBacklightTwice 1.6s ease-out;
  box-shadow: 0 0 0 0 rgba(15, 155, 74, 0);
}

@keyframes keyboardBacklightTwice {
  0% {
    box-shadow: 0 0 0 0 rgba(15, 155, 74, 0);
  }
  12% {
    box-shadow: 0 0 14px 4px rgba(15, 155, 74, 0.45),
      0 0 28px 8px rgba(247, 181, 0, 0.38);
  }
  28% {
    box-shadow: 0 0 0 0 rgba(15, 155, 74, 0);
  }
  55% {
    box-shadow: 0 0 14px 4px rgba(15, 155, 74, 0.45),
      0 0 28px 8px rgba(247, 181, 0, 0.38);
  }
  75%,
  100% {
    box-shadow: 0 0 0 0 rgba(15, 155, 74, 0);
  }
}

/* Team */

.team-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f9b4a, #0c4d91);
  border: 2px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  letter-spacing: 0.02em;
}

.team-modal-img {
  min-height: 100%;
  background: linear-gradient(135deg, rgba(15, 155, 74, 0.15), rgba(12, 77, 145, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0c4d91;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.team-modal-img::after {
  content: "IMAGE PLACEHOLDER";
}

/* Social pills */

.social-pill {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--psaa-border);
  color: var(--psaa-text-muted);
}

/* Responsive tweaks */

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .pk-svg {
    width: 130px;
    height: 130px;
  }
}




