/*
Theme Name: Slovacadamy Theme
Version: 1.0
*/
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --primary: 0, 45, 98;
  --secondary: 212, 175, 55;
  --white: 255, 255, 255;
  --gray: 133, 133, 133;
  --input-border: 217, 217, 217;
  --background: 247, 247, 247;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
}

.top-bar-inner {
  background: rgba(var(--primary));
  padding: 4px 12px;
  text-align: center;
  color: rgba(var(--white));
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 16px;
}

.wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (max-width: 1600px) {
  .container {
    max-width: 1380px;
  }
}

@media (max-width: 1400px) {
  .container {
    max-width: 1280px;
  }
}

.btn-default {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 100%;
  padding: 12px 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  text-align: center;
}

.btn-primary {
  background-color: rgba(var(--secondary));
  color: rgba(var(--primary));
  border-radius: 3px;
  border: 1px solid rgba(var(--secondary));
}

.btn-primary-outlined {
  background-color: transparent;
  color: rgba(var(--secondary));
  border-radius: 3px;
  border: 1px solid rgba(var(--secondary));
}

.text-secondary {
  color: rgba(var(--secondary));
}

.text-primary {
  color: rgba(var(--primary))
}

.bg-primary {
  background: rgba(var(--primary));
}

.bg-secondary {
  background: rgba(var(--secondary));
}

h1 {
  font-size: 80px;
  line-height: 100%;
}

h2 {
  font-size: 48px;
  line-height: 120%;
  font-weight: 400;
}

h3 {
  font-size: 28px;
  line-height: 120%;
  font-weight: 600;

}

h2 strong {
  font-weight: 600;
}

/****Header****/
header.site-header {
  position: fixed;
  width: 100%;
  top: 40px;
  z-index: 100;
  padding: 12px 100px;
  background-color: transparent;
  transition: top 0.3s ease, background-color 0.3s ease;
}

header.site-header.is-scrolled {
  top: 0;
  background-color: rgba(var(--white));
}

.header-content {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.header-content nav {
  background-color: rgba(var(--white));
  padding: 8px;
  border-radius: 3px;
}

.header-content nav ul {
  display: flex;
  gap: 8px;
  list-style: none;
}

.header-content nav ul li {
  margin: 0;
  padding: 0;
}

.header-content nav ul li a {
  text-decoration: none;
  color: rgba(var(--primary));
  font-size: 18px;
  color: rgba(var(--gray));
  text-align: center;
  min-width: 90px;
  padding: 8px 16px;
  display: block;
  border-radius: 3px;
}

.header-content nav ul li.active a {
  background-color: rgba(var(--secondary));
  color: rgba(var(--primary));
  font-weight: 600;
}

/**Hero Banner**/
.hero-banner {
  background: linear-gradient(to right,
      rgba(var(--white)) 20%,
      rgba(var(--primary)));

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-banner:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background: url('assets/images/banner-bg.png');
  width: 100%;
  height: 100%;
}

.banner-btn {
  display: flex;
  gap: 8px;

}

.hero-banner-content {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-left: 100px;
}

.hero-banner-content .col-left {
  width: 47%;
}

.hero-banner-content .col-right {
  width: 53%;
}

.hero-banner-content h1,
.hero-banner-content h1 strong {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  color: rgba(var(--primary));
}

.hero-banner-content h1 strong {
  color: rgba(var(--secondary));
}

.hero-banner-content ul {
  padding: 16px 0 16px 32px;
}

.hero-banner-content ul li {
  color: rgba(var(--primary));
  font-size: 24px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  margin: 8px 0;
}

/****certification-slider-sec***/
.certification-slider-sec {
  padding: 100px 0;
  background: url('assets/images/gray-bg.png') no-repeat center center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

.certification-slider-sec:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(var(--white)));
}

.certification-slider-sec .heading-content {
  text-align: center;
}

.certification-slider-sec .heading-content h2 {
  font-weight: 300;
  color: rgba(var(--primary));
}

.certification-slider-sec .heading-content h2 strong {
  font-weight: 500;
}

.certification-slider-content {
  position: relative;
  margin: 48px auto 0;
  padding: 0 16px;
}

.certification-swiper {
  padding: 20px 0 10px;
}

.certification-swiper .swiper-slide {
  width: 260px;
  height: auto;
  padding: 16px;
  transition: all 0.3s ease;
}

.certification-item {
  border-radius: 12px;
  overflow: hidden;
  background: #e8e8e8;
  aspect-ratio: 1/1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: rotate(-4deg);
  margin-top: 25px;
  transition: all 0.3s ease;
}

