/* ==========================================================================
   FLYING MONKEYS STUDIO - CASE STUDY STYLESHEET
   Matching https://www.flyingmonkeysstudio.com Aesthetics & Variables
   ========================================================================== */

:root {
  --bg-dark: #000;
  --bg-blue: #03567d;
  --bg-card: #2f2f2f;
  --bg-card-hover: #334155;
  --accent-green: #84cc16;
	--main-blue: #047CB4;
  --accent-blue: #2fbafa;
    --title-blue: #63caf9;
  --text-main: #f8fafc;
  --text-muted: #bcbcbc;
  --text-dim: #64748b;
  --border-color: #334155;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-width: 1140px;
}

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

body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #7dd3fc;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- HEADER & NAVIGATION --- */
.site-header {
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
}

.brand-title {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

.main-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-main);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 10px 0;
  min-width: 170px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.dropdown:hover .dropdown-menu {
  display: flex;
  flex-direction: column;
}

.dropdown-menu a {
  padding: 8px 16px;
}

/* --- HERO SECTION --- */
.hero-section {
  padding: 20px 0 60px;
  background-color: var(--bg-dark);
  color: var(--text-main);
}

.breadcrumb {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  background-color: transparent;
  padding: 0;
  font-weight: 500;
  letter-spacing: 0.05rem;
}

.breadcrumb a:hover {
  color: var(--main-blue);
}

.breadcrumb a {
  color: var(--text-muted);
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 820px;
  margin-bottom: 40px;
  line-height: 1.4;
}

/* Meta Grid */
.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  background: var(--bg-card);
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.meta-item h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-blue);
  margin-bottom: 4px;
}

.meta-item p {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}

/* --- MAIN CONTENT & LAYOUTS --- */
.main-content {
  padding: 20px 0;
  background-color: var(--main-blue);
  color: var(--text-main);
}

.content-block {
  margin-bottom: 40px;
}

.block-header {
  margin-bottom: 24px;
}

.section-tag {
  font-size: 0.9rem;
  color: var(--title-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 8px;
}

.block-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0 0 18px;
}

.section-intro {
  font-size: 1.05rem;
  margin-bottom: 24px;
  font-weight: 500;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.style-top-gap {
  margin-top: 24px;
}

.card {
  background: var(--bg-card);
  padding: 28px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  border-color: var(--bg-card-hover);
}

.card h3 {
  font-size: 1.25rem;
  margin: 12px 0;
  color: var(--text-main);
}

.card p {
  color: var(--text-main);
  font-size: 0.95rem;
}

/* Styled Lists */
.styled-list {
  margin-top: 12px;
  padding-left: 20px;
  color: var(--text-muted);
}

.styled-list li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* Insights Cards */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.insight-card {
  background: var(--bg-card);
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.insight-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 8px;
}

.insight-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.insight-card p {
  font-size: 0.9rem;
  color: var(--text-main);
}

/* Metric Cards */
.metric-card {
  background: var(--bg-card);
  padding: 32px 24px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.metric-val {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 8px;
  line-height: 1;
}

.metric-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --- FOOTER --- */
.site-footer {
  background-color: #0b1120;
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  text-align: center;
}

.footer-container p {
  color: var(--text-dim);
  font-size: 0.875rem;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 900px) {
  .grid-3col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .grid-2col {
    grid-template-columns: 1fr;
  }
  .header-container {
    flex-direction: column;
    gap: 16px;
  }
}






.hero-title {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 950px;
}
  
  .hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  font-weight: 400;
}

.media-box {
  width: 100%;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
}

.project-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
}

.meta-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid #7b7b7b;
  padding-right: 20px;
}

.media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meta-item h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.meta-item p {
  font-size: 1rem;
  font-weight: 600;
}

.overview-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.overview-content p {
	font-size: 1rem;
	color: var(--text-main);
	margin-bottom: 20px;
	line-height: 1.5;
	font-weight: 400;
}

.services-tags ul {
  list-style: none; /* Removes standard bullet dots */
  padding-left: 0;   /* Removes default list indentation */
}

.services-tags li {
  position: relative;
  padding-left: 1.5rem; /* Creates space for the arrow */
  margin-top: 0.7rem; /* Adds spacing between items */
  font-weight: 400;
}

