@import url('https://fonts.googleapis.com/css?family=Cormorant+Garamond:300,400,600|Tulpen+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=UnifrakturMaguntia&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Modern+Antiqua&display=swap');

@font-face {
  font-family: font5;
  src: url(../font/NotoMono/NotoMono-Regular.ttf);

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #f05454;
  --secondary-color: #6b6b6b;
  --third-color: #fff;
  --fourth-color: #eee;
  --five-color: #ccc;
  --six-color: #0d0c22;
  --white-light-color: #f3f2f2;
  --bg: #fffaf3;
  --card: #ffffff;
  --muted: #5f5f5f;
  --primary: #ff9e2c;
  --accent: #7ec8ff;
  --success: #6bd36b;
  --warning: #ffd166;
  --shadow: 0 6px 18px rgba(0, 0, 0, .06);
  --radius: 16px;
  --accent: #429dd4;
  --ink: #1f2937;
  --titlu: #434443dc;
  --surface: #ffffff;
  --border: #e9eef7;
  --text: #0f172a;
}

/* Tipografie fluida cu clamp() */
:root {
  --step-0: clamp(1rem, 0.9rem + 0.6vw, 1.25rem);
  --step-3: clamp(1.875rem, 1.4rem + 3vw, 3rem);
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  color: #121212d8;
  background: #fafafa;
}

a {
  text-decoration: none;
}

.descriere_card a:hover {
  text-decoration: underline slateblue;
  cursor: pointer;
  color: slateblue;
}

.submit {
  padding: 0.5em;
  box-shadow: 1px 1px 4px lightgrey;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid lightgrey
}

.submit:hover {
  transform: scale(1.1);
  box-shadow: 0px 0px 0px lightgrey;
  box-shadow: inset 1px 1px 4px lightgrey;
  background-color: rgba(145, 227, 145, 0.284);
}

/* ---------------------------------CONTENT------------------------------------- */

/* ========== elemente comune pe pagini ========== */
.imagini {
  display: flex;
  width: 20vw;
  height: auto;
  border-radius: 10px;
  justify-content: center;
  margin: 1em auto;
  box-shadow: 2px 2px 10px 2px slategrey;
  float: right;
  margin: 1rem;
}

.titlu {
  font-size: 1.3rem;
  color: var(--titlu);
  text-align: center;
  margin: 1.5rem auto;
  padding: 1rem;
}

.subtitlu-h2 {
  font-size: 1rem;
  color: var(--titlu);
  text-align: justify;
  padding: 0 1rem;
  margin: 1rem auto;

}

.subtitlu-h3 {
  font-size: 0.9rem;
  color: var(--titlu);
  text-align: justify;
  padding: 0 1rem;
  margin: 0.5rem 5rem 0 -1rem;
}

.faq__content {
  font-size: 1rem;
  padding: 1rem 2rem;
  text-align: justify;
}

.faq__content a {
  text-decoration: none;

}

.text p,
.faq__content p {
  color: #434443f0;
}

.container-principal {
  width: 100%;
  margin-inline: auto;
  padding-inline: clamp(2rem, 2rem, 2rem);
}

.doua_coloane {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  padding: 1rem;
  margin: 1rem auto;
  gap: 2rem
}

/* ========== informatii colapsate ========== */

summary {
  font-size: 1.2rem;
  font-weight: 600;
  background: rgba(212, 41, 44, 0.5);
  background-image: linear-gradient(to right, rgba(0, 155, 212, 1), rgba(0, 155, 212, 0.5));
  color: #fff;
  padding: 1rem;
  outline: none;
  border-radius: 0.25rem;
  text-align: left;
  cursor: pointer;
  position: relative;
  width: 90%;
  margin: 0.5em auto;
}


details[open] summary~* {
  animation: sweep .5s ease-in-out;
  width: 90%;
  margin: 1em auto;
}

@keyframes sweep {
  0% {
    opacity: 0;
    margin-top: -10px
  }

  100% {
    opacity: 1;
    margin-top: 0px
  }
}

details>summary::after {
  position: absolute;
  content: "+";
  right: 20px;
  bottom: 20px;
}

details[open]>summary::after {
  position: absolute;
  content: "-";
  right: 20px;
  bottom: 20px;
}

details>summary::-webkit-details-marker {
  display: none;
}

/* ================================== carduri contact =================================== */
.details-contact {
  border: 1px solid slateblue;
  border-radius: 5px;
  box-shadow: 1px 1px 1px slateblue;
  font-size: 12.5px;
}

.summary-contact {
  border: 1px solid slateblue;
  border-radius: 5px;
  padding: 0.5em;
  text-align: justify;
  box-shadow: 1px 1px 2px slateblue;
  position: relative;
}

.details-contact[open] .summary-contact {
  border: none;
  box-shadow: none;
  border-radius: 5px 5px 0 0;
}

