/*
Theme Name: TMG Custom Theme by Ecom Smartify
Author: Ecom Smartify
Description: Custom theme for TMG based on Custom Development
Version: 1.4
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

:root {
  /* neutrals */
  --color-bg-light: #F1F2F6;
  --color-bg-white: #fff;
  /* pale grey */
  --color-primary-dark: #00111c;
  /* very dark navy */
  --color-primary: #084F72;
  --color-primary-light: #90e0ef;
  /* deep teal */
  --color-accent: #14213d;
  /* bright yellow */
  --color-text-light: #FFFFFF;
  /* pure white */
  --gradient-start: #05304B;
    --gradient-end: #084F72;
}

/* Base page */
body {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  font-family: 'Montserrat', Helvetica Neue, sans-serif;
}

/* ————— Base Button ————— */
.btn {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  line-height: 1;
}

/* ————— Primary (solid) ————— */
.btn--primary {
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  padding: 0.75rem 2rem;
  /* 12px/32px */
  border-radius: 30px;
}

.btn--primary:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

/* ————— Outline (cards) ————— */
.btn--outline {
  background-color: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  padding: 0.5rem 1.5rem;
  /* 8px/24px */
  border-radius: 30px;
}

.btn--outline:hover {
  background-color: var(--color-accent);
  color: var(--color-bg-white);
}

a {
  color: #fff;
  text-decoration: none;
}

/* Hero Section*/
.hero-image-only {
  position: relative;
  width: 100%;
  height: clamp(360px, 65vh, 820px);
  overflow: hidden;
  background: #0b1220;
  /* subtle fallback while image loads */
}

.hero-image-only picture,
.hero-image-only img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image-only img {
  object-fit: cover;
  object-position: center;
}

/* Optional: shorter hero on small screens */
@media (max-width: 1023.98px) {
  .hero-image-only {
    height: clamp(300px, 60vh, 700px);
  }
}
/* Base */
.hero-image-only {
  position: relative;
  width: 100%;
  background: #0b1220;
  /* fallback while image loads */
}

.hero-image-only picture,
.hero-image-only img {
  display: block;
  width: 100%;
}

/* Desktop (no crop, preserve intrinsic ratio) */
@media (min-width: 1024px) {
  .hero-image-only {
    height: auto;
  }

  /* let the image decide the height */
  .hero-image-only img {
    height: auto;
    /* preserve aspect ratio */
    object-fit: contain;
    /* never crop */
    object-position: center;
  }
}

/* Mobile (keep a hero feel with cover) */
@media (max-width: 1023.98px) {
  .hero-image-only {
    height: clamp(300px, 60vh, 700px);
    overflow: hidden;
  }

  .hero-image-only img {
    height: 100%;
    object-fit: cover;
    /* allows tasteful crop on phones */
    object-position: center;
  }
}

/* ————— What We Offer (Services) ————— */
.services {
  padding: 1.2rem 1rem;
  margin-bottom: 45px;
  background-color: var(--color-bg-white);
}

.services__label {
  text-align: center;
  font-size: 1rem;
  /* 14px */
  font-weight: 400;
  font-family: Red Hat Display;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
  margin-top: 1rem;
}

.services__title {
  text-align: center;
  font-size: 2.5rem;
  /* 40px */
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 3rem;
  margin-top: auto;
  font-family: inter;
}

.services__grid {
  display: grid;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}

/* Service Card */
.service-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(43, 101, 157, 0.445);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

/* Icon */
.service-card__icon {
  width: 85px;
  height: 85px;
  margin: 0 auto 1rem;
  background-color: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon img {
  width: 65%;
  height: auto;
}

/* Title & Text */
.service-card__title {
  font-size: 1.40rem;
  /* 20px */
  font-weight: 500;
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
  margin-top: auto;
  /* font-family: Red Hat Display; */
}

.service-card__text {
  font-size: 14px;
  /* 15px */
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.5rem;
}

/* Learn More link */
.service-card__link {
  margin-top: auto;
  align-self: center;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.service-card__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.service-card__link:hover::after {
  width: 100%;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .services {
    padding: 2rem 1rem;
    margin-bottom: 28px;
  }

  .services__label {
    margin-top: auto;
  }

  .services__title {
    font-size: 1.8rem;
    /* 32px */
    margin-bottom: 2rem;
  }
}

/* ————— Our Clients Carousel ————— */
.clients {
  padding: 3rem 1rem;
  background-color: #F7F9FB;
}

.clients__title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--color-primary-dark);
  margin-top: auto;
}

