:root {
  --dark-blue: #0A1E3F;
  --parrot-green: #71C931;
  --light-blue: #00A3E0;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --text-dark: #333333;
  --text-light: #F0F4F8;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  color: var(--dark-blue);
  margin-bottom: 1.5rem;
  text-align: center;
}

p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 0;
  height: 80px;
  overflow: visible;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-left: -1.5rem;
}

.nav-logo-img {
  height: 115px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
  position: relative;
}

.nav-logo-img:hover {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--dark-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--parrot-green);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--parrot-green);
}

.cta-btn {
  background: linear-gradient(135deg, var(--parrot-green), #8ae046);
  color: var(--dark-blue);
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 20px rgba(113, 201, 49, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-btn:hover {
  background: linear-gradient(135deg, var(--light-blue), #00bfff);
  color: var(--white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 163, 224, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--dark-blue);
  overflow: hidden;
  padding-top: 80px;
  /* Offset for header */
}

.hero.hero-internal {
  height: 60vh;
  min-height: 0;
  padding-top: 140px;
  padding-bottom: 60px;
}

.hero.hero-about {
  height: 35vh;
  min-height: 0;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Neutral dark overlay for text readability, no blue color */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero-tagline {
  color: var(--parrot-green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: block;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-title span {
  color: var(--parrot-green);
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--parrot-green), #8ae046);
  color: var(--dark-blue);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(113, 201, 49, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #8ae046, var(--parrot-green));
  color: var(--dark-blue);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 25px rgba(113, 201, 49, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--dark-blue);
  border-color: var(--white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* About Section */
.about {
  background-color: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  text-align: left;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(10, 30, 63, 0.1);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background-color: var(--parrot-green);
  z-index: -1;
  border-radius: 20px;
}

/* Services Section */
.services {
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header p {
  color: var(--light-blue);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 30, 63, 0.03);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(10, 30, 63, 0.1);
  border-color: rgba(0, 163, 224, 0.3);
}

.service-img {
  height: 200px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 2rem;
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -50px;
  position: relative;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--parrot-green);
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.project-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 30, 63, 0.03);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
}

.project-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(10, 30, 63, 0.1);
}

.project-img {
  width: 100%;
  height: 250px;
  position: relative;
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.05);
}

.project-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(5px);
  z-index: 10;
}

.software-tag {
  background: rgba(0, 163, 224, 0.9);
  color: white;
}

.electronics-tag {
  background: rgba(140, 198, 63, 0.9);
  color: var(--dark-blue);
}

.mechanical-tag {
  background: rgba(13, 27, 42, 0.8);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-content {
  padding: 2rem;
}

.project-content h3 {
  font-size: 1.4rem;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.project-content p {
  color: #667085;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Contact Section */
.contact {
  background-color: var(--dark-blue);
  color: var(--white);
  position: relative;
}

.contact h2 {
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--parrot-green);
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: var(--white);
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-control:focus {
  outline: none;
  border-color: var(--parrot-green);
  background: rgba(255, 255, 255, 0.15);
}

/* Fix for select dropdown visibility in dark mode */
select.form-control option {
  background-color: #0A1E3F; /* var(--dark-blue) */
  color: #FFFFFF; /* var(--white) */
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  background-color: var(--parrot-green);
  color: var(--dark-blue);
  border: none;
  padding: 1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: var(--light-blue);
  color: var(--white);
}

/* Footer */
.footer {
  background-color: #051024;
  padding: 3rem 0;
  color: var(--text-light);
  text-align: center;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--parrot-green);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background-color: var(--parrot-green);
  color: var(--dark-blue);
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--dark-blue);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  z-index: 1001;
}

/* Netradyne Style Overrides */
body {
  background-color: #f0f4f8;
}

.clean-hero-netradyne {
  background-color: #f0f4f8;
  padding: 10rem 0 4rem;
}
.hero-title-netradyne {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 500;
  color: #1a202c;
  margin-bottom: 1rem;
}
.hero-subtitle-netradyne {
  font-size: 1.2rem;
  color: #2d3748;
  max-width: 800px;
  margin: 0 auto;
}

.tabs-section-netradyne {
  background-color: #f0f4f8;
  padding: 2rem 0 6rem;
}
.tab-buttons-netradyne {
  display: flex;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto 6rem;
  gap: 2rem;
}
.tab-btn-netradyne {
  background: none;
  border: none;
  border-bottom: 1px solid #cbd5e0;
  font-size: 1.1rem;
  font-family: 'Outfit', sans-serif;
  color: #4a5568;
  padding: 1rem 1rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
}
.tab-btn-netradyne.active {
  color: #1a202c;
  font-weight: 600;
  border-bottom: 2px solid #38a169;
}

.tab-content-netradyne {
  display: none;
  max-width: 1000px;
  margin: 0 auto;
  animation: fadeIn 0.3s ease;
}
.tab-content-netradyne.active {
  display: block;
}
.tab-heading-netradyne {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #1a202c;
  text-align: left;
  font-weight: 500;
  margin-bottom: 2rem;
}
.tab-text-netradyne p {
  font-size: 1.1rem;
  color: #2d3748;
  text-align: left;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.tab-flex-container {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.tab-content-text {
  flex: 1;
}
.tab-content-img {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tab-content-img svg {
  width: 100%;
  max-width: 200px;
  height: auto;
  filter: drop-shadow(5px 15px 15px rgba(0, 0, 0, 0.15));
}
.tab-content-img img {
  width: 100%;
  max-width: 200px;
  height: auto;
}

.values-header-wrapper {
  background-color: #0A1E3F;
  padding: 5rem 0;
}
.values-main-heading {
  color: #ffffff;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 500;
  margin: 0;
}

.values-section-netradyne {
  background-color: #f0f4f8;
  padding: 4rem 0 6rem;
}
.values-grid-netradyne {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.value-card-netradyne {
  background: transparent;
  text-align: center;
  padding: 1rem;
}
.value-icon-netradyne {
  color: #38a169;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}
.value-card-netradyne h3 {
  font-size: 1.3rem;
  color: #1a202c;
  margin-bottom: 1rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}
.value-card-netradyne p {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.6;
}

.team-section-netradyne {
  background-color: #f0f4f8;
  padding: 4rem 0 8rem;
}
.team-heading-netradyne {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #1a202c;
  margin-bottom: 4rem;
}
.team-grid-netradyne {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.team-card-netradyne {
  text-align: center;
}
.team-img-wrapper-netradyne {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  background-color: #e2e8f0;
}
.team-img-wrapper-netradyne img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}
.team-name-netradyne {
  font-size: 1.3rem;
  color: #1a202c;
  margin-bottom: 0.25rem;
  font-weight: 700;
}
.team-role-netradyne {
  font-size: 1rem;
  color: #718096;
  margin-bottom: 1rem;
}
.team-link-netradyne {
  color: #38a169;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.team-link-netradyne:hover {
  text-decoration: underline;
}

/* Helper Text Classes */
.text-center { text-align: center; }

/* =============================================
   RESPONSIVE DESIGN — Tablet (≤992px)
   ============================================= */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-detailed-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tab-flex-container {
    flex-direction: column;
    gap: 2rem;
  }

  .team-grid-netradyne {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .team-grid-netradyne {
    grid-template-columns: 1fr;
  }

  /* Reset RTL alternating layout on tablet */
  .about-detailed-grid:nth-child(even) {
    direction: ltr;
  }

  .bento-text-area h2 {
    font-size: 2.2rem;
  }
}

/* Sub-service Cards */
.sub-service-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.sub-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.sub-service-card .img-container {
  flex: 0 0 140px;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.sub-service-card .img-container img {
  width: 100%;
  height: auto;
  max-height: 100px;
  object-fit: contain;
}

.sub-service-card .content-container {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sub-service-card .content-container.border-green {
  border-left: 4px solid var(--parrot-green);
}

.sub-service-card .content-container.border-blue {
  border-left: 4px solid var(--light-blue);
}

.sub-service-card h4 {
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.sub-service-card p {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* =============================================
   RESPONSIVE DESIGN — Mobile (≤768px)
   ============================================= */
@media (max-width: 768px) {

  /* --- Container padding --- */
  .container {
    padding: 0 1.25rem;
  }

  /* --- Navbar --- */
  .header {
    height: 70px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--dark-blue);
    flex-direction: column;
    padding: 1.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    gap: 1rem;
  }

  .nav-links a {
    color: var(--white);
    font-size: 1.05rem;
    display: block;
    padding: 0.5rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .cta-btn {
    display: none;
  }

  /* --- Typography --- */
  h2 {
    font-size: 1.9rem;
  }

  p {
    font-size: 1rem;
  }

  /* --- Hero --- */
  .hero {
    padding-top: 70px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-desc {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }

  /* --- About preview --- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-content h2 {
    text-align: center;
  }

  /* --- About detailed grids (about.html) --- */
  .about-detailed-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-detailed-grid:nth-child(even) {
    direction: ltr;
  }

  /* --- Services grids --- */
  .services-grid,
  .projects-grid,
  .job-grid {
    grid-template-columns: 1fr;
  }

  /* Inline grids on services.html */
  [style*="grid-template-columns: repeat(auto-fit, minmax(350px"] {
    grid-template-columns: 1fr !important;
  }

  /* --- Sub-service cards --- */
  .sub-service-card {
    flex-direction: column;
  }

  .sub-service-card .img-container {
    flex: auto;
    height: 150px;
  }

  .sub-service-card .content-container.border-green {
    border-left: none;
    border-top: 4px solid var(--parrot-green);
  }

  .sub-service-card .content-container.border-blue {
    border-left: none;
    border-top: 4px solid var(--light-blue);
  }

  /* --- Team grid --- */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  /* --- Contact grid --- */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  /* --- Section / content padding --- */
  .section,
  .content-section {
    padding: 3rem 0;
  }

  /* --- Page header (inner pages) --- */
  .page-header {
    padding-top: 140px;
    padding-bottom: 70px;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  /* --- Insights section --- */
  .insights-section {
    padding: 4rem 0;
  }

  .insight-card {
    flex-direction: column;
    height: auto;
  }

  .insight-img-wrap,
  .insight-small .insight-img-wrap {
    width: 100%;
    min-width: 100%;
    height: 200px;
  }

  .insights-header {
    align-items: center;
    text-align: center;
  }

  .insights-header-right {
    text-align: center;
  }

  /* --- Client slider --- */
  .client-logo {
    width: 180px;
    height: 80px;
  }

  .client-track {
    width: calc(180px * 16);
  }

  /* --- Bento grid --- */
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card-tall {
    grid-row: auto !important;
  }

  .bento-text-area h2 {
    font-size: 2rem;
  }

  /* --- Map iframe --- */
  iframe[src*="maps"] {
    height: 300px;
  }

  /* --- Footer --- */
  .footer {
    padding: 2rem 0;
  }
}

/* =============================================
   RESPONSIVE DESIGN — Small Mobile (≤480px)
   ============================================= */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-tagline {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
  }

  .page-header h1 {
    font-size: 1.9rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-img-wrapper {
    width: 160px;
    height: 160px;
  }

  .nav-logo-img {
    height: 70px;
  }

  .insights-title {
    font-size: 1.8rem;
  }

  .section-header p {
    font-size: 1rem;
  }
}

/* --- Internal Page Styles --- */
.page-header {
  padding-top: 170px;
  padding-bottom: 100px;
  background-color: var(--dark-blue);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Neutral dark overlay for text readability, no blue color */
  z-index: 1;
}

.page-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M10 10l80 80M90 10L10 90" stroke="rgba(255,255,255,0.02)" stroke-width="2"/></svg>');
  z-index: 2;
  pointer-events: none;
}

.page-header-content {
  position: relative;
  z-index: 3;
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  color: var(--light-blue);
  max-width: 600px;
  margin: 0 auto;
}

/* Internal Page Layouts */
.content-section {
  padding: 5rem 0;
}

.about-detailed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.about-detailed-grid:nth-child(even) {
  direction: rtl;
}

.about-detailed-grid:nth-child(even)>* {
  direction: ltr;
}

.feature-box {
  background: var(--off-white);
  padding: 2rem;
  border-radius: 15px;
  border-left: 5px solid var(--parrot-green);
  margin-bottom: 2rem;
}

.mission-vision-section {
  margin-bottom: 4rem;
}

.mission-vision-content {
  max-width: 1000px;
  margin: 0 auto;
}

.mission-vision-content .feature-box {
  text-align: center;
}

/* Service Detail Cards */
.service-detail-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .service-detail-card {
    flex-direction: row;
  }

  .service-detail-card:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.service-detail-img {
  flex: 1;
  min-height: 300px;
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-content {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-detail-content ul {
  list-style: none;
  margin-top: 1.5rem;
}

.service-detail-content ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.service-detail-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--parrot-green);
  font-weight: bold;
}

/* Careers Section */
.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.job-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--parrot-green);
}

.job-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--off-white);
  color: var(--dark-blue);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.job-title {
  font-size: 1.5rem;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.job-desc {
  color: var(--text-dark);
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

/* Contact Details */
.map-placeholder {
  width: 100%;
  height: 400px;
  background: var(--off-white);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
  border: 2px dashed rgba(0, 0, 0, 0.1);
  color: var(--dark-blue);
  font-weight: 600;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.team-card {
  text-align: center;
}

.team-img-wrapper {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

.team-img-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px var(--parrot-green);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover .team-img-wrapper::after {
  opacity: 1;
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover img {
  transform: scale(1.1);
}

.team-name {
  font-size: 1.5rem;
  color: var(--dark-blue);
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--parrot-green);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Client Logo Slider */
.client-slider-section {
  padding: 3rem 0;
  background-color: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.client-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Add a fade effect on edges */
.client-slider-container::before,
.client-slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
}

.client-slider-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.client-slider-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.client-track {
  display: flex;
  width: calc(260px * 16);
  /* 8 logos duplicated = 16 items */
  animation: scrollLeft 35s linear infinite;
}

.client-track:hover {
  animation-play-state: paused;
}

.client-logo {
  width: 260px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  flex-shrink: 0;
  filter: grayscale(100%) opacity(0.75);
  transition: filter 0.4s ease, transform 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.08);
}

.client-logo img {
  max-width: 180px;
  max-height: 75px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.client-logo span {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-250px * 6));
  }

  /* scroll by exactly half the track to loop seamlessly */
}

/* Bento Layout Styles */
.bento-section-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}

@media (min-width: 992px) {
  .bento-section-wrapper {
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
  }
}

.bento-text-area h2 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--dark-blue);
}

.bento-text-area h2 span {
  color: var(--light-blue);
}

.bento-text-area p {
  font-size: 1.1rem;
  color: #667085;
  line-height: 1.6;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  grid-auto-rows: minmax(180px, auto);
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card-tall {
    grid-row: auto !important;
  }
}

.bento-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.bento-card-tall {
  grid-row: span 2;
}

.bento-tag {
  font-size: 0.85rem;
  color: #667085;
  font-weight: 500;
  margin-bottom: 1rem;
}

.bento-card-img {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
}

.bento-card-img img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
}

.bento-card-title {
  color: var(--light-blue);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.bento-card-desc {
  font-size: 0.9rem;
  color: #667085;
  margin: 0;
  line-height: 1.4;
}

/* 6-Column Bento Grid for Software Services */
.services-bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.services-bento-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-bento-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

@media (max-width: 992px) {
  .services-bento-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .services-bento-item {
    grid-column: span 2 !important;
    flex-direction: column !important;
  }

  .services-bento-item[style*="flex-direction: row"]>div:first-child {
    padding-right: 0 !important;
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .services-bento-grid {
    grid-template-columns: 1fr !important;
  }

  .services-bento-item {
    grid-column: span 1 !important;
  }
}

/* ===== Latest Insights Section ===== */
.insights-section {
  padding: 6rem 0;
  background: #f5f5f7;
  position: relative;
  overflow: hidden;
}

.insights-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 163, 224, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Header */
.insights-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3.5rem;
  gap: 1rem;
}

.insights-eyebrow {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--parrot-green);
  margin-bottom: 1rem;
}

.insights-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--dark-blue);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.insights-title em {
  font-style: italic;
  color: var(--parrot-green);
}

.insights-header-right {
  max-width: 480px;
  text-align: center;
}

.insights-header-right p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.insights-all-link {
  color: var(--parrot-green);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: opacity 0.3s ease;
}

.insights-all-link:hover {
  opacity: 0.75;
}

.insights-all-btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  border: 1.5px solid var(--parrot-green);
  color: var(--parrot-green);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 50px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.insights-all-btn:hover {
  background: var(--parrot-green);
  color: #0a0f1e;
}

/* Grid Layout */
.insights-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Cards base */
.insight-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: row;
  cursor: pointer;
  height: 200px;
}

.insight-card:hover {
  background: #ffffff;
  border-color: rgba(0, 163, 224, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Image wrap */
.insight-img-wrap {
  position: relative;
  overflow: hidden;
  width: 280px;
  min-width: 280px;
  height: 100%;
  flex-shrink: 0;
}

.insight-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.insight-card:hover .insight-img-wrap img {
  transform: scale(1.06);
}

/* Tag */
.insight-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--parrot-green);
  color: #0a0f1e;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  z-index: 2;
}

/* Body */
.insight-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insight-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.insight-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--parrot-green);
  letter-spacing: 2px;
  font-family: 'Outfit', sans-serif;
}

.insight-date {
  font-size: 0.78rem;
  color: #999;
  font-weight: 500;
}

.insight-card h3 {
  font-size: 1.15rem;
  color: var(--dark-blue);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.insight-card p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.insight-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--parrot-green);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: gap 0.3s ease;
  margin-top: auto;
}

.insight-read-btn span {
  transition: transform 0.3s ease;
}

.insight-card:hover .insight-read-btn span {
  transform: translateX(5px);
}

/* All cards uniform */
.insights-side {
  display: contents;
}

.insight-small .insight-img-wrap {
  height: 160px;
}

.insight-small {
  flex-direction: row;
}

.insight-small .insight-img-wrap {
  width: 180px;
  min-width: 180px;
  height: auto;
}

.insight-small .insight-body {
  padding: 1.25rem 1.5rem;
}

/* Responsive */
@media (max-width: 700px) {
  .insight-card {
    flex-direction: column;
    height: auto;
  }

  .insight-img-wrap {
    width: 100%;
    min-width: 100%;
    height: 200px;
  }

  .insights-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .insights-header-right {
    text-align: left;
  }
}



.news-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(10, 30, 63, 0.1);
  border-color: rgba(0, 163, 224, 0.3);
}

.news-img {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-img img {
  transform: scale(1.05);
}

.news-date {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--white);
  color: var(--dark-blue);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.news-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-category {
  color: var(--parrot-green);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.news-content h3 {
  font-size: 1.4rem;
  color: var(--dark-blue);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.news-content p {
  color: #667085;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--light-blue);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.news-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.news-link:hover {
  color: var(--dark-blue);
}

.news-link:hover svg {
  transform: translateX(5px);
}

/* XREF-INSPIRED LAYOUT STYLES */

/* 1. Split Hero Section */
.xref-hero {
  display: flex;
  min-height: 85vh;
  margin-top: 80px; /* Header offset */
  background-color: var(--dark-blue);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Diagonal line background pattern */
.xref-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: linear-gradient(35deg, transparent 48%, rgba(113, 201, 49, 0.1) 49%, rgba(113, 201, 49, 0.1) 51%, transparent 52%);
  background-size: 150px 150px;
  z-index: 0;
  pointer-events: none;
}

.xref-hero-left {
  flex: 1;
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

.xref-hero-subtitle {
  color: var(--parrot-green);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.xref-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.xref-hero-desc {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
}

.xref-hero-right {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 15px;
  padding: 2rem;
  z-index: 1;
}

.xref-hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.5s ease;
}

.xref-hero-right img:hover {
  transform: scale(1.02);
}

/* 2. Culture Blob Section */
.xref-blob-section {
  padding: 6rem 0;
  background: var(--white);
}

.xref-blob-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.xref-blob-card {
  text-align: left;
}

.xref-icon-box {
  width: 60px;
  height: 60px;
  background-color: rgba(113, 201, 49, 0.1);
  color: var(--parrot-green);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.xref-blob-card:hover .xref-icon-box {
  background-color: var(--parrot-green);
  color: var(--white);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(113, 201, 49, 0.2);
}

.xref-blob-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--dark-blue);
  margin-bottom: 1rem;
  font-weight: 700;
}

.xref-blob-desc {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.6;
}

/* 3. Jobs Table Layout */
.xref-jobs-section {
  padding: 6rem 0;
  background: #FAFCFF; /* very light blue/grey */
}

.xref-table-container {
  margin-top: 4rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}

.xref-table-row {
  display: grid;
  grid-template-columns: 35% 18% 17% 15% 15%;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background-color 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.xref-table-header {
  font-weight: 700;
  color: var(--dark-blue);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--white);
  border-bottom: 2px solid rgba(0,0,0,0.1);
}

.xref-table-row:not(.xref-table-header):nth-child(even) {
  background-color: #F8F9FA;
}

.xref-table-row:not(.xref-table-header):hover {
  background-color: rgba(113, 201, 49, 0.05);
}

.xref-table-cell {
  font-size: 1rem;
  color: #4a5568;
}

.xref-table-cell.job-title {
  font-weight: 600;
  color: var(--dark-blue);
  font-size: 1.1rem;
}

.xref-table-btn {
  padding: 0.5rem 1.5rem;
  background: transparent;
  border: 1px solid var(--dark-blue);
  color: var(--dark-blue);
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.xref-table-row:hover .xref-table-btn {
  background: var(--dark-blue);
  color: var(--white);
}

/* 4. Testimonials / Career Journeys */
.xref-testimonials-section {
  padding: 6rem 0;
  background: var(--white);
}

.xref-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.xref-testimonial-card {
  background: #F0F4F8;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.xref-testimonial-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--dark-blue);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.xref-testimonial-role {
  font-size: 0.85rem;
  color: var(--parrot-green);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

.xref-testimonial-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: auto;
}

/* 5. Strong Bottom CTA */
.xref-cta-section {
  background: var(--dark-blue);
  color: var(--white);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.xref-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.xref-cta-title span {
  color: var(--parrot-green);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .xref-hero {
    flex-direction: column;
  }
  .xref-hero-left {
    padding: 4rem 2rem;
    text-align: center;
  }
  .xref-hero-desc {
    margin: 0 auto;
  }
  .xref-table-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }
  .xref-table-header {
    display: none; /* hide table headers on mobile */
  }
  .xref-table-row:not(.xref-table-header) {
    border: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    border-radius: 8px;
  }
  .xref-table-cell::before {
    content: attr(data-label);
    font-weight: 700;
    margin-right: 0.5rem;
    color: var(--dark-blue);
    font-size: 0.85rem;
    text-transform: uppercase;
    display: inline-block;
  }
  .xref-table-cell.job-title::before {
    display: none;
  }
}

/* =============================================
   CAREERS PAGE — Advanced Styles
   ============================================= */

/* Stats Bar */
.career-stats-bar {
  background: linear-gradient(135deg, var(--dark-blue) 0%, #132e5b 100%);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}
.career-stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: repeating-linear-gradient(90deg, transparent, transparent 200px, rgba(113,201,49,0.03) 200px, rgba(113,201,49,0.03) 201px);
  pointer-events: none;
}
.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  color: var(--white);
}
.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  color: var(--parrot-green);
  display: inline;
}
.stat-suffix {
  font-size: 2rem;
  font-weight: 700;
  color: var(--parrot-green);
}
.stat-label {
  display: block;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0.5rem;
  font-weight: 600;
}

/* Culture Section */
.career-culture-section {
  padding: 6rem 0;
  background: var(--off-white);
}
.culture-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}
.culture-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.culture-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--parrot-green), var(--light-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.culture-card:hover::before { transform: scaleX(1); }
.culture-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10,30,63,0.1);
}
.culture-card-icon {
  width: 60px; height: 60px;
  background: rgba(113,201,49,0.1);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--parrot-green);
  transition: all 0.3s ease;
}
.culture-card:hover .culture-card-icon {
  background: var(--parrot-green);
  color: var(--white);
}
.culture-card h3 {
  font-size: 1.3rem;
  color: var(--dark-blue);
  margin-bottom: 0.75rem;
}
.culture-card p {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
}

/* Timeline */
.career-timeline-section {
  padding: 6rem 0;
  background: var(--white);
}
.timeline-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.timeline-step {
  text-align: center;
  max-width: 180px;
  position: relative;
}
.timeline-step-number {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--parrot-green);
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}
.timeline-step-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(113,201,49,0.1), rgba(0,163,224,0.1));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  color: var(--dark-blue);
  transition: all 0.4s ease;
  border: 2px solid transparent;
}
.timeline-step:hover .timeline-step-icon {
  background: var(--parrot-green);
  color: var(--white);
  transform: scale(1.1);
  border-color: var(--parrot-green);
  box-shadow: 0 8px 25px rgba(113,201,49,0.3);
}
.timeline-step h4 {
  font-size: 1rem;
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
}
.timeline-step p {
  font-size: 0.85rem;
  color: #667085;
  margin: 0;
  line-height: 1.5;
}
.timeline-connector {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--parrot-green), var(--light-blue));
  margin-top: 32px;
  flex-shrink: 0;
  opacity: 0.4;
}

