
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
}

body {
    background: #0b1d3a;
    color: #fff;
}


.header {
  position: fixed;
  top: 0;
  left: 0;
z-index: 1000;
  width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 30px;
    background: #000c1f;
}

.logo {
    font-size: 20px;
    color: #00e0ff;
}

.nav a {
    margin: 0 10px;
    color: #fff;
    text-decoration: none;
}

.icons {
    display: flex;
    gap: 10px;
}

.icon {
    cursor: pointer;
}

.menu-btn {
    display: none;
    background: #00e0ff;
    border: none;
    color: #000;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
}
/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #000c1f;
}

.mobile-menu a {
    padding: 15px;
    border-bottom: 1px solid #222;
    color: #fff;
    text-decoration: none;
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    color: #00e0ff;
    margin-bottom: 20px;
    margin-top: 20px;
}

.btn {
    padding: 10px 25px;
    border: none;
    background-color: #00e0ff;
    border-radius: 20px;
    cursor: pointer;
}
.btn {
  background-color: #00bcd4;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.btn:hover {
  background-color: #00e5ff;
  box-shadow: 0 0 10px #00e5ff,
              0 0 20px #00e5ff,
              0 0 40px #00e5ff;
  transform: scale(1.05);
}
.hero2{
  margin-bottom: -60px ;
}

/* Courses */
.courses {
    padding: 40px 20px;
}

.courses h2 {
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0,242,255,0.6);
}

.name-web {
  color: #00f;
  font-weight: bold;
  font-size: 2rem;
  animation: blueGlow 2s infinite ease-in-out;
  transition: transform 0.3s ease;
}
.nav a{
  color:white;
  text-decoration: none;
  transition: 0.3 ease;
}
.nav a:hover{
  color: #00e5ff;
}
.course-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.course-card {
    background: #001a3a;
    padding: 20px;
    border-radius: 10px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background: #000c1f;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .menu-btn {
        display: block;
    }
}
/* .body-container{
    display: flex;
    width: 100%;
    margin-bottom: 40px;
    padding: 10px 10px;
}
.box1{
    width: 24.5%;
    height: 400px;
    background-color: #000;
     margin-left:1%; 
}
.box2{
    width: 24%;
    height: 400px;
    background-color: red;
        margin-left: 1%;
}
.box3{
    width: 24.5%;
    height: 400px;
    background-color:blue;
        margin-left: 1%;
}
.box4{
    width: 24.5%;
    height: 400px;
    background-color: white;
        margin-left: 1%;
}
.image1{
    width:100%;
    height: 200px;
}
@media (max-width:768px){
    .body-container{

         flex-direction: column;
    }
      .box1,.box2,.box3,.box4{
     width: 100%;
     height: 400px;
     margin-bottom: 10px;
      }  

} */
 
/* From Uiverse.io by Bodyhc */ 
.cards  {
  display: flex;
  flex-direction: row;
  gap: 15px;
  flex-wrap: wrap;
}

.cards .red {
  background-color: #002b5f;
}

.cards .white {
  background-color: #002b5f;
  color: black;
}

.cards .blue {
  background-color: #3b22c5;
}

.cards .card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  text-align: center;
  height: 450px;
  width: 24.1%;
  margin-bottom: 20px;
  border-radius: 10px;
  color: rgb(1, 1, 1);
  cursor: pointer;
  transition: 400ms;
  flex-wrap: nowrap;
}

.cards .card p.tip {
  font-size: 1em;
  font-weight: 700;
}

.cards .card p.second-text {
  font-size: .7em;
}

.cards .card:hover {
  transform: scale(1.1, 1.1);
} 
.cards .card {
  transition: 0.4s;
}

/* کارت هاور شده بزرگ بشه */
.cards .card:hover {
  transform: scale(1.1);
  z-index: 2;
}