/* Wrapper makes it scrollable */
.clients__track-wrapper {
  max-width: 1280px;
  /* same as your other sections */
  margin: 0 auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* The flex track */
.clients__track {
  display: flex;
  gap: 2rem;
}

/* Individual logos */
.clients__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.clients__item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Remove any fade/grayscale */
.clients__item img {
  filter: none !important;
  opacity: 1 !important;  
}

/* Hide scrollbar in Webkit */
.clients__track-wrapper::-webkit-scrollbar {
  display: none;
}

/* Desktop: show exactly 6 at a time */
@media (min-width: 1024px) {
  .clients__item {
    flex: 0 0 calc((100% - 5 * 2rem) / 6);
  }
}

@media (max-width: 768px) {
  .clients__item {
    flex: 0 0 calc((100% - 1 * 2rem) / 2);
  }
}

/* ————— Why Choose Us ————— */
.why-choose {
  padding: 3rem 1rem;
  background-color: #fff;
}

.why-choose__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
  max-width: 1280px;
  margin: 0 auto;
}

.why-choose__media img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  object-fit: cover;
  margin-top: 30px;
}

.why-choose__content {
  display: flex;
  flex-direction: column;
}

.why-choose__title {
  font-size: 2.1rem;
  /* 40px */
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.why-choose__subtitle {
  font-size: 1rem;
  /* 16px */
  color: #555;
  margin-bottom: 2rem;
  margin-top: auto;
  line-height: 1.6;
}

/* Items grid */
.why-choose__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
}

.why-choose__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-choose__icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  background-color: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-choose__icon img {
  width: 60%;
  height: auto;
}

.why-choose__text {
  flex: 1;
}

.why-choose__item-title {
  margin-top: auto;
  font-size: 1.125rem;
  /* 18px */
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.why-choose__item-desc {
  font-size: 0.9375rem;
  /* 15px */
  line-height: 1.6;
  color: #555;
}

/* ————— Mobile ————— */
@media (max-width: 768px) {
  .why-choose__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .why-choose__title {
    font-size: 1.5rem;
  }

  .why-choose__subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .why-choose__grid {
    grid-template-columns: 1fr;
  }
}

/* ————— Project CTA + Overlap Cards ————— */
.project-cta {
  position: relative;
  overflow: visible;
}

/* Background + gradient */
.project-cta__bg {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  /* vertical centering of the row */
  height: 450px;
  position: relative;
  overflow: hidden;

  /* New background color */
  background-color: #219ebc;
}

/* Faded background image layer */
.project-cta__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://themediagoals.com/wp-content/uploads/tmg-theme-assets/tmg-theme-assets/images/Hero%20Banner.png') center/cover no-repeat;
  opacity: 0.1;
  /* Image opacity */
  pointer-events: none;
  /* Let clicks pass through */
} 

.project-cta__inner {
  grid-column: 3 / span 6;
  /* start at col 3, span 6 cols */
  z-index: 2;
  margin-bottom: auto;
  margin-top: 50px;
}

.project-cta__title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  /* 40px */
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: auto;
}

.project-cta__text {
  max-width: 600px;
  font-size: 1rem;
  /* 16px */
  line-height: 1.6;
  margin-bottom: 2rem;
}

.project-cta__button {
  padding: 0.75rem 2rem;
  /* 12px/32px */
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
}

/* Cards container (overlap bg) */
.project-cta__cards {
  grid-column: 1 / -1;
  /* full 12‑col width */
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1280px;
  margin: -75px auto 4rem;
  /* pull up 75px so they overlap just below your text */
  padding: 0 1rem;
  align-items: center;
}

/* Individual CTA cards */
.cta-card {
  background-color: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.cta-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  background-color: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-card__icon img {
  width: 60%;
  height: auto;
}

.cta-card__title {
  font-size: 1.25rem;
  /* 20px */
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
  margin-top: auto;
}

.cta-card__text {
  font-size: 0.9375rem;
  /* 15px */
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  /* push button down */
}

.cta-card__btn {
  align-self: center;
  padding: 0.5rem 1.5rem;
  font-size: 0.9375rem;
  border-radius: 30px;
  line-height: 1;
}

/* Mobile tweaks */
/* ————— Project CTA Mobile Responsiveness ————— */
@media (max-width: 768px) {

  .project-cta__bg {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      align-items: center;
      /* vertical centering of the row */
      height: 450px;
      position: relative;
      overflow: hidden;
  
      /* New background color */
      background-color: #219ebc;
    }
  
    /* Faded background image layer */
    .project-cta__bg::before {
      content: "";
      position: absolute;
      inset: 0;
      background: url('https://themediagoals.com/wp-content/uploads/tmg-theme-assets/tmg-theme-assets/images/Hero%20Banner.png') center/cover no-repeat;
      opacity: 0.1;
      /* Image opacity */
      pointer-events: none;
      /* Let clicks pass through */
    }

  /* 2) Intro copy spans full width and centers */
  .project-cta__inner {
    grid-column: 1 / -1 !important;
    /* full-width */
    margin: 0 auto 2rem;
    padding: 0 1rem;
    text-align: center;
    margin-top: 0;
    /* remove desktop top offset */
  }

  .project-cta__title {
    font-size: 2rem;
    /* scale down */
    margin-bottom: 1rem;
    margin-top: auto;
  }

  .project-cta__text {
    font-size: 0.9375rem;
    max-width: none;
    margin: 0 auto 1.5rem;
    line-height: 1.5;
  }

  .project-cta__button {
    display: inline-block;
    margin-bottom: 2rem;
  }

  /* 3) Cards stack in one column, overlap less aggressively */
  .project-cta__cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: -4rem auto 2rem;
    /* pull up just enough for overlap */
    padding: 0 1rem;
  }

  /* 4) Shrink card padding and icon size */
  .cta-card {
    padding: 1.5rem;
  }

  .cta-card__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 0.75rem;
  }

  .cta-card__icon img {
    width: 50%;
  }

  .cta-card__title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }

  .cta-card__text {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }

  .cta-card__btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* ————— CEO Section ————— */
