/*
Theme Name: EdFire
Theme URI: https://edfire.at/
Author: EdFire
Author URI: https://edfire.at/
Description: One-page theme for EdFire – tutoring, entrance exam preparation and English A1-C2.
Version: 1.1.5
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: edfire
Tags: one-page, business, education, custom-colors, custom-logo, custom-menu
*/

/* ===== EdFire Design Tokens ===== */
:root{
  --ed-orange:#E8811A;
  --ed-orange-light:#FFF3E8;
  --ed-blue:#1E3A8A;
  --ed-blue-dark:#0F2460;
  --ed-blue-light:#EEF2FF;
  --ed-gray:#F5F5F5;
  --ed-text:#1a1a1a;
  --ed-text-muted:#5b6473;
  --ed-light:#F7F9FC;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Barlow',system-ui,-apple-system,Segoe UI,Roboto,'Noto Sans Arabic',Tahoma,sans-serif;
  color:var(--ed-text);
  background:#fff;
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit}

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

/* ===== NAV ===== */
.ed-nav{
  position:sticky;top:0;z-index:50;
  background:var(--ed-light);
  padding:10px 0;
  box-shadow:0 2px 12px rgba(15,36,96,.08);
  border-bottom:1px solid rgba(15,36,96,.08);
}
.ed-nav-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}
.ed-nav-logo{display:flex;align-items:center;gap:10px}
.ed-nav-logo img{height:160px;width:auto}
.ed-nav-btns{display:flex;gap:10px}

