@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: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    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;
    object-fit: contain;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.logo img:hover { opacity: 0.55; }

/* ================================
   NAV
================================ */
.navBar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.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%; }

/* ================================
   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;
  display: flex;
  gap: 12px;
  align-items: center;
}

.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;
}

.sign-up-button a:hover {
  background: #00aab2;
  border-color: #00aab2;
}

/* ================================
   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);
}

/* Container */
.topBtn-container {
  position: fixed;
  /* bottom: 2rem;
  right: 2rem; */
  bottom: 2rem;
  right: 3rem;
  z-index: 999;
}

/* Button */
#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; }