/* CSS class for the logo */
.logo {
    width: 50px;  /* Adjust width */
    height: auto;  /* Maintain aspect ratio */
    display: block;
    margin: 0 auto;  /* Center the logo if desired */
}

/* Optional: Additional classes for different background logos */
.logo-white {
    /* background-image: url("/static/assets/logo_white_background.621e9dbabef8.png"); */
    background-image: url("/static/assets/logo_transparent_blue.8dc92e0a62a8.png");
    background-size: contain;  /* Ensure the logo fits the container */
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
}

.logo-black {
    /* background-image: url("/static/assets/logo_black_background_new_foreground.29157ffcdbae.png");  */
    background-image: url("/static/assets/logo_transparent_green_from_black_bg.7037722e1992.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
}


/* Demo article ocean acidification */
/* New card styling for Ocean Acidification example */

.qimeta-oceanacid-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.qimeta-oceanacid-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(30, 35, 40, 0.95);
    border-radius: 18px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
    border: 1.5px solid #4ec6c2;
    padding: 24px;
    margin-bottom: 32px;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
}

.qimeta-oceanacid-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 10px 35px rgba(78, 198, 194, 0.25);
}

.qimeta-oceanacid-card .demo-article-images {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 18px;
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.qimeta-oceanacid-card .demo-article-img-multi {
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #4ec6c2;
    background: #111;
    transition: transform 0.2s;
    flex-shrink: 0;
    width: 240px;
    height: 300px;
}

.qimeta-oceanacid-card .demo-article-img-multi:hover {
    transform: scale(1.05);
}

.qimeta-oceanacid-card .demo-article-link {
    font-size: 1.2rem;
    font-weight: bold;
    color: #4ec6c2;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 8px;
    transition: color 0.2s;
    text-align: center; /* ✅ center the title text */
}

.qimeta-oceanacid-card .demo-article-link:hover {
    color: #ffffff;
    text-shadow: 0 0 6px #4ec6c2aa;
}


.qimeta-oceanacid-card .demo-article-desc {
    color: #e8eaea;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 1100px) {
    .qimeta-oceanacid-card .demo-article-img-multi {
        width: 180px;
        height: 220px;
    }
    .qimeta-oceanacid-card .demo-article-images {
        gap: 20px;
    }
}

@media (max-width: 700px) {
    .qimeta-oceanacid-card .demo-article-images {
        flex-direction: column;
        gap: 16px;
    }
    .qimeta-oceanacid-card .demo-article-img-multi {
        width: 90%;
        max-width: 300px;
        height: auto;
    }
}


/* Other demos */
.demo-articles {
  margin-top: 40px;
  text-align: center;
}
.demo-articles-title {
  font-size: 2rem;
  color: #4ec6c2;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.demo-articles-list {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.demo-article-card {
  background: black; /*rgba(30, 35, 40, 0.92);  */
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(78, 198, 194, 0.12);
  width: 300px;
  padding: 18px 18px 14px 18px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1.5px solid #4ec6c2;
}
.demo-article-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 8px 28px rgba(78, 198, 194, 0.22);
}
.demo-article-img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
  border: 2.5px solid #4ec6c2;
  background: #111;
}
.demo-article-content {
  width: 100%;
}
.demo-article-link {
  font-size: 1.08rem;
  font-weight: bold;
  color: #4ec6c2;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.2s;
}
.demo-article-link:hover {
  color: #fff;
  text-shadow: 0 0 6px #4ec6c2aa;
}
.demo-article-desc {
  color: #e8eaea;
  font-size: 0.98rem;
  margin-top: 8px;
  margin-bottom: 0;
  line-height: 1.55;
}
@media (max-width: 900px) {
  .demo-articles-list {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }
  .demo-article-card {
    width: 94vw;
    max-width: 330px;
  }
}


.qimeta-contact-line {
  margin-top: 44px;
  padding: 18px 0 0 0;
  text-align: center;
  font-size: 1.08em;
  color: #e0e4ea;
  letter-spacing: 0.01em;
  border-top: 1px solid #333d;
}
.qimeta-contact-line a {
  font-weight: 600;
  transition: color 0.2s;
}
.qimeta-contact-line a:hover {
  color: #fff;
  text-decoration: underline;
}