/* Open Positions */
.career-positions-section {
  padding: 6rem 0;
  background: #FAFCFF;
}
.job-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.job-filter-btn {
  padding: 0.6rem 1.5rem;
  border: 2px solid rgba(10,30,63,0.15);
  background: transparent;
  color: var(--dark-blue);
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.job-filter-btn:hover, .job-filter-btn.active {
  background: var(--dark-blue);
  color: var(--white);
  border-color: var(--dark-blue);
}
.job-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}
.adv-job-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.165,0.84,0.44,1);
  display: flex;
  flex-direction: column;
}
.adv-job-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(10,30,63,0.1);
  border-color: rgba(0,163,224,0.3);
}
.adv-job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.adv-job-dept-tag {
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.software-dept { background: rgba(0,163,224,0.1); color: var(--light-blue); }
.hardware-dept { background: rgba(113,201,49,0.1); color: #4a9c1a; }
.mechanical-dept { background: rgba(10,30,63,0.08); color: var(--dark-blue); }
.design-dept { background: rgba(156,39,176,0.1); color: #9c27b0; }
.adv-job-type {
  font-size: 0.8rem;
  color: #667085;
  font-weight: 500;
}
.adv-job-title {
  font-size: 1.35rem;
  color: var(--dark-blue);
  margin-bottom: 0.75rem;
}
.adv-job-desc {
  font-size: 0.92rem;
  color: #667085;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.adv-job-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #4a5568;
}
.adv-job-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.adv-job-meta svg { color: var(--parrot-green); flex-shrink: 0; }
.adv-job-apply-btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--parrot-green), #8ae046);
  color: var(--dark-blue);
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}
.adv-job-apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(113,201,49,0.3);
}
.adv-job-card.hidden-card {
  display: none;
}

