/*
  Volador Corporate Website - Subpages specific styles
  Theme: Tech Stark White & Industrial Grey
*/

/* --- Subpage Banner Header --- */
.subpage-banner {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding-top: 180px; /* Offset fixed nav */
  padding-bottom: 80px;
}

.subpage-banner-content {
  opacity: 0;
  transform: translateY(15px);
  animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}

.subpage-banner h1 {
  font-size: 3.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.subpage-banner .lead-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .subpage-banner {
    padding-top: 140px;
    padding-bottom: 50px;
  }
  .subpage-banner h1 {
    font-size: 2.5rem;
  }
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
}

.about-mission-card {
  padding: 50px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
}

.about-mission-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

/* Core Values Timeline */
.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 60px auto 0;
  padding: 40px 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background-color: var(--border-color);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 30px;
  width: 10px;
  height: 10px;
  background-color: var(--accent);
  border: 2px solid var(--bg-primary);
  border-radius: 50%;
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -5px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -5px;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.timeline-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.timeline-item:nth-child(odd) .timeline-header {
  justify-content: flex-end;
}

.timeline-item:nth-child(even) .timeline-header {
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .timeline-item:nth-child(odd) .timeline-header,
  .timeline-item:nth-child(even) .timeline-header {
    justify-content: flex-start;
  }
}

/* Leadership Grid */
.leadership-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.leader-card {
  flex: 0 1 calc(25% - 22.5px);
  min-width: 250px;
  background: rgba(255, 255, 255, 0.45); /* Glass transparent background */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.55); /* Glass highlight border */
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.04);
  text-align: center;
  overflow: hidden;
  border-radius: 16px;
  padding: 16px; /* Padding creates the frame effect around the image */
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.leader-card:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 16px 40px 0 rgba(43, 143, 255, 0.12), 0 8px 24px 0 rgba(0, 0, 0, 0.06);
  transform: translateY(-8px);
}

.leader-image-wrapper {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 12px; /* Rounded corners inside the glass card */
  position: relative;
  background-color: rgba(0, 0, 0, 0.03);
}

.leader-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transform: scale(1.0);
  transform-origin: top center;
  transition: transform 0.5s ease;
}

.leader-card:hover .leader-image {
  transform: scale(1.05);
}

.leader-info {
  padding: 16px 8px 8px 8px;
  border-top: none; /* Clean floating appearance */
}

.leader-info h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.leader-info span {
  font-size: 0.8rem;
  color: #FFFFFF; /* Designations in white */
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.8; /* Subtle white opacity for premium layout depth */
}

.leader-card:hover .leader-info h3 {
  color: var(--accent); /* Light up in neon orange on hover/touch */
}

/* Glass Background Glowing Orbs */
.team-section-glass-bg {
  position: relative;
  overflow: hidden;
}

.glass-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
  transition: all 0.8s ease;
}

.orb-1 {
  top: 5%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: var(--accent);
}

.orb-2 {
  bottom: 10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: #ff5e97;
}

.orb-3 {
  top: 45%;
  left: 45%;
  width: 350px;
  height: 350px;
  background: #a855f7;
}

.team-subsection, .section-header {
  position: relative;
  z-index: 2;
}

/* Team Subsection Styles */
.team-subsection {
  margin-top: 50px;
  margin-bottom: 50px;
}

.team-subsection-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-align: center;
}

.team-subsection-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

/* Reusable Team Grid Layouts */
.grid-3-cols {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
  max-width: 1080px;
  margin: 0 auto 50px auto !important;
}

.grid-3-cols .leader-card {
  flex: none !important;
  width: auto !important;
  min-width: 0 !important;
  height: 100%;
}