.qimeta-features-section {
  background: rgba(10,14,18,0.92);
  padding: 60px 0 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.qimeta-h2 {
  color: #4ec6c2;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 1px;
  font-family: 'Montserrat', sans-serif;
}
.qimeta-features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  max-width: 1050px;
}
.qimeta-feature-card {
  background: black; /* rgba(30,35,40,0.97); */
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(78,198,194,0.09);
  border: 1.2px solid #4ec6c2;
  padding: 28px 20px 20px 20px;
  width: 215px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s, box-shadow 0.18s;
}
.qimeta-feature-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 32px rgba(78,198,194,0.20);
}
.qimeta-feature-icon {
  font-size: 2.2em;
  color: #4ec6c2;
  margin-bottom: 12px;
  display: block;
}
.qimeta-feature-card h4 {
  color: #fff;
  font-size: 1.08em;
  margin: 0 0 10px 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-align: center;
}
.qimeta-feature-card p {
  color: #e8eaea;
  font-size: 0.96em;
  text-align: center;
  margin: 0;
}

/* Make feature cards but with links work as full clickable links */
a.qimeta-feature-card {
  text-decoration: none;
  color: inherit;
  display: flex;             /* keep the same flex layout as div cards */
  flex-direction: column;
  align-items: center;
}

a.qimeta-feature-card:hover {
  cursor: pointer;           /* keep hover pointer for clarity */
}

/* Accessible focus state (keyboard users) */
a.qimeta-feature-card:focus-visible {
  outline: 2px solid #4ec6c2;
  outline-offset: 3px;
  border-color: #31b8b3;
  box-shadow: 0 0 0 3px rgba(78,198,194,0.25);
}
/* End feature cards but with links  changes */

@media (max-width: 950px) {
  .qimeta-features-grid {
    gap: 20px;
  }
  .qimeta-feature-card {
    width: 46vw;
    min-width: 185px;
    max-width: 260px;
  }
}
@media (max-width: 700px) {
  .qimeta-features-grid {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .qimeta-feature-card {
    width: 90vw;
    min-width: 160px;
    max-width: 340px;
  }
}


.case-study-download-btn {
  display: inline-flex;
  align-items: center;
  background: rgba(78, 198, 194, 0.12);
  color: #4ec6c2;
  border-radius: 100px;
  padding: 7px 18px 7px 14px;
  font-size: 0.97em;
  font-weight: 600;
  margin-top: 8px;
  text-decoration: none;
  border: 1px solid #4ec6c2;
  transition: background 0.16s, color 0.16s, border 0.16s;
}
.case-study-download-btn:hover,
.case-study-download-btn:focus {
  background: #4ec6c2;
  color: #222;
  border: 1.5px solid #4ec6c2;
  text-decoration: underline;
}

/* Moved from home_qimeta.html to here */
		body {
			background-color: black;
			margin: 0;
			padding: 0;
			/* font-family: Arial, sans-serif; */
			font-family: Montserrat,Century Gothic,CenturyGothic,AppleGothic,sans-serif;
			font-size: 16px;
			line-height: 1.5;
			color: white;

      		background-position: center center;
		}
		header {
				background-color: rgba(0, 0, 0, 0.8);
				position: fixed;
				top: 0;
				left: 0;
				width: 100%;
				z-index: 999;
		}

		nav {
      		display: flex;
      		justify-content: space-around;
			align-items: center;
			flex-wrap: wrap;
			height: 70px;
			color: white;
			font-size: 1.2em;
		}
		nav .logo {
    		width: 50px;  /* Set the desired width */
    		height: 50px;  /* Set the desired height */
   			margin-right: auto; /* Pushes the logo to the left and other items to the right */
		}


		nav a {
			display: block;
			padding: 10px 20px;
			text-decoration: none;
			color: white;
			transition: background-color 0.3s;
		}

		nav a:hover {
			background-color: rgba(255,255,255,0.1);
		}

/* --- MOBILE NAV BASE --- */

.mobile-nav {
  position: fixed;
  top: var(--mobile-header-height);
  left: 0;
  width: 66vw;
  max-width: 400px;
  height: calc(100vh - var(--mobile-header-height));
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 10001;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
}

.mobile-nav.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-header {
  background: rgba(0, 0, 0, 0.85);
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--mobile-header-height);
  z-index: 1002;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  max-width: 100%;
}

  .mobile-header .nav-logo {
    color: #4ec6c2;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3rem;
  }

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-toggle .hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: #4ec6c2;
  position: relative;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: #4ec6c2;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* Transform into X when active */
