/* ==========================================================================
   IMECA — Pixel-perfect clone styles
   ========================================================================== */

:root {
  --color-accent: #1db4c1;
  --color-accent-hover: #17a0ab;
  --color-text: #444444;
  --color-text-dark: #000000;
  --color-white: #ffffff;
  --color-footer: #353d4c;
  --color-border: #eaeaea;
  --color-muted: #aaaaaa;
  --gradient-btn: linear-gradient(200deg, #39e5d4, #8224e3);
  --font-primary: "Work Sans", sans-serif;
  --font-body: "Roboto", sans-serif;
  --font-alt: "Open Sans", sans-serif;
  --container: 1068px;
  --container-wide: 1400px;
  --container-full: 1600px;
  --header-height: 76px;
  --transition: 0.3s ease-in-out;
  --shadow-header: 0 4px 10px rgba(0, 0, 0, 0.06);
  --shadow-dropdown: 0 4px 16px rgba(22, 35, 58, 0.1);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.1);
  --shadow-card-hover: 0 2px 26px rgba(0, 0, 0, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.4;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  padding: 8px 16px;
  background: var(--color-accent);
  color: var(--color-white);
  z-index: 10000;
}

.skip-link:focus {
  top: 0;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.container--wide {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 20px;
}

.container--full {
  width: 100%;
  max-width: var(--container-full);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: relative;
  z-index: 1000;
  background: var(--color-white);
  transition: transform var(--transition), box-shadow var(--transition);
}

.site-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: var(--shadow-header);
  animation: slideDown 0.3s ease-in-out;
}

.site-header.is-hidden {
  transform: translateY(-120%);
}

@keyframes slideDown {
  from {
    transform: translateY(-120%);
  }
  to {
    transform: translateY(0);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: var(--header-height);
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 0;
}
.header-menu-btn,
.header-search-mobile {
  display: none;
}

.site-logo {
  display: inline-flex;
  align-items: baseline;
  flex: 0 0 auto;
  margin-right: auto;
}

.site-logo__title {
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  color: var(--color-text);
  letter-spacing: 0;
}

.site-logo__tagline {
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  color: var(--color-text);
  margin-left: 6px;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  margin-right: 20px;
}

.main-nav__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav__list > li {
  position: relative;
  margin-right: 25px;
}

.main-nav__list > li:last-child {
  margin-right: 0;
}

.main-nav__list > li > a {
  display: block;
  padding: 0 5px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text);
}

.main-nav__list > li > a:hover,
.main-nav__list > li > a.is-active {
  color: var(--color-accent);
}

.has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: -25px;
  min-width: 280px;
  padding: 20px 0;
  background: var(--color-white);
  box-shadow: var(--shadow-dropdown);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 100;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 5px 25px;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text);
  white-space: nowrap;
}

.dropdown li a:hover {
  color: var(--color-accent);
}

/* Search */
.header-search {
  position: relative;
  flex-shrink: 0;
}

.header-search-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

.header-search-toggle:hover,
.header-search-toggle[aria-expanded="true"] {
  color: var(--color-accent);
}

.header-search-toggle__icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.header-search__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(900px, 90vw);
  padding: 25px;
  background: var(--color-white);
  box-shadow: 0 4px 20px rgba(22, 35, 58, 0.1);
  border-radius: 0;
  z-index: 200;
}

.header-search__dropdown[hidden] {
  display: none;
}