.ceo {
  padding: 3rem 1rem;
  background-color: #fff;
}

.ceo__image {
  position: relative;
  max-width: 425px;
  width: 100%;
  margin: auto;
  left: 50px;
}

.ceo__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  /* align image & content at top */
  max-width: 1280px;
  margin: 0 auto;
}

/* CEO Photo */
.ceo__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  object-fit: cover;
}

/* Content */
.ceo__content {
  display: flex;
  flex-direction: column;
}

/* Label + Divider + Name */
.ceo__label {
  font-size: 1.5rem;
  font-family: Red Hat Display;
  /* 24px */
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.ceo__divider {
  width: 3rem;
  height: 2px;
  background-color: var(--color-accent);
  margin-bottom: 1rem;
}

.ceo__name {
  font-size: 3rem;
  font-family: Red Hat Display;
  /* 48px */
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 2rem;
  margin-top: auto;
}

/* Bio paragraphs */
.ceo__bio p {
  font-size: 1rem;
  /* 16px */
  line-height: 1.6;
  color: var(--color-primary-dark);
  margin-bottom: 1.5rem;
}

/* LinkedIn button */
.ceo__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  /* 16px */
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
  width: fit-content;
  line-height: 1;
}

.ceo__button img {
  width: 1rem;
  height: 1rem;
  display: block;
  object-fit: contain;
  object-position: center;
}

.ceo__button:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

@media (max-width: 768px) {
.crdr__image {
    right: 0px !important;
  }
}