.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-menu {
  display: none;
  flex-direction: column;
  background: white;
  width: 100%;
  padding: 10px 20px;
  border-top: 1px solid #eee;
}


.mobile-nav.active .nav-menu {
  display: flex;
}

.nav-menu li {
  margin: 10px 0;
}

.nav-menu a {
  color: #333;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #4ec6c2;
}

/* Highlight the CTA button in nav */
.nav-menu .btn-primary {
  background: #4ec6c2;
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
}

.nav-menu .btn-primary:hover {
  background: #31b8b3;
}

.mobile-nav .nav-menu a {
  padding: 12px 16px;
  font-size: 1.1rem;
}
		/* Intro */
		#intro {
			display: flex;
			height: 100vh;
			flex-direction: row;
			background-size: cover;
			background-position: center;
			background-repeat: no-repeat;
		}

		.intro-left, .intro-right {
			flex: 1 1 50%;
			height: 100%;
		}


		.intro-left {
			flex: 0 0 50%;
			height: 100%;
			display: flex;
			justify-content: flex-start;
			align-items: center;
			padding-left: clamp(40px, 5vw, 120px);
			padding-right: 30px;
			box-sizing: border-box;
		}
		.intro-right {
			flex: 0 0 50%;
			height: 100%;
			min-width: 50%;


		}

		.intro-content {
			max-width: 600px;
			color: white;
		}

		.intro-content h1 {
			color: #4ec6c2;
			font-size: clamp(2.5rem, 5vw, 4rem);
			margin: 0 0 20px 0;
			text-align: left;
		}
		.intro-heading {
			display: inline-flex;
			align-items: center;
			gap: 12px;
		}


		.intro-heading h1 {
			display: inline-flex;
			align-items: center;
			gap: 12px;
		}

		.intro-heading h1 img.logo {
			height: 1.5em;
			width: auto;
			display: inline-block;
			margin-bottom: 10%;
		}

		.intro-content h2 {
			font-size: clamp(1.5rem, 3vw, 2.5rem);
			margin: 0 0 20px 0;
			text-align: left;
			font-weight: 400;
		}

		.intro-content h3 {
			font-size: clamp(1rem, 2vw, 1.2rem);
			margin: 0 0 30px 0;
			text-align: left;
			max-width: 600px;
			line-height: 1.5;
		}


		.highlight-keyword {
			color: #4ec6c2;
			font-weight: 600;
			transition: all 0.3s ease;
		}

		.highlight-keyword:hover {
			color: #31b8b3;
			background-color: rgba(78, 198, 194, 0.15);
			padding: 2px 4px;
			border-radius: 4px;
		}

		.cta-buttons {
			display: flex;
			gap: 20px;
			margin: 30px 0;
			flex-wrap: wrap;
			justify-content: flex-start;
		}

		.cta-buttons a {
			display: inline-block;
			text-decoration: none;
			padding: 12px 24px;
			font-size: 1.1rem;
			font-weight: 600;
			border-radius: 6px;
			transition: all 0.3s ease;
			flex: 1 1 auto;
			text-align: center;
			min-width: 220px;
		}

    /* --- Ensure the app CTA matches landing page CTA everywhere --- */
    .btn-primary {
      background-color: #4ec6c2;
      color: #ffffff;
      padding: 12px 24px;
      border-radius: 6px;
      font-weight: 600;
      text-decoration: none;
      display: inline-block;
    }

    .btn-primary:hover {
      background-color: #31b8b3;
    }

		.btn-secondary {
			background-color: transparent;
			color: #4ec6c2;
			border: 2px solid #4ec6c2;
		}

		.btn-secondary:hover {
			background-color: rgba(78, 198, 194, 0.1);
		}

		@media (max-width: 768px) {
		.cta-buttons {
			flex-direction: column;
			align-items: stretch;
			gap: 15px;
		}

		.cta-buttons a {
			width: 100%;
			min-width: 0;
			box-sizing: border-box;
			padding: 14px 16px;
			font-size: 1rem;
		}
		}
