/* ============================================================================
   GalacNo Seed-Deck Site  •  Production-ready CSS  (© 2025)
   Save/overwrite at:  css/style.css
   Works with the current HTML structure ─ no markup edits needed.
============================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* -------- root palette & globals -------- */
:root{
  --c-primary:#0A48BF;
  --c-secondary:#18A082;
  --c-accent:#E6A100;
  --c-bg:#fdfdfd;
  --c-bg-alt:#f0f2f5;
  --c-txt:#0e1321;
  --radius-m:0.75rem;
  --radius-l:1.25rem;
  --shadow-s:0 2px 6px rgba(0,0,0,.06);
  --shadow-l:0 10px 24px rgba(0,0,0,.12);
  --transition:all .25s cubic-bezier(.4,.16,.2,1);
}

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0;width:100%}
body{
  font-family:'Inter',system-ui,sans-serif;
  background:var(--c-bg);
  color:var(--c-txt);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}

/* -------- utility -------- */
.container{width:min(90rem,92%);margin-inline:auto}
.hidden{opacity:0;transform:translateY(42px);transition:var(--transition)}
.visible{opacity:1;transform:none}

/* -------- header / nav -------- */
header{
  position:fixed;inset:0 0 auto;
  background: #fff;
  border-bottom: 1px solid #d4d7e0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding:.5rem .75rem;
  z-index:1000;
  transition:background-color .3s ease,border-color .3s ease, box-shadow .3s ease;
}
header.scrolled, header.nav-open{
  background:#f8f9fa; border-color:#d4d7e0; box-shadow:var(--shadow-s);
}
header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  position: relative;
}
.logo{
  font-weight:800;font-size:1.15rem;
  color:var(--c-primary);text-decoration:none;
  padding:.5rem;
}
/* Hamburger menu button */
.hamburger{
  background:none;border:0;padding:.75rem;font-size:1.4rem;cursor:pointer;
  color:inherit;display:flex;flex-direction:column;gap:3px;
  width:44px;height:44px;align-items:center;justify-content:center;
  border-radius:4px;transition:background-color 0.2s;
}
.hamburger:hover{background:rgba(10,72,191,0.1)}
.hamburger span{
  display:block;width:20px;height:2px;background:currentColor;
  transition:all 0.3s ease;border-radius:1px;
}