/* ————— Mobile ————— */
@media (max-width: 768px) {
  .ceo__inner {
    grid-template-columns: 1fr;
  }

  .ceo__image,
  .ceo__content {
    order: unset;
  }

  .ceo__image img {
    border-radius: 1rem;
  }

  .ceo__name {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .ceo__bio p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .ceo__button {
    margin-top: 1rem;
  }
}

.crdr__image {
  position: relative;
  max-width: 425px;
  width: 100%;
  margin: auto;
  right: 50px;
}

.crdr__image img {
      display: block;
        width: 100%;
        height: auto;
        border-radius: 1.5rem;
        object-fit: cover;
}

/* Inverted layout for second section */
.ceo--reverse .ceo__inner {
  direction: rtl;
  text-align: left;
}

.ceo--reverse .ceo__image,
.ceo--reverse .ceo__content {
  direction: ltr;
}

/* ————— Our Team ————— */
.team {
  padding: 3rem 1rem;
  background-color: #ffffff;
}

.team__label {
  text-align: center;
  font-size: 1rem;
  /* 14px */
  font-weight: 500;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.2rem;
  letter-spacing: 2px;
}

.team__title {
  text-align: center;
  font-size: 3rem;
  /* 48px */
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 3rem;
  margin-top: auto;
  line-height: 1.1em;
}

.team__grid {
  display: grid;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Member card */
.team__member {
  background-color: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team__member:hover {
  transform: translateY(-4px);
}

/* Photo + LinkedIn badge */
.team__image {
  position: relative;
  width: 100%;
  padding-top: 100%;
  /* 1:1 aspect ratio */
  overflow: hidden;
}

.team__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team__linkedin {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  background-color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  line-height: 0;
}

.team__linkedin img {
  display: block;
  width: 1rem;
  height: 1rem;
  object-fit: contain;
  object-position: center;
  position: relative;
  /* adjust if needed */
}

/* Name & role */
.team__info {
  padding: 1.5rem 1rem;
  text-align: center;
}

.team__name {
  font-size: 1.125rem;
  /* 18px */
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.team__role {
  font-size: 0.875rem;
  /* 14px */
  color: #555;
  line-height: 1.6;
}

/* Mobile stack */
@media (max-width: 768px) {
  .ceo {
    padding: 2rem 1rem;
  }

  .ceo__image {
    left: auto;
  }

  .ceo__inner{
    gap: 1rem;
  }

  .ceo__content {
    align-items: center;
  }

  .team {
    padding: 2rem 1rem;
  }

  .ceo__name {
    margin-bottom: 1rem;
  }

  .ceo__bio {
    text-align: center;
  }

  .team__title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }

  .team__grid {
    grid-template-columns: 1fr;
  }
}

.brand-value__banner {
  background: var(--color-accent);
  position: relative;
  padding: 6rem 1rem;
  color: var(--color-text-light);
}

/* Inner uses a 2‑col / 3‑row grid on desktop */
.brand-value__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 4rem;
  max-width: 1280px;
  margin: 0 auto;
}

/* Title in row 1, col 1 */
.brand-value__title {
  grid-column: 1;
  grid-row: 1;
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

/* Paragraph in row 1, col 2 */
.brand-value__text {
  grid-column: 2;
  grid-row: 1;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 3rem 0;
  max-width: 600px;
}

/* Divider in row 2, col 1 */
.brand-value__divider {
  grid-column: 1;
  grid-row: 2;
  width: 10rem;
  height: 2px;
  background-color: var(--color-primary-dark);
  margin: 0 0 1.5rem 0;
}

/* Stats in row 3, spanning both columns */
.brand-value__stats {
  grid-column: 1 / -1;
  grid-row: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 0;
}

.stat {
  text-align: center;
}

.stat__number {
  display: block;
  font-size: 3rem;
  /* 48px */
  font-weight: 700;
}

.stat__label {
  display: block;
  font-size: 1rem;
  /* 16px */
  font-weight: 500;
}

/* ————— Overlapping Form/Card ————— */
.brand-value__form-wrapper {
  margin: -75px auto 4rem;
  max-width: 1280px;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.brand-value__form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: #fff;
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Left side */
.brand-value__form-content {
  display: flex;
  flex-direction: column;
  justify-content: start;
}

.brand-value__form-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

.brand-value__form-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--color-primary-dark);
}

/* Form */
.brand-value__form {
  display: flex;
  flex-direction: column;
}

/* First + Last name row */
.brand-value__form .form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand-value__form .form-group {
  flex: 1 1 calc(50% - 0.5rem);
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}

.brand-value__form label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

/* Inputs & textarea */
.brand-value__form input,
.brand-value__form textarea {
  margin-bottom: 0;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  background: #f7f9fc;
  border: 1px solid #ddd;
  border-radius: 0.75rem;
  transition: border-color .3s, box-shadow .3s;
}

.brand-value__form input::placeholder,
.brand-value__form textarea::placeholder {
  color: #999;
}

.brand-value__form input:focus,
.brand-value__form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(8, 79, 114, 0.2);
}

/* Submit button */
.brand-value__form button {
  width: auto;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-primary);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color .3s, transform .2s;
}

.brand-value__form button:hover {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.brand-value__form button:active {
  transform: translateY(0);
}

/* ————— Responsive Tweaks ————— */
@media (max-width: 1024px) {
  .brand-value__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .brand-value__banner {
    padding: 2rem 1rem;
  }

  .brand-value__inner {
    display: block;
    text-align: center;
    padding: 0 1rem;
  }

  .brand-value__heading,
  .brand-value__text {
    margin: 0 auto 1rem;
    align-items: center;
  }

  .brand-value__divider {
    margin-bottom: 2rem;
  }

  .brand-value__stats {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 4rem;
  }

  .brand-value__form-grid {
    grid-template-columns: 1fr;
    padding: 2rem;
    margin-top: -50px;
  }

  .brand-value__form-title {
    font-size: 1.75rem;
    text-align: center;
  }

  .brand-value__form-content {
    align-items: center;
  }

  .brand-value__form .form-row {
    flex-direction: column;
  }

  .brand-value__form .form-group {
    flex: 1 1 100%;
  }
}

/* ————— Mobile: One-per-row form fields ————— */
@media (max-width: 768px) {

  /* Stack the name row vertically */
  .brand-value__form .form-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch;
    margin-bottom: 0;
    /* remove any extra margin */
  }

  /* Make each form-group fill the width */
  .brand-value__form .form-group {
    flex: none !important;
    width: 100% !important;
  }

  /* Ensure inputs/textareas also stretch */
  .brand-value__form input,
  .brand-value__form textarea {
    width: 100% !important;
  }
}