:root {
  --mobile-header-height: 50px;
}
@media (max-width: 768px) {
  #intro {
    padding-top: var(--mobile-header-height);
  }
}
@media (min-width: 769px) {
	.mobile-nav {
		display: none;
	}
	.mobile-header {
		display: none;
	}
}
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
}


		@media (max-width: 768px) {
			#intro {
				flex-direction: column;
			}
			
			.intro-left, .intro-right {
				width: 100%;
				height: auto;
			}
			
			.intro-right {
				height: 300px;
			}
			
			.intro-left {
				justify-content: center;
				padding: 20px;
			}
			
			.intro-content h1,
			.intro-content h2,
			.intro-content h3 {
				text-align: center;
			}


			.case-study-highlight {
				justify-content: center;
			}
		}		

		@supports (-webkit-touch-callout: none) {
			/* ios */
			@media only screen
			and (min-width: 200px)
			and (max-width: 600px)
			and (min-resolution: 2dppx)
			and (orientation: portrait) {
				#intro {
							/* background: url("/static/assets/qimeta_girl_200_to_600.ab9ec69f0597.jpg") no-repeat center center fixed; */
							background-image: url("/static/assets/qimeta_girl_200_to_600.ab9ec69f0597.jpg");
							background-position: center;
							background-size: cover;
						/* background-attachment: fixed; /*ios does not support this */
							background-repeat: no-repeat;
				}
			}

			@media only screen
			and (min-width: 600px)
			and (max-width: 900px)
			and (min-resolution: 2dppx)
			and (orientation: landscape) {
				#intro {
					/* background: url("/static/assets/qimeta_girl.1d5c9cf22900.jpg") no-repeat center fixed; */
							background-image: url("/static/assets/qimeta_girl_extended_smooth.6c2dfb7bf568.png");
							background-position: center;
							background-size: cover;
						/* background-attachment: fixed; /*ios does not support this */
							background-repeat: no-repeat;

				}
			}

			@media only screen
			and (min-width: 901px) {
			#intro {
				/* background: url("/static/assets/qimeta_girl.e7cd352b47bf.png") no-repeat center fixed; */
						background-image: url("/static/assets/qimeta_girl_extended_smooth.6c2dfb7bf568.png");
						background-position: center;
						background-size: cover;
						background-repeat: no-repeat;
					/* background-attachment: fixed; /*ios does not support this */

			}
			}

		}


		@supports not (-webkit-touch-callout: none) {
			/* NOT ios */
	    	@media only screen
			and (min-width: 200px)
			and (max-width: 600px)
			and (min-resolution: 2dppx)
			and (orientation: portrait) {
				#intro {
							/* background: url("/static/assets/qimeta_girl_200_to_600.ab9ec69f0597.jpg") no-repeat center center fixed; */
							background-image: url("/static/assets/qimeta_girl_200_to_600.ab9ec69f0597.jpg");
							background-position: center;
							background-size: cover;
						background-attachment: fixed; /*ios does not support this */
							background-repeat: no-repeat;
				}
			}

			@media only screen
			and (min-width: 600px)
	    	and (max-width: 900px)
			and (min-resolution: 2dppx)
	    	and (orientation: landscape) {
				#intro {
					/* background: url("/static/assets/qimeta_girl.1d5c9cf22900.jpg") no-repeat center fixed; */
							background-image: url("/static/assets/qimeta_girl_extended_smooth.6c2dfb7bf568.png");
							background-position: center;
							background-size: cover;
						background-attachment: fixed; /*ios does not support this */
							background-repeat: no-repeat;

				}
			}

			@media only screen
			and (min-width: 901px) {
				#intro {
					/* background: url("/static/assets/qimeta_girl.e7cd352b47bf.png") no-repeat center fixed; */
							background-image: url("/static/assets/qimeta_girl_extended_smooth.6c2dfb7bf568.png");
							background-position: center;
							background-size: cover;
							background-repeat: no-repeat;
						background-attachment: fixed; /*ios does not support this */

				}
			}

		}
