*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
:root{
  /* Toastmasters International Official Brand Colors */
  --tm-burgundy:#772432;
  --tm-burgundy-dark:#5C1B27;
  --tm-navy:#004165;
  --tm-navy-dark:#003050;
  --tm-gold:#F2A900;
  --tm-gold-light:#F5C34A;
  --tm-white:#FFFFFF;
  --tm-offwhite:#F7F5F2;
  --tm-lightgray:#E8E4E0;
  --tm-gray:#6B6B6B;
  --tm-charcoal:#333333;
}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Open Sans',Arial,Helvetica,sans-serif;background:var(--tm-white);color:var(--tm-charcoal);overflow-x:hidden}
a{text-decoration:none;color:inherit}

/* ───── NAVBAR ───── */
.navbar{
  position:fixed;top:0;left:0;right:0;z-index:100;
  display:flex;align-items:center;justify-content:space-between;
  padding:.8rem 2rem;
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(10px);
  border-bottom:3px solid var(--tm-burgundy);
  transition:box-shadow .3s;
}
.navbar.scrolled{box-shadow:0 2px 20px rgba(0,0,0,.1)}
.navbar-brand{display:flex;align-items:center;gap:.7rem}
.navbar-brand .tm-logo{
  width:48px;height:48px;flex-shrink:0;
}
.navbar-brand .tm-logo img{width:100%;height:100%;object-fit:contain}
.navbar-brand .tm-text{font-size:.7rem;line-height:1.3;color:var(--tm-navy);font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.navbar-brand .tm-text span{display:block;font-size:.6rem;font-weight:400;color:var(--tm-gray);text-transform:none;letter-spacing:0}
.nav-links{display:flex;gap:1.8rem;align-items:center}
.nav-links a{font-size:.85rem;font-weight:600;color:var(--tm-navy);transition:color .2s}
.nav-links a:hover{color:var(--tm-burgundy)}
.nav-links .nav-cta{
  background:var(--tm-burgundy);color:var(--tm-white);
  padding:.55rem 1.4rem;border-radius:4px;font-size:.8rem;
  transition:background .2s;
}
.nav-links .nav-cta:hover{background:var(--tm-burgundy-dark)}
@media(max-width:700px){
  .nav-links a:not(.nav-cta){display:none}
  .navbar{padding:.8rem 1.2rem}
}

/* ───── HERO ───── */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:6rem 1.5rem 4rem;
  overflow:hidden;
  background:linear-gradient(165deg,var(--tm-navy) 0%,var(--tm-navy-dark) 40%,var(--tm-burgundy-dark) 100%);
  color:var(--tm-white);
}
/* decorative floating words */
.hero .particles{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.hero .particles span{
  position:absolute;
  font-family:Georgia,'Times New Roman',serif;
  color:rgba(255,255,255,.04);
  font-size:clamp(2rem,6vw,6rem);
  font-weight:700;font-style:italic;
  animation:float 20s ease-in-out infinite alternate;
  user-select:none;
}
.hero .particles span:nth-child(1){top:8%;left:5%;animation-delay:0s}
.hero .particles span:nth-child(2){top:60%;left:78%;animation-delay:-4s;font-size:clamp(1.5rem,4vw,4rem)}
.hero .particles span:nth-child(3){top:28%;left:68%;animation-delay:-8s}
.hero .particles span:nth-child(4){top:72%;left:12%;animation-delay:-12s;font-size:clamp(1rem,3vw,3rem)}
.hero .particles span:nth-child(5){top:14%;left:42%;animation-delay:-6s;font-size:clamp(1.8rem,5vw,5rem)}
@keyframes float{0%{transform:translateY(0) rotate(-1deg)}100%{transform:translateY(-25px) rotate(1deg)}}

.hero-content{position:relative;z-index:1;max-width:860px}
.hero-badge{
  display:inline-block;padding:.35rem 1rem;
  border:2px solid var(--tm-gold);border-radius:4px;
  font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--tm-gold);margin-bottom:1.8rem;font-weight:700;
}
.hero h1{
  font-family:Georgia,'Times New Roman',serif;font-weight:700;
  font-size:clamp(2.2rem,5.5vw,4.5rem);line-height:1.12;margin-bottom:.5rem;
}
.hero h1 .highlight{color:var(--tm-gold)}
.hero .subtitle{
  font-size:clamp(.95rem,1.8vw,1.2rem);color:rgba(255,255,255,.75);
  max-width:580px;margin:0 auto 2.2rem;line-height:1.7;
}
.hero-meta{
  display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;margin-bottom:2.5rem;
}
.hero-meta .chip{
  display:flex;align-items:center;gap:.4rem;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);
  padding:.5rem 1rem;border-radius:4px;font-size:.85rem;
}
.hero-meta .chip svg{width:18px;height:18px;flex-shrink:0;color:var(--tm-gold)}
.btn-primary{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.85rem 2.2rem;border:none;border-radius:4px;cursor:pointer;
  font-family:'Open Sans',sans-serif;font-weight:700;font-size:1rem;
  background:var(--tm-burgundy);color:var(--tm-white);
  box-shadow:0 4px 15px rgba(119,36,50,.4);
  transition:background .2s,transform .2s;text-transform:uppercase;letter-spacing:.05em;
}
.btn-primary:hover{background:var(--tm-burgundy-dark);transform:translateY(-2px)}
.btn-secondary{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.85rem 2.2rem;border:2px solid var(--tm-white);border-radius:4px;cursor:pointer;
  font-family:'Open Sans',sans-serif;font-weight:700;font-size:1rem;
  background:transparent;color:var(--tm-white);
  transition:background .2s;text-transform:uppercase;letter-spacing:.05em;
}
.btn-secondary:hover{background:rgba(255,255,255,.12)}
.hero-ctas{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}
.scroll-hint{
  position:absolute;bottom:2rem;left:50%;transform:translateX(-50%);z-index:1;
  animation:bounce 2s ease-in-out infinite;color:rgba(255,255,255,.5);
}
@keyframes bounce{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(8px)}}

