/* =====================================================================
   Ǝliceu — global stylesheet
   Shared chrome (header / sidebar / footer) is unscoped.
   Page-specific rules are scoped under a body class (e.g. .page-home).
   ===================================================================== */

/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #1f1f1f;
}

/* Pages that use the light-lilac page background */
body.page-cookies,
body.page-details,
body.page-quiz,
body.page-result,
body.page-terms { background: #f6f0fb; }

/* ---------- Header ---------- */
header {
  width: 100%;
  height: 72px;
  background: #9661b8;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
}

.logo-area { display: flex; align-items: center; gap: 16px; }

.menu {
  font-size: 32px;
  color: #ffffff;
  font-weight: 900;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.logo {
  font-size: 34px;
  font-weight: 900;
  color: #ffe34d;
  letter-spacing: -1px;
}

nav { display: flex; gap: 38px; }

nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

/* ---------- Sidebar ---------- */
.sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, #8c63b3 0%, #6f4796 100%);
  z-index: 2000;
  padding: 110px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: 0.35s;
  box-shadow: 6px 0 30px rgba(0,0,0,0.18);
}

.sidebar.active { left: 0; }

.sidebar a {
  text-decoration: none;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  transition: 0.2s;
}

.sidebar a:hover {
  color: #ffe34d;
  transform: translateX(8px);
}

.close-btn {
  position: absolute;
  top: 28px;
  right: 28px;
  background: transparent;
  border: none;
  font-size: 34px;
  cursor: pointer;
  color: #ffffff;
  font-weight: 900;
}

/* ---------- Footer ---------- */
footer {
  background: #786286;
  padding: 80px 90px 90px;
  color: white;
}

.footer-logo {
  font-size: 24px;
  font-weight: 900;
  color: #ffe34d;
  margin-bottom: 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
}

footer h3 { font-size: 17px; font-weight: 900; margin-bottom: 14px; }

footer a {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}


/* =====================================================================
   acasa.html  ->  .page-home
   ===================================================================== */

body.page-home .hero {
  height: 100vh;
        background-image:
        linear-gradient(rgba(0,0,0,0.52), rgba(0,0,0,0.52)),
        url("../images/poza multe licee.jpg");
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        background-repeat: no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: white;
}

body.page-home .hero h1 {
  font-size: 43px;
        font-weight: 900;
        margin-bottom: 18px;
}

body.page-home .hero p {
  font-size: 18px;
        font-weight: 900;
        margin-bottom: 45px;
}

body.page-home .cta {
  width: 395px;
        height: 65px;
        background: #9661b8;
        color: white;
        border: 3px solid #3c2448;
        border-radius: 14px;
        font-size: 31px;
        font-weight: 900;
        cursor: pointer;
        box-shadow: 0 3px 0 rgba(0,0,0,0.35);
}

body.page-home .profile-section {
  min-height: 100vh;
    padding: 150px 110px 100px;

  background:
  radial-gradient(
  circle at top left,
  rgba(255,236,120,0.35) 0%,
  rgba(255,236,120,0.12) 20%,
  rgba(255,236,120,0) 35%
  ),

  radial-gradient(
  circle at bottom right,
  rgba(255,236,120,0.35) 0%,
  rgba(255,236,120,0.12) 20%,
  rgba(255,236,120,0) 35%
  ),

  radial-gradient(
  circle at 20% 25%,
  rgba(244,233,255,0.6) 0%,
  rgba(244,233,255,0) 35%
  ),

  #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 90px;
}

body.page-home .profile-left {
  width: 560px;
}

body.page-home .stats {
  width: 470px;
}

body.page-home .profile-left h2 {
  font-size: 48px;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

body.page-home .profile-left p {
  font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
    color: #4b4b4b;
    margin-bottom: 34px;
}

body.page-home .profile-tags {
  display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 38px;
}

body.page-home .profile-tag {
  background: #f1e6f8;
    border: 2px solid #d7bde8;
    border-radius: 22px;
    padding: 20px 22px;
    box-shadow: 0 6px 0 rgba(150, 97, 184, 0.22);
    transition: 0.2s;
}

body.page-home .profile-tag:hover {
  transform: translateY(-5px);
    box-shadow: 0 10px 0 rgba(150, 97, 184, 0.22);
}

body.page-home .profile-tag span {
  display: block;
    font-size: 22px;
    font-weight: 900;
    color: #9661b8;
    margin-bottom: 6px;
}

body.page-home .profile-tag small {
  font-size: 15px;
    font-weight: 800;
    color: #252525;
}

body.page-home .profile-btn {
  padding: 19px 42px;
    background: #9661b8;
    color: white;
    border: none;
    border-radius: 18px;
    font-size: 21px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 5px 0 #6f4796;
    transition: 0.2s;
}

body.page-home .profile-btn:hover {
  transform: translateY(-3px);
    box-shadow: 0 8px 0 #6f4796;
}

body.page-home .stats {
  width: 470px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    position: relative;
}

body.page-home .stat-card {
  background: #eee3f4;
    border-radius: 30px;
    padding: 30px;
    min-height: 120px;
    display: flex;
    align-items: center;
    gap: 22px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 2px solid #e0caed;
}

body.page-home .stat-card:nth-child(2) {
  margin-left: 70px;
    background: #fff3a8;
    border-color: #ead768;
}

body.page-home .stat-card:nth-child(3) {
  margin-left: 25px;
}

body.page-home .stat-icon {
  width: 64px;
    height: 64px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}

body.page-home .stat-number {
  font-size: 36px;
    font-weight: 900;
    line-height: 1;
    color: #1f1f1f;
}

body.page-home .stat-text {
  font-size: 17px;
    font-weight: 900;
    color: #3a3a3a;
}

body.page-home .events {
  position: relative;
    z-index: 2;
    padding: 120px 50px;
    background: #ffffff;
}

body.page-home .events h2 {
  text-align: center;
        font-size: 30px;
        font-weight: 900;
        margin-bottom: 80px;
}

body.page-home .cards {
  width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: stretch;
}

body.page-home .card {
  width: 22%;
        min-height: 150px;
        background: #eee3f4;
        border-radius: 20px;
        padding: 28px 26px;
        font-size: 17px;
        font-weight: 800;
        line-height: 1.35;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: left;
}

@media (max-width: 800px) {
  body.page-home .hero h1 {
    font-size: 30px;
  }
  body.page-home .cta {
    width: 280px;
  }
  body.page-home .cards, body.page-home .profile-section {
    flex-direction: column;
            gap: 24px;
  }
  body.page-home .card {
    width: 100%;
  }
  body.page-home .footer-grid {
    grid-template-columns: 1fr;
            gap: 24px;
  }
}

/* =====================================================================
   contact.html  ->  .page-contact
   ===================================================================== */

body.page-contact .contact-page {
  min-height: 100vh;
        padding-top: 72px;
}

body.page-contact .contact-hero {
  min-height: calc(100vh - 72px);
        background-image:
          linear-gradient(rgba(0,0,0,0.48), rgba(0,0,0,0.48)),
          url("contact-bg.jpg");
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 80px 24px;
}

body.page-contact .contact-card {
  width: 100%;
        max-width: 520px;
        background: rgba(255,255,255,0.94);
        border-radius: 26px;
        padding: 46px;
        text-align: center;
        box-shadow: 0 18px 45px rgba(0,0,0,0.25);
}

body.page-contact .contact-card h1 {
  font-size: 42px;
        font-weight: 900;
        color: #9661b8;
        margin-bottom: 16px;
}

body.page-contact .contact-card p {
  font-size: 17px;
        font-weight: 600;
        line-height: 1.5;
        color: #4d4457;
        margin-bottom: 34px;
}

body.page-contact .contact-info {
  display: flex;
        flex-direction: column;
        gap: 18px;
        text-align: left;
}

body.page-contact .contact-row {
  background: #f6f0fb;
        padding: 18px 20px;
        border-radius: 16px;
}

body.page-contact .contact-row strong {
  display: block;
        color: #9661b8;
        font-size: 15px;
        margin-bottom: 5px;
}

body.page-contact .contact-row span, body.page-contact .contact-row a {
  color: #1f1f1f;
        font-size: 17px;
        font-weight: 800;
        text-decoration: none;
}

@media (max-width: 800px) {
  body.page-contact header {
    padding: 0 24px;
  }
  body.page-contact nav {
    display: none;
  }
  body.page-contact .contact-card {
    padding: 34px 26px;
  }
  body.page-contact .contact-card h1 {
    font-size: 34px;
  }
  body.page-contact .footer-grid {
    grid-template-columns: 1fr;
            gap: 24px;
  }
  body.page-contact footer {
    padding: 60px 30px 70px;
  }
}

/* =====================================================================
   cookies.html  ->  .page-cookies
   ===================================================================== */

body.page-cookies .cookies-page {
  padding: 130px 80px 90px;
        min-height: 100vh;
}

body.page-cookies .cookies-box {
  max-width: 1050px;
        margin: 0 auto;
        background: white;
        padding: 56px;
        border-radius: 26px;
        box-shadow: 0 18px 45px rgba(150, 97, 184, 0.14);
        border: 1px solid #eadcf3;
}

body.page-cookies .label {
  color: #9661b8;
        font-size: 14px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 18px;
}

body.page-cookies h1 {
  font-size: 46px;
        font-weight: 900;
        margin-bottom: 22px;
        line-height: 1.1;
}

body.page-cookies .intro {
  font-size: 18px;
        line-height: 1.7;
        color: #50475b;
        font-weight: 600;
        margin-bottom: 42px;
}

body.page-cookies .section {
  margin-bottom: 34px;
}

body.page-cookies .section h2 {
  font-size: 25px;
        font-weight: 900;
        color: #9661b8;
        margin-bottom: 12px;
}

body.page-cookies .section p, body.page-cookies .section li {
  font-size: 16px;
        line-height: 1.75;
        color: #3f3947;
        font-weight: 500;
}

body.page-cookies .section ul {
  margin-left: 24px;
        margin-top: 10px;
}

body.page-cookies .back-btn {
  display: inline-block;
        margin-top: 20px;
        background: #9661b8;
        color: white;
        text-decoration: none;
        padding: 15px 26px;
        border-radius: 14px;
        font-weight: 900;
}

body.page-cookies .back-btn:hover {
  background: #7b4d99;
}

@media (max-width: 800px) {
  body.page-cookies header {
    padding: 0 24px;
  }
  body.page-cookies nav {
    gap: 18px;
  }
  body.page-cookies .cookies-page {
    padding: 115px 24px 65px;
  }
  body.page-cookies .cookies-box {
    padding: 34px 26px;
  }
  body.page-cookies h1 {
    font-size: 34px;
  }
  body.page-cookies footer {
    padding: 60px 24px 70px;
  }
  body.page-cookies .footer-grid {
    grid-template-columns: 1fr;
            gap: 24px;
  }
}

/* =====================================================================
   detalii-eveniment.html  ->  .page-details
   ===================================================================== */

body.page-details .details-page {
  min-height: 100vh;
        padding: 140px 80px 90px;
        background:
          radial-gradient(circle at top left, rgba(150,97,184,0.20), transparent 32%),
          #f6f0fb;
}

body.page-details .details-card {
  max-width: 1100px;
        margin: 0 auto;
        background: #ffffff;
        border-radius: 34px;
        padding: 60px;
        box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

body.page-details .event-label {
  display: inline-block;
        background: #eee3f4;
        color: #9661b8;
        padding: 12px 20px;
        border-radius: 999px;
        font-size: 14px;
        font-weight: 900;
        margin-bottom: 24px;
}

body.page-details h1 {
  font-size: 48px;
        font-weight: 900;
        line-height: 1.1;
        color: #1f1f1f;
        margin-bottom: 24px;
}

body.page-details .intro {
  font-size: 20px;
        font-weight: 700;
        line-height: 1.6;
        color: #4d4457;
        margin-bottom: 42px;
        max-width: 850px;
}

body.page-details .info-grid {
  display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
        margin-bottom: 44px;
}

body.page-details .info-box {
  background: #eee3f4;
        border-radius: 22px;
        padding: 24px;
}

body.page-details .info-box h3 {
  font-size: 16px;
        font-weight: 900;
        color: #9661b8;
        margin-bottom: 8px;
}

body.page-details .info-box p {
  font-size: 16px;
        font-weight: 800;
        line-height: 1.4;
}

body.page-details .content-section {
  margin-bottom: 36px;
}

body.page-details .content-section h2 {
  font-size: 28px;
        font-weight: 900;
        color: #9661b8;
        margin-bottom: 16px;
}

body.page-details .content-section p {
  font-size: 17px;
        font-weight: 600;
        line-height: 1.75;
        color: #4d4457;
        margin-bottom: 16px;
}

body.page-details .content-section ul {
  margin-left: 24px;
}

body.page-details .content-section li {
  font-size: 17px;
        font-weight: 600;
        line-height: 1.7;
        color: #4d4457;
        margin-bottom: 8px;
}

body.page-details .back-btn {
  display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-top: 10px;
        padding: 16px 34px;
        border-radius: 16px;
        background: linear-gradient(135deg, #9661b8, #7e4da6);
        color: #ffffff;
        text-decoration: none;
        font-size: 17px;
        font-weight: 900;
        box-shadow: 0 10px 24px rgba(150,97,184,0.28);
        transition: 0.25s;
}

body.page-details .back-btn:hover {
  transform: translateY(-3px);
        box-shadow: 0 16px 34px rgba(150,97,184,0.35);
}

@media (max-width: 900px) {
  body.page-details .details-page {
    padding: 120px 24px 60px;
  }
  body.page-details .details-card {
    padding: 36px 24px;
  }
  body.page-details h1 {
    font-size: 34px;
  }
  body.page-details .info-grid {
    grid-template-columns: 1fr;
  }
  body.page-details .footer-grid {
    grid-template-columns: 1fr;
            gap: 24px;
  }
}

/* =====================================================================
   evenimente.html  ->  .page-events
   ===================================================================== */

body.page-events .events-page {
  min-height: 100vh;
        padding: 140px 80px 90px;
        background:
          radial-gradient(circle at top left, rgba(150,97,184,0.20), transparent 32%),
          #f6f0fb;
}

body.page-events .events-hero {
  max-width: 1200px;
        margin: 0 auto 60px;
        background: linear-gradient(135deg, #9661b8, #6f4796);
        color: white;
        border-radius: 34px;
        padding: 70px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}

body.page-events .events-hero::after {
  content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        background: rgba(255,255,255,0.10);
        right: -80px;
        top: -80px;
}

body.page-events .events-hero h1 {
  font-size: 56px;
        font-weight: 900;
        margin-bottom: 18px;
        position: relative;
        z-index: 1;
}

body.page-events .events-hero p {
  max-width: 720px;
        font-size: 20px;
        font-weight: 700;
        line-height: 1.55;
        position: relative;
        z-index: 1;
}

body.page-events .feature-event {
  max-width: 1200px;
        margin: 0 auto 55px;
        background: white;
        border-radius: 28px;
        padding: 42px;
        display: grid;
        grid-template-columns: 220px 1fr;
        gap: 42px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

body.page-events .big-date {
  background: #eee3f4;
        border-radius: 24px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: #9661b8;
        min-height: 220px;
}

body.page-events .big-date span {
  font-size: 72px;
        font-weight: 900;
        line-height: 1;
}

body.page-events .big-date p {
  font-size: 22px;
        font-weight: 900;
}

body.page-events .feature-info h2 {
  font-size: 34px;
        font-weight: 900;
        color: #9661b8;
        margin-bottom: 16px;
}

body.page-events .feature-info p {
  font-size: 18px;
        font-weight: 600;
        line-height: 1.6;
        margin-bottom: 24px;
}

body.page-events .read-more-btn {
  display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 16px 34px;
        border-radius: 16px;
        background: linear-gradient(135deg, #9661b8, #7e4da6);
        color: white;
        text-decoration: none;
        font-size: 17px;
        font-weight: 900;
        box-shadow: 0 10px 24px rgba(150,97,184,0.28);
        transition: 0.25s;
}

body.page-events .read-more-btn:hover {
  transform: translateY(-3px);
        box-shadow: 0 16px 34px rgba(150,97,184,0.35);
}

body.page-events .timeline-section {
  max-width: 1100px;
        margin: 0 auto 70px;
}

body.page-events .timeline-section h2 {
  font-size: 34px;
        font-weight: 900;
        margin-bottom: 32px;
}

body.page-events .timeline {
  border-left: 5px solid #9661b8;
        padding-left: 32px;
}

body.page-events .timeline-item {
  background: white;
        border-radius: 22px;
        padding: 28px;
        margin-bottom: 28px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.10);
        position: relative;
}

body.page-events .timeline-item::before {
  content: "";
        position: absolute;
        left: -45px;
        top: 34px;
        width: 20px;
        height: 20px;
        background: #9661b8;
        border: 5px solid #f6f0fb;
        border-radius: 50%;
}

body.page-events .timeline-date {
  color: #9661b8;
        font-size: 15px;
        font-weight: 900;
        margin-bottom: 8px;
}

body.page-events .timeline-item h3 {
  font-size: 24px;
        font-weight: 900;
        margin-bottom: 10px;
}

body.page-events .timeline-item p {
  font-size: 16px;
        font-weight: 600;
        line-height: 1.55;
        color: #4d4457;
}

body.page-events .news-section {
  max-width: 1000px;
        margin: 0 auto;
        background: white;
        padding: 42px;
        border-radius: 24px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.10);
}

body.page-events .news-section h2 {
  font-size: 32px;
        font-weight: 900;
        margin-bottom: 28px;
        color: #9661b8;
}

body.page-events .news-list {
  display: flex;
        flex-direction: column;
        gap: 18px;
}

body.page-events .news-item {
  background: #eee3f4;
        padding: 18px 22px;
        border-radius: 16px;
        font-size: 17px;
        line-height: 1.5;
}

body.page-events .news-item strong {
  color: #9661b8;
}

@media (max-width: 900px) {
  body.page-events .events-page {
    padding: 120px 24px 60px;
  }
  body.page-events .events-hero {
    padding: 45px 28px;
  }
  body.page-events .events-hero h1 {
    font-size: 38px;
  }
  body.page-events .feature-event {
    grid-template-columns: 1fr;
  }
  body.page-events .timeline {
    padding-left: 24px;
  }
  body.page-events .footer-grid {
    grid-template-columns: 1fr;
            gap: 24px;
  }
}

/* =====================================================================
   quiz.html  ->  .page-quiz
   ===================================================================== */

body.page-quiz .quiz {
  width: 75%;
        max-width: 1050px;
        margin: 125px auto 70px;
        background: white;
        padding: 50px;
        border-radius: 24px;
        box-shadow: 0 18px 45px rgba(150, 97, 184, 0.14);
}

body.page-quiz .quiz h1 {
  font-size: 42px;
        margin-bottom: 14px;
        text-align: center;
}

body.page-quiz .quiz > p {
  font-size: 18px;
        margin-bottom: 42px;
        text-align: center;
        color: #5d5368;
        font-weight: 600;
}

body.page-quiz .question {
  margin-bottom: 38px;
}

body.page-quiz .question h2 {
  font-size: 23px;
        margin-bottom: 16px;
}

body.page-quiz label {
  display: block;
        background: #f3e9fa;
        padding: 15px 18px;
        border-radius: 14px;
        margin-bottom: 10px;
        font-weight: 700;
        cursor: pointer;
        transition: 0.2s;
}

body.page-quiz label:hover {
  background: #e4cfef;
        transform: translateX(5px);
}

body.page-quiz input {
  margin-right: 10px;
}

body.page-quiz .submit-btn {
  background: #9661b8;
        color: white;
        border: none;
        padding: 18px 36px;
        border-radius: 14px;
        font-size: 20px;
        font-weight: 900;
        cursor: pointer;
        display: block;
        margin: 25px auto 0;
}

body.page-quiz .submit-btn:hover {
  background: #7b4d99;
}

@media (max-width: 800px) {
  body.page-quiz .quiz {
    width: 90%;
            padding: 32px;
  }
  body.page-quiz .quiz h1 {
    font-size: 32px;
  }
  body.page-quiz .footer-grid {
    grid-template-columns: 1fr;
            gap: 24px;
  }
}

/* =====================================================================
   rezultat.html  ->  .page-result
   ===================================================================== */

body.page-result .rezultat-box {
  width: 70%;
        max-width: 950px;
        margin: 140px auto 80px;
        background: white;
        padding: 58px;
        border-radius: 26px;
        text-align: center;
        box-shadow: 0 18px 45px rgba(150, 97, 184, 0.16);
}

body.page-result .label {
  color: #9661b8;
        font-size: 14px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 18px;
}

body.page-result h1 {
  font-size: 48px;
        margin-bottom: 20px;
}

body.page-result p {
  font-size: 21px;
        line-height: 1.6;
        margin-bottom: 38px;
        color: #4f4658;
        font-weight: 600;
}

body.page-result button {
  background: #9661b8;
        color: white;
        border: none;
        padding: 18px 34px;
        border-radius: 14px;
        font-size: 20px;
        font-weight: 900;
        cursor: pointer;
}

body.page-result button:hover {
  background: #7b4d99;
}

/* =====================================================================
   termeni.html  ->  .page-terms
   ===================================================================== */

body.page-terms .terms-page {
  padding: 130px 80px 90px;
        min-height: 100vh;
}

body.page-terms .terms-box {
  max-width: 1050px;
        margin: 0 auto;
        background: white;
        padding: 56px;
        border-radius: 26px;
        box-shadow: 0 18px 45px rgba(150, 97, 184, 0.14);
        border: 1px solid #eadcf3;
}

body.page-terms .label {
  color: #9661b8;
        font-size: 14px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 18px;
}

body.page-terms h1 {
  font-size: 46px;
        font-weight: 900;
        margin-bottom: 22px;
        line-height: 1.1;
}

body.page-terms .intro {
  font-size: 18px;
        line-height: 1.7;
        color: #50475b;
        font-weight: 600;
        margin-bottom: 42px;
}

body.page-terms .section {
  margin-bottom: 34px;
}

body.page-terms .section h2 {
  font-size: 25px;
        font-weight: 900;
        color: #9661b8;
        margin-bottom: 12px;
}

body.page-terms .section p, body.page-terms .section li {
  font-size: 16px;
        line-height: 1.75;
        color: #3f3947;
        font-weight: 500;
}

body.page-terms .section ul {
  margin-left: 24px;
        margin-top: 10px;
}

body.page-terms .back-btn {
  display: inline-block;
        margin-top: 20px;
        background: #9661b8;
        color: white;
        text-decoration: none;
        padding: 15px 26px;
        border-radius: 14px;
        font-weight: 900;
}

body.page-terms .back-btn:hover {
  background: #7b4d99;
}

@media (max-width: 800px) {
  body.page-terms header {
    padding: 0 24px;
  }
  body.page-terms nav {
    gap: 18px;
  }
  body.page-terms .terms-page {
    padding: 115px 24px 65px;
  }
  body.page-terms .terms-box {
    padding: 34px 26px;
  }
  body.page-terms h1 {
    font-size: 34px;
  }
  body.page-terms footer {
    padding: 60px 24px 70px;
  }
  body.page-terms .footer-grid {
    grid-template-columns: 1fr;
            gap: 24px;
  }
}

/* =====================================================================
   test.html  ->  .page-test
   ===================================================================== */

body.page-test .hero {
  height: 100vh;
       display: flex;
       align-items: center;
       justify-content: center;
       text-align: center;
       color: black;
       position: relative;
       overflow: hidden;
}

body.page-test .hero h1 {
  font-size: 43px;
        font-weight: 900;
        margin-bottom: 18px;
}

body.page-test .hero p {
  font-size: 18px;
        font-weight: 900;
        margin-bottom: 45px;
}

body.page-test .hero-content {
  position: relative;
               z-index: 1;
}

body.page-test .cta {
  width: 395px;
        height: 65px;
        background: #9661b8;
        color: white;
        border: 3px solid #3c2448;
        border-radius: 14px;
        font-size: 31px;
        font-weight: 900;
        cursor: pointer;
        box-shadow: 0 3px 0 rgba(0,0,0,0.35);
}

body.page-test .bg-circle {
  position: absolute;
  	 border-radius: 50%;
  	 background: rgba(150, 97, 184, 0.14);
  	 filter: blur(10px);
  	 z-index: 0;
}

body.page-test .c1 {
  width: 420px;
  	 height: 420px;
  	 top: 120px;
  	 left: -120px;
}

body.page-test .c2 {
  width: 320px;
  	 height: 320px;
  	 top: 80px;
  	 right: -80px;
}

@media (max-width: 800px) {
  body.page-test .hero h1 {
    font-size: 30px;
  }
  body.page-test .cta {
    width: 280px;
  }
  body.page-test .footer-grid {
    grid-template-columns: 1fr;
            gap: 24px;
  }
}

/* =====================================================================
   despre.html  ->  .page-about
   ===================================================================== */

body.page-about .about-page {
  padding-top: 72px;
        background: #ffffff;
}

body.page-about .hero {
  padding: 110px 80px 90px;
        background: #f6f0fb;
        border-bottom: 1px solid #e6d8ef;
}

body.page-about .hero-inner {
  max-width: 1150px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 70px;
        align-items: center;
}

body.page-about .hero-text .label {
  color: #9661b8;
        font-size: 14px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 18px;
}

body.page-about .hero-text h1 {
  font-size: 58px;
        line-height: 1.05;
        font-weight: 900;
        margin-bottom: 26px;
        max-width: 650px;
}

body.page-about .hero-text p {
  font-size: 20px;
        line-height: 1.65;
        color: #4f4658;
        font-weight: 600;
        max-width: 640px;
}

body.page-about .hero-photo {
  height: 390px;
        background: #e8dff0;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid #dac7e8;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #9661b8;
        font-size: 22px;
        font-weight: 900;
        text-align: center;
        padding: 30px;
}

body.page-about .hero-photo img {
  width: 100%;
        height: 100%;
        object-fit: cover;
}

body.page-about .content {
  max-width: 1150px;
        margin: 0 auto;
        padding: 80px 80px;
}

body.page-about .two-columns {
  display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 80px;
    margin-bottom: 70px;
    align-items: start;
    background: linear-gradient(135deg, #ffffff 0%, #f8f1fc 100%);
    padding: 55px;
    border-radius: 22px;
    border: 1px solid #eadcf3;
    box-shadow: 0 18px 45px rgba(150, 97, 184, 0.10);
}

body.page-about .section-title {
  font-size: 42px;
    font-weight: 900;
    color: #1f1f1f;
    line-height: 1.1;
}

body.page-about .section-title::after {
  content: "";
    display: block;
    width: 70px;
    height: 6px;
    background: #9661b8;
    border-radius: 20px;
    margin-top: 22px;
}

body.page-about .text-block p {
  font-size: 18px;
    line-height: 1.8;
    color: #3f3947;
    font-weight: 500;
    margin-bottom: 24px;
}

body.page-about .principles {
  display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    border: none;
    margin-bottom: 90px;
}

body.page-about .principle {
  padding: 38px 34px;
    border: 1px solid #eadcf3;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 16px 35px rgba(150, 97, 184, 0.11);
    transition: 0.25s ease;
    position: relative;
    overflow: hidden;
}

body.page-about .principle::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 7px;
    background: linear-gradient(90deg, #9661b8, #ffe34d);
}

body.page-about .principle:hover {
  transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(150, 97, 184, 0.18);
}

body.page-about .principle:last-child {
  border-right: 1px solid #eadcf3;
}

body.page-about .principle span {
  display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    background: #f4e9fb;
    color: #9661b8;
    font-size: 15px;
    font-weight: 900;
    border-radius: 50%;
    margin-bottom: 22px;
}

body.page-about .principle h3 {
  font-size: 25px;
    font-weight: 900;
    margin-bottom: 15px;
    color: #1f1f1f;
}

body.page-about .principle p {
  font-size: 16px;
    line-height: 1.65;
    color: #4f4658;
    font-weight: 500;
}

body.page-about .process {
  background: #f6f0fb;
        padding: 70px 80px;
        margin: 0 -80px 80px;
        border-top: 1px solid #e6d8ef;
        border-bottom: 1px solid #e6d8ef;
}

body.page-about .process-inner {
  max-width: 1150px;
        margin: 0 auto;
}

body.page-about .process h2 {
  font-size: 38px;
        font-weight: 900;
        margin-bottom: 40px;
}

body.page-about .process-list {
  display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
}

body.page-about .process-item {
  background: white;
        padding: 28px;
        border-radius: 6px;
        border: 1px solid #e6d8ef;
}

body.page-about .process-item strong {
  display: block;
        color: #9661b8;
        font-size: 15px;
        margin-bottom: 14px;
}

body.page-about .process-item h3 {
  font-size: 21px;
        font-weight: 900;
        margin-bottom: 12px;
}

body.page-about .process-item p {
  font-size: 15px;
        line-height: 1.6;
        color: #4f4658;
        font-weight: 500;
}

body.page-about .team-section {
  display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 55px;
        align-items: center;
        margin-bottom: 80px;
}

body.page-about .team-image {
  height: 430px;
        background: #eee3f4;
        border: 1px solid #dac7e8;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #9661b8;
        font-size: 22px;
        font-weight: 900;
        text-align: center;
        padding: 30px;
}

body.page-about .team-image img {
  width: 100%;
       height: 100%;
       object-fit: cover;
}

body.page-about .team-text h2 {
  font-size: 38px;
        font-weight: 900;
        margin-bottom: 24px;
}

body.page-about .team-text p {
  font-size: 18px;
        line-height: 1.75;
        color: #3f3947;
        font-weight: 500;
        margin-bottom: 20px;
}

body.page-about .cta-section {
  padding: 55px 60px;
        background: #9661b8;
        color: white;
        border-radius: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 40px;
}

body.page-about .cta-section h2 {
  font-size: 34px;
        font-weight: 900;
        margin-bottom: 10px;
}

body.page-about .cta-section p {
  font-size: 17px;
        line-height: 1.55;
        font-weight: 500;
        max-width: 620px;
}

body.page-about .cta-section a {
  background: white;
        color: #9661b8;
        text-decoration: none;
        padding: 16px 28px;
        border-radius: 8px;
        font-weight: 900;
        white-space: nowrap;
}

@media (max-width: 900px) {
  body.page-about .hero {
    padding: 110px 24px 60px;
  }
  body.page-about .hero-inner, body.page-about .two-columns, body.page-about .team-section {
    grid-template-columns: 1fr;
  }
  body.page-about .hero-text h1 {
    font-size: 42px;
  }
  body.page-about .content {
    padding: 60px 24px;
  }
  body.page-about .principles {
    grid-template-columns: 1fr;
  }
  body.page-about .principle {
    border-right: 1px solid #eadcf3;
      		border-bottom: 1px solid #eadcf3;
  }
  body.page-about .process {
    margin: 0 -24px 60px;
            padding: 55px 24px;
  }
  body.page-about .process-list {
    grid-template-columns: 1fr;
  }
  body.page-about .cta-section {
    flex-direction: column;
            align-items: flex-start;
  }
  body.page-about .footer-grid {
    grid-template-columns: 1fr;
            gap: 24px;
  }
}

/* =====================================================================
   specializari.html  ->  .page-specializari
   ===================================================================== */

body.page-specializari .specializari-page {
  padding-top: 72px;
        background: #ffffff;
}

body.page-specializari .hero {
  background: linear-gradient(135deg, #f6f0fb 0%, #ffffff 100%);
        padding: 105px 80px 95px;
        border-bottom: 1px solid #eadcf3;
}

body.page-specializari .hero-inner {
  max-width: 1180px;
        margin: 0 auto;
        text-align: center;
}

body.page-specializari .hero-label {
  color: #9661b8;
        font-size: 14px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 20px;
}

body.page-specializari .hero h1 {
  font-size: 56px;
        line-height: 1.08;
        font-weight: 900;
        max-width: 850px;
        margin: 0 auto 24px;
}

body.page-specializari .hero p {
  font-size: 20px;
        line-height: 1.7;
        color: #51465d;
        font-weight: 600;
        max-width: 760px;
        margin: 0 auto;
}

body.page-specializari .explore-link {
  margin-top: 38px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        color: #9661b8;
        text-decoration: none;
        font-weight: 900;
        font-size: 16px;
}

body.page-specializari .arrow-down {
  width: 42px;
        height: 42px;
        border-radius: 50%;
        background: #9661b8;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        box-shadow: 0 12px 25px rgba(150, 97, 184, 0.25);
}

body.page-specializari .content {
  padding: 85px 80px 95px;
        background: #ffffff;
}

body.page-specializari .specializari-grid {
  display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 34px;
        max-width: 1180px;
        margin: 0 auto;
}

body.page-specializari .profil-item {
  display: flex;
        flex-direction: column;
}

body.page-specializari .specializare-card {
  background: #ffffff;
        padding: 38px;
        border-radius: 24px;
        border: 1px solid #eadcf3;
        box-shadow: 0 16px 38px rgba(150, 97, 184, 0.10);
        transition: 0.25s ease;
        min-height: 245px;
        position: relative;
        z-index: 2;
}

body.page-specializari .specializare-card:hover {
  transform: translateY(-6px);
        box-shadow: 0 22px 45px rgba(150, 97, 184, 0.16);
}

body.page-specializari .specializare-card h2 {
  font-size: 30px;
        font-weight: 900;
        margin-bottom: 14px;
        line-height: 1.2;
}

body.page-specializari .specializare-card p {
  font-size: 17px;
        line-height: 1.65;
        color: #50475b;
        font-weight: 600;
        margin-bottom: 26px;
}

body.page-specializari button, body.page-specializari .detalii-btn {
  background: #9661b8;
        color: white;
        border: none;
        padding: 14px 24px;
        border-radius: 14px;
        font-size: 16px;
        font-weight: 900;
        cursor: pointer;
        transition: 0.2s ease;
}

body.page-specializari button:hover, body.page-specializari .detalii-btn:hover {
  background: #7b4d99;
}

body.page-specializari .detalii-box {
  display: none;
        grid-template-columns: 1fr 1fr;
        gap: 36px;
        background: #f8f1fc;
        padding: 52px 38px 38px;
        border-radius: 0 0 24px 24px;
        border: 1px solid #eadcf3;
        border-top: none;
        margin-top: -20px;
        box-shadow: 0 16px 32px rgba(150, 97, 184, 0.10);
}

body.page-specializari .detalii-box.active {
  display: grid;
}

body.page-specializari .detalii-box h3 {
  font-size: 24px;
        color: #9661b8;
        font-weight: 900;
        margin-bottom: 18px;
        line-height: 1.25;
}

body.page-specializari .detalii-box ul {
  margin-left: 22px;
        margin-bottom: 24px;
}

body.page-specializari .detalii-box li {
  font-size: 17px;
        font-weight: 700;
        margin-bottom: 12px;
        line-height: 1.5;
        color: #3f3947;
}

body.page-specializari .detalii-box p {
  font-size: 15px;
        font-weight: 700;
        line-height: 1.6;
        color: #50475b;
        margin-top: 18px;
}

body.page-specializari .detalii-box a {
  color: #9661b8;
        font-weight: 900;
}

body.page-specializari .info-card {
  max-width: 1180px;
        margin: 80px auto 0;
        background: linear-gradient(135deg, #9661b8 0%, #7b4d99 100%);
        color: white;
        border-radius: 28px;
        padding: 48px;
        box-shadow: 0 22px 48px rgba(150, 97, 184, 0.22);
}

body.page-specializari .info-card h2 {
  font-size: 34px;
        font-weight: 900;
        margin-bottom: 14px;
}

body.page-specializari .info-card > p {
  font-size: 18px;
        line-height: 1.7;
        font-weight: 600;
        max-width: 820px;
        margin-bottom: 34px;
}

body.page-specializari .info-grid {
  display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
}

body.page-specializari .info-box {
  background: rgba(255,255,255,0.12);
        border: 1px solid rgba(255,255,255,0.25);
        border-radius: 20px;
        padding: 28px;
}

body.page-specializari .info-box h3 {
  font-size: 24px;
        font-weight: 900;
        margin-bottom: 12px;
        color: #ffe34d;
}

body.page-specializari .info-box p {
  font-size: 16px;
        line-height: 1.65;
        font-weight: 600;
}

@media (max-width: 900px) {
  body.page-specializari header {
    padding: 0 24px;
  }
  body.page-specializari nav {
    gap: 20px;
  }
  body.page-specializari .hero {
    padding: 85px 24px 70px;
  }
  body.page-specializari .hero h1 {
    font-size: 38px;
  }
  body.page-specializari .hero p {
    font-size: 17px;
  }
  body.page-specializari .content {
    padding: 65px 24px 75px;
  }
  body.page-specializari .specializari-grid {
    grid-template-columns: 1fr;
  }
  body.page-specializari .detalii-box {
    grid-template-columns: 1fr;
  }
  body.page-specializari .info-card {
    padding: 34px 26px;
            margin-top: 60px;
  }
  body.page-specializari .info-card h2 {
    font-size: 28px;
  }
  body.page-specializari .info-grid {
    grid-template-columns: 1fr;
  }
  body.page-specializari footer {
    padding: 60px 24px 70px;
  }
  body.page-specializari .footer-grid {
    grid-template-columns: 1fr;
            gap: 24px;
  }
}


.message{
    position:relative;
    width:420px;
    margin:15px auto;
    padding:16px 50px 16px 18px;
    border-radius:10px;
    font-size:15px;
    font-weight:500;
    box-shadow:0 8px 20px rgba(0,0,0,.12);
    animation:fadeIn .4s;
    transition:opacity .6s, transform .6s;
}

.message.hide{
    opacity:0;
    transform:translateY(-15px);
}

.close{
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    font-size:22px;
    font-weight:bold;
    color:#555;
}

.close:hover{
    color:#000;
}

.info{
    background:#e8f4fd;
    border-left:6px solid #2196F3;
    color:#0d47a1;
}

.success{
    background:#edf9ed;
    border-left:6px solid #4CAF50;
    color:#2e7d32;
}

.warning{
    background:#fff8e1;
    border-left:6px solid #ff9800;
    color:#e65100;
}

.error{
    background:#fdecec;
    border-left:6px solid #f44336;
    color:#b71c1c;
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(-20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