@media only screen
and (max-width: 768px)
and (orientation: portrait) {
  #intro {
    background-image: none !important;
    background-color: black;
  }
}

@media (max-width: 768px) {
    .intro-right {
        display: none;
    }

    .intro-left {
        justify-content: center;
        padding: 10px 20px;
    }

    .intro-content {
        max-width: 100%;
    }

    .intro-content h1,
    .intro-content h2,
    .intro-content h3 {
        text-align: center;
    }


    .intro-heading h1 img.logo {
        height: 1em;
        margin-bottom: 0;
    }

    .cta-buttons a {
        font-size: 1rem;
        min-width: auto;
        width: 100%;
    }
}


		section {
			min-height: 100vh;
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;
			background-color: rgba(0,0,0,0.5);
			padding: 50px 0;
		}

		section h2 {
			font-size: 2.5rem;
			text-align: center;
			margin: 0;
			padding-bottom: 20px;
			border-bottom: 1px solid white;
		}

		section p {
			font-size: 1.2rem;
			text-align: center;
			max-width: 800px;
			margin: 0;
			padding: 20px;
		}

		.about-section {
			text-align: center;
			padding: 50px;
			/* background-color: #f4f4f4; */
		}

		@media (max-width: 768px) {
			.about-section {
				padding-left: 0px;
				padding-right: 0px;
			}
		}
		.qimeta_research {
			margin-top: 30px;
			margin-bottom: 60px;
		}
		.qimeta_research p {
			text-align: left;

		}
		.qimeta_products {
			align-items: center;
			margin-top: 10px;
			margin-bottom: 10px;
		}
		.qimeta_products p {
			text-align: left;

		}
.qimeta_mission {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
	width: 100%;
    margin: 30px auto 60px auto;
    box-sizing: border-box;
}

.qimeta_mission p {
    text-align: left;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ffffff;
}

		.qimeta_team {
			display: flex;
			flex-wrap: wrap;
			justify-content: center;
			align-items: center;
			margin-top: 30px;
		}

		.qimeta_team-image {
			border-radius: 50%;
			width: 150px;
			height: 150px;
			margin-right: 40px;
			margin-left: 40px;
			box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
		}

		.qimeta_team-description {
			max-width: 600px;
			text-align: center;
			color: black;
		}

		.qimeta_team-description h3 {
			margin-top: 0;
			margin-bottom: 0;
			font-size: 1.5em;
			/* color: #333; */
			color: white;
		}
		.qimeta_team-description h4 {
			margin-top: 0;
			font-size: 1.0em;
			/* color: #333; */
			color: white;
		}

		.qimeta_team-description p {
			font-size: 1em;
			/* color: #666; */
			color: white;
			line-height: 1.6;
			text-align: center;
		}


/*****/
		.case-study-highlight {
			position: static;
			margin-top: 30px;
			display: flex;
			justify-content: flex-start;
			width: auto;
		}
		.case-study-content {
			background: black; /*rgba(30, 35, 40, 0.93); */
			border-radius: 18px;
			box-shadow: 0 6px 30px rgba(0,0,0,0.12);
			max-width: 470px;
			width: 95%;
			padding: 24px 28px 20px 28px;
			text-align: center;
			border: 1px solid #4ec6c2;
			pointer-events: auto; /* Enable button/links inside */
		}
		@media (max-width: 768px) {
			.case-study-content {
				max-width: 100%;
				width: 100%;
				padding: 0 10px;
				box-sizing: border-box;
			}
		}
		.case-study-label {
			font-size: 0.95em;
			font-weight: 700;
			color: #4ec6c2;
			letter-spacing: 1px;
			margin-bottom: 3px;
		}
		.case-study-title {
			font-size: 1.25em;
			font-weight: 700;
			color: #fff;
			margin-bottom: 10px;
		}
		.case-study-summary {
			font-size: 1.08em;
			color: #e8eaea;
			line-height: 1.7;
		}
		.case-study-btn {
			display: inline-block;
			margin-top: 14px;
			padding: 8px 22px;
			background: #4ec6c2;
			color: #222;
			border-radius: 100px;
			font-weight: 700;
			text-decoration: none;
			font-size: 1em;
			box-shadow: 0 2px 10px rgba(0,0,0,0.11);
			transition: background 0.18s;
		}
		.case-study-btn:hover, .case-study-btn:focus {
			background: #31b8b3;
		}
		@media (max-width: 700px) {
			.case-study-content {
				padding: 15px 6vw 13px 6vw;
				max-width: 98vw;
				font-size: 0.98em;
			}
			.case-study-highlight {
				bottom: 10px;
			}
		}
