@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "DM Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

:root {
  --black: #000000;
  --dark: #111111;
  --mid: #333333;
  --soft: #666666;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --border: rgba(0, 0, 0, 0.09);
  --transition: all 0.3s ease;
}

/* ================================
   HEADER
================================ */
.header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  height: 74px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: none;
  border-bottom-right-radius: 24px;
  border-bottom-left-radius: 24px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.08),
    0 1px 0 rgba(0, 0, 0, 0.04);
  z-index: 10000;
  transition: all 0.3s ease;
}

.logo img {
  height: 70px;
  margin-top: 4px;
  margin-right: 15px;
  object-fit: contain;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.logo img:hover {
  opacity: 0.55;
}

/* ================================
   NAV
================================ */
.navBar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-left: 32px;
}

.navBar ul.all {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navBar li {
  list-style: none;
}

.navBar li a {
  color: #000;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  transition: opacity 0.2s ease;
}

.navBar li a:hover {
  opacity: 0.45;
}

.navBar li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #000;
  transition: width 0.3s ease;
}

.navBar li a:hover::after {
  width: 100%;
}

/* ================================
   HAMBURGER MENU
================================ */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;

  gap: 5px;

  width: 24px;
  height: 40px;

  margin-left: auto;
  margin-right: 0;

  padding: 0;
  background: none;
  border: none;

  cursor: pointer;
  z-index: 10001;

  flex-shrink: 0;
}

.menu-container {
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;

  margin: 0;

  background: #000;
  border-radius: 2px;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* ================================
   MOBILE SIDEBAR
================================ */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 10002;
  transition: right 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  overflow-y: auto;
}

.mobile-sidebar.open {
  right: 0;
}

.mobile-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.menu-close {
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: #000;
}

.mobile-sidebar-content {
  padding: 24px;
}

.mobile-section {
  padding: 24px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-section:last-child {
  border-bottom: none;
}

/* Section 1 - Auth */
.mobile-auth-section .authentication-buttons {
  display: flex;
  gap: 12px;
  margin-left: 0;
  padding-left: 0;
  border-left: none;
}

.mobile-auth-section .sign-in-button a,
.mobile-auth-section .sign-up-button a {
  display: block;
  text-align: center;
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.mobile-auth-section .sign-in-button a {
  border: 1px solid #d1d1d1;
  color: #1a1a1a;
}

.mobile-auth-section .sign-up-button a {
  background: #00c2cb;
  color: #fff;
}

/* Section 2 - Search */
.mobile-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid #d1d1d1;
  border-radius: 8px;
}

.mobile-search-form i {
  color: rgba(0, 0, 0, 0.4);
}

.mobile-search-form input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 15px;
}

/* Section 3 - Nav */
.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-list > li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-list > li > a {
  display: block;
  padding: 16px 0;
  color: #000;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}

.mobile-accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 500;
  color: #000;
  cursor: pointer;
}

.mobile-accordion-trigger i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.mobile-accordion.open .mobile-accordion-trigger i {
  transform: rotate(180deg);
}

.mobile-accordion-panel {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-accordion.open .mobile-accordion-panel {
  max-height: 300px;
}

.mobile-accordion.open .mobile-tech-panel {
  max-height: 1200px;
}

.mobile-accordion-panel li a {
  display: block;
  padding: 10px 0 10px 16px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  text-decoration: none;
}

/* Technologies - grouped sub-menu */
.mobile-tech-group {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-tech-group:first-child {
  border-top: none;
}

.mobile-tech-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0 6px 16px;
  color: #000;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-tech-group-title i {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.5);
  width: 14px;
  text-align: center;
}

.mobile-tech-group-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-tech-group-list li a {
  padding-left: 38px;
}

/* Overlay */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ================================
   RESPONSIVE HEADER
================================ */
@media (max-width: 900px) {
  .header {
    width: 100%;
    left: 0;
    transform: none;

    border-radius: 0;

    /*
      Left side keeps 16px spacing.
      Right side has 0px spacing,
      so hamburger reaches the edge.
    */
    padding: 0 0 0 16px;
  }

  .navBar,
  .search-wrapper {
    display: none !important;
  }

  /* Scoped to the header's own auth buttons specifically (child combinator)
     so this doesn't also hide the mobile sidebar's Sign In/Sign Up buttons,
     which reuse the same .authentication-buttons class name. */
  .header > .authentication-buttons,
  #user-button {
    display: none !important;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
    margin-right: 0;
    flex-shrink: 0;
  }
}

/* ================================
   DROPDOWN
================================ */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 82%;
  max-height: calc(100vh - 120px);
  background: rgb(255, 255, 255);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  display: none;
  padding: 36px 56px;
  z-index: 9999;
  overflow-y: auto;
}