/* ───── SECTION COMMON ───── */
section{padding:5rem 1.5rem}
.container{max-width:1100px;margin:0 auto}
.section-label{
  display:inline-block;font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;
  color:var(--tm-burgundy);margin-bottom:.5rem;font-weight:700;
}
.section-title{
  font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.8rem,4vw,2.6rem);
  font-weight:700;color:var(--tm-navy);margin-bottom:.8rem;
}
.section-desc{color:var(--tm-gray);max-width:600px;line-height:1.7;margin-bottom:2.5rem}

/* ───── DIVIDER ───── */
.tm-divider{
  width:60px;height:4px;background:var(--tm-gold);margin-bottom:1.5rem;border-radius:2px;
}

/* ───── HIGHLIGHTS ───── */
.highlights{background:var(--tm-offwhite)}
.highlights-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}
.highlight-card{
  background:var(--tm-white);border:1px solid var(--tm-lightgray);
  border-radius:8px;padding:2rem;transition:transform .25s,box-shadow .25s;
  border-top:4px solid var(--tm-burgundy);
}
.highlight-card:hover{transform:translateY(-4px);box-shadow:0 8px 30px rgba(0,0,0,.08)}
.highlight-card .icon{
  width:50px;height:50px;border-radius:8px;display:flex;align-items:center;justify-content:center;
  background:var(--tm-navy);margin-bottom:1.2rem;
}
.highlight-card .icon svg{width:24px;height:24px;color:var(--tm-gold)}
.highlight-card h3{font-family:Georgia,'Times New Roman',serif;font-size:1.15rem;font-weight:700;color:var(--tm-navy);margin-bottom:.5rem}
.highlight-card p{font-size:.9rem;color:var(--tm-gray);line-height:1.7}

/* ───── PRICING ───── */
.pricing{background:var(--tm-white)}

/* Registration block matching the branded image */
.reg-block{max-width:700px;margin:0 auto;border-radius:10px;overflow:hidden;box-shadow:0 8px 40px rgba(0,0,0,.12)}

