/* ==== ROOT VARIABLES / THEME COLORS / SETTINGS */
:root {
  --bg-black: #151a2b;
  --bg-panel: rgba(255, 255, 255, 0.05);
  --bg-panel-strong: rgba(255, 255, 255, 0.08);
  --bg-panel-soft: rgba(255, 255, 255, 0.03);

  --text-white: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.72) ;
  --text-muted: rgba(255, 255, 255, 0.56);

  --border-soft: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.18);

  --gradient-neon: linear-gradient(
    135deg,
    #ff2d55 0%,
    #ff4fd8 18%,
    #a855f7 38%,
    #3b82f6 58%,
    #67e8f9 78%,
    #5eead4 100%
  );

  --gradient-soft: linear-gradient(
    135deg,
    rgba(255, 45, 85, 0.22) 0%,
    rgba(255, 79, 216, 0.18) 18%,
    rgba(168, 85, 247, 0.18) 38%,
    rgba(59, 130, 246, 0.16) 58%,
    rgba(103, 232, 249, 0.14) 78%,
    rgba(94, 234, 212, 0.16) 100%
  );

  --shadow-glass:
    0 8px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);

  --shadow-card:
    0 8px 22px rgba(0, 0, 0, 0.35);

  --shadow-card-hover:
    0 12px 26px rgba(215, 0, 154, 0.45);

  --shadow-button:
    0 8px 20px rgba(0, 0, 0, 0.35);

  --shadow-button-hover:
    0 10px 24px  rgba(215, 0, 154, 0.45);

  --blur-glass: blur(12px) saturate(140%);
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --container-width: 1200px;
  --transition-fast: 0.25s ease;
  --transition-base: 0.3s ease;
}

/*=== CSS RESET / UNIVERSAL BOX SIZING */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/*=== HTML / BODY STYLES */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-white);
  font-family: Inter, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(242, 115, 138, 0.224), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(59, 130, 246, 0.12), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(0, 87, 101, 0.1), transparent 35%),
    var(--bg-black);
}

h2 {
  padding-top:20px ;
  padding-bottom: 20px;
}
h4 {
  padding-bottom: 20px;
}
p {
  padding-bottom: 20px;
}
/* === GLOBAL ELEMENT STYLES: Images, Links, Buttons, Inputs */
img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: none;
  background: none;
}

/* === SHARED SECTION STYLES: Titles + Paragraph Text */
.site-wrapper {
  width: min(100% - 40px, var(--container-width));
  margin: 0 auto;
  padding: 32px 0 64px;
}

.section {
  margin-top: 28px;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.section-copy {
  margin: 0;
  max-width: 65ch;
  color: var(--text-soft);
  line-height: 1.7;
}

/* === STICKY NAVIGATION BAR */
.navbar {
  position: sticky;
  top: 20px;
  z-index: 50;
  margin-bottom: 28px;
  border-radius: var(--radius-pill);
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-glass);
}

/* === NAVBAR INNER LAYOUT */
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* === BRAND / LOGO AREA */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-soft);
  box-shadow:
    0 0 18px rgba(168, 85, 247, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* === NAVIGATION LINKS */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-white);
  transform: translateY(-1px);
   box-shadow: var(--shadow-glass);
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background: var(--text-white);
  border-radius: var(--radius-pill);
  display: block;
}

/* === DROPDOWN MENU */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  cursor: pointer;
  background: transparent;
  border: none;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

.dropbtn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-white);
  transform: translateY(-1px);
}

.dropbtn::after {
  content: "▼";
  font-size: 0.7rem;
  transition: transform var(--transition-fast);
}

.dropdown:hover .dropbtn::after {
  transform: rotate(180deg);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 10px;
  margin-top: 0;
  background: rgba(0, 0, 0, 0.731);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  box-shadow: var(--shadow-glass);
  z-index: 100;
}

/* Invisible hover bridge keeps menu open */
.dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--text-soft);
  transition:
    background var(--transition-fast),
    color var(--transition-fast);
}

.dropdown-content a:hover {
  background: rgba(174, 174, 174, 0.142);
  color: var(--text-white);
}

/* === HERO SECTION / LANDING AREA */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 88px 40px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* === HERO IMAGE */
.hero-image-layout {
  align-items: center;
  gap: 22px;
}

.hero-photo-wrap {
  padding: 60px;
}

.hero-photo {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
}

.hero-about-content {
  padding: 25px;
}