/* Mobile navigation */
nav{
  display:none;position:absolute;top:100%;left:0;right:0;
  background:#fff;border-top:1px solid #d4d7e0;
  box-shadow:var(--shadow-l);border-radius:0 0 8px 8px;
}
nav.open{display:block;}
nav ul{margin:0;padding:1rem 0;list-style:none}
nav li{display:block;border-bottom:1px solid #f0f2f5;}
nav li:last-child{border-bottom:none;}
nav a{
  display:block;padding:1rem 1.5rem;
  color:inherit;text-decoration:none;font-weight:600;
  transition:all 0.2s;position:relative;
}
nav a:hover{background:#f8f9fa;color:var(--c-primary);}

/* Mobile CTA in navigation - show on mobile only */
.nav-cta{
  margin-top:1rem;padding:0 1.5rem;border-top:1px solid #f0f2f5;
  padding-top:1.5rem;display:block;
}
.nav-cta .cta{
  width:100%;text-align:center;display:block;
}

/* Desktop CTA - hide on mobile */
.nav-cta-desktop{display:none;}
nav a::after{
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0.2rem;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  transition: left 0.25s, right 0.25s;
}
nav a:hover,
nav a:focus {
  color: var(--c-primary);
}
nav a:hover::after,
nav a:focus::after {
  left: 0;
  right: 0;
}
/* Mobile Navigation - up to tablet size */
@media (max-width: 1024px) {
  header {
    padding: 0.75rem 1rem;
  }
  header > .container {
    flex-direction: row;
    align-items: center;
  }
  .logo {
    font-size: 1rem;
    padding: 0.5rem 0;
  }
  
  /* Keep hamburger menu for all smaller screens */
  .hamburger{display:flex;}
  nav{
    display:none;position:absolute;top:100%;left:0;right:0;
    background:#fff;border-top:1px solid #d4d7e0;
    box-shadow:var(--shadow-l);border-radius:0 0 8px 8px;
  }
  nav.open{display:block;}
  
  /* Hide desktop CTA, show mobile CTA */
  .nav-cta-desktop{display:none;}
  .nav-cta{display:block;}
}

/* Desktop Navigation - only for large screens */
@media(min-width:1025px){
  /* Reset navigation for desktop */
  nav{
    display:block!important;position:static;
    background:transparent;border:none;box-shadow:none;
    border-radius:0;
  }
  nav ul{display:flex;gap:1rem;padding:0;}
  nav li{display:inline-block;border:none;}
  nav a{padding:.5rem 1rem;background:transparent!important;}
  nav a:hover{background:transparent!important;color:var(--c-primary);}
  
  /* Hide hamburger on desktop */
  .hamburger{display:none;}
  
  /* Show desktop CTA, hide mobile CTA */
  .nav-cta-desktop{
    display:inline-block;
    font-size:0.85rem;
    padding:0.6rem 1.5rem;
  }
  .nav-cta{display:none !important;}
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
  nav a {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }
  .hamburger {
    width: 48px;
    height: 48px;
  }
  footer .social a {
    width: 44px;
    height: 44px;
  }
}

/* -------- hero -------- */
.hero{
  position:relative;isolation:isolate;
  display:flex;flex-direction:column;align-items:center;
  text-align:center;justify-content:center;
  min-height:80vh;padding:6.5rem 1rem 4rem 1rem;
  background:#f5f5f5; /* fallback if video hidden */
}
.hero video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2
}
.hero::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,.35) 50%,rgba(0,0,0,.6) 100%);
  z-index:-1;
}
.hero h1{
  color:#fff;font-size:clamp(2.5rem, 5.5vw, 3.5rem);
  margin:0 0 1rem;font-weight:700
}
.hero p{max-width:48ch;color:#f3f3f3;font-size:1.05rem;margin-bottom:1.25rem}

h2{font-size: clamp(1.75rem, 4vw, 2.25rem);margin-bottom: 1.25rem;}
h3{font-size: clamp(1.25rem, 3vw, 1.65rem);margin-bottom: 0.75rem;}

/* -------- buttons -------- */
.cta{
  background:var(--c-primary);color:#fff;border:0;
  padding:.9rem 2.3rem;border-radius:var(--radius-l);
  font-weight:600;cursor:pointer;
  box-shadow:var(--shadow-s);transition:var(--transition);
  text-decoration:none;display:inline-block
}
.cta:hover{transform:translateY(-2px);box-shadow:var(--shadow-l)}
a.cta{text-decoration:none !important}
a.cta:link{text-decoration:none !important}
a.cta:visited{text-decoration:none !important}
a.cta:hover{text-decoration:none !important}
a.cta:active{text-decoration:none !important}
.secondary{
  background:transparent;border:2px solid var(--c-primary);color:var(--c-primary);
  padding:.55rem 1.35rem;border-radius:var(--radius-m);font-weight:600;
  text-decoration:none;display:inline-block;margin-top:.5rem;
  transition:var(--transition)
}
.secondary:hover{background:var(--c-primary);color:#fff}

/* -------- main content -------- */
main{padding-top:4.5rem} /* account for fixed header */

section{padding:3rem 0}
section:nth-of-type(odd){background:var(--c-bg-alt)}
.cards{
  display:grid;gap:1.2rem;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
}
.cards article{
  background:#fff;border:1px solid #dee2e6;padding:1.4rem;border-radius:var(--radius-m);
  box-shadow:0 3px 8px rgba(0,0,0,.05);transition:var(--transition)
}
.cards article:hover{transform:translateY(-4px);box-shadow:0 6px 16px rgba(0,0,0,.08);}

/* -------- accordion (resources page) -------- */
.accordion button{
  width:100%;text-align:left;border:0;background:#f0f2f8;
  padding:.9rem;font-weight:600;font-size:1rem;cursor:pointer
}
.accordion div{
  display:none;padding:0 1rem 1rem;border:1px solid #f0f2f8
}
.accordion .open+div{display:block}

/* -------- cookie banner -------- */
.cookie-banner{
  position:fixed;bottom:0;left:0;right:0;z-index:950;
  background:#131313;color:#fff;font-size:.875rem;
  padding:.6rem 1rem;text-align:center;
  display:flex;align-items:center;justify-content:center;gap:.6rem;
  translate:0 110%;transition:translate .45s ease
}
.cookie-banner.show{translate:0}
.cookie-banner button{
  background:var(--c-secondary);color:#fff;border:0;
  padding:.4rem .9rem;border-radius:.4rem;cursor:pointer
}

/* -------- footer -------- */
footer{
  padding:3rem 1rem 2rem;
  font-size:.875rem;
  text-align:center;
  border-top:1px solid #d4d7e0;
  background:#fafbff;
  margin-top:4rem;
}
footer .container{
  max-width:90rem;
  margin:0 auto;
  width:92%;
}
footer .footer-content{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
  gap:2rem;
  text-align:left;
  margin-bottom:2rem;
}
footer .footer-section h4{
  font-size:1rem;
  font-weight:600;
  margin-bottom:1rem;
  color:var(--c-primary);
}
footer .footer-section ul{
  list-style:none;
  padding:0;
  margin:0;
}
footer .footer-section ul li{
  margin-bottom:0.5rem;
}
footer .footer-section a{
  color:inherit;
  text-decoration:none;
  transition:color .25s;
  display:inline-block;
  padding:0.25rem 0;
}
footer .footer-section a:hover{
  color:var(--c-primary);
}
footer .footer-bottom{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:1.5rem;
  padding-top:2rem;
  border-top:1px solid #e2e4ef;
  text-align:center;
}
footer .footer-info{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:1rem 2rem;
  margin:0;
}
footer .footer-info p{
  margin:0;
  font-size:0.875rem;
}
footer .social{
  display:flex;
  justify-content:center;
  gap:1.5rem;
  align-items:center;
}
footer .social a{
  opacity:.8;
  transition:all .25s;
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:8px;
}
footer .social a:hover{
  opacity:1;
  background:rgba(10,72,191,0.1);
  transform:translateY(-2px);
}
/* Tablet footer */
@media (max-width:1024px){
  footer .footer-content{
    grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
    gap:1.5rem;
  }
}

/* Mobile footer */
@media (max-width:768px){
  footer{
    padding:2rem 1rem 1.5rem;
  }
  footer .footer-content{
    grid-template-columns:repeat(2, 1fr);
    text-align:left;
    gap:2rem 1rem;
  }
  footer .footer-section h4{
    font-size:0.95rem;
    margin-bottom:0.75rem;
  }
  footer .footer-section ul li{
    margin-bottom:0.4rem;
  }
  footer .footer-section a{
    font-size:0.85rem;
    padding:0.2rem 0;
  }
  footer .footer-bottom{
    gap:1.5rem;
    padding-top:1.5rem;
  }
  footer .footer-info{
    flex-direction:column;
    gap:0.5rem;
  }
  footer .social{
    gap:1rem;
  }
  footer .social a{
    width:36px;
    height:36px;
  }
}

/* Small mobile footer */
@media (max-width:480px){
  footer .footer-content{
    grid-template-columns:1fr;
    text-align:center;
    gap:1.5rem;
  }
  footer .footer-section h4{
    margin-bottom:0.5rem;
  }
  footer .social{
    gap:0.75rem;
  }
}


/* centre the KPI line */
.proof{
  display:flex;              /* turn the section into a flex-box   */
  justify-content:center;    /* horizontal centring                */
  align-items:center;        /* (keeps it vertically tidy as well) */
}

.proof p{margin:0}           /* removes the default left indent    */


/* -------- reduced-motion preferences -------- */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important
  }
}

