@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
body {
  font: 100% Poppins, sans-serif;
  color: #263748;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 37px;
  margin: 0;
}

div[role=grid] {
  display: flex;
  justify-content: center;
  background: #EEF4FA;
}

div[role=grid-white] {
  display: flex;
  justify-content: center;
  background: white;
}

div[role=grid-blue] {
  display: flex;
  justify-content: center;
  color: white;
  background: #6fa4d6;
}

header {
  position: relative;
}

nav {
  display: flex;
  align-content: center;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0px 5px 30px rgba(111, 164, 214, 0.15);
  position: relative;
}
nav ul {
  list-style-type: none;
  flex-flow: row;
  padding: 0;
  margin: 0;
}
nav ul a {
  text-decoration: none;
  color: #263748;
}
nav ul a:hover {
  color: #4277A9;
}
nav ul a:visited {
  color: #263748;
}
nav .item {
  display: inline-block;
  padding: 30px 25px;
}
nav a.btn {
  color: #4277A9;
  border: 1.5px solid #4277A9;
  box-sizing: border-box;
  border-radius: 100px;
  padding: 13px 50px;
}
nav a.btn:hover {
  background: #6fa4d6;
  border: 1.5px solid #6fa4d6;
  color: white;
}
nav a.btn:visited {
  color: #4277A9;
}
nav .menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}
nav .menu-toggle .hamburger {
  width: 25px;
  height: 3px;
  background-color: #263748;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 3px;
}

@media (max-width: 800px) {
  nav {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 20px;
  }
  nav .menu-toggle {
    display: flex;
  }
  nav .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    box-shadow: 0px 5px 30px rgba(111, 164, 214, 0.15);
  }
  nav .nav-menu.active {
    max-height: 500px;
  }
  nav ul {
    flex-flow: column;
    width: 100%;
  }
  nav .item {
    display: block;
    text-align: center;
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
  }
  nav .item:last-child {
    border-bottom: none;
  }
}
section {
  display: flex;
  padding: 80px 40px;
}

@media (max-width: 768px) {
  section {
    padding: 40px 20px;
  }
}
#hero {
  display: flex;
  padding: 80px 40px;
  min-height: 300px;
  max-height: 500px;
  max-width: 1080px;
}
#hero h1 {
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  color: #6fa4d6;
}
#hero h2 {
  font-size: 60px;
  margin-bottom: 60px;
  color: #263748;
}
@media (max-width: 768px) {
  #hero {
    padding: 40px 20px;
  }
  #hero h2 {
    font-size: 40px;
    margin-bottom: 30px;
  }
}
#hero .button {
  display: block;
  width: fit-content;
  color: white;
  border: 1.5px solid #6fa4d6;
  box-sizing: border-box;
  border-radius: 100px;
  background: #6fa4d6;
  padding: 13px 50px;
  margin: 20px auto;
  text-decoration: none;
}
#hero .button:hover {
  background: #1D4265;
}
#hero .button:visited {
  color: white;
}

@media (max-width: 1024px) {
  .hero-logo {
    visibility: hidden;
    width: 0;
  }
  .hero-logo > * {
    visibility: hidden;
    width: 0;
  }
  .hero-desc {
    width: 100%;
  }
}
@media (min-width: 1024px) {
  .hero-desc {
    width: 50%;
  }
  .hero-logo {
    display: flex;
    width: 100%; /* or fixed width */
    justify-content: center;
  }
  .hero-logo img {
    width: auto;
    height: 100%; /* maintains aspect ratio */
  }
}
#about {
  max-width: 1080px;
}
@media (max-width: 1024px) {
  #about .section-logo {
    visibility: hidden;
    width: 0;
  }
  #about .section-logo > * {
    visibility: hidden;
    width: 0;
  }
  #about .content {
    width: 100%;
  }
}