/* Header band — burgundy left / navy right */
.reg-header{
  display:flex;align-items:stretch;
}
.reg-header-left{
  flex:1;background:var(--tm-burgundy);padding:1.3rem 1.8rem;
  display:flex;align-items:center;
}
.reg-header-left h3{
  font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.1rem,3vw,1.5rem);
  font-weight:700;color:var(--tm-white);text-transform:uppercase;letter-spacing:.04em;
}
.reg-header-right{
  background:var(--tm-navy);padding:1.3rem 1.8rem;
  display:flex;align-items:center;justify-content:center;
}
.reg-header-right span{
  font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.6rem,4vw,2.4rem);
  font-weight:700;color:var(--tm-gold);
}

/* Sub-header */
.reg-subheader{
  background:var(--tm-offwhite);padding:1rem 1.8rem;text-align:center;
  font-family:Georgia,'Times New Roman',serif;font-size:clamp(.8rem,2vw,1rem);
  font-weight:700;color:var(--tm-charcoal);text-transform:uppercase;letter-spacing:.04em;
  border-bottom:1px solid var(--tm-lightgray);
}
.reg-subheader span{color:var(--tm-burgundy)}

/* Pricing table rows */
.reg-table{background:var(--tm-white);padding:0 1.4rem}
.reg-row{
  display:flex;align-items:center;padding:.9rem .4rem;
  border-bottom:2px dashed var(--tm-lightgray);
}
.reg-row:last-child{border-bottom:none}
.reg-row .reg-label{
  flex:1;font-size:.9rem;font-weight:700;color:var(--tm-charcoal);text-transform:uppercase;
  display:flex;align-items:center;gap:.5rem;
}
.reg-row .reg-label::before{
  content:'';width:10px;height:10px;border-radius:2px;background:var(--tm-navy);flex-shrink:0;
}
.reg-row .reg-original{
  width:120px;text-align:center;font-size:.9rem;font-weight:600;color:var(--tm-gray);
}
.reg-row .reg-discount{
  width:140px;text-align:center;
}
.reg-row .reg-discount span{
  display:inline-block;background:var(--tm-burgundy);color:var(--tm-gold);
  font-size:.9rem;font-weight:700;padding:.35rem 1rem;border-radius:4px;
  min-width:110px;
}

/* Registration form area */
.reg-form-area{
  background:var(--tm-navy);padding:1.6rem 1.8rem;
}
.reg-form-area label{
  display:block;font-size:.8rem;font-weight:700;color:var(--tm-gold);
  text-transform:uppercase;letter-spacing:.1em;margin-bottom:.5rem;
}
.reg-form-area select{
  width:100%;padding:.75rem 1rem;font-size:.95rem;font-family:'Open Sans',sans-serif;
  border:2px solid rgba(255,255,255,.2);border-radius:4px;
  background:rgba(255,255,255,.08);color:var(--tm-white);
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23F2A900' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 1rem center;
  cursor:pointer;margin-bottom:1rem;transition:border-color .2s;
}
.reg-form-area select:focus{outline:none;border-color:var(--tm-gold)}
.reg-form-area select option{background:var(--tm-navy);color:var(--tm-white)}
.reg-form-area .reg-submit{
  width:100%;padding:.85rem;border:none;border-radius:4px;cursor:pointer;
  font-family:'Open Sans',sans-serif;font-size:1rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.06em;
  background:var(--tm-burgundy);color:var(--tm-white);
  box-shadow:0 4px 15px rgba(119,36,50,.4);
  transition:background .2s,transform .2s;
}
.reg-form-area .reg-submit:hover{background:var(--tm-burgundy-dark);transform:translateY(-1px)}
.reg-note{
  font-size:.78rem;color:rgba(255,255,255,.6);line-height:1.5;margin-bottom:.6rem;
}
.reg-note strong{color:var(--tm-gold)}