/* ==== HERO BACKGROUND EFFECTS / ANIMATIONS */
.hero::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    linear-gradient(
      -45deg,
      #ff2d55,
      #ff4fd8,
      #a855f7,
      #3b82f6,
      #67e8f9,
      #5eead4
    );
  background-size: 300% 300%;
  opacity: 0.16;
  filter: blur(55px);
  z-index: 0;
  animation: neonFlow 18s ease infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom right, rgba(255, 255, 255, 0.05), transparent 30%);
  pointer-events: none;
  z-index: 0;
}

/* === HERO CONTENT AREA */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

/* === HERO BADGE / LABEL */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-soft);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 20px;
  box-shadow:
    0 0 18px rgba(168, 85, 247, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* === HERO TITLE */
.hero-title {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

/* === HERO DESC. TEXT */
.hero-text {
  margin: 18px 0 30px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-soft);
  max-width: 58ch;
}

/* === HERO BUTTON AREA */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* === FEATURE PILLS / TAGS */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  color: var(--text-soft);
  box-shadow: var(--shadow-glass);
}

.pill:hover {
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  font-weight: bolder;
}

/* === RESOURCE PILL SCROLL BAR */
.resource-pill-section {
  margin-top: 32px;
}

.resource-pill-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 18px 4px 12px;
  scroll-snap-type: x mandatory;
}

.resource-pill-scroll .pill {
  flex: 0 0 auto;
  scroll-snap-align: start;
  white-space: nowrap;
}

.resource-pill-scroll::-webkit-scrollbar {
  height: 10px;
}

.resource-pill-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

/* === SCROLLING RESOURCE IMAGE SECTION */
.resource-scroll-section {
  margin-top: 32px;
}

.resource-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 24px 4px 12px;
  scroll-snap-type: x mandatory;
}

.resource-scroll::-webkit-scrollbar {
  height: 10px;
}

.resource-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.resource-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.resource-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.resource-card h3 {
  margin: 0;
  padding: 18px;
  color: var(--text-white);
}

/*=== HOVER OVERLAY PROBLEM CARDS */
.problem-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.card-overlay {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: grid;
  place-content: center;
  text-align: center;
  background: rgba(27, 0, 62, 0.94);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--transition-base),
    transform var(--transition-base);
}

.problem-card:hover .card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.card-overlay h3 {
  margin: 0 0 10px;
}

.card-overlay p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

/* === BUTTON STYLES: Primary + Secondary Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 600;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    background var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid var(--border-soft);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  box-shadow: var(--shadow-glass);
}

.btn-primary:hover {
  box-shadow: var(--shadow-button-hover);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid var(--border-soft);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  box-shadow: var(--shadow-glass);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* === GLASSMORPHISM CONTENT BOARD / PANEL */
.board {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.045);
  /* Blur removed from content boards for better mobile performance */
  border: 1px solid var(--border-soft);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* === BOARD HEADER / TITLES / DESCRIPTION */
