@import url(./iransans.css);
/* ---------- Root: Theme Variables (Dark Theme) ---------- */
:root {
  /* main-colors */
  --color-title: #fff;
  --color-title-golden: #ffd966;
  --color-text-light: #b2bad0;
  --color-golden-hover: #ffd966;
  --color-blue-hover:rgba(50, 92, 170, 0.95);
  --color-blue-light-hover:rgba(68, 103, 168, 0.23);
  --color-trans-btn:  #58a6ff;
  --color-trans-btn-hover:  #22345e;
  --color-trans-btn-hover-p:  #fcfcfa;
  --color-bg-card: rgba(45, 66, 105, 0.7);

  /* --- Background Colors --- */
  --color-bg-main: linear-gradient(135deg, #303544 0%, #353951 100%);
/* --- header Colors --- */
  --color-bg-header: rgba(25, 32, 65, 0.4); 
  --color-bg-header2: rgba(45, 58, 86, 0.9);
  --color-bg-register-btn:rgba(68, 103, 168, 0.13);
  --color-bg-basket-btn:rgba(68, 103, 168, 0.13);
  --color-bg-dropdown-btn: rgba(45, 58, 86, 0.95);
  --color-bg-dropdown-btn-profile: rgba(45, 66, 105, 0.8);
  /* --- hero Colors --- */
  --color-hero-titel:#fff;
  --color-hero-p:#b2bad0;
  --color-hero-btn-bg:#ffd966;
  --color-hero-btn-p:rgba(45, 58, 86, 0.9);
  --color-hero-btn-p-hover:#fff;
  --color-hero-btn-hover:rgba(34, 95, 225, 0.5);
  --color-hero-btn-trans-bg:rgba(255,255,255,0.07);
  --color-hero-btn-tarans-p:#f6f7f8;
  --color-hero-btn-tarans-hover:#ffffff0a;
  --color-hero-btn-tarans-hover-p:#f7f8fa;
  /* --- course Colors --- */

--color-course-titel:  #fff;
--color-course-desc:  #b8c2db;
--color-course-icon:  rgba(246, 247, 248, 0.9);
--color-course-btn:  #58a6ff;
--color-course-btn-hover:  #22345e;
--color-course-btn-hover-p:  #fcfcfa;

/* --- topuser Colors --- */

--color-top-titel:  #fff;
--color-top-bg:  rgba(255,255,255,0.035);
--color-top-bg-hover:  rgba(255,255,255,0.13);
--color-top-rank:  #fff;
--color-top-avatar:  #bed2fa;
--color-top-name:  #fff;
--color-top-coins-bg:  rgba(43,173,94,0.10);
--color-top-coins-count:  #2bad5e;
--color-top-coins-rm:  #ffd966;
--color-top-bt:  rgba(68, 103, 168, 0.08);
--color-top-bt-p:  #fffffb;
--color-top-bt-hover:  #3673ce;
/* --- testimonial Colors --- */

--color-test-titel:   #fff;
--color-test-desc:   #dbe7fa;
--color-test-card-bg:   rgba(37, 46, 69, 0.97);
--color-test-card-text:   #e7eefa;
--color-test-card-nav:   #898989;
--color-test-card-icon:   #e7eefa;
/* --- shop Colors --- */

--color-shop-titel:   #ffd966;
--color-shop-titel-icon:   #ffd966;
--color-shop-desc:    #f9fafa;
--color-shop-benefit:    #fff;
--color-bt-bg:#ffd966;
--color-bt-text:#22305e;
--color-bt-bg-hover:#22345e;
--color-bt-text-hover:#fdfdfc;
--color-shop-bg-info:rgba(37, 46, 69, 0.97);
--color-social: #fff;
--color-social-hover: #ffd966;


  --container-bg: linear-gradient(120deg, rgba(237,244,255,0.84) 70%, rgba(224,237,255,0.65) 100%);
  --container-border: 1.3px solid rgba(178, 199, 236, 0.29);
  --container-shadow: 0 8px 32px 0 rgba(164,193,241,0.20), 0 1.5px 7px rgba(131,164,220,0.13);
  --container-radius: 1.55rem;
  --container-blur: 18px;
  --container-padding: 2.1rem 1.2rem 1.25rem 1.2rem;
  --container-margin: 3rem;
  --input-bg: rgba(255, 255, 255, 0.62);
  --input-border: 1.3px solid #e0e6f1;
  --input-radius: 17px;
  --input-padding: 0 13px;
  --input-transition: border 0.2s, box-shadow 0.22s, background 0.21s;
  --input-icon-color: #b2bed4;
  --input-focus-border: 1.8px solid #4b8cff;
  --input-focus-shadow: 0 2px 18px 0 #7cc4fd22, 0 0 0 2px #c7e7ff66;
  --input-focus-bg: rgba(255,255,255,0.86);
  --input-font: inherit;
  --input-placeholder: #b5c3da;
  --input-active-icon: #3a7bdb;
  
  --btn-bg: linear-gradient(98deg, #4b7eff 67%, #2855c5 100%);
  --btn-bg-hover: linear-gradient(95deg, #5c8cff 63%, #2648ad 100%);
  --btn-bg-disabled: #d4d8e2;
  --btn-shadow: 0 3px 16px 0 rgba(54,108,245,0.14), 0 0.5px 6px rgba(54,108,245,0.09);
  --btn-shadow-hover: 0 6px 32px 0 rgba(61,115,255,0.18), 0 1px 12px rgba(54,108,245,0.11);
  --btn-radius: 17px;
  --btn-padding: 13px 0;
  --btn-font: inherit;
  --btn-gap: 13px;




  
}
body.light-theme {
  /* main-colors */
 --color-title: rgba(45, 66, 105, 0.95);
 --color-title-golden: rgba(45, 66, 105, 0.95);
 --color-text-light: rgba(45, 66, 105, 0.8);
 --color-golden-hover: rgba(50, 92, 170, 0.95);
 --color-blue-hover:rgba(50, 92, 170, 0.95);
 --color-blue-light-hover:rgba(68, 103, 168, 0.23);
 --color-trans-btn:  rgba(45, 66, 105, 0.9);
 --color-trans-btn-hover:  rgba(45, 66, 105, 0.9);
 --color-trans-btn-hover-p:  #fff;
 --color-bg-card: rgba(45, 66, 105, 0.8);
  /* --- Background Colors --- */
  --color-bg-main: linear-gradient(135deg, #F8FAFF 0%, #E1E9F8 100%);
  /* --- header Colors --- */
  --color-bg-header: rgba(45, 66, 105, 0.9);
  --color-bg-header2: rgba(45, 66, 105, 0.8);
  --color-bg-register-btn: rgba(45, 66, 105, 0.8);
  --color-bg-basket-btn:rgba(45, 66, 105, 0.8);
  --color-bg-dropdown-btn:rgba(175, 191, 207, 0.95);
  --color-bg-dropdown-btn-profile: rgba(45, 66, 105, 0.8);
  /* --- hero Colors --- */
  --color-hero-titel:rgba(45, 66, 105, 0.95);
  --color-hero-p:rgba(45, 66, 105, 0.8);
  --color-hero-btn-bg:rgba(54, 85, 144, 0.8);
  --color-hero-btn-p:#fff;
  --color-hero-btn-hover:rgba(41, 104, 221, 0.9);
  --color-hero-btn-trans-bg:rgba(255,255,255,0.07);
  --color-hero-btn-tarans-p:rgba(45, 66, 105, 0.8);
  --color-hero-btn-tarans-hover: rgba(41, 104, 221, 0.9);
  --color-hero-btn-tarans-hover-p:#fff;
  /* --- course Colors --- */

--color-course-titel:  rgba(45, 66, 105, 1);
--color-course-desc:  rgba(45, 66, 105, 0.8);
--color-course-icon:  rgba(45, 66, 105, 1);
--color-course-btn:  rgba(45, 66, 105, 0.9);
--color-course-btn-hover:  rgba(45, 66, 105, 0.9);
--color-course-btn-hover-p:  #fff;
/* --- topuser Colors --- */

--color-top-titel:  rgba(45, 66, 105, 1);
--color-top-bg:  rgba(45, 66, 105, 0.5);
--color-top-bg-hover:  rgba(45, 66, 105, 0.7);
--color-top-rank:  rgb(254, 253, 253);
--color-top-avatar:  rgba(45, 66, 105, 0.7);
--color-top-name:  rgb(252, 251, 251);
--color-top-coins-bg:  rgba(45, 66, 105, 0.4);
--color-top-coins-count:  rgb(251, 251, 251);
--color-top-coins-rm:  #ffd966;
--color-top-bt:  rgba(45, 66, 105, 0.8);
--color-top-bt-p:  rgba(248, 248, 249, 0.9);
--color-top-bt-hover:  #ffd966;
/* --- testimonial Colors --- */

--color-test-titel:   rgba(45, 66, 105, 0.95);
--color-test-desc:   rgba(45, 66, 105, 0.8);
--color-test-card-bg:   rgba(45, 66, 105, 0.95);
--color-test-card-text:   #e7eefa;
--color-test-card-nav:   rgba(45, 66, 105, 0.5);
--color-test-card-icon:   rgba(45, 66, 105, 0.8);
/* --- shop Colors --- */
--color-shop-titel:   rgba(45, 66, 105, 0.95);
--color-shop-titel-icon:   rgba(45, 66, 105, 0.95);
--color-shop-desc:    rgba(45, 66, 105, 0.8);
--color-shop-benefit:   rgba(45, 66, 105, 0.8);
--color-bt-bg:rgba(48, 75, 124, 0.9);
--color-bt-text:rgba(250, 250, 250, 0.95);
--color-bt-bg-hover:rgba(50, 92, 170, 0.95);
--color-bt-text-hover:#fdfdfc;
--color-shop-bg-info: rgba(200, 214, 250, 0.5);
--color-social: rgba(45, 66, 105, 0.8);
--color-social-hover: rgba(50, 92, 170, 0.95);
}



/* -------------------- Base Styles -------------------- */
body {
  font-family: IRANSansX;
  margin: 0;
  padding-top: 2rem;
}

/* -------------------- Responsive Container -------------------- */
.container2 {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}


/* Breakpoints: sm, md, custom, lg, xl, 2xl */
@media (min-width: 640px) { /* sm */
  .container2 { max-width: 640px; }
}
@media (min-width: 768px) { /* md */
  .container2 {
    max-width: 768px;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (min-width: 850px) { /* md custom */
  .container2 {
    max-width: 850px;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (min-width: 950px) { /* md custom */
  .container2 {
    max-width: 950px;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (min-width: 1050px) { /* lg */
  .container2 {
    max-width: 1050px;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (min-width: 1280px) { /* xl */
  .container2 { max-width: 1280px; }
}
@media (min-width: 1536px) { /* 2xl */
  .container2 { max-width: 1280px; }
}

/* -------------------- Main Background -------------------- */
.custom-bg {
  background: var(--color-bg-main);
  min-height: 100vh;
}

/* ------------------- Header Styles ------------------- */
.header {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-bg-header);
  border-radius: 1.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.5rem 2rem;
  
  height: 90px;
  z-index: 3000;
  transition: padding 0.2s, height 0.2s;
  margin-bottom: 30px;
}

.logo {
  width: 70px;
  height: 70px;
}


.mobile-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mobile_menu a {
  color: #fff;
  font-size: 2rem;
}

.mobile_menu a:hover {
  color: #ffd966;
}

/* ==================== Sidebar Popup ==================== */
.sidebar_popup {
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: -400px; /* پیش‌فرض: بیرون صفحه باشه */
  width: 280px;
  max-width: 90vw;
  background: rgba(34, 40, 66, 0.55);
  box-shadow: -8px 0 40px 0 rgba(68, 103, 168, 0.19);
  border-radius: 24px 0 0 24px;
  padding: 1rem;
  z-index: 1200;
  transition: right 0.35s cubic-bezier(.45, .85, .37, 1.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sidebar_popup.open {
  right: 0;
}

/* ==================== Sidebar Content ==================== */
.sidebar_content {
  flex: 1;
  overflow-y: auto;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  padding-top: 0.5rem;
}

/* ==================== Sidebar Logo Row ==================== */
.sidebar_logo_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sidebar_logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar_logo img {
  width: 60px;
  height: 60px;
  margin-right: 10px;
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(68, 103, 168, 0.18);
  background: #383838;
  object-fit: cover;
}

/* ==================== Sidebar Close Button ==================== */
.sidebar_close {
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.18s, background 0.14s;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar_close:hover,
.sidebar_close:focus {
  color: #ffd966;
  background: rgba(68, 103, 168, 0.08);
}

/* ==================== Sidebar Search Box ==================== */
.sidebar_search {
  position: relative;
  margin: 0 0.6rem 0.7rem 0.6rem;
}

.sidebar_search input {
  width: 100%;
  padding: 0.6rem 2.2rem 0.6rem 0.8rem;
  border-radius: 1rem;
  border: none;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 1rem;
  outline: none;
  box-shadow: 0 2px 10px rgba(68, 103, 168, 0.07);
}

.sidebar_search .search_icon {
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: #a5b4cc;
  font-size: 1.25rem;
  pointer-events: none;
}

/* ==================== Sidebar Menu List ==================== */
.sidebar_menu_list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0 0.1rem;
  list-style: none;
}

/* ==================== Sidebar Menu Items ==================== */
.sidebar_menu_list li a,
.sidebar_dropbtn {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 1rem;
  padding: 0.7rem 0.8rem;
  transition: background 0.16s, color 0.16s;
  display: block;
}

.sidebar_menu_list li a:hover,
.sidebar_dropbtn:hover,
.sidebar_dropbtn:focus {
  background: rgba(68, 103, 168, 0.13);
  color: #ffd966;
}

/* ==================== Sidebar Dropdown ==================== */
.sidebar_dropdown {
  position: relative;
}

.sidebar_dropbtn {
  width: 100%;
  text-align: right;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.sidebar_dropdown_icon {
  font-size: 0.8em;
  margin-right: 0.6em;
  transition: transform 0.2s;
}

/* ==================== Sidebar Dropdown Content ==================== */
.sidebar_dropdown_content {
  display: none;
  flex-direction: column;
  gap: 0.1rem;
  margin-top: 0.1rem;
  margin-right: 1.2rem;
  padding-right: 0.7rem;
  border-right: 2px solid rgba(68, 103, 168, 0.11);
  animation: fadeInDropdown 0.32s;
}

@keyframes fadeInDropdown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.sidebar_dropdown.open .sidebar_dropdown_content {
  display: flex;
}

.sidebar_dropdown.open .sidebar_dropdown_icon {
  transform: rotate(-180deg);
}

/* ==================== Sidebar Backdrop ==================== */
.sidebar_backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 36, 61, 0.33);
  z-index: 1190;
  transition: opacity 0.25s;
}

.sidebar_popup.open ~ .sidebar_backdrop {
  display: block;
  opacity: 1;
}


.register_mobile {
  position: relative;
  display: inline-block;
  z-index: 20000;
}

/* ==================== Profile Button ==================== */
.profile_btn {
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px 0 rgba(68, 103, 168, 0.11);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.2s;
}

/* Profile button hover/focus */
.profile_btn:focus,
.profile_btn:hover i {
  color: #ffd966;
}

.profile_btn i {
  font-size: 30px;
  color: #f7fafc;
  transition: color 0.13s;
}

/* زرد شدن آدمک موقع باز شدن منو */
.profile_dropdown.open .profile_btn i {
  color: #ffd966;
}



/* ==================== Profile Dropdown Menu ==================== */
.profile_dropdown_menu {
  display: none;
  position: absolute;
  top: 110%;
  left: 70%;
  transform: translateX(-50%);
  min-width: 140px;
  padding: 0.7rem 0;
  border-radius: 1.1rem;
  background: var(--color-bg-dropdown-btn-profile);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 34px rgba(44,56,97,0.19), 0 2px 8px rgba(68,103,168,0.08);
  border: 1.3px solid rgba(68, 103, 168, 0.12);
  z-index: 20000;
  animation: fadeInProfileMenu 0.23s cubic-bezier(.45,.85,.47,1.13);
}

/* Fade In Animation */
@keyframes fadeInProfileMenu {
  from { opacity: 0; transform: translateX(-50%) translateY(-14px) scale(0.97); }
  to   { opacity: 1; transform: translateX(-50%) scale(1); }
}

.profile_dropdown.open .profile_dropdown_menu {
  display: block;
}

/* ==================== Menu Items ==================== */
.profile_dropdown_menu li {
  list-style: none;
}

.profile_dropdown_menu li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.65rem 1rem 0.65rem 0.8rem;
  color: #fff;
  text-decoration: none;
  font-size: .9rem;
  border-radius: 0.8rem;
  margin: 0 0.12rem;
  gap: 0.47em;
  transition: background 0.13s, color 0.13s, box-shadow 0.13s;
  position: relative;
  font-family: inherit;
}

/* Menu item icon styling */
.profile_dropdown_menu li a i {
  font-size: 1.14em;
  vertical-align: middle;
  color: #ffd966;
  margin-left: 0.55em;
  transition: color 0.18s;
}

/* Hover and Focus Effects for Menu Items */
.profile_dropdown_menu li a:hover,
.profile_dropdown_menu li a:focus {
  background: rgba(68, 103, 168, 0.23);
  color: #ffd966;
  box-shadow: 0 2px 8px rgba(68,103,168,0.09);
  outline: none;
}

.profile_dropdown_menu li a:hover i,
.profile_dropdown_menu li a:focus i {
  color: #fff;
}

/* ==================== Dropdown and Menu Z-Index ==================== */
.profile_dropdown_menu, .dropdown-content {
  z-index: 4000;
}


/* ==================== Button Container ==================== */
.register_btns {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.3rem;
  margin-left: 20px;
}

/* ==================== Mobile View - Only Mobile Button ==================== */


.register_mobile {
  display: flex;
}


/* ==================== Hero Section ==================== */
.hero {
   max-height: 800px;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
}

/* ==================== Hero Flex (Flexbox Layout) ==================== */
.hero-flex {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 1450px;
  margin: 0 auto;
  padding: 20px 3vw 32px 3vw;
  gap: 70px;
}

/* ==================== Hero Image Wrap ==================== */
.hero-img-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-basis: 40%;
}

.hero-img {
  width: 420px;
  max-width: 90vw;
  border-radius: 2.5em 2.5em 64px 64px / 2.5em 2.5em 44px 44px;
  padding-right: 50px;
  object-fit: contain;
  margin: 0 auto;
}

/* ==================== Hero Content (Text Area) ==================== */
.hero-content {
  display: flex;
  flex-direction: column;
  flex-basis: 60%;
  gap: 30px;
  align-items: flex-start;
  max-width: 540px;
  padding-top: 70px;
  padding-right: 120px;
}

/* ==================== Hero Title ==================== */
.hero-title {
  font-size: 2.7rem;
  font-weight: 900;
  color: var(--color-hero-titel);
  line-height: 1.8;
  margin-bottom: 6px;
}

/* ==================== Hero Description ==================== */
.hero-desc {
  color: var(--color-hero-p);
  font-size: 1.13rem;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.8;
}

/* ==================== Hero CTA (Call to Action) ==================== */
.hero-cta {
  display: flex;
  gap: 15px;
  margin-bottom: 18px;
  
}

/* ==================== Buttons Styling ==================== */
.btn {
  border: none;
  border-radius: 1.5em;
  font-size: 1rem;
  font-weight: 700;
  padding: 1em 1.5em;
  cursor: pointer;
  transition: background .16s, color .13s;
  outline: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn1 {
  border: none;
  border-radius: 1.5em;
  font-size: 1rem;
  font-weight: 700;
  padding: 1em 2em;
  cursor: pointer;
  transition: background .16s, color .13s;
  outline: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-primary {
  background: var(--color-hero-btn-bg);
  color: var(--color-hero-btn-p);
}

.btn-primary:hover {
  background: var(--color-hero-btn-hover);
  color: var(--color-hero-btn-p-hover)
}

.btn-secondary {
  background: var(--color-hero-btn-trans-bg);
  color: var(--color-hero-btn-tarans-p);
  border: 2px solid #4f6baa;
}

.btn-secondary:hover {
  background: var(--color-hero-btn-tarans-hover);
  color: var(--color-hero-btn-tarans-hover-p);
  border-color: rgba(253, 254, 254, 0.9);
}

/* ==================== Responsive Design ==================== */

/* Tablet and Mobile (max-width: 1280px) */
@media (max-width: 1280px) {
  .hero-flex {
    gap: 10px;
  }
  .hero-content {
    padding-right: 50px;
  }
}
@media (max-width: 1050px) {
 .hero-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.8;
    margin-bottom: 6px;
  }
  .hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
}

/* Tablet and Mobile (max-width: 950px) */
@media (max-width: 950px) {
  .hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
  }
  .hero-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    padding: 5px 3vw 5px 3vw;
    gap: 20px;
  }
  .hero-img-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-basis: 50%;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    flex-basis: 50%;
    text-align: center;
    gap: 22px;
    align-items: center;
    max-width: 540px;
    padding-top: 80px;
    padding-right: 0px;
    padding-bottom: 50px;
  }
  .hero-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.8;
    margin-bottom: 6px;
  }
 
}

/* Mobile View (max-width: 860px) */
@media (max-width: 860px) {
  .hero-img-wrap {
    display: none !important;
  }

  .hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: auto;
    padding-top: 30px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    text-align: center;
    gap: 22px;
    align-items: center;
    max-width: 540px;
    padding-top: 10px;
    padding-right: 0px;
    padding-bottom: 10px;
  }

  .hero-title {
    font-size: 2.7rem;
    font-weight: 900;
    line-height: 1.8;
    margin-bottom: 6px;
  }


}

/* Mobile View (max-width: 550px) */
@media (max-width: 550px) {
  .hero-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.8;
    margin-bottom: 10px;
  }
  .hero-cta {
  
  margin-top: 10px;
}
}


/* ===================== Fade Blur Animation ===================== */
.fade-blur {
  opacity: 0;
  filter: blur(8px);
  transition: opacity 2s cubic-bezier(.36,1.3,.48,1), filter 1s cubic-bezier(.36,1.3,.48,1);
  will-change: opacity, filter;
}

.fade-blur.active {
  opacity: 1;
  filter: blur(0);
}


.topbar {
 
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 0 0;
  height: 125px; /* دقیقا شبیه عکس، قابل تنظیم */
  width: 100%;
  box-sizing: border-box;
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-right: 40px;
}

.topbar-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  
  border-radius: 12px;
  width: 56px;
  height: 56px;
  font-size: 2.1rem;
  color: var(--color-social);
  
  transition: background 0.19s, color 0.16s, box-shadow 0.13s;
}
.topbar-socials a:hover {
 
  color: var(--color-social-hover);
 
}

.topbar-divider {
  flex: 1;
  height: 2px;
  background: #c6c7c7;
  margin: 0 20px;
  opacity: 0.28;
}

.topbar-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 56px;
}

.roocket-logo-img {
  height: 100px;
  width: 180px;
  object-fit: contain;
  display: inline-block;
}


@media (max-width: 900px) {
  .topbar {
    
    height: auto;
    padding: 24px 0 0 0;
  }
  .topbar-socials { margin-right: 0; margin-bottom: 10px;}
  .topbar-logo { margin-left: 0; margin-bottom: 10px;}
  .topbar-divider { margin: 12px 0; width: 92vw;}
  .roocket-logo-img {
  height: 75px;
  width: 150px;
  
}
.topbar-socials a {
 
  
 
  width: 40px;
  height: 40px;
  font-size: 1.8rem;
  
}
}

.rm-footer {
  color: var(--color-social);
  font-family: inherit;
  direction: rtl;
}
.rm-footer-main {
  display: flex;
  gap: 32px;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0em 3vw 1em 3vw;
  flex-wrap: wrap;
  justify-content: space-around;
}
.rm-footer-col {
  flex: 1 1 170px;
  min-width: 180px;
  max-width: 285px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rm-footer-col.about {
  min-width: 320px;
  max-width: 430px;
  flex: 2 1 320px;
  font-size: 14px;
  text-align: justify;
}
.rm-footer-col.contact {
  min-width: 230px;
  max-width: 300px;
}



.rm-footer-title {
  font-weight: bold;
  font-size: 14px;
  margin: 1.2em 0 .8em 0;
  color: var(--color-title);
  display: flex;
  justify-content: start;
  flex-direction: row-reverse;
  align-items: center;
  gap: 6px;
  
}
.rm-dot {
  width: 11px; height: 11px;
  background: #5a88f7;
  border-radius: 50%;
  display: inline-block;
  margin-right: 3px;
}
.rm-footer-about {
  color: var(--color-course-desc);
  font-size: 1.05em;
  font-weight: 400;
  line-height: 2;
  margin: 0 0 8px 0;
}



.rm-footer-list {
  list-style: none;
  margin: 0; padding: 0;
}
.rm-footer-list li {
  margin-bottom: 5px;
}
.rm-footer-list a {
  color: var(--color-course-desc);
  text-decoration: none;
  font-size: 1em;
  transition: color 0.15s;
  position: relative;
  padding-right: 15px;
}
.rm-footer-list a::before {
  content: "•";
  color: #49c7fd;
  position: absolute;
  right: 0;
  font-size: 1.1em;
}
.rm-footer-list a:hover { color: #ffd966; }

.rm-footer-contact-list {
  list-style: none;
  margin: 0 0 10px 0; padding: 0;
  font-size: 1em;
}
.rm-footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--color-course-desc);
  margin-bottom: 6px;
}
.rm-footer-contact-list i { font-size: 1.25em; color: var(--color-course-desc); }




.rm-footer-badges {
  display: flex;
  align-items: center;
  
  margin-top: 2px;
}
.rm-badge {
  height: 100px;
  border-radius: 9px;
  
  padding: 2px;
  box-shadow: 0 2px 14px #0001;
}


.rm-footer-bottom {
  border-top: 1px solid #1a3655;
  color: var(--color-course-desc);
  text-align: center;
  font-size: 0.8em;
  font-weight: 500;
  margin-top: 26px;
  padding: 20px 6px 20px 6px;
}

@media (max-width: 1200px) {
  .rm-footer-main { flex-wrap: wrap; gap: 18px; }
  .rm-footer-col { min-width: 130px; max-width: 100%; }
}
@media (max-width: 900px) {
  .rm-footer-main { flex-direction: column; gap: 38px; align-items: stretch;}
  .rm-footer-col, .rm-footer-col.about { max-width: 100%; min-width: 0; }
  .rm-footer-socials { margin-top: 18px;}
}
/* === Toggle Mobile Container === */
.theme-toggle--mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto 5px 40px;
}

/* === Switch Button Glass Background === */
#themeSwitcherMobile {
  position: relative;
  width: 80px;
  height: 38px;
  border: 2px solid rgba(4, 35, 159, 0.32);
  border-radius: 999px;
  padding: 0;
  background: rgba(255,255,255,0.32);
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  box-shadow:
    0 4px 38px 0 #a3bffa44,
    0 0 0 2px #dbeafe77 inset,
    0 0 14px 2px #fff8;
  overflow: visible;
  cursor: pointer;
  transition:
    background 0.23s cubic-bezier(.82,.09,.17,1),
    box-shadow 0.31s cubic-bezier(.7,-0.4,.58,1.36);
}

/* === Switch Circle (default: dark) === */
#themeSwitcherMobile::before {
  content: "";
  position: absolute;
  top: 2px;
  left:2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff 63%, #e4ecff 100%);
  box-shadow:
    0 2px 32px 0 #b1d7ff88,
    0 0 0 3px #fff9 inset,
    0 2px 36px 6px #c3e4ff77,
    0 0 46px 11px #fff8 inset;
  z-index: 3;
  transition:
    left 0.47s cubic-bezier(.82,.09,.17,1),
    background 0.26s cubic-bezier(.64,-0.08,.45,1.17),
    box-shadow 0.37s cubic-bezier(.62,.01,.4,1.17),
    transform 0.23s cubic-bezier(.61,.04,.28,1.12);
  animation: switchElastic 0.62s cubic-bezier(.2,1.4,.53,1.02) 1;
}