@media (max-width: 900px) {
  .grid-3-cols {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .grid-3-cols {
    grid-template-columns: 1fr !important;
  }
}

.grid-4-cols {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 30px !important;
  max-width: 1200px;
  margin: 0 auto 50px auto !important;
}

.grid-4-cols .leader-card {
  flex: none !important;
  width: auto !important;
  min-width: 0 !important;
  height: 100%;
}

@media (max-width: 1024px) {
  .grid-4-cols {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .grid-4-cols {
    grid-template-columns: 1fr !important;
  }
}

.grid-2-cols {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 30px !important;
  max-width: 720px;
  margin: 0 auto 50px auto !important;
}

.grid-2-cols .leader-card {
  flex: none !important;
  width: auto !important;
  min-width: 0 !important;
  height: 100%;
}

@media (max-width: 600px) {
  .grid-2-cols {
    grid-template-columns: 1fr !important;
  }
}

/* Image Placeholder Style */
.leader-image-placeholder {
  width: 100%;
  height: 300px;
  background-color: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  gap: 12px;
  transition: all 0.3s ease;
}

.leader-image-placeholder svg {
  stroke: var(--text-secondary);
  transition: stroke 0.3s ease;
}

.leader-image-placeholder span {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.leader-card:hover .leader-image-placeholder {
  background-color: var(--border-color);
  color: var(--text-primary);
}

.leader-card:hover .leader-image-placeholder svg {
  stroke: var(--text-primary);
}

@media (max-width: 900px) {
  .about-mission-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .timeline-container::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 50px;
    padding-right: 20px;
  }
  .timeline-dot {
    left: 15px !important;
  }
  .leader-card {
    flex: 0 1 calc(50% - 15px);
  }
}

@media (max-width: 500px) {
  .leader-card {
    flex: 0 1 100%;
  }
}


/* ==========================================================================
   SOLUTIONS PAGE
   ========================================================================== */
.solutions-list {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.solution-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  align-items: center;
}

.solution-row:nth-child(even) .solution-image-col {
  order: 2;
}

.solution-image {
  width: 100%;
  height: 480px;
}

.solution-info h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
}

.solution-info p {
  margin-bottom: 30px;
}

.solution-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.tech-tag {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  font-size: 0.75rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .solution-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .solution-row:nth-child(even) .solution-image-col {
    order: 0;
  }
  .solution-image {
    height: 300px;
  }
}


/* ==========================================================================
   TECHNOLOGY PAGE
   ========================================================================== */
.tech-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tech-capability-card {
  border: 1px solid var(--border-color);
  padding: 40px;
  background-color: var(--bg-primary);
}

.tech-capability-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.tech-capability-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.tech-deep-dive {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  align-items: center;
}

.tech-specs-list {
  list-style: none;
  border-top: 1px solid var(--border-color);
  margin-top: 30px;
}

.tech-spec-row {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.tech-spec-label {
  font-weight: 600;
  color: var(--text-primary);
}

.tech-spec-value {
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .tech-capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-deep-dive {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .tech-capabilities-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   PRODUCTS CATALOG
   ========================================================================== */
.products-catalog {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.product-detail-card {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  border: 1px solid var(--border-color);
  padding: 60px;
  background-color: var(--bg-primary);
}

.product-gallery-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-primary-img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  transition: all 0.3s ease;
}

.product-primary-img:hover {
  transform: translateY(-5px);
}

.product-info-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-info-side h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.product-info-side .model-no {
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 25px;
  display: block;
}

.product-features-list {
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.product-feature-item {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-feature-item::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
}

.product-actions {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

/* Product Specifications Tab Box */
.product-specs-tabs {
  margin-top: 40px;
}

.specs-tabs-header {
  display: flex;
  border-bottom: 1px solid var(--border-color);
}

.specs-tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  cursor: pointer;
}

.specs-tab-btn.active {
  color: var(--text-primary);
  border-bottom: 2px solid var(--text-primary);
}

.specs-tab-content {
  display: none;
  padding-top: 20px;
}

.specs-tab-content.active {
  display: block;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.specs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.specs-table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.02);
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--text-secondary);
  width: 40%;
}

.specs-table td:last-child {
  color: var(--text-primary);
}

@media (max-width: 1024px) {
  .product-detail-card {
    grid-template-columns: 1fr;
    padding: 40px;
  }
}


/* ==========================================================================
   PROJECTS (PORTFOLIO)
   ========================================================================== */
.projects-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.project-portfolio-card {
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
}

.portfolio-img-box {
  height: 400px;
}

.portfolio-info-box {
  padding: 40px;
  border-top: 1px solid var(--border-color);
}

.portfolio-info-box h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.portfolio-details-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
}

.portfolio-detail-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portfolio-detail-val {
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .projects-portfolio-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-img-box {
    height: 280px;
  }
}


/* ==========================================================================
   MEDIA GALLERY
   ========================================================================== */
.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 40px;
}

.gallery-filter-btn {
  padding: 10px 20px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-item {
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  overflow: hidden;
  cursor: pointer;
}

.gallery-media-wrapper {
  position: relative;
  height: 280px;
  background-color: var(--bg-secondary);
}

.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.3s, background-color 0.3s;
}

.gallery-item:hover .gallery-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: var(--accent);
}