/* Benefits */
.career-benefits-section {
  padding: 6rem 0;
  background: var(--white);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.benefit-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  background: var(--off-white);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(10,30,63,0.08);
  border-color: rgba(113,201,49,0.3);
}
.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.benefit-card h4 {
  font-size: 1.1rem;
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
}
.benefit-card p {
  font-size: 0.88rem;
  color: #667085;
  margin: 0;
  line-height: 1.5;
}

/* Testimonials */
.career-testimonials-section {
  padding: 6rem 0;
  background: var(--off-white);
}
.testimonials-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}
.testimonial-card-adv {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
}
.testimonial-card-adv:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10,30,63,0.08);
}
.testimonial-quote {
  font-size: 1.05rem;
  color: #4a5568;
  line-height: 1.7;
  font-style: italic;
  flex-grow: 1;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--parrot-green);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-author img {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author strong {
  display: block;
  color: var(--dark-blue);
  font-size: 1rem;
}
.testimonial-author span {
  font-size: 0.85rem;
  color: var(--parrot-green);
  font-weight: 600;
}

/* =============================================
   APPLICATION WIZARD — Advanced Styles
   ============================================= */
.wizard-section {
  padding-top: 140px;
  padding-bottom: 6rem;
  min-height: 100vh;
  background-color: var(--off-white);
  position: relative;
}
.wizard-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 10% 30%, rgba(113,201,49,0.02) 0%, transparent 40%),
              radial-gradient(circle at 90% 70%, rgba(0,163,224,0.02) 0%, transparent 40%);
  pointer-events: none;
}
.wizard-container {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 20px 50px rgba(10,30,63,0.06);
  border-radius: 24px;
  padding: 3.5rem;
  position: relative;
  z-index: 1;
}
.wizard-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.wizard-title {
  font-family: 'Playfair Display', serif;
  color: var(--dark-blue);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.wizard-role-display {
  color: var(--light-blue);
  font-weight: 700;
  font-size: 1.05rem;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.5px;
}

/* Progress Bar */
.wizard-progress {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.wizard-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--parrot-green), var(--light-blue));
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
}