.services-tags li::before {
  content: "➤"; /* Solid right-pointing arrow symbol */
  position: absolute;
  left: 0;
  color: var(--text-muted); /* Adjust color as needed */
  font-size: 0.9em;
}

.research-layout {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 64px;
}

.research-content {
    flex: 1;
}

.research-image {
    flex: 0 0 40%;
}

.research-image img {
    width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

.research-list {
    list-style: disc;
    padding-left: 32px;
    margin-top: 24px;
}

.research-list li {
    margin-bottom: 16px;
    line-height: 1.5;
}

.research-list strong {
    font-weight: 600;
}

@media (max-width: 900px) {
    .research-layout {
        flex-direction: column;
        gap: 32px;
    }

    .research-image {
        width: 100%;
    }
}

hr {
  border-top: 1px solid var(--text-muted);
  margin-bottom: 30px;
  
/* =========================================================
   CASE STUDY RESPONSIVE LAYOUT
   ========================================================= */

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.hero {
	width: 100%;
}

.hero-title {
	font-size: clamp(2.2rem, 5vw, 4.2rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
	margin-bottom: 24px;
	max-width: 950px;
}

.hero-subtitle {
	font-size: 1.25rem;
	color: var(--text-muted);
	max-width: 700px;
	font-weight: 400;
	line-height: 1.4;
}


/* ---------------------------------------------------------
   HERO IMAGE
   --------------------------------------------------------- */

.media-box {
	width: 100%;
	border-radius: 12px;
	display: block;
	overflow: hidden;
	margin-bottom: 60px;
}

.media-box img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}


/* ---------------------------------------------------------
   PROJECT OVERVIEW
   --------------------------------------------------------- */

.project-grid {
	display: grid;
	grid-template-columns: 340px minmax(0, 1fr);
	gap: 40px;
	align-items: start;
	width: 100%;
}

.meta-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	border-right: 1px solid #7b7b7b;
	padding-right: 20px;
	min-width: 0;
}

.overview-content {
	min-width: 0;
}

.meta-item h4 {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-muted);
	margin-bottom: 6px;
}

.meta-item p {
	font-size: 1rem;
	font-weight: 600;
}

.overview-content h2 {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 20px;
	letter-spacing: -0.02em;
}