.header-search__form {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.header-search__input {
  flex: 1;
  padding: 6px 10px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  border: none;
  outline: none;
}

.header-search__input::placeholder {
  color: var(--color-muted);
  font-weight: 700;
  opacity: 0.4;
}

.header-search__submit {
  padding: 5px 18px 6px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-accent);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.header-search__submit:hover {
  background: var(--color-text);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-white);
  transform: translateX(-100%);
  transition: transform var(--transition);
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  justify-content: flex-end;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu__close svg {
  width: 24px;
  height: 24px;
  fill: var(--color-text);
}

.mobile-menu__nav ul {
  padding: 10px 0;
}

.mobile-menu__nav > ul > li > a {
  display: block;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu__nav a.is-active,
.mobile-menu__nav a:hover {
  color: var(--color-accent);
}

.mobile-menu .submenu {
  display: none;
  background: #f8f8f8;
}

.mobile-menu .submenu.is-open {
  display: block;
}

.mobile-menu .submenu a {
  padding: 10px 20px 10px 36px;
  font-size: 14px;
  font-weight: 400;
  display: block;
}

.has-submenu {
  position: relative;
}

.submenu-toggle {
  position: absolute;
  right: 0;
  top: 0;
  width: 48px;
  height: 48px;
}

.submenu-toggle::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: auto;
  border-right: 2px solid var(--color-text);
  border-bottom: 2px solid var(--color-text);
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

.submenu-toggle[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

body.menu-open {
  overflow: hidden;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn--outline-white {
  padding: 15px 28px;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  border-radius: 100px;
  background: transparent;
}

.btn--outline-white:hover {
  color: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--gradient {
  padding: 15px 28px;
  color: var(--color-white);
  background: var(--gradient-btn);
  border-radius: 100px;
  text-transform: uppercase;
  font-weight: 500;
}

.btn--gradient:hover {
  opacity: 0.9;
}

.btn--card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-white);
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  pointer-events: all;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover .btn--card {
  opacity: 1;
  transform: translateY(0);
}

.btn--card:hover {
  box-shadow: var(--shadow-card-hover);
}

.btn__icon {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background: #000000;
  box-shadow: 0 0 12px #888888;
  padding-top: 50px;
  position: relative;
}

.hero__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.hero__image-col {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

.hero__image {
  height: 400px;
  background: url("../assets/images/hero.png") no-repeat center top;
  background-size: cover;
  border-radius: 4px;
}

.hero__content-col {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px 123px;
}

.hero__eyebrow {
  font-size: 27px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-white);
  margin-bottom: 0;
  font-family: var(--font-primary);
}

.hero__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
  margin: 10px 0;
  font-family: var(--font-primary);
}

.hero__text {
  font-size: 18px;
  line-height: 1.8;
  font-style: italic;
  color: var(--color-white);
  max-width: 550px;
  margin-bottom: 60px;
}

/* ==========================================================================
   Section separators & titles
   ========================================================================== */

.section-separator {
  height: 20px;
  overflow: hidden;
  margin-bottom: 38px;
  position: relative;
}

.section-separator::before {
  content: "";
  display: block;
  width: 80%;
  max-width: 800px;
  height: 1px;
  margin: 0 auto;
  border-top: 1px solid #ebebeb;
  box-shadow: 0 10px 10px 10px rgba(0, 0, 0, 0.1);
}

.section-separator--light::before {
  width: 90%;
  box-shadow: 0 10px 10px 10px rgba(0, 0, 0, 0.2);
}

.section {
  padding: 0;
}

.section-title {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 0;
}

.section-title--dark {
  color: var(--color-text-dark);
}

/* ==========================================================================
   Our Approach
   ========================================================================== */

.section--approach {
  padding: 70px 0;
}

.section--approach .section-title {
  margin-bottom: 25px;
  font-family: var(--font-primary);
}

.section--approach .section-separator--light {
  margin-bottom: 15px;
}

.approach-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

.approach-text {
  font-size: 22px;
  line-height: 1.8;
  color: var(--color-text-dark);
  max-width: 100%;
  margin-bottom: 40px;
  font-family: var(--font-alt);
}
.approach-row .btn--gradient{
  margin: auto;
}
/* ==========================================================================
   Objectives
   ========================================================================== */

.section--objectives {
  margin-bottom: 100px;
}

.section--objectives .section-separator--light {
  margin-bottom: -20px;
}

.objectives-list {
  margin-top: 40px;
}

.objectives-list li {
  font-size: 22px;
  line-height: 1.2;
  color: var(--color-text-dark);
  margin-bottom: 40px;
  text-align: left;
  font-family: var(--font-alt);
}

.objectives-list li:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Work cards
   ========================================================================== */

.section--work {
  margin-bottom: 0;
}

.section--work .section-title {
  margin-bottom: 20px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 80px;
}

.work-card {
  position: relative;
}

.work-card__media {
  position: relative;
  overflow: hidden;
}

.work-card__borders {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
}

.work-card__border {
  flex: 1;
  height: 4px;
}

.work-card__border--0 {
  background: var(--color-accent);
  opacity: 0.8;
}

.work-card__border--1 {
  background: #39e5d4;
  opacity: 0.6;
}

.work-card__border--2 {
  background: #8224e3;
  opacity: 0.4;
}

.work-card__image {
  display: block;
  height: 220px;
  background: #333333 center/cover no-repeat;
  position: relative;
}

.work-card__image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  transition: background var(--transition);
}

.work-card:hover .work-card__image::before {
  background: rgba(0, 0, 0, 0.7);
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  padding: 6% 7%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--color-white);
  pointer-events: none;
  z-index: 2;
}

.work-card__title {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 0;
  position: absolute;
  top: 25px;
}

.work-card__meta {
  position: relative;
  margin-top: 15px;
  margin-right: 30px;
  transition: transform 0.3s ease;
  position: absolute;
  bottom: 0;
}

.work-card:hover .work-card__meta {
  transform: translateY(-24px);
}

.work-card__meta p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  color: var(--color-white);
  margin-bottom: 0;
}
.work-card__meta .btn--card{
  padding: 10px 24px;
  margin-top: 10px;
  font-size: 13px;
    line-height: 39px;
    height: 41px;
    padding: 0 24px;
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    position: relative;
    pointer-events: auto !important;
}
/* ==========================================================================
   Knowledge Partner
   ========================================================================== */

.section--knowledge {
  margin-bottom: 60px;
}

.section--knowledge .section-title {
  margin-bottom: 25px;
}

