/* ==========================================================================
   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%;
}

/* ==========================================================================
   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;
}
