/* Global */
:root {
  --brand: #4f46e5; /* indigo-600 */
  --brand-700: #4338ca;
  --ink: #0f172a;
}
body { font-family: 'Inter', sans-serif; }

.container { max-width: 1100px; }

.section-title {
  font-weight: 800;
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.25rem);
  color: #0f172a;
  letter-spacing: -0.02em;
}

.btn-primary {
  @apply inline-flex items-center justify-center px-5 py-3 rounded-xl text-white bg-indigo-600 hover:bg-indigo-700 shadow-sm;
}
.btn-ghost {
  @apply inline-flex items-center justify-center px-5 py-3 rounded-xl border border-slate-300 text-slate-700 hover:bg-white/60;
}

/* Cards */
.card {
  @apply bg-white p-6 rounded-2xl shadow-sm border border-slate-200;
}
.card-title {
  @apply font-semibold text-lg text-slate-900;
}
.card-copy {
  @apply mt-2 text-slate-600;
}

/* Tabs */
.tab {
  @apply text-base font-medium py-3 px-6 border-b-2 border-transparent text-slate-500 hover:text-slate-800 transition-colors;
}
.tab.active {
  @apply border-indigo-600 text-indigo-700 bg-indigo-50;
}

/* Process vertical line */
.process-step::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 2.75rem;
  bottom: -2rem;
  width: 2px;
  background-color: #cbd5e1;
  z-index: 0;
}
.process-step:last-child::before { display: none; }
.step-index {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: #1e293b;
  color: #fff;
  font-weight: 800;
  z-index: 1;
}
.step-title { @apply font-bold text-lg text-slate-800 pt-1; }
.step-copy { @apply mt-1 text-slate-600; }

/* Chart container */
.chart-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  height: 320px;
}
@media (min-width: 768px) {
  .chart-container { height: 400px; }
}

/* Team */
.team-card { @apply bg-white p-5 rounded-2xl shadow-sm border border-slate-200; }
.team-photo {
    width: 100%;
    aspect-ratio: 3 / 4; /* portrait ratio */
    object-fit: cover;
    object-position: 50% 20%; /* bias upward so faces stay visible */
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(2,6,23,0.08);
    max-height: 300px; /* smaller on phones by default */
}

/* On tablets and up */
@media (min-width: 640px) {
    .team-photo {
        max-height: 400px;
    }
}

/* On desktops and up */
@media (min-width: 1024px) {
    .team-photo {
        max-height: 500px;
    }
}



/* Contact form */
.label { @apply block text-sm font-medium text-slate-300; }
.input {
  @apply mt-1 block w-full px-3 py-2 bg-slate-800 border border-slate-700 rounded-lg text-slate-50 focus:outline-none focus:ring-2 focus:ring-indigo-500;
}
.textarea {
  @apply mt-1 block w-full px-3 py-2 bg-slate-800 border border-slate-700 rounded-lg text-slate-50 focus:outline-none focus:ring-2 focus:ring-indigo-500;
}
/* Small ghost button for copy */
.btn-ghost-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.6rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(148,163,184,0.35);
    font-size: 0.85rem;
    color: #e5e7eb;
    background: rgba(2,6,23,0.2);
}

    .btn-ghost-small:hover {
        background: rgba(255,255,255,0.08);
    }

/* WhatsApp button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 600;
    background-color: #25D366; /* WhatsApp green */
    color: #fff;
    transition: background-color 0.2s ease;
}

    .btn-whatsapp:hover {
        background-color: #1ebe5d;
    }
/* RTL tweaks */
[dir="rtl"] .process-step::before {
    right: 1.25rem;
    left: auto;
}

[dir="rtl"] .step-index {
    right: 0;
    left: auto;
}

/* WhatsApp button (shared for both pages) */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 600;
    background-color: #25D366; /* WhatsApp green */
    color: #fff;
    transition: background-color 0.2s ease;
}

    .btn-whatsapp:hover {
        background-color: #1ebe5d;
    }
/* Tabs: compact on mobile, spaced & obvious on desktop */
.tab-group {
    display: inline-flex;
    gap: 10px;
    padding: 6px;
    border-radius: 9999px;
    background: #f8fafc; /* slate-50-ish */
    border: 1px solid #e2e8f0; /* slate-200 */
}

.tab {
    appearance: none;
    border: 1px solid transparent;
    background: #ffffff;
    color: #475569; /* slate-600 */
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.55rem 0.9rem;
    border-radius: 9999px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
    box-shadow: 0 1px 2px rgba(2,6,23,.04);
}

    .tab:hover {
        color: #0f172a; /* slate-900 */
        border-color: #e2e8f0;
        background: #f8fafc;
    }

    .tab.active {
        background: #eef2ff; /* indigo-50 */
        color: #3730a3; /* indigo-800 */
        border-color: #6366f1; /* indigo-500 */
        box-shadow: 0 2px 8px rgba(99,102,241,.15);
    }

/* Make them a bit roomier on larger screens */
@media (min-width: 1024px) {
    .tab {
        padding: 0.7rem 1.1rem;
        font-size: 1rem;
    }

    .tab-group {
        gap: 12px;
        padding: 8px;
    }
}