/* make full card act as a link */
.link-card a{
  display:block;
  width:100%; height:100%;
  text-decoration:none;
  color:inherit;
}

/* testimonials carousel */
.testimonials {
  background: var(--c-bg-alt);
  padding-block: 3.5rem;
}

.t-carousel {
  position: relative; /* Needed for positioning the buttons */
  overflow: hidden;   /* This is the key change: the container clips the track */
  margin-top: 2rem;
}

.t-track {
  display: flex;      /* Lays out the cards in a row */
  transition: transform .55s ease; /* Animates the slide */
}

/* individual cards */
.t-card {
  flex: 0 0 100%;
  max-width: 100%;
  background: #fff;
  color: var(--c-txt);
  padding: 1.8rem 1.5rem;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  opacity: .55;
  transform: scale(.9);
  transition: opacity .35s, transform .35s, background .35s, color .35s;
}

.t-card.active {
  background: var(--c-secondary);
  color: #fff;
  opacity: 1;
  transform: scale(1);
}

/* Position buttons on top of the carousel */
.t-prev,
.t-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: 0;
  font-size: 2.2rem;
  cursor: pointer;
  color: var(--c-primary);
  line-height: 1;
  padding: .4rem .6rem;
  transition: color .25s;
}

.t-prev:hover,
.t-next:hover {
  color: var(--c-secondary);
}