.board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.board-title {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.board-copy {
  margin: 6px 0 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.board-body {
  display: grid;
  gap: 22px;
}

/* === TAB NAVIGATION SYSTEM */
.tabs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  box-shadow: var(--shadow-glass);
}

/* === ACTIVE + HOVER TAB STATES */
.tab {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  font-weight: 600;
  transition:
    color var(--transition-fast),
    background var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.tab.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 20px rgba(168, 85, 247, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* === CARD GRID LAYOUT */
.card-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

/* === INDIVIDUAL CONTENT CARDS */
.card {
  grid-column: span 4;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  /* Blur removed from cards for better performance */
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(255, 255, 255, 0.16);
}

/* === CARD ICONS */
.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 16px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-soft);
  box-shadow:
    0 0 20px rgba(168, 85, 247, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

/* === CARD TITLES + TEXT */
.card-title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.card-text {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

/* === TWO COLUMN GRID LAYOUT */
.grid-2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

/* === STACKED GRID LAYOUT */
.stack {
  display: grid;
  gap: 18px;
}

/* === FLEX ROW LAYOUT */
.row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* === RESPONSIVE FORM GRID */
.form-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

/* === FORM FIELD GROUPS */
.field-group {
  grid-column: span 6;
  display: grid;
  gap: 10px;
}

.field-group.full {
  grid-column: 1 / -1;
}

/* ==== LABEL STYLES */
.label {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.84);
}

/* === INPUT FIELDS + TEXTAREA */
.text-field,
.text-area {
  width: 100%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  outline: none;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.4);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast),
    background var(--transition-fast);
}

.text-field {
  min-height: 54px;
  padding: 0 18px;
  border-radius: 16px;
}

.text-area {
  min-height: 150px;
  padding: 16px 18px;
  border-radius: 18px;
  resize: vertical;
}

/* === PLACEHOLDER TEXT */
.text-field::placeholder,
.text-area::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

/* === INPUT FOCUS EFFECTS */
.text-field:focus,
.text-area:focus {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(103, 232, 249, 0.6);
  box-shadow:
    0 0 0 2px rgba(103, 232, 249, 0.16),
    0 0 20px rgba(168, 85, 247, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* === FOOTER SECTION === */
.footer {
  margin-top: 32px;
  padding: 24px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
  /* Blur removed from footer for better performance */
  box-shadow: var(--shadow-glass);

  text-align: center;
}

/* Footer text */
.footer-copy {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: clamp(0.9rem, 2vw, 1rem);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
}

/* === KEYFRAME ANIMATION: Neon Gradient Movement */
@keyframes neonFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === RESPONSIVE BREAKPOINT TABLETS / SMALL LAPTOPS */
@media (max-width: 1100px) {
  .card {
    grid-column: span 6;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* === HAMBURGER MENU BUTTON */
.menu-toggle {
  display: none;
  justify-content: center;
  text-align: center;
}

/* === RESPONSIVE BREAKPOINT MOBILE DEVICES */
@media (max-width: 768px) {
  .site-wrapper {
    width: min(100% - 24px, var(--container-width));
    padding: 20px 0 48px;
  }

  .navbar {
    top: 12px;
    border-radius: 24px;
  }

  .navbar-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .brand {
    width: 100%;
    justify-content: space-between;
  }

  .menu-toggle {
    display: flex;
    align-self: flex-end;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 14px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-soft);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-link,
  .dropbtn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-content {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
    border-radius: 16px;
  }

  .dropdown::after {
    display: none;
  }

  .hero {
    padding: 56px 22px;
    border-radius: 26px;
  }

  .hero-title {
    font-size: clamp(2.3rem, 10vw, 4rem);
  }

  .board {
    padding: 22px;
    border-radius: 24px;
  }

  .card-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .field-group,
  .field-group.full {
    grid-column: auto;
  }

  .tabs {
    width: 100%;
  }

  .tab {
    flex: 1 1 auto;
    text-align: center;
  }

  .menu-toggle {
  display: flex;
  align-self: flex-end;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  }

  .menu-toggle span {
  width: 30px;
  height: 3px;
  background: var(--text-white);
  border-radius: 999px;
  display: block;
  }

  .nav-links {
  display: none;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: 14px;
  }

  .nav-links.show {
  display: flex;
  }

  .hero-photo-wrap{
  padding:20px 20px 0;
  }

  .hero-photo{
  width:100%;
  max-width:100%;
  height:auto;
  min-height:320px;
  object-fit:cover;
  }

  .hero-about-content{
  padding:25px 20px;
  }

  .hero-about-layout{
  grid-template-columns: 1fr;
  }

}

/* === RESPONSIVE BREAKPOINT SMALL MOBILE DEVICES */
@media (max-width: 480px) {
  .hero-actions,
  .row,
  .pill-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-photo-wrap {
    padding: 20px 20px 0;
  }

  .hero-photo {
    width: 100%;
    max-width: 100%;
    min-height: 320px;
    height: auto;
    object-fit: cover;
  }

  .hero-about-content {
    padding: 25px 20px;
  }

  .hero-image-layout {
    grid-template-columns: 1fr;
  }
}

/* === PERFORMANCE OPTIMIZATION OVERRIDES ===
   Keeps the glass style while reducing expensive paint effects on mobile. */
.card,
.btn,
.btn-primary,
.btn-secondary,
.footer,
.text-field,
.text-area {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.card:hover,
.resource-card:hover,
.pill:hover,
.btn:hover {
  transform: translateY(-2px);
}

img {
  height: auto;
}

pre {
  overflow-x: auto;
}

@media (max-width: 768px) {
  .hero::before {
    animation: none;
    filter: blur(35px);
    opacity: 0.10;
  }

  .navbar,
  .hero,
  .dropdown-content {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .card,
  .resource-card,
  .board,
  .footer,
  .pill,
  .btn {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