.gallery-item:hover .gallery-play-btn svg {
  fill: var(--bg-primary);
}

.gallery-play-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--text-primary);
  margin-left: 3px;
  transition: fill 0.3s;
}

.gallery-info {
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

.gallery-info h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.gallery-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 17, 17, 0.95);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
}

.lightbox-media {
  max-width: 100%;
  max-height: 100vh;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--bg-primary);
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   NEWS PAGE
   ========================================================================== */
.news-layout-grid {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 60px;
}

.news-main-list {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.blog-post-card {
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  display: grid;
  grid-template-columns: 5fr 7fr;
}

.blog-img-wrapper {
  height: 100%;
  min-height: 250px;
}

.blog-details {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-details h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.blog-details h2 a:hover {
  color: var(--accent);
}

.blog-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Sidebar */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sidebar-widget {
  border: 1px solid var(--border-color);
  padding: 30px;
  background-color: var(--bg-secondary);
}

.sidebar-widget h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.sidebar-categories {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-categories a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
}

.sidebar-categories a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .news-layout-grid {
    grid-template-columns: 1fr;
  }
  .blog-post-card {
    grid-template-columns: 1fr;
  }
  .blog-img-wrapper {
    height: 250px;
  }
  .blog-details {
    padding: 30px;
  }
}


/* ==========================================================================
   CAREERS PAGE
   ========================================================================== */
.careers-life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.careers-life-card {
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
}

.careers-life-img {
  height: 240px;
}

.careers-life-info {
  padding: 30px;
  border-top: 1px solid var(--border-color);
}

.careers-life-info h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.careers-life-info p {
  font-size: 0.85rem;
}

.open-positions-list {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.position-row {
  border: 1px solid var(--border-color);
  padding: 30px 40px;
  background-color: var(--bg-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.3s;
}

.position-row:hover {
  border-color: var(--text-primary);
}

.position-info h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.position-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.position-meta span {
  margin-right: 15px;
}

.position-row .btn {
  padding: 10px 20px;
  font-size: 0.75rem;
}

@media (max-width: 900px) {
  .careers-life-grid {
    grid-template-columns: 1fr;
  }
  .position-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 30px 20px;
  }
  .position-row .btn {
    width: 100%;
  }
}


/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-split-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-info-block h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-info-block p {
  font-size: 1rem;
  color: var(--text-secondary);
}

.contact-socials-row {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.contact-social-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.contact-social-link:hover {
  border-color: var(--text-primary);
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

/* Forms */
.form-box {
  border: 1px solid var(--border-color);
  padding: 50px;
  background-color: var(--bg-primary);
}

.form-box h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.contact-form-selector {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.contact-form-tab {
  padding: 12px 24px;
  background: none;
  border: none;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  cursor: pointer;
}

.contact-form-tab.active {
  color: var(--text-primary);
  border-bottom: 2px solid var(--text-primary);
}

.contact-form-form {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.contact-form-form.active {
  display: flex;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-wrapper label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.input-wrapper input,
.input-wrapper textarea,
.input-wrapper select {
  padding: 14px 16px;
  border: 1px solid var(--border-dark);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  border-radius: 4px;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus,
.input-wrapper select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(255, 85, 0, 0.25);
}

.form-feedback-overlay {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0;
}

.form-feedback-overlay.success {
  display: flex;
}

.feedback-check {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feedback-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.feedback-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .contact-split-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .form-box {
    padding: 30px;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

/* Side-by-Side Team Subsections Grid */
.team-subsections-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 50px;
  width: 100%;
}

.team-column {
  display: flex;
  flex-direction: column;
}

/* Design & CFA Side-by-side Row */
.design-cfa-row {
  display: flex !important;
  justify-content: space-between !important;
  gap: 30px !important;
  margin-top: 60px !important;
  width: 100% !important;
}

.col-half {
  flex: 1 1 50% !important;
  min-width: 0 !important;
}

.col-half .leadership-grid.is-small .leader-card {
  flex: 1 1 calc(50% - 7.5px) !important;
  min-width: 0 !important;
}

@media (max-width: 1024px) {
  .design-cfa-row {
    flex-direction: column !important;
    gap: 40px !important;
  }
  .col-half {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
}

/* Small Layout Modifiers for Profiles inside side-by-side columns */
.leadership-grid.is-small {
  gap: 15px;
}

.leadership-grid.is-small .leader-card {
  flex: 0 1 230px !important;
  min-width: 200px !important;
  max-width: 250px !important;
  padding: 12px !important;
  border-radius: 12px !important;
}

.col-experts .leadership-grid.is-small .leader-card {
  flex: 1 1 calc(50% - 7.5px);
}

.col-crew .leadership-grid.is-small .leader-card {
  flex: 1 1 calc(33.333% - 10px);
}

.col-cfa .leadership-grid.is-small .leader-card {
  flex: 1 1 100%;
}

.leadership-grid.is-small .leader-image-wrapper {
  height: 250px;
  border-radius: 8px;
}

.leadership-grid.is-small .leader-info {
  padding: 12px 4px 4px 4px;
}

.leadership-grid.is-small .leader-info h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.leadership-grid.is-small .leader-info span {
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}

/* Responsive adjustments for columns */
@media (max-width: 1024px) {
  .team-subsections-row {
    flex-direction: column;
    gap: 30px;
  }
  .col-experts, .col-crew, .col-cfa {
    width: 100%;
    flex: 1 1 100%;
    min-width: 0;
  }
  .col-crew .leadership-grid.is-small .leader-card {
    flex: 1 1 calc(50% - 7.5px); /* 2 columns on tablet */
  }
}

@media (max-width: 480px) {
  .col-experts .leadership-grid.is-small .leader-card,
  .col-crew .leadership-grid.is-small .leader-card {
    flex: 1 1 100%; /* 1 column on mobile */
  }
}

/* Contact CTA Styling */
.contact-cta {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.contact-cta h2 {
  font-size: 3rem;
  margin-bottom: 25px;
}

.contact-cta p {
  max-width: 600px;
  margin: 0 auto 40px;
}

.contact-cta-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
}

@media (max-width: 768px) {
  .contact-cta h2 {
    font-size: 2.2rem;
  }
  .contact-cta-btns {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .contact-cta-btns .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* Interactive Video (Glass Container - Landscape 16:9 Dimensions) */
.video-interactive-container {
  position: relative;
  z-index: 5; /* Lift above reveal mask overlay */
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9; /* Standard landscape aspect ratio */
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  cursor: pointer;
  background-color: var(--bg-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
}

.video-interactive-container:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.35);
}

.solution-video-player {
  width: 100%;
  height: 100%;
  object-fit: contain; /* View video fully without cropping */
  filter: none; /* Full color by default */
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.video-glass-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65); /* Sleek Black Glass */
  backdrop-filter: blur(12px); /* Glass layer blur */
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              backdrop-filter 0.6s, 
              visibility 0.6s;
  z-index: 10;
}


/* Hover and Touch Active states (Color transition & overlay fade) */
@media (hover: hover) {
  .video-interactive-container:hover .solution-video-player {
    filter: none;
  }
  .video-interactive-container:hover .video-glass-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }
}

.video-interactive-container.active-touch .solution-video-player {
  filter: none;
}

.video-interactive-container.active-touch .video-glass-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

/* Stacking Overlapping Section Effect on Desktop Screens for Subpages */
@media (min-width: 992px) {
  /* Sticky sections list */
  .subpage-banner,
  #purpose-anchor,
  #culture-anchor,
  #positions {
    position: sticky;
    top: 0;
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  /* Override padding and margin behavior for vertical centering inside sticky containers */
  .subpage-banner {
    padding-top: 0;
    padding-bottom: 0;
  }
  
  /* Containers inside sticky sections */
  .subpage-banner > .container,
  #purpose-anchor > .container,
  #culture-anchor > .container,
  #positions > .container {
    width: 100%;
    max-width: 1440px;
  }
  
  /* Page-specific Z-indexes and background layers to prevent transparency bleeding */
  
  /* 1. Common Subpage Banners (always base layer) */
  .subpage-banner {
    z-index: 1;
    background-color: var(--bg-secondary);
  }
  
  /* 2. About Page Stack */
  #purpose-anchor {
    z-index: 2;
    background-color: var(--bg-primary);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.05);
  }
  #timeline-anchor {
    position: relative;
    z-index: 3;
    background-color: var(--bg-secondary);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.05);
  }
  #leadership-anchor {
    position: relative;
    z-index: 4;
    background-color: var(--bg-primary);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.05);
  }
  
  /* 3. Products Page Stack */
  #catalog-anchor {
    position: relative;
    z-index: 2;
    background-color: var(--bg-primary);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.05);
  }
  
  /* 4. Gallery Page Stack */
  #portal-anchor {
    position: relative;
    z-index: 2;
    background-color: var(--bg-primary);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.05);
  }
  
  /* 5. Services Page Stack */
  #services-list-anchor {
    position: relative;
    z-index: 2;
    background-color: var(--bg-primary);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.05);
  }
  #consultation-anchor {
    position: relative;
    z-index: 3;
    background-color: var(--bg-secondary) !important;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.05);
  }
  
  /* 6. Contact Page Stack */
  #offices-anchor {
    position: relative;
    z-index: 2;
    background-color: var(--bg-primary);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.05);
  }
  
  /* 7. Careers Page Stack */
  #culture-anchor {
    z-index: 2;
    background-color: var(--bg-primary);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.05);
  }
  #positions {
    z-index: 3;
    background-color: var(--bg-secondary);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.05);
  }
  #apply-form-anchor {
    position: relative;
    z-index: 4;
    background-color: var(--bg-primary);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.05);
  }
  
  /* Footer sits above the stacked sections and scrolls up normally */
  footer {
    position: relative;
    z-index: 10;
    background-color: var(--bg-primary);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.15);
  }
}

.hover-orange-text {
  cursor: pointer;
  transition: all 0.2s ease;
}
.hover-orange-text:hover,
.hover-orange-text:active {
  color: #FF5500 !important;
  text-shadow: 0 0 8px rgba(255, 85, 0, 0.9), 0 0 15px rgba(255, 85, 0, 0.5) !important;
}


/* Video Backlayer Glow Ambient Light */
.solution-image-col.revealed {
  overflow: visible !important;
}

.video-glow-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(255, 85, 0, 0.4) 0%, rgba(255, 85, 0, 0) 70%);
  border-radius: 40%;
  z-index: 2;
  filter: blur(35px);
  opacity: 0.1;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-interactive-container:hover + .video-glow-backdrop,
.video-interactive-container.active-touch + .video-glow-backdrop {
  transform: translate(-50%, -50%) scale(1.15);
  opacity: 0.95;
  filter: blur(25px);
  background: radial-gradient(circle, rgba(255, 85, 0, 0.65) 0%, rgba(255, 85, 0, 0) 70%);
}

