@font-face {
  font-family: "Century Gothic";
  src: url("../fonts/Century Gothic.eot"); /* IE9 Compat Modes */
  src: url("../fonts/Century Gothic.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/Century Gothic.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/Century Gothic.woff")
      format("woff"),
    /* Pretty Modern Browsers */ url("../fonts/Century Gothic.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/Century Gothic.svg#Century Gothic")
      format("svg"); /* Legacy iOS */
}

@font-face {
  font-family: "CenturyGothic-Bold";
  src: url("../fonts/CenturyGothic-Bold.eot"); /* IE9 Compat Modes */
  src: url("../fonts/CenturyGothic-Bold.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/CenturyGothic-Bold.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/CenturyGothic-Bold.woff")
      format("woff"),
    /* Pretty Modern Browsers */ url("../fonts/CenturyGothic-Bold.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/CenturyGothic-Bold.svg#CenturyGothic-Bold") format("svg"); /* Legacy iOS */
}

* {
  margin: 0;
  padding: 0;
}

body {
  text-align: center;
  font-family: "Century Gothic", CenturyGothic, Geneva, AppleGothic, sans-serif;
}

html {
  -webkit-font-smoothing: antialiased;
  font-size: 100%;
  scroll-behavior: smooth;
}

img {
  width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: #282929;
}
h1{
  text-align: center;
}
h2 {
  color: #2969b0;
  font-size: 34px;
  letter-spacing: 2px;
  padding: 50px 0px 20px 0px;
  font-family: "CenturyGothic-Bold", CenturyGothic, Geneva, AppleGothic,
    sans-serif;
  text-align: center;
}

h3 {
  color: #ffffff;
  font-size: 22px;
  padding-bottom: 10px;
  text-align: center;  
}
h4{
  text-align: center;
}
p, li {
  letter-spacing: 1px;
  color: #282929;
  line-height: 30px;
  text-align: center;
}

.clearfix {
  clear: both;
  padding: 30px;
}

.clearfix2 {
  clear: both;
}

header {
  width: 100%;
  height: 100px;
  background-color: #ffffff;
  box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.1);
}

#header-inner {
  margin-top: 2px;
}

#hamburger-icon {
  display: none;
  width: 40px;
  float: right;
  height: 60px;
  margin: 32px auto;
  position: relative;
}

#hamburger-icon span {
  display: block;
  position: absolute;
  height: 1px;
  width: 100%;
  opacity: 1;
  left: 0;
  background-color: #282929;
  cursor: pointer;
}

#hamburger-icon span:nth-child(1) {
  top: 0px;
}

#hamburger-icon span:nth-child(2) {
  top: 10px;
  margin-top: 5px;
}

#hamburger-icon span:nth-child(3) {
  top: 20px;
  margin-top: 10px;
}

#logo {
  float: left;
  background-image: url(../images/logo.svg) no-repeat;
  width: 230px;
  height: 70px;
  cursor: pointer;
  /* margin-top: 12px; */
}

#topButton {
  height: 100px;
  width: 100px;
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  cursor: pointer;
  padding: 15px;
  transition: all 3s ease;
}

/*---Start Navigation---*/

nav {
  float: right;
}

ul {
  list-style-type: none;
}

nav ul li {
  font-family: "Century Gothic", CenturyGothic, Geneva, AppleGothic, sans-serif;
  font-size: 90%;
  letter-spacing: 2px;
  display: inline-block;
  float: left;
  /* padding: 36px 0 0 45px; */
  font-weight: bolder;
  padding: 16px;
}
nav ul li .tests{
  color: #ff5400eb;
}
nav ul li:hover{
  color: #626262eb;
  text-decoration: wavy underline #62626291 2px;
  text-underline-offset: 5px;
}
nav ul li .tests:hover{
  color: #ff5804;
  text-decoration: wavy underline #ff5500bc 2px;
  text-underline-offset: 5px;
}

nav ul li a {
  color: #282929;
}

nav ul li a:hover {
  color: #6fd2ff;
  transition: background-color 500ms, color 500ms;
}

/*---End Navigation---*/

/*---Start Banner---*/

.banner {
  width: 100%;
  height: 520px;
  padding-bottom: 20%;
  background-image: url(../images/banner.webp);
  background-attachment: fixed;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
}

/*---End er---*/

/*---Start Courses Section---*/

.courses {
  background-color: #2969b0;
  width: 100%;
  height: auto;
}

.courses h2 {
  color: white;
}

.courses p {
  color: white;
}

.one,
.two,
.three,
.four {
  height: 100px;
  width: 100px;
}

.click {
  outline: none;
  background-color: #ffffff;
  border: none;
  margin-bottom: 50px;
  border-radius: 40px;
  padding: 20px 60px;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  color: #2969b0;
}

/*---End Courses Section---*/

/*---Start List Section---*/

.blist {
  width: 80%;
  margin: 0 auto;
  padding: 20px 0px 40px 0px;
}

.blist2 {
  width: 100%;
  height: 100%;
  padding-bottom: 20%;
  background-image: url(../images/list.webp);
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
}

/*---End List Section---*/
/* --- Start Home policy ---*/
.home.courses h3{
  /* -webkit-text-stroke: .3px rgb(254, 254, 254); */
  font-weight: bold;
}
/* --- End Home policy ---*/
/* --- Start Privacy policy ---*/
.privacy-page p{
  text-align: left;
}
.privacy-page ul {
  text-align: left;
  list-style-type: disc;
}
.privacy-page li{
  text-align: left;
}
/* --- End Privacy policy ---*/

/* Home page */
#language-tests {
  background-color: #f9fafc;
  border-radius: 10px;
}

.flag-icon {
  width: 60px;
  height: auto;
  transition: transform 0.3s ease;
}

.test-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.test-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

#language-tests .btn-primary {
  background-color: #2969b0;
  border-color: #2969b0;
}

#language-tests .btn-primary:hover {
  background-color: #1f528b;
  border-color: #1f528b;
}



/*Tests*/
.free-test{
  /* boja pozadine da prati na google formi */
  background-color: rgba(240, 235, 248, 0.5);
}



/*---Start Footer---*/

footer {
  background-color: #282929;
  height: auto;
}

footer p {
  color: white;
  float: right;
  margin-top: 4px;
}

footer .privacy{
  font-weight: bold;
  text-decoration: unset;
}

footer .inweb{
  color: #DA1C2F !important;
  text-decoration: unset;
}

.f-icons {
  float: left;
  width: 46px;
  height: 46px;
  cursor: pointer;
  margin-bottom: 13px;
}

.footer-inner {
  padding: 15px 0px;
}

.footer-inner a {
  color: white;
}

/*---End Footer---*/

/*---COURSES PAGE---*/

.banner2 {
  width: 100%;
  height: 520px;
  padding-bottom: 20%;
  background-image: url(../images//banner2.webp);
  background-attachment: fixed;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
}

.bold-text {
  font-weight: bold;
}

/* --- Card --- */

.courses-text {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.bold-text {
  font-weight: 700;
  color: #2969b0;
}

.courses-grid {
  margin-bottom: 30px;
}

/* flex */
.courses-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* CENTRIRANO */
  align-items: stretch;
  gap: 30px;
  margin: 0 auto;
  margin-bottom: 25px;
}

/* Stil za svaku karticu unutar kontejnera */
.courses-grid {
  margin-bottom: 0;
  width: 100%;
}

/* Medijski upit za desktop */
@media (min-width: 768px) {
  .courses-container {
    width: 1170px;
  }
  .courses-grid {
    width: calc(50% - 15px);
  }
}
/* / Flex */

.card {
  border: none;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  padding: 20px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
}
.card .first-p {
  min-height: 130px;
}

.card-inner {
  padding: 25px;
  position: relative;
}

.card h3 {
  color: #2969b0;
  margin-bottom: 15px;
  font-weight: 700;
}

.flag {
  height: 100px;
  width: 100px;
  margin: 20px 0;
}

.card p {
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.bottom-card {
  background-color: #f7f7f7;
  padding: 20px;
  border-radius: 8px;
  margin-top: 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out,
    opacity 0.5s ease;
  opacity: 0;
}

.bottom-card.open {
  max-height: 500px;
  opacity: 1;
}

.bottom-card h4 {
  color: #e74c3c;
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: 600;
}

.bottom-card p {
  margin-bottom: 10px;
}

.toggle-btn {
  background-color: #2969b0;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 40px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
  margin-top: 15px;
  font-size: 16px;
}

.toggle-btn:hover {
  background-color: #1f4d80;
}

#topButton {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  z-index: 1000;
}

#topButton a {
  display: block;
  width: 50px;
  height: 50px;
  /* background-color: #2969b0; */
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); */
  background-color: none;
}

#topButton img {
  /* width: 24px;  
  height: 24px; */
  width: auto;
  height: 100%;
  vertical-align: middle;
}
.language-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.language-nav a {
  background: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  color: #2969b0;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.language-nav a:hover {
  background: #2969b0;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(41, 105, 176, 0.3);
}
/*---FAQ PAGE---*/

.questions {
  padding: 60px 0px 20px 0px;
}

.questions h3 {
  /* text-align: justify; */
  color: #282929;
}

.questions h4 {
  /* text-align: justify; */
  color: #282929;
}

.questions p {
  /* text-align: justify; */
  padding-bottom: 30px;
}

/*---ECL PAGE---*/
.ecl-logo {
  height: 300px;
  width: 300px;
  margin: 0 auto;
}

.ecl-upp {
  padding-top: 60px;
}

.left-ecl {
  float: left;
  width: 35%;
}

.right-ecl {
  float: right;
  width: 60%;
}

.right-ecl h3 {
  text-align: justify;
  color: #282929;
  padding-bottom: 30px;
}

.ecl-left-text p {
  text-align: left;
  padding-bottom: 30px;
}

.right-ecl p {
  text-align: justify;
}

.ecl-down p {
  text-align: justify;
  padding-bottom: 30px;
}

/*---CONTACT PAGE---*/

.contactText {
  padding: 50px 0px 30px 0px;
}

.contact-icons {
  margin: 0 auto;
  width: 100%;
}

.icon-left {
  float: left;
  width: 45%;
}

.icon-right {
  width: 45%;
  float: right;
}

.icon-left p,
.icon-right p {
  font-size: 20px;
  margin-bottom: 40px;
}

.contact-icons-style {
  height: 36px;
  width: 36px;
  margin-bottom: 20px;
}

.map-responsive {
  overflow: hidden;
  padding-bottom: 520px;
  position: relative;
  height: 0;
}
.map-responsive iframe {
  left: 0;
  top: 0;
  height: 520px;
  width: 100%;
  position: absolute;
  z-index: 0;
}
/* About page */
.about-page{
  padding: 50px 0;
}
.about-page h1{
  padding: 10px 0 25px !important;
  color: #2969b0;
  font-size: 45px;
  letter-spacing: 2px;
  padding: 50px 0px 20px 0px;
  font-family: "CenturyGothic-Bold", CenturyGothic, Geneva, AppleGothic, sans-serif;
}
.about-page h3{
  color: #282929;
  padding: 10px 0 25px;
}
.about-page .list{
  text-align: left;
  padding-bottom: 25px;
}
/* Responsive */
@media (max-width: 767px) {
  #top .container.d-flex {
    display: block !important;
  }
  .card {
    min-height: unset;
  }
  .card .first-p {
    min-height: unset;
  }
  .card-inner {
    padding: 20px;
  }

  .flag {
    width: 70px;
    height: 50px;
  }

  h2 {
    font-size: 2rem;    
  }

  .card h3 {
    font-size: 1.5rem;
  }

  .language-nav {
    flex-direction: column;
    align-items: center;
  }

  .language-nav a {
    width: 80%;
    text-align: center;
  }
}