/* فقط وقتی یک کارت هاور شده، بقیه تار بشن */
.cards:has(.card:hover) .card:not(:hover) {
  filter: blur(10px);
  transform: scale(0.9);
}
@media(max-width:768px){
    .cards{
    flex-direction: column;
    }
.cards .blue,.cards .white,.cards .red,.cards .b{
    width: 100%;
    height: 450px;
    margin-top: 1px;
    margin-bottom: 1px;
}
}
.cards .b{
  background-color: #002b5f;
}
.img-box1{
    display: block;
    width: 100%;
    height: 14rem;
    align-items: start;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.button2 {
  --green: #1BFD9C;
  font-size: 15px;
  letter-spacing: 0.06em;
  position: relative;
  font-family: inherit;
  border-radius: 3em;
  overflow: hidden;
  transition: all 0.3s;
  line-height: 1.4em;
  border: 2px solid var(--green);
  background: linear-gradient(to right, rgba(27, 253, 156, 0.1) 1%, transparent 40%,transparent 60% , rgba(27, 253, 156, 0.1) 100%);
  color: var(--green);
  box-shadow: inset 0 0 10px rgba(27, 253, 156, 0.4), 0 0 9px 3px rgba(27, 253, 156, 0.1);
  width:100px;
  height:40px;
  margin-top: 10px;
  margin-left: 200px;
  margin-right: 50px;
}

.button2:hover {
  color: #82ffc9;
  box-shadow: inset 0 0 10px rgba(27, 253, 156, 0.6), 0 0 9px 3px rgba(27, 253, 156, 0.2);
}

.button2:before {
  content: "";
  position: absolute;
  left: -4em;
  width: 4em;
  height: 100%;
  top: 0;
  transition: transform .4s ease-in-out;
  background: linear-gradient(to right, transparent 1%, rgba(27, 253, 156, 0.1) 40%,rgba(27, 253, 156, 0.1) 60% , transparent 100%);
}

.button2:hover:before {
  transform: translateX(15em);
}
.name-box1{
  color: #f8f8f8;
  margin-left:200px ;
  margin-top: 20px;
}
.time-icon-box1{
  color: #555;
  margin-left: 10px;
  height: 20px;
}
.time-box1{
  color: #f8f8f8;
}
.all-icon-box1{
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  border-bottom: 2px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.user-icon {
  color: #555;
  width: 32px;
  height: 20px;
  margin-left: 10px;
}
.star-icon {
  color: gold;
  width: 32px;
  height: 20px;
}
.name-icon-user1{
  color: #f8f8f8;
}
.emtiyaz{
  color: #f8f8f8;
}
.bazdid1{
  color: #ccc;
  margin-left: 50px;
}
.price1{
  color:#00e0ff;
}
.footer1{
  display: flex;
  align-items: center;
  justify-content: center;
}
.vahed{
  color: #ccc;
}




@media (min-width: 1024px) and (max-width: 1163px) {

    
    .hero h1 {
        font-size: 2rem;
        text-align: center;
    }
    .btn {
        font-size: 15px;
        padding: 10px 22px;
        margin-left: auto;
        margin-right: auto;
    }

 
    .cards {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .cards .card {
        width: 32%;
        height: 450px;
        margin-bottom: 20px;
    }
    .img-box1 {
        height: 14rem;
    }
    .button2, .name-box1 {
        margin-left: auto;
        margin-right: auto;
    }

   
    .course-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }


    .search-bar input {
        width: 65%;
        font-size: 17px;
    }
}
.footer1 {
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 10px;
    margin-top: 5px; 
    margin-bottom: 10px; 
}
.footer1 {
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 10px;
    margin-top: 5px; 
    margin-bottom: 5px; 
}

@media (max-height: 700px) and (min-width: 900px) {

  .cards .card {
    height: auto;           
    padding-bottom: 20px;   
  }

  .img-box1 {
    height: 10rem;          
  }

  .all-icon-box1 {
    margin-top: 12px;
    margin-bottom: 12px;
  }

  .footer1 {
    margin-top: 10px;       
    margin-bottom: 10px;
  }

  .button2 {
    margin-top: 8px;
  }
}

@media (max-height: 900px) and (min-width: 1200px) {

  .cards .card {
    height: auto;
    padding-bottom: 24px;
  }

  .img-box1 {
    height: 11rem;
  }

  .all-icon-box1 {
    margin-top: 14px;
    margin-bottom: 14px;
  }

  .footer1 {
    margin-top: 12px;
    margin-bottom: 12px;
  }

  .button2 {
    margin-top: 10px;
  }
}


.cards .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}


.cards .card > *:not(.footer1) {
  flex-shrink: 0;
}


.cards .card::before {
  content: "";
  flex-grow: 1;
}


.footer1 {
  margin-top: 4px;
  margin-bottom: 4px;
  justify-content: center;
}


.course-title,
.name-box1 {
  min-height: 48px;       
  display: flex;
  align-items: center;    
  justify-content: center;
  text-align: center;
  line-height: 1.3;
}


.course-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {

  .footer1 {
    margin-top: 1px;     
    margin-bottom: 4px;  
  }

}

@media (max-width: 768px) {

  .cards .card::before {
    flex-grow: 0.3; 
  }

  .cards .card {
    padding-bottom: 10px; 
  }

}
@media (min-width: 1025px) {
  .all-icon-box1 {
  
    border-bottom: 2px solid #ccc; /* خط جداکننده همان خط قبلی */
  }
}
/* iPad Air */
@media (width: 820px) {
  .footer1 {
    margin-top: -8px;
  }
}

/* iPad Pro 11 */
@media (width: 834px) {
  .footer1 {
    margin-top: -8px;
  }
}

/* Surface Pro 7 */
@media (width: 912px) {
  .footer1 {
    margin-top: -8px;
  }
}

/* Asus ZenBook Fold */
@media (width: 1280px) {
  .footer1 {
    margin-top: -8px;
  }
}
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 50px auto;
  background: #001a3a;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,224,255,0.4);
}

