/* ==========================================================================
   Premium Typography & Color Variables
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@300;400;500&display=swap');

:root {
  --color-bg: #0a0a0c;
  --color-surface: rgba(255, 255, 255, 0.03);
  --color-surface-hover: rgba(255, 255, 255, 0.08);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-text: #ffffff;
  --color-text-muted: #a0a0a5;
  --color-accent: #5cc4ed; /* Super Agency Blue */
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  background-color: #000;
  color: var(--color-text);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Glassmorphism Navbar
   ========================================================================== */
.navbar-glass {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  padding: 1.5rem 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar-glass.scrolled {
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-text) !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.navbar-brand span {
  color: var(--color-accent);
}

.team-dropdown {
  position: relative;
  padding-bottom: 0.4rem;
  margin-bottom: -0.4rem;
}

.team-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.team-dropdown-toggle::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.team-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 220px;
  padding: 0.55rem;
  background: rgba(10, 10, 12, 0.92);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.team-dropdown-menu a {
  display: block;
  padding: 0.75rem 0.85rem;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 6px;
}

.team-dropdown-menu a:hover,
.team-dropdown-menu a:focus {
  background: var(--color-surface-hover);
  color: var(--color-accent);
}

.team-dropdown:hover .team-dropdown-menu,
.team-dropdown:focus-within .team-dropdown-menu,
.team-dropdown.is-open .team-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.team-dropdown:hover .team-dropdown-toggle::after,
.team-dropdown:focus-within .team-dropdown-toggle::after,
.team-dropdown.is-open .team-dropdown-toggle::after {
  transform: rotate(225deg) translate(-2px, -1px);
}

/* ==========================================================================
   Hero Parallax Section
   ========================================================================== */
.hero-wrapper {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: clip;
  view-timeline: --hero-wrapper;
}

.hero-bg {
  position: fixed;
  top: 0; 
  left: 0; 
  width: 100vw; 
  height: 100vh; 
  object-fit: cover;
  z-index: -3;
  filter: brightness(0.4);
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(10, 10, 12, 0.8) 100%);
  z-index: -2;
}

.hero-content {
  text-align: center;
  z-index: 1;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-content h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--color-text-muted);
  font-weight: 300;
}

@keyframes parallax {
  from { transform: translateY(0); }
  to { transform: translateY(200px); }
}

/* ==========================================================================
   Section Connectors
   ========================================================================== */
.section-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.section-connector .line {
  width: 1px;
}

.section-connector .top-line {
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5));
}

.section-connector .bottom-line {
  height: 80px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
}

.section-connector .dot {
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  margin: 5px 0;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   The Vision Section
   ========================================================================== */
.vision-section {
  padding: 10rem 0;
  text-align: center;
  position: relative;
}

.vision-text {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-text);
  max-width: 900px;
  margin: 0 auto;
}

.vision-text span {
  color: var(--color-accent);
  font-weight: 600;
}

/* ==========================================================================
   Meet The Team
   ========================================================================== */
.team-section {
  padding: 5rem 0 10rem;
  background: linear-gradient(to bottom, transparent 0%, #000000 100%);
}

.section-title {
  font-size: 3rem;
  margin-bottom: 4rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-card {
  background: rgba(255, 255, 255, 0.05); /* Solid filled feel over the black/transparent gradient */
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.3s ease, box-shadow 0.4s ease;
  text-decoration: none;
  display: block;
  color: inherit;
  height: 100%;
}

.team-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.6);
  color: inherit;
}

.team-card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.team-card:hover img {
  transform: scale(1.05);
}

.team-card-content {
  padding: 2rem;
}

.team-card-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.team-card-role {
  color: var(--color-accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.team-card-desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 575px) {
  .navbar-glass {
    padding: 0.85rem 0;
  }

  .navbar-glass .container {
    flex-direction: column;
    justify-content: center !important;
    gap: 0.65rem;
  }

  .navbar-glass .d-flex.align-items-center.gap-4 {
    width: 100%;
    justify-content: center;
    gap: 0.65rem !important;
    flex-wrap: wrap;
  }

  .navbar-glass .navbar-brand img {
    height: 32px !important;
  }

  .navbar-glass .btn {
    padding: 0.45rem 0.85rem !important;
    font-size: 0.72rem !important;
    line-height: 1.2;
    white-space: nowrap;
  }

  .team-dropdown {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .team-dropdown-toggle {
    min-height: 34px;
    font-size: 0.78rem;
  }

  .team-dropdown-menu {
    position: fixed;
    top: 86px;
    left: 1rem;
    right: 1rem;
    width: auto;
    min-width: 0;
  }

  .team-section .row {
    margin-left: 0;
    margin-right: 0;
  }

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

/* ==========================================================================
   Native Scroll Reveal Animations
   ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s ease-out, transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: opacity, transform;
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ==========================================================================
   Join The Team Section
   ========================================================================== */
.join-team-section {
  position: relative;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.85)), url('images/join_team_bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 8rem 2rem !important;
  width: 100%;
}

#join-team {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(17, 160, 220, 0.1), transparent 34%),
    radial-gradient(circle at 18% 18%, rgba(92, 196, 237, 0.045), transparent 26%),
    linear-gradient(180deg, #05080b 0%, #020304 100%);
  color: #fff;
  padding: 92px 0 82px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

#join-team::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 8px 8px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 86%);
  opacity: 0.42;
  pointer-events: none;
}

#join-team .container-fluid {
  position: relative;
  z-index: 1;
  max-width: 98%;
  margin-left: auto;
  margin-right: auto;
}

#join-team .row.align-items-center {
  display: block;
}