#services {
  max-width: 1080px;
  flex-wrap: wrap;
  /* accordion layout container */
  /* better tap area on mobile */
  /* Lecznictwo specific icon */
  /* Profilaktyka specific icon */
  /* Stomatologia specific icon */
  /* Okulistyka specific icon */
  /* Dermatologia specific icon */
}
#services .header {
  width: 100%;
}
@media (max-width: 1024px) {
  #services {
    flex-direction: column;
  }
  #services .content {
    width: 100%;
  }
}
#services .services-accordion {
  display: flex;
  flex-direction: column;
  margin-left: 20px;
  margin-right: 20px;
  gap: 30px;
  /* card-like details */
  /* summary styling */
}
#services .services-accordion details {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0px 12px 40px rgba(111, 164, 214, 0.25);
  border: none;
  overflow: hidden;
}
#services .services-accordion details:hover {
  box-shadow: 0px 18px 50px rgba(111, 164, 214, 0.35);
}
#services .services-accordion details[open] summary::after {
  transform: rotate(45deg);
}
#services .services-accordion details p {
  padding: 0 32px 24px 112px;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #5a6b7d;
}
#services .services-accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 32px;
  font-weight: 600;
  font-size: 18px;
  color: #263748;
  gap: 24px;
  /* remove default arrow */
  /* left round icon placeholder */
  /* right plus button */
}
#services .services-accordion summary::-webkit-details-marker {
  display: none;
}
#services .services-accordion summary::before {
  content: "";
  flex: 0 0 56px;
  height: 56px;
  border-radius: 50%;
  background: #eef4fa;
  margin-right: 24px;
}
#services .services-accordion summary::after {
  content: "+";
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d6e3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4277a9;
  font-size: 22px;
  font-weight: 500;
  background: #f7fbff;
}
@media (max-width: 600px) {
  #services .services-accordion summary {
    padding: 18px 20px;
    font-size: 16px;
  }
  #services .services-accordion summary::before {
    flex-basis: 48px;
    height: 48px;
  }
  #services .services-accordion details p {
    padding: 0 20px 20px 88px;
  }
}
#services .services-accordion details.lecznictwo summary::before {
  background: url("../images/lecznictwo-icon.png") center/cover no-repeat #eef4fa;
}
#services .services-accordion details.profilaktyka summary::before {
  background: url("../images/profilaktyka-icon.png") center/cover no-repeat #eef4fa;
}
#services .services-accordion details.stomatologia summary::before {
  background: url("../images/stomatologia-icon.png") center/cover no-repeat #eef4fa;
}
#services .services-accordion details.okulistyka summary::before {
  background: url("../images/okulistyka-icon.png") center/cover no-repeat #eef4fa;
}
#services .services-accordion details.dermatologia summary::before {
  background: url("../images/dermatologia-icon.png") center/cover no-repeat #eef4fa;
}

div.content {
  display: flex;
  width: 50%;
  flex-direction: column;
}

div.section-logo {
  width: 50%;
}
div.section-logo img {
  width: auto;
  height: 100%;
  max-height: 400px;
}

#team, #offices {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  max-width: 1080px;
}
#team h1, #offices h1 {
  margin-bottom: 2.5rem;
  text-align: left;
}
#team .cards-container, #offices .cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
}
#team a, #offices a {
  color: #263748;
}
#team a:visited, #offices a:visited {
  color: #263748;
}
#team .card, #offices .card {
  width: 100%;
  margin-bottom: 1.5rem;
  padding: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
}
#team .card:hover, #offices .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
#team .card img, #offices .card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}
#team .card .avatar-icon, #offices .card .avatar-icon {
  width: 200px;
  height: 200px;
  margin: 50px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #EEF4FA;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
#team .card .avatar-icon::before, #offices .card .avatar-icon::before {
  content: "👤";
  font-size: 100px;
  color: #4277A9;
  display: flex;
  align-items: center;
  justify-content: center;
}
#team .card .container, #offices .card .container {
  padding: 1.5rem;
}
#team .card .container h1, #offices .card .container h1 {
  font-size: 1.4rem;
  margin: 0.5rem 0;
  color: #222;
}
#team .card .container p, #offices .card .container p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  #team .card, #offices .card {
    width: calc(50% - 1rem);
    margin-bottom: 0;
  }
}
@media (min-width: 1024px) {
  #team .card, #offices .card {
    width: calc(33.333% - 1.5rem);
  }
}

footer {
  max-width: 1080px;
  display: flex;
  justify-content: center;
  flex-flow: row wrap;
}
footer h1 {
  flex-grow: 1;
}
footer a {
  color: white;
  text-decoration: none;
}
footer a:visited {
  color: white;
}
footer a:hover {
  color: white;
}
footer .footer-menu {
  justify-content: center;
}
footer .footer-copyright {
  justify-content: center;
  flex-flow: column;
  text-align: center;
}

footer > * {
  padding: 10px;
  flex: 1 100%;
}

@media all and (min-width: 600px) {
  .footer-middle {
    flex: 1 0 0;
  }
}
@media all and (min-width: 800px) {
  .footer-offices {
    order: 1;
  }
  .footer-menu {
    order: 2;
  }
  .footer-copyright {
    order: 4;
  }
}
.footer-menu a {
  font-size: large;
  font-weight: bold;
  display: table;
  color: white;
  text-decoration: none;
}
.footer-menu a:hover {
  color: white;
}
.footer-menu a:visited {
  color: white;
}
.footer-menu .first-el {
  margin-block-start: 0.83em;
}

/*# sourceMappingURL=main.css.map */