.knowledge-content {
  padding: 70px 0;
  text-align: center;
  position: relative;
}

.knowledge-content::before {
  content: "";
 
  inset: 0;
 
  pointer-events: none;
}

.knowledge-text {
  font-size: 22px;
  line-height: 1.8;
  color: var(--color-text-dark);
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: left;
  position: relative;
  font-family: var(--font-alt);
}

.section--knowledge .btn--gradient {
  position: relative;
  margin-top: -122px;
  display: inline-block;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-footer);
  padding: 16px 0;
}

.site-footer__copy {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* ==========================================================================
   Responsive — Landscape (1019–1140px)
   ========================================================================== */

@media (min-width: 1019px) and (max-width: 1140px) {
  .site-logo__title,
  .site-logo__tagline {
    font-size: 25px;
  }

  .main-nav__list > li {
    margin-right: 15px;
  }

  .section-title {
    font-size: 42px;
  }

  .hero__eyebrow {
    font-size: 20px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__text {
    font-size: 14px;
    margin-bottom: 40px;
  }

  .approach-text,
  .objectives-list li,
  .knowledge-text {
    font-size: 14px;
  }

  .approach-text {
    padding-right: 0;
  }

  .objectives-list li {
    padding-right: 0;
  }

  .section--objectives {
    margin-bottom: 80px;
  }

  .work-grid {
    margin-bottom: 60px;
  }

  .knowledge-content {
    padding: 70px 0 50px;
  }

  .knowledge-text {
    padding: 0;
  }
}

/* ==========================================================================
   Responsive — Portrait / Tablet (768–1018px)
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1018px) {
  .site-logo__title,
  .site-logo__tagline {
    font-size: 20px;
  }

  .main-nav__list > li {
    margin-right: 12px;
  }

  .main-nav__list > li > a {
    font-size: 13px;
  }

  .section-title {
    font-size: 36px;
  }

  .hero__eyebrow {
    font-size: 18px;
  }

  .hero__title {
    font-size: 30px;
  }

  .hero__text {
    font-size: 14px;
    margin-bottom: 30px;
    max-width: 350px;
  }

  .hero__content-col {
    padding-bottom: 80px;
  }

  .approach-text,
  .objectives-list li,
  .knowledge-text {
    font-size: 13px;
  }

  .approach-text,
  .objectives-list li {
    padding-right: 0;
  }

  .section--approach {
    margin-bottom: 30px;
  }

  .section--objectives {
    margin-bottom: 60px;
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 40px;
  }

  .knowledge-content {
    padding: 50px 0 40px;
  }

  .header-inner {
    padding-top: 16px;
    padding-bottom: 16px;
  }
}

/* ==========================================================================
   Responsive — Mobile (max 767px)
   ========================================================================== */

@media (max-width: 767px) {
  .header-menu-btn,
  .header-search-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 33.333%;
  }

  .header-menu-btn svg,
  .header-search-mobile svg {
    width: 24px;
    height: 24px;
    fill: var(--color-text);
  }

  .site-logo {
    flex: 0 0 33.333%;
    justify-content: center;
    margin-right: 0;
  }

  .main-nav,
  .header-search {
    display: none;
  }

  .header-inner {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .hero {
    padding-top: 50px;
  }

  .hero__inner {
    flex-direction: column-reverse;
    text-align: center;
    justify-content: center;
  }
  
  .hero__image-col,
  .hero__content-col {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .hero__content-col {
    margin-bottom: 30px;
    padding-bottom: 40px;
  }

  .hero__eyebrow {
    font-size: 22px;
  }

  .hero__title {
    font-size: 32px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__text {
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
  }

  .hero__image {
    height: 280px;
    margin: 0 -20px;
    border-radius: 0;
  }

  .section-title {
    font-size: 36px;
  }

  .section--approach .section-separator--light,
  .section--objectives .section-separator--light {
    margin-bottom: 20px;
  }

  .approach-text,
  .objectives-list li,
  .knowledge-text {
    font-size: 14px;
    text-align: center;
    padding-right: 0;
  }

  .approach-row {
    align-items: center;
    text-align: center;
  }

  .objectives-list li {
    text-align: center;
    margin-bottom: 30px;
  }

  .section--objectives {
    margin-bottom: 60px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 2px;
    margin-bottom: 40px;
  }

  .work-card__overlay {
    padding: 20px;
  }

  .work-card__meta {
    margin-right: 0;
  }

  .work-card:hover .work-card__meta {
    transform: translateY(-65px);
  }

  .work-card__meta p {
    font-size: 14px;
    line-height: 20px;
  }

  .btn--card {
    opacity: 1;
    transform: none;
  }

  .knowledge-content {
    padding: 50px 0 60px;
  }

  .knowledge-text {
    text-align: center;
    padding: 0;
  }

  .section--knowledge .btn--gradient {
    margin-top: 22px;
  }

  .site-footer {
    padding: 10px 0;
  }

  .site-footer__copy {
    font-size: 13px;
  }
}