.t-prev {
  left: .5rem;
}

.t-next {
  right: .5rem;
}

@media(min-width:600px) {
  .t-card {
    flex: 0 0 80%;
    max-width: 80%;
    margin: 0 10%;
  }
}

/* ============================================================================
   CUSTOM TESTIMONIALS STYLING
============================================================================ */

/* Section background and default text color */
.testimonials {
  background: linear-gradient(175deg, #0D253F 0%, #051424 100%);
  color: #f0f5ff; /* Lighter text color for the dark background */
}

/* Style the "What partners say" heading */
.testimonials h2 {
  color: #ffffff; 
}

/* Inactive testimonial cards */
.testimonials .t-card {
  background: rgba(255, 255, 255, 0.02); /* More transparent card */
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #dbeaff; /* Light blue text for inactive cards */
}

/* The main active card */
.testimonials .t-card.active {
  background: var(--c-primary); /* Use the site's primary blue for the active card */
  color: #ffffff; /* White text for the active card */
}

/* Navigation buttons */
.testimonials .t-prev,
.testimonials .t-next {
  color: #ffffff;
  /* Give the buttons a subtle background and circular shape */
  background: rgba(255, 255, 255, 0.1); 
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Button hover effect */
.testimonials .t-prev:hover,
.testimonials .t-next:hover {
  background: var(--c-primary); /* Highlight with primary blue on hover */
  color: #ffffff;
}

/* Center the featured resource section content */
.resource article {
  text-align: center;
}

/* ============================================================================
   ENHANCED PAIN-POINTS SECTION STYLING
============================================================================ */

/* Style the summary line to act like a button header */
.problems details summary {
  position: relative;
  padding-right: 2.5rem; /* Make space for the icon */
  cursor: pointer;
  list-style: none; /* Remove the default disclosure triangle */
}

/* Create a custom plus/minus icon */
.problems details summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 1.4rem;
  transform: translateY(-50%);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--c-primary);
  transition: transform 0.25s ease;
}

/* Rotate the icon to a minus sign when the card is open */
.problems details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

/* Remove outline on focus for a cleaner look */
.problems details summary:focus {
  outline: none;
}