.signup-form input {
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 16px;
}

.signup-form input:focus {
  box-shadow: 0 0 10px #00e0ff;
}

.signup-form button {
  background: #00e0ff;
  color: #000;
  font-weight: bold;
}

.signup-modal{
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    z-index: 9999;
    animation: fadeIn .3s ease;
}

/* باکس شیشه‌ای */
.signup-box{
    width: 360px;
    padding: 30px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 0 25px rgba(0,255,255,0.25);
    animation: popup .35s ease;
    text-align: center;
}

/* عنوان */
.signup-title{
    color: #00e0ff;
    font-size: 26px;
    margin-bottom: 20px;
}

/* گروه ورودی */
.input-group{
    position: relative;
    margin: 20px 0;
}

.input-group input{
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid #00e0ff;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    outline: none;
}

.input-group label{
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    color: #aaa;
    transition: .3s;
    pointer-events: none;
}

/* افکت شناور لیبل */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label{
    top: -8px;
    right: 10px;
    background: #0d0d0d;
    padding: 0 6px;
    font-size: 12px;
    color: #00e0ff;
}

/* دکمه ثبت نام */
.signup-btn{
    width: 100%;
    padding: 12px;
    background: #00e0ff;
    border: none;
    border-radius: 10px;
    color: #000;
    font-size: 18px;
    cursor: pointer;
    margin-top: 10px;
    transition: .3s;
}

.signup-btn:hover{
    background: #00bcd4;
}

/* دکمه بازگشت */
.close-btn{
    width: 100%;
    padding: 12px;
    background: #ff4d4d;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    margin-top: 10px;
    transition: .3s;
}

.close-btn:hover{
    background: #ff2a2a;
}

/* انیمیشن‌ها */
@keyframes popup{
    from{ transform: scale(.7); opacity: 0; }
    to{ transform: scale(1); opacity: 1; }
}

@keyframes fadeIn{
    from{ opacity: 0; }
    to{ opacity: 1; }
}
.signup-box input:focus {
  border-color: #00e0ff;
  box-shadow: 0 0 8px #00e0ff;
  outline: none;
}

#submitSignup:hover {
  background: #00ffff;
  box-shadow: 0 0 12px #00ffff;
  transform: scale(1.03);
  transition: all 0.3s ease;
}
.signup-modal {
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

.signup-box {
  background: linear-gradient(135deg, #1a1a1a, #222, #1a1a1a);
}
.signup-box input {
  background-image: url('data:image/svg+xml;base64,...'); /* آیکون ساده مثل user یا mail */
  background-repeat: no-repeat;
  background-position: 10px center;
  padding-left: 36px;
}
.signup-box h2 {
  font-family: 'Vazir', sans-serif;
  font-size: 22px;
  color: #00e0ff;
  animation: typing 2s steps(20) 1;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #00e0ff;
}

@keyframes typing {
  from { width: 0 }
  to   { width: 100% }
}
.signup-box {
  width: 350px;
  background: #1a1a1a;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,255,255,0.3);
  color: white;
}

/* باکس قشنگ برای فیلدها */
.signup-box input {
  width: 90%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: 2px solid #00e0ff;   /* بورد نئونی */
  background: transparent;
  color: white;
  transition: 0.3s;
}

.signup-box input:focus {
  border-color: #00ffff;
  box-shadow: 0 0 8px #00ffff;
  outline: none;
}

/* دکمه ثبت نام بزرگ و بالای بازگشت */
#submitSignup {
  width: 95%;
  padding: 14px;
  margin-top: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  background: #00e0ff;
  color: white;
  transition: 0.3s;
}

#submitSignup:hover {
  background: #00ffff;
  box-shadow: 0 0 12px #00ffff;
  transform: scale(1.05);
}

