/* ============ VARIABLES ============ */
:root {
  --font-family-main: 'Open Sans', Arial, sans-serif;
  --color-text-main: #111;
  --color-text-light: #fff;
  --color-text-grey: #505459;
  --color-text-darkgrey: rgba(24, 24, 24, 0.7);
  --color-accent: #fe2c55;
  --color-accent-dark: #b6002a;
  --color-link-hover: #ff4a4a;
  --color-bg-dark: #161617;
  --color-bg-main: #fff;
  --color-bg-grey: #f5f5f7;
  --color-border: #eee;
  --color-btn-bg: #ff2f51;
  --color-btn-bg-hover: #b6002a;
  --color-btn-text: #fff;
  --font-size-btn: clamp(1rem, 2vw, 1.125rem);
}

/* ============ FONTS ============ */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,500,600,700,800&display=swap');

/* ============ RESET ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ============ MAIN SETTINGS ============ */
html, body {
  height: 100%;
  margin: 0;
}
body {
  font-family: var(--font-family-main);
  color: var(--color-text-main);
  background: var(--color-bg-main);
}
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.page__main {
  flex: 1;
}
/* ============ TYPOGRAPHY ============ */
h1 {
  font-size: var(--font-size-h1);
  font-weight: bold;
  line-height: 1.2;
}
h2 {
  font-size: var(--font-size-h2);
  font-weight: 700;
}
h3 {
  font-size: var(--font-size-h3);
  font-weight: 600;
}
p {
  font-size: var(--font-size-p);
}
a {
  color: var(--color-accent);
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font: inherit;
  cursor: pointer;
}
input, button {
  border: none;
  outline: none;
}

/* ============ BUTTONS (GLOBAL) ============ */
.btn,
.cta__btn,
.button {
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  font-size: var(--font-size-btn);
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  margin: 0 auto;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.btn:hover,
.cta__btn:hover,
.button:hover {
  background: var(--color-btn-bg-hover);
  color: var(--color-text-light);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-link-hover);
}

/* ============ CONTAINER ============ */
.container {
  width: 100%;
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  margin-right: auto;
  margin-left: auto;
  max-width: 100%;
}
@media (min-width: 576px)   { .container { max-width: 540px; } }
@media (min-width: 768px)   { .container { max-width: 720px; } }
@media (min-width: 992px)   { .container { max-width: 960px; } }
@media (min-width: 1200px)  { .container { max-width: 1140px; } }
@media (min-width: 1400px)  { .container { max-width: 1320px; } }
@media (min-width: 1800px)  { .container { max-width: 1700px; } }

@media (max-width: 576px) {
  .container {
    padding: 0;
  }
}

/* ============ HEADER & NAVBAR ============ */
.bg-white {
  background-color: var(--color-bg-main);
}
.bg-black {
  background-color: var(--color-bg-dark);
}
.bg-grey {
  background-color: var(--color-bg-grey);
}

/* ============ BRANDS ============ */
.brands__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 0;
}
.brands__title {
  color: var(--color-text-grey);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 6px;
}
.brands__logos {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.brands__logo {
  display: flex;
  align-items: center;
}
.brands__image {
  height: 40px;
  width: auto;
}
@media (max-width: 768px) {
  .brands__container {
    padding: 20px 10px;
    width: 100%;
  }
  .brands__logos {
    width: 100%;
    gap: 12px;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  .brands__image {
    width: auto;
  }
  .brands__title {
    margin: 10px;
  }
}
@media (max-width: 576px) {
  .brands__container {
    padding: 10px;

  }
  .brands__title {
    font-size: 10px;
    margin: 2px;
  }
  .brands__logos {
    gap: 10px;
  }
}

/* ============ SOCIALS ============ */
.socials {
  background: var(--color-bg-main);
  padding: 30px 0;
  color: var(--color-bg-dark);
}
.socials__main-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}
.socials__subtitle {
  font-size: 20px;
  text-align: center;
  margin-bottom: 16px;
}
.socials__cards {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.socials__card {
  background: var(--color-bg-grey);
  width: 250px;
  padding: 20px 20px 12px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start
}
.socials__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}
.socials__stats {
  margin-bottom: 14px;
}

.socials__card .btn {
  margin: 0;
}

.socials__followers {
  font-size: 20px;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}
.socials__label {
  font-size: 14px;
  font-weight: 500;
  display: block;
}
@media (max-width: 1200px) {
  .socials__main-title {
    font-size: 22px;
  }
  .socials__subtitle {
    font-size: 18px;
    text-align: center;
  }
  .socials__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  }
  .socials__followers {
    font-size: 18px;
    margin-bottom: 2px;
  }
  .socials__label {
    font-size: 14px;
  }
}
@media (max-width: 992px) {
  .socials {
    padding: 20px 0 10px;
  }
  
  .socials__card {
    padding: 14px;
    display: flex;
    flex-direction: column;
  }
  .socials__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 14px;
  }
}
@media (max-width: 768px) {
  .socials {
    padding: 10px;
  }
  .socials__main-title {
    font-size: 24px;
  }
  .socials__subtitle {
    font-size: 16px;
  }
  .socials__followers {
    font-size: 20px;
  }
  .socials__label {
    font-size: 14px;
  }
}
@media (max-width: 576px) {
  .socials__main-title {
    font-size: 24px;
    margin-bottom: 5px;
  }
  .socials__subtitle {
    font-size: 16px;
    text-align: center;
    margin-bottom: 10px;
  }
  .socials__cards {
    flex-direction: column;
    align-items: center;
  }
  .socials__card {
    padding: 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .socials__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 6px;
  }
  .socials__stats {
    margin-bottom: 10px;
  }
}

