:root {
  --primary: #1a2e40;
  --accent: #2f5fb9;
  --accent-bg: #f0f4ff;
  --text: #334155;
  --text-light: #64748b;
  --border: #e2e8f0;
  --shadow: 0 10px 30px rgba(0,0,0,0.05);
  --container: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: #fff; line-height: 1.5; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
li { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }

/* Navbar */
.navbar {
  height: 90px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2000;
  border-bottom: 1px solid var(--border);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 45px; width: auto; }
.logo-text { font-size: 1.4rem; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }

.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--text); transition: 0.2s; }
.nav-links a:hover { color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 20px; }
.contact-btn {
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(47, 95, 185, 0.2);
}
.contact-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(47, 95, 185, 0.3); }

/* Language Dropdown */
.lang-dropdown { position: relative; display: inline-block; }
.lang-dropbtn {
  background: none;
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: var(--text);
}
.lang-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #fff;
  min-width: 120px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-radius: 12px;
  z-index: 1;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.lang-dropdown:hover .lang-dropdown-content { display: block; }
.lang-option {
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: none;
  text-align: left;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s;
}
.lang-option:hover { background: var(--accent-bg); color: var(--accent); }

/* Hero */
.hero-full {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('psychologist.jpg') center/cover no-repeat;
  margin-top: 0;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 46, 64, 0.8) 0%, rgba(26, 46, 64, 0.4) 100%);
}
.hero-inner { position: relative; z-index: 10; width: 100%; max-width: 800px; padding: 0 20px; text-align: center; }
.hero-card { color: #fff; }
.hero-tagline {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(5px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 25px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-card h2 { font-size: 4rem; font-weight: 800; line-height: 1.1; margin-bottom: 35px; letter-spacing: -1px; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; }
.hero-btn {
  background: #fff;
  color: var(--primary);
  padding: 18px 36px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  transition: 0.3s;
}
.hero-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.whatsapp-btn {
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 18px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  border: 2px solid rgba(255,255,255,0.3);
  transition: 0.3s;
  backdrop-filter: blur(5px);
}
.whatsapp-btn:hover { background: #fff; color: var(--primary); }

/* Sections */
.section { padding: 100px 0; }
.section-label { display: none !important; }
.section-title { font-size: 2.8rem; margin-bottom: 40px; font-weight: 800; color: #1a2e40; }
.about-text { max-width: 900px; color: var(--text-light); line-height: 1.8; font-size: 1.1rem; text-align: start; }

/* Services */
.services-grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 30px; 
  margin: 40px auto 0; 
  max-width: 900px; 
}
.service-card { background: #fff; padding: 0; border-radius: 24px; border: 1px solid var(--border); box-shadow: var(--shadow); transition: 0.3s; overflow: hidden; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--accent); }
.service-img-container { width: 100%; height: 200px; overflow: hidden; background: #f0f2f5; }
.service-img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s ease; }
.service-card:hover .service-img { transform: scale(1.05); }
.service-content { padding: 25px; }
.service-card h3 { margin-bottom: 15px; font-size: 1.2rem; font-weight: 700; color: #1a2e40; }
.service-card p { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; }

/* Certificates */
.certificates-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.cert-card { background: #fff; padding: 15px; border-radius: 20px; border: 1px solid var(--border); box-shadow: var(--shadow); transition: 0.3s; overflow: hidden; cursor: pointer; position: relative; }
.cert-card.hidden { display: none; }
.cert-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--accent); }
.cert-img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; background: #f0f2f5; pointer-events: none; }

/* Custom Cursor */
.cursor-glass {
  position: fixed;
  width: 80px;
  height: 80px;
  background: rgba(47, 95, 185, 0.1);
  border: 2px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  transition: opacity 0.3s, transform 0.3s;
  backdrop-filter: blur(2px);
}
.cursor-glass.active { opacity: 1; transform: translate(-50%, -50%) scale(1); }

@media (max-width: 900px) {
  .cert-card:hover { cursor: none; }
}

/* Lightbox */
.cert-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(26, 46, 64, 0.95);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  backdrop-filter: blur(10px);
}
.cert-overlay.open { display: flex; animation: fadeIn 0.3s ease; }
.overlay-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: 0.3s;
}
.cert-overlay.open .overlay-img { transform: scale(1); }
.overlay-close {
  position: absolute;
  top: 30px; right: 30px;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.3s;
}
.overlay-close:hover { opacity: 1; transform: rotate(90deg); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* View More Button */
.view-more-container { text-align: center; margin-top: 50px; }
.view-more-btn {
  background: var(--accent-bg);
  color: var(--accent);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}
.view-more-btn:hover {
  background: var(--accent);
  color: #fff;
}

/* Action Section */
.action-section { 
  text-align: center; 
  background: #f8fafc; 
  border-top: 1px solid var(--border); 
  padding: 100px 0;
}
.action-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.action-section .section-title { margin-left: auto; margin-right: auto; }

.phone-btn {
  background: var(--accent);
  color: #fff;
  padding: 18px 36px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.phone-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(47, 95, 185, 0.2); }

.email-btn-outline {
  background: transparent;
  color: var(--accent);
  padding: 18px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  border: 2px solid var(--accent);
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
}
.email-btn-outline:hover { background: var(--accent); color: #fff; }

/* Footer */
.footer { padding: 60px 0; border-top: 1px solid var(--border); background: #fff; color: var(--text-light); font-size: 1rem; }
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
}
.social-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-bg);
  color: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 0;
}
.social-icon i {
  display: block;
  width: auto;
  height: auto;
  line-height: 0;
}
.social-icon:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(47, 95, 185, 0.2);
}

/* ----- MOBILE ----- */
.menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; border: none; background: none; padding: 10px; z-index: 2100; }
.menu-toggle span { width: 28px; height: 3px; background: var(--text); border-radius: 4px; transition: 0.3s; transform-origin: center; }

@media (max-width: 900px) {
  :root { --container: 90%; }
  .navbar { height: 70px; }
  .nav-container { justify-content: space-between; gap: 0; padding: 0 15px; }
  
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 100%; height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 2050;
    gap: 30px;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.5rem; }
  
  .nav-actions { display: none; }
  .mobile-only { display: block; }
  
  /* Menu toggle animation */
  .nav-links.open ~ .menu-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-links.open ~ .menu-toggle span:nth-child(2) { opacity: 0; }
  .nav-links.open ~ .menu-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  .hero-card h2 { font-size: 2.5rem; }
  .hero-tagline { font-size: 0.9rem; margin-bottom: 15px; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  
  .about-text { text-align: center; font-size: 1rem; }
  
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .certificates-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-card, .cert-card { border-radius: 20px; text-align: center; }
  .cert-card { padding: 30px 20px; }
  
  .cert-img { height: 250px; }
  
  .action-buttons { flex-direction: column; width: 100%; }
  .action-buttons a { width: 100%; justify-content: center; }
  
  .footer-container { flex-direction: column; text-align: center; gap: 30px; }
  
  .mobile-lang-buttons { display: flex; gap: 10px; margin-top: 10px; }
  .mobile-lang-buttons button {
    background: var(--accent-bg);
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 700;
    color: var(--accent);
  }
}

.mobile-only { display: none; }
[dir="rtl"] { font-family: 'Inter', sans-serif; }
[dir="rtl"] .nav-links { right: auto; left: -100%; }
[dir="rtl"] .nav-links.open { left: 0; }
[dir="rtl"] .lang-dropdown-content { right: auto; left: 0; }
[dir="rtl"] .lang-option { text-align: right; }
[dir="rtl"] .footer-container { text-align: right; }
[dir="rtl"] .hero-card h2 { line-height: 1.3; }