:root {
  --color-primary: #0e233a;
  --color-secondary: #19334C;
  --color-accent: #d1b06b;
  --color-light: #f8f8f8;
  --color-dark: #1a1a1a;
  --color-gray: #e5e5e5;
}

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--color-dark);
  background: var(--color-light);
  
}

.reveal {
  opacity: 0.7;
  transform: translateY(40px);
  transition: all 1.2s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ----------------- NAVBAR ----------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 5%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(13,27,42,0.45);
  color: var(--color-accent);
  z-index: 2200;  
}

header svg{
  margin-left: 5vw;
  fill: var(--color-accent);
  height: 2rem;
  width: auto;
  vertical-align: middle;
}

header nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

header nav a {
  color: var(--color-accent);
  text-decoration: none;
  margin: 0 0.75rem;
  font-weight: 500;
  transition: color 0.2s;
}

header nav a.active {
  border-bottom: 2px solid var(--color-accent);
  font-weight: 600;
}

header nav a:hover { color: var(--color-light); }

#menu-toggle {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: 0;
}

.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--color-accent);
  background: transparent;
  border-radius: 6px;
  padding: 6px;
  line-height: 1;
  user-select: none;
  z-index: 2300;
}

.close-btn {
  display: none;
  font-size: 1.9rem;
  color: var(--color-accent);
  background: transparent;
  cursor: pointer;
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2400;
}

@media (max-width: 800px) {
  .menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  header nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 68px;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    background: rgb(13, 27, 42);
    z-index: 3000;
    overflow-y: auto;
  }

  header svg{
    height: 1.75rem;
    margin-left: 13px;
  }

  header nav a {
    font-size: 1.15rem;
    margin: 0.9rem 0;
    color: var(--color-accent);
  }

  #menu-toggle:checked + .menu-icon + nav {
    transform: translateX(0);
  }

  #menu-toggle:checked + .menu-icon {
    display: none;
  }

  #menu-toggle:checked + .menu-icon + nav .close-btn {
    display: block;
  }

  #menu-toggle:not(:checked) + .menu-icon + nav .close-btn {
    display: none;
  }
}

/* ---------- footer ---------- */
footer {
  background: var(--color-primary);
  color: white;
  color: #e0e6ef;
  padding: 3rem 2rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

footer .footer-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: flex-start;
  justify-items: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 2rem;
  text-align: left;
}