@media (max-width: 768px) {

  /* 1) Ensure the outer wrapper pads left/right */
  .brand-value__form-wrapper {
    padding: 0 1.5rem;
    /* match your grid’s padding for symmetry */
  }

  /* 2) Make sure the inner grid also maintains its own padding */
  .brand-value__form-grid {
    padding: 2rem 1rem;
    /* top/bottom 2rem, left/right 1rem */
  }

  /* 3) Inputs & textarea remain 100% but now have breathing room */
  .brand-value__form input,
  .brand-value__form textarea {
    width: 100%;
    box-sizing: border-box;
    /* include padding in the width */
  }
}

/* ————— Full-Width Social Bar ————— */
.socials {
  width: 100%;
  margin: 0;
  padding: 0;
}

.socials__list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.socials__item {
  flex: 1;
  /* each block takes equal width */
}

.socials__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
  /* adjust this height to match your design */
  text-decoration: none;
  transition: transform 0.3s ease;
}

/* Brand-color backgrounds */
.socials__link--facebook {
  background-color: #1877F2;
}

.socials__link--youtube {
  background-color: #FF0000;
}

.socials__link--instagram {
  background-color: #E1306C;
}

.socials__link--pinterest {
  background-color: #bd081c;
}

.socials__link--linkedin {
  background-color: #0077B5;
}

/* Icon styling */
.socials__link img {
  width: 100px;
  height: auto;
  display: block;
}


/* Mobile: reduce height & icon size */
@media (max-width: 768px) {
  .socials__link {
    height: 120px;
  }

  .socials__link img {
    width: 32px;
    height: 32px;
  }
}



/* Contact Us */

/* Hero Section */
.contact-hero {
  position: relative;
  background: url('https://themediagoals.com/wp-content/uploads/tmg-theme-assets/tmg-theme-assets/images/Contact%20us%20final%20version.jpg') no-repeat center center/cover;
  height: 100vh;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;

  .hero-overlay {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay */
  }

  .hero-overlay h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .hero-overlay p {
    font-size: 1.2rem;
  }
}

/* Contact Page */
.contact-page {
  padding: 6rem 1rem;
  background-color: #fff;

  .container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .contact-grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .contact-info,
  .contact-form {
    flex: 1 1 45%;
    color: #333;
  }

  .contact-info {
    h2 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }

    p {
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
    }

    .socials {
      margin-top: 1.5rem;

      .social-icon {
        margin-right: 1rem;

        img {
          width: 30px;
          height: 30px;
        }

        &:hover {
          opacity: 0.7;
        }
      }
    }
  }

  .contact-form {
    form {
      display: flex;
      flex-direction: column;

      .form-row {
        display: flex;
        gap: 1rem;

        input {
          flex: 1;
        }
      }

      input,
      select,
      textarea {
        margin-bottom: 1rem;
        padding: 0.8rem 1rem;
        font-size: 1rem;
        border-radius: 5px;
        border: 1px solid #ccc;
      }

      textarea {
        resize: vertical;
      }


      button {
        background-color: #111;
        color: #fff;
        border: none;
        padding: 0.9rem 1.5rem;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1rem;

        &:hover {
          background-color: #333;
        }
      }
    }
  }
}

@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    flex: 1 1 100%;
  }

  .hero-overlay h1 {
    font-size: 2rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }
}

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  /* Prevent horizontal overflow */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
    width: 100%;
  }


  .contact-hero {
    background: url('https://themediagoals.com/wp-content/uploads/tmg-theme-assets/tmg-theme-assets/images/mobile-banner.png') no-repeat center center/cover;
    height: 80vh;
  }

  
  .contact-info,
  .contact-form {
    flex: 1 1 100%;
  }

  
  body {
    padding-right: 0 !important;

  }

  
  button {
    width: 100%;
    /* Ensure the button takes full width on mobile */
  }


  input,
  select,
  textarea {
    width: 100%;
    font-size: 1rem;
  }
}

/* Make sure all form fields have consistent width */