/* ───── INFO ───── */
.info{background:var(--tm-offwhite)}
.info-list{display:flex;flex-direction:column;gap:1.2rem}
.info-item{
  display:flex;gap:1rem;align-items:flex-start;
  background:var(--tm-white);border:1px solid var(--tm-lightgray);
  border-radius:8px;padding:1.4rem 1.6rem;transition:box-shadow .25s;
  border-left:4px solid var(--tm-navy);
}
.info-item:hover{box-shadow:0 4px 20px rgba(0,0,0,.06)}
.info-item .info-icon{
  flex-shrink:0;width:42px;height:42px;border-radius:8px;
  background:var(--tm-burgundy);
  display:flex;align-items:center;justify-content:center;
}
.info-item .info-icon svg{width:20px;height:20px;color:var(--tm-white)}
.info-item h4{font-family:Georgia,'Times New Roman',serif;font-size:.95rem;font-weight:700;color:var(--tm-navy);margin-bottom:.3rem}
.info-item p{font-size:.85rem;color:var(--tm-gray);line-height:1.7}

/* ───── CTA FOOTER ───── */
.cta-section{
  background:var(--tm-navy);
  text-align:center;padding:5rem 1.5rem;color:var(--tm-white);
}
.cta-section h2{
  font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.8rem,4vw,2.6rem);
  font-weight:700;margin-bottom:1rem;
}
.cta-section p{color:rgba(255,255,255,.7);max-width:500px;margin:0 auto 2rem;line-height:1.7}
.cta-section .btn-primary{background:var(--tm-gold);color:var(--tm-charcoal);box-shadow:0 4px 15px rgba(242,169,0,.35)}
.cta-section .btn-primary:hover{background:var(--tm-gold-light)}

/* ───── FOOTER ───── */
footer{
  background:var(--tm-charcoal);border-top:4px solid var(--tm-burgundy);
  text-align:center;padding:2rem 1.5rem;font-size:.8rem;color:rgba(255,255,255,.6);
}
footer a{color:var(--tm-gold);text-decoration:none}
footer .footer-tm{font-size:.7rem;margin-top:.5rem;color:rgba(255,255,255,.4)}
footer .partner{display:flex;align-items:center;justify-content:center;gap:.6rem;margin-top:.8rem}
footer .partner img{height:32px;object-fit:contain}
footer .footer-links{margin-bottom:.9rem}
footer .footer-manual{display:inline-flex;align-items:center;gap:.5rem;padding:.45rem .9rem;border:1px solid rgba(242,169,0,.45);border-radius:999px;color:var(--tm-gold);font-weight:600;font-size:.8rem;transition:background .15s,color .15s,border-color .15s}
footer .footer-manual:hover{background:var(--tm-gold);color:var(--tm-charcoal);border-color:var(--tm-gold)}
footer .footer-manual svg{flex-shrink:0}

/* ───── RESPONSIVE ───── */
@media(max-width:640px){
  .hero-meta{flex-direction:column;align-items:center}
  .hero-ctas{flex-direction:column;align-items:center}
  .reg-header{flex-direction:column}
  .reg-header-left,.reg-header-right{text-align:center;justify-content:center}
  .reg-row{flex-wrap:wrap;gap:.4rem}
  .reg-row .reg-label{flex:1 1 100%;margin-bottom:.2rem}
  .reg-row .reg-original{flex:1;text-align:left}
  .reg-row .reg-discount{flex:1;text-align:right}
}

