*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
hr,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figure,
figcaption,
hgroup,
menu,
footer,
header,
nav,
section,
summary,
time,
mark,
audio,
video,
button,
input,
textarea {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font-size: 100%;
  font-family: inherit;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s ease;
  -webkit-font-smoothing: antialiased;
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
  min-height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  text-decoration: underline;
  color: inherit;
}

img {
  vertical-align: top;
  border-style: none;
  max-width: 100%;
}

button {
  border-radius: 0;
}

button:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color;
}

ul,
ol {
  list-style-type: none;
}

body {
  font-family: "Saira", sans-serif;
  font-weight: normal;
  color: #272727;
}

.container {
  max-width: calc(100% - 40px);
  margin: 0 auto;
  padding-bottom: 20px;
}

@media (min-width: 540px) {
  .container {
    max-width: calc(100% - 70px);
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 730px;
  }
}
@media (min-width: 940px) {
  .container {
    max-width: 1120px;
    width: calc(100% - 55px);
  }
}
@media (min-width: 900px) {
  .container {
    pointer-events: auto;
    padding-bottom: 30px;
  }
}
.container .intro {
  margin-bottom: 1rem;
}

/*HEADER*/
header .container {
  padding-bottom: 0;
}

header {
  background: #f6f6f6;
  background: linear-gradient(180deg, #f6f6f6 0%, white 100%);
}

@media (min-width: 768px) {
  header {
    -webkit-box-shadow: 0px 2px 9px 0px rgba(1, 62, 101, 0.13);
    position: relative;
    z-index: 10;
  }
}
.logo-wrap {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo-wrap .logo-site {
  font-size: 0;
  margin-bottom: 0;
  margin-left: 20px;
}

.logo-wrap .mobile-nav {
  display: flex;
  align-items: center;
}

.logo-wrap .mobile-nav .icon-bars {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid #013e65;
  border-radius: 12px;
  background-image: url(https://medicool.ro/wp-content/themes/medicool/images/icon-menu.svg);
  background-position: center center;
  background-repeat: no-repeat;
  margin-left: 12px;
}

span.antena-brand {
  width: 13px;
  height: 50px;
  display: block;
  position: absolute;
  top: 9px;
  left: 0px;
  margin-left: 0;
  background: url(https://medicool.ro/wp-content/themes/medicool/images/antena.png) no-repeat;
  background-size: contain;
  text-indent: -9999px;
}

nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100%;
  visibility: hidden;
  transform: translateX(-20%);
  opacity: 0;
  transition: all 0.3s;
  z-index: 1500;
}

.open-nav {
  visibility: unset;
  opacity: 1;
  transform: translateY(0);
}

nav#nav {
  background: #013e65;
  background: linear-gradient(0deg, #013e65 40%, #42a7c0 92%, #5ecce7 100%);
  color: #ffffff;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
}

.header-menu {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-menu .container {
  padding-bottom: 0;
}

nav#nav .logo-wrap {
  padding: 10px 0 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav#nav .logo-wrap .mobile-nav {
  display: flex;
}

nav#nav .logo-wrap .mobile-nav #exit-btn {
  width: 44px;
  height: 44px;
  margin-left: 6px;
  margin-top: 2px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ffffff;
  border-radius: 12px;
  background-image: url(https://medicool.ro/wp-content/themes/medicool/images/icon-close.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
}

nav#nav .social-icons {
  display: flex;
  position: relative;
  z-index: 2;
  justify-content: center;
}

nav#nav .social-icons a {
  width: 50px;
  height: 44px;
  border: 1px solid #3592ae;
  border-radius: 12px;
  background-position: center center;
  background-repeat: no-repeat;
  margin: 26px 10px;
  opacity: 0.6;
}

nav#nav .social-icons a.facebook {
  background-image: url(https://medicool.ro/wp-content/themes/medicool/images/icon-facebook-mobile.svg);
}

nav#nav .social-icons a.instagram {
  background-image: url(https://medicool.ro/wp-content/themes/medicool/images/icon-instagram-mobile.svg);
}

nav#nav .social-icons a.youtube {
  background-image: url(https://medicool.ro/wp-content/themes/medicool/images/icon-youtube-mobile.svg);
}

nav#nav .social-icons a.tiktok {
  background-image: url(https://medicool.ro/wp-content/themes/medicool/images/icon-tiktok-mobile.svg);
}

.mobile-navigation-wrap {
  text-align: center;
  -webkit-overflow-scrolling: touch;
  overflow-y: scroll;
}

.mobile-navigation-wrap ul {
  padding: 50px 0;
  text-align: center;
}

.mobile-navigation-wrap ul li a {
  font-size: 30px;
  font-weight: 700;
  line-height: 2;
  position: relative;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-block;
}

nav#nav .logo-wrap .logo-site img {
  width: 150px;
  height: auto;
}

.content-wrap.glued {
  padding: 0 0 30px;
}

.content-wrap {
  padding: 20px 0 30px;
}