.details-contact>.summary-contact::after {
  position: absolute;
  content: "+";
  right: 20px;
  bottom: 7px;
}

.details-contact[open]>.summary-contact::after {
  position: absolute;
  content: "-";
  right: 20px;
  bottom: 7px;
}

.details-contact>.summary-contact::-webkit-details-marker {
  display: none;
}

/* =========================== modal pdf ================================= */
.modalPDF {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content/Box */
.modalPDF-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  height: 80%;
}

/* The Close Button */
.closePDF {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.closePDF:hover,
.closePDF:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.revista-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2em;
  align-items: start;
  margin: 2em 3em;
  max-width: 1000px;
  padding: 1em;
}

.revista-container>h3 {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 1.1em;
  margin: 0 0 1.5em;
}


.revista-container img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.revista-container button {
  margin-top: 1em;
  padding: 0.5em 1.2em;
  background: #005a9c;
  color: whitesmoke;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.revista-container button:hover {
  background: #003f73;
}

.revista-text {
  margin: 1em 3em;
  font-size: 1em;
  line-height: 1.3;
}

.publicatii-text {
  margin: 3em;
  font-size: 1em;
  line-height: 1.3;
}

.revista-text h3 {
  margin-top: 0;
}

@media (max-width: 768px) {
  .revista-container {
    grid-template-columns: 1fr;
  }
}

/* ============================= descriere card ==================================== */

.descriere_card {
  width: 65%;
  background-color: lavender;
  box-shadow: 2px 3px 5px 2px slategrey;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  border-radius: 10px;
  margin: 1em auto;
  flex-direction: column;
  padding: 1em;
}

.scrollable {
  will-change: transform;
}

button {
  text-align: center;
  color: whitesmoke;
  border: 1px solid rgba(0, 0, 0, 0.717);
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  display: block;
}

/* =========================== organigrama.php - organigrama ================================= */
.imagine {
  display: flex;
  align-items: center;
  width: 60vw;
  text-align: center;
  margin: auto;
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  box-shadow: 2px 2px 5px 1px darkslateblue;
}

/* ========================= documente grid ============================= */
.page-intro {
  max-width: 70ch;
  margin: .5rem auto 1.25rem;
  text-align: center;
  color: #384047;
  opacity: .9;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: .9rem;
  margin: 0 auto 2rem;
  max-width: 1100px;
  padding: .25rem;
}

.doc-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .75rem;

  padding: .85rem 1rem;
  border-radius: 14px;
  text-decoration: none;

  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 6px 20px rgba(0, 0, 0, .04);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  color: #222;
}

.doc-card:hover,
.doc-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(0, 0, 0, .12);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .06), 0 10px 24px rgba(0, 0, 0, .08);
  outline: none;
}