/* ───── ANNOUNCEMENT BANNER ───── */
.announcement-banner{
  background:linear-gradient(90deg,var(--tm-gold) 0%, #F5C34A 100%);
  color:var(--tm-charcoal);
  padding:.9rem 1.2rem;
  border-bottom:2px solid var(--tm-burgundy);
  margin-top:80px;
}
.announcement-inner{
  max-width:1100px;margin:0 auto;display:flex;align-items:center;gap:.9rem;
  flex-wrap:wrap;justify-content:center;text-align:center;
}
.announcement-icon{color:var(--tm-burgundy);flex-shrink:0}
.announcement-text{font-size:.95rem;line-height:1.5}
.announcement-text strong{color:var(--tm-burgundy);font-weight:700}
.announcement-highlight{font-weight:700}
.announcement-date{
  background:var(--tm-burgundy);color:var(--tm-gold);
  padding:.15rem .55rem;border-radius:3px;font-weight:700;white-space:nowrap;
}
.announcement-cta{
  display:inline-block;margin-left:.8rem;background:var(--tm-navy);color:var(--tm-white);
  padding:.35rem .9rem;border-radius:4px;font-size:.82rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.05em;transition:background .2s;
}
.announcement-cta:hover{background:var(--tm-navy-dark)}
.announcement-banner + .hero{min-height:calc(100vh - 80px)}
@media(max-width:640px){
  .announcement-text{font-size:.85rem}
  .announcement-cta{display:block;margin:.5rem auto 0}
}

/* ───── FAQ ───── */
.faq{background:var(--tm-white)}
.faq-list{display:flex;flex-direction:column;gap:.7rem;max-width:860px}
.faq-item{
  background:var(--tm-offwhite);border:1px solid var(--tm-lightgray);
  border-left:4px solid var(--tm-burgundy);border-radius:6px;
  padding:1rem 1.2rem;transition:box-shadow .2s;
}
.faq-item[open]{box-shadow:0 4px 16px rgba(0,0,0,.06);background:var(--tm-white)}
.faq-item summary{
  cursor:pointer;font-weight:700;color:var(--tm-navy);
  font-size:.98rem;list-style:none;display:flex;align-items:center;gap:.6rem;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::before{
  content:'+';display:inline-block;width:22px;height:22px;border-radius:50%;
  background:var(--tm-burgundy);color:var(--tm-gold);text-align:center;
  line-height:22px;font-weight:700;flex-shrink:0;transition:transform .2s;
}
.faq-item[open] summary::before{content:'\2013'}
.faq-item p,.faq-item ul{margin-top:.7rem;color:var(--tm-charcoal);font-size:.9rem;line-height:1.7}
.faq-item ul.faq-fees{list-style:none;padding-left:0}
.faq-item ul.faq-fees li{padding:.4rem 0;border-bottom:1px dashed var(--tm-lightgray)}
.faq-item ul.faq-fees li:last-child{border-bottom:none}
.faq-item ul.faq-fees strong{color:var(--tm-burgundy)}
[dir="rtl"] .faq-item{border-left:1px solid var(--tm-lightgray);border-right:4px solid var(--tm-burgundy)}

/* ───── LANGUAGE TOGGLE ───── */
.lang-toggle{
  background:var(--tm-navy);color:var(--tm-white);border:none;
  padding:.4rem .9rem;border-radius:4px;font-size:.8rem;font-weight:600;
  cursor:pointer;font-family:'Tajawal','Open Sans',sans-serif;
  transition:background .2s;white-space:nowrap;
}
.lang-toggle:hover{background:var(--tm-navy-dark)}

/* ───── RTL MODE ───── */
[dir="rtl"] body{font-family:'Tajawal','Open Sans',Arial,sans-serif}
[dir="rtl"] .hero h1,
[dir="rtl"] .section-title,
[dir="rtl"] .highlight-card h3,
[dir="rtl"] .info-item h4,
[dir="rtl"] .reg-header-left h3,
[dir="rtl"] .reg-subheader,
[dir="rtl"] .cta-section h2{font-family:'Tajawal',Georgia,serif}
[dir="rtl"] .hero .subtitle,
[dir="rtl"] .highlight-card p,
[dir="rtl"] .info-item p,
[dir="rtl"] .section-desc,
[dir="rtl"] .hero .particles span{font-family:'Tajawal',serif}
[dir="rtl"] .tm-divider{margin-left:auto;margin-right:0}
[dir="rtl"] .info-item{border-left:1px solid var(--tm-lightgray);border-right:4px solid var(--tm-navy)}
[dir="rtl"] .reg-form-area select{background-position:left 1rem center}
[dir="rtl"] .section-label{letter-spacing:.08em}
[dir="rtl"] .navbar-brand .tm-text{letter-spacing:0;text-transform:none}
[dir="rtl"] .btn-primary,[dir="rtl"] .btn-secondary,[dir="rtl"] .reg-submit,[dir="rtl"] .nav-links .nav-cta{letter-spacing:0}
[dir="rtl"] .hero-badge{letter-spacing:.08em}
[dir="rtl"] .reg-row .reg-label{text-transform:none}