#join-team .col-lg-8 {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

#join-team h2 {
  color: #5cc4ed;
  font-size: 0.82rem !important;
  font-weight: 800;
  letter-spacing: 0.32em;
  line-height: 1;
  margin-bottom: 1.35rem !important;
  text-transform: uppercase;
}

#join-team h4 {
  max-width: 820px;
  margin: 0 auto 1.75rem;
  color: #f5f7f9;
  font-size: clamp(2.5rem, 4.8vw, 4.65rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

#join-team p.lead,
#join-team .col-lg-8 > p:not(.lead) {
  max-width: 960px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 400;
  line-height: 1.58;
}

#join-team .col-lg-8 > p.fst-italic {
  margin-top: 1.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  font-weight: 700;
}

#join-team h6 {
  display: none;
}

#join-team .col-lg-12 {
  margin-top: 3.45rem;
}

#join-team .row.g-3.\34-cols {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

#join-team .row.g-3 > .col-md-6 {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

#join-team .row.g-3 > .col-md-6:last-child {
  border-right: 0;
}

#join-team .row.g-3 > .col-md-6 > .p-3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 250px;
  height: 100%;
  flex: 1 1 auto;
  width: 100%;
  padding: 3rem clamp(1.5rem, 3vw, 3rem) !important;
  background: transparent;
  border: 0;
  border-radius: 0 !important;
  transition: background 0.25s ease;
}

#join-team .row.g-3 > .col-md-6 > .p-3:hover {
  background: rgba(255, 255, 255, 0.025);
}

#join-team strong {
  display: flex !important;
  align-items: flex-start;
  gap: 0.5rem;
  color: #27bdf2 !important;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.55rem !important;
}

#join-team strong .bi {
  flex: 0 0 1.25rem;
  width: 1.25rem;
  margin-top: 0.05rem;
  color: #27bdf2;
  font-size: 1rem;
  line-height: 1;
}

#join-team small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 1rem;
  line-height: 1.85;
}

#join-team .mt-4.pt-3.text-center {
  margin-top: 3.25rem !important;
  padding-top: 0 !important;
}

#join-team .fw-semibold {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 500 !important;
  margin-bottom: 1.35rem !important;
}

#join-team .btn-primary.btn-lg {
  min-width: min(100%, 360px);
  padding: 1rem 2.2rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #8bdcff, #11a0dc);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 18px 45px rgba(17, 160, 220, 0.22);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

#join-team .btn-primary.btn-lg:hover {
  background: linear-gradient(90deg, #b6ecff, #12ace9);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 22px 56px rgba(17, 160, 220, 0.3);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  #join-team {
    padding: 72px 0 64px;
  }

  #join-team .container-fluid {
    max-width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #join-team h4 {
    font-size: clamp(2.15rem, 7vw, 3.6rem);
  }

  #join-team .col-lg-12 {
    margin-top: 2.65rem;
  }

  #join-team .row.g-3 > .col-md-6 {
    display: block;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  #join-team .row.g-3 > .col-md-6:last-child {
    border-bottom: 0;
  }

  #join-team .row.g-3 > .col-md-6 > .p-3 {
    min-height: auto;
    padding: 2rem 0.65rem !important;
  }
}

@media (max-width: 767px) {
  #join-team {
    padding: 62px 0 56px;
  }

  #join-team h2 {
    font-size: 0.72rem !important;
    letter-spacing: 0.24em;
    margin-bottom: 1.1rem !important;
  }

  #join-team h4 {
    font-size: 2.18rem;
  }

  #join-team p.lead,
  #join-team .col-lg-8 > p:not(.lead) {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  #join-team .col-lg-8 > p.fst-italic {
    font-size: 0.92rem;
  }

  #join-team strong {
    font-size: 1.08rem;
    margin-bottom: 1rem !important;
  }

  #join-team small {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  #join-team .row.g-3 > .col-md-6 > .p-3 {
    padding: 1.75rem 0.2rem !important;
  }

  #join-team .btn-primary.btn-lg {
    width: 100%;
    min-width: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #000000;
  border-top: 1px solid var(--color-border);
  padding: 4rem 0;
  text-align: center;
}

.site-footer p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Dropdown Item Enhancements */
.hover-glow:hover {
  background: rgba(255,255,255,0.05) !important;
}
.hover-glow:hover .dropdown-icon-box {
  transform: scale(1.1) rotate(5deg);
  background: rgba(92, 196, 237, 0.15) !important;
  box-shadow: 0 0 15px rgba(92, 196, 237, 0.4);
}
.dropdown-icon-box {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.transition-all {
  transition: all 0.3s ease;
}
