@font-face {
  font-family: "TT Travels Medium";
  src: url("../fonts/TT-Travels-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "TT Travels DemiBold";
  src: url("../fonts/TT-Travels-DemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "TT Travels Bold";
  src: url("../fonts/TT-Travels-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "TT Travels ExtraBold";
  src: url("../fonts/TT-Travels-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "TT Travels DemiBold Italic";
  src: url("../fonts/TT-Travels-DemiBoldItalic.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

/* === TT Travels Trial === */
@font-face {
  font-family: "TT Travels Trial Medium";
  src: url("../fonts/TT-Travels-Trial-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "TT Travels Trial DemiBold";
  src: url("../fonts/TT-Travels-Trial-DemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "TT Travels Trial Bold";
  src: url("../fonts/TT-Travels-Trial-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* === Kamerik 105 Cyrillic === */
@font-face {
  font-family: "Kamerik 105 Cyrillic";
  src: url("../fonts/Kamerik-105-Cyrillic.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* ==========================
   ROOT FONT VARIABLES
========================== */
:root {
  /* TT Travels */
  --font-travels-medium: "TT Travels Medium", sans-serif;
  --font-travels-demibold: "TT Travels DemiBold", sans-serif;
  --font-travels-bold: "TT Travels Bold", sans-serif;
  --font-travels-extrabold: "TT Travels ExtraBold", sans-serif;
  --font-travels-demibold-italic: "TT Travels DemiBold Italic", sans-serif;

  /* TT Travels Trial */
  --font-travels-trl-medium: "TT Travels Trial Medium", sans-serif;
  --font-travels-trl-demibold: "TT Travels Trial DemiBold", sans-serif;
  --font-travels-trl-bold: "TT Travels Trial Bold", sans-serif;

  /* Kamerik */
  --font-kamerik: "Kamerik 105 Cyrillic", serif;

  --yellow-primary: #fdd133;
  --white-primary: #ffffff;
  --black-primary: #000;
  --gray-primary: #2a2a2a;
  --gray-secondary: #555;
  --gray-tertiary: #939393;
}

/* ==========================
   GLOBAL STYLES
========================== */
body {
  background-color: var(--black-primary);
  margin: 0;
  padding: 0;
}

/* ==========================
   BUTTONS
========================== */
.primary-button {
  border-radius: 10px;
  background-color: var(--yellow-primary);
  color: var(--black-primary);
  padding: 34px;
  /*width: 16.75em;*/
  border: none;
  font-weight: 700;
  transition: 0.3s ease;
  font-family: var(--font-travels-bold);
  font-size: 24px;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  width: 280px;
  height: 70px;
}

.primary-button:hover {
  opacity: 0.8;
}

.secondary-button {
  font-family: var(--font-travels-medium);
  font-weight: 500;
  font-size: 24px;
  line-height: 100%;
  color: var(--white-primary);
  border-radius: 5px;
  background: var(--black-primary);
  padding: 0.9em 2em;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.secondary-button:hover {
  background: #000000e0;
}

/* ==========================
   HERO HEADER
========================== */
.hero-header {
  position: absolute;
  top: 67px;
  left: 0;
  width: 100%;
  z-index: 4;
}

.hero-header-container {
  max-width: 1480px;
  margin: 0 auto;
}

.header-logo .logo-img {
  width: 128px;
  height: 45px;
  object-fit: contain;
  margin-left: -10px;
}

.header-nav .nav-list {
  display: flex;
  gap: 50px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav .nav-list a {
  font-family: var(--font-travels-demibold);
  font-weight: 600;
  font-size: 24px;
  text-align: center;
  color: var(--white-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-nav .nav-list a:hover {
  color: var(--yellow-primary);
}

.nav-list a.active {
    position: relative;
}

.nav-list a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px; 
    width: 100%;
    height: 3px;
    background-color: var(--yellow-primary); 
}

.header-contacts .contact-list {
  display: flex;
  gap: 50px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-contacts .contact-list a {
  font-family: var(--font-travels-demibold);
  font-weight: 600;
  font-size: 20px;
  color: var(--white-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-contacts .contact-list a:hover {
  color: var(--yellow-primary);
}

.header-in-logo {
  position: relative;
}

.header-in-logo .inner-logo {
  position: absolute;
  top: -28px;
  right: 0;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100%;
  background: #000;
  z-index: 999;
  padding: 40px 20px;
  transition: 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-close {
  background: none;
  border: none;
  padding: 5px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-list,
.mobile-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list li a,
.mobile-contact-list li a {
  display: block;
  font-size: 22px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  margin-bottom: 20px;
}

.mobile-menu-btn {
  background: none;
  border: none;
}

/* ==========================
   HERO SECTION
========================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 1080px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.hero-gradient-mobile540 {
  display: none;
}

.hero-ribbons-mobile {
  display: none;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero-sec-bgimg.png") center center / cover no-repeat;
  opacity: 0.17;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 3;
  max-width: 1480px;
}

/* ==========================
   HERO TEXT
========================== */
.hero-section h1 {
  font-family: var(--font-travels-trl-bold);
  font-weight: 700;
  font-size: 88px;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--yellow-primary);
  margin-top: 292px;
}

.hero-section h1 span {
  color: var(--white-primary);
}

.hero-section .subtitle {
  font-family: var(--font-travels-medium);
  font-weight: 500;
  font-size: 45px;
  line-height: 1;
  text-transform: lowercase;
  color: var(--white-primary);
  margin-top: 35px;
}

/* ==========================
   HERO DECOR IMAGE
========================== */
.hero-bilder {
  position: absolute;
  top: 62px;
  right: -20px;
  width: 1064px;
  height: 1084px;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}

.hero-bilder-mobile {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  width: 540px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

/* ==========================
   HERO DECOR RIBBONS
   ========================== */
.hero-ribbons {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 5;
  pointer-events: none;
}

.hero-ribbon-white {
  position: absolute;
  bottom: 50px;
  z-index: 5;
}

.hero-ribbon-yellow {
  position: absolute;
  bottom: -10px;
  z-index: 6;
}

/* ==========================
   HERO GRADIENT
========================== */
.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 335px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1.95) 100%
  );
  z-index: 3;
  pointer-events: none;
}

/* ==========================
   HERO INFO (SVG блок)
========================== */
.hero-info {
  position: absolute;
  top: 174px;
  right: 0;
  width: 345px;
  height: 527px;
  z-index: 5;
}

.hero-info-bg {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  pointer-events: none;
}

.hero-info-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 35px;
  padding-left: 40px;
  z-index: 6;
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hero-info-item p {
  font-family: var(--font-travels-trl-demibold);
  font-weight: 600;
  font-size: 22px;
  line-height: 120%;
  color: var(--white-primary);
}

/* ==========================
   FORM SECTION
========================== */
.form-section {
  background: var(--black-primary);
  position: relative;
  z-index: 2;
}

.form-section2 {
  padding: 95px 0 162px;
}

.form-section7 {
  padding: 207px 0 87px;
}

.form-container {
  max-width: 1480px;
}

.form-title {
  font-family: var(--font-travels-bold);
  font-weight: 700;
  font-size: 48px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--white-primary);
  text-align: center;
  margin-bottom: 1em;
}

.form-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  /* gap: 63px;*/
}

.form-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.primary-input,
.primary-textarea,
.custom-dropdown-toggle {
  width: 100%;
  border: none;
  outline: none;
  border-radius: 15px;
  background: var(--gray-primary);
  color: rgba(85, 85, 85, 1);
  font-family: var(--font-travels-medium);
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  padding: 1.325em 1.2em;
}

.primary-input,
.custom-dropdown-toggle {
  height: 75px;
}

.primary-textarea {
  height: calc((75px * 2) + 15px);
  resize: none;
  padding-top: 1.325em;
  padding-bottom: 1.325em;
}

input:focus::placeholder {
  color: transparent;
}

textarea:focus::placeholder {
  color: transparent;
}

.custom-dropdown {
  position: relative;
}

.custom-dropdown-toggle {
  position: relative;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* .dropdown-icon-inline {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
} */

.custom-dropdown-menu {
  display: none;
  position: absolute;
  width: 100%;
  background: var(--gray-primary);
  border-radius: 10px;
  list-style: none;
  margin-top: 8px;
  padding: 10px 0;
  z-index: 10;
}

.custom-dropdown-menu li {
  padding: 10px 20px;
  font-family: var(---font-travels-medium);
  font-weight: 500;
  font-size: 18px;
  color: var(--white-primary);
  cursor: pointer;
}

.custom-dropdown-menu li:hover {
  background: var(--gray-secondary);
}

.custom-dropdown.open .custom-dropdown-menu {
  display: block;
}

.primary-input,
.primary-textarea,
.custom-dropdown-toggle {
  text-align: center;
  justify-content: center;
}

.custom-dropdown-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.custom-dropdown-value {
  text-align: center;
  color: var(--white-primary);
}

.dropdown-icon-inline {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.custom-dropdown-menu li {
  text-align: center;
}

.custom-file-upload {
  display: flex;
  justify-content: center;
  position: relative;
  top: -20px;
}

.custom-file-upload.position {
  top: -45px;
}

.file-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  border-radius: 15px;
  background: var(--gray-primary);
  color: var(--white-primary);
  font-family: var(--font-travels-medium);
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  height: 2.3em;
  text-align: center;
  padding: 0.525em 1.2em;
  transition: background 0.3s;
  width: 28em;
}

.file-upload-label:hover {
  background: var(--gray-secondary);
}

.contact-links {
  margin-top: 95px;
  gap: 90px;
  /* flex-wrap: wrap; */
  white-space: nowrap;
}

.contact-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--white-primary);
  font-family: var(--font-travels-demibold);
  font-weight: 500;
  font-size: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.contact-link:hover {
  color: var(--yellow-primary);
}

.about-section {
  background-color: var(--white-primary);
  padding-top: 180px;
  padding-bottom: 280px;
}

.about-container {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  /* column-gap: 30px; */
  align-items: center;
  width: 100%;
}

.about-left {
  grid-column: 1 / 6;
}

.about-right {
  grid-column: 6 / 13;
  display: flex;
  justify-content: flex-end;
}

.about-title {
  font-family: var(--font-travels-bold);
  font-weight: 700;
  font-size: 48px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--black-primary);
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 27px;
}

.about-paragraphs p {
  font-family: var(--font-travels-medium);
  font-weight: 500;
  font-size: 24px;
  line-height: 100%;
  color: var(--black-primary);
}

.about-bgimg {
  border-radius: 10px;
  width: 730px;
  height: 459px;
  object-fit: cover;
}

.about-logos {
  margin-top: 91px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 35px;
  width: 100%;
}

.about-logos img {
  height: auto;
  max-height: 80px;
  object-fit: contain;
}

.about-certificates {
  margin-top: 77px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 112px;
  width: 100%;
}

.about-certificates img {
  width: 409px;
  height: 235px;
  object-fit: contain;
}

.about-certificates-540 {
  display: none;
}

/* ==========================
    OFFER
========================== */

.offer-section {
  background: var(--white-primary);
  padding-bottom: 280px;
}

.offer-title {
  font-family: var(--font-travels-bold);
  font-weight: 700;
  font-size: 48px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--black-primary);
  text-align: center;
}

.offer-carousel {
  position: relative;
  margin-top: 68px;
}

.offer-carousel .owl-dots {
  position: relative;
  z-index: 10;
  display: flex !important;
  justify-content: center;
  gap: 13px;
}

.offer-carousel .owl-dot {
  width: 12px;
  height: 12px;
  background-color: rgba(217, 217, 217, 1);
  border-radius: 50%;
  border: none;
  transition: all 0.3s ease;
  transform: scale(1);
}

.offer-carousel .owl-dot.active {
  background-color: rgba(0, 0, 0, 1);
}

.owl-carousel .owl-dots {
  display: flex !important;
}

.offer-card {
  background: var(--black-primary);
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  padding: 0 0 54px 0;
}

.offer-img {
  border-radius: 10px 10px 0 0;
  background-size: cover;
}

.offer-card-title {
  font-family: var(--font-travels-demibold);
  font-weight: 600;
  font-size: 32px;
  text-transform: uppercase;
  color: var(--white-primary);
  margin-top: 37px;
  padding-left: 57px;
}

.offer-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
  padding-left: 57px;
}

.offer-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.offer-list li p {
  font-family: var(--font-travels-medium);
  font-weight: 500;
  font-size: 24px;
  color: var(--white-primary);
  white-space: nowrap;
}

.custom-offer-button {
  display: flex;
  margin: 0 auto;
  width: 463px;
  height: 99px;
  align-items: center;
  font-family: var(--font-travels-bold);
  font-size: 24px;
  padding: 35px 79px 35px 79px;
}

/* ==========================
    REVIEWS
========================== */
.opinie-section {
  background: var(--black-primary);
  display: flex;
  justify-content: center;
}

.content-container {
  width: 1480px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.opinie-title {
  margin-top: 201px;
  font-family: var(--font-travels-bold);
  font-weight: 700;
  font-size: 48px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--white-primary);
  text-align: center;
}

.opinie-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  width: 100%;
  max-width: 1480px;
  margin-top: 103px;
  margin-bottom: 102px;
  justify-content: center;
}

.opinie-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding: 0 60px;
}

.opinie-card {
  position: relative;
  display: flex;
  justify-content: center;
}

.opinie-yellow {
  position: relative;
  border-radius: 10px;
  width: 604px;
  height: 345px;
  background: var(--yellow-primary);
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.opinie-white {
  position: absolute;
  top: -45px;
  right: -18px;
  background: var(--white-primary);
  border-radius: 10px;
  width: 175px;
  height: 89px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.opinie-white img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.opinie-content h3 {
  font-family: var(--font-travels-extrabold);
  font-weight: 800;
  font-size: 32px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--black-primary);
}

.opinie-content p {
  margin-top: 10px;
  font-family: var(--font-travels-medium);
  font-weight: 500;
  font-size: 24px;
  line-height: 100%;
  color: var(--black-primary);
}

/* ==========================
    BLOG
========================== */
.blog-section {
  background: var(--white-primary);
}

.content-container {
  width: 1480px;
  margin: 0 auto;
}

.blog-title {
  font-family: var(--font-travels-bold);
  font-weight: 700;
  font-size: 48px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--black-primary);
}

.blog-menu {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  margin-top: 71px;
}

.blog-tab {
  font-family: var(---font-travels-demibold);
  font-weight: 600;
  font-size: 24px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--black-primary);
  position: relative;
  cursor: pointer;
}

.blog-tab.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 7px;
  background: var(--yellow-primary);
}

.blog-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 54px;
  margin-top: 123px;
}

/*.blog-text {
    width: 882px;
}*/

.blog-text h3 {
  font-family: var(--font-travels-extrabold);
  font-weight: 800;
  font-size: 36px;
  line-height: 100%;
  color: var(--black-primary);
}

.blog-text p {
  font-family: var(--font-travels-medium);
  font-weight: 500;
  font-size: 24px;
  line-height: 120%;
  color: var(--black-primary);
  margin-top: 24px;
}

.blog-image img {
  border-radius: 15px;
  width: 544px;
  height: 350px;
  margin-top: 46px;
  object-fit: cover;
}

.blog-tab-content {
  display: none;
}

.blog-tab-content.active {
  display: block;
}

/* BLOG CARDS
.blog-cards {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    margin-top: 242px;
    margin-bottom: 83px;
}

.blog-card {
    background: var(--primary-black);
    border-radius: 15px;
    width: 471px;
    height: 563px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: var(--black-primary);
}

.blog-card img {
    border-radius: 15px 15px 0 0;
    width: 471px;
    height: 250px;
    object-fit: cover;
}

.blog-card-content {
    display: flex;
    flex-direction: column;
    padding: 34px;
    gap: 25px;
}

.blog-card-content h4 {
    font-family: var(--font-travels-extrabold);
    font-weight: 800;
    font-size: 24px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--white-primary);
}

.blog-card-content p {
    font-family: var(---font-travels-medium);
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    color: var(--white-primary);
}

.blog-card-button {

    padding: 0.9em 2em;

}*/

.blog-card {
  background: var(--black-primary);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  
}

.blog-card img {
  border-radius: 15px 15px 0 0;
  width: 100%;
  object-fit: cover;
  height: 220px;
}

.blog-card-content {
  padding: 34px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 25px;
}

.blog-card-content a:hover{
    color: var(--black-primary);
    text-decoration: none;

}

.blog-card-content h4 {
  font-family: var(--font-travels-extrabold);
  font-weight: 800;
  font-size: 24px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--white-primary);
}

.blog-card-content p {
  font-family: var(--font-travels-medium);
  font-weight: 500;
  font-size: 20px;
  color: var(--white-primary);
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  flex: 1;
  line-height: 120%;
  max-height: 120px;
  overflow: hidden;
  width: 403px;
}

.blog-card-button {
  margin-top: auto;
}

.section-mobile-blog {
  margin-top: 500px;
}

.owl-carousel .blog-card {
  height: 563px;
}

.carousel-nav {
  font-size: 48px;
  color: white;
  cursor: pointer;
  padding: 0 20px;
}

.post-content {
  font-size: 24px;
  line-height: 1.7;
  color: var(--black-primary, #333);
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-family: var(--font-travels-medium);
  line-height: 120%;
}

.post-content p {
  font-family: var(--font-travels-medium);
}

.post-content img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 10px;
}

.owl-nav {
  position: absolute;
  top: 45%;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.title-post-detail {
  font-family: var(--font-travels-extrabold);
  font-size: 36px;
}

/* ==========================
   FOOTER
========================== */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 101px;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-top: 87px;
}

.footer-link {
  font-size: 24px;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: var(--font-travels-trl-demibold);
  font-weight: 600;
  color: var(--gray-tertiary);
}

.footer-link:hover {
  color: var(--yellow-primary);
}

.footer-logo {
  margin-top: 42px;
}

.footer-logo img {
  height: 50px;
  width: auto;
  display: block;
}

.owl-carousel {
  margin-bottom: 70px;
}

.blog-content {
  padding: 0;
}

.owl-carousel .blog-card-button {
  padding: initial !important;
  height: 70px;
  margin-bottom: 20px;
}

.owl-dots {
  z-index: 555;
  position: absolute;
  width: 100%;
  height: 24px;
  bottom: -40px;
  gap: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.owl-carousel button.owl-dot {
  background: 0 0;
  color: inherit;
  border: none;
  padding: 0 !important;
  font: inherit;
  width: 24px;
  height: 24px;
  background-color: #d9d9d9;
  border-radius: 100px;
}

.owl-carousel button.owl-dot.active {
  background-color: rgba(0, 0, 0, 1);
}

.owl-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.owl-dot {
  width: 12px;
  height: 12px;
  background-color: rgba(217, 217, 217, 1);
  border-radius: 50%;
}

.owl-dot.active {
  background-color: rgba(0, 0, 0, 1);
}

.created-post-mobile{
    font-family: var(--font-travels-medium);
    font-size: 20px;
}

.one-post-section{
    background-color: var(--white-primary);
}

.cont-card{
    margin-top: 130px;
}

.container-posts-details-blog img{
    border-radius: 15px;
    object-fit: cover;
    height: 575px;
}

.mobile-only {
  display: none;
}

.blog-section{
    background-color: var(--white-primary);
    padding-top: 156px;
    padding-bottom: 146px;
}

.blog-details-section{
    background-color: var(--white-primary);
    padding-top: 156px;
    padding-bottom: 156px;
}

.container-aktual-i-wiedza{
    padding-top: 158px;
}

@media (max-width: 1600px) {
  .contact-links {
    flex-wrap: wrap;
  }

  .opinie-grid {
    gap: 0;
  }
}

@media (min-width: 1025px) and (max-width:1580px) {
  .container {
      scale: 90%;
      transform-origin: top center;
  }
  .form-section2 {
      padding: 95px 0 0;
  }
  .about-section {
      padding-bottom: 200px;
  }
  .offer-section .owl-stage {
      scale: 80%;
  }
  .offer-section .owl-carousel {
    margin: 0;
  }
  .offer-section .owl-dots {
    bottom: 30px;
  }

  .blog-section {
    padding-top: 0;
    padding-bottom: 0;
  }
  .offer-section {
    padding-bottom: 180px;
  }
}

@media (max-width: 1400px) {
  .header-contacts .contact-list a {
    font-size: 16px;
  }

  .header-nav .nav-list a {
    font-size: 20px;
  }

  .header-in-logo .inner-logo {
    right: auto;
  }

  .hero-section h1 {
    font-size: 58px;
  }

  .hero-section .subtitle {
    font-size: 28px;
  }

  .primary-button {
    font-size: 20px;
    width: 400px;
    height: 70px;
  }

  .hero-info-item p {
    font-size: 20px;
  }

  .about-section {
    padding-bottom: 157px;
  }

  .about-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .about-title {
    text-align: center;
  }

  .about-left {
    padding-left: 200px;
    padding-right: 200px;
  }

  .about-logos {
    padding-right: 200px;
    padding-left: 200px;
    gap: 20px;
  }

  .about-certificates {
    gap: 50px;
  }

  .about-certificates img {
    width: 300px;
  }

  .offer-section .container {
    display: none;
    padding-bottom: 0px;
  }

  .opinie-grid {
    gap: 20px;
  }

  .opinie-column {
    gap: 24px;
    padding: 0;
  }

  .opinie-yellow {
    width: 504px;
  }

  .opinie-content h3 {
    font-size: 28px;
  }

  .opinie-content p {
    font-size: 22px;
  }

  .secondary-button {
    font-size: 20px;
  }

  .blog-tab {
    font-size: 20px;
  }

  .blog-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .content-container {
    width: auto;
  }
}

@media (max-width: 1200px) {
  .hero-bilder {
    display: none;
  }

  .header-nav .nav-list {
    gap: 25px;
  }

  .about-certificates {
    gap: 20px;
  }

  .form-row {
    gap: 0;
  }

  .opinie-grid {
    gap: 30px;
  }
}

@media (max-width: 1024px) {
  .opinie-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 992px) {
  .hero-section h1 {
    font-size: 48px;
  }
  .offer-section {
    padding-bottom: 120px;
  }
  .header-nav,
  .header-contacts,
  .header-in-logo {
    display: none !important;
  }

  .header-logo .logo-img {
    margin-left: auto;
    width: 102px;
    height: auto;
  }

  .hero-header-container .mob-between {
    justify-content: space-between;
  }

  .opinie-card {
    padding: 30px;
  }

  .about-certificates img {
    width: 30%;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .header-contacts {
    display: none;
  }

  .header-in-logo {
    display: none;
  }

  .hero-section {
    height: auto;
    padding-top: 80px;
    text-align: center;
    position: relative;
    overflow: visible;
  }

  .hero-section h1 {
    font-size: 40px;
    margin-top: 96px;
    text-align: center;
  }

  .hero-section .subtitle {
    font-size: 24px;
    text-align: center;
    margin-top: 20px;
  }

  .hero-bilder,
  .hero-ribbon-white,
  .hero-ribbon-yellow {
    display: none;
  }

  .hero-bilder-mobile {
    display: block;
    position: relative;
    margin: 40px auto 0;
    width: 100%;
    max-width: 540px;
    height: auto;
    z-index: 3;
  }

  .hero-info {
    top: 72%;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-gradient {
    display: none;
  }

  .hero-gradient-mobile540 {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 401px;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 100%
    );
    z-index: 4;
    pointer-events: none;
  }

  .hero-ribbons-mobile {
    display: block;
    position: absolute;
    bottom: -320px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    pointer-events: none;
    width: 100%;
  }

  .form-section2 {
    padding: 256px 0 106px;
  }

  .form-section7 {
    padding: 0px 0 37px !important;
  }

  .form-container {
    max-width: 374px;
    margin: 0 auto;
    padding-right: 0px;
    padding-left: 0px;
  }

  .form-title-custom-container {
    padding-left: 0px;
    padding-right: 0px;
  }

  .form-title {
    margin-top: 123px;
    font-size: 36px;
    line-height: 100%;
    text-align: center;
  }

  .form-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .form-column {
    width: 100%;
    gap: 12px;
  }

  .mobile-button-form{
    margin-top: 24px;
  }

  .primary-input,
  .primary-textarea,
  .custom-dropdown-toggle,
  .file-upload-label {
    font-size: 20px;
  }

  .primary-input,
  .custom-dropdown-toggle {
    height: 73px;
  }

  .form-group {
    margin-bottom: 0;
    margin-top: 0 !important;
  }

  .primary-textarea {
    height: 150px;
  }

  .custom-dropdown-menu li {
    font-size: 18px;
  }

  .primary-button {
    max-width: 100%;
    margin: 20px auto;
    height: 56px;
    display: flex;
    font-size: 24px;
    justify-content: center;
    align-items: center;
  }

  .contact-links {
    flex-direction: column;
    gap: 18px;
    margin-top: 92px;
    width: 100%;
  }

  .contact-link {
    font-size: 24px;
    gap: 8px;
  }

  .contact-link svg {
    width: 38px;
    height: 38px;
  }

  .custom-file-upload {
    top: 0;
  }

  .file-upload-label {
    width: 100%;
    height: auto;
    padding: 0.8em 1em;
  }

  .custom-svg-form {
    width: 38px;
    height: 38px;
  }

  .about-section {
    padding-top: 60px;
    padding-bottom: 63px;
  }

  .about-container {
    margin: 0 auto;
    align-items: center;
  }

  .about-row {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }

  .about-left,
  .about-right {
    width: 100%;
    padding: 0;
  }

  .about-title {
    margin-top: 60px;
    font-size: 36px;
    text-align: left;
  }

  .about-paragraphs {
    margin-top: 24px;
    gap: 12px;
  }

  .about-paragraphs p {
    font-size: 20px;
    line-height: 100%;
    text-align: left;
  }

  .about-bgimg {
    border-radius: 10px;
    width: 100%;
    height: 459px;
    object-fit: cover;
  }

  .about-logos {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
    column-gap: 28px;
    justify-items: center;
    align-items: center;
    padding: 0;
  }

  .about-logos img {
    max-width: 120px;
    height: auto;
    object-fit: contain;
  }

  .about-certificates {
    margin-top: 63px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .about-certificates {
    display: none;
  }

  .about-certificates-540 {
    display: flex;
    flex-direction: column;
    margin-top: 65px;
    gap: 24px;
  }

  .opinie-section {
    height: auto;
    padding: 80px 0;
  }

  .content-container {
    width: 374px;
    margin: 0 auto;
    align-items: center;
  }

  .opinie-title {
    margin-top: 0;
    font-size: 36px;

    text-align: left;
  }

  .opinie-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
    gap: 54px;
  }

  .opinie-column {
    padding: 0;
    gap: 54px;
    width: 100%;
  }

  .opinie-yellow {
    width: 374px;
    height: 344px;
    padding: 40px 30px;
  }

  .opinie-white {
    width: 117px;
    height: 59px;
    top: -30px;
    right: 0;
  }

  .opinie-white img {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .opinie-content h3 {
    font-size: 24px;
  }

  .opinie-content p {
    margin-top: 10px;
    font-size: 20px;
    line-height: 120%;
  }

  .opinie-content .secondary-button {
    margin-top: 20px;
    font-size: 20px;
    padding: 25px 32px;
  }

  .blog-section {
    height: auto;
    padding-bottom: 184px;
    padding-top: 91px;
  }

  .blog-details-section{
    padding-top: 91px;
    padding-bottom: 120px;
  }

  .container-posts-details-blog img{
    height: 249px;
  }

  .content-container {
    width: 100%;
    max-width: 374px;
    margin: 0 auto;
  }

  .blog-title {
    font-size: 36px;
    line-height: 110%;
    margin-top: 0px;
    text-align: left;
  }

  .blog-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-top: 64px;
  }

  .blog-tab {
    font-size: 20px;
    line-height: 100%;
    font-family: var(--font-travels-demibold);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--black-primary);
    cursor: pointer;
    position: relative;
    text-align: left;
  }

  .blog-tab.active::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 7px;
    background: var(--yellow-primary);
  }

  .blog-content {
    margin-top: 64px;
    padding: 0;
  }

  .blog-tab-content {
    display: none;
    width: 100%;
  }

  .blog-tab-content.active {
    display: block;
  }

  .blog-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    margin-top: 0px;
  }

  .blog-text {
    width: 100%;
  }

  .blog-text h3 {
    font-family: var(--font-travels-extrabold);
    font-size: 24px;
    line-height: 100%;
    text-align: left;
    color: var(--black-primary);
  }

  .blog-text p {
    font-family: var(--font-travels-medium);
    font-size: 20px;
    line-height: 120%;
    color: var(--black-primary);
    margin-top: 28px;
    text-align: left;
  }

  .blog-image img {
    width: 100%;
    height: 249px;
    border-radius: 15px;
    margin-top: 0px;
    object-fit: cover;
  }

  .blog-cards {
    display: none;
  }

  .footer {
    padding-bottom: 0px;
    max-width: 374px;
    margin: 0 auto;
  }

  .footer-logo {
    order: -1;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 0;
  }

  .footer-logo img {
    margin: 0 auto;
  }

  .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0;
    margin: 62px auto 0 auto;
  }

  .footer-link {
    font-size: 20px;
    width: calc(50% - 10px);
    text-align: left;
    margin-bottom: 16px;
  }

  .owl-carousel {
    margin-top: 120px;
    margin-bottom: 90px;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
  }

  .owl-carousel .primary-button {
    height: 70px;
    width: 100% !important
  }

  .file-upload-label {
    margin-top: 8px;
  }

  .blog-mobile {
    display: flex;
    justify-content: end;
  }
  .oferta-mobile {
    display: flex;
    justify-content: end;
  }
  
  .blog-card-content p{
    font-size: 18px;
    width: 320px;
    margin-bottom: 0;
  }

  .owl-carousel .blog-card-button{
    margin-bottom: 0;
  }

  .blog-card-content h4{
    font-size: 20px;
    width: 184px;
  }

  .owl-carousel button.owl-dot{
    width: 16px;
    height: 16px;
  }

  .created-post-mobile{
    font-size: 18px;
  }
  .title-post-detail{
    font-size: 24px;
  }
  
  .post-content {
    font-size: 20px;
  }

  .mobile-margin-blog{
    margin-top: 400px;
  }

  .cont-card{   
    margin-top: 120px;
  }

  .owl-carousel .blog-card{
    height: 580px;
  }

  .mobile-only {
    display: block;
  }

  .container-aktual-i-wiedza{
    padding-top: 0;
  }

  .hero-info-content{
    padding-left: 42px;
    padding-top: 68px;
  }
  .hero-info-item p{
    font-size: 24px;
    text-align: start;
  }
}
@media (max-width: 576px) {
  .offer-section {
    display: none;
  }
}
@media (max-width: 540px) {

  .hero-ribbons-mobile {
    bottom: -380px;
  }
}

@media (max-width: 426px) {
  .contact-links {
    white-space: normal;
  }

  .opinie-card {
    padding: 0;
  }
}

@media (max-width: 375px) {
  .hero-info {
    top: 80%;
    right: 3%;
  }

  .hero-section h1 {
    font-size: 32px;
  }

  .hero-info-bg {
    width: 320px;
  }

  .form-title {
    font-size: 30px;
  }

  .hero-ribbons-mobile {
    bottom: -370px;
  }

  .opinie-yellow {
    width: auto;
    height: auto;
  }

  .primary-button {
    font-size: 18px;
  }
  .hero-info-content {
    padding-top: 16px;
  }
  .hero-info-content {
    gap: 10px;
  }
  .content-container {
    margin: 10px;
  }
}

.container {
  max-width: 1480px;
}