.certification-swiper .swiper-slide.swiper-slide-next .certification-item,
.certification-swiper .swiper-slide.swiper-slide-prev .certification-item {
  margin-top: 0px;
  transition: all 0.3s ease;
}

.certification-swiper .swiper-slide.swiper-slide-next .certification-item,
.certification-swiper .swiper-slide.swiper-slide-next+.swiper-slide .certification-item {
  transform: rotate(4deg);
  transition: all 0.3s ease;
}

.certification-swiper .swiper-slide.swiper-slide-active {
  transform: scale(1.1) !important;
  transition: all 0.3s ease;
}

.certification-swiper .swiper-slide.swiper-slide-active .certification-item {
  transform: rotate(0deg);
  margin-top: -16px;
  transition: all 0.3s ease;
}

.certification-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.certification-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.certification-nav button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary));
  border: 1px solid rgba(var(--secondary));
  border-radius: 4px;
  color: rgba(var(--secondary));
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.certification-nav button:hover {
  background: rgba(var(--secondary));
  color: rgba(var(--primary));
}

.certification-nav button.swiper-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width:768px) {
  .certification-swiper .swiper-slide {
    width: 200px;
  }
}

/*****Counter section****/
.counter-sec {
  padding: 50px 0;
  background: linear-gradient(90deg, #0753AC 0%, #002D62 36.98%, #0753AC 78.37%, #002D62 111.2%);
}

.counter-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
}

.counter-content .counter-item {
  text-align: center;
  color: rgba(var(--white));
  position: relative;
}

.counter-content .counter-item:after {
  content: "";
  position: absolute;
  right: -50px;
  height: calc(100% - 40px);
  width: 3px;
  background-color: rgba(var(--white));
  top: 20px;
}

.counter-content .counter-item:last-child:after {
  display: none;
}