/* ============================================================================
   IMPACTFUL KPI SECTION STYLING
============================================================================ */

.proof {
  padding-block: 2rem; /* Give the section a little more vertical space */
}

.kpi-container {
  display: flex;
  justify-content: space-around;
  text-align: center;
  gap: 1.5rem;
}

.kpi-item {
  flex: 1;
}

.kpi-item .counter {
  display: block;
  font-size: clamp(2.5rem, 6vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.1;
}

.kpi-item p {
  margin: 0;
  font-size: 1rem;
  color: var(--c-txt);
  opacity: 0.8;
}

/* Adjust for mobile */
@media (max-width: 600px) {
  .kpi-container {
    flex-direction: column;
    gap: 2rem;
  }
}

/* ============================================================================
   VERTICAL CARD FEATURED SOLUTIONS STYLING
============================================================================ */
.uc-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.uc-tab-btn {
  background: var(--c-bg-alt);
  border: 1px solid #e2e4ef;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-m);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  opacity: 0.7;
}

.uc-tab-btn:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.uc-tab-btn.active {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  opacity: 1;
}

.uc-card-display {
  position: relative;
  max-width: 800px;
  margin-inline: auto;
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  overflow: hidden; /* Ensures image corners are rounded */
}

.uc-card-item {
  display: none;
}

.uc-card-item.active {
  display: block;
}

.uc-card-item img {
  width: 100%; /* Image grows to the limits of the box */
  height: auto;
  display: block;
}

.uc-card-text {
  padding: 2rem 2.5rem 2.5rem;
}

.uc-card-text h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
}

@media (max-width: 768px) {
  .uc-card-text {
    padding: 1.5rem;
  }
  .uc-card-text h3 {
    font-size: 1.5rem;
  }
}

/* ============================================================================
   TECH ACCORDION STYLING
============================================================================ */
.tech-accordion {
  background: var(--c-bg-alt);
}
.tech-accordion .accordion-container {
  max-width: 850px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tech-accordion details {
  background: #fff;
  border-radius: var(--radius-m);
  border: 1px solid #e2e4ef;
  box-shadow: var(--shadow-s);
  transition: var(--transition);
}
.tech-accordion details[open] {
  box-shadow: var(--shadow-l);
}
.tech-accordion summary {
  position: relative;
  padding: 1.25rem 3rem 1.25rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none; /* remove default triangle */
}
.tech-accordion summary::after {
  content: '↓';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}
.tech-accordion details[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}
.tech-accordion details p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  max-width: 65ch; /* for readability */
}

/* ============================================================================
   PRODUCT CTA BANNER STYLING
============================================================================ */
.cta-banner {
  background: var(--c-primary);
  color: #000;
  padding-block: 3.5rem;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.cta-banner p {
  max-width: 45ch;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}
.cta-banner .cta {
  background: var(--c-secondary); /* Use the secondary color for high contrast */
  box-shadow: var(--shadow-l);
}


/* ============================================================================
   TECHNOLOGY PAGE TABBED LAYOUT
============================================================================ */
.tech-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2.5rem 0;
  border-bottom: 1px solid #d4d7e0;
  padding-bottom: 1.5rem;
}

.tech-tab-btn {
  background: none;
  border: 0;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-m);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  opacity: 0.7;
  position: relative;
}

.tech-tab-btn::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: -1.5rem; /* Position on the border-bottom of parent */
  height: 3px;
  background: var(--c-primary);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.tech-tab-btn:hover {
  opacity: 1;
  color: var(--c-primary);
}

.tech-tab-btn.active {
  opacity: 1;
  color: var(--c-primary);
}

.tech-tab-btn.active::after {
  opacity: 1;
  transform: translateY(0);
}

.tech-card-item {
  display: none;
  flex-direction: row;
  gap: 2.5rem;
  align-items: flex-start;
}

.tech-card-item.active {
  display: flex;
}

.tech-card-main {
  flex: 2;
}
.tech-card-main h3 {
  margin-top: 0;
}