.ed-btn{
  display:inline-flex;align-items:center;gap:8px;
  font-family:inherit;font-weight:600;font-size:14px;
  padding:10px 18px;border-radius:8px;cursor:pointer;
  text-decoration:none;border:none;transition:all .2s ease;
  white-space:nowrap;
}
.ed-btn-orange{background:var(--ed-orange);color:#fff}
.ed-btn-orange:hover{background:#d2710f;transform:translateY(-1px);box-shadow:0 8px 20px rgba(232,129,26,.3)}
.ed-btn-outline-white{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.45)}
.ed-btn-outline-white:hover{background:rgba(255,255,255,.1);border-color:#fff}
.ed-btn-outline-blue{background:transparent;color:var(--ed-blue);border:1.5px solid var(--ed-blue)}
.ed-btn-outline-blue:hover{background:var(--ed-blue);color:#fff}
.ed-btn-lg{padding:16px 28px;font-size:16px;border-radius:10px}

/* ===== HERO ===== */
.ed-hero{
  background:linear-gradient(135deg,#1E3A8A 0%,#0F2460 100%);
  padding:88px 0 110px;text-align:center;position:relative;overflow:hidden;
}
.ed-hero::before{
  content:'';position:absolute;inset:0;pointer-events:none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(232,129,26,.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(232,129,26,.10), transparent 40%);
}
.ed-hero-inner{position:relative;z-index:1}
.ed-hero-tag{
  display:inline-flex;align-items:center;gap:6px;
  background:rgba(232,129,26,.18);color:var(--ed-orange);
  font-size:13px;font-weight:600;padding:6px 14px;border-radius:999px;
  border:1px solid rgba(232,129,26,.35);margin-bottom:22px;
}
.ed-hero h1{
  color:#fff;font-size:clamp(36px,6vw,62px);font-weight:800;
  line-height:1.08;letter-spacing:-.02em;margin:0 0 20px;
}
.ed-hero h1 span{color:var(--ed-orange)}
.ed-hero p{
  color:rgba(255,255,255,.78);font-size:18px;line-height:1.6;
  max-width:620px;margin:0 auto 36px;
}
.ed-hero-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* ===== SECTIONS ===== */
.ed-section{padding:88px 0}
.ed-section-gray{background:var(--ed-gray)}
.ed-section-blue{background:var(--ed-blue);color:#fff}
.ed-section-head{text-align:center;max-width:640px;margin:0 auto 56px}
.ed-label{
  font-size:13px;font-weight:700;color:var(--ed-orange);
  letter-spacing:.12em;text-transform:uppercase;margin-bottom:12px;
}
.ed-h2{
  font-size:clamp(28px,4vw,40px);font-weight:800;color:var(--ed-blue);
  line-height:1.15;letter-spacing:-.01em;margin:0 0 14px;
}
.ed-section-blue .ed-h2{color:#fff}
.ed-sub{font-size:16px;color:var(--ed-text-muted);line-height:1.6;margin:0}
.ed-section-blue .ed-sub{color:rgba(255,255,255,.7)}

/* ===== CARDS ===== */
.ed-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.ed-card{
  background:#fff;border:1px solid #ececec;border-radius:16px;
  padding:28px;transition:all .25s ease;
}
.ed-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(30,58,138,.12);border-color:var(--ed-orange)}
.ed-card-icon{
  width:52px;height:52px;border-radius:12px;background:var(--ed-orange-light);
  display:flex;align-items:center;justify-content:center;color:var(--ed-orange);
  font-size:22px;margin-bottom:18px;
}
.ed-card h3{font-size:18px;font-weight:700;color:var(--ed-blue);margin:0 0 8px}
.ed-card p{font-size:14px;color:var(--ed-text-muted);line-height:1.55;margin:0}

/* ===== USP ===== */
.ed-usps{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.ed-usp{
  display:flex;gap:16px;align-items:flex-start;
  background:#fff;border:1px solid #ececec;border-radius:14px;padding:22px;
}
.ed-usp-icon{
  width:46px;height:46px;border-radius:10px;
  background:var(--ed-blue-light);color:var(--ed-blue);
  display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0;
}
.ed-usp h4{font-size:16px;font-weight:700;color:var(--ed-blue);margin:0 0 4px}
.ed-usp p{font-size:14px;color:var(--ed-text-muted);line-height:1.55;margin:0}

/* ===== FOUNDERS ===== */
.ed-founders{display:grid;grid-template-columns:repeat(2,1fr);gap:28px;max-width:760px;margin:0 auto}
.ed-founder{
  background:#fff;border:1px solid #ececec;border-radius:16px;
  padding:28px;text-align:center;transition:all .25s ease;
}
.ed-founder:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(30,58,138,.12);border-color:var(--ed-orange)}
.ed-founder-photo{
  width:140px;height:140px;border-radius:50%;overflow:hidden;
  margin:0 auto 18px;border:3px solid var(--ed-blue-light);
}
.ed-founder-photo img{width:100%;height:100%;object-fit:cover}
.ed-founder h3{font-size:18px;font-weight:700;color:var(--ed-blue);margin:0 0 4px}
.ed-founder p{font-size:14px;color:var(--ed-text-muted);margin:0}

/* ===== KONTAKT ===== */
.ed-kontakt{text-align:center}
.ed-kontakt .ed-h2{color:#fff}
.ed-kontakt-lead{color:rgba(255,255,255,.75);font-size:17px;line-height:1.6;max-width:520px;margin:0 auto 36px}
.ed-kontakt-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.ed-badge{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);
  color:rgba(255,255,255,.75);font-size:13px;
  padding:7px 14px;border-radius:999px;margin-top:28px;
}
.ed-dot{width:8px;height:8px;border-radius:50%;background:#4ADE80;box-shadow:0 0 0 4px rgba(74,222,128,.18)}

/* ===== FOOTER ===== */
.ed-footer{background:var(--ed-light);padding:28px 0;border-top:1px solid rgba(15,36,96,.08)}
.ed-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.ed-footer-brand{display:flex;align-items:center;gap:14px}
.ed-footer-logo img{height:112px;width:auto}
.ed-footer-tag{color:#1a1a1a;font-size:14px}
.ed-footer-links{display:flex;align-items:center;gap:20px}
.ed-footer-links a{
  color:#1a1a1a;text-decoration:none;font-size:14px;font-weight:500;
  transition:color .2s ease;display:inline-flex;align-items:center;gap:6px;
}
.ed-footer-links a:hover{color:var(--ed-blue);text-decoration:underline}
.ed-footer p{font-size:13px;color:#1a1a1a;margin:0;width:100%;text-align:center}

/* ===== RESPONSIVE ===== */
@media (max-width:880px){
  .ed-cards{grid-template-columns:repeat(2,1fr)}
  .ed-usps{grid-template-columns:1fr}
  .ed-section{padding:64px 0}
  .ed-hero{padding:64px 0 80px}
}
@media (max-width:560px){
  .ed-cards{grid-template-columns:1fr}
  .ed-founders{grid-template-columns:1fr}
  .ed-nav-logo img{height:100px}
  .ed-footer-logo img{height:80px}
  .ed-btn{padding:9px 14px;font-size:13px}
  .ed-btn-lg{padding:14px 22px;font-size:15px}
}


/* ===== IMPRESSUM ===== */
.ed-impressum{
  background:#fff;
  padding:72px 0 92px;
  min-height:calc(100vh - 210px);
}
.ed-impressum-inner{max-width:760px}
.ed-impressum h1{
  color:var(--ed-blue);
  font-size:clamp(32px,4vw,44px);
  font-weight:800;
  line-height:1.15;
  letter-spacing:-.01em;
  margin:0 0 32px;
}
.ed-impressum-block{margin:0 0 28px}
.ed-impressum h2{
  color:var(--ed-blue);
  font-size:18px;
  font-weight:700;
  line-height:1.3;
  margin:0 0 8px;
}
.ed-impressum p{
  color:var(--ed-text);
  font-size:16px;
  line-height:1.65;
  margin:0;
}
.ed-impressum a{color:var(--ed-orange);text-decoration:none;font-weight:500}
.ed-impressum a:hover{text-decoration:underline}


/* ===== English/Farsi + final refinements ===== */
html{scroll-padding-top:110px}
body.is-fa{direction:rtl;text-align:right}
body.is-fa .ed-nav-inner,body.is-fa .ed-footer-inner{direction:ltr}
body.is-fa .ed-hero,body.is-fa .ed-section-head,body.is-fa .ed-kontakt{text-align:center}
body.is-fa .ed-cards,body.is-fa .ed-usps,body.is-fa .ed-founders,body.is-fa .ed-contact-form{direction:rtl}
body.is-fa .ed-service-face,body.is-fa .ed-founder-face{text-align:center}
body.is-fa .ed-usp{text-align:right}
body.is-fa .ed-contact-form{text-align:right}
.ed-lang-toggle{min-width:86px;justify-content:center;border:1.5px solid var(--ed-blue)!important;background:#fff;color:var(--ed-blue)}
.ed-lang-toggle:hover{background:var(--ed-blue);color:#fff}
.ed-nav{padding:0;background:var(--ed-light)}
.ed-nav-inner{min-height:84px}.ed-nav-logo img{height:64px;width:auto;max-width:160px;object-fit:contain}.ed-nav-btns{display:flex;gap:12px;align-items:center}.ed-nav-btns .ed-btn{padding:12px 20px;font-size:15px;border-radius:12px}
.ed-hero{padding:72px 0 78px}.ed-hero-tag{font-size:17px;font-weight:700;padding:11px 22px;box-shadow:0 12px 28px rgba(232,129,26,.18)}.ed-hero-tag .fa-fire{display:inline-block;transform-origin:50% 85%;animation:edfire-flame 2.8s ease-in-out infinite;filter:drop-shadow(0 0 5px rgba(232,129,26,.45))}.ed-hero-inner{animation:edfire-hero-in .9s ease both}.ed-hero h1{animation:edfire-hero-in .95s .08s ease both}.ed-hero p,.ed-hero-btns{animation:edfire-hero-in .95s .18s ease both}
@keyframes edfire-flame{0%,100%{transform:translateY(0) rotate(-1deg) scale(1);filter:drop-shadow(0 0 4px rgba(232,129,26,.35))}45%{transform:translateY(-1px) rotate(2deg) scale(1.06);filter:drop-shadow(0 0 8px rgba(232,129,26,.62))}70%{transform:translateY(0) rotate(-2deg) scale(1.02)}}
@keyframes edfire-hero-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}

/* Service flip cards */
.ed-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.ed-card{background:transparent;border:0;border-radius:16px;padding:0;perspective:1200px;min-height:245px;position:relative;touch-action:manipulation}.ed-service-flip-inner{position:relative;width:100%;min-height:245px;transform-style:preserve-3d;transition:transform .78s cubic-bezier(.2,.8,.2,1);will-change:transform}.ed-service-face{position:absolute;inset:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;background:#fff;border:1px solid #ececec;border-radius:16px;padding:28px;backface-visibility:hidden;-webkit-backface-visibility:hidden;transform-style:preserve-3d;overflow:hidden}.ed-service-front{transform:rotateY(0deg);z-index:2}.ed-service-back{transform:rotateY(180deg);background:linear-gradient(135deg,#fff 0%,#FFF8F1 100%);z-index:1}.ed-service-flip.is-flipped .ed-service-flip-inner{transform:rotateY(180deg)}@media (hover:hover) and (pointer:fine){.ed-service-flip:not(.is-flipped):hover .ed-service-flip-inner{transform:rotateY(180deg)}}.ed-service-flip:hover .ed-card-icon,.ed-service-flip.is-flipped .ed-card-icon{transform:translateY(-2px) scale(1.06);box-shadow:0 12px 26px rgba(232,129,26,.18)}.ed-card-icon{transition:transform .25s ease,box-shadow .25s ease}.ed-service-face h3{margin-top:0}.ed-flip-hint{font-size:12px;color:var(--ed-orange);font-weight:700;margin-top:14px;letter-spacing:.02em;line-height:1.35}

/* Founders flip cards */
.ed-founders{display:grid;grid-template-columns:repeat(2,1fr);gap:28px;max-width:760px;margin:0 auto}.ed-founder{background:transparent;border:0;border-radius:16px;padding:0;text-align:center;perspective:1200px;min-height:330px;position:relative;touch-action:manipulation}.ed-founder-flip-inner{position:relative;width:100%;min-height:330px;transform-style:preserve-3d;transition:transform .85s cubic-bezier(.2,.85,.2,1);will-change:transform}.ed-founder-face{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border:1px solid #ececec;border-radius:18px;padding:28px;text-align:center;backface-visibility:hidden;-webkit-backface-visibility:hidden;transform-style:preserve-3d;overflow:hidden}.ed-founder-front{transform:rotateY(0deg);z-index:2}.ed-founder-back{transform:rotateY(180deg);z-index:1;background:linear-gradient(135deg,#fff 0%,#FFF8F1 100%)}.ed-founder-flip.is-flipped .ed-founder-flip-inner{transform:rotateY(180deg)}@media (hover:hover) and (pointer:fine){.ed-founder-flip:not(.is-flipped):hover .ed-founder-flip-inner{transform:rotateY(180deg)}}.ed-founder-photo{width:140px;height:140px;border-radius:50%;overflow:hidden;margin:0 auto 18px;border:3px solid var(--ed-blue-light)}.ed-founder-photo img{width:100%;height:100%;object-fit:cover}.ed-founder h3{font-size:18px;font-weight:700;color:var(--ed-blue);margin:0 0 4px}.ed-founder p{font-size:14px;color:var(--ed-text-muted);margin:0;line-height:1.6}.ed-founder-back p{font-size:16px;max-width:300px;color:var(--ed-text);line-height:1.65}.ed-founder-email{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:18px;padding:10px 14px;border-radius:999px;background:var(--ed-orange);color:#fff;text-decoration:none;font-size:14px;font-weight:700;box-shadow:0 10px 20px rgba(232,129,26,.22)}

/* Contact form */
.ed-kontakt .ed-container{display:flex;flex-direction:column;align-items:center}.ed-kontakt .ed-h2{color:#fff;text-align:center}.ed-kontakt-lead{color:rgba(255,255,255,.78);font-size:17px;line-height:1.6;max-width:650px;margin:0 auto 36px;text-align:center}.ed-kontakt-btns{display:flex;gap:0;justify-content:center;align-items:stretch;flex-wrap:wrap;max-width:1040px;margin:0 auto;width:100%}.ed-kontakt-btns .ed-btn{min-width:0;flex:1 1 240px;justify-content:center;padding:20px 24px;font-size:17px;border-radius:0;border-right-width:0}.ed-kontakt-btns .ed-btn:first-child{border-radius:16px 0 0 16px}.ed-kontakt-btns .ed-btn:last-child{border-radius:0 16px 16px 0;border-right-width:1.5px}.ed-contact-options{margin-bottom:30px;box-shadow:0 18px 45px rgba(15,36,96,.16);border-radius:16px;overflow:hidden}.ed-contact-form{width:100%;max-width:780px;margin:0 auto;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:22px;padding:28px;box-shadow:0 22px 55px rgba(0,0,0,.12);text-align:left;backdrop-filter:blur(8px)}.ed-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.ed-contact-form label{display:flex;flex-direction:column;gap:7px;color:#fff;font-size:14px;font-weight:700}.ed-contact-form input,.ed-contact-form select,.ed-contact-form textarea{width:100%;border:1px solid rgba(255,255,255,.28);border-radius:12px;padding:14px 15px;background:rgba(255,255,255,.94);color:var(--ed-text);font-family:inherit;font-size:15px;outline:none;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.ed-contact-form input:focus,.ed-contact-form select:focus,.ed-contact-form textarea:focus{border-color:var(--ed-orange);box-shadow:0 0 0 4px rgba(232,129,26,.18);transform:translateY(-1px)}.ed-form-message{margin-top:16px}.ed-form-submit{margin:20px auto 0;display:flex;justify-content:center;border:0}.ed-form-privacy{margin:14px 0 0;text-align:center;color:rgba(255,255,255,.72);font-size:13px;line-height:1.5}.ed-form-notice{max-width:780px;width:100%;margin:26px auto 20px;padding:14px 18px;border-radius:14px;font-weight:700;text-align:center;border:1px solid rgba(255,255,255,.22)}.ed-form-success{background:rgba(74,222,128,.16);color:#dcfce7}.ed-form-error{background:rgba(248,113,113,.16);color:#fee2e2}.ed-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.ed-badge{display:inline-flex;align-items:center;gap:9px;margin-top:26px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);padding:10px 18px;border-radius:999px;color:rgba(255,255,255,.84);font-size:14px}.ed-dot{width:10px;height:10px;background:#39d353;border-radius:50%;box-shadow:0 0 0 0 rgba(57,211,83,.6);animation:edfire-dot-pulse 2.4s infinite}@keyframes edfire-dot-pulse{0%{box-shadow:0 0 0 0 rgba(57,211,83,.55)}70%{box-shadow:0 0 0 10px rgba(57,211,83,0)}100%{box-shadow:0 0 0 0 rgba(57,211,83,0)}}

/* Footer */
.ed-footer{background:var(--ed-light);padding:24px 0;border-top:1px solid rgba(15,36,96,.08)}.ed-footer-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;text-align:center}.ed-footer-brand{display:flex;align-items:center;justify-content:flex-start}.ed-footer-logo img{height:54px;width:auto}.ed-footer-tag{color:#1a1a1a;font-size:14px;text-align:center;justify-self:center}.ed-footer-links{display:flex;align-items:center;justify-content:flex-end;gap:18px}.ed-footer-links a{font-size:14px;color:var(--ed-blue);text-decoration:none;font-weight:600}.ed-footer p{font-size:13px;color:#1a1a1a;margin:4px 0 0;grid-column:1/-1;text-align:center}

/* Legal pages */
.ed-impressum{padding:86px 0 96px;background:#fff;min-height:calc(100vh - 130px)}.ed-impressum .ed-container{max-width:760px}.ed-impressum h1{font-size:clamp(34px,5vw,48px);line-height:1.1;font-weight:800;color:var(--ed-blue);margin:0 0 34px}.ed-impressum h2{font-size:19px;font-weight:800;color:var(--ed-blue);margin:28px 0 8px}.ed-impressum p{font-size:18px;line-height:1.65;color:var(--ed-text);margin:0}.ed-impressum a{color:var(--ed-orange);text-decoration:none;font-weight:500}

@media (max-width:880px){html{scroll-padding-top:96px}.ed-nav-inner{min-height:76px}.ed-nav-logo img{height:52px}.ed-nav-btns{gap:8px}.ed-nav-btns .ed-btn{padding:10px 13px;font-size:14px}.ed-cards{grid-template-columns:repeat(2,1fr)}.ed-founder,.ed-founder-flip-inner{min-height:340px}}
@media (max-width:700px){.ed-form-grid{grid-template-columns:1fr}.ed-contact-form{padding:22px 18px;border-radius:18px}.ed-contact-form,.ed-kontakt-btns{max-width:360px}.ed-kontakt-btns .ed-btn{width:100%;max-width:none;min-width:0;flex-basis:100%;padding:18px 26px;font-size:16px;border-right-width:1.5px;border-bottom-width:0}.ed-kontakt-btns .ed-btn:first-child{border-radius:16px 16px 0 0}.ed-kontakt-btns .ed-btn:last-child{border-radius:0 0 16px 16px;border-bottom-width:1.5px}.ed-kontakt-btns .ed-btn:not(:first-child):not(:last-child){border-radius:0}.ed-founders{grid-template-columns:1fr}.ed-cards{grid-template-columns:1fr}.ed-card,.ed-service-flip-inner{min-height:225px}.ed-footer-inner{grid-template-columns:1fr;gap:12px}.ed-footer-brand,.ed-footer-links{justify-content:center}.ed-footer-links{flex-wrap:wrap}.ed-hero{padding:76px 0 84px}.ed-hero-tag{font-size:15px}.ed-btn-lg{padding:14px 20px;font-size:15px}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}


/* Farsi brand and Android/Vivo compatibility fixes */
.ed-nav-brand-text,.ed-footer-brand-text{display:none;font-weight:800;color:var(--ed-blue);letter-spacing:-.02em}
.ed-nav-brand-text{font-size:30px;line-height:1}
.ed-footer-brand-text{font-size:24px;line-height:1}
body.is-fa .ed-nav-brand-text,body.is-fa .ed-footer-brand-text{display:none!important}
body.is-fa{font-family:Tahoma,'Noto Sans Arabic',Arial,sans-serif}
body.is-fa .ed-contact-form{text-align:right}
body.is-fa .ed-service-face,body.is-fa .ed-founder-face{text-align:right}
body.is-fa .ed-card-icon{margin-left:0;margin-right:0}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.ed-contact-form{background:rgba(15,36,96,.92)}}
@media (hover:none){.ed-service-flip:hover .ed-service-flip-inner,.ed-founder-flip:hover .ed-founder-flip-inner{transform:none}.ed-service-flip.is-flipped .ed-service-flip-inner,.ed-founder-flip.is-flipped .ed-founder-flip-inner{transform:rotateY(180deg)}}
@media (max-width:700px){.ed-nav{position:sticky}.ed-nav-inner{gap:10px}.ed-nav-btns{flex-wrap:nowrap}.ed-nav-btns .ed-btn{font-size:13px;padding:9px 11px}.ed-nav-brand-text{font-size:26px}.ed-hero{min-height:auto}.ed-service-face,.ed-founder-face{-webkit-transform-style:preserve-3d}.ed-contact-form select{background-color:#fff}}


/* ===== Android/Vivo mobile RTL viewport fix ===== */
html,body{width:100%;max-width:100%;overflow-x:hidden}
body{min-width:0}
.ed-nav,.ed-hero,.ed-section,.ed-footer,.ed-impressum{width:100%;max-width:100vw;overflow-x:hidden}
.ed-container{width:100%;max-width:1160px;margin-left:auto;margin-right:auto;min-width:0}
.ed-nav-inner,.ed-cards,.ed-usps,.ed-founders,.ed-form-grid,.ed-contact-options,.ed-contact-form{min-width:0}
body.is-fa{direction:ltr!important;text-align:inherit!important}
body.is-fa .ed-hero-inner,
body.is-fa .ed-section-head,
body.is-fa .ed-kontakt .ed-label,
body.is-fa .ed-kontakt .ed-h2,
body.is-fa .ed-kontakt-lead,
body.is-fa .ed-service-face,
body.is-fa .ed-founder-face,
body.is-fa .ed-usp,
body.is-fa .ed-contact-form,
body.is-fa .ed-impressum-inner{direction:rtl;text-align:right}
body.is-fa .ed-hero-inner,
body.is-fa .ed-section-head,
body.is-fa .ed-kontakt .ed-label,
body.is-fa .ed-kontakt .ed-h2,
body.is-fa .ed-kontakt-lead{text-align:center}
body.is-fa .ed-nav-inner,
body.is-fa .ed-footer-inner,
body.is-fa .ed-contact-options{direction:ltr;text-align:inherit}
body.is-fa .ed-contact-form input,
body.is-fa .ed-contact-form textarea,
body.is-fa .ed-contact-form select{direction:rtl;text-align:right}
@media (max-width:700px){
  .ed-container{padding-left:18px;padding-right:18px}
  .ed-nav-inner{display:flex;justify-content:space-between;width:100%}
  .ed-nav-logo{min-width:0;flex:0 1 auto}
  .ed-nav-btns{flex:0 0 auto;min-width:0}
  .ed-hero h1,.ed-hero p{max-width:100%}
  body.is-fa .ed-cards,body.is-fa .ed-usps,body.is-fa .ed-founders{direction:ltr}
  body.is-fa .ed-service-face,body.is-fa .ed-founder-face,body.is-fa .ed-usp{direction:rtl}
}


/* ===== Larger logo + Farsi logo visibility ===== */
.ed-nav-inner{min-height:102px}
.ed-nav-logo{gap:14px;text-decoration:none}
.ed-nav-logo img{height:84px!important;max-width:220px;object-fit:contain}
.ed-footer-logo{display:flex;align-items:center;gap:12px}
.ed-footer-logo img{height:66px!important;max-width:190px;object-fit:contain}
body.is-fa .ed-nav-logo img,body.is-fa .ed-footer-logo img{display:block!important}
body.is-fa .ed-nav-brand-text,body.is-fa .ed-footer-brand-text{display:none!important}
@media (max-width:880px){
  .ed-nav-inner{min-height:90px}
  .ed-nav-logo img{height:70px!important;max-width:175px}
  .ed-footer-logo img{height:58px!important}
}
@media (max-width:700px){
  .ed-nav-inner{min-height:78px}
  .ed-nav-logo{gap:8px}
  .ed-nav-logo img{height:56px!important;max-width:136px}
  .ed-nav-brand-text{font-size:21px!important}
  .ed-footer-logo img{height:56px!important}
}
@media (max-width:390px){
  .ed-nav-logo img{height:50px!important;max-width:116px}
  .ed-nav-brand-text{font-size:19px!important}
  .ed-nav-btns .ed-btn{padding:8px 9px;font-size:12px}
}


/* ===== Language pill + compact mobile hero ===== */
.ed-lang-toggle{gap:6px;min-width:96px;padding-left:14px!important;padding-right:14px!important}
.ed-lang-toggle .ed-lang-en,.ed-lang-toggle .ed-lang-fa{display:inline-flex;align-items:center;justify-content:center;line-height:1;font-weight:800;opacity:.55;transition:opacity .2s ease,color .2s ease}
.ed-lang-toggle .ed-lang-sep{opacity:.35;font-weight:800}
html:not([lang="fa"]) .ed-lang-toggle .ed-lang-en,body:not(.is-fa) .ed-lang-toggle .ed-lang-en{opacity:1;color:var(--ed-orange)}
body.is-fa .ed-lang-toggle .ed-lang-fa{opacity:1;color:var(--ed-orange)}
@media (max-width:700px){
  .ed-hero{padding:34px 0 40px!important}
  .ed-hero-tag{font-size:13px!important;padding:8px 14px!important;margin-bottom:14px!important}
  .ed-hero h1{font-size:clamp(30px,9vw,42px)!important;line-height:1.08!important;margin-bottom:14px!important}
  .ed-hero p{font-size:15px!important;line-height:1.5!important;margin-bottom:22px!important}
  .ed-hero-btns .ed-btn{padding:13px 18px!important;font-size:14px!important}
}
@media (max-width:390px){
  .ed-hero{padding:28px 0 34px!important}
  .ed-hero-tag{font-size:12px!important}
  .ed-hero h1{font-size:clamp(28px,9vw,38px)!important}
  .ed-lang-toggle{min-width:84px;padding-left:10px!important;padding-right:10px!important;gap:4px}
}


/* ===== Final logo cleanup: only logo, much larger ===== */
.ed-nav-brand-text,.ed-footer-brand-text{display:none!important}
.ed-nav-inner{min-height:112px!important}
.ed-nav-logo{gap:0!important;flex:0 0 auto}
.ed-nav-logo img{height:190px!important;max-width:520px!important;width:auto!important;object-fit:contain!important}
.ed-footer-logo{gap:0!important}
.ed-footer-logo img{height:116px!important;max-width:320px!important;width:auto!important;object-fit:contain!important}
body.is-fa .ed-nav-logo img,body.is-fa .ed-footer-logo img{display:block!important}
@media (max-width:880px){
  .ed-nav-inner{min-height:98px!important}
  .ed-nav-logo img{height:154px!important;max-width:410px!important}
  .ed-footer-logo img{height:96px!important;max-width:270px!important}
}
@media (max-width:700px){
  .ed-nav-inner{min-height:84px!important;gap:8px!important}
  .ed-nav-logo img{height:120px!important;max-width:300px!important}
  .ed-nav-btns{gap:7px!important}
  .ed-nav-btns .ed-btn{padding:8px 10px!important;font-size:12px!important}
  .ed-footer-logo img{height:86px!important;max-width:220px!important}
}
@media (max-width:390px){
  .ed-nav-inner{min-height:76px!important}
  .ed-nav-logo img{height:106px!important;max-width:250px!important}
  .ed-nav-btns .ed-btn{padding:7px 8px!important;font-size:11px!important}
}

/* ===== Final header proportion fix: thinner light-blue bar, larger logo ===== */
.ed-nav{
  padding:0!important;
  overflow:visible!important;
  min-height:0!important;
}
.ed-nav-inner{
  min-height:72px!important;
  height:72px!important;
  position:relative!important;
  overflow:visible!important;
  align-items:center!important;
}
.ed-nav-logo{
  position:absolute!important;
  left:24px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  z-index:5!important;
  display:flex!important;
  align-items:center!important;
  height:auto!important;
}
.ed-nav-logo img{
  height:150px!important;
  max-width:420px!important;
  width:auto!important;
  object-fit:contain!important;
  display:block!important;
}
.ed-nav-btns{
  margin-left:auto!important;
  position:relative!important;
  z-index:6!important;
}
body.is-fa .ed-nav-logo{
  left:24px!important;
  right:auto!important;
}
body.is-fa .ed-nav-inner{
  direction:ltr!important;
}
@media (max-width:880px){
  .ed-nav-inner{min-height:64px!important;height:64px!important}
  .ed-nav-logo{left:18px!important}
  .ed-nav-logo img{height:122px!important;max-width:310px!important}
  .ed-nav-btns .ed-btn{padding:8px 10px!important;font-size:12px!important}
}
@media (max-width:560px){
  .ed-container{padding-left:14px!important;padding-right:14px!important}
  .ed-nav-inner{min-height:58px!important;height:58px!important;gap:6px!important}
  .ed-nav-logo{left:12px!important}
  .ed-nav-logo img{height:104px!important;max-width:190px!important}
  .ed-nav-btns{gap:6px!important}
  .ed-nav-btns .ed-btn{padding:7px 8px!important;font-size:11px!important;border-radius:9px!important}
}
@media (max-width:380px){
  .ed-nav-inner{min-height:54px!important;height:54px!important}
  .ed-nav-logo img{height:94px!important;max-width:165px!important}
  .ed-nav-btns .ed-btn{padding:6px 7px!important;font-size:10.5px!important}
}


/* ===== FINAL LOGO SIZE OVERRIDE ===== */
.ed-nav{padding:0!important}
.ed-nav-inner{min-height:74px!important;padding:8px 0!important;align-items:center!important}
.ed-nav-logo{display:flex!important;align-items:center!important;line-height:0!important;flex:0 0 auto!important}
.ed-nav-logo img{height:170px!important;max-width:520px!important;width:auto!important;display:block!important;object-fit:contain!important}
.ed-nav-btns{align-items:center!important}
.ed-hero{padding-top:32px!important}

@media (max-width:1024px){
  .ed-nav-inner{min-height:68px!important;padding:6px 0!important}
  .ed-nav-logo img{height:148px!important;max-width:430px!important}
}

@media (max-width:768px){
  .ed-nav-inner{min-height:62px!important;padding:4px 0!important;gap:8px!important}
  .ed-nav-logo img{height:126px!important;max-width:340px!important}
  .ed-hero{padding-top:24px!important}
}

@media (max-width:560px){
  .ed-nav-inner{min-height:56px!important;padding:4px 0!important;gap:6px!important}
  .ed-nav-logo img{height:112px!important;max-width:280px!important}
  .ed-nav-btns .ed-btn{padding:8px 12px!important;font-size:12px!important}
  .ed-hero{padding-top:20px!important;padding-bottom:26px!important}
}


/* ===== MASSIVE LOGO OVERRIDE ===== */
.ed-nav{padding:0!important;overflow:visible!important}
.ed-nav-inner{min-height:58px!important;padding:2px 0!important;align-items:center!important;overflow:visible!important}
.ed-nav-logo{display:flex!important;align-items:center!important;line-height:0!important;flex:0 0 auto!important;overflow:visible!important}
.ed-nav-logo img{height:235px!important;max-width:700px!important;width:auto!important;display:block!important;object-fit:contain!important}
.ed-nav-btns{align-items:center!important;position:relative!important;z-index:2!important}
.ed-hero{padding-top:18px!important}

@media (max-width:1024px){
  .ed-nav-inner{min-height:54px!important;padding:2px 0!important}
  .ed-nav-logo img{height:210px!important;max-width:620px!important}
}

@media (max-width:768px){
  .ed-nav-inner{min-height:50px!important;padding:2px 0!important;gap:6px!important}
  .ed-nav-logo img{height:170px!important;max-width:470px!important}
  .ed-hero{padding-top:14px!important}
}

@media (max-width:560px){
  .ed-nav-inner{min-height:46px!important;padding:1px 0!important;gap:4px!important}
  .ed-nav-logo img{height:142px!important;max-width:360px!important}
  .ed-nav-btns .ed-btn{padding:7px 10px!important;font-size:11px!important}
  .ed-hero{padding-top:10px!important;padding-bottom:22px!important}
}