.dropdown-menu li {
  list-style: none;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu li a {
  display: block;
  padding: 7px 0;
  color: rgba(0, 0, 0, 0.5);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dropdown-menu li a::after {
  display: none;
}

.dropdown-menu li a:hover {
  color: #000;
  padding-left: 10px;
  opacity: 1;
}

.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown > a i {
  transition: transform 0.3s ease;
  font-size: 9px;
  margin-left: 4px;
  opacity: 0.3;
}

.dropdown.open > a i {
  transform: rotate(180deg);
}

/* ================================
   TECH MEGA MENU
================================ */
.tech-mega-menu {
  padding: 40px 56px 44px;
}

.tech-mega-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 0;
}

/* Column dividers */
.tech-col {
  padding: 0 32px;
  border-right: 1px solid rgba(0, 0, 0, 0.07);
}

.tech-col:first-child {
  padding-left: 0;
}

.tech-col:last-child {
  padding-right: 0;
  border-right: none;
}

/* Column header row */
.tech-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.1);
}

.tech-col-header i {
  font-size: 15px;
  color: #000;
  opacity: 0.75;
}

.tech-col-header span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000;
}

/* Items inside each column */
.tech-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tech-col ul li a {
  display: block;
  padding: 7px 0;
  color: rgba(0, 0, 0, 0.5);
  font-size: 13.5px;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tech-col ul li:last-child a {
  border-bottom: none;
}

.tech-col ul li a:hover {
  color: #000;
  padding-left: 8px;
  opacity: 1;
}

/* ================================
   BUTTONS
================================ */
.authentication-buttons {
  margin-left: auto;
  padding-left: 20px;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 12px;
}

.sign-in-button,
.sign-up-button {
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
}

.sign-in-button a,
.sign-up-button a {
  display: inline-block;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.sign-in-button a {
  color: #1a1a1a;
  border: 1px solid #d1d1d1;
  background: transparent;
}

.sign-in-button a:hover {
  border-color: #00c2cb;
  color: #00c2cb;
}

.sign-up-button a {
  color: #ffffff;
  background: #00c2cb;
  border: 1px solid #00c2cb;
  box-shadow: 0 4px 14px rgba(0, 194, 203, 0.28);
}

.sign-up-button a:hover {
  background: #00aab2;
  border-color: #00aab2;
  box-shadow: 0 6px 18px rgba(0, 194, 203, 0.36);
}

.authentication-buttons {
  display: flex;
}

/* Hidden by default — only shown by the inline script in index.html once
   Clerk confirms a signed-in user, via userButtonDiv.style.display = "block".
   Previously always `display: flex`, which left an invisible empty flex
   item permanently sitting in the header (even signed out), and — combined
   with the mobile rule below targeting the wrong selector — was the actual
   reason the hamburger button never reached the header's right edge:
   justify-content: space-between reserves the true edge for the LAST flex
   child, and that was this div, not the hamburger. */
#user-button {
  display: none;
  margin-left: auto;
}

/* Unused Clerk mount point — no script anywhere mounts anything to it.
   Kept in the markup for now but always hidden so it can't affect layout. */
#sign-in {
  display: none;
}

#user-button-mobile {
  display: none;
}

/* ================================
   SEARCH
================================ */
.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 32px;
  min-height: 32px;
  margin-left: 16px;
  margin-right: auto;
}

.search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #000;
  padding: 8px;
  transition: opacity 0.2s ease;
}

.search-toggle:hover {
  opacity: 0.45;
}

.search-wrapper.open .search-toggle {
  display: none;
}

.search-form {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: width 0.3s ease;
}

.search-form.open {
  width: 260px;
}

.search-input {
  flex: 1;
  min-width: 0;
  padding: 6px 2px 8px;
  border: none;
  border-bottom: 1px solid #d1d1d1;
  border-radius: 0;
  font-size: 14px;
  outline: none;
  background: transparent;
  transition: border-color 0.2s ease;
}

.search-input:focus {
  border-bottom-color: #00c2cb;
}

.search-close {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: var(--soft, #666);
  padding: 4px;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.search-close:hover {
  opacity: 0.55;
}

/* ================================
   HOME SECTION
================================ */
#home {
  background-image: url("assets/home.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

#home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.65) 50%,
    rgba(0, 0, 0, 0.25) 100%
  );
  z-index: 0;
}

#home::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--off-white);
  z-index: 2;
  animation: lineGrow 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes lineGrow {
  to {
    height: 100%;
  }
}

/* ================================
   CONTENT WRAPPER
================================ */
.home-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 0 100px;
  max-width: 920px;
  gap: 0;
}

.home-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.home-tag::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  display: block;
}

.home-headline {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(80px, 10vw, 132px);
  font-weight: 400;
  line-height: 0.92;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.home-headline .dim {
  color: rgba(255, 255, 255, 0.22);
}

.home-desc {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 44px;
  letter-spacing: 0.01em;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
}

.home-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

.home-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.home-btn-primary:hover {
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-2px);
}

/* ================================
   STATS ROW
================================ */
.home-stats {
  position: absolute;
  bottom: 60px;
  left: 100px;
  right: 100px;
  display: flex;
  align-items: center;
  gap: 0;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards;
}

.home-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 40px;
}