/* === Switch Circle (light mode) === */
body.light-theme #themeSwitcherMobile::before {
  left: 44px;
  background: linear-gradient(120deg, #ffe6a5 0%, #ffd966 100%);
  box-shadow:
    0 4px 44px 2px #ffd96677,
    0 0 0 3px #fff7 inset,
    0 0 50px 15px #ffe39855;
  animation: switchElastic 0.62s cubic-bezier(.2,1.4,.53,1.02) 1;
}

/* === Elastic Animation (Bounce) === */
@keyframes switchElastic {
  0%   { transform: scale(1) translateY(0);}
  28%  { transform: scale(1.22,0.83) translateY(3.5px);}
  42%  { transform: scale(0.90,1.15) translateY(-4.5px);}
  61%  { transform: scale(1.08,0.92) translateY(2.3px);}
  80%  { transform: scale(0.98,1.01) translateY(-1.6px);}
  100% { transform: scale(1) translateY(0);}
}

/* === Pressed Shadow on Click === */
#themeSwitcherMobile:active::before {
  box-shadow: 0 2px 54px #a3d7ffcc;
}

/* === Shine Effect === */
#themeSwitcherMobile .shine {
  content: "";
  pointer-events: none;
  position: absolute;
  left: 14px;
  top: 4.5px;
  width: 54px;
  height: 16px;
  border-radius: 11px;
  background: linear-gradient(90deg, #fff9 15%, #fff6 60%, #fff3 100%);
  opacity: 0.42;
  filter: blur(3.6px);
  animation: shineMove 2.7s linear infinite;
  z-index: 2;
}

