/* Arab Olive Oil Award — public site styles (ported from the static HTML demo) */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
:root{
  --green-deep:#0D3B1F; --green-mid:#1A5C2A; --green-soft:#2E7D42;
  --green-pale:#EBF5EE; --gold:#C8921A; --gold-light:#F5E6C0; --gold-pale:#FDF8EE;
  --off-white:#F8F6F1; --text-dark:#1C1C1C; --text-mid:#3D3D3D; --text-muted:#7A7A7A;
  --border:rgba(26,92,42,.15); --border-gold:rgba(200,146,26,.35);
  --radius-sm:6px; --radius-md:12px; --radius-lg:18px;
  --surface:#FFFFFF; --bg:var(--off-white);
}
html,body{min-height:100%;background:var(--bg);font-family:'Cairo',sans-serif;color:var(--text-dark);font-size:15px;line-height:1.7;}
img{max-width:100%;display:block;}
a{color:inherit;}
section{scroll-margin-top:120px;}
html{scroll-behavior:smooth; scroll-padding-top:130px;}
.wrap{max-width:1080px;margin:0 auto;padding:0 22px;}

/* Top bar */
.topbar{background:var(--green-deep);color:rgba(255,255,255,.78);font-size:12px;padding:6px 0;}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;}
.topbar a{color:var(--gold-light);text-decoration:none;}
.topbar-right{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.partners-strip{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;}
.lang-switcher{display:flex;gap:4px;flex-shrink:0;}
.lang-btn{padding:2px 8px;border-radius:4px;font-size:11px;font-weight:700;color:rgba(255,255,255,.6);text-decoration:none;transition:background .15s,color .15s;white-space:nowrap;}
.lang-btn:hover{color:#fff;background:rgba(255,255,255,.12);}
.lang-btn.active{background:var(--gold);color:var(--green-deep);}
.partners-strip::-webkit-scrollbar{display:none;}
.partner-chip{flex-shrink:0;font-size:11px;color:rgba(255,255,255,.65);padding:2px 4px;white-space:nowrap;}
.partner-chip:not(:last-child)::after{content:'•';margin-inline-start:8px;color:var(--gold);}

/* Header */
.site-header{background:linear-gradient(180deg,var(--green-deep),#0A2E18);padding:14px 0;border-bottom:3px solid var(--gold);position:sticky;top:0;z-index:100;}
.header-inner{display:flex;align-items:center;gap:14px;justify-content:space-between;}
.brand{display:flex;align-items:center;gap:12px;}
.brand-badge{width:72px;height:72px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;}
.brand-badge img{width:100%;height:100%;object-fit:cover;}
.brand-text h1{font-size:14px;font-weight:800;color:#fff;line-height:1.4;}
.brand-text p{font-size:11px;color:var(--gold-light);}
.header-cta{background:var(--gold);color:var(--green-deep);font-weight:700;font-size:13px;padding:10px 20px;border-radius:var(--radius-sm);text-decoration:none;white-space:nowrap;transition:background .15s, transform .1s;}
.header-cta:hover{background:#dba020;transform:translateY(-1px);}

/* Nav */
.nav-outer{background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:85px;z-index:99;box-shadow:0 2px 10px rgba(0,0,0,.05);}
.nav-inner{display:flex;overflow-x:auto;scrollbar-width:none;gap:2px;}
.nav-inner::-webkit-scrollbar{display:none;}
.nav-link{padding:13px 15px;font-size:13px;font-weight:600;color:var(--text-muted);text-decoration:none;white-space:nowrap;border-bottom:3px solid transparent;transition:color .15s, border-color .15s;}
.nav-link:hover,.nav-link.active{color:var(--green-mid);border-bottom-color:var(--gold);}

/* Hero — split cream panel + slogan, matching the award-site layout */
.hero{display:grid;grid-template-columns:minmax(340px,42%) 1fr;min-height:560px;background:#fbf7ee;position:relative;overflow:hidden;direction:ltr;color:var(--text-dark);text-align:center;}
.hero-copy{position:relative;z-index:3;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:42px 4vw 48px 3vw;background:radial-gradient(circle at 30% 20%, #fff 0%, #fbf7ee 67%);}
html[dir="rtl"] .hero-copy{direction:rtl;}
html[dir="ltr"] .hero-copy{direction:ltr;}
.hero-eyebrow{display:inline-flex;align-items:center;gap:6px;background:var(--gold);color:var(--green-deep);font-size:12px;font-weight:700;padding:6px 18px;border-radius:20px;margin-bottom:16px;}
.hero h2{font-size:clamp(26px,3.2vw,44px);font-weight:800;line-height:1.25;max-width:14em;margin:0 auto 12px;color:var(--green-deep);}
.hero-sub{font-size:16px;color:var(--text-mid);max-width:460px;margin:0 auto 22px;line-height:1.8;}
.hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}
.btn{display:inline-flex;align-items:center;gap:8px;font-family:'Cairo',sans-serif;font-size:14px;font-weight:700;padding:13px 28px;border-radius:var(--radius-sm);text-decoration:none;cursor:pointer;border:none;transition:background .15s, transform .1s;}
.btn-gold{background:var(--gold);color:var(--green-deep);}
.btn-gold:hover{background:#dba020;transform:translateY(-1px);}
.btn-outline{background:transparent;color:var(--green-deep);border:1.5px solid var(--green-mid);}
.btn-outline:hover{border-color:var(--green-deep);background:var(--green-pale);}
.hero-deadline{margin-top:22px;font-size:14px;color:var(--text-mid);position:relative;z-index:1;}
.hero-deadline strong{color:#bd7c00;}
.hero-art{position:relative;display:flex;align-items:center;justify-content:center;background:#fff;overflow:hidden;min-height:320px;}
.hero-art img{width:min(92%,540px);height:auto;max-height:500px;object-fit:contain;margin-inline-start:48px;}
.hero-art::before{content:'';position:absolute;z-index:3;top:-12%;bottom:-12%;left:-115px;width:235px;background:#fbf7ee;border-radius:0 100% 100% 0 / 0 50% 50% 0;pointer-events:none;}
.hero-art .curve{position:absolute;inset:-12% auto -12% -34px;width:18px;border-radius:60%;transform:rotate(-8deg);z-index:5;}
.hero-art .curve.green{background:var(--green-mid);}
.hero-art .curve.gold{left:-8px;width:7px;background:var(--gold);}

/* Quick cards */
.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:28px;margin-bottom:8px;position:relative;z-index:2;}
.quick-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:22px 18px;text-align:center;box-shadow:0 10px 30px rgba(13,59,31,.08);}
.quick-icon{font-size:26px;margin-bottom:10px;}
.quick-card h4{font-size:13.5px;font-weight:700;color:var(--green-deep);margin-bottom:6px;}
.quick-card p{font-size:12px;color:var(--text-muted);line-height:1.6;}
.quick-card a{display:inline-block;margin-top:10px;font-size:12px;font-weight:700;color:var(--gold);text-decoration:none;}
.quick-card a:hover{text-decoration:underline;}

/* Sections */
.section{padding:64px 0;}
.section-alt{background:var(--green-pale);}
.section-head{text-align:center;max-width:620px;margin:0 auto 40px;}
.eyebrow-tag{display:inline-block;font-size:12px;font-weight:700;color:var(--gold);letter-spacing:.5px;margin-bottom:10px;}
.section-head h2{font-size:clamp(22px,3vw,28px);font-weight:900;color:var(--green-deep);margin-bottom:10px;}
.section-head p{font-size:14px;color:var(--text-muted);line-height:1.8;}

.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:26px 28px;}
.card-title{font-size:16px;font-weight:700;color:var(--green-deep);margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid var(--border-gold);display:flex;align-items:center;gap:10px;}
.card-title-icon{width:34px;height:34px;border-radius:9px;background:var(--green-pale);display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0;}
.card p{color:var(--text-mid);font-size:14px;margin-bottom:10px;}
.card p:last-child{margin-bottom:0;}
.card ul{list-style:none;}
.card ul li{font-size:13.5px;color:var(--text-mid);padding:7px 0;border-bottom:1px solid var(--border);display:flex;gap:8px;align-items:flex-start;line-height:1.6;}
.card ul li:last-child{border-bottom:none;}
.card ul li::before{content:'🫒';font-size:12px;flex-shrink:0;margin-top:3px;}

.about-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;align-items:start;}
.num-list{list-style:none;counter-reset:g;}
.num-list li{counter-increment:g;display:flex;gap:14px;padding:12px 0;border-bottom:1px solid var(--border);align-items:flex-start;}
.num-list li:last-child{border-bottom:none;}
.num-list li::before{content:counter(g);flex-shrink:0;width:28px;height:28px;border-radius:50%;background:var(--gold);color:var(--green-deep);font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center;}
.num-list span{font-size:13.5px;color:var(--text-mid);line-height:1.6;padding-top:3px;}

.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.cat-card{background:var(--surface);border:1px solid var(--border);border-top:4px solid var(--gold);border-radius:var(--radius-md);padding:20px 16px;text-align:center;}
.cat-dot{width:14px;height:14px;border-radius:50%;margin:0 auto 12px;}
.cat-card h4{font-size:13.5px;font-weight:700;color:var(--green-deep);margin-bottom:6px;line-height:1.4;}
.cat-card p{font-size:12px;color:var(--text-muted);}

.rules-download{display:inline-flex;align-items:center;gap:8px;margin-top:18px;background:var(--green-deep);color:#fff;font-weight:700;font-size:14px;padding:12px 22px;border-radius:var(--radius-sm);text-decoration:none;}
.rules-download:hover{background:var(--green-mid);}
.tabs-nav{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin-bottom:20px;}
.tabs-nav::-webkit-scrollbar{display:none;}
.tab-btn{flex-shrink:0;padding:9px 18px;border-radius:20px;border:1px solid var(--border);background:var(--surface);font-family:'Cairo',sans-serif;font-size:13px;font-weight:600;color:var(--text-muted);cursor:pointer;transition:.15s;}
.tab-btn.active{background:var(--green-deep);color:#fff;border-color:var(--green-deep);}
.tab-pane{display:none;}
.tab-pane.active{display:block;}

.stage-flow{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:center;margin-bottom:32px;}
.stage-pill{background:var(--surface);border:1px solid var(--border-gold);border-radius:20px;padding:9px 16px;font-size:12.5px;font-weight:700;color:var(--green-deep);}
.stage-arrow{color:var(--gold);font-size:16px;}

.timeline{list-style:none;}
.tl-item{display:flex;gap:16px;padding-bottom:26px;position:relative;}
.tl-item:last-child{padding-bottom:0;}
.tl-item::before{content:'';position:absolute;right:21px;top:44px;bottom:0;width:2px;background:var(--border);}
.tl-item:last-child::before{display:none;}
.tl-dot{width:44px;height:44px;border-radius:50%;background:var(--green-pale);border:2px solid var(--green-soft);display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;}
.tl-date{font-size:12px;font-weight:700;color:var(--gold);margin-bottom:3px;}
.tl-title{font-size:15px;font-weight:700;color:var(--green-deep);margin-bottom:3px;}
.tl-desc{font-size:13px;color:var(--text-muted);}

.prize-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.prize-card{background:var(--surface);border-radius:var(--radius-lg);padding:28px 18px;text-align:center;border:1px solid var(--border);}
.prize-card.gold{border-color:var(--gold);background:linear-gradient(180deg,var(--gold-pale),var(--surface));}
.prize-medal{font-size:38px;margin-bottom:10px;}
.prize-card h4{font-size:13px;font-weight:700;color:var(--text-muted);margin-bottom:4px;}

.results-table-wrap{overflow-x:auto;}
.results-table{width:100%;border-collapse:collapse;font-size:13px;}
.results-table th{background:var(--green-deep);color:#fff;padding:11px 14px;text-align:right;font-weight:700;}
.results-table td{padding:10px 14px;border-bottom:1px solid var(--border);color:var(--text-mid);}
.results-table tr:last-child td{border-bottom:none;}

.cc-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;}
.cc-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;}
.cc-header{background:var(--green-deep);padding:12px 16px;display:flex;align-items:center;gap:10px;}
.cc-flag{font-size:24px;}
.cc-country{font-size:13.5px;font-weight:800;color:#fff;}
.cc-body{padding:14px 16px;}
.cc-org{font-size:12.5px;font-weight:700;color:var(--green-deep);margin-bottom:6px;line-height:1.5;}
.cc-person{display:inline-block;font-size:11.5px;font-weight:700;color:var(--green-mid);background:var(--green-pale);padding:2px 10px;border-radius:20px;margin-bottom:8px;}
.cc-line{font-size:11.5px;color:var(--text-muted);display:flex;gap:6px;align-items:flex-start;margin-bottom:4px;}
.cc-pending{font-size:12px;color:var(--text-muted);font-style:italic;}

.form-section{margin-bottom:22px;}
.form-section h3{font-size:13.5px;font-weight:700;color:var(--gold);margin-bottom:14px;padding-bottom:8px;border-bottom:1px solid var(--border);}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.form-group{margin-bottom:14px;}
.form-group label{display:block;font-size:12.5px;font-weight:600;color:var(--text-mid);margin-bottom:6px;}
.form-group input:not([type="checkbox"]),.form-group select,.form-group textarea{width:100%;padding:10px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:13.5px;font-family:'Cairo',sans-serif;color:var(--text-dark);background:var(--off-white);outline:none;transition:border-color .15s;direction:rtl;}
.form-group input[type="checkbox"]{width:18px;height:18px;cursor:pointer;}
.form-group input[type="email"],.form-group input[type="tel"]{direction:ltr;text-align:left;}
.form-group input:not([type="checkbox"]):focus,.form-group select:focus,.form-group textarea:focus{border-color:var(--green-soft);background:var(--surface);}
.required{color:var(--gold);}
.field-validation-error{display:block;font-size:11.5px;color:#c0392b;margin-top:4px;}
.input-validation-error{border-color:#c0392b !important;}
.validation-summary-errors{background:#fdecea;border:1px solid #c0392b;border-radius:var(--radius-sm);padding:14px 16px;margin-bottom:18px;color:#922b21;font-size:13px;}
.validation-summary-valid{display:none;}
.validation-summary-errors ul{list-style:disc;margin-inline-start:18px;}
.info-banner{background:var(--gold-pale);border:1px solid var(--border-gold);border-radius:var(--radius-md);padding:16px 20px;margin-bottom:22px;display:flex;gap:12px;align-items:flex-start;}
.info-banner p{font-size:13.5px;color:var(--text-mid);margin:0;}
.submit-btn{width:100%;background:var(--green-deep);color:#fff;border:none;padding:14px;border-radius:var(--radius-sm);font-size:15px;font-weight:700;font-family:'Cairo',sans-serif;cursor:pointer;transition:background .15s;}
.submit-btn:hover{background:var(--green-mid);}
.success-box{background:var(--green-pale);border:1px solid var(--border);border-radius:var(--radius-md);padding:28px;text-align:center;}

.faq-item{border-bottom:1px solid var(--border);padding:16px 0;}
.faq-q{font-size:14px;font-weight:700;color:var(--green-deep);cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:10px;}
.faq-q::after{content:'+';font-size:20px;color:var(--gold);flex-shrink:0;transition:transform .2s;}
.faq-item.open .faq-q::after{transform:rotate(45deg);}
.faq-a{font-size:13.5px;color:var(--text-muted);max-height:0;overflow:hidden;transition:max-height .25s ease;}
.faq-item.open .faq-a{max-height:200px;padding-top:10px;}

.cta-band{background:var(--green-deep);text-align:center;padding:52px 0;color:#fff;}
.cta-band h3{font-size:clamp(20px,3vw,26px);font-weight:900;margin-bottom:14px;}
.cta-band p{font-size:13.5px;color:rgba(255,255,255,.75);margin-bottom:24px;}

footer{background:#081F10;color:rgba(255,255,255,.7);padding:48px 0 20px;font-size:13px;}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:26px;margin-bottom:30px;}
footer h5{color:#fff;font-size:13.5px;font-weight:700;margin-bottom:14px;}
footer a{display:block;color:rgba(255,255,255,.65);text-decoration:none;margin-bottom:8px;font-size:12.5px;}
footer a:hover{color:var(--gold-light);}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding-top:18px;text-align:center;font-size:12px;color:rgba(255,255,255,.5);}

.top-btn{position:fixed;bottom:20px;left:20px;width:44px;height:44px;border-radius:50%;background:var(--gold);color:var(--green-deep);border:none;font-size:18px;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.2);display:none;z-index:80;}

@media (max-width:900px){
  .hero{grid-template-columns:1fr;min-height:0;}
  .hero-copy{padding:40px 22px 36px;}
  .hero-art{min-height:260px;}
  .hero-art::before,.hero-art .curve{display:none;}
  .hero-art img{margin:0;width:min(100%,420px);max-height:380px;}
  .quick-grid{grid-template-columns:repeat(2,1fr);margin-top:24px;}
  .cat-grid{grid-template-columns:repeat(2,1fr);}
  .about-grid{grid-template-columns:1fr;}
  .prize-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:640px){
  .header-cta{display:none;}
  .cc-grid{grid-template-columns:1fr;}
  .form-row{grid-template-columns:1fr;}
  .quick-grid{grid-template-columns:1fr;margin-top:20px;}
  .nav-outer{top:76px;}
  .footer-grid{grid-template-columns:1fr;}
  .hero h2{font-size:28px;}
  .lang-switcher{order:-1;}
}

/* ═══════════════════════════ LTR overrides (EN / FR) ═══════════════════════ */
html[dir="ltr"] body{font-family:'Inter','Cairo',sans-serif;}
html[dir="ltr"] .btn,
html[dir="ltr"] .tab-btn,
html[dir="ltr"] .submit-btn{font-family:'Inter','Cairo',sans-serif;}
html[dir="ltr"] .form-group input:not([type="checkbox"]),
html[dir="ltr"] .form-group select,
html[dir="ltr"] .form-group textarea{direction:ltr;text-align:left;font-family:'Inter','Cairo',sans-serif;}
html[dir="ltr"] .form-group input[type="email"],
html[dir="ltr"] .form-group input[type="tel"]{direction:ltr;text-align:left;}
html[dir="ltr"] .tl-item::before{right:auto;left:21px;}
html[dir="ltr"] .results-table th{text-align:left;}
html[dir="ltr"] .stage-arrow{transform:scaleX(-1);}