/* ============ PROGRAMMS ============ */
.programs {
  padding: 40px 0;
}
.programs__cards {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.programs__title {
  color: var(--color-accent);
  font-size: 16px;
  font-weight: 700;
}
.program-card {
  display: flex;
  align-items: start;
  gap: 40px;
  background: #fff;
  align-items: stretch
}
.program-card__image {
  object-fit: cover;
  width: auto;
  height: 400px;
}
.program-card__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;;
  padding: 20px 0;
}
.program-card__content .btn {
  margin-top: auto;
  margin: 0;
}
.program-card__title {
  font-size: 48px;
  font-weight: bold;
  letter-spacing: 0.02em;
}
.program-card__subtitle {
  font-size: 28px;
  font-weight: 600;
}
.program-card__description {
  font-size: 22px;
  line-height: 1.3;
}
.programm-card__description--grey {
  font-size: 22px;
  line-height: 1.6;
  color: var(--color-text-darkgrey);
}
.btn-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1800px) {
  .program-card__image {
    height: 300px;
  }
  .programs__title {
    font-size: 14px;
    font-weight: 700;
  }
  .program-card__title {
  font-size: 38px;
  }
  .program-card__subtitle {
    font-size: 22px;
  }
  .program-card__description, 
  .programm-card__description--grey {
    font-size: 16px;
  }
}
@media (max-width: 1200px) {
  .program-card {
    gap: 30px;
}
  .program-card__content {
    padding-left: 2px;
    padding-right: 2px;
  }
  .program-card__image {
    height: 250px;
  }
}
@media (max-width: 992px) {
  .program-card {
    margin: 0 auto;
    flex-direction: column;
    gap: 10px;
  }
  .program-card__content {
    align-items: center;
    gap: 2px;
    max-width: 365px;
    margin: 0 auto;
    text-align: center;
  }
  .program-card__image {
    object-fit: contain;
    width: auto;
    height: 220px;
  }
  .programs__title {
    font-size: 12px;
    font-weight: 700;
  }
  .program-card__description {
    text-align: center;
  }
  .btn-wrapper {
    padding: 10px 0;
  }
}
@media (max-width: 576px) {
  .programs {
    gap: 40px;
  }
  .program-card {
    padding: 0 0 30px;
  }
  .program-card__image {
    object-fit: cover;
    width: 100%;
  }
  .program-card__content {
    text-align: center;
    padding: 0px;
  }
}

/* ============ FOOTER ============ */
.footer {
  padding: 10px 0;
  font-size: 16px;
  color: var(--color-text-grey);
}
.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding-left: 16px;
  padding-right: 16px;
}
.footer__brand {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__logo {
  margin-bottom: -2px;
  height: 20px;
  display: block;
}
.footer__year {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 1;
}
.footer__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__link {
  color: var(--color-text-grey);
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.footer__link:hover {
  color: var(--color-link-hover);
}
@media (max-width: 768px) {
  .footer__container {
    gap: 10px;
  }
  .footer__logo {
    height: 14px;
    display: block;
  }
  .footer__year {
    font-size: 10px;
    display: block;
  }
  .footer__links {
    gap: 20px;
    margin-left: 0;
  }
  .footer__link {
    font-size: 10px;
  }
}