.tech-card-facts {
  flex: 1;
  background: var(--c-bg-alt);
  padding: 1.5rem;
  border-radius: var(--radius-l);
  border: 1px solid #e2e4ef;
}
.tech-card-facts h4 {
  margin-top: 0;
  border-bottom: 2px solid var(--c-secondary);
  padding-bottom: 0.5rem;
  display: inline-block;
}
.tech-card-facts ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.tech-card-facts b {
  color: var(--c-txt);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tech-card-item {
    flex-direction: column;
  }
}

/* ============================================================================
   PRODUCTS PAGE STYLING
============================================================================ */

/* Pricing Cards */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: stretch; /* Makes cards equal height */
}

.pricing-card {
  background: var(--c-bg);
  border: 1px solid #e2e4ef;
  border-radius: var(--radius-l);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-l);
}

.pricing-card h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: var(--c-primary);
}
.pricing-card .card-desc {
  line-height: 1.6;
  flex-grow: 1; /* Pushes button to the bottom */
  margin-bottom: 1.5rem;
}
.pricing-card .cta, .pricing-card .secondary {
  width: 100%;
  text-align: center;
}

/* Highlighted Card */
.pricing-card.highlighted {
  border-color: var(--c-primary);
  border-width: 2px;
  transform: scale(1.03);
}
.pricing-card .highlight-banner {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--c-primary);
  color: #fff;
  padding: 0.4rem 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  transform: translateX(30%) translateY(50%) rotate(45deg);
  transform-origin: center;
  width: 150px;
  text-align: center;
}

/* Feature Table */
.feature-table-container {
  overflow-x: auto; /* For good mobile display */
}
.feature-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 3rem;
  font-size: 0.95rem;
}
.feature-table th, .feature-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e4ef;
}
.feature-table th {
  background-color: var(--c-bg-alt);
  font-weight: 600;
}
.feature-table td:not(:first-child) {
  text-align: center;
}
.feature-table .tick {
  color: var(--c-secondary);
  font-weight: 700;
  font-size: 1.25rem;
}
.feature-table .cross {
  color: #999;
}

.feature-table .feature-category {
  background: var(--c-bg-alt);
  font-weight: 700;
  color: var(--c-primary);
  text-align: left !important;
}


/* ============================================================================
   PAGED RESOURCES STYLING (v2)
============================================================================ */
.paged-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.paged-header h2 {
  margin: 0;
}
.paged-nav {
  display: none; /* Hidden by default, shown by JS if needed */
}
.paged-nav button {
  background: var(--c-bg-alt);
  border: 1px solid #e2e4ef;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}
.paged-nav button:hover:not(:disabled) {
  background: var(--c-primary);
  color: #fff;
}
.paged-nav button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.paged-nav .res-next {
  margin-left: 0.5rem;
}

.resource-carousel-wrapper {
  overflow: hidden;
}
.resource-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.4,.16,.2,1);
}
.resource-page {
  flex: 0 0 100%;
  min-width: 100%;
  padding-right: 1.5rem; /* Creates a gap between pages */
  box-sizing: border-box;
}