.home-stat strong {
  font-family: "Bebas Neue", sans-serif;
  font-size: 36px;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.5px;
}

.home-stat span {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-stat-div {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  margin-right: 40px;
  flex-shrink: 0;
}

/* ================================
   ANIMATIONS
================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   RESPONSIVE HOME
================================ */
@media (max-width: 768px) {
  .home-content {
    padding: 0 28px;
  }

  .home-stats {
    left: 28px;
    right: 28px;
    bottom: 36px;
  }

  .home-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-stat strong {
    font-size: 28px;
  }

  .home-stat-div {
    margin-right: 24px;
  }

  .home-stat {
    padding-right: 24px;
  }
}

@media (max-width: 480px) {
  .home-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .home-stat-div {
    display: none;
  }
}

/* ================================
   PARTNERS - LIGHT
================================ */
.partners {
  background: #e7e5e5;
  padding: 100px 20px;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.headline {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.8rem;
  letter-spacing: 1px;
  color: #000;
}

.subheadline {
  font-size: 1rem;
  color: rgb(0, 0, 0);
  margin-bottom: 40px;
  font-weight: 500;
}

.carousel {
  overflow: hidden;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.carousel.reveal-carousel {
  opacity: 1;
  transform: translateY(0);
}

.carousel-inner {
  display: flex;
  width: max-content;
  animation: spin 20s linear infinite;
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 1em;
  padding-right: 1em;
  flex-shrink: 0;
}

@keyframes spin {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.partner-card {
  background: #b4b3b33f;
  border: 1px solid #b4b3b39d;
  border-radius: 8px;
  width: 160px;
  height: 100px;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.partner-card img {
  max-width: 100%;
  max-height: 100%;
}

.partner-card:hover {
  background: #cecdcd91;
  border-color: #96969623;
  transform: translateY(-3px);
}

.partner-cont {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================================
   CLIENTS — LIGHT
================================ */
.clients-section {
  background: #f7f7f7e8;
  padding: 80px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.clients-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.8rem;
  letter-spacing: 1px;
  color: #000;
}

.clients-subtitle {
  font-size: 1rem;
  color: rgb(0, 0, 0);
  margin-bottom: 50px;
  font-weight: 500;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 1000px;
  margin: auto;
}

.client-card {
  width: 165px;
  height: 110px;
  background: rgba(70, 69, 69, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  scale: 0;
}

.client-card.show {
  scale: 1;
}

.client-card img {
  max-width: 100%;
  max-height: 100%;
  filter: grayscale(100%) brightness(0.6) invert(1);
  transition: all 0.3s ease;
}

.client-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.client-card:hover img {
  filter: grayscale(0%) brightness(0.3) invert(0);
}

/* ================================
   NEWS / INQUIRY — LIGHT
================================ */
.news-section {
  background: #d8d8d8;
  padding: 100px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.news-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-card:hover img {
  transform: scale(1.05);
}

.news-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  text-align: left;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0) 35%,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0.75) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.news-card:hover .news-overlay {
  opacity: 1;
}

.news-card-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  color: var(--white);
  line-height: 1.2;
}

.news-card-date {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 480px) {
  .news-section {
    padding: 60px 16px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   TOP BUTTON
================================ */
.topBtn-container {
  position: fixed;
  bottom: 2rem;
  right: 3rem;
  z-index: 999;
}

#topBtn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.342);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #1a1a1a;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.05);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

#topBtn:hover {
  background: rgba(255, 255, 255, 0.5);
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.06);
  transform: scale(1.07);
}

#topBtn:active {
  transform: scale(0.97);
}

/* ================================
   FOOTER
================================ */
.footer {
  padding-top: 60px;
  background: #f7f7f7e8;
  border-top: 1px solid #11111111;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 80px 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.footer-brand img {
  width: 120px;
  margin-bottom: 15px;
}

.footer-brand p {
  font-size: 13px;
  color: #000;
  line-height: 1.7;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: rgb(0, 0, 0);
}

.footer-links a {
  display: block;
  text-decoration: none;
  color: #000;
  margin-bottom: 10px;
  font-size: 13px;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: #000;
  transform: translateX(4px);
}

.footer-contact p {
  font-size: 13px;
  color: #000;
  margin-bottom: 10px;
}

.footer-contact i {
  margin-right: 8px;
  color: #000;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.075);
  font-size: 12px;
  color: #000;
  letter-spacing: 0.03em;
}

.footer-bottom a {
  text-decoration: none;
  color: #111;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #272727;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(0, 0, 0, 0.123);
  color: #000;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: #2e2e2e;
  background: #999;
  border-color: #ddd;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 24px 40px;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* ================================
   INPUT BOX
================================ */
.input-box {
  position: relative;
  width: 100%;
}

.input-box input {
  width: 100%;
  height: 45px;
}

.input-box label {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
  transition: 0.3s ease;
}

/* ================================
   SCROLLBAR
================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #000;
  border-radius: 999px;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #000 #f1f5f9;
}
