/* =============================================
   FocusMyCareer – Global Styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700&family=Assistant:wght@300;400;600;700&display=swap');

:root {
  --blue: #A3C4E0;
  --blue-dark: #8BB2D4;
  --beige: #F3EFE6;
  --yellow: #F5E663;
  --yellow-hover: #e8d94f;
  --text: #222;
  --text-light: #555;
  --cta-blue: #2E6EB5;
  --cta-blue-hover: #245a96;
  --white: #fff;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 12px;
  --header-height: 70px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Heebo', 'Assistant', sans-serif;
  color: var(--text);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: 'Assistant', 'Heebo', sans-serif;
  font-weight: 300;
  line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   HEADER
   ============================================= */

.site-header {
  height: var(--header-height);
  background: var(--blue);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-header .logo a {
  font-family: 'Assistant', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  gap: 8px;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255,255,255,0.2);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =============================================
   HERO SECTION
   ============================================= */

.hero {
  background: var(--blue);
  padding: 80px 0 60px;
  text-align: center;
  color: var(--white);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 12px;
}

.hero .subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 30px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  text-align: center;
}

.btn-cta {
  background: var(--cta-blue);
  color: var(--white);
}

.btn-cta:hover {
  background: var(--cta-blue-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--text);
}

.btn-yellow:hover {
  background: var(--yellow-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* =============================================
   SERVICES GRID
   ============================================= */

.services {
  padding: 70px 0;
  background: var(--white);
}

.services h2 {
  text-align: center;
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--beige);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card .card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 2rem;
}

.service-card h3 {
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* =============================================
   CONTACT FORM (inline on homepage)
   ============================================= */

.contact-inline {
  padding: 70px 0;
  background: var(--beige);
}

.contact-inline h2 {
  text-align: center;
  margin-bottom: 36px;
}

.inline-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.inline-form input,
.inline-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Heebo', sans-serif;
  font-size: 1rem;
  direction: rtl;
  background: var(--white);
  transition: border-color 0.2s;
}

.inline-form input:focus,
.inline-form textarea:focus {
  outline: none;
  border-color: var(--cta-blue);
  box-shadow: 0 0 0 3px rgba(46,110,181,0.12);
}

.inline-form textarea {
  min-height: 120px;
  resize: vertical;
}

.inline-form .btn {
  align-self: center;
  min-width: 200px;
}

/* Form success */
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
  font-size: 1.2rem;
  color: var(--cta-blue);
  font-weight: 600;
}

/* =============================================
   ABOUT SECTION
   ============================================= */

.about {
  padding: 70px 0;
  background: var(--white);
}

.about-container {
  display: flex;
  flex-direction: row-reverse;
  gap: 48px;
  align-items: flex-start;
}

.about-image img {
  width: 300px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-text h2 {
  margin-bottom: 20px;
  text-align: right;
}

.about-text p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 14px;
  text-align: right;
  direction: rtl;
  unicode-bidi: plaintext;
}

.about-text .credentials {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e0ddd4;
}