/* Re-apply previous styles for lists and grids INSIDE pages */
.resource-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.resource-list-item {
  display: flex;align-items: center;gap: 1.5rem;background: var(--c-bg-alt);
  padding: 1.25rem;border-radius: var(--radius-m);transition: var(--transition);
}
.resource-list-item:hover{background: #fff;box-shadow: var(--shadow-s);}
.item-icon{font-size: 2rem;}
.item-content{flex-grow: 1;}
.item-content h4{margin:0 0 0.25rem;}
.item-content p{margin:0;font-size:0.9rem;opacity:0.7;}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.video-grid article {
  background: #fff; border: 1px solid #e2e4ef; border-radius: var(--radius-l);
  padding: 1rem; text-align: left; box-shadow: var(--shadow-s);
}
.video-grid video {width: 100%;border-radius: var(--radius-m);margin-bottom: 0.75rem;}
.video-grid h4 {margin: 0;padding-inline: 0.5rem;}

/* Responsive video grid */
@media (max-width: 768px) {
  .video-grid { grid-template-columns: 1fr; }
}


/* ============================================================================
   COMPANY PAGE STYLING
============================================================================ */
#company-hero { text-align: center; padding-block: 2rem; }
#company-hero h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
#company-hero p { max-width: 65ch; margin-inline: auto; font-size: 1.1rem; opacity: 0.9; }

#mission-vision {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  margin-bottom: 3rem;
}
.mv-card { background: var(--c-bg-alt); padding: 2rem; border-radius: var(--radius-l); }
.mv-card h2 { margin-top: 0; color: var(--c-primary); }

/* Roadmap Timeline */
.section-title { text-align: center; margin-bottom: 1rem; }
.section-subtitle { text-align: center; max-width: 70ch; margin-inline: auto; margin-top: -0.5rem; margin-bottom: 2.5rem; opacity: 0.9; }

.roadmap-timeline {
  position: relative;
  max-width: 800px;
  margin: 2rem auto 4rem;
  padding-left: 2rem;
  border-left: 4px solid var(--c-primary);
}
.timeline-item { position: relative; margin-bottom: 3rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.3rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-primary);
  border: 4px solid var(--c-bg);
  margin-left: -12px;
}
.timeline-year { font-size: 1.5rem; font-weight: 700; color: var(--c-primary); margin-bottom: 0.25rem; }
.timeline-content h3 { margin: 0 0 0.5rem; }
.timeline-content p { margin: 0; }

/* ============================================================================
   CAREERS / JOB LIST STYLING (v2)
============================================================================ */
.job-list-v2 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 950px;
  margin-inline: auto;
}
.job-item-v2 {
  border: 1px solid #e2e4ef;
  border-radius: var(--radius-m);
  transition: var(--transition);
}
.job-item-v2:hover {
  border-color: #d4d7e0;
  box-shadow: var(--shadow-s);
}
.job-item-v2.active {
  border-color: var(--c-primary);
}

.job-header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
}
.job-title {
  font-weight: 600;
  font-size: 1.1rem;
}
.job-location {
  opacity: 0.7;
}
.job-expand-icon {
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230e1321'%3E%3Cpath d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'/%3E%3C/svg%3E");
  transition: transform 0.3s ease;
}
.job-item-v2.active .job-expand-icon {
  transform: rotate(180deg);
}

.job-details {
  display: none; /* Hidden by default */
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid #e2e4ef;
  margin-top: -1px;
}
.job-item-v2.active .job-details {
    display: block;
}
.job-details h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--c-primary);
}
.job-details ul {
  padding-left: 1.25rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e4ef;
}
.job-footer p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Responsive job list */
@media (max-width: 600px) {
  .job-header {
    grid-template-columns: 1fr auto;
  }
  .job-location {
    display: none; /* Hide location on small screens for more space */
  }
  .job-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================================
   COMPANY PAGE STYLING (v2)
============================================================================ */

/* In-Page Navigation */
.page-nav {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e2e4ef;
}
.page-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--c-txt);
  opacity: 0.7;
  transition: var(--transition);
}
.page-nav a:hover {
  opacity: 1;
  color: var(--c-primary);
}

/* Update job list for new meta info */
.job-header {
  grid-template-columns: 1fr auto auto; /* Re-adjust grid */
}
.job-meta {
  display: flex;
  gap: 1rem;
  opacity: 0.7;
  font-size: 0.9rem;
}
.job-type {
  background: var(--c-bg-alt);
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid #e2e4ef;
}

/* Responsive job list update */
@media (max-width: 600px) {
  .job-header {
    grid-template-columns: 1fr auto; /* Keep the icon */
  }
  .job-meta {
    display: none; /* Hide meta info on smallest screens for more space */
  }
}