.required {
  color: red;
  font-size: 1.2rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-field {
  width: 100%;
  /* Full width for each field */
}

.full-width input,
.full-width select,
.full-width textarea {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Ensure that first name and last name fields are on the same row, but still take 50% width each */
@media (min-width: 768px) {
  .form-row {
    gap: 2rem;
    /* Space out fields on larger screens */
  }

  .form-row .form-field {
    width: 48%;
    /* 50% width for first and last name fields */
  }
}

.heading-form {
  font-size: 2.5rem;
    margin: 5px 0 5px;
    text-align: left;
}

body.preload {
  overflow: hidden;
}

/* ————— Graphic Design Services Header ————— */
.gd-header {
  position: relative;
  background-color: var(--color-accent);
  /* image over gradient; gradient over fallback color */
  /* background-image: linear-gradient(180deg, #05304B 0%, #084F72 100%); */
  background-size: cover, cover;
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
  color: var(--color-text-light);
  padding: 3rem 1rem;
  display: flex;
  align-items: center;
  text-align: center;
  margin-top: 80px;
}

/* Inner width limit */
.gd-header__inner {
  max-width: 800px;
  margin: 0 auto;
}

/* Upper label */
.gd-header__label {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  margin-top: auto;
  opacity: 0.85;
}

/* Main title */
.gd-header__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.75rem;
  line-height: 1.2;
  font-weight: 700; 
  margin-bottom: 1.5rem;
  margin-top: auto;
}

/* Paragraph */
.gd-header__desc {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 750px;
  margin: 0 auto;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .gd-header {
    padding: 4rem 1rem;
  }

  .gd-header__title {
    font-size: 2rem;
  }

  .gd-header__desc {
    font-size: 0.9375rem;
  }
}

.tmg-mission {
  padding: 4rem 2rem;
  background: #f9f9fb;
}

/* Inner wrapper */
.tmg-mission__wrapper {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

/* Media (image) */
.tmg-mission__media {
  flex: 1 1 400px;
  min-width: 280px;
}

.tmg-mission__image {
  width: 100%;
  border-radius: 0.75rem;
  display: block;
}

/* Text content */
.tmg-mission__content {
  flex: 1 1 400px;
  min-width: 280px;
  overflow: hidden;
}

/* Title & highlight */
.tmg-mission__title,
.tmg-mission__description {
  opacity: 0;
  transform: translateY(20px);
  animation: tmg-fadeInUp 0.8s ease-out forwards;
}

.tmg-mission__title {
  animation-delay: 0.2s;
  font-size: 2.8rem;
  font-family: Inter, sans-serif;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.tmg-mission__highlight {
  color: #084F72;
  /* your brand accent */
}

/* Paragraph */
.tmg-mission__description {
  animation-delay: 0.4s;
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
}

/* Fade-in-up keyframes */
@keyframes tmg-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .tmg-mission {
    padding: 2rem;
    background: #fff;
  }

  .tmg-mission__wrapper {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .tmg-mission__media,
  .tmg-mission__content {
    width: 100%;
  }
}

/* ===== Partners strip (namespaced) ===== */
.tmg-partners {
  padding: 2.5rem 1rem;
  background: #fff;
}

.tmg-partners__container {
  max-width: 1200px;
  margin: 0 auto;
}

.tmg-partners__title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  color: #1F242D;
  margin-bottom: .25rem;
}

.tmg-partners__subtitle {
  text-align: center;
  color: #556;
  font-size: .9875rem;
  margin-bottom: 1.75rem;
}

/* Responsive logo grid */
.tmg-partners__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px 16px;
  /* reduced vertical + horizontal gap */
  align-items: center;
}

/* Logo item (no hover animation now) */
.tmg-partners__item {
  display: grid;
  place-items: center;
  padding: 10px 14px;
  /* slightly reduced padding */
  border-radius: 12px;
  background: #fafafa;
  border: 1px solid #eee;
}

/* Logo wrapper */
.tmg-partners__logo {
  width: 100%;
  max-width: 280px;
  /* increased from 180px to 280px */
  aspect-ratio: 3 / 1;
  display: grid;
  place-items: center;
}

/* Show original logo colors – no grayscale, no opacity, no hover */
.tmg-partners__logo img {
  max-width: 100%;
  max-height: 64px;
  /* increased so the logo actually appears bigger */
  object-fit: contain;
  filter: none;
  opacity: 1;
}

/* Remove hover effects completely */
.tmg-partners__item:hover,
.tmg-partners__item:hover img {
  transform: none;
  box-shadow: none;
  filter: none;
  opacity: 1;
}

/* Mobile spacing */
@media (max-width: 640px) {
  .tmg-partners {
    padding: 2rem 1rem;
  }

  .tmg-partners__logo {
    max-width: 200px;
    /* slightly bigger on mobile too (optional) */
    aspect-ratio: 2.8 / 1;
  }

  .tmg-partners__logo img {
    max-height: 48px;
  }
}

/* ===== Footer (enhanced, single-row desktop) ===== */
.site-footer {
  background: none;
  padding: 0;
}

/* Top band */
.site-footer__top {
  background: #00111c;
  /* ash white */
  color: #fff;
  padding: 3rem 1.5rem 2.25rem;
}

/* Bottom bar */
.site-footer__bottom {
  background: var(--color-primary-dark);
  color: #fff;
  padding: 1rem 1.5rem;
  
}

.site-footer .container {
  max-width: 1600px;
  margin: 0 auto;
}

/* Grid: force all columns to one row on desktop */
.footer-columns {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(6, 1fr);
  /* 6 columns, single row at desktop width */
  align-items: start;
}

/* Base column styles */
.footer-col {
  min-width: 0;
}

/* allow squish so all stay one row */
.footer-heading {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 .75rem;
  color: #fff;
  position: relative;
  padding-bottom: .35rem;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, #084F72, #F2C94C);
  border-radius: 2px;
}

/* Brand */
.footer-logo {
  width: 180px;
  height: auto;
  margin-bottom: .75rem;
  display: block;
}

.footer-desc {
  color: #ececec;
  font-size: .95rem;
  line-height: 1.6;
  font-weight: 500;
}

/* Lists */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin: .4rem 0;
}