.doc-icon {
  width: 28px;
  height: 36px;
  flex: 0 0 auto;
  background:
    conic-gradient(from 0turn, #c81e1e, #ef4444) border-box;
  -webkit-mask:
    radial-gradient(circle at 75% 25%, transparent 9px, #000 10px) top right / 60% 50% no-repeat,
    linear-gradient(#000 0 0) padding-box;
  mask:
    radial-gradient(circle at 75% 25%, transparent 9px, #000 10px) top right / 60% 50% no-repeat,
    linear-gradient(#000 0 0) padding-box;
  border-radius: 4px;
  position: relative;
}

.doc-icon::after {
  content: "PDF";
  position: absolute;
  inset: auto 0 4px 0;
  text-align: center;
  font: 700 10px/1.1 system-ui, sans-serif;
  color: #fff;
}

.doc-title {
  font: 600 0.98rem/1.25 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.doc-meta {
  font: 600 0.75rem/1 system-ui, sans-serif;
  color: #475569;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: .25rem .5rem;
  border-radius: 999px;
}

@media (max-width: 560px) {
  .docs-grid {
    grid-template-columns: 1fr;
    gap: .7rem;
  }

  .doc-card {
    grid-template-columns: auto 1fr;
  }

  .doc-meta {
    grid-column: 1 / -1;
    justify-self: start;
    margin-left: 2.4rem;
    margin-top: .25rem;
  }
}


/* ========================================== Prezentare ========================================= */
.grid_prezentare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  align-items: center;
  gap: 2em;
}

.foto_prezentare {
  width: 25vw;
  height: auto;
  box-shadow: 1px 1px 1px 1px slategrey;
  border-radius: 5px;
  object-fit: cover;
}

.grid_prezentare p {
  text-align: justify;
  padding: 1em;
  font-size: 0.8rem;
}

/* ================================== programe ===================================== */
.programe_strategii {
  border: 1px solid slateblue;
  border-radius: 10px;
  text-align: center;
  width: 70%;
  margin: 1em auto;
  padding: 1em;
  background: rgba(255, 166, 0, 0.45);
}

.programe_strategii:hover {
  transform: scale(1.1);
}

/* ============================== rapoarte ================================ */
.rapoarte {
  border: 1px solid slategrey;
  width: 40vw;
  height: 50vh;
  background-image: repeating-linear-gradient(to bottom, rgba(41, 40, 40, 0.14) 0 3px, transparent 1px 31px);
}

.rapoarte ul {
  line-height: 2.3;
  margin: 2.2em auto;
}

.declaratii-pdf {
  font-size: 16px;
  margin: 20px;
  text-align: justify;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 0.5rem;
  column-gap: 2.5rem;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* ========================carduri contact======================  */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-block: 1rem 2rem;
  margin: 5rem;
}

.card {
  background: rgba(245, 245, 245, 0.956);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  padding: 16px 16px 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
  transition: transform .15s ease, box-shadow .15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .10);
}

.card:focus-within {
  outline: 3px solid #1e90ff33;
  outline-offset: 2px;
}

/* Titlu card */
.card__title {
  font-size: 1.05rem;
  line-height: 1.3;
  margin: 0 0 .75rem 0;
  color: #1b1b1f;
}

/* Sectiuni interne */
.card__section+.card__section {
  margin-top: .75rem;
}

.card__label {
  display: block;
  font-size: .8rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #03346c;
  margin-bottom: .25rem;
}

/* Link email */
.card__link {
  display: inline-block;
  color: #03346c;
  text-decoration: none;
  word-break: break-word;
}

.card__link:hover {
  text-decoration: underline;
}

.card__hours {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .25rem;
}

.card__hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: .95rem;
  color: #26262a;
}

@media (prefers-color-scheme: dark) {
  .card {
    background: #5e81e954;
    border-color: #2a2b31;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
  }

  .card__title {
    color: #424243;
  }

  .card__label {
    color: #232424;
  }

  .card__hours li {
    color: #535354;
  }

  .card__link {
    color: #1c304f;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }
}

/* *************************** Parteneriate si proiecte ************************ */
.page-wrap {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
}

.page-title {
  margin: 0 0 .75rem;
  font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem);
  line-height: 1.2;
  text-wrap: balance;
}

.page-sub {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: .98rem;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.card {
  background: linear-gradient(180deg, #fff, var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2vw + .25rem, 1.5rem);
}

.card h2 {
  margin: 0 0 .75rem;
  font-size: clamp(1.15rem, .8vw + 1rem, 1.35rem);
  color: var(--text);
}

.list {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.75;
}

.list li {
  margin: .35rem 0;
}

.highlight {
  background: #eef3ff;
  padding: .05rem .35rem;
  border-radius: 8px;
}

@media (max-width: 820px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.one-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  color: var(--titlu);
}

.button-53 {
  background-color: #f0f08e !important;
  border: 0 solid #E5E7EB;
  box-sizing: border-box;
  color: #740406 !important;
  display: flex;
  font-family: ui-sans-serif, system-ui, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1.75rem;
  padding: .75rem 1.65rem;
  margin-left: 2% !important;
  position: relative;
  text-align: center;
  text-decoration: none #000000 solid;
  text-decoration-thickness: auto;
  width: 100%;
  max-width: 200px;
  position: relative;
  cursor: pointer;
  transform: rotate(-2deg);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-53:focus {
  outline: 0;
}

.button-53:after {
  content: '';
  position: absolute;
  border: 1px solid #000000;
  bottom: 6px;
  left: 6px;
  width: calc(100% - 1px);
  height: calc(100% - 1px);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.button-53:hover:after {
  bottom: 2px;
  left: 2px;
}

@media (min-width: 768px) {
  .button-53 {
    padding: .75rem 3rem;
    font-size: 1.25rem;
  }
}

#myDIV,
#myDIV2,
#myDIV3,
#myDIV4 {
  width: 100%;
}

.imagine-articol {
  width: 50%;
  margin: 0 25%;
  height: auto;
  position: relative;
}

.imagine-articol2 {
  width: 70%;
  margin: 0 15%;
  height: auto;
  position: relative;
}

/* ********************** Informari ISJ *************************** */
.stanga-imagine-madr {
  padding: 0;
  height: 1220px;
  overflow: hidden;
  margin: 15px auto;
  max-width: 736px;
}

.iframe-madr {
  margin-left: -100px;
  height: 1500px;
  margin-top: -200px;
  width: 950px;
}

.imagine-madr {
  height: auto;
  margin: 0;
  width: 50%;
}

.chenar-linie-punct {
  border: 5px slateblue;
  box-shadow: 1px 1px 5px slategrey;
  text-align: justify;
  border-style: dashed solid;
  margin: 1rem auto;
  align-items: center;
  width: 50%;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
}

.chenar-linie-punct a {
  text-decoration: none;
}

/* chenar cu linii intrerupte */
.chenar-eticheta {
  border: 1px dashed slategrey;
  box-shadow: 1px 1px 5px slategrey;
  text-align: justify
}

.chenar-punctat {
  border: 2px dotted slategrey;
  box-shadow: 1px 1px 5px slateblue;
  text-align: justify
}

.chenar-premium {
  border: 1px wavy goldenrod;
  box-shadow: 1px 1px 5px gold;
  text-align: justify;
  padding: 1em;
  background-color: rgba(255, 217, 0, 0.153);
}

.chenar-martisor1 {
  background-color: rgba(255, 0, 0, 0.886);
  /* For browsers that do not support gradients */
  background-image: repeating-linear-gradient(45deg, rgba(255, 0, 0, 0.886) 0px, rgba(255, 0, 0, 0.886) 10px, whitesmoke 10px, whitesmoke 20px);
  border-radius: 10px;
}

.chenar-martisor2 {
  background-color: rgba(255, 255, 255, 0.929);
  /* For browsers that do not support gradients */
  background-image: repeating-linear-gradient(135deg, rgba(245, 245, 245, 0.879) 0px, rgba(245, 245, 245, 0.951) 10px, red 10px, red 20px);
  border-radius: 10px;
}

.eticheta-martisor {
  background-color: whitesmoke;
  padding: 2em;
}

.bowtie {
  position: absolute;
  right: 2vw;
  font-size: 10rem;
  top: 11rem;
  color: red;
}

.santa {
  border: 2px rgba(0, 128, 0, 0.796);
  border-style: solid dashed;
  padding: 2em;
  box-shadow: inset 1px 1px 5px rgb(255, 0, 0);
}

.reciclare {
  background-image: repeating-radial-gradient(blue, green 10%, green 15%);
  border-radius: 50%;
  width: 45%;
  height: auto;
}

.pamant {
  display: flex;
  justify-content: center;
  background-color: whitesmoke;
  padding: 3.5em;
  margin: 0em auto;
  align-items: center;
  border-radius: 50%;
  background-image: repeating-conic-gradient(rgba(0, 0, 255, 0.13), rgba(0, 128, 0, 0.092) 10%, rgba(0, 128, 0, 0.103) 15%);
}

.clasa-intai {
  display: flex;
  float: left;
  width: 5vw;
  position: absolute;
  top: 17rem;
  left: 35%;
}

.cal {
  display: flex;
  width: 5vw;
  position: absolute;
  float: right;
  top: 17rem;
  right: 37%
}

.scris-mana {
  display: flex;
  float: left;
  width: 5vw;
  position: absolute;
  top: 25rem;
  left: 25%
}

.carte {
  display: flex;
  width: 5vw;
  position: absolute;
  float: right;
  top: 25rem;
  right: 30%
}

/* ************************** Sfaturi pentru noul an scolar ********************************* */
.page-wrap {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg), #fff);
  color: var(--text);
  padding: 24px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  border: 2px solid rgba(0, 0, 0, .04);
}

.h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  margin: 0 0 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--warning));
  color: #231f20;
  box-shadow: var(--shadow);
}

.h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.08rem;
  margin: 18px 0 8px;
  color: #1f2937;
}

.h3 .emoji,
.h2 .emoji {
  font-size: 1.2em;
}

.card p {
  line-height: 1.6;
  margin: 8px 0 12px;
  color: var(--text);
}

.muted {
  color: var(--muted);
}

/* liste cu buline simpatice */
.list {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 0;
}

.list li {
  position: relative;
  padding: 10px 12px 10px 42px;
  margin: 8px 0;
  background: #f8fbff;
  border: 1px dashed #dbeafe;
  border-radius: 12px;
}

.list li::before {
  content: "⭐";
  position: absolute;
  left: 12px;
  top: 8px;
  font-size: 1.1rem;
}

/* lista tip checklist */
.checklist {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  position: relative;
  padding: 10px 12px 10px 42px;
  margin: 8px 0;
  background: #f3fff3;
  border: 1px dashed #d4f7d4;
  border-radius: 12px;
}

.checklist li::before {
  content: "✅";
  position: absolute;
  left: 12px;
  top: 8px;
  font-size: 1.1rem;
}

/* badge subsectiuni */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .9rem;
  background: linear-gradient(90deg, var(--accent), #c8f0ff);
  color: #06324a;
  padding: 4px 10px;
  border-radius: 999px;
}

/* cutii tip tips */
.tip {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff4e8;
  border: 1px solid #ffe0bd;
  border-radius: 12px;
  padding: 10px 12px;
  margin: 10px 0 4px;
}

.tip .emoji {
  font-size: 1.2rem;
}

.sep {
  height: 1px;
  background: rgba(0, 0, 0, .06);
  margin: 14px 0;
}