/* ============================================================================
   INTERACTIVE TIMELINE STYLING (v4 - Scroll-based)
============================================================================ */
.timeline-carousel-v2 {
  max-width: 800px;
  margin: 2rem auto 4rem;
  text-align: center;
}
.timeline-scroll-container {
  height: 400px; /* The height of our "window" */
  overflow-y: scroll; /* Allow native scrolling */
  position: relative;
  border-left: 4px solid var(--c-bg-alt);
  /* Hide the scrollbar for a cleaner look */
  scrollbar-width: none; /* For Firefox */
}
.timeline-scroll-container::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Opera */
}
.roadmap-timeline {
  padding-top: 1rem;
}
.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2.5rem;
  text-align: left;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -12px; /* Position over the container's border */
  top: 0.3rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-primary);
  border: 4px solid var(--c-bg);
}
.timeline-year { font-size: 1.5rem; font-weight: 700; color: var(--c-primary); margin-bottom: 0.25rem; }
.timeline-content h3 { margin: 0 0 0.5rem; }
.timeline-content p { margin: 0; }

.timeline-nav-v2 {
  margin-top: 1.5rem;
  display: inline-flex;
  gap: 1rem;
}
.timeline-btn {
  background: var(--c-bg-alt);
  border: 1px solid #e2e4ef;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}
.timeline-btn:hover:not(:disabled) {
  background: var(--c-primary);
  color: #fff;
}
.timeline-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}


/* ============================================================================
   CONTACT PAGE STYLING
============================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Left column slightly smaller */
  gap: 3rem;
  padding-block: 2rem;
}
@media (max-width: 850px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
}
.contact-info p {
  line-height: 1.7;
  opacity: 0.9;
}
.contact-details-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-details-list .contact-icon {
  font-size: 1.5rem;
}
.contact-details-list strong {
  display: block;
  margin-bottom: 0.25rem;
}

/* Form Styling */
.contact-form-container {
  background: var(--c-bg-alt);
  padding: 2.5rem;
  border-radius: var(--radius-l);
}
.contact-form .form-group {
  margin-bottom: 1.25rem;
}
.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-m);
  border: 1px solid #d4d7e0;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px hsla(var(--c-primary-hsl), 0.2);
}
.contact-form .cta {
  width: 100%;
}


/* ============================================================================
   MODERN SOLUTIONS PAGE STYLING (v3)
============================================================================ */

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding-bottom: 4rem;
}

.solution-card {
  background: #fff;
  border: 1px solid #e2e4ef;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  transition: var(--transition);
  overflow: hidden; /* To keep the image corners rounded */
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-l);
}

.solution-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.solution-card .card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.solution-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--c-primary);
}

.solution-card .card-excerpt {
  flex-grow: 1;
  margin-bottom: 1rem;
  opacity: 0.8;
}

/* Modal Styles */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 19, 33, 0.7);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--c-bg);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modal-fade-in 0.4s cubic-bezier(.4,.16,.2,1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e2e4ef;
}
.modal-header h2 { margin: 0; }

.modal-close-btn {
  background: none; border: none; font-size: 2.5rem;
  font-weight: 300; cursor: pointer; color: var(--c-txt);
  line-height: 1; padding: 0;
}

.modal-body {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .modal-body {
    grid-template-columns: 1fr 1fr;
  }
}

.modal-carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-m);
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease;
}

.carousel-item {
  flex: 0 0 100%;
  min-width: 100%;
}
.carousel-item img {
  width: 100%;
  display: block;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
}
.carousel-nav.prev { left: 10px; }
.carousel-nav.next { right: 10px; }

.modal-description-text { line-height: 1.7; }

.modal-metrics-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--c-bg-alt);
  padding: 1rem;
  border-radius: var(--radius-m);
}

@keyframes modal-fade-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

a.disabled[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}