.footer-section h3 {
  font-size: 1.2rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-section p,
.footer-section a {
  color: #d2dae2;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a{
  line-height: 0.5rem;
}

.footer-section a:hover {
  color: var(--color-accent);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  color: #d2dae2;
  font-size: 1.2rem;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-social a:hover {
  color: var(--color-accent);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #aeb9c9;
  z-index: 1;
  position: relative;
}

@media (max-width: 768px) {
  footer .footer-content {
    grid-template-columns: 1fr;
    gap: 0;
  }

  footer .footer-section {
    width: 100%;
    max-width: 360px;
  }

}

/* ------------------------------------------------------------------------------ HOME PAGE ------------------------------------------------------------------------------ */
/* ---------- hero section ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  gap: 4rem;
  padding: 8% 10% 5%;
  color: white;
  overflow: hidden;
  box-sizing: border-box;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/img/background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.3);
  z-index: -1;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-content p {
  max-width: 45ch;
  margin-bottom: 1.5rem;
}

.hero-content button,
.about button {
  padding: 0.8em 1.6em;
  border: none;
  background: var(--color-accent);
  color: #000;
  font-weight: bold;
  cursor: pointer;
  border-radius: 0.3em;
  align-self: flex-start;
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero-content button:hover,
.about button:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(209, 176, 107, 0.8);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(209, 176, 107, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(209, 176, 107, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(209, 176, 107, 0.4);
  }
}

.hero .vali-img img {
  flex: 1;
  margin-top: 3rem;
  max-width: 600px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.473);
  align-self: center;
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 25% 5% 10%;
  }

  .hero-content {
    align-items: center;
    gap:0;
  }

  .hero-content button {
    align-self: center;
  }

  .hero .vali-img img {
    margin-top: 0;
    max-width: 85%;
  }

  .hero-content .accent-line {
    display: none;
  }
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero img {
    margin-top: 2rem;
  }

  .hero-content h1{
    padding-top: 3rem;
  }
}

@media (max-width: 1200px){
  .top-img{
    display: none;
  }
}

/* ---------- Introduction ---------- */
.intro-services {
  display: flex;
  gap: 3rem;
  padding: 5% 10%;
  align-items: center;
  flex-wrap: wrap;
}

.intro-left {
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.intro-left .intro-img {
  width: 80%;
  border-radius: 0.5em;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin: 0 auto;
}

.intro-img img{
  max-width: 400px;
}

.intro-right {
  flex: 1 1 65%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.intro-right h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0;
}

.accent-line {
  width: 30vw;
  height: 2px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

.intro-right p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-dark);
  margin: 0;
}

.founder {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.founder-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.founder-name {
  font-weight: 600;
}

.stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.stat-box {
  background: var(--color-light);
  padding: 1rem 1.5rem;
  border-radius: 0.5em;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.stat-box h3 {
  font-size: 1.8rem;
  margin: 0;
  color: var(--color-primary);
}

.stat-box p {
  margin: 0; padding: 0%;
  font-size: 0.9rem;
  color: var(--color-dark);
}

/* Responsive for smaller screens */
@media (max-width: 900px) {
  .intro-services {
    flex-direction: column;
    padding: 5% 5%;
  }

  .intro-left, .intro-right {
    flex: 1 1 100%;
  }

  .stats {
    justify-content: center;
  }
}

/* ---------- Specializations ---------- */
.features {
  background-image: linear-gradient(45deg, transparent 0%, transparent 51%,rgba(130, 130, 130,0.05) 51%, rgba(130, 130, 130,0.05) 71%,transparent 71%, transparent 100%),linear-gradient(0deg, transparent 0%, transparent 69%,rgba(130, 130, 130,0.05) 69%, rgba(130, 130, 130,0.05) 84%,transparent 84%, transparent 100%),linear-gradient(135deg, transparent 0%, transparent 37%,rgba(130, 130, 130,0.05) 37%, rgba(130, 130, 130,0.05) 73%,transparent 73%, transparent 100%),linear-gradient(90deg, rgb(255,255,255),rgb(255,255,255));
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(250px, max-content));
  gap: 2rem;
  padding: 5% 10%;
}

.feature {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
  padding: 2rem;
  border-radius: 0.5em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: background 0.3s, color 0.2s;
}

.feature:hover {
  background: var(--color-primary);
  color: white;
}

.feature h3 {
  margin: 0;
}



/* ---------- About ---------- */
.about {
  padding: 5% 10%;
  background: linear-gradient(-45deg, #d1b16b88, #fff, #d1b16b60, #fff);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.212);
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.about h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 0rem;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 2% 10%;
  background: var(--color-gray);
}

.faq h2 {
  text-align: center;
}

.faq p, ul {
  color: grey;
}

details {
  margin: 1rem 0;
  background: white;
  padding: 1rem;
  border-radius: 0.3em;
  cursor: pointer;
}

/* ------------------------------------------------------------------------------ Contact ------------------------------------------------------------------------------ */

/* ---------- HERO SECTION ---------- */
.contact-hero {
  display: grid;
  grid-template-columns: 1fr 0.35fr;
  align-items: center;
  background: var(--color-primary);
  color: white;
  padding: 5rem 10%;
}

.contact-hero h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  margin: 0 0 0.5rem 0;
}

.contact-hero p {
  margin: 0;
  line-height: 1.6;
}

/* ---------- CONTACT SECTION ---------- */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding: 6rem 10%;
}

/* LEFT SIDE – INFO PANEL */
.contact-info {
  position: relative;
  left: 2rem;
  background-image: repeating-linear-gradient(90deg, hsla(178,0%,66%,0.05) 0px, hsla(178,0%,66%,0.05) 1px,transparent 1px, transparent 104px),repeating-linear-gradient(0deg, hsla(178,0%,66%,0.05) 0px, hsla(178,0%,66%,0.05) 1px,transparent 1px, transparent 104px),repeating-linear-gradient(0deg, hsla(178,0%,66%,0.07) 0px, hsla(178,0%,66%,0.07) 1px,transparent 1px, transparent 26px),repeating-linear-gradient(90deg, hsla(178,0%,66%,0.07) 0px, hsla(178,0%,66%,0.07) 1px,transparent 1px, transparent 26px),linear-gradient(0deg, rgb(14,35,58),rgb(14,35,58));
  color: white;
  border-radius: 40px;
  padding: 3rem 3rem 3rem 3.5rem;
  margin-top: 2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  background: white;
  color: var(--color-primary);
  font-size: 1.2rem;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.contact-block a{
  text-decoration: none;
}

.contact-icon i,
.mini-btn i {
  flex-shrink: 0;
}

.contact-icon i {
  color: var(--color-primary);
}

.mini-btn i {
  color: white;
}

.contact-icon:hover,
.contact-icon:focus {
  transform: translateY(-3px);
  background: var(--color-accent);
  color: #000;
  outline: none;
}

/* TEXT INSIDE CONTACT BLOCK */
.contact-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-body p {
  margin: 0.15rem 0;
}

.contact-lead {
  font-weight: 700;
  color: #fff;
  font-size: 0.98rem;
  margin: 0;
}

.contact-body a {
  color: #fff;
  font-weight: 600;
  /* text-decoration: none; */
}

.contact-body a:hover {
  text-decoration: underline;
}

/* MINI BUTTONS (MAPS, WAZE) */
.mini-links {
  margin-top: 0.4rem;
  display: flex;
  gap: 0.6rem;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.6rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.15s ease, transform 0.12s ease;
}

.mini-btn:hover,
.mini-btn:focus {
  background: var(--color-accent);
  transform: translateY(-3px);
}

/* ---------- CONTACT FORM ---------- */
.contact-form {
  background: none;
  padding: 3rem 4rem;
  max-width: 550px;
  justify-self: end;
  align-self: center;
}

.contact-form h2 {
  margin-top: 0;
  color: var(--color-primary);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem;
  margin-top: 0.5rem;
  border: 1px solid #d1d1d1;
  border-radius: 0.35rem;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form button {
  margin-top: 1.2rem;
  padding: 0.7rem 1.2rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 0.35rem;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.18s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  background: #142c4c;
}

/* ---------- MAP AREA ---------- */
.map {
  background: var(--color-light);
  text-align: center;
  padding: 3rem 10%;
}

.map h2 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1000px) {
  .contact-section {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .contact-info {
    left: 0;
    margin: 1rem;
    padding: 1.25rem;
    border-radius: 12px;
  }

  .contact-form {
    padding: 1.25rem;
    max-width: 100%;
  }

  .contact-icon {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .contact-icon {
    width: 44px;
    height: 44px;
  }

  .mini-btn {
    font-size: 0.85rem;
    padding: 0.3rem 0.5rem;
  }

  .map iframe {
    height: 300px;
  }
}

.legal-note {
  background: linear-gradient(145deg, #fff, #f8f8f8);
  border-left: 5px solid var(--color-accent);
  padding: 2rem;
  margin: 0 10% 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.legal-note-icon {
  font-size: 2.5rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

.legal-note h3 {
  margin-top: 0;
  color: var(--color-primary);
}

.legal-note p {
  margin: 0.3rem 0 0;
  color: #333;
  line-height: 1.6;
}

/* ------------------------------------------------------------------------------ SERVICII ------------------------------------------------------------------------------ */

.services .container {
  padding: 0 2rem;
}

/* ---------- SECTION TITLES ---------- */
.services .title{
  padding: 1rem 2.5rem;
  background-image: linear-gradient(45deg, rgba(187, 187, 187,0.04) 0%, rgba(187, 187, 187,0.04) 50%,rgba(86, 86, 86,0.04) 50%, rgba(86, 86, 86,0.04) 100%),linear-gradient(135deg, rgba(166, 166, 166,0.04) 0%, rgba(166, 166, 166,0.04) 50%,rgba(92, 92, 92,0.04) 50%, rgba(92, 92, 92,0.04) 100%),linear-gradient(90deg, rgb(255,255,255),rgb(255,255,255)); background-size: 142px 142px;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-top: 5rem;
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  width: 80px;
  height: 3px;
  background-color: var(--color-accent);
  display: block;
  margin: 0.7rem auto;
  border-radius: 3px;
}

/* ---------- INTRO ---------- */
.intro {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ---------- SERVICE CARDS ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: #fff;
  border: 1px solid var(--color-gray);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background-color: transparent;
  transition: background-color 0.3s ease;
  border-radius: 10px 0 0 10px;
}

.service-card:hover::before {
  background-color: var(--color-accent);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

.service-card h2 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-gray);
  padding-bottom: 0.5rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card ul li {
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.7rem;
}

.service-card ul li::before {
  content: "•";
  color: var(--color-accent);
  position: absolute;
  left: 0;
  top: 0;
}

/* ---------- QUOTE ---------- */
.quote-card {
  text-align: center;
  font-style: italic;
  margin: 3rem auto;
  max-width: 700px;
  color: var(--color-accent);
}

.quote-card i {
  font-size: 2rem;
  color: var(--color-accent);
  display: block;
  margin-bottom: 1rem;
}

.quote-card span {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  font-weight: 600;
  color: var(--color-dark);
}

/* ---------- COLLABORATION STEPS ---------- */
.collaboration {
  margin: 5rem 0;
  text-align: center;
}

.collaboration h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
  position: relative;
}

.collaboration h2::after {
  content: '';
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
  display: block;
  margin: 0.5rem auto;
  border-radius: 2px;
}

.steps-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.step {
  flex: 1 1 220px;
  text-align: center;
}

.step h3 {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--color-dark);
}

/* ---------- METRICS / TRUST ---------- */
.metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin: 4rem 0;
  text-align: center;
}

.metric h3 {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.metric p {
  font-size: 1rem;
  color: var(--color-dark);
}

/* ---------- VALUES ---------- */
.values-cards {
    max-width: 1100px;
    margin: 5rem auto;
    padding: 0 2rem;
    text-align: center;
}

.values-cards h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
    position: relative;
}

.values-cards h2::after {
    content: '';
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    display: block;
    margin: 0.5rem auto;
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.value-card i {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--color-dark);
}

/* ---------- CALL TO ACTION ---------- */
.cta {
  text-align: center;
  background-image: repeating-linear-gradient(90deg, hsla(298,16%,68%,0.06) 0px, hsla(298,16%,68%,0.06) 1px,transparent 1px, transparent 21px,hsla(298,16%,68%,0.06) 21px, hsla(298,16%,68%,0.06) 22px,transparent 22px, transparent 72px),repeating-linear-gradient(0deg, hsla(298,16%,68%,0.06) 0px, hsla(298,16%,68%,0.06) 1px,transparent 1px, transparent 21px,hsla(298,16%,68%,0.06) 21px, hsla(298,16%,68%,0.06) 22px,transparent 22px, transparent 72px),repeating-linear-gradient(135deg, hsla(298,16%,68%,0.06) 0px, hsla(298,16%,68%,0.06) 1px,transparent 1px, transparent 21px,hsla(298,16%,68%,0.06) 21px, hsla(298,16%,68%,0.06) 22px,transparent 22px, transparent 72px),linear-gradient(90deg, rgb(13,27,42),rgb(13,27,42));
  color: var(--color-light);
  padding: 3rem 2rem;
  border-radius: 12px;
  margin: 4rem 0;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.services .cta p {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--color-secondary);
  color: var(--color-light);
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: var(--color-dark);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .intro {
    font-size: 0.95rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .quote-card {
    padding: 1rem 1.5rem;
  }

  .step {
    flex: 1 1 100%;
  }

  .metrics {
    flex-direction: column;
  }

  .values ul {
    flex-direction: column;
  }
}

/* ------------------------------------------------------------------------------ Onorarii ------------------------------------------------------------------------------ */
/* ---------- Hero Section ---------- */
.fees-intro {
  padding: 5rem 2rem 5rem;
  text-align: center;
  background: var(--color-primary);
  color: #fff;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}

.fees-intro .section-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.fees-intro .intro {
  max-width: 750px;
  margin: 1.5rem auto;
  color: #fff;
  line-height: 1.8;
  font-size: 1.15rem;
}

/* ---------- Principles Section ---------- */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin: 1.5rem 2rem 0 2rem;
}

.principles h2{
  margin-top: 2rem;
  padding-bottom: 0;
  margin-bottom: 0;
  text-align: center;
}

.principle-item {
  background-image: linear-gradient(22.5deg, rgba(242, 242, 242, 0.03) 0%, rgba(242, 242, 242, 0.03) 16%,rgba(81, 81, 81, 0.03) 16%, rgba(81, 81, 81, 0.03) 26%,rgba(99, 99, 99, 0.03) 26%, rgba(99, 99, 99, 0.03) 73%,rgba(43, 43, 43, 0.03) 73%, rgba(43, 43, 43, 0.03) 84%,rgba(213, 213, 213, 0.03) 84%, rgba(213, 213, 213, 0.03) 85%,rgba(125, 125, 125, 0.03) 85%, rgba(125, 125, 125, 0.03) 100%),linear-gradient(22.5deg, rgba(25, 25, 25, 0.03) 0%, rgba(25, 25, 25, 0.03) 54%,rgba(144, 144, 144, 0.03) 54%, rgba(144, 144, 144, 0.03) 60%,rgba(204, 204, 204, 0.03) 60%, rgba(204, 204, 204, 0.03) 76%,rgba(37, 37, 37, 0.03) 76%, rgba(37, 37, 37, 0.03) 78%,rgba(115, 115, 115, 0.03) 78%, rgba(115, 115, 115, 0.03) 91%,rgba(63, 63, 63, 0.03) 91%, rgba(63, 63, 63, 0.03) 100%),linear-gradient(157.5deg, rgba(71, 71, 71, 0.03) 0%, rgba(71, 71, 71, 0.03) 6%,rgba(75, 75, 75, 0.03) 6%, rgba(75, 75, 75, 0.03) 15%,rgba(131, 131, 131, 0.03) 15%, rgba(131, 131, 131, 0.03) 18%,rgba(110, 110, 110, 0.03) 18%, rgba(110, 110, 110, 0.03) 37%,rgba(215, 215, 215, 0.03) 37%, rgba(215, 215, 215, 0.03) 62%,rgba(5, 5, 5, 0.03) 62%, rgba(5, 5, 5, 0.03) 100%),linear-gradient(90deg, #ffffff,#ffffff);
  padding: 2rem 1.5rem;
  border-radius: 15px;
  color: var(--color-primary);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.principle-item i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.principle-item:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
  .principles-grid {
    gap: 2rem;
  }
}

/* ---------- Extra Costs Section ---------- */
.extra-costs .container {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.extra-costs .content-box {
  flex: 1 1 400px;
  padding: 2rem;
  border-radius: 15px;
}

.extra-costs img {
  flex: 1 1 350px;
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

ul.decorative-lines {
  list-style: none;
  padding: 0;
}

ul.decorative-lines li {
  position: relative;
  padding-left: 1.5rem;
}

ul.decorative-lines li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 62%;
  width: 12px;
  height: 2px;
  background: var(--color-accent);
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .extra-costs .content-box {
  flex: 0 0;
  }
}

/* ---------- Payment Methods ---------- */
.payment-methods {
  padding: 3rem 2rem;
  background: #fff;
  text-align: center;
}

.payment-text {
  max-width: 750px;
  margin: 0 auto;
}

.payment-text h3 {
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.payment-text h3 i {
  color: var(--color-primary);
  font-size: 1.4rem;
}

.payment-text p {
  color: var(--color-dark);
  line-height: 1.8;
  font-size: 1.05rem;
}

.payment-text strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* ---------- Fee Types Timeline ---------- */
.fee-types {
  background: var(--color-light);
  padding: 6rem 2rem;
}

.fee-types h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

/* Timeline Container */
.timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--color-secondary);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1.5rem 2rem;
}

.timeline-item:nth-child(odd) {
  left: -6.5%;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 49%;
}

.timeline-icon {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-secondary);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--color-light);
}

.timeline-content {
  background: #fff;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}

.timeline-content h3 {
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}

.timeline-content ul,
.timeline-content li {
  list-style: none;
  padding: 0;
  color: var(--color-primary);
}

/* ---------- Client Appreciation ---------- */
.client-appreciation {
  padding: 5rem 2rem;
  text-align: center;
  background: #fff;
}

.client-appreciation h2 {
  color: var(--color-primary);
}

.appreciation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.appreciation-card {
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
}

.appreciation-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.appreciation-card i {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

/* ---------- Call to Action (CTA) ---------- */
.cta {
  background: linear-gradient(-45deg, #0d1b2a, #19334C, #61afd3, #d3bd8e);
  background-size: 400% 400%;
	animation: gradient 15s ease infinite;
  color: #fff;
  padding: 5rem 2rem;
  border-radius: 20px;
  margin: 5rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  isolation: isolate;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-text {
  flex: 1 1 500px;
  text-align: left;
}

@media (max-width: 768px) {
  .cta-text {
  flex: 0 0;
  }
}

.cta h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

#onorarii .cta p {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.95;
  max-width: 600px;
}

.cta-button {
  background: #fff;
  color: var(--color-primary);
  padding: 1rem 2.2rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.25);
}

.cta-button:hover {
  background: var(--color-light);
  color: var(--color-accent);
  transform: translateY(-3px);
}

/* ---------- Responsive CTA ---------- */
@media (max-width: 768px) {
  .cta {
    padding: 4rem 1.5rem;
    margin: 3rem 1rem;
    border-radius: 16px;
  }

  .cta-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cta-text {
    text-align: center;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .cta p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

@media (min-width: 900px) {
  .extra-costs img {
    width: 40%;
  }
}

@media (max-width: 900px) {
  .extra-costs .container {
    flex-direction: column;
    text-align: center;
  }

  .extra-costs img {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .fees-intro {
    padding: 6rem 1.5rem 4rem;
  }

  .cta {
    padding: 5rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .timeline {
    padding: 1rem 0;
  }

  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline-item {
    width: 100%;
    text-align: center;
    padding: 3rem 1rem 2rem;
    margin-bottom: 3rem;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-icon {
    position: relative;
    top: 3rem;
    left: calc(50% - 15px);
    transform: translate(-50%, -50%);
    margin-bottom: 1rem;
  }

  .timeline-content {
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .timeline-content ul {
    padding-left: 0;
  }
}

/* ------------------------------------------------------------------------------ Despre Mine ------------------------------------------------------------------------------ */
/* ---------- Hero Section ---------- */
.about-intro {
  padding: 6rem 2rem 6rem;
  text-align: center;
  background-image: repeating-linear-gradient(135deg, rgba(84,84,84, 0.22) 0px, rgba(84,84,84, 0.22) 1px,transparent 1px, transparent 11px),repeating-linear-gradient(45deg, rgba(84,84,84, 0.22) 0px, rgba(84,84,84, 0.22) 1px,transparent 1px, transparent 11px),linear-gradient(90deg, rgb(14,35,58),rgb(14,35,58));
  color: #fff;
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 40% 20%;
  border-bottom-right-radius: 40% 20%;
}

.about-intro::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.about-intro .container {
  position: relative;
  z-index: 1;
}

.about-me .container {
  padding: 4rem 2rem 0rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 2.5rem;
}

.about-me-picture {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
}

.about-me-picture img {
  margin-top: 1.5rem;
  width: 100%;
  max-height: 290px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.445);
}

.right-text {
  flex: 2 1 400px;
}

.right-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-dark);
}

@media (max-width: 768px) {
  .about-me .container {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .about-me-picture img {
    max-width: 100%;
    height: auto;
  }

  .right-text {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* ---------- Domenii de practică ---------- */
.practice-areas {
  padding: 3rem 2rem 3rem 2rem;
  background-color: #f8f9fb;
}

.practice-areas h2 {
  text-align: center;
  color: var(--color-primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.practice-areas ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1100px;
}

.practice-areas li {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem 1.5rem;
  color: var(--color-dark);
  text-align: left;
  line-height: 1.6;
  transition: all 0.3s ease;
  border-top: 3px solid var(--color-accent);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.practice-areas li strong {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.practice-areas li:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .practice-areas li {
    flex: 1 1 100%;
    text-align: center;
  }
}

.redirect-text {
  color: rgb(177, 177, 177);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

/* create the line */
.redirect-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px; /* adjust how far below the text it appears */
  width: 60%;
  height: 1px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

/* hover effect */
.redirect-text:hover {
  color: var(--color-accent);
}

.redirect-text:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}


/* ---------- Valorile mele ---------- */
.values-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.values-flex h2 {
  flex: 1 1 200px;
  font-size: 3rem;
  color: var(--color-accent);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: right;
  letter-spacing: 2px;
}

.values-flex p {
  flex: 2 1 400px;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-dark);
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .values-flex{
    gap:0;
  }

  .values-flex h2 {
    flex: 0 0;
  }

  .values-flex p {
    flex: 0 0;
  }
}

/* ---------- Ce ofer clientilor ---------- */
.client-offer {
  padding: 2rem 2rem 5rem 2rem;
  color: white;
  margin-top: 5rem;
  text-align: center;
  background-image: linear-gradient(180deg, rgb(14,35,58) 13%, transparent 13%), repeating-linear-gradient(180deg, rgb(25,51,76) 0px, rgb(25,51,76) 2px, transparent 2px, transparent 38px), linear-gradient(rgb(14,35,58),rgb(14,35,58));
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.726);
}

.client-offer h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  letter-spacing: 0.5px;
}

.client-offer ul {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1000px;
}

.client-offer li {
  flex: 1 1 220px;
  padding: 2rem 1.5rem;
  border: 1.5px solid #ccc;
  border-radius: 15px;
  background: #fff;
  color: #333;
  font-weight: 500;
  line-height: 1.6;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.client-offer li:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  @media (max-width: 768px) {
  .client-offer ul {
    flex-direction: column;
    align-items: center;
    max-width: 75%;
    gap: 1rem;      /* smaller gap for mobile */
  }

  .client-offer li {
    flex: none;
    width: 100%;
    /* max-width: 400px; */
    padding: 1.25rem;
  }
}

}

/* ---------- Parteneriate ---------- */
.partnerships h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.partnerships ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.partnerships li {
  text-align: center;
  background: var(--color-light);
  border-radius: 12px;
  padding: 2rem 1.5rem 1rem 1.5rem;
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partnerships li i {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.partnerships li:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ---------- Team with members ---------- */
@media (min-width: 760px) {
  .team{
    align-items: flex-start !important;
  }
}

.team {
  padding: 4rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

.whole-team img {
  margin-top: 2rem;
  margin-left: 1.5rem;
  object-fit: cover;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.404);
  width: 100%;
  max-width: 450px;
  object-fit: cover;
}

.team-text h2 {
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.team-text {
  max-width: 600px;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--color-dark);
}

.team-members {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.member {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.member img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

.member p {
  margin: 0;
  font-weight: 500;
  font-size: 1.15rem;
}

@media (max-width: 760px) {
  .member img {
    margin-bottom: 0.5rem;
  }
}

.team-link {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  transition: all 0.3s ease;
}

.team-link:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ---------------------- TESTIMONIALS SECTION ---------------------- */
.testimonials-carousel {
  text-align: center;
  padding: 2rem 10%;
  position: relative;
  overflow: hidden;
}

.testimonials-carousel h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  min-height: 220px;
  overflow: hidden;
}

.testimonial-slide {
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.7s ease;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.testimonial-slide.exit-left {
  transform: translateX(-100px);
  opacity: 0;
}

.testimonial-slide.exit-right {
  transform: translateX(100px);
  opacity: 0;
}

.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.8rem;
}

.testimonials-carousel h3 {
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.stars {
  color: var(--color-accent);
  font-size: 1.1rem;
}

/* Navigation buttons */
.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.testimonial-controls button {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 1.2rem;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  transition: all 0.35s ease;
}

.testimonial-controls button:hover {
  background: var(--gold);
  color: var(--blue-dark);
  transform: translateY(-3px);
}

/* ---------- Onorarii CTA ---------- */
@media (max-width: 768px) {
  .fees{
    margin: 4rem 2rem 4rem 2rem;
  }
}
@media (min-width: 768px) {
  .fees{
    margin: 4rem auto;
  }
}

.fees {
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  background: linear-gradient(270deg, var(--color-secondary)1%, var(--color-light)99%);
  color: var(--color-primary);
  background-size: 400% 400%;
	animation: gradient 15s ease infinite;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.fees h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.fees p {
  max-width: 750px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  font-weight: 500;
}

.fees .btn-primary {
  background: #fff;
  color: var(--color-secondary);
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fees .btn-primary:hover {
  background: var(--color-light);
  color: var(--color-accent);
  transform: translateY(-3px);
}

/* ---------- Media Queries ---------- */
@media (max-width: 768px) {
  .whole-team img {
    width: 80%;
  }

  .practice-areas li {
    width: 100%;
  }

  .client-offer li {
    flex: 0 0 90px;
    height: 90px;
    padding-bottom: 0rem;
  }

  .partnerships li {
    flex: 0 0 150px;
  }

  .values-flex {
    flex-direction: column;
    text-align: center;
  }

  .values-flex h2 {
    font-size: 2.2rem;
  }

  .team {
    flex-direction: column;
  }
}

/* ---------- Resurse utile pentru clienți ---------- */
.resources {
  padding: 5rem 2rem;
  background-image: linear-gradient(90deg, rgba(165, 165, 165, 0.03) 0%, rgba(165, 165, 165, 0.03) 8%,rgba(235, 235, 235, 0.03) 8%, rgba(235, 235, 235, 0.03) 9%,rgba(7, 7, 7, 0.03) 9%, rgba(7, 7, 7, 0.03) 14%,rgba(212, 212, 212, 0.03) 14%, rgba(212, 212, 212, 0.03) 17%,rgba(219, 219, 219, 0.03) 17%, rgba(219, 219, 219, 0.03) 95%,rgba(86, 86, 86, 0.03) 95%, rgba(86, 86, 86, 0.03) 100%),linear-gradient(67.5deg, rgba(80, 80, 80, 0.03) 0%, rgba(80, 80, 80, 0.03) 11%,rgba(138, 138, 138, 0.03) 11%, rgba(138, 138, 138, 0.03) 17%,rgba(122, 122, 122, 0.03) 17%, rgba(122, 122, 122, 0.03) 24%,rgba(166, 166, 166, 0.03) 24%, rgba(166, 166, 166, 0.03) 27%,rgba(245, 245, 245, 0.03) 27%, rgba(245, 245, 245, 0.03) 89%,rgba(88, 88, 88, 0.03) 89%, rgba(88, 88, 88, 0.03) 100%),linear-gradient(67.5deg, rgba(244, 244, 244, 0.03) 0%, rgba(244, 244, 244, 0.03) 4%,rgba(16, 16, 16, 0.03) 4%, rgba(16, 16, 16, 0.03) 10%,rgba(157, 157, 157, 0.03) 10%, rgba(157, 157, 157, 0.03) 20%,rgba(212, 212, 212, 0.03) 20%, rgba(212, 212, 212, 0.03) 83%,rgba(5, 5, 5, 0.03) 83%, rgba(5, 5, 5, 0.03) 84%,rgba(237, 237, 237, 0.03) 84%, rgba(237, 237, 237, 0.03) 100%),linear-gradient(90deg, #ffffff,#ffffff);
}

.resources h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  margin-top: 3rem;
}

.resources .intro {
  max-width: 800px;
  padding-bottom: 2rem;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.4;
}

.resource-category {
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.resource-category h3 {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 1.2rem;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 0.5rem;
}

.resource-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resource-category li {
  margin-bottom: 0.8rem;
  color: #333;
  font-size: 1rem;
  line-height: 1.2;
}

.resource-category li a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.resource-category li a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .resource-category {
    padding: 1.5rem;
  }
  .resource-category h3 {
    text-align: center;
  }
}

/* ----------------------------------------- cazuri mediatizate ------------------------------------------------- */
.cases-wrapper {
  max-width: 1100px;
  margin: 80px auto;
  padding-top: 3rem;
  min-height: 75vh;
}

.cases-pg{
  background-image: linear-gradient(55deg, rgba(208, 208, 208, 0.03) 0%, rgba(208, 208, 208, 0.03) 20%,rgba(55, 55, 55, 0.03) 20%, rgba(55, 55, 55, 0.03) 40%,rgba(81, 81, 81, 0.03) 40%, rgba(81, 81, 81, 0.03) 60%,rgba(208, 208, 208, 0.03) 60%, rgba(208, 208, 208, 0.03) 80%,rgba(191, 191, 191, 0.03) 80%, rgba(191, 191, 191, 0.03) 100%),linear-gradient(291deg, rgba(190, 190, 190, 0.02) 0%, rgba(190, 190, 190, 0.02) 14.286%,rgba(105, 105, 105, 0.02) 14.286%, rgba(105, 105, 105, 0.02) 28.572%,rgba(230, 230, 230, 0.02) 28.572%, rgba(230, 230, 230, 0.02) 42.858%,rgba(216, 216, 216, 0.02) 42.858%, rgba(216, 216, 216, 0.02) 57.144%,rgba(181, 181, 181, 0.02) 57.144%, rgba(181, 181, 181, 0.02) 71.42999999999999%,rgba(129, 129, 129, 0.02) 71.43%, rgba(129, 129, 129, 0.02) 85.71600000000001%,rgba(75, 75, 75, 0.02) 85.716%, rgba(75, 75, 75, 0.02) 100.002%),linear-gradient(32deg, rgba(212, 212, 212, 0.03) 0%, rgba(212, 212, 212, 0.03) 12.5%,rgba(223, 223, 223, 0.03) 12.5%, rgba(223, 223, 223, 0.03) 25%,rgba(11, 11, 11, 0.03) 25%, rgba(11, 11, 11, 0.03) 37.5%,rgba(86, 86, 86, 0.03) 37.5%, rgba(86, 86, 86, 0.03) 50%,rgba(106, 106, 106, 0.03) 50%, rgba(106, 106, 106, 0.03) 62.5%,rgba(220, 220, 220, 0.03) 62.5%, rgba(220, 220, 220, 0.03) 75%,rgba(91, 91, 91, 0.03) 75%, rgba(91, 91, 91, 0.03) 87.5%,rgba(216, 216, 216, 0.03) 87.5%, rgba(216, 216, 216, 0.03) 100%),linear-gradient(312deg, rgba(113, 113, 113, 0.01) 0%, rgba(113, 113, 113, 0.01) 14.286%,rgba(54, 54, 54, 0.01) 14.286%, rgba(54, 54, 54, 0.01) 28.572%,rgba(166, 166, 166, 0.01) 28.572%, rgba(166, 166, 166, 0.01) 42.858%,rgba(226, 226, 226, 0.01) 42.858%, rgba(226, 226, 226, 0.01) 57.144%,rgba(109, 109, 109, 0.01) 57.144%, rgba(109, 109, 109, 0.01) 71.42999999999999%,rgba(239, 239, 239, 0.01) 71.43%, rgba(239, 239, 239, 0.01) 85.71600000000001%,rgba(54, 54, 54, 0.01) 85.716%, rgba(54, 54, 54, 0.01) 100.002%),linear-gradient(22deg, rgba(77, 77, 77, 0.03) 0%, rgba(77, 77, 77, 0.03) 20%,rgba(235, 235, 235, 0.03) 20%, rgba(235, 235, 235, 0.03) 40%,rgba(215, 215, 215, 0.03) 40%, rgba(215, 215, 215, 0.03) 60%,rgba(181, 181, 181, 0.03) 60%, rgba(181, 181, 181, 0.03) 80%,rgba(193, 193, 193, 0.03) 80%, rgba(193, 193, 193, 0.03) 100%),linear-gradient(80deg, rgba(139, 139, 139, 0.02) 0%, rgba(139, 139, 139, 0.02) 14.286%,rgba(114, 114, 114, 0.02) 14.286%, rgba(114, 114, 114, 0.02) 28.572%,rgba(240, 240, 240, 0.02) 28.572%, rgba(240, 240, 240, 0.02) 42.858%,rgba(221, 221, 221, 0.02) 42.858%, rgba(221, 221, 221, 0.02) 57.144%,rgba(74, 74, 74, 0.02) 57.144%, rgba(74, 74, 74, 0.02) 71.42999999999999%,rgba(201, 201, 201, 0.02) 71.43%, rgba(201, 201, 201, 0.02) 85.71600000000001%,rgba(187, 187, 187, 0.02) 85.716%, rgba(187, 187, 187, 0.02) 100.002%),linear-gradient(257deg, rgba(72, 72, 72, 0.03) 0%, rgba(72, 72, 72, 0.03) 16.667%,rgba(138, 138, 138, 0.03) 16.667%, rgba(138, 138, 138, 0.03) 33.334%,rgba(54, 54, 54, 0.03) 33.334%, rgba(54, 54, 54, 0.03) 50.001000000000005%,rgba(161, 161, 161, 0.03) 50.001%, rgba(161, 161, 161, 0.03) 66.668%,rgba(17, 17, 17, 0.03) 66.668%, rgba(17, 17, 17, 0.03) 83.33500000000001%,rgba(230, 230, 230, 0.03) 83.335%, rgba(230, 230, 230, 0.03) 100.002%),linear-gradient(47deg, rgba(191, 191, 191, 0.01) 0%, rgba(191, 191, 191, 0.01) 16.667%,rgba(27, 27, 27, 0.01) 16.667%, rgba(27, 27, 27, 0.01) 33.334%,rgba(66, 66, 66, 0.01) 33.334%, rgba(66, 66, 66, 0.01) 50.001000000000005%,rgba(36, 36, 36, 0.01) 50.001%, rgba(36, 36, 36, 0.01) 66.668%,rgba(230, 230, 230, 0.01) 66.668%, rgba(230, 230, 230, 0.01) 83.33500000000001%,rgba(93, 93, 93, 0.01) 83.335%, rgba(93, 93, 93, 0.01) 100.002%),linear-gradient(90deg, #ffffff,#ffffff);}

.tabs-scroll-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 2rem; /* aligns with your .section-box padding */
}

/* Scrollable header row */
.tabs-header {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

.tabs-header::-webkit-scrollbar {
    display: none;
}

.tabs-header .tab-button:first-child {
  margin-left: 1.5rem;
}

/* Optional premium fade edges */
.tabs-fader {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    pointer-events: none;
    z-index: 4;
}

.tabs-fader.left {
    left: 0;
    background: linear-gradient(to right, #e8e8e8, transparent);
}

.tabs-fader.right {
    right: 0;
    background: linear-gradient(to left, #f4f4f4, transparent);
}

/* Tab buttons (same style you wanted, just better aligned & responsive) */
.tab-button {
    background: rgb(218, 218, 218);
    color: white;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 15px;
    border-radius: 6px 6px 0 0;
    white-space: nowrap;
    transition: 0.2s;
    flex-shrink: 0; /* prevents stretching or shrinking */
}

.tab-button.active {
    background: white;
    color: black;
    border-bottom: 2px solid white;
}

/* Tab content */
.tab-content {
    display: none;
    padding: 0 2rem;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Fade animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (min-width: 1100px) {
  .tabs-fader{
    display: none !important;
  }
}

/* Mobile adjustments */
@media (max-width: 700px) {

    .tabs-scroll-wrapper {
        margin: 0 1rem;
    }

    .tab-button {
        padding: 9px 14px;
        font-size: 14px;
    }

    .tabs-fader {
        width: 25px;
    }
}

.section-box {
  background: #ffffff;
  /* border: 1px solid #dcdcdc; */
  padding: 5vw;
  border-radius: 10px;
  margin-bottom: 40px;
}

.section-box h2 {
  margin-bottom: 25px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
}

/* ---- CASES ---- */
.case-item {
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e5e5e5;
}

.case-item:last-child {
  border-bottom: none;
}

.case-item h3 {
  line-height: 1.6;
  font-weight: 600;
  margin-bottom: 0;
}

.case-item p {
  line-height: 1.6;
  margin: 0;
}

.case-item a {
  display: inline-block;
  margin-right: 12px;
  color: #0044aa;
  font-weight: 500;
}

.case-item a:hover {
  text-decoration: underline;
}

.case-legal-note {
  margin-top: 50px;
  border-left: 4px solid var(--color-accent);
  padding: 18px 22px;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 2rem 0 3rem;
}