/* Step Dots */
.wizard-steps-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3.5rem;
}
.wizard-step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.4;
  transition: all 0.3s ease;
}
.wizard-step-dot.active { opacity: 1; }
.wizard-step-dot.completed { opacity: 0.8; }
.wizard-step-dot span {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #edf2f7;
  color: #718096;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  font-family: 'Outfit', sans-serif;
}
.wizard-step-dot.active span {
  background: var(--dark-blue);
  border-color: var(--dark-blue);
  color: var(--white);
}
.wizard-step-dot.completed span {
  background: rgba(113,201,49,0.15);
  border-color: var(--parrot-green);
  color: var(--parrot-green);
}
.wizard-step-dot small {
  font-size: 0.75rem;
  color: #4a5568;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

/* Step Content */
.wizard-step-content {
  display: none;
  animation: wizFadeIn 0.4s ease;
}
.wizard-step-content.active { display: block; }
@keyframes wizFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
.step-title {
  color: var(--dark-blue);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  border-bottom: 2px solid #edf2f7;
  padding-bottom: 0.75rem;
}

/* Form Elements */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.wizard-section .form-group {
  margin-bottom: 1.5rem;
}
.wizard-section label {
  display: block;
  color: var(--dark-blue);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}
.wiz-input {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: #ffffff;
  border: 1px solid #cbd5e0;
  border-radius: 8px;
  color: var(--dark-blue);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.wiz-input::placeholder { color: #a0aec0; }
.wiz-input:focus {
  outline: none;
  border-color: var(--light-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0,163,224,0.12);
}
.wiz-input.input-error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.12);
}
.wiz-textarea {
  min-height: 160px;
  resize: vertical;
}
select.wiz-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%230A1E3F' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
}
select.wiz-input option {
  background: #ffffff;
  color: var(--dark-blue);
}
.field-error {
  display: block;
  color: #e53e3e;
  font-size: 0.8rem;
  margin-top: 0.4rem;
  min-height: 1.2rem;
  font-weight: 500;
}