.about-text .credentials p {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.credential-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.credential-line svg {
  flex-shrink: 0;
}

/* =============================================
   TESTIMONIALS CAROUSEL
   ============================================= */

.testimonials {
  padding: 70px 0;
  background: var(--beige);
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 40px;
}

.carousel-wrapper {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 300px;
  background: var(--white);
}

.carousel img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.carousel img.active {
  position: relative;
  opacity: 1;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--cta-blue);
  background: var(--white);
  color: var(--cta-blue);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.carousel-btn:hover {
  background: var(--cta-blue);
  color: var(--white);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-dots .dot.active {
  background: var(--cta-blue);
}

/* =============================================
   PROCESS PAGE – HERO
   ============================================= */

.process-hero {
  background: var(--blue);
  padding: 80px 0 60px;
  text-align: center;
  color: var(--white);
}

.process-hero h1 {
  margin-bottom: 40px;
  font-size: 2.6rem;
}

.speech-bubbles {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.bubble {
  background: var(--white);
  color: var(--text);
  padding: 20px 28px;
  border-radius: 24px;
  position: relative;
  max-width: 280px;
  font-size: 0.95rem;
  line-height: 1.7;
  box-shadow: var(--shadow);
}

.bubble::before {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 36px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
}

.bubble::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: 44px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
}

/* =============================================
   PROCESS – EXPLANATION
   ============================================= */

.process-explanation {
  padding: 70px 0;
  background: var(--white);
  text-align: center;
}

.process-explanation p {
  max-width: 700px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-light);
}

.target-cta {
  position: relative;
  display: inline-block;
  margin-top: 16px;
}

/* =============================================
   PROCESS – HOW IT WORKS
   ============================================= */

.how-it-works {
  padding: 70px 0;
  background: var(--beige);
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 48px;
}

.features-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.feature-item {
  text-align: center;
  max-width: 200px;
}

.feature-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-item h3 {
  font-size: 1rem;
  font-weight: 600;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.step-card h3 {
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.7;
}

.extra-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* =============================================
   PROCESS – PRICING
   ============================================= */

.pricing {
  padding: 70px 0;
  background: var(--yellow);
  text-align: center;
}

.pricing h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.pricing .price {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing .price-note {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

/* =============================================
   CONTACT PAGE
   ============================================= */

.contact-page {
  padding: 80px 0;
  background: var(--beige);
  min-height: calc(100vh - var(--header-height) - 200px);
}

.contact-page h1 {
  text-align: center;
  margin-bottom: 16px;
}

.contact-info {
  text-align: center;
  margin-bottom: 48px;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.contact-info a {
  color: var(--cta-blue);
  font-weight: 600;
}

.contact-form {
  max-width: 550px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form .form-group {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Heebo', sans-serif;
  font-size: 1rem;
  direction: rtl;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cta-blue);
  box-shadow: 0 0 0 3px rgba(46,110,181,0.12);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  margin-top: 8px;
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  background: #2a2a2a;
  color: #ccc;
  padding: 40px 0 24px;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #ccc;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #ccc;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.social-links a:hover {
  background: var(--cta-blue);
  color: var(--white);
}

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* =============================================
   CHAT BUTTON (fixed)
   ============================================= */

.chat-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  background: var(--yellow);
  color: var(--text);
  padding: 14px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-btn:hover {
  background: var(--yellow-hover);
  transform: translateY(-3px);
}

/* =============================================
   PLACEHOLDER for missing reco images
   ============================================= */

.reco-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 200px;
  color: var(--text-light);
  font-size: 1rem;
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* =============================================
   LEGAL PAGES
   ============================================= */

.legal-page {
  padding: 60px 0 80px;
  background: var(--white);
}

.legal-page h1 {
  margin-bottom: 8px;
}

.legal-page .legal-updated {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-page p {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 12px;
}

.legal-page a {
  color: var(--cta-blue);
}

/* =============================================
   COOKIE CONSENT BANNER
   ============================================= */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #2a2a2a;
  color: #eee;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  margin: 0;
  max-width: 600px;
  line-height: 1.6;
}

.cookie-banner a {
  color: var(--yellow);
  text-decoration: underline;
}

.cookie-banner button {
  padding: 10px 28px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: 'Heebo', sans-serif;
}

.cookie-accept {
  background: var(--cta-blue);
  color: white;
}

.cookie-accept:hover {
  background: var(--cta-blue-hover);
}

/* Form consent checkbox */
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

.consent-row input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  flex-shrink: 0;
}

.consent-row a {
  color: var(--cta-blue);
  text-decoration: underline;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hero h1 { font-size: 2.2rem; }
  .hero { padding: 50px 0 40px; }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    background: var(--blue);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-lg);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 18px;
  }

  .hamburger {
    display: flex;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .speech-bubbles {
    flex-direction: column;
    align-items: center;
  }

  .bubble {
    max-width: 100%;
  }

  .features-row {
    gap: 24px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .extra-steps {
    grid-template-columns: 1fr;
  }

  .process-hero h1 {
    font-size: 2rem;
  }

  .pricing .price {
    font-size: 2.2rem;
  }

  .contact-form {
    padding: 24px;
  }

  .carousel-wrapper {
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.95rem;
  }
}