.footer-list a {
  color: #fff;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.footer-list a:hover {
  color: #0b4f72;
  transform: translateX(2px);
}

/* Contact: remove underline as requested */
.footer-list--contact a {
  text-decoration: none;
}

.footer-list--contact a:hover {
  text-decoration: none;
  color: #0b4f72;
}

/* Certifications: single Semrush logo, bigger */
.footer-partners {
  display: flex;
  align-items: center;
  gap: 12px;
}

.partner-logo {
  display: block;
  max-width: 100%;
  object-fit: contain;
}

.partner-logo--semrush {
  max-height: 150px;
  /* bigger size */
  filter: none;
  opacity: .98;
  transition: transform .2s ease, opacity .2s ease;
}

.partner-logo--semrush:hover {
  transform: translateY(-2px);
  opacity: 1;
}

/* Bottom meta */
.footer-bottom {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: .93rem;
  color: #e5e7eb;
}

.site-footer__bottom a {
  color: #fff;
  text-decoration: underline;
}

.site-footer__bottom a:hover {
  text-decoration: none;
}

/* Accessibility helper */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
  }

  /* tidy tablet */
}

@media (max-width: 640px) {
  .site-footer__top {
    padding: 2.25rem 1rem;
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .partner-logo--semrush {
    max-height: 100px;
  }
}

/* Center footer brand column (logo + text) on all devices */
.footer-col--brand {
  text-align: center;
}

/* Center the logo itself */
.footer-col--brand .footer-logo {
  display: block;
  margin: 0 auto 0.75rem;
  /* center + space under logo */
}

/* Center the description text */
.footer-col--brand .footer-desc {
  text-align: center;
  margin: 0;
  /* tweak if you want different spacing */
}

/* 1200px width only for this section */
.clients .clients__container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 15px;
}

/* Heading styling & visibility */
.clients__title {
  text-align: center;
  padding: 20px 0 20px;
  font-size: 32px;
  font-weight: 700;
}

/* Slick spacing only inside this slider */
.customer-logos .slick-slide {
  margin: 0 20px;
}

.customer-logos .slick-slide img {
  width: auto;
  max-height: 60px;
  margin: 0 auto;
  display: block;
}

/* (Optional) center the whole slider area */
.customer-logos {
  padding-bottom: 20px;
}

.ceo__actions {
  justify-content: flex-start;
  /* current */
  /* change to: */
  justify-content: flex-start;
  /* or center if you want */
}

.es-testimonials {
  padding: 80px 20px;
  background: radial-gradient(circle at top left, #e6f4ff 0, #ffffff 40%, #f5f5ff 100%);
}

.es-testimonials__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.es-testimonials__eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8c8fb0;
  margin-bottom: 8px;
  font-weight: 600;
}

.es-testimonials__heading {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #111827;
}

.es-testimonials__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 40px;
  font-size: 14px;
  color: #6b7280;
}

.es-testimonials__rating-score {
  font-weight: 600;
  color: #111827;
}

.es-testimonials__rating-stars {
  color: #7c3aed;
  letter-spacing: 2px;
  font-size: 16px;
}

/* Slider / cards */

.es-testimonials__slider {
  margin: 0 -12px;
}

.es-testimonial-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px 26px;
  margin: 0 12px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
  min-height: 230px;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.es-testimonial-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 24px;
}

.es-testimonial-card__client {
  display: flex;
  align-items: center;
  gap: 12px;
}

.es-testimonial-card__logo-wrap {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #f3f4ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.es-testimonial-card__logo {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

.es-testimonial-card__name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

/* Slick dots */

.es-testimonials .slick-dots {
  margin-top: 24px;
}

.es-testimonials .slick-dots li button:before {
  font-size: 10px;
  opacity: 0.3;
}

.es-testimonials .slick-dots li.slick-active button:before {
  opacity: 1;
  color: #7c3aed;
}

/* Responsive */

@media (max-width: 767px) {
  .es-testimonials {
    padding: 60px 16px;
  }

  .es-testimonials__heading {
    font-size: 24px;
  }

  .es-testimonial-card {
    padding: 24px 20px 20px;
  }
}

.es-testimonials {
  padding: 80px 20px;

  /* very soft centered glow using #90e0ef */
  background: radial-gradient(circle at center,
      rgba(144, 224, 239, 0.25) 0%,
      /* soft tint */
      rgba(144, 224, 239, 0.12) 22%,
      rgba(144, 224, 239, 0.06) 40%,
      #ffffff 75%
      /* fades to white */
    );
}

/* Service pages css */

/* Generic styling for all service grids */
.services .services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch; /* make all cards equal height in the row */
}

/* Make each card a flex column so content aligns nicely */
.services .service-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0px 30px 60px 0px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  padding: 24px;
  border-radius: 16px;
}

/* Icon area: fixed height so all icons sit in the same band */
.service-card__icon {
  flex: 0 0 auto;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background-color: #ffffff;
}

.service-card__icon img {
  max-width: 70%;
  height: auto;
  display: block;
}

/* Keep headings aligned by giving them a minimum height */
.service-card__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.3;
  min-height: 2.6em; /* ~2 lines worth of height for alignment */
}

/* Text fills remaining space so all cards become equal height */
.service-card__text {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .services .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .services .services__grid {
    grid-template-columns: 1fr;
  }
}


.footer-tagline {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Increase partner icon size */
.tmg-partners__logo img {
  max-width: 280px;
  /* was probably ~100px or so */
  height: auto;
}
/* Responsive partner logo layout */
.tmg-partners__container {
  width: min(94vw, 1480px);
  max-width: none;
}

.tmg-partners__grid {
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: clamp(12px, 1.4vw, 22px);
  align-items: stretch;
}

.tmg-partners__item {
  min-height: clamp(88px, 7vw, 118px);
  padding: clamp(14px, 1.6vw, 24px);
  border-radius: 8px;
}

.tmg-partners__logo {
  max-width: min(100%, 340px);
  aspect-ratio: 3.4 / 1;
}

.tmg-partners__logo img {
  width: 100%;
  max-width: min(100%, 340px);
  max-height: clamp(54px, 4.8vw, 78px);
  height: auto;
}

@media (max-width: 1180px) {
  .tmg-partners__grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

@media (max-width: 760px) {
  .tmg-partners {
    padding: 2rem 1rem;
  }

  .tmg-partners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .tmg-partners__container {
    width: min(92vw, 360px);
  }

  .tmg-partners__grid {
    grid-template-columns: 1fr;
  }

  .tmg-partners__item {
    min-height: 86px;
  }

  .tmg-partners__logo {
    max-width: 240px;
    aspect-ratio: 3 / 1;
  }

  .tmg-partners__logo img {
    max-height: 52px;
  }
}
.footer-portfolio-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 1rem;
  padding: 0.75rem 1.35rem;
  border-radius: 8px;
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-portfolio-button:hover,
.footer-portfolio-button:focus-visible {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .footer-portfolio-button {
    margin-left: auto;
    margin-right: auto;
  }
}
/* Partner carousel layout */
.tmg-partners__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: clamp(12px, 1.4vw, 22px);
}

.tmg-partners__grid.slick-initialized {
  display: block;
  overflow: hidden;
}

.tmg-partners__grid .slick-track {
  display: flex;
  align-items: stretch;
}

.tmg-partners__grid .slick-slide {
  height: auto;
  padding: 0 clamp(6px, 0.7vw, 11px);
}

.tmg-partners__grid .slick-slide > div,
.tmg-partners__grid .slick-slide .tmg-partners__item {
  height: 100%;
}

.tmg-partners__item {
  min-height: clamp(96px, 7vw, 126px);
}

@media (max-width: 760px) {
  .tmg-partners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tmg-partners__grid .slick-slide {
    padding: 0 7px;
  }

  .tmg-partners__item {
    min-height: 92px;
  }
}

@media (max-width: 460px) {
  .tmg-partners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tmg-partners__logo {
    max-width: min(100%, 220px);
  }
}
.floating-whatsapp {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(54px, 5vw, 68px);
  height: clamp(54px, 5vw, 68px);
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 10px 24px rgba(0, 17, 28, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 30px rgba(0, 17, 28, 0.34);
}

.floating-whatsapp img {
  display: block;
  width: 62%;
  height: 62%;
  object-fit: contain;
}

@media (max-width: 640px) {
  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }
}

.contact-alert {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 600;
  line-height: 1.45;
}

.contact-alert--success {
  color: #0f5132;
  background: #d1e7dd;
  border: 1px solid #badbcc;
}

.contact-alert--error {
  color: #842029;
  background: #f8d7da;
  border: 1px solid #f5c2c7;
}