/* === Shine Animation === */
@keyframes shineMove {
  0%   { left: 9px;  opacity: 0.34;}
  50%  { left: 30px; opacity: 0.51;}
  100% { left: 48px; opacity: 0.32;}
}

/* === Glow Effect (default: dark) === */
#themeSwitcherMobile .glow {
  position: absolute;
  top: 7.5px;
  left: 10.5px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 4;
  opacity: 0.5;
  box-shadow:
    0 0 10px 5px #ffe06655,
    0 0 22px 7px #ffd90011;
  transition: box-shadow 0.38s cubic-bezier(.55,0,.36,1),
              opacity 0.35s,
              left 0.47s cubic-bezier(.82,.09,.17,1);
}

/* === Glow Effect (light mode) === */
body.light-theme #themeSwitcherMobile .glow {
  left: 47.5px;
  box-shadow:
    0 0 12px 7px #ffe06688,
    0 0 30px 12px #ffd96622;
}




.join-card {
      background: rgba(224, 239, 255, 0.88);
      backdrop-filter: blur(8px);
      border-radius: 2rem;
      max-width: 380px;
      width: 98vw;
      padding: 32px 24px 26px 24px;
      border: 1.5px solid #b2d2fa;
      box-shadow: 0 10px 38px 0 rgba(59, 130, 246, 0.10);
      margin: 0 auto;
      text-align: center;
    }
    .join-card img {
      width: 66px; height: 66px;
      border-radius: 50%;
      margin: 24px auto 16px auto;
      display: block;
      background: #64748b;
      border: 2px solid #fff7;
      box-shadow: 0 1px 8px 0 rgba(66,66,130,0.06);
      object-fit: cover;
    }
    .join-card h2 {
      font-size: 1.6rem;
      color: #23476f;
      font-weight: bold;
      margin-bottom: 18px;
      margin-top: 12px;
      letter-spacing: -0.5px;
    }
    .join-card .desc {
      color: #557ca5;
      font-size: 1rem;
      margin-bottom: 36px;
      line-height: 2.1;
    }
    .tg-link {
      display: block;
      color: #1962bc;
      text-decoration: underline;
      word-break: break-all;
      margin-bottom: 22px;
      font-size: 0.97rem;
      font-weight: 500;
      user-select: all;
      direction: ltr;
      text-align: left;
      background: #f6fafd;
      padding: 7px 10px;
      border-radius: 0.9em;
      border: 1px solid #b3d7f7;
      margin-right: auto;
      margin-left: auto;
      width: fit-content;
      max-width: 98%;
      transition: background .2s;
    }
    .tg-link:hover {
      background: #e2edfd;
      color: #205bb9;
    }
    .join-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background: linear-gradient(90deg, #3793ff 30%, #1962bc 100%);
      color: #fff;
      padding: 14px 0 13px 0;
      border-radius: 1.3em;
      font-size: 1.1rem;
      font-weight: bold;
      text-decoration: none;
      margin-bottom: 10px;
      margin-top: 0;
      box-shadow: 0 4px 24px 0 #328ef813;
      transition: all 0.18s cubic-bezier(.4,.2,.3,1);
    }
    .join-btn i {
      font-size: 1.45em;
      margin-left: 5px;
      margin-right: -3px;
    }
    .join-btn:hover {
      background: linear-gradient(90deg, #2268ae 0%, #3793ff 100%);
      filter: brightness(1.11);
      box-shadow: 0 6px 18px 0 #4dc1ff14;
      transform: translateY(-3px) scale(1.035);
    }
    .join-card .hint {
      font-size: 0.95rem;
      color: #7b96b1;
      margin-top: 18px;
      letter-spacing: -0.1px;
    }
    @media (max-width: 600px) {
      .join-card { padding: 18px 6vw 20px 6vw; }
      .join-card img { width: 56px; height: 56px; }
      .join-card h2 { font-size: 1.18rem; }
      .join-btn { font-size: 0.98rem; padding: 13px 0; }
      .tg-link { font-size: 0.89rem; }
    }