@media (max-width: 768px) {
  .case-study-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .case-study-summary a {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: auto;
  }
}



	/* featured-deployments */
#featured-deployments {
  position: relative;
  background: black;
  padding: 60px 20px;
  overflow: hidden;
  min-height: unset;
}

@media (max-width: 768px) {
  #featured-deployments {
    padding: 20px 10px;
  }
}
.featured-video-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.featured-video-container iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.featured-video-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 20px;
}

#play-featured-video {
  position: relative;
  display: inline-block;
  background-image: url("/static/assets/capital_health_grad_bg_compressed.4eebc6c59ca8.jpg");
  background-size: cover;
  background-position: center;
  border: none;
  border-radius: 12px;
  padding: 40px 80px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



#play-featured-video:hover {
  background: #31b8b3;
}


/* Overlay styles */
#featured-video-iframe-container {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden;
}


#featured-video-iframe-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  justify-content: center; /* center horizontally */
  align-items: flex-start; /* stick to the top */
  padding-top: 20px; /* space from top edge */
  pointer-events: none;
  box-sizing: border-box;
}

.video-overlay button {
  pointer-events: auto;
  background: #4ec6c2;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.video-overlay button:hover {
  background: #31b8b3;
}
.play-btn, .close-btn {
  background: #4ec6c2;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
}

.play-btn:hover, .close-btn:hover {
  background: #31b8b3;
}


.case-study-cards {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 20px;
}


/* Transparent Card Background */
.case-study-card {
  background: transparent;
  color: #ffffff;
  border: none;
  backdrop-filter: blur(4px);
  padding: 20px;
  border-radius: 8px;
}

.case-study-card:hover {
  transform: translateY(-5px);
}

.case-study-label {
  color: #4ec6c2;
  font-weight: bold;
  margin-bottom: 8px;
}

.case-study-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.case-study-summary {
  font-size: 1rem;
  line-height: 1.5;
}

.case-study-btn, .case-study-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #4ec6c2;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.case-study-btn:hover, .case-study-download-btn:hover {
  background: #31b8b3;
}


@media (max-width: 768px) {
  .case-study-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .case-study-card {
    padding: 16px;
  }
}

@media (max-width: 768px) {
  .qimeta-feature-card {
    margin-left: 20px;
    margin-right: 20px;
    width: auto;
  }
  .demo-article-card {
    margin-left: 20px;
    margin-right: 20px;
    width: auto;
  }
  .qimeta_products {
    margin-left: 20px;
    margin-right: 20px;
    width: auto;
  }
}
@media (max-width: 768px) {
  .intro-heading {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}
.intro-content h3 {
  margin-top: 50px;
  margin-bottom: 50px;
}


/* === Prevent navbar from covering app content === */
:root {
  --app-navbar-height: 72px; /* adjust to your actual navbar height (56–80px typical) */
}

/* Push the main app container below the navbar */
body .main-content {
  padding-top: var(--app-navbar-height);
}

/* When jumping to headings (or focusing elements), keep them visible below the navbar */
.fs-headline1,
#content,
#mainbar {
  scroll-margin-top: calc(var(--app-navbar-height) + 8px);
}

/* If any page sets header/navbar to absolute/fixed, ensure it layers above content */
header .navbar {
  z-index: 1040;
}

/* ===== ConceptCanvas CTA (below Ocean Acidification block) ===== */
/* ConceptCanvas single-card tweaks */
.conceptcanvas-card .demo-article-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.conceptcanvas-card .conceptcanvas-cta-btn {
  margin-top: 10px;
}
/* ===== END ConceptCanvas CTA (below Ocean Acidification block) ===== */