/* دکمه بازگشت کوچکتر و پایین‌تر */
#closeSignup {
  width: 80%;
  padding: 10px;
  margin-top: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  background: #ff4d4d;
  color: white;
  transition: 0.3s;
}


#closeSignup:hover {
  background: #ff6666;
  transform: scale(1.03);
}
.shop-page {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a, #111, #0d0d0d);
  display: none; /* اول مخفی */
  justify-content: center;
  align-items: center;
  z-index: 99999;
  text-align: center;
}

.shop-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.2);
  width: 90%;
  max-width: 450px;
  backdrop-filter: blur(10px);
  animation: fadeIn 0.6s ease;
}

.shop-box h1 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #00e0ff;
  text-shadow: 0 0 10px #00e0ff;
}

.shop-box p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #ccc;
}

.back-btn {
  padding: 12px 25px;
  font-size: 18px;
  border: none;
  border-radius: 10px;
  background: #00e0ff;
  color: black;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
  font-weight: bold;
}

.back-btn:hover {
  background: #00ffff;
  box-shadow: 0 0 12px #00ffff;
  transform: scale(1.05);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* واکنش‌گرایی */
@media (max-width: 480px) {
  .shop-box { padding: 30px; }
  .shop-box h1 { font-size: 22px; }
  .shop-box p { font-size: 16px; }
}
/* Roadmap */
.roadmap {
  padding:  20px;
  text-align: center;
}

.roadmap h2 {
  margin-bottom: 30px;
  color: #00e0ff;
}

.roadmap-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.roadmap-card {
  padding: 40px 20px;
  border-radius: 16px;
  color: white;
  text-decoration: none;
  transition: 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.roadmap-card span {
  font-size: 40px;
  margin-bottom: 10px;
}

.roadmap-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* رنگ‌ها */
.security { background: linear-gradient(135deg, #00c6ff, #0072ff); }
.python { background: linear-gradient(135deg, #f7971e, #ffd200); }
.frontend { background: linear-gradient(135deg, #8e2de2, #4a00e0); }
.soft { background: linear-gradient(135deg, #ff512f, #dd2476); }
.roadmaps-section {
  padding: 3rem 1.5rem;
  background: #0f172a; /* رنگ پس‌زمینه تیره‌تر */
  font-family: 'Vazirmatn', sans-serif;
}

.roadmaps-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.roadmaps-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.roadmaps-text p {
  font-size: 1rem;
  color: #cbd5e1;
}

.roadmaps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.roadmap-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.2rem;
  border-radius: 1rem;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.roadmap-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.roadmap-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.roadmap-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.roadmap-content p {
  font-size: 0.85rem;
  color: #e2e8f0;
}

/* رنگ‌های کارت‌ها شبیه تصویر */
.roadmap-soft {
  background: linear-gradient(135deg, #f59e0b, #f43f5e);
}

.roadmap-frontend {
  background: linear-gradient(135deg, #10b981, #3b82f6);
}

.roadmap-security {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.roadmap-python {
  background: linear-gradient(135deg, #facc15, #f97316);
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .roadmaps-text {
    text-align: center;
  }
}
.site-footer {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  padding: 40px 20px;
  text-align: center;
  color: white;
  margin-top: 0px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  box-shadow: 0 -5px 25px rgba(0,0,0,0.4);
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #00e0ff;
  text-shadow: 0 0 12px rgba(0,224,255,0.7);
  animation: glow 2s infinite alternate;
}

.python-desc {
  font-size: 18px;
  margin-bottom: 20px;
  color: #f0f0f0;
  line-height: 1.8;
}

.quote {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
  text-shadow: 0 0 12px rgba(255,255,255,0.6);
  animation: shine 3s infinite alternate;
}

.author {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 20px;
  color: #ddd;
}

copyright {
  font-size: 14px;
  color: #ccc;
  margin-top: 20px;
}

/* انیمیشن بدرخشنده */
@keyframes glow {
  from { text-shadow: 0 0 10px #00e0ff; }
  to   { text-shadow: 0 0 25px #00ffff, 0 0 35px #00e0ff; }
}

@keyframes shine {
  from { color: #fff; text-shadow: 0 0 10px #fff; }
  to   { color: #ffeb3b; text-shadow: 0 0 25px #3bb7ff; }
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .logo { font-size: 24px; }
  .python-desc { font-size: 16px; }
  .quote { font-size: 18px; }
  .author { font-size: 14px; }
}

@media (max-width: 480px) {
  .site-footer { padding: 25px 10px; }
  .logo { font-size: 22px; }
  .python-desc { font-size: 14px; }
  .quote { font-size: 16px; line-height: 1.6; }
  .author { font-size: 13px; }
}
.site-footer {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  padding: 40px 20px;
  text-align: center;
  color: white;
  margin-top: 0px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  box-shadow: 0 -5px 25px rgba(0,0,0,0.4);
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #00e0ff;
  text-shadow: 0 0 12px rgba(0,224,255,0.7);
}

.footer-roadmap {
  margin: 20px auto;
  font-size: 16px;
  line-height: 1.8;
  color: #f0f0f0;
}

.footer-roadmap p { margin: 6px 0; }

.footer-quote {
  font-size: 20px;
  font-weight: bold;
  margin-top: 25px;
  margin-bottom: 8px;
  animation: shine 1.5s infinite alternate;
}

.footer-author {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 20px;
  color: #ddd;
}

.footer-copy {
  font-size: 14px;
  color: #ccc;
  margin-top: 20px;
}

@keyframes shine {
  from { color: #fff; text-shadow: 0 0 5px #fff; }
  to   { color: #ffeb3b; text-shadow: 0 0 20px #ffeb3b; }
}

@media (max-width: 768px) {
  .footer-logo { font-size: 24px; }
  .footer-roadmap { font-size: 14px; }
  .footer-quote { font-size: 18px; }
  .footer-author { font-size: 14px; }
}

@media (max-width: 480px) {
  .site-footer { padding: 25px 10px; }
  .footer-logo { font-size: 22px; }
  .footer-roadmap { font-size: 13px; }
  .footer-quote { font-size: 16px; line-height: 1.6; }
  .footer-author { font-size: 13px; }
}
/* ===== FOOTER STYLES ===== */
.site-footer {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  padding: 40px 20px;
  text-align: center;
  color: white;
  margin-top: px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  box-shadow: 0 -5px 25px rgba(0,0,0,0.4);
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 25px;
  color: #00e0ff;
  text-shadow: 0 0 12px rgba(0,224,255,0.7);
  animation: glow 2s infinite alternate;
}

/* بخش جدید: دسترسی سریع */
.footer-quick-access {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 20px;
  margin: 25px auto;
  max-width: 600px;
  border: 1px solid rgba(0, 224, 255, 0.2);
  box-shadow: 0 5px 15px rgba(0, 224, 255, 0.1);
}

.footer-quick-access h3 {
  color: #00e0ff;
  font-size: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-quick-access h3 i {
  animation: bounce 1s infinite alternate;
}

@keyframes bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

.quick-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
}

.quick-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  background: rgba(0, 224, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
  font-size: 15px;
  border: 1px solid rgba(0, 224, 255, 0.2);
  min-width: 150px;
  justify-content: center;
}

.quick-links a:hover {
  background: rgba(0, 224, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 224, 255, 0.2);
  border-color: #00e0ff;
}

.quick-links a i {
  color: #00e0ff;
  font-size: 16px;
}

/* بقیه استایل‌های قبلی */
.footer-roadmap {
  margin: 20px auto;
  font-size: 16px;
  line-height: 1.8;
  color: #f0f0f0;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgba(0, 224, 255, 0.1);
}

.footer-roadmap p { 
  margin: 8px 0; 
}

.footer-quote {
  font-size: 20px;
  font-weight: bold;
  margin-top: 25px;
  margin-bottom: 8px;
  animation: shine 1.5s infinite alternate;
}

.footer-author {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 20px;
  color: #ddd;
}

.footer-copy {
  font-size: 14px;
  color: #ccc;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* انیمیشن‌ها */
@keyframes glow {
  from { text-shadow: 0 0 10px #00e0ff; }
  to { text-shadow: 0 0 25px #00ffff, 0 0 35px #00e0ff; }
}

@keyframes shine {
  from { color: #fff; text-shadow: 0 0 5px #fff; }
  to { color: #ffeb3b; text-shadow: 0 0 20px #3bb7ff; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .site-footer {
    padding: 30px 15px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }
  
  .footer-logo {
    font-size: 24px;
  }
  
  .footer-quick-access {
    padding: 15px;
    margin: 20px auto;
  }
  
  .footer-quick-access h3 {
    font-size: 18px;
  }
  
  .quick-links {
    gap: 12px;
  }
  
  .quick-links a {
    padding: 10px 15px;
    min-width: 130px;
    font-size: 14px;
    flex: 1;
    max-width: calc(50% - 12px);
  }
  
  .footer-roadmap {
    font-size: 14px;
    padding: 15px;
  }
  
  .footer-quote {
    font-size: 18px;
  }
  
  .footer-author {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 25px 10px;
  }
  
  .footer-logo {
    font-size: 22px;
    margin-bottom: 20px;
  }
  
  .footer-quick-access {
    padding: 15px 10px;
  }
  
  .footer-quick-access h3 {
    font-size: 16px;
  }
  
  .quick-links {
    flex-direction: column;
    gap: 10px;
  }
  
  .quick-links a {
    max-width: 100%;
    min-width: auto;
    width: 100%;
    padding: 12px;
  }
  
  .footer-quote {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .footer-author {
    font-size: 13px;
  }
  
  .footer-copy {
    font-size: 12px;
    padding-top: 15px;
  }
}

/* برای تبلت‌های کوچک (مثلاً iPad Mini) */
@media (min-width: 481px) and (max-width: 600px) {
  .quick-links a {
    min-width: 120px;
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* برای دسکتاپ‌های کوچک */
@media (min-width: 769px) and (max-width: 900px) {
  .footer-content {
    padding: 0 20px;
  }
  
  .quick-links {
    gap: 15px;
  }
  
  .quick-links a {
    min-width: 140px;
  }
}

/* حالت لمسی (تاچ اسکرین) */
@media (hover: none) and (pointer: coarse) {
  .quick-links a:hover {
    transform: none;
    box-shadow: none;
  }
  
  .quick-links a:active {
    background: rgba(0, 224, 255, 0.2);
    transform: scale(0.98);
  }
}
/* خط آبی زیر نوشته هنگام هاور */
.nav a {
    position: relative;
    padding-bottom: 5px;
    display: inline-block;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: #00e0ff;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* نسخه زیباتر با انیمیشن نرم */
.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to left, #00e0ff, #0099ff);
    border-radius: 1px;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav a:hover::after {
    width: 100%;
}

/* نسخه با سایه */
.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: #00e0ff;
    box-shadow: 0 0 5px rgba(0, 224, 255, 0.5);
    transition: width 0.3s ease;
}

/* نسخه برای آیتم فعال (فعلا) */
.nav a.active::after {
    width: 100%;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .nav a::after {
        height: 1.5px;
    }
}
.courses-hero {
    background: linear-gradient(135deg, #001a3a, #003366);
    padding: 80px 20px 60px;
    text-align: center;
    margin-top: 70px;
    border-radius: 0 0 30px 30px;
}

.courses-hero-content h1 {
    font-size: 2.8rem;
    color: #00e0ff;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(0, 224, 255, 0.5);
}

.courses-hero-content p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.courses-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
}

.stat i {
    font-size: 2.5rem;
    color: #00e0ff;
    margin-bottom: 10px;
}

.stat .number {
    font-size: 2.2rem;
    font-weight: bold;
    color: white;
    margin: 5px 0;
}

.stat .label {
    font-size: 0.9rem;
    color: #aaa;
}

/* فیلترهای دوره‌ها */
.courses-filter {
    background: rgba(0, 20, 40, 0.8);
    padding: 25px 20px;
    margin: 30px auto;
    max-width: 1200px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.filter-container h3 {
    color: #00e0ff;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: rgba(0, 224, 255, 0.2);
    color: white;
}

.filter-btn.active {
    background: #00e0ff;
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 224, 255, 0.5);
}

/* بخش کلی دوره‌ها */
.all-courses, .upcoming-courses {
    padding: 50px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #00e0ff;
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background: #00e0ff;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* گرید دوره‌ها */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* کارت دوره‌ها */
.course-card {
    background: #002b5f;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 224, 255, 0.2);
}

.course-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.course-badge:not(.soon) {
    background: #ff4081;
    color: white;
}

.course-badge.soon {
    background: #ff9800;
    color: #000;
}

.course-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid rgba(0, 224, 255, 0.3);
}

.course-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-new {
    align-self: flex-start;
    padding: 5px 15px;
    background: #1BFD9C;
    color: #000;
    border: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.course-title {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 55px;
}

.course-description {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    font-size: 0.9rem;
}

.meta-item i {
    color: #00e0ff;
    width: 18px;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.course-views, .course-price, .course-status {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-views i {
    color: #aaa;
}

.course-views span {
    color: #aaa;
    font-size: 0.9rem;
}

.course-price .price {
    color: #00e0ff;
    font-weight: bold;
    font-size: 1.1rem;
}

.course-price .currency {
    color: #aaa;
    font-size: 0.9rem;
}

.course-status {
    color: #ff9800;
}

.enroll-btn, .notify-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.enroll-btn {
    background: #00e0ff;
    color: #000;
}

.enroll-btn:hover {
    background: #00ffff;
    box-shadow: 0 0 15px rgba(0, 224, 255, 0.5);
}

.notify-btn {
    background: #ff9800;
    color: #000;
}

.notify-btn:hover {
    background: #ffb74d;
    box-shadow: 0 0 15px rgba(255, 152, 0, 0.5);
}

/* دوره‌های در دست ساخت */
.upcoming-courses {
    background: rgba(0, 20, 40, 0.5);
    border-radius: 30px;
    margin: 40px 20px;
    padding: 50px 20px;
}

.upcoming .course-card {
    background: rgba(0, 43, 95, 0.7);
    opacity: 0.9;
}

.upcoming .course-card:hover {
    opacity: 1;
}

/* CTA Section */
.courses-cta {
    background: linear-gradient(135deg, #001a3a, #003366);
    padding: 70px 20px;
    text-align: center;
    margin: 60px 20px 0;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.cta-content h2 {
    font-size: 2.5rem;
    color: #00e0ff;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 35px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.cta-btn.primary {
    background: #00e0ff;
    color: #000;
}

.cta-btn.primary:hover {
    background: #00ffff;
    box-shadow: 0 0 20px rgba(0, 224, 255, 0.7);
    transform: translateY(-3px);
}

.cta-btn.secondary {
    background: transparent;
    color: #00e0ff;
    border: 2px solid #00e0ff;
}

.cta-btn.secondary:hover {
    background: rgba(0, 224, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 224, 255, 0.4);
    transform: translateY(-3px);
}

/* استایل‌های واکنش‌گرا */
@media (max-width: 1200px) {
    .courses-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .courses-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .courses-stats {
        gap: 30px;
    }
    
    .stat {
        min-width: 120px;
    }
    
    .stat i {
        font-size: 2rem;
    }
    
    .stat .number {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .courses-hero {
        padding: 60px 15px 40px;
        margin-top: 60px;
    }
    
    .courses-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .courses-hero-content p {
        font-size: 1rem;
    }
    
    .courses-stats {
        gap: 20px;
    }
    
    .stat {
        min-width: 100px;
    }
    
    .stat i {
        font-size: 1.5rem;
    }
    
    .stat .number {
        font-size: 1.5rem;
    }
    
    .stat .label {
        font-size: 0.8rem;
    }
    
    .courses-filter {
        padding: 20px 15px;
    }
    
    .filter-buttons {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .courses-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .course-title {
        font-size: 1.1rem;
        min-height: 50px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .stat {
        min-width: auto;
        width: 100%;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
    }
    
    .courses-cta {
        margin: 40px 10px 0;
        padding: 50px 15px;
    }
}