/* File Upload Zone */
.file-upload-zone {
  border: 2px dashed #cbd5e0;
  border-radius: 12px;
  padding: 3.5rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f7fafc;
}
.file-upload-zone:hover, .file-upload-zone.drag-over {
  border-color: var(--light-blue);
  background: rgba(0,163,224,0.02);
}
.file-upload-icon { color: #718096; margin-bottom: 1.25rem; }
.file-upload-text {
  color: #4a5568;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.file-browse-link {
  color: var(--light-blue);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.file-upload-hint {
  color: #718096;
  font-size: 0.85rem;
  margin: 0;
}

/* File Preview */
.file-preview {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(113,201,49,0.08);
  border: 1px solid rgba(113,201,49,0.2);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}
.file-preview-icon { color: var(--parrot-green); flex-shrink: 0; }
.file-preview-info { flex-grow: 1; }
.file-preview-name {
  display: block;
  color: var(--dark-blue);
  font-weight: 700;
  font-size: 0.95rem;
}
.file-preview-size {
  font-size: 0.85rem;
  color: #718096;
}
.file-remove-btn {
  background: none;
  border: none;
  color: #a0aec0;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.3s ease;
}
.file-remove-btn:hover { color: #e53e3e; }

/* Wizard Navigation */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  gap: 1.5rem;
}
.wiz-btn {
  padding: 1rem 2.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}
.wiz-btn-prev {
  background: #ffffff;
  color: var(--dark-blue);
  border: 1.5px solid #cbd5e0;
}
.wiz-btn-prev:hover {
  background: #f7fafc;
  border-color: #a0aec0;
}
.wiz-btn-next {
  background: linear-gradient(135deg, var(--parrot-green), #8ae046);
  color: var(--dark-blue);
  margin-left: auto;
}
.wiz-btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(113,201,49,0.25);
}
.wiz-btn-submit {
  background: linear-gradient(135deg, var(--parrot-green), #8ae046);
  color: var(--dark-blue);
  margin-left: auto;
  font-size: 1.05rem;
}
.wiz-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(113,201,49,0.3);
}

/* Review Summary */
.review-summary {
  display: grid;
  gap: 1.5rem;
}
.review-block {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.75rem;
}
.review-block h4 {
  color: var(--light-blue);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.5rem;
}
.review-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #edf2f7;
}
.review-row:last-child { border-bottom: none; }
.review-label {
  color: #718096;
  font-size: 0.9rem;
}
.review-value {
  color: var(--dark-blue);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: right;
  max-width: 60%;
  word-break: break-word;
}

/* Success Screen */
.wizard-success {
  text-align: center;
  padding: 4rem 0;
  animation: wizFadeIn 0.6s ease;
}
.success-checkmark {
  margin-bottom: 2rem;
  animation: successPulse 1s ease;
}
@keyframes successPulse {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}
.wizard-success h2 {
  color: var(--dark-blue);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.wizard-success p {
  color: #4a5568;
  font-size: 1.15rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Responsive — Careers & Wizard */
@media (max-width: 768px) {
  .timeline-track { flex-direction: column; align-items: center; }
  .timeline-connector { width: 2px; height: 30px; margin: 0; }
  .timeline-step { max-width: 100%; }
  .job-cards-grid { grid-template-columns: 1fr; }
  .wizard-container { padding: 2.5rem 1.5rem; margin: 0 1rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .wizard-steps-indicator { gap: 0.25rem; }
  .wizard-step-dot small { font-size: 0.6rem; }
  .testimonials-carousel { grid-template-columns: 1fr; }
}