.overview-content p {
	font-size: 1rem;
	color: var(--text-muted);
	margin-bottom: 20px;
	line-height: 1.5;
	font-weight: 400;


/* ---------------------------------------------------------
   RESPONSIBILITIES
   --------------------------------------------------------- */

.services-tags ul {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.services-tags li {
	position: relative;
	padding-left: 1.5rem;
	margin-top: 0.7rem;
	font-weight: 400;
	line-height: 1.5;
}

.services-tags li::before {
	content: "➤";
	position: absolute;
	left: 0;
	color: var(--text-muted);
	font-size: 0.9em;
}


/* ---------------------------------------------------------
   METRICS
   --------------------------------------------------------- */

.grid-3col {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
	margin-top: 40px;
}

.metric-card {
	min-width: 0;
	background: var(--bg-card);
	padding: 32px 24px;
	border-radius: 8px;
	border: 1px solid var(--border-color);
	text-align: center;
}

.metric-val {
	font-size: 3rem;
	font-weight: 700;
	color: var(--accent-blue);
	margin-bottom: 8px;
	line-height: 1;
}

.metric-card p {
	font-size: 0.95rem;
	color: var(--text-muted);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

	.hero-title {
		font-size: clamp(2.4rem, 6vw, 3.8rem);
	}

	.hero-subtitle {
		font-size: 1.15rem;
		max-width: 760px;
	}

	.project-grid {
		grid-template-columns: 280px minmax(0, 1fr);
		gap: 32px;
	}

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

	.grid-3col .metric-card:last-child {
		grid-column: 1 / -1;
	}
}


/* =========================================================
   TABLET / SMALL LAPTOP
   ========================================================= */

@media (max-width: 900px) {

	.project-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.meta-list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 25px 40px;

		/* Remove vertical divider when stacked */
		border-right: none;
		border-bottom: 1px solid #7b7b7b;
		padding-right: 0;
		padding-bottom: 30px;
	}

	.meta-item:last-child {
		grid-column: 1 / -1;
	}
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

	/* ---------------------------------------------
	   Container
	   --------------------------------------------- */

	.hero-section .container {
		width: 100%;
		max-width: 100%;
		padding-left: 20px;
		padding-right: 20px;
	}


	/* ---------------------------------------------
	   Breadcrumb
	   --------------------------------------------- */

	.breadcrumb {
		width: 100%;
		margin-bottom: 20px;
		overflow: hidden;
	}

	.breadcrumb p {
		font-size: 12px;
		line-height: 1.5;
		white-space: normal;
	}


	/* ---------------------------------------------
	   Hero
	   --------------------------------------------- */

	.hero {
		width: 100%;
		margin-bottom: 30px;
	}

	.hero-title {
		font-size: clamp(2rem, 8vw, 3rem);
		line-height: 1.08;
		letter-spacing: -0.02em;
		margin-bottom: 18px;
	}

	.hero-subtitle {
		font-size: 1rem;
		line-height: 1.6;
		margin-bottom: 30px;
	}


	/* ---------------------------------------------
	   Hero Image
	   --------------------------------------------- */

	.media-box {
		width: 100%;
		margin-bottom: 40px;
		border-radius: 10px;
	}

	.media-box img {
		width: 100%;
		height: auto;
		display: block;
		object-fit: contain;
	}


	/* ---------------------------------------------
	   Project Grid
	   --------------------------------------------- */

	.project-grid {
		display: flex;
		flex-direction: column;
		width: 100%;
		gap: 35px;
	}


	/* ---------------------------------------------
	   Metadata
	   --------------------------------------------- */

	.meta-list {
		display: flex;
		flex-direction: column;
		width: 100%;
		gap: 24px;

		border-right: none;
		border-bottom: 1px solid #7b7b7b;

		padding-right: 0;
		padding-bottom: 30px;
	}

	.meta-item {
		width: 100%;
	}

	.meta-item:last-child {
		grid-column: auto;
	}

	.meta-item h4 {
		font-size: 0.75rem;
		margin-bottom: 5px;
	}

	.meta-item p {
		font-size: 0.95rem;
	}


	/* ---------------------------------------------
	   Responsibilities
	   --------------------------------------------- */

	.services-tags ul {
		padding-left: 0;
	}

	.services-tags li {
		font-size: 15px;
		line-height: 1.55;
		margin-top: 0.65rem;
		padding-left: 1.4rem;
	}


	/* ---------------------------------------------
	   Overview
	   --------------------------------------------- */

	.overview-content {
		width: 100%;
	}

	.overview-content h2 {
		font-size: clamp(1.75rem, 7vw, 2.35rem);
		line-height: 1.2;
		margin-bottom: 18px;
	}

	.overview-content p {
		font-size: 16px;
		line-height: 1.6;
		margin-bottom: 18px;
	}


	/* ---------------------------------------------
	   Metrics
	   --------------------------------------------- */

	.grid-3col {
		grid-template-columns: 1fr;
		gap: 15px;
		margin-top: 30px !important;
	}

	.grid-3col .metric-card {
		width: 100%;
		grid-column: auto;
	}

	.metric-card {
		padding: 24px 20px;
	}

	.metric-val {
		font-size: 2.5rem;
	}

	.metric-card p {
		font-size: 0.9rem;
		line-height: 1.55;
	}

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

	.hero-section .container {
		padding-left: 16px;
		padding-right: 16px;
	}

	.hero-title {
		font-size: 2rem;
		line-height: 1.08;
	}

	.hero-subtitle {
		font-size: 0.95rem;
		line-height: 1.55;
	}

	.media-box {
		margin-bottom: 32px;
		border-radius: 8px;
	}

	.project-grid {
		gap: 30px;
	}

	.meta-list {
		gap: 20px;
		padding-bottom: 25px;
	}

	.overview-content h2 {
		font-size: 1.7rem;
	}

	.overview-content p {
		font-size: 15px;
		line-height: 1.6;
	}

	.metric-card {
		padding: 22px 18px;
	}

	.metric-val {
		font-size: 2.25rem;
	}

	.metric-card p {
		font-size: 14px;
	}
}