.counter-content .counter-item span {
  font-size: 48px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.counter-content .counter-item p {
  font-size: 16px;
  font-weight: 500;
}

/****Footer****/
.site-footer {
  padding: 0 30px 30px;
}

.footer-inner {
  background: rgba(var(--primary));
  border-radius: 24px;
  padding: 60px 50px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.1fr 1.1fr;
  gap: 40px;
}

.footer-logo img {
  max-height: 48px;
  width: auto;
}

.footer-tagline {
  font-size: 32px;
  font-weight: 600;
  line-height: 120%;
  color: rgba(var(--white));
  margin: 24px 0;
  max-width: 420px;
}

.footer-subscribe-form {
  display: flex;
  max-width: 480px;
  margin-bottom: 40px;
}

.footer-subscribe-form input {
  flex: 1;
  border: none;
  border-radius: 6px 0 0 6px;
  padding: 14px 16px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color: rgba(var(--primary));
  outline: none;
  min-width: 0;
}

.footer-subscribe-form input::placeholder {
  color: rgba(var(--gray));
}

.footer-subscribe-form .btn-subscribe {
  border: none;
  background: rgba(var(--secondary));
  color: rgba(var(--primary));
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.footer-subscribe-form .btn-subscribe:hover {
  opacity: 0.9;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  color: rgba(var(--white));
  text-decoration: none;
  transition: background 0.2s ease;
}

.footer-social .social-icon:hover {
  background: rgba(var(--secondary));
  color: rgba(var(--primary));
}

.footer-copyright {
  font-size: 13px;
  color: rgba(var(--white));
  font-weight: 400;
}

.footer-heading {
  font-size: 18px;
  font-weight: 400;
  color: rgba(var(--secondary));
  margin-bottom: 20px;
}

.footer-address {
  font-style: normal;
  font-size: 16px;
  line-height: 180%;
  color: rgba(var(--white));
  font-weight: 400;
}

.footer-address a {
  color: rgba(var(--white));
  text-decoration: underline;
  transition: color 0.2s ease;
}

.footer-address a:hover {
  color: rgba(var(--secondary));
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: rgba(var(--white), 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s ease;
}

.footer-links li a:hover {
  color: rgba(var(--secondary));
}

.footer-watermark {

  margin-bottom: 100px;
}

.footer-watermark img {
  width: 100%;
}

/*****Contact Section****/
.contact-sec {
  padding: 80px 0;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-content .col-left {
  width: 47%;
  padding-right: 100px;
}

.contact-content .col-right {
  width: 53%;
  border: 1px solid rgba(var(--input-border));
  border-radius: 12px;
  padding: 32px;
}

.contact-content .col-left h2 {
  font-size: 48px;
  font-weight: 400;
  line-height: 120%;
  color: rgba(var(--black));
}

.contact-content .col-left h2 strong {
  color: rgba(var(--primary));
  font-weight: 600;
}

.contact-content .col-left p {
  font-size: 16px;
  font-weight: 400;
  line-height: 180%;
  color: rgba(var(--black));
}

.contact-content .col-right form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-content .col-right h3 {
  margin-bottom: 24px;
}

.contact-content .col-right form input,
.contact-content .col-right form select {
  border: none;
  border-bottom: 1px solid rgba(var(--input-border));
  padding: 8px 0;
  width: 100%;
  height: 42px;
  font-size: 16px;
  border-radius: 0;
  outline: none;
  box-shadow: none;
}

.contact-content .col-right form .form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.contact-content .col-right form .form-col.mobile-field {
  width: calc(50% - 12px);
  flex-shrink: 0;
}

.contact-content .col-right form .form-col.mobile-field input {
  padding-left: 12px !important;
}

.contact-content .col-right form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(var(--input-border));
  border-radius: 3px;
}

.contact-content .col-right form textarea::placeholder {
  color: rgba(var(--gray));
}

.contact-content .col-right form button {
  width: 100%;
  padding: 10.5px 16px;
  border-bottom: 1px solid rgba(var(--input-border));
  border-radius: 0px;
}

.iti.iti--allow-dropdown {
  display: flex;

}

.iti__country-container {
  position: static !important;
}

/*****Left Right Section****/
.left-right-sec {
  padding: 100px 0;
  background: url('assets/images/gray-bg.png') no-repeat center center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

.left-right-sec:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(180deg, rgba(var(--white)), transparent);
}

.left-right-sec:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(180deg, transparent, rgba(var(--white)));
}

.left-right-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.left-right-content h2 {
  color: rgba(var(--primary));
}

.left-right-content .col-left,
.left-right-content .col-right {
  width: calc(50% - 30px);
}

.left-right-content .col-left {
  display: flex;
  justify-content: center;
}

.left-right-content ul {
  list-style-type: none;
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.left-right-content ul li {
  font-size: 16px;
  font-weight: 400;
  line-height: 180%;
  color: rgba(var(--black));
}

.img-animation-grid {
  --grid-size: 520px;
  --grid-gap: 16px;
  --cell-size: calc((var(--grid-size) - var(--grid-gap)) / 2);
  --img-start: 150px;
  position: relative;
  width: var(--grid-size);
  height: var(--grid-size);
}

.img-animation-grid .grid-cell {
  position: absolute;
  overflow: hidden;
  border-radius: 4px;
}

.img-animation-grid .grid-img {
  width: var(--img-start);
  height: var(--img-start);
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1), height 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.img-animation-grid .grid-img-top {
  top: 0;
  left: 0;
}

.img-animation-grid .grid-img-bottom {
  bottom: 0;
  right: 0;
}

.img-animation-grid .grid-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-animation-grid.is-visible .grid-img {
  width: var(--cell-size);
  height: var(--cell-size);
}

.img-animation-grid .grid-counter {
  width: var(--cell-size);
  height: var(--cell-size);
  background: rgba(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.6);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.55s ease;
}

.img-animation-grid .grid-cell:nth-child(2) {
  top: 0;
  right: 0;
}

.img-animation-grid .grid-cell:nth-child(3) {
  bottom: 0;
  left: 0;
}

.img-animation-grid.show-counters .grid-counter {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.img-animation-grid .stats-counter {
  text-align: center;
  color: rgba(var(--secondary));
}

.img-animation-grid .stats-counter .counter-value {
  font-size: 48px;
  font-weight: 600;
  line-height: 100%;
  display: block;
}

.img-animation-grid .stats-counter p {
  font-size: 14px;
  font-weight: 500;
  line-height: 140%;
  margin-top: 10px;
  text-transform: uppercase;
}

@media (max-width:992px) {
  .left-right-content {
    flex-direction: column;
    gap: 40px;
  }

  .left-right-content .col-left,
  .left-right-content .col-right {
    width: 100%;
  }

  .img-animation-grid {
    --grid-size: min(520px, 100%);
    margin: 0 auto;
  }
}

@media (max-width:480px) {
  .img-animation-grid {
    --grid-size: min(340px, 100%);
    --img-start: 120px;
  }

  .img-animation-grid .stats-counter .counter-value {
    font-size: 28px;
  }

  .img-animation-grid .stats-counter p {
    font-size: 11px;
  }
}

/*****Why Choose Section****/
.why-choose-sec {
  padding: 120px 0;
  background: url('assets/images/why-choose-us-bg.png');
  background-size: 100%;
  background-position: 0 -140px;
  background-repeat: no-repeat;
}

.why-choose-content {
  position: relative;
}

.why-choose-content h2 {
  font-size: 48px;
  font-weight: 500;
  line-height: 120%;
  color: rgba(var(--primary));
  margin-bottom: 48px;
  position: absolute;
  left: 0;
  top: 0;
}

.why-choose-content h2 strong {
  font-weight: 300;
  display: block;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, minmax(180px, auto));
  gap: 40px 24px;
}

.why-choose-item-content {
  max-width: 100%;
  padding: 20px;
  border-radius: 12px;
  height: 100%;
}

.why-choose-item-content:hover {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.why-choose-item-content img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  margin-bottom: 20px;
}

.why-choose-item-content h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 130%;
  color: rgba(var(--primary));
  margin-bottom: 10px;
}

.why-choose-item-content p {
  font-size: 15px;
  font-weight: 400;
  line-height: 160%;
  color: rgba(var(--primary));
}

.why-choose-item {
  height: 100%;
  min-height: 300px;
}

.why-choose-item.pos-1 {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
}

.why-choose-item.pos-2 {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
}

.why-choose-item.pos-3 {
  grid-column: 3;
  grid-row: 1;
  justify-self: center;
}

.why-choose-item.pos-4 {
  grid-column: 3;
  grid-row: 2;
  align-self: end;
}

.why-choose-item.pos-5 {
  grid-column: 4;
  grid-row: 1;
  justify-self: end;
}

.why-choose-item.pos-5 .why-choose-item-content {
  position: relative;
  top: 50px;
}

.why-choose-item.pos-2 .why-choose-item-content {
  position: relative;
  top: -50px;
}

/*****Course CTA Section****/
.course-cta-sec {
  background: rgba(var(--primary));
  margin-top: 80px;
  position: relative;
}

.course-cta-sec:after {
  content: "";
  position: absolute;
  background: url('assets/images/cta-bg.png') no-repeat center center;
  width: 70%;
  height: 100%;
  top: 0;
  right: 0;
  background-size: 100%;
  opacity: 0.2;
}

.course-cta-sec h2 {
  color: rgba(var(--white));
  font-weight: 600;
}

.course-cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.course-cta-content img {
  max-width: 200px;
  object-fit: contain;
}

.course-cta-content .cta-book-img {
  width: 100%;
  max-width: 400px;
  height: 400px;
  object-fit: cover;
  display: block;
  position: relative;
  top: -50px;
}

.course-cta-content .col-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.course-cta-content .col-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: end;
}

@media (max-width:1200px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 40px 24px;
  }

  .why-choose-item.pos-1,
  .why-choose-item.pos-2,
  .why-choose-item.pos-3,
  .why-choose-item.pos-4,
  .why-choose-item.pos-5 {
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
    justify-self: start;
  }
}

@media (max-width:768px) {
  .why-choose-sec {
    padding: 60px 0 80px;
  }

  .why-choose-content h2 {
    font-size: 36px;
    margin-bottom: 32px;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .why-choose-item.pos-1,
  .why-choose-item.pos-2,
  .why-choose-item.pos-3,
  .why-choose-item.pos-4,
  .why-choose-item.pos-5 {
    grid-column: 1;
  }

  .why-choose-item-content {
    max-width: 100%;
  }
}

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    background-color: rgba(var(--white));
    border-radius: 3px;
    padding: 12px 16px;
    border: 1px solid rgba(var(--input-border));
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }

  .footer-tagline {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 0 16px 24px;
  }

  .footer-inner {
    padding: 40px 24px 32px;
    border-radius: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-tagline {
    font-size: 24px;
  }

  .footer-subscribe-form {
    flex-direction: column;
    max-width: 100%;
  }

  .footer-subscribe-form input {
    border-radius: 6px;
  }

  .footer-subscribe-form .btn-subscribe {
    border-radius: 6px;
    width: 100%;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.banner-sub {
  background: #002D62;
  padding: 50px 100px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.banner-tag {
  display: flex;
  padding: 8px 12px;
  height: 40px;
  border-radius: 8px;
  background: #00224A;
  color: #D4AF37;
  font-size: 16px;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-bottom: 24px;
}

.banner-sub h1 {
  font-size: 50px;
  font-weight: 600;
  color: #fff;
}

.banner-sub h4 {
  font-size: 30px;
  margin-top: 7px;
  font-weight: 400;
  letter-spacing: 1;
  color: #fff;
}

.banner-course-info-main {
  display: flex;
  gap: 40px;
  margin-top: 24px;
}

.banner-course-info {
  display: flex;
  gap: 6px;
}