/* 
 * DENTSU WEBSITE CLONE - PIXEL-PERFECT STYLESHEET
 * Recreated to match Dentsu.com 99.999% in typography, layouts, colors, and drawer menus
 */

@import url('https://use.typekit.net/dhn3oyh.css');

/* --- GLOBAL SCALING (dentsu.com uses 62.5% html base) --- */
html {
  font-size: 62.5%; /* 1rem = 10px */
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  height: 100%;
}

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

body {
  font-family: Halcom-Regular, Arial, sans-serif;
  font-size: 1.6rem; /* 16px */
  line-height: 1.5;
  color: #000014; /* Dentsu Corporate Navy/Black */
  background-color: #ffffff;
  overflow-x: hidden;
  position: relative;
  min-height: 100%;
}

@media(min-width: 90em) {
  body {
    font-size: 1.8rem; /* 18px */
  }
}

a {
  text-decoration: none;
  color: #262626;
  transition: all 0.25s ease-in-out;
}

a:hover {
  text-decoration: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  outline: none;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- HEADINGS (matching dentsu specifications) --- */
h1, h2, h3, h4 {
  font-family: Halcom-Bold, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.2;
  color: inherit;
}

h1 {
  font-size: 4.8rem;
}

@media(min-width: 62em) {
  h1 {
    font-size: 6.4rem;
    line-height: 7rem;
  }
}

h2 {
  font-size: 2.4rem;
  font-family: Halcom-Regular, Arial, sans-serif;
}

@media(min-width: 47.99em) {
  h2 {
    font-size: 3.6rem;
  }
}

h3 {
  font-size: 2rem;
  line-height: 3.2rem;
  font-family: Halcom-Regular, Arial, sans-serif;
}

@media(min-width: 47.99em) {
  h3 {
    font-size: 2.4rem;
  }
}

/* --- CONTAINERS & BORDERS --- */
.l-full-width-container {
  width: 100%;
}

.l-centered-content-container {
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

@media(min-width: 47.99em) {
  .l-centered-content-container {
    padding: 0;
    max-width: 90%;
  }
}

@media(min-width: 90em) {
  .l-centered-content-container {
    max-width: 1180px;
  }
}

/* --- DENTSU EXACT BUTTONS (cta-btn) --- */
.cta-btn {
  display: inline-block;
  line-height: 1.4;
  background-color: #000014;
  padding: 10px 20px;
  font-family: Halcom-Medium, Arial, sans-serif;
  font-size: 1.6rem;
  text-decoration: none;
  text-align: center;
  color: #fff;
  transition: background-color 0.25s ease-in-out;
  border-radius: 0;
}

.cta-btn:hover {
  cursor: pointer;
  background-color: rgba(38, 38, 38, 0.5);
}

.cta-btn.m-arrow {
  text-align: left;
  max-width: 280px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

@media(min-width: 47.99em) {
  .cta-btn.m-arrow {
    max-width: 300px;
  }
}

.cta-btn.m-arrow .svg-icon {
  flex: 0 0 auto;
  margin-left: 10px;
  height: 16px;
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

.cta-btn.m-white {
  background-color: #ffffff;
  color: #262626;
}

.cta-btn.m-white:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* --- EXACT DENTSU HEADER & SLIDE NAVIGATION --- */
.header-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 99999;
  transition: all 0.3s ease-in-out;
}

.header {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  min-height: 70px;
  transition: all 0.3s ease-in-out;
}

@media(min-width: 47.99em) {
  .header {
    min-height: 100px;
  }
}

@media(min-width: 62em) {
  .header {
    min-height: 120px;
  }
}

/* Header state inside scrolling menu drawer */
.header.m-active {
  background: transparent;
  position: relative;
  z-index: 1010;
}

/* Header Black (Used on subpages or scrolled pages) */
.header-container.m-black {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-container.m-black .header {
  min-height: 70px;
}

.header-container.m-black .header-global-nav-trigger,
.header-container.m-black .header-primary-nav-trigger {
  color: #000014;
}

.header-container.m-black .header-primary-nav-hamburger span {
  background-color: #000014;
}

.header-container.m-black .header-logo-container img {
  filter: none; /* Keep original black version */
}

/* Header Active (When menu is opened) */
.header-container.m-menu-active {
  position: fixed;
  background-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.header-container.m-menu-active .header-global-nav-trigger,
.header-container.m-menu-active .header-primary-nav-trigger {
  color: #ffffff !important;
}

.header-container.m-menu-active .header-primary-nav-hamburger span {
  background-color: #ffffff !important;
}

/* Logo container styling */
.header-logo-container {
  flex: 0 0 auto;
  position: relative;
  z-index: 1010;
  display: flex;
  align-items: center;
}

.header-logo-container img {
  width: auto;
  max-width: 82px;
  height: auto;
  transition: all 0.3s ease-in-out;
}

@media(min-width: 47.99em) {
  .header-logo-container img {
    max-width: 130px;
  }
}

.header-logo-container.m-hide {
  display: none;
}

/* Global Nav select styling */
.header-global-nav-container {
  flex: 0 0 auto;
  margin-left: 20px;
}

@media(min-width: 62em) {
  .header-global-nav-container {
    margin-left: 32px;
  }
}

.header-global-nav-trigger {
  color: #ffffff;
  font-family: Halcom-Medium, Arial, sans-serif;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media(min-width: 47.99em) {
  .header-global-nav-trigger {
    font-size: 1.6rem;
  }
}

.header-global-nav-trigger .svg-icon {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 0.25s ease-in-out;
}

.header-global-nav-trigger.m-active .svg-icon {
  transform: rotate(180deg);
}

/* Primary Hamburger Nav Trigger */
.header-primary-nav-container {
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  z-index: 1010;
}

.header-primary-nav-trigger {
  display: flex;
  align-items: center;
  color: #ffffff;
  font-family: Halcom-Medium, Arial, sans-serif;
  font-size: 1.6rem;
}

@media(min-width: 47.99em) {
  .header-primary-nav-trigger {
    font-size: 1.8rem;
  }
}

.header-primary-nav-trigger span {
  margin-right: 15px;
}

.header-primary-nav-trigger .close-text {
  display: none;
}

.header-primary-nav-trigger.m-active .close-text {
  display: block;
}

.header-primary-nav-trigger.m-active .menu-text {
  display: none;
}

/* Hamburger lines styling (matching 4-spans dentsu design) */
.header-primary-nav-hamburger {
  position: relative;
  width: 24px;
  height: 20px;
}

.header-primary-nav-hamburger span {
  display: block;
  position: absolute;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: #ffffff;
  transition: all 0.25s ease-in-out;
}

.header-primary-nav-hamburger span:nth-child(1) { top: 0; }
.header-primary-nav-hamburger span:nth-child(2),
.header-primary-nav-hamburger span:nth-child(3) { top: 8px; }
.header-primary-nav-hamburger span:nth-child(4) { top: 16px; }

/* Micro-animations inside menu close active state */
.header-primary-nav-trigger.m-active .header-primary-nav-hamburger span:nth-child(1) {
  top: 8px; width: 0%; left: 50%;
}
.header-primary-nav-trigger.m-active .header-primary-nav-hamburger span:nth-child(2) {
  transform: rotate(45deg);
}
.header-primary-nav-trigger.m-active .header-primary-nav-hamburger span:nth-child(3) {
  transform: rotate(-45deg);
}
.header-primary-nav-trigger.m-active .header-primary-nav-hamburger span:nth-child(4) {
  top: 8px; width: 0%; left: 50%;
}

/* --- OVERLAY NAV CONTAINERS (Slide down) --- */
.slide-in-nav-container {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 1000;
  transform: translateY(-100vh);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  background-size: cover;
  background-position: center;
}

.slide-in-nav-container.m-active {
  transform: translateY(0);
}

/* Global Nav drawer background (Dentsu Blue) */
.global-nav-container {
  background-color: #2954df;
  padding: 140px 0 60px;
  color: #ffffff;
}

.global-nav-list-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.global-nav-heading {
  font-family: Halcom-Bold, Arial, sans-serif;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.global-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px 30px;
}

@media(max-width: 768px) {
  .global-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 480px) {
  .global-nav-grid {
    grid-template-columns: 1fr;
  }
}

.global-nav-link a {
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1.8;
}

.global-nav-link a:hover {
  opacity: 0.7;
}

.global-nav-link span {
  font-size: 1.4rem;
  opacity: 0.8;
}

/* Primary Nav drawer styling */
.primary-nav-container {
  background-color: #000014;
  background-image: url('https://www.dentsu.com/assets/images/menu-bg.jpg');
  padding: 160px 0 80px;
  color: #ffffff;
}

.primary-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 15px;
}

.primary-nav-link {
  width: 100%;
}

.primary-nav-link > a,
.primary-nav-link > button {
  color: #ffffff;
  font-size: clamp(2.4rem, 6vh, 5.2rem);
  font-family: Halcom-Bold, Arial, sans-serif;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.primary-nav-link > a:hover,
.primary-nav-link > button:hover {
  opacity: 0.6;
}

.primary-nav-link .svg-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 0.25s ease;
}

.primary-nav-link.m-active .svg-icon {
  transform: rotate(180deg);
}

/* Submenu details inside drawer */
.primary-sub-nav {
  height: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 20px;
  margin-top: 0;
}

.primary-nav-link.m-active .primary-sub-nav {
  height: auto;
  margin-top: 15px;
  margin-bottom: 15px;
}

.primary-sub-nav-link a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 2.2rem;
}

.primary-sub-nav-link a:hover {
  color: #ffffff;
}

/* --- DENTSU HOME BANNER CONTAINER --- */
.home-banner-container {
  height: 100vh;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.home-banner-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); /* Exact banner overlay */
  z-index: 1;
}

.home-banner-container .l-centered-content-container {
  position: relative;
  z-index: 5;
}

.home-banner-main-title {
  color: #ffffff;
  font-family: Halcom-Bold, Arial, sans-serif;
  font-size: clamp(14rem, 8vw, 20rem);
  line-height: 1.1;
  font-weight: 4000;
}

/* Down arrow button container */
.home-banner-arrow-container {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  cursor: pointer;
  animation: bounceArrow 2s infinite;
}

.home-banner-arrow-container .svg-icon {
  width: 32px;
  height: 32px;
  color: #ffffff;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}

.a11y-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- DENTSU HOME INTRO (Intro block) --- */
.home-intro-container {
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  color: #000014;
}

.home-intro-content {
  max-width: 820px;
}

.home-intro-title {
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  font-family: Halcom-Regular, Arial, sans-serif;
  line-height: 1.25;
  margin-bottom: 30px;
}

.home-intro-text p {
  font-size: 1.8rem;
  line-height: 1.7;
  color: #000014;
  font-weight: 300;
  margin-bottom: 30px;
}

.home-intro-text p strong {
  font-family: Halcom-Bold, Arial, sans-serif;
}

.home-intro-text a {
  font-family: Halcom-Bold, Arial, sans-serif;
  color: #000014;
  text-decoration: underline;
}

.home-intro-text a:hover {
  text-decoration: none;
}

/* --- OUR NETWORK BRAND GRID (Overlap blocks) --- */
.home-our-network-container {
  position: relative;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

@media(min-width: 62em) {
  .home-our-network-container {
    flex-direction: row;
    align-items: stretch;
  }
}

.home-our-network-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

@media(min-width: 62em) {
  .home-our-network-image {
    width: 50%;
    height: auto;
    min-height: 600px;
  }
}

.home-our-network-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-our-network-content {
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #ffffff;
}

@media(min-width: 62em) {
  .home-our-network-content {
    width: 50%;
    padding: 80px;
  }
}

.home-our-network-title {
  font-family: Halcom-Regular, Arial, sans-serif;
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  line-height: 1.2;
  margin-bottom: 25px;
}

.home-our-network-text p {
  font-size: 1.6rem;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 40px;
}

/* --- DENTSU STYLE QUOTES (quote-mod) --- */
.quote-mod-container {
  padding: 120px 0;
  background-color: #000014;
  color: #ffffff;
  text-align: center;
  position: relative;
  background-image: url('https://www.dentsu.com/assets/images/menu-bg.jpg');
  background-size: cover;
}

.quote-mod-text {
  max-width: 960px;
  margin: 0 auto;
}

.quote-mod-text blockquote {
  font-family: Halcom-Regular, Arial, sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.35;
  font-weight: 300;
  font-style: italic;
}

/* --- CASE STUDIES BLOCKS (cs-image-list) --- */
.cs-image-list-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 550px;
  list-style: none;
}

@media(max-width: 1024px) {
  .cs-image-list-blocks {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 768px) {
  .cs-image-list-blocks {
    grid-template-columns: 1fr;
    grid-auto-rows: 400px;
  }
}

.cs-image-list-block {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 40px;
}

.cs-image-list-block::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
  z-index: 2;
  transition: all 0.5s ease-in-out;
}

.cs-image-list-block-image {
  display: none; /* Controlled via background style */
}

.cs-image-list-block-link {
  color: #ffffff;
  font-family: Halcom-Bold, Arial, sans-serif;
  font-size: 2.4rem;
  line-height: 1.25;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  transform: translateY(15px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-image-list-block-link span {
  max-width: 80%;
}

.cs-image-list-block-link .svg-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  opacity: 0;
  transform: translateX(-15px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover scales inside image list */
.cs-image-list-block:hover::after {
  background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,0.95) 100%);
}

.cs-image-list-block:hover .cs-image-list-block-link {
  transform: translateY(0);
}

.cs-image-list-block:hover .cs-image-list-block-link .svg-icon {
  opacity: 1;
  transform: translateX(0);
}

/* CTA special block */
.cs-image-list-block.m-cta {
  background-color: #111124;
}

.cs-image-list-block.m-cta .cs-image-list-block-link {
  transform: none;
}

.cs-image-list-block.m-cta .cs-image-list-block-link .svg-icon {
  opacity: 1;
  transform: none;
}

.cs-image-list-block.m-cta:hover {
  background-color: #ff3c00;
}

/* --- MEET MERKURY FEATURED ARTICLE --- */
.featured-article-container {
  padding: 120px 0;
  background-color: #ffffff;
}

.featured-article-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media(max-width: 991px) {
  .featured-article-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.featured-article-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.featured-article-title {
  font-family: Halcom-Bold, Arial, sans-serif;
  font-size: clamp(3.2rem, 5vw, 5.6rem);
  line-height: 1.1;
  margin-bottom: 25px;
}

.featured-article-text p {
  font-size: 1.6rem;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 30px;
}

.featured-article-text p strong {
  font-family: Halcom-Bold, Arial, sans-serif;
  color: #000014;
}

.featured-article-image-container {
  position: relative;
  width: 100%;
  height: 480px;
}

.featured-article-image-front {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 80%;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.featured-article-image-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-article-image-back {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 60%;
  background-color: #000014;
  z-index: -1;
}

/* --- OUR INTEGRATED NETWORK LOGOS --- */
.our-network-brands-container {
  padding: 100px 0;
  background-color: #f5f5f7;
  text-align: center;
}

.our-network-brands-title {
  font-family: Halcom-Bold, Arial, sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888888;
  margin-bottom: 60px;
}

.our-network-brands {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px 80px;
  list-style: none;
}

.our-network-brand img {
  max-height: 45px;
  width: auto;
  opacity: 0.45;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.our-network-brand:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

/* --- DENTSU STYLE FOOTER --- */
.footer {
  background-color: #000014;
  background-image: url('https://www.dentsu.com/assets/images/footer-bg-desktop.jpg');
  background-size: cover;
  background-position: top center;
  color: #ffffff;
  padding: 100px 0 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 50px;
  margin-bottom: 80px;
}

@media(max-width: 1024px) {
  .footer-content-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(max-width: 768px) {
  .footer-content-container {
    grid-template-columns: 1fr;
  }
}

.footer-title {
  font-family: Halcom-Bold, Arial, sans-serif;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
}

.footer-title a {
  color: #ffffff;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
}

.footer-nav-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.5rem;
}

.footer-nav-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* China Wechat style popup */
.we-chat-hover {
  position: relative;
}

/* Legal & copyright footer bottom */
.footer-legal-margin {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.6);
}

.footer-legal a {
  color: rgba(255,255,255,0.6);
}

.footer-legal a:hover {
  color: #ffffff;
}

.footer-social-nav {
  display: flex;
  gap: 15px;
  list-style: none;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.25s ease;
}

.footer-social-link:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --- SUBPAGE HERO BANNER SPECIFICS --- */
.subpage-hero {
  padding-top: 160px;
  padding-bottom: 80px;
  background-color: #000014;
  color: #ffffff;
  background-image: url('https://www.dentsu.com/assets/images/menu-bg.jpg');
  background-size: cover;
}

.subpage-hero-title {
  font-family: Halcom-Bold, Arial, sans-serif;
  font-size: clamp(3.6rem, 6vw, 6.4rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.subpage-hero-desc {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 800px;
  font-weight: 300;
}

/* Capabilities list detailing */
.service-pillar-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  padding: 80px 0;
  border-bottom: 1px solid #eeeeee;
}

@media(max-width: 991px) {
  .service-pillar-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.pillar-info {
  position: sticky;
  top: 100px;
}

.pillar-num {
  font-family: Halcom-Bold, Arial, sans-serif;
  font-size: 2rem;
  color: #ff3c00;
  display: block;
  margin-bottom: 15px;
}

.pillar-name {
  font-family: Halcom-Bold, Arial, sans-serif;
  font-size: 3.6rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.pillar-desc {
  font-size: 1.6rem;
  color: #555555;
  line-height: 1.7;
}

.pillar-details-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.capability-card {
  background-color: #f5f5f7;
  padding: 40px;
  transition: all 0.3s ease-in-out;
}

.capability-card:hover {
  background-color: #ffffff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  transform: translateY(-5px);
}

.cap-title {
  font-family: Halcom-Bold, Arial, sans-serif;
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.cap-desc {
  font-size: 1.5rem;
  color: #666666;
  line-height: 1.65;
  font-weight: 300;
}

/* Portfolio Filters and grid */
.gallery-filter-bar {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.filter-btn {
  font-family: Halcom-Medium, Arial, sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 12px 30px;
  border: 1.5px solid #dddddd;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 0;
}

.filter-btn.active, .filter-btn:hover {
  background-color: #000014;
  border-color: #000014;
  color: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 40px;
}

@media(max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.gallery-item {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item.hidden {
  display: none;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  margin-bottom: 25px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.8) 100%);
  opacity: 0.8;
  transition: opacity 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 0.95;
}

.gallery-info-meta {
  font-family: Halcom-Bold, Arial, sans-serif;
  font-size: 1.2rem;
  color: #ff3c00;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}

.gallery-info-title {
  font-family: Halcom-Bold, Arial, sans-serif;
  font-size: 2.6rem;
  margin-bottom: 12px;
}

.gallery-info-desc {
  font-size: 1.5rem;
  color: #555555;
  line-height: 1.65;
  font-weight: 300;
}

/* Contact layout specs */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

@media(max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.contact-info-block h3 {
  font-family: Halcom-Bold, Arial, sans-serif;
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.contact-info-block p {
  font-size: 1.7rem;
  color: #555555;
  line-height: 1.65;
}

.contact-info-block a {
  color: #ff3c00;
}

.contact-form-wrapper {
  background-color: #f5f5f7;
  padding: 50px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media(max-width: 480px) {
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-group {
  position: relative;
  margin-bottom: 35px;
}

.form-control {
  width: 100%;
  padding: 12px 0;
  font-size: 1.6rem;
  border: none;
  border-bottom: 2px solid #cccccc;
  background: transparent;
  color: #000014;
  transition: border-color 0.25s ease;
  height: 48px;
}

.form-control:focus {
  border-bottom-color: #ff3c00;
}

.form-label {
  position: absolute;
  left: 0;
  top: 12px;
  font-size: 1.6rem;
  color: #888888;
  pointer-events: none;
  transition: all 0.2s ease;
}

/* Floating labels triggers */
.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
  top: -16px;
  font-size: 1.2rem;
  color: #ff3c00;
  font-family: Halcom-Bold, Arial, sans-serif;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
  padding-top: 12px;
}

.submit-btn {
  background-color: #000014;
  color: #ffffff;
  padding: 16px 40px;
  font-family: Halcom-Bold, Arial, sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  width: 100%;
  transition: all 0.2s ease;
}

.submit-btn:hover {
  background-color: #ff3c00;
}
