@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Orbitron', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
}
:root {
  /* Logo colors */
  --color-1: #70B78F;
  --color-2: #58B0A8;
  --color-3: #51C186;
  --color-4: #39BA9F;
  --color-5: #27B6B7;
  --color-6: #13B0CB;
  
  --gradient-primary: linear-gradient(135deg, #13B0CB, #27B6B7, #39BA9F);
  --gradient-secondary: linear-gradient(135deg, #51C186, #58B0A8, #70B78F);
  --gradient-accent: linear-gradient(45deg, #13B0CB, #51C186);
  
  --black: #000000;
  --black-light: #1a1a1a;
  --gray-dark: #2d2d2d;
  --gray-medium: #4a4a4a;
  --gray-light: #6b6b6b;
  --gray-lighter: #e0e0e0;
  --white: #ffffff;
  --off-white: #f5f5f5;
  
  --text-dark: var(--black);
  --text-medium: var(--gray-medium);
  --text-light: var(--gray-light);
  
  --bg-white: var(--white);
  --bg-light: var(--off-white);
  --bg-dark: var(--black-light);
  --bg-gradient: linear-gradient(135deg, #f8fafc, #f0f7fa, #e6f0f5);
  
  --border-light: #e9edf4;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.15);
  --shadow-colored: 0 10px 30px -5px rgba(19, 176, 203, 0.3);
}

body {
  background: var(--bg-gradient);
  color: var(--text-dark);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 4rem;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-medium);
  font-size: 1rem;
  transition: all 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.2s;
}

.nav-links a:hover::after,
.nav-links .active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links .active {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
}

/* TOP TAGLINE */
.top-tagline {
  background: var(--black);
  color: var(--white);
  padding: 0.75rem 4rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--gray-dark);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-tagline i {
  color: var(--color-3);
  font-size: 0.7rem;
}

/* CONTAINER */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* SECTION BADGE */
.section-badge {
  display: inline-block;
  background: rgba(19, 176, 203, 0.1);
  color: var(--color-6);
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.centered {
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* NEWSLETTER SECTION (Global) */
.newsletter-section {
  padding: 4rem 0;
  background: var(--black);
}

.newsletter-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  color: var(--white);
}

.newsletter-icon {
  font-size: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-6);
}

.newsletter-text {
  flex: 1;
  min-width: 250px;
}

.newsletter-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.newsletter-text p {
  color: var(--gray-lighter);
  font-size: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  min-width: 400px;
  flex-wrap: wrap;
}

.input-wrapper {
  flex: 1;
  position: relative;
  min-width: 250px;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-6);
  font-size: 1rem;
}

.input-wrapper input {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 2.5rem;
  border: 1px solid var(--gray-dark);
  border-radius: 50px;
  font-size: 1rem;
  background: var(--gray-dark);
  color: var(--white);
  outline: none;
  transition: all 0.2s;
}

.input-wrapper input:focus {
  border-color: var(--color-6);
  box-shadow: 0 0 0 2px rgba(19, 176, 203, 0.3);
}

.subscribe-btn {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  padding: 0 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.subscribe-btn:hover {
  gap: 12px;
  box-shadow: var(--shadow-colored);
}

/* FOOTER (Global) */
.footer {
  background: var(--black);
  color: var(--white);
  margin-top: auto;
  padding: 4rem 0 0;
  border-top: 1px solid var(--gray-dark);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem;
  border-bottom: 1px solid var(--gray-dark);
}

.footer-column h4 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.6rem;
}

.footer-column ul li a {
  color: var(--gray-lighter);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
  display: inline-block;
}

.footer-column ul li a:hover {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateX(4px);
}

.footer-bottom {
  background: var(--black-light);
  padding: 1.5rem 2rem;
}

.footer-bottom-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-img {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gray-light);
  font-size: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-copyright .divider {
  color: var(--color-6);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--white);
  background: var(--gray-dark);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .navbar {
    padding: 1rem 2rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem 2rem;
    box-shadow: var(--shadow-md);
    gap: 1rem;
    z-index: 99;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .top-tagline {
    padding: 0.5rem 2rem;
  }
  
  .newsletter-form {
    min-width: 100%;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 1rem;
  }
  
  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }
  
  .newsletter-icon {
    margin: 0 auto;
  }
  
  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }
  
  .subscribe-btn {
    width: 100%;
    justify-content: center;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-copyright .divider {
    display: none;
  }
}

/* BrainVoice refresh */
.top-tagline {
  display: none !important;
}

.navbar {
  padding: 1.2rem 2.5rem;
  border-bottom: 1px solid rgba(19, 176, 203, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

.logo-container {
  text-decoration: none;
}

.navbar .logo-img {
  display: none;
}

.logo-text {
  color: #000;
  background: none;
  -webkit-text-fill-color: initial;
  font-family: 'teknolog', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo-text span,
.footer-brand-text span {
  color: #51c186;
  background: none;
  -webkit-text-fill-color: initial;
}

.nav-links {
  align-items: center;
  gap: 0.95rem;
}

.nav-links a {
  font-family: 'teknolog', sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000;
  padding-right: 1rem;
}

.nav-links a:not(.nav-cta)::after {
  content: '/';
  width: auto;
  height: auto;
  position: absolute;
  right: -0.5rem;
  left: auto;
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #000;
}

.nav-cta {
  padding: 0.95rem 1.7rem !important;
  border-radius: 0;
  clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%);
  background: #0f8688;
  color: var(--white) !important;
  box-shadow: none;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover,
.nav-cta.active {
  -webkit-text-fill-color: var(--white);
  background: #0b6f71;
  transform: none;
}

main {
  position: relative;
}

main::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(19, 176, 203, 0.12), transparent 28%),
    radial-gradient(circle at left 20%, rgba(81, 193, 134, 0.08), transparent 26%);
  z-index: -1;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  background: #fff;
  color: #0f5053;
  border-top: 1px solid rgba(19, 176, 203, 0.12);
  padding-top: 3.5rem;
}

.footer-container {
  max-width: 1380px;
  grid-template-columns: 1.2fr 0.95fr 0.95fr 0.95fr 0.95fr 1.25fr;
  gap: 1.75rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px dashed rgba(15, 80, 83, 0.2);
}

.footer-column h4,
.footer-brand-column h4 {
  color: #000;
  background: none;
  -webkit-text-fill-color: initial;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1rem;
  font-family: 'teknolog', sans-serif;
}

.footer-column h4::after,
.footer-brand-column h4::after {
  width: 36px;
  background: linear-gradient(135deg, #13b0cb, #51c186);
}

.footer-brand-column {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.footer-brand img {
  height: 42px;
  width: auto;
}

.footer-brand-text {
  font-family: 'teknolog', sans-serif;
  color: #000;
  font-size: 1.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-brand-copy {
  color: #315e60;
  line-height: 1.8;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--white);
  background: #0f8688;
  box-shadow: none;
}

.footer-social a:hover {
  transform: translateY(-3px) scale(1.02);
  background: linear-gradient(135deg, #0a6f71, #0ea2bb);
}

.footer-column ul li a {
  color: #2d6668;
  line-height: 1.7;
  font-family: 'teknolog', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-column ul li a:hover {
  transform: translateX(6px);
}

.footer-form-column {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.footer-form {
  display: grid;
  gap: 0.9rem;
}

.footer-form label {
  color: #0f5053;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'teknolog', sans-serif;
}

.footer-form input {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(15, 80, 83, 0.28);
  background: transparent;
  padding: 0.55rem 0;
  color: #0f5053;
  outline: none;
  font-family: inherit;
}

.footer-form input:focus {
  border-bottom-color: #13b0cb;
}

.footer-form button {
  width: fit-content;
  min-width: 124px;
  border: none;
  border-radius: 0;
  background: #167f7f;
  color: var(--white);
  padding: 0.95rem 1.7rem;
  cursor: pointer;
  font-family: 'ki', sans-serif;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(22, 127, 127, 0.18);
}

.footer-bottom {
  background: transparent;
  padding-top: 1.4rem;
  padding-bottom: 1.8rem;
}

.footer-bottom-content {
  color: #315e60;
}

.footer-meta-link {
  color: #0e7d80;
  text-decoration: none;
}

.footer-meta-link:hover {
  text-decoration: underline;
}

@media (max-width: 1200px) {
  .footer-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .navbar {
    padding: 1rem 1.25rem;
  }

  .nav-links.active {
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.85rem;
  }

  .nav-links.active a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    clip-path: none;
  }

  .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-form-column {
    padding: 1rem;
  }

  .footer-bottom-content,
  .footer-copyright {
    flex-direction: column;
    text-align: center;
  }
}

@font-face {
  font-family: 'ki';
  src: url('../../wp-content/themes/startdigital/static/font/ki.woff');
}

@font-face {
  font-family: 'teknolog';
  src: url('../../wp-content/themes/startdigital/static/font/nb_architekt_bold.woff2');
}

:root {
  --font-heading: 'teknolog', sans-serif;
  --font-body: 'ki', sans-serif;
  --color-3: #51c186;
  --color-6: #13b0cb;
  --text-dark: #000000;
  --text-medium: #315e60;
  --text-light: #4e8082;
  --bg-white: #ffffff;
  --bg-light: #f7fbfc;
  --bg-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 252, 0.94));
  --border-light: rgba(19, 176, 203, 0.12);
  --gradient-primary: linear-gradient(135deg, #13b0cb, #51c186);
  --gradient-accent: linear-gradient(135deg, #13b0cb, #51c186);
}

html,
body {
  font-family: var(--font-body) !important;
  background: var(--bg-gradient) !important;
  color: var(--text-medium) !important;
}

body p,
body a,
body span,
body li,
body label,
body input,
body textarea,
body select,
body button,
.hero-description,
.section-header p,
.footer-brand p,
.footer-bottom-content,
.footer-form input {
  font-family: var(--font-body) !important;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .logo-text,
body .nav-links a,
body .hero-badge,
body .section-badge,
body .nav-cta,
body .footer-column h3,
body .footer-column a,
body .footer-form label {
  font-family: var(--font-heading) !important;
}

.navbar {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid var(--border-light) !important;
  box-shadow: none !important;
}

.logo-text {
  color: #000 !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
}

.logo-text span {
  color: var(--color-3) !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
}

.nav-links a {
  color: #000 !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
}

.nav-links a:hover,
.nav-links .active {
  color: #0f8688 !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
}

.hero-section,
.newsletter-section,
.stats-section,
.blog-posts-section,
.blog-grid-section,
.career-hero,
.contact-hero {
  background: transparent !important;
}

.section-badge,
.hero-badge {
  background: rgba(19, 176, 203, 0.08) !important;
  color: #0f8688 !important;
}

.featured-card,
.post-card,
.category-card,
.opening-card,
.benefit-card,
.process-step,
.contact-card,
.success-card,
.story-card {
  background: rgba(255, 255, 255, 0.96) !important;
  color: var(--text-medium) !important;
  border: 1px solid rgba(19, 176, 203, 0.12) !important;
  box-shadow: 0 18px 40px rgba(19, 176, 203, 0.08) !important;
}

.footer {
  background: #fff !important;
  color: #0f5053 !important;
}


/* ==========================================================================
   GLOBAL RESPONSIVE OVERRIDES (ADDED AUTOMATICALLY)
   ========================================================================== */
@media (max-width: 900px) {
  .hero-content h1 { font-size: 2.5rem !important; }
  .section-header h2 { font-size: 2rem !important; }
  .mission-grid, .strategy-grid, .services-grid, .footer-container, .contact-content, .career-content, .job-listings {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 768px) {
  /* Enforce container widths to avoid horizontal scrolling */
  body, html {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  
  .container {
    padding: 0 1rem !important;
    width: 100% !important;
  }

  /* Typography downscaling */
  h1 { font-size: 2.2rem !important; line-height: 1.2 !important; }
  h2 { font-size: 1.8rem !important; line-height: 1.3 !important; }
  h3 { font-size: 1.5rem !important; }
  p, .hero-description, .mission-text { font-size: 0.95rem !important; line-height: 1.5 !important; }
  
  /* Reset complex grids to 1 column */
  .grid-2, .grid-3, .grid-4, .strategy-grid, .services-grid, .mission-grid, .blog-grid, .career-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  /* Reset flex layouts */
  .flex-row, .hero-split, .contact-split {
    flex-direction: column !important;
  }

  /* Forms and inputs */
  input, select, textarea, button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Padding margins normalization */
  .hero-section, .mission-section, .strategy-section, .services-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  /* Images responsive */
  img {
    max-width: 100% !important;
    height: auto !important;
  }
}
