/* =============== RESET =============== */
* { margin: 0; padding: 0; box-sizing: border-box; }
img { display: block; max-width: 100%; height: auto; }

/* =============== HERO =============== */
.hero {
  position: relative;
  height: 368px;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  z-index: 2;
  padding: 0 1rem;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.hero-text p {
  font-size: 1.4rem;
  color: #e0e7ff;
  font-style: italic;
}

/* =============== CONTENT WRAPPER =============== */
.about-content{
  /* eliminăm „prea mult alb” și aliniem cu stilul dark al site-ului */
  background:
    radial-gradient(1000px 600px at 12% 15%, rgba(59,130,246,.10), transparent 60%),
    radial-gradient(900px 540px at 88% 5%, rgba(56,189,248,.08), transparent 60%),
    linear-gradient(180deg, var(--bg-1,#0b1220), var(--bg-0,#0a0f1a));
  padding: 72px 0 0 0;
  display:flex; flex-direction:column;
  gap: 80px;
}

/* Carduri „glass” pentru fiecare secțiune */
.about-content .container{
  width:100%;
  padding: 0 60px;
  display:flex; justify-content:space-between; align-items:center; gap: 56px;

  /* glassmorphism */
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(2,8,23,.35), inset 0 0 20px rgba(59,130,246,.06);
  position: relative;
  overflow: hidden;

  opacity: 0; transform: translateY(28px);
  transition: opacity .9s ease, transform .9s ease, box-shadow .25s ease, border-color .25s ease;
}

/* accente subtile în colțuri */
.about-content .container::before,
.about-content .container::after{
  content:""; position:absolute; pointer-events:none; border-radius:20px;
}
.about-content .container::before{
  inset:-1px; background: conic-gradient(from 180deg, transparent, rgba(56,189,248,.18), transparent 30%);
  filter: blur(14px); opacity:.0; transition:.25s ease;
}
.about-content .container:hover{ border-color: rgba(56,189,248,.35); box-shadow: 0 14px 44px rgba(34,211,238,.16), 0 10px 32px rgba(2,8,23,.45); }
.about-content .container:hover::before{ opacity:.75; }

.about-content .container.fade-in{ opacity:1; transform: translateY(0); }

/* Alternare stânga/dreapta a imaginii, fără a inversa direcția textului */
.about-content .container:nth-child(even){ flex-direction: row-reverse; }

/* TEXT */
.about-content .text-block{
  flex: 1.15;
  padding-right: 36px;
  text-align:left;
}
.about-content .container:nth-child(even) .text-block{ padding-right:0; padding-left:36px; }

.about-content h2{
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 14px;
  color: var(--text-0, #e5eefc);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing:.2px;
}
.about-content h2::after{
  content:"";
  display:block; width:82px; height:3px; margin-top:12px; border-radius:3px;
  background: linear-gradient(90deg, #60a5fa, #22d3ee);
  opacity:.9;
}

/* Paragrafe */
.about-content p{
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  line-height: 1.85;
  color: var(--text-2, #91a4c2);
  font-family: 'Segoe UI', system-ui, sans-serif;
}

/* Prima literă: bold, +1px și ALB */
.about-content .text-block p:first-of-type::first-letter{
  font-weight: 700 !important;
  font-size: calc(1em + 1px) !important;
  color: #fff !important;            /* alb */
  line-height: inherit !important;

  /* anulăm orice stil anterior de drop-cap */
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-shadow: none !important;
  transform: none !important;
}


/* IMAGINE */
.about-content .image-block{
  flex: 1;
  max-width: 520px;
  position: relative; overflow:hidden; border-radius: 16px;
  border: 1px solid rgba(148,163,184,.18);
  box-shadow: 0 8px 28px rgba(2,8,23,.35);
  transition: transform .35s ease, box-shadow .35s ease, border-color .25s ease;
}
.about-content .image-block:hover{
  transform: translateY(-4px);
  border-color: rgba(56,189,248,.35);
  box-shadow: 0 14px 44px rgba(34,211,238,.16), 0 10px 32px rgba(2,8,23,.45);
}
.about-content .image-block img{
  width:100%; height:auto; display:block; border-radius:16px;
  filter: brightness(.98) saturate(1.04);
}
.about-content .image-block::after{
  content:""; position:absolute; inset:0; border-radius:16px;
  background: radial-gradient(55% 60% at 50% 50%, transparent 50%, rgba(0,0,0,.28));
  opacity:0; transition: opacity .25s ease;
}
.about-content .image-block:hover::after{ opacity:1; }

/* CTA */
.cta-section{
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-top: 1px solid rgba(148,163,184,.18);
  padding: 64px 60px 70px;
  text-align:center;
  margin-bottom:0;
  box-shadow: inset 0 0 24px rgba(59,130,246,.06);
}
.cta-section p{
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  margin-bottom: 22px;
  color: #e6f0ff;
  font-weight: 500;
}
.cta-button{
  padding: 1rem 2.1rem;
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color:#fff; border-radius: 12px; font-weight:600; text-decoration:none;
  font-size: 1.05rem;
  box-shadow: 0 10px 24px rgba(37,99,235,.40);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.cta-button:hover{ transform: translateY(-3px); box-shadow: 0 16px 36px rgba(37,99,235,.55); filter: brightness(1.03); }

/* =============== RESPONSIVE =============== */
@media (max-width: 1024px){
  .about-content{ gap: 56px; padding-top: 56px; }
  .about-content .container{ flex-direction: column; padding: 0 24px; gap: 28px; }
  .about-content .text-block{ padding:0; text-align:center; }
  .about-content .container:nth-child(even) .text-block{ padding:0; }
  .about-content h2{ font-size: clamp(1.4rem, 3.8vw, 1.8rem); }
  .about-content p{ font-size: 1rem; line-height: 1.75; }
  .about-content .image-block{ max-width: 100%; width:100%; }

  /* drop-cap mai discret pe mobil/tabletă */
  .about-content .text-block p:first-of-type::first-letter{
    font-size: 1.8em;
    padding: 4px 8px 0 2px;
    margin-right: 8px;
  }

  .cta-section{ padding: 52px 1.25rem 56px; }
  .cta-section p{ font-size: 1.05rem; }
  .cta-button{ padding: .9rem 1.6rem; font-size: 1rem; }
}

@media (max-width: 640px){
  .hero{ height: 250px; }
  .hero-text h1{ font-size: 1.8rem; }
  .hero-text p{ font-size: 1rem; }
}