@media (min-width: 768px) {
  .logo-box {
    height: auto;
  }
  .logo-wrap .mobile-nav .icon-bars {
    margin-left: 8px;
  }
  nav {
    height: auto;
    transform: translateY(-20%);
  }
  nav#nav {
    background: rgba(255, 255, 255, 0.95);
    color: #013e65;
    overflow-x: unset;
    box-shadow: 0px 2px 9px 0px rgba(1, 62, 101, 0.13);
  }
  .mobile-navigation-wrap {
    overflow-y: unset;
  }
  .mobile-navigation-wrap ul {
    display: flex;
    justify-content: center;
    padding: 30px 0;
  }
  .mobile-navigation-wrap ul li {
    margin: 0 3px;
  }
  .mobile-navigation-wrap ul li a {
    font-size: 18px;
    padding: 9px 14px;
    line-height: unset;
    border-radius: 12px;
    border: 1px solid transparent;
  }
  nav#nav .logo-wrap .mobile-nav #exit-btn {
    border: 1px solid #013e65;
    background-image: url(https://medicool.ro/wp-content/themes/medicool/images/icon-close-blue.svg);
  }
  nav#nav .social-icons {
    display: none;
  }
}
@media (min-width: 900px) {
  .mobile-navigation-wrap ul {
    padding: 30px 0 0;
  }
}
/*FOOTER*/
footer {
  width: 100%;
  background-color: #f5f7f7;
  color: #013e65;
  position: relative;
  overflow: hidden;
}

footer .bg-element {
  position: absolute;
  z-index: 1;
  bottom: -50px;
  right: -57px;
}

footer .footer-wrap {
  padding-top: 33px;
  padding-bottom: 20px;
  position: relative;
  z-index: 10;
}

footer .footer-wrap .logo-wrap {
  margin-bottom: 30px;
  border: none;
  padding: 0;
}

footer .footer-wrap .logo-wrap .social-icons {
  display: flex;
  position: relative;
  z-index: 2;
}

.logo-wrap .social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #272727;
  background-position: center center;
  background-repeat: no-repeat;
  margin-left: 11px;
}

footer .footer-wrap .logo-wrap .social-icons a.facebook {
  background-image: url(https://medicool.ro/wp-content/themes/medicool/images/icon-facebook.svg);
}

footer .footer-wrap .logo-wrap .social-icons a.instagram {
  background-image: url(https://medicool.ro/wp-content/themes/medicool/images/icon-instagram.svg);
}

footer .footer-wrap .logo-wrap .social-icons a.youtube {
  background-image: url(https://medicool.ro/wp-content/themes/medicool/images/icon-youtube.svg);
}

footer .footer-wrap .logo-wrap .social-icons a.tiktok {
  background-image: url(https://medicool.ro/wp-content/themes/medicool/images/icon-tiktok.svg);
}

footer .footer-wrap .logo-wrap .social-icons a {
  width: 50px;
  height: 44px;
  border: 1px solid #013e65;
  border-radius: 12px;
}

footer .footer-wrap .links {
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

footer .footer-wrap .links .col {
  margin-bottom: 20px;
  width: 48%;
}

footer .footer-wrap .links .col .f-title {
  text-transform: uppercase;
  color: #013e65;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.2px;
  margin-bottom: 15px;
}

footer .footer-wrap .links .col ul li {
  font-size: 17px;
  color: #013e65;
  letter-spacing: -0.2px;
  cursor: pointer;
}

footer .footer-wrap .links .col ul li a {
  padding-bottom: 15px;
  display: inline-block;
}

footer .footer-wrap .copyrights {
  font-size: 12px;
  color: #013e65;
}

footer .footer-wrap .copyrights .f-copy {
  border-bottom: 1px solid #dbe4e9;
  line-height: 1.2;
  padding: 6px 0;
}

footer .footer-wrap .copyrights .f-copy:last-child {
  border-bottom: none;
}

@media (min-width: 540px) {
  footer .footer-wrap .links {
    justify-content: flex-start;
  }
  footer .footer-wrap .links .col {
    width: 33.333%;
  }
}
@media (min-width: 540px) and (min-width: 940px) {
  footer .footer-wrap .links .col {
    width: 20%;
  }
}
@media (min-width: 768px) {
  footer .bg-element {
    top: 10px;
    right: 279px;
  }
  footer .footer-wrap .logo-wrap {
    margin-bottom: 30px;
  }
  footer .footer-wrap .links .col .f-title {
    margin-bottom: 10px;
  }
  footer .footer-wrap .links .col ul li a {
    padding-bottom: 10px;
  }
}
.cards {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.card {
  background-size: cover;
  background-position: center;
  color: white;
  width: 320px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s;
}

.card:hover {
  transform: scale(1.03);
}

.form-container {
  display: none;
  background: #f7f7f7;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: center;
}

.form-row input:not([type=radio]),
.form-row textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  min-height: 44px;
  height: unset;
}

.form-row.half .input-group {
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(50% - 0.5rem);
  margin-block-end: auto;
}

.form-row .input-group {
  width: 100%;
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.submit-btn {
  background: #d90000;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .form-row.half .input-group {
    flex: 100%;
  }
  .card {
    width: 100%;
    height: 85px;
    font-size: 14px;
  }
  .form-row.half input {
    flex: 1 1 100%;
  }
  .cards {
    gap: 0.5rem;
  }
}
.error {
  border: 1px solid red !important;
}

.error-message {
  color: red;
  font-size: 0.85em;
  margin-top: 4px;
  display: block;
}

.alert-success {
    text-align: center;
    font-size: 1.5rem;
    color: #008000;
    margin-bottom: 1rem;
}