@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
  font-family: 'Mont';
  src: url('../fonts/Mont-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mont';
  src: url('../fonts/Mont-Book.otf') format('opentype');
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mont';
  src: url('../fonts/Mont-BookItalic.otf') format('opentype');
  font-weight: 350;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Mont';
  src: url('../fonts/Mont-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mont';
  src: url('../fonts/Mont-SemiBold.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* NOTE: You had this pointing to the same file as above. If you truly have a 600 file, keep it and change the URL. */
@font-face {
  font-family: 'Mont';
  src: url('../fonts/Mont-SemiBold.otf') format('opentype'); /* consider Mont-600 file if available */
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mont';
  src: url('../fonts/Mont-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-neutral-0: #0e0c0c;
  --color-neutral-10: #171717;
  --color-neutral-30: #a8a29e;
  --color-neutral-40: #f5f5f5;
  --cl--1--: #fff;
  --cl--head--: #000000;
  --cl--2--: #14171f;
  --cl--8--: #002349;
  --cl--4--: #6b0000;
  --cl--5--: #f6f8f7;
  --cl--6--: #4cd9fe;
  --cl--7A--: #2947a9;
  --cl--7--:  #C3262E;
  --cl--3--: #083e85;
  --cl--lb--: #ff4f4f;
  --cl--db--: #001731;
  --cl--lg--: #999999;
  --cl--gl--: #8e740b;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: 'Mont', 'Poppins', sans-serif;
}

footer {
  width: 100%;
  color: var(--color-neutral-40);
}

.footer-link {
  text-decoration: none;
}

/* OLD:
#footer_content {
  background-color: var(--color-neutral-10);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 3rem 3.5rem;
}
*/
/* NEW: 3 columns on desktop; we'll stack at <=768px */
#footer_content {
  background-color: var(--color-neutral-10);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;                    /* added spacing between columns/rows */
  padding: 3rem 3.5rem;
}

#footer_contacts {
  margin-right: 1em;
}

#footer_contacts h1 {
  font-size: 20px;
  color: var(--cl--1--);
}

#footer_contacts h3 {
  font-size: 30px;
  margin-bottom: 0.75rem;
  color: var(--cl--1--);
}

#footer_contacts p {
  color: var(--cl--1--);
}

#footer_social_media {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

#footer_social_media .footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  color: var(--color-neutral-40);
  border-radius: 50%;
  transition: all 0.4s;
}

#footer_social_media .footer-link i {
  font-size: 2rem;
}

#footer_social_media .footer-link:hover {
  opacity: 0.8;
}

/* #instagram {
  background: linear-gradient(#7f37c9, #ff2992, #ff9807);
}

#facebook {
  background-color: #4267b3;
}

#twitter {
  background-color: #26a7de;
}

#linkedin {
  background-color: #0072b1;
} */

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.footer-list h3 {
  color: var(--cl--1--);
}

.footer-list .footer-link {
  color: var(--color-neutral-30);
  transition: all 0.4s;
}

.footer-list .footer-link:hover {
  color: var(--cl--7--);
}

.footer-link-parnters {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.footer-list-partners {
  list-style: none;
}

.footer-list-partners h3 {
  color: var(--cl--1--);
}

.footer-list-partners p {
  color: var(--color-neutral-30);
  transition: all 0.4s;
}

.footer-list-partners p:hover {
  color: var(--cl--7--);
}

.footer-list-partners a {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: var(--color-neutral-30);
  transition: all 0.4s;
}

.footer-list-partners a:hover {
  color: var(--cl--7--);
}

.footer-list-partners img {
  height: 25px;
  width: 25px;
  margin-right: 0.5em;
  background-color: var(--cl--1--);
}

/* Keep subscribe on the far-right at desktop without needing an empty column */
#footer_subscribe {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  /* NEW: right-align within its own grid cell on wide screens */
  justify-self: end;
  width: 100%;
  max-width: 320px; /* optional visual balance cap */
}

#footer_subscribe h3 {
  color: var(--cl--1--);
}

#footer_subscribe p {
  color: var(--color-neutral-30);
}

#input_group {
  display: flex;
  align-items: center;
  background-color: var(--color-neutral-0);
  border-radius: 4px;
}

#input_group input {
  all: unset;
  padding: 0.75rem;
  width: 100%;
}

#input_group button {
  background-color: var(--cl--7--);
  border: none;
  color: var(--color-neutral-40);
  padding: 0px 1.25rem;
  font-size: 1.125rem;
  height: 100%;
  border-radius: 0px 4px 4px 0px;
  cursor: pointer;
  transition: all 0.4s;
}

#input_group button:hover {
  background-color: var(--cl--1--);
  color: var(--cl--7--);
}

#footer_copyright {
  display: flex;
  justify-content: center;
  background-color: var(--cl--7--);
  font-size: 1rem;
  padding: 1rem;
  font-weight: 400;
}

/* OLD:
@media screen and (max-width: 768px) {
  #footer_content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
*/
/* NEW: collapse to a single column at <=768px so phones also stack */
@media screen and (max-width: 768px) {
  #footer_content {
    grid-template-columns: 1fr;       /* stack everything */
    gap: 1.5rem;
    padding: 3rem 2rem;               /* bring in padding a bit */
  }

  /* ensure every direct child spans full width & stretches */
  #footer_content > * {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  /* let the subscribe form expand on mobile */
  #footer_subscribe {
    max-width: none;
  }
}

/* OLD:
@media screen and (max-width: 426px) {
  #footer_content {
    grid-template-columns: repeat(1, 1fr);
    padding: 3rem 2rem;
  }
}
*/
/* NEW: no longer needed because we already stack at 768px.
   If you still want an extra-tight layout for very small screens, keep a micro tweak: */
@media screen and (max-width: 426px) {
  #footer_content { gap: 1.25rem; }
}
