/* فونت‌های Vazirmatn */
@font-face {
  font-family: Vazirmatn;
  src: url("../../../assets/fonts/Vazirmatn-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url("../../../assets/fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url("../../../assets/fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url("../../../assets/fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --cursor-color: #000;
  --cursor-border-color: #000;

  --first-color: hsl(200, 100%, 55%);
  --title-color: hsl(220, 60%, 15%);
  --text-color: hsl(220, 15%, 60%);
  --border-color: hsl(220, 30%, 80%);
  --body-color: hsl(220, 100%, 97%);
  --container-color: hsl(220, 100%, 99%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font-EN: "Vazirmatn", sans-serif;
  --body-font: "Vazirmatn", sans-serif;
  --second-font: "Vazirmatn", sans-serif;
  --biggest-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 2.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

/*=============== BASE ===============*/
#cursor {

    width: 10px;
    height: 10px;

    background: #0163b4;

    border-radius: 50%;

    position: fixed;

    pointer-events: none;

    z-index: 999999;

    transform: translate(-50%, -50%);

}



#cursor-border {

    width: 35px;
    height: 35px;

    border: 2px solid #0163b4;

    border-radius: 50%;

    position: fixed;

    pointer-events: none;

    z-index: 999998;

    transform: translate(-50%, -50%);

    transition: .15s ease;

}



#cursor.hovered {

    transform: translate(-50%, -50%) scale(1.8);

}



#cursor-border.hovered {

    width: 50px;
    height: 50px;

}
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body,
input,
button {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
  transition: background-color 0.4s;
}

input,
button {
  border: none;
  outline: none;
}

h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-family: var(--second-font);
  font-weight: var(--font-medium);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== LOADER ===============*/

.loader-page {
    background-color: var(--body-color);
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 9999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: all .5s ease-out;
}
.loader-container {
  /* border: 1px solid steelblue; */
  width: 600px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}
.loader {
  width: 500px;
  height: 5px;
  background-color: rgba(0,0,0,0.3);
  position: relative;
  border-radius:15px;
}
.loader-fill {
    background-color: #2563EB;
  width: 0px;
  height: 100%;
  position: absolute;
  border-radius: 15px;
}
.loader-counter {
  position: absolute;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -5px;
color: #2563EB;
  margin-top: 50px;
  z-index: 9;
}

.call-float {
    position: fixed;
    left: 20px;
    bottom: 90px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 22px;
    z-index: 8;
    box-shadow: 0 10px 25px rgba(37, 99, 235, .3);
    transition: .3s;
}

.call-float:hover {
    transform: scale(1.08);
    color: #fff;
}

.call-tooltip {
    position: absolute;
    left: 75px;
    white-space: nowrap;
    background: #fff;
    color: #222;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: .3s;
}

.call-tooltip::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
}

.call-float:hover .call-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.breadcrumb-nav {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-family: var(--body-font);
  color: var(--first-color);
}

.breadcrumb-nav a {
  color: var(--first-color);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.breadcrumb-nav .current-page {
  text-decoration: underline;
  font-weight: bold;
  cursor: pointer;
}

.breadcrumb-nav span.separator {
  margin: 0 5px;
}
/*=============== THEME ===============*/
/*========== Variables Dark theme ==========*/

body.dark-theme {
    --cursor-color: var(--first-color);
    --cursor-border-color: var(--first-color);

    --title-color: #fff;
    --text-color: #f1f1f1;
    --border-color: hsl(0, 0%, 73%);
    --body-color: hsl(220, 15%, 10%);
    --container-color: hsl(220, 15%, 13%);
}


/*========== 
	Color changes in some parts of 
	the website, in dark theme
==========*/

.dark-theme .shadow-header {
  box-shadow: 0 2px 16px hsla(0, 0%, 0%, 0.4);
}

.dark-theme .nav__menu {
  box-shadow: 0 -8px 32px hsla(0, 0%, 0%, 0.4);
}

.dark-theme .scrollup {
  box-shadow: 0 2px 8px hsla(0, 0%, 0%, 0.4);
}

.dark-theme .search,
.dark-theme .login {
  background-color: hsla(230, 12%, 8%, 0.6);
}

.dark-theme::-webkit-scrollbar {
  background-color: hsl(230, 16%, 15%);
}

.dark-theme::-webkit-scrollbar-thumb {
  background-color: hsl(230, 16%, 25%);
}

.dark-theme::-webkit-scrollbar-thumb:hover {
  background-color: hsl(230, 16%, 35%);
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1220px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 1rem;
}

.section__title {
  text-align: center;
  font-size: var(--h1-font-size);
  font-family: var(--second-font);
  margin-bottom: 2rem;
}

.main {
  overflow: hidden; /* For animation ScrollReveal */
}

button {
  padding: 5px 20px;
  text-transform: uppercase;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 500;
  color: var(--title-color);
  text-shadow: none;
  background: transparent;
  cursor: pointer;
  box-shadow: transparent;
  border: 1px solid var(--title-color);
  transition: 0.5s ease;
  user-select: none;
}

button a{
    color: var(--title-color);
}

button:hover {
  color: #fff;
  background: var(--first-color);
  border: 1px solid var(--first-color);
  /*text-shadow: 0 0 5px #ffffff, 0 0 10px #ffffff, 0 0 20px #ffffff;*/
  box-shadow: 0 0 5px #008cff, 0 0 20px #008cff, 0 0 50px #008cff,
    0 0 100px #008cff;
}
/*=============== HEADER & NAV ===============*/
.has-child{
    position:relative;
}

.nav__subsubmenu{
    position:absolute;
    right:100%;
    top:0;
    min-width:260px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);

    opacity:0;
    visibility:hidden;
    transform:translateY(10px);

    transition:.3s;
    list-style:none;
    padding:10px;
}

.has-child:hover .nav__subsubmenu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.nav__subsubmenu a{
    display:block;
    padding:12px 15px;
    color:#222;
    text-decoration:none;
    border-radius:8px;
    transition:.3s;
}

.nav__subsubmenu a:hover{
    background:#f5f7fa;
    padding-right:20px;
}

.sub-arrow{
    font-size:11px;
    margin-right:auto;
}
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-fixed);
    background: transparent;
}

.header::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.08);

    backdrop-filter: blur(5px) saturate(180%);
    -webkit-backdrop-filter: blur(5px) saturate(180%);

    border-bottom: 1px solid rgba(255,255,255,.15);

    pointer-events: none;
    z-index: -1;
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: inline-flex;
    align-items: center;
    column-gap: 0.5rem;
    color: var(--first-color);
    font-weight: var(--font-medium);
}

.nav__logo i {
    font-size: 1.25rem;
}

@media screen and (max-width: 1150px) {
    .nav__menu {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background-color: var(--container-color);
        box-shadow: 0 -8px 32px hsla(0, 0%, 0%, 0.1);
        padding: 1.25rem 4rem;
        transition: background-color 0.4s;
        border-radius: 20px 20px 0 0;
    }
}

.nav__list {
    display: flex;
    justify-content: space-between;
}

.nav__link {
    color: var(--text-color);
    transition: color 0.4s;
    display:flex;
    align-items:center;
    gap:8px;
}

.nav__link span {
    display: none;
}

.nav__link i {
    font-size: 1.25rem;
}

.nav__link:hover {
    color: var(--first-color);
}

.nav__actions {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}

.nav__actions i {
    font-size: 1.25rem;
    color: var(--title-color);
    cursor: pointer;
    transition: color 0.4s;
}

.nav__actions a {
    font-size: 1.25rem;
    color: var(--title-color);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: color 0.4s;
}

.nav__actions a i {
    font-size: 1.25rem !important;
    color: var(--title-color) !important;
    transition: color 0.4s;
    display: inline-block;
}

.change-theme {
    color: #A4ACBE;
    font-size: 1.5rem;
}

.nav__actions i:hover,
.nav__actions a:hover,
.nav__actions a:hover i {
    color: var(--first-color);
}


.shadow-header {
    box-shadow: 0 2px 16px hsla(0, 0%, 0%, 0.1);
}

.nav__item--has-submenu {
    position: relative;
}

.nav__submenu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--container-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    padding: 0.5rem 0;
    min-width: 190px;
    z-index: 10;
    overflow:visible;
}

.nav__item--has-submenu:hover .nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__sublink {
    display: block;
    padding: 0.75rem 1.2rem;
    padding-right: 1.7rem;
    padding-left: 2rem;
    color: var(--text-color);
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s ease;
    text-align: right;
    direction: rtl;
}

.nav__sublink:hover {
    background: var(--first-color-light);
    color: var(--first-color);
    border-radius: 2rem 0 0 2rem;
}

.nav__sublink::before {
    content: "›";
    position: absolute;
    left: 1rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--first-color);
    font-weight: bold;
    direction: ltr;
}

.nav__sublink:hover::before {
    opacity: 1;
    transform: translateX(0);
}

@media screen and (max-width: 1150px) {
    .nav__submenu {
        display: none !important;
    }

    .nav__link span {
        display: none;
    }
}



.active-link {
    color: var(--first-color);
}

.dropdown-arrow{
    width:8px;
    height:8px;
    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;
    transform:rotate(45deg);
    display:inline-block;
    margin-right:8px;
    transition:.3s;
        display:none;

}

.nav__item--has-submenu:hover .dropdown-arrow{
    transform:rotate(225deg);
}


@media screen and (min-width:1151px){

    .dropdown-arrow{
        display:inline-block;
    }

}

.dropdown-arrow{
    display:inline-block;
    width:8px;
    height:8px;
    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;
    transform:rotate(45deg);
    transition:.3s;
    margin-right:4px;
}

@media screen and (max-width: 1150px){

    .nav__link{
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:4px;
    }

    .nav__link span{
        display:block;
        font-size:.7rem;
        line-height:1;
    }

    .nav__link img{
        width:26px !important;
    }

    .dropdown-arrow{
        display:none !important;
    }
    
    .nav__link{
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:6px;
    }

    .nav__link span{
        display:block;
        font-size:11px;
        font-weight:500;
    }

}

/*=============== LOGIN ===============*/

.login {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-fixed);
  background-color: hsla(230, 12%, 96%, 0.6);
  backdrop-filter: blur(16px);
  align-items: center;
  padding: 1.5rem;
  text-align: center;
  transition: top 0.4s;
}

.login__form {
  background-color: var(--container-color);
  padding: 2rem 1.5rem;
  border: 2px solid var(--border-color);
  border-radius: 15px;
  row-gap: 1.25rem;
}

.login__title {
  font-size: var(--h2-font-size);
}

.login__group {
  row-gap: 1.25rem;
}

.login__lable {
  display: block;
  text-align: initial;
  color: var(--title-color);
  font-weight: var(--font-medium);
  margin-bottom: 0.25rem;
}

.login__input {
  width: 100%;
  background-color: var(--container-color);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 1rem;
  color: var(--text-color);
}

.login__signup,
.login__forgot {
  display: block;
  font-size: var(--small-font-size);
}

.login__signup {
  margin-bottom: 0.5rem;
}

.login__signup a {
  color: var(--first-color);
  font-weight: var(--font-medium);
}

.login__forgot {
  color: var(--first-color);
  margin-bottom: 1.25rem;
}

.login__button {
  width: 100%;
  cursor: pointer;
}

.login__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  left: auto;
  font-size: 2rem;
  color: var(--title-color);
  cursor: pointer;
  border-radius: 15px;
}
/* Show login */

.show-login {
  top: 0;
}

/* اطمینان از مخفی شدن کامل باکس لاگین وقتی بسته می‌شود */
.login:not(.show-login) {
  top: -100%;
  visibility: hidden;
  opacity: 0;
  transition: top 0.4s, visibility 0.4s, opacity 0.4s;
}

.login.show-login {
  visibility: visible;
  opacity: 1;
}

/* ریسپانسیو فرم لاگین برای سایز 768px */
@media screen and (max-width: 768px) {
  .login {
    padding: 0.75rem;
    align-items: flex-start;
    padding-top: 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .login__form {
    padding: 1.25rem 0.875rem;
    border-radius: 12px;
    width: calc(100% - 1.5rem);
    max-width: 100%;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
  }
  
  .login__title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .login__group {
    row-gap: 1rem;
  }
  
  .login__lable {
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
  }
  
  .login__input {
    padding: 0.75rem;
    font-size: 0.875rem;
    border-radius: 10px;
  }
  
  .login__signup,
  .login__forgot {
    font-size: 0.75rem;
  }
  
  .login__button {
    padding: 0.75rem;
    font-size: 0.875rem;
    border-radius: 10px;
  }
  
  .login__close {
    top: 0.75rem;
    right: 0.75rem;
    left: auto;
    font-size: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--container-color);
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
}

/* ریسپانسیو فرم لاگین برای سایز 1024px */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .login {
    padding: 1.5rem;
    align-items: center;
    overflow-y: visible;
  }
  
  .login__form {
    max-width: 500px;
    padding: 2rem 1.5rem;
    margin: 0 auto;
    max-height: none;
    overflow-y: visible;
  }
  
  .login__title {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .login__group {
    row-gap: 1.25rem;
  }
  
  .login__input {
    padding: 1rem;
    font-size: 0.938rem;
    border-radius: 15px;
  }
  
  .login__close {
    top: 1.5rem;
    right: 1.5rem;
    left: auto;
    font-size: 1.75rem;
    border-radius: 15px;
  }
}

/* ریسپانسیو فرم لاگین برای سایز بزرگ‌تر از 1024px */
@media screen and (min-width: 1025px) {
  .login {
    padding: 2rem;
  }
  
  .login__form {
    max-width: 550px;
    padding: 2.5rem 2rem;
  }
  
  .login__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .login__group {
    row-gap: 1.5rem;
  }
  
  .login__input {
    padding: 1.125rem;
    font-size: 1rem;
  }
  
  .login__close {
    top: 2rem;
    right: 2rem;
    left: auto;
    font-size: 2rem;
    border-radius: 15px;
  }
}


:root {
		--gap: 2rem;
	}

	ul {
		list-style: none;
	}

	.stock-ticker {
		font-size: 15px;
		padding-block: 8px;
		border-block: 1px solid #0F1F3D;
		overflow: hidden;
		user-select: none;
		display: flex;
		border-radius: 15px;
		gap: var(--gap);
		transform: rotate(5deg);
		color: #0F1F3D;
	}

	.stock-ticker-2 {
		font-size: 15px;
		padding-block: 8px;
		border-block: 1px solid #0F1F3D;
		border-radius: 15px;
		overflow: hidden;
		user-select: none;
		display: flex;
		gap: var(--gap);
		transform: rotate(-5deg);
		color: #fff;
		background-color: #0F1F3D;
	}

	.stock-ticker ul,
	.stock-ticker-2 ul {
		display: flex;
		gap: var(--gap);
		flex-shrink: 0;
		align-items: center;
		justify-content: space-between;
		min-width: 100%;
		animation: scroll 20s linear infinite;
	}

	.stock-ticker li,
	.stock-ticker-2 li {
		display: flex;
		align-items: center;
		gap: 8px;
		white-space: nowrap;
	}


	@keyframes scroll {
		to {
			transform: translateX(calc(-100% - var(--gap)));
		}
	}

	.stock-ticker .company,
	.stock-ticker .price {
		font-weight: bold;
	}

	.stock-ticker .price {
		margin-inline: 4px;
	}

	.stock-ticker .plus .change,
	.stock-ticker .plus::before,
	.stock-ticker-2 .plus .change,
	.stock-ticker-2 .plus::before {
		color: #016fff;
	}

	.stock-ticker .minus .change,
	.stock-ticker .minus::before {
		color: #016fff;
	}

	.stock-ticker-2 .minus .change,
	.stock-ticker-2 .minus::before {
		color: #1BB2FF;
	}
/*=============== BUTTON ===============*/

.button {
  display: inline-block;
  background-color: var(--first-color);
  color: #fff;
  font-weight: var(--font-semi-bold);
  border-radius: 15px;
  padding: 0.5rem 1rem;
  transition: box-shadow 0.4s;
  margin-top: 1rem;
}

.button:hover {
  box-shadow: 0 4px 32px hsla(230, 72%, 32%, 0.4);
}
/*=============== HOME ===============*/

.badge-center {
    text-align: center;
    margin:0 auto;
}

.rr-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 50px;
    background: var(--body-color);
    color: #0077ff;
    font-size: 14px;
    font-weight: 600;
}
  
  .rr-banner {

    max-width: 1100px;

    height: 120px;

    margin: 80px auto;

    padding: 22px 35px;


    background:
        linear-gradient(135deg,
            rgba(37, 99, 235, .95),
            rgba(19, 29, 90, .95));


    border: 1px solid rgba(255, 255, 255, .15);

    border-radius: 22px;


    display: flex;

    align-items: center;

    justify-content: space-between;


    gap: 30px;

    position: relative;

    overflow: visible;


    box-shadow:
        0 15px 40px rgba(0, 0, 0, .12);

}




/* دارک تم */

.dark-theme .rr-banner {

    background:

        linear-gradient(135deg,
            hsl(220, 90%, 45%),
            hsl(230, 35%, 15%));


    border-color:
        rgba(255, 255, 255, .08);


    box-shadow:

        0 20px 50px rgba(0, 0, 0, .4);

}





.rr-banner-content {

    flex: 1;

    text-align: center;

}



.rr-banner-content h3 {

    margin: 0 0 5px;

    font-size: 26px;

    font-weight: 800;

    color: #fff;

}




.rr-banner-content p {

    margin: 0;

    color: rgba(255, 255, 255, .85);

    font-size: 15px;

    line-height: 1.8;

}





.rr-banner-image {

    width: 220px;

    position: relative;

    flex-shrink: 0;

}





.rr-banner-image img {

    width: 100%;

    display: block;


    transform: translateY(-20%);


    filter:
        drop-shadow(0 12px 20px rgba(0, 0, 0, .25));

}





/* دکمه */

.rr-banner-btn {

    transition: .3s ease;

}



.rr-banner-btn:hover {

    transform: translateY(-3px);

}





@media(max-width:768px) {



    .rr-banner {


        height: auto;

        min-height: 190px;


        margin: 70px 15px 50px;


        padding: 45px 20px 25px;


        flex-direction: column;


        text-align: center;


        gap: 8px;


        overflow: visible;

    }





    .rr-banner-image {


        position: absolute;


        top: -90px;


        right: 50%;


        transform: translateX(50%);


        width: 140px;

        height: 140px;

    }






    .rr-banner-image img {


        width: 100%;


        transform: none;


    }






    .rr-banner-content {


        width: 100%;


    }






    .rr-banner-content h3 {


        font-size: 20px;


        line-height: 1.6;


    }







    .rr-banner-content p {


        font-size: 13px;


        line-height: 1.8;


    }






    .rr-banner-btn {


        width: 100%;


        margin-top: 15px;


    }



}



.floating i{

color: #0066CC;

font-size:18px;

margin-left:8px;

}
.hero-features i{

color:#0066CC;

font-size:14px;

}
    .hero-kindergarten{

padding:120px 0;
overflow:hidden;
position:relative;
background:var(--body-color);

}

.hero-container{

width:90%;
max-width:1400px;

margin:auto;

display:flex;
align-items:center;
justify-content:space-between;

gap:80px;

}

.hero-content{

width:50%;

}

.hero-badge{

display:inline-flex;

padding:10px 18px;

border-radius:50px;

background:var(--body-color);

color:var(--title-color);

font-weight:700;

margin-bottom:25px;

}

.hero-content h1{

font-size:58px;

line-height:1.3;

font-weight:900;

margin-bottom:25px;

}

.hero-content h1 span{

color: #0066CC;

}

.hero-content p{

font-size:18px;

line-height:2;

color:var(--text-color);

margin-bottom:40px;

max-width:620px;

}

.hero-buttons{

display:flex;

gap:15px;

margin-bottom:40px;

}

.btn-primary{
text-decoration:none;
}


.btn-secondary{
text-decoration:none;

}

.hero-features{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:18px;

font-weight:600;

color:var(--title-color);

}

.hero-image{

width:50%;

position:relative;

display:flex;

justify-content:center;

align-items:center;

height:650px;

}



.blur{

position:absolute;

border-radius:50%;

filter:blur(80px);

}

.blur1{

width:260px;

height:260px;

background:#72d2ff;

top:80px;

left:70px;

opacity:.35;

}

.blur2{

width:260px;

height:260px;

background:#0aa5ff;

bottom:90px;

right:80px;

opacity:.25;

}

.laptop{

position:relative;

z-index:5;

width:560px;

}

.screen{

height:340px;

background:#1d1d1d;

border-radius:22px;

padding:12px;

box-shadow:0 40px 70px rgba(0,0,0,.18);

}

.screen-content{

height:100%;
border-radius:14px;

overflow:hidden;
background:var(--body-color);
}

.browser{

height:40px;

background:#0066CC;
border:1px solid #0066CC;
}

.hero-placeholder{

height:150px;

margin:25px;

border-radius:15px;
background:#0066CC;
border:1px solid #0066CC;

}

.cards-row{

display:flex;

gap:20px;

padding:0 25px;

}

.cards-row div{

flex:1;

height:80px;

border-radius:15px;

background:#0066CC;
border:1px solid #0066CC;

}

.base{

width:650px;

height:18px;

margin-left:-45px;

background:#d6d6d6;

border-radius:0 0 60px 60px;

}

.floating{

position:absolute;

background:var(--body-color);
border:1px solid #0066CC;
padding:15px 22px;

border-radius:18px;

box-shadow:0 20px 45px rgba(0,0,0,.12);

font-weight:bold;

z-index:10;

animation:float 4s ease-in-out infinite;

}

.card1{

top:60px;

left:10px;

}

.card2{

top:120px;

right:0;

}

.card3{

bottom:150px;

left:20px;

}

.card4{

bottom:70px;

right:40px;

}

@keyframes float{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-12px);

}

100%{

transform:translateY(0);

}

}

@media(max-width:992px){

.hero-kindergarten{
    padding:70px 0;
    overflow:hidden;
}


.hero-container{

    width:100%;
    padding:0 20px;
    flex-direction:column;
    gap:40px;

}


.hero-content,
.hero-image{

    width:100%;

}


.hero-content h1{

    font-size:38px;
    line-height:1.4;

}


.hero-content p{

    font-size:16px;

}


.hero-image{

    height:auto;
    min-height:420px;

}


.laptop{

    width:90vw;
    max-width:480px;

}


.screen{

    height:auto;
    aspect-ratio:1.6;

}


.base{

    width:90vw;
    max-width:480px;
    margin-left:0;

}


.blur1,
.blur2{

    width:180px;
    height:180px;

}


.card1{

    top:20px;
    left:0;

}


.card2{

    top:80px;
    right:0;

}


.card3{

    bottom:100px;
    left:0;

}


.card4{

    bottom:40px;
    right:0;

}

}



.qa-wrap {
    padding: 90px 20px;
    direction: rtl;
    color: var(--title-color);
}

.qa-container {
    max-width: 900px;
    margin: auto;
}

/* ===== HEADER ===== */
.qa-head {
    text-align: center;
    margin-bottom: 45px;
}

.qa-head h2 {
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--title-color);
}

.qa-head p {
    color: var(--text-color);
    opacity: .8;
    line-height: 2;
}

/* ===== ITEM ===== */
.qa-item {
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    margin-bottom: 12px;
    transition: .25s ease;
}

/* hover فقط border */
.qa-item:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
}

/* active */
.qa-item.active {
    border-color: #3b82f6;
}

/* ===== QUESTION ===== */
.qa-q {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--title-color);
}

.qa-q:hover {
    background-color: none;
}

.qa-q i {
    color: #60a5fa;
    margin-left: 10px;
}

/* icon + / - */
.qa-icon {
    font-size: 18px;
    color: #60a5fa;
}


.qa-q:hover,
.qa-q:focus,
.qa-q:active {
    background: transparent !important;
    box-shadow: none !important;
    border: var(--border-color);
    color: var(--title-color);
}

/* ===== ANSWER ===== */
.qa-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;

    color: var(--text-color);
    opacity: .85;
    line-height: 2;

    padding: 0 14px;
}

/* open */
.qa-item.active .qa-a {
    max-height: 180px;
    padding: 0 14px 14px;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px) {
    .qa-head h2 {
        font-size: 22px;
    }
}




.rr-read-section {
    padding: 90px 20px;
    direction: rtl;
}


.rr-read-container {
    max-width: 1100px;
    margin: auto;
    position: relative;
}


.rr-more-state {
    display: none;
}


.rr-read-box {

    position: relative;

    background: var(--container-color);

    border: 1px solid var(--border-color);

    border-radius: 25px;

    padding: 35px;

    overflow: hidden;

}



.rr-read-box h2 {

    color: var(--title-color);

    font-size: 34px;

    margin-bottom: 25px;

}



.rr-read-content {

    max-height: 420px;

    overflow: hidden;

    transition: .6s ease;

}



.rr-read-content p {

    color: var(--text-color);

    line-height: 2.2;

    font-size: 16px;

    margin-bottom: 20px;

}



.rr-read-content h3 {

    color: var(--title-color);

    font-size: 24px;

    margin: 35px 0 20px;

}



/* متن مخفی */

.rr-hidden-content {

    opacity: 0;

    max-height: 0;

    overflow: hidden;

    transition: .6s ease;

}



/* باز شدن */

.rr-more-state:checked~.rr-read-box .rr-read-content {

    max-height: 20000px;

}



.rr-more-state:checked~.rr-read-box .rr-hidden-content {

    opacity: 1;

    max-height: 20000px;

}



/* سایه پایین */

.rr-read-box:after {

    content: "";

    position: absolute;

    bottom: 65px;

    left: 0;

    right: 0;

    height: 160px;

    background: linear-gradient(to bottom,
            transparent,
            var(--container-color));

    pointer-events: none;

    transition: .4s;

}



.rr-more-state:checked~.rr-read-box:after {

    opacity: 0;

}

.rr-more-btn {

    display: block;

    width: max-content;

    margin: 25px auto 0;

    cursor: pointer;

    color: #2563eb;

    font-weight: 800;

    position: relative;

    z-index: 3;

}



.rr-more-btn:before {

    content: "مشاهده ادامه مطلب";

    background: #2563eb;

    color: white;

    padding: 12px 25px;

    border-radius: 50px;

}



.rr-more-state:checked~.rr-read-box .rr-more-btn:before {

    content: "بستن مطلب";

}



@media(max-width:768px) {

    .rr-read-box {
        padding: 22px;
    }


    .rr-read-box h2 {
        font-size: 25px;
    }


    .rr-read-content p {
        font-size: 14px;
    }

}



.stats-section{

height:220px;

background:#0F1F3D;

display:flex;

align-items:center;

border-radius:35px;

margin:50px auto;

width:90%;

box-shadow:0 20px 50px rgba(0,0,0,.06);

}


.stats-container{

width:90%;

margin:auto;

display:grid;

grid-template-columns:1.3fr repeat(4,1fr);

align-items:center;

text-align:center;

gap:20px;

}



.stats-rating{

border-left:1px solid #eee;

}


.stars{

color:#ffc400;

font-size:28px;

letter-spacing:5px;

}


.stats-rating p{

color:#fff;

margin-top:8px;

}



.stat-item{

position:relative;

}



.stat-item:not(:last-child)::after{

content:"";

position:absolute;

left:0;

top:15%;

height:70%;

width:1px;

background:var(--first-color);

}



.stat-item h3{

font-size:42px;

margin:0;

font-weight:900;

color:var(--first-color);

}



.stat-item span{

display:block;

margin-top:8px;

color:#fff;

font-size:16px;

font-weight:600;

}



@media(max-width:900px){

.stats-section{

height:auto;

padding:35px 0;

}


.stats-container{

grid-template-columns:repeat(2,1fr);

}


.stats-rating{

grid-column:1/-1;

border:0;

}

}


.problems-section{

padding:90px 0;

}


.problems-container{

width:90%;

max-width:1200px;

margin:auto;

text-align:center;

}



.problems-container h2{

font-size:42px;

font-weight:900;

margin-bottom:55px;

color:var(--title-color);

}




.problems-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:25px;

}




.problem-card{

height:160px;

background:var(--body-color);
border:1px solid var(--border-color);
border-radius:25px;

display:flex;

flex-direction:column;

align-items:center;

justify-content:center;

gap:18px;

box-shadow:0 15px 35px rgba(0,0,0,.05);

transition:.35s;

cursor:pointer;

}



.problem-card:hover{

transform:translateY(-15px);
border:1px solid var(--first-color);

box-shadow:0 25px 50px rgba(0,130,255,.15);

}




.problem-card i{

font-size:38px;

color:var(--first-color);

}




.problem-card h3{

font-size:18px;

margin:0;

color:var(--title-color);

}




@media(max-width:900px){


.problems-grid{

grid-template-columns:repeat(2,1fr);

}


}



@media(max-width:600px){


.problems-grid{

grid-template-columns:1fr;

}


}




.process-section{

padding:100px 0;

}


.process-container{

width:90%;
max-width:1000px;
margin:auto;
text-align:center;

}


.process-container h2{

font-size:42px;
font-weight:900;
margin-bottom:70px;

}




.timeline{

position:relative;
width:100%;
margin:auto;

}




.timeline::before{

content:"";

position:absolute;

top:0;
bottom:0;

left:50%;

width:3px;

background:#dcefff;

transform:translateX(-50%);

}





.timeline-item{

position:relative;

width:100%;

display:flex;

margin-bottom:50px;


}




.timeline-item:nth-child(odd){

justify-content:flex-start;

padding-right:50%;

box-sizing:border-box;

}




.timeline-item:nth-child(even){

justify-content:flex-end;

padding-left:50%;

box-sizing:border-box;

}






.timeline-content{


width:300px;

background:var(--body-color);
border:1px solid var(--border-color);

padding:25px;

border-radius:22px;

box-shadow:0 15px 35px rgba(0,0,0,.06);

transition:.3s;

}





.timeline-content:hover{

transform:translateY(-10px);
border:1px solid var(--first-color);

}






.timeline-icon{


position:absolute;

left:50%;

top:0;


width:55px;

height:55px;


transform:translateX(-50%);


background:#1598ff;

color:#fff;


border-radius:50%;


display:flex;

align-items:center;

justify-content:center;


font-size:22px;


z-index:5;


box-shadow:0 15px 35px rgba(21,152,255,.3);

}






.timeline-content h3{

margin:0 0 10px;

font-size:22px;

}




.timeline-content p{

margin:0;

color:var(--title-color);

line-height:1.8;

}






@media(max-width:768px){



.timeline::before{

left:25px;

}



.timeline-item,
.timeline-item:nth-child(odd),
.timeline-item:nth-child(even){


padding:0 0 0 80px;


justify-content:flex-start;


}




.timeline-icon{


left:25px;

}



}



.features-section{
padding:100px 0;

}



.features-container{

width:90%;

max-width:1200px;

margin:auto;

text-align:center;

}



.features-container h2{

font-size:42px;

font-weight:900;

margin-bottom:15px;

}




.features-desc{

color:var(--title-color);

font-size:18px;

margin-bottom:60px;

}





.features-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:25px;

}





.feature-card{


background:var(--body-color);


border:1px solid var(--border-color);


border-radius:25px;


padding:35px 25px;


box-shadow:
0 15px 35px rgba(0,0,0,.05);


transition:.35s;


}





.feature-card:hover{


transform:translateY(-12px);


box-shadow:
0 25px 55px rgba(21,152,255,.15);


}




.feature-card i{


width:70px;

height:70px;


display:flex;

align-items:center;

justify-content:center;


margin:auto;


border-radius:22px;


background:#eef8ff;


color:#1598ff;


font-size:30px;


transition:.5s;


}




.feature-card:hover i{


transform:rotate(360deg);


}




.feature-card h3{


font-size:21px;

margin:25px 0 12px;


}




.feature-card p{


color:var(--text-color);

line-height:1.8;

margin:0;


}






@media(max-width:900px){


.features-grid{

grid-template-columns:repeat(2,1fr);

}


}





@media(max-width:600px){


.features-grid{

grid-template-columns:1fr;

}


}


.preview-section{

padding:100px 0;

}



.preview-container{

width:90%;

max-width:1100px;

margin:auto;

text-align:center;

}



.preview-container h2{

font-size:42px;

font-weight:900;

margin-bottom:25px;

}


.devices-area{

display:flex;

align-items:center;

justify-content:center;

gap:70px;

}




.laptop-preview{

width:600px;

}



.laptop-screen{

height:360px;

background:#111;

border-radius:25px;

padding:12px;

box-shadow:0 30px 70px rgba(0,0,0,.2);

}



.preview-page{

height:100%;

border-radius:15px;

background:

linear-gradient(
135deg,
var(--body-color),
var(--body-color)
);

display:flex;

align-items:center;

justify-content:center;

font-size:35px;

font-weight:900;

color:#1598ff;

transition:.4s;

}



.laptop-base{

height:18px;

width:680px;

margin-left:-40px;

background:#ccc;

border-radius:0 0 50px 50px;

}





.mobile-preview{

width:190px;

}



.mobile-screen{

height:390px;

background:#111;

border-radius:35px;

padding:10px;

box-shadow:0 30px 60px rgba(0,0,0,.2);

}



.mobile-content{

height:100%;

background:var(--body-color);

border-radius:25px;

display:flex;

align-items:center;

justify-content:center;

font-weight:bold;

color:#1598ff;

}





.preview-thumbnails{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:20px;

margin-top:60px;

}





.thumb{

background:var(--body-color);
border:1px solid var(--border-color);
padding:20px;

border-radius:20px;

cursor:pointer;

box-shadow:0 15px 30px rgba(0,0,0,.06);

transition:.3s;

}



.thumb:hover{

transform:translateY(-8px);
border:1px solid var(--first-color);

}



.thumb.active{

border:2px solid var(--first-color);

}



.thumb i{

display:block;

font-size:25px;

color:#1598ff;

margin-bottom:12px;

}




@media(max-width:900px){


.devices-area{

flex-direction:column;

}



.laptop-preview{

width:100%;

}



.laptop-base{

width:110%;

}



.preview-thumbnails{

grid-template-columns:repeat(2,1fr);

}


}




.why-section{


padding:110px 0;

}



.why-container{

width:90%;

max-width:1200px;

margin:auto;

text-align:center;

}



.why-container h2{

font-size:45px;

font-weight:900;

margin-bottom:70px;

}





.why-layout{


display:grid;


grid-template-columns:1fr 260px 1fr;


align-items:center;


gap:45px;


}





.why-column{


display:flex;

flex-direction:column;

gap:25px;


}







.why-card{


background:var(--body-color);


padding:28px 20px;


border-radius:25px;


box-shadow:
0 20px 45px rgba(0,0,0,.07);

border:1px solid var(--border-color);

transition:.35s;


}




.why-card:hover{


transform:translateY(-12px);
border:1px solid var(--first-color);

box-shadow:
0 30px 60px rgba(21,152,255,.18);


}





.why-card i{


width:65px;

height:65px;


display:flex;

align-items:center;

justify-content:center;


margin:auto;


background:#eaf7ff;


border-radius:22px;


color:#1598ff;


font-size:28px;


transition:.5s;


}





.why-card:hover i{


transform:rotate(360deg);


}





.why-card h3{


margin:18px 0 10px;

font-size:20px;


}





.why-card p{


margin:0;

color:var(--text-color);

line-height:1.8;


}







.brand-tree{


display:flex;


flex-direction:column;


align-items:center;


}



.tree-circle{


width:150px;

height:150px;


border-radius:50%;


background:linear-gradient(
135deg,
#1598ff,
#64c7ff
);



display:flex;


align-items:center;


justify-content:center;


color:white;


font-size:65px;


box-shadow:
0 30px 70px rgba(21,152,255,.35);



animation:treeFloat 4s infinite ease-in-out;


}



.brand-tree h3{

font-size:30px;

margin:25px 0 10px;

color:var(--title-color);

}



.brand-tree p{

color:var(--فثطف-color);

}



@keyframes treeFloat{


0%{

transform:translateY(0);

}


50%{

transform:translateY(-15px);

}


100%{

transform:translateY(0);

}


}







@media(max-width:900px){


.why-layout{


grid-template-columns:1fr;


}



.brand-tree{

order:-1;

}



}


.steps-section{

padding:100px 0;

}



.steps-container{

width:90%;

max-width:900px;

margin:auto;

text-align:center;

}



.steps-container h2{

font-size:45px;

font-weight:900;

margin-bottom:70px;

}





.steps-timeline{

position:relative;

}



.steps-timeline::before{


content:"";


position:absolute;


left:50%;


top:0;


height:100%;


width:3px;


background:#dcefff;


transform:translateX(-50%);


}






.step-item{


position:relative;


display:flex;


width:100%;


margin-bottom:55px;


align-items:center;


}





.step-item:nth-child(odd){


justify-content:flex-start;


padding-right:50%;


box-sizing:border-box;


}





.step-item:nth-child(even){


justify-content:flex-end;


padding-left:50%;


box-sizing:border-box;


}







.step-number{


position:absolute;


left:50%;


transform:translateX(-50%);


width:75px;


height:75px;



border-radius:50%;


background:#1598ff;


color:#fff;


display:flex;


align-items:center;


justify-content:center;



font-size:30px;


font-weight:bold;


box-shadow:
0 20px 40px rgba(21,152,255,.35);



animation:pulseStep 2s infinite;


z-index:2;


}






.step-content{


background:var(--body-color);
border:1px solid var(--border-color);


width:280px;


padding:25px;


border-radius:25px;


box-shadow:
0 20px 40px rgba(0,0,0,.06);



transition:.3s;


}





.step-content:hover{
border:1px solid var(--first-color);


transform:translateY(-10px);


}





.step-content h3{


margin:0 0 10px;


font-size:22px;


}




.step-content p{


margin:0;


color:var(--text-color);


line-height:1.8;


}








@keyframes pulseStep{


0%{

box-shadow:
0 0 0 0 rgba(21,152,255,.5);

}


70%{

box-shadow:
0 0 0 25px rgba(21,152,255,0);

}


100%{

box-shadow:
0 0 0 0 rgba(21,152,255,0);

}


}







@media(max-width:768px){



.steps-timeline::before{

left:35px;

}




.step-item,
.step-item:nth-child(even),
.step-item:nth-child(odd){


padding-left:90px;


padding-right:0;


justify-content:flex-start;


}




.step-number{


left:35px;


}




}





.cost-section{

padding:100px 0;


}



.cost-container{


width:90%;


max-width:1100px;


margin:auto;


text-align:center;


}




.cost-container h2{


font-size:45px;


font-weight:900;


margin-bottom:70px;


}






.cost-layout{


display:grid;


grid-template-columns:1fr 1fr;


gap:70px;


align-items:center;


}








.cost-problems{


display:flex;


flex-direction:column;


gap:25px;


}






.problem-row{


background:var(--body-color);

border:1px solid var(--border-color);

padding:25px;


border-radius:22px;


display:flex;


align-items:center;


gap:20px;


font-size:20px;


box-shadow:


0 15px 35px rgba(0,0,0,.06);


transition:.3s;


}




.problem-row:hover{
border:1px solid var(--first-color);


transform:translateX(-10px);


}





.problem-row i{


width:45px;


height:45px;


border-radius:50%;


background:#ffeaea;


color:#ff3131;


display:flex;


align-items:center;


justify-content:center;


font-size:22px;


}








.growth-box{


background:var(--body-color);
border:1px solid var(--border-color);

padding:35px;


border-radius:30px;


box-shadow:


0 20px 45px rgba(0,0,0,.07);


}





.growth-box h3{


color:var(--title-color);


font-size:26px;


margin-bottom:30px;


}








.real-chart{


height:270px;


display:flex;


}







.y-axis{


width:45px;


display:flex;


flex-direction:column;


justify-content:space-between;


font-size:12px;


color:#999;


padding-bottom:25px;


}







.chart-area{


position:relative;


flex:1;


border-left:2px solid #dcefff;


border-bottom:2px solid #dcefff;


overflow:hidden;


}








.grid-line{


position:absolute;


left:0;


right:0;


height:1px;


background:#edf6ff;


}



.line1{


top:25%;


}



.line2{


top:50%;


}



.line3{


top:75%;


}









.growth-svg{


width:100%;


height:100%;


}







.growth-svg polyline{


fill:none;


stroke:#1598ff;


stroke-width:6;


stroke-linecap:round;


stroke-linejoin:round;


stroke-dasharray:600;


stroke-dashoffset:600;


animation:drawLine 2s forwards;


}







.chart-arrow{


position:absolute;


right:10px;


top:15px;


width:60px;


height:60px;


background:#1598ff;


color:white;


border-radius:50%;


display:flex;


align-items:center;


justify-content:center;


font-size:28px;


animation:arrowFloat 2s infinite;


}









@keyframes drawLine{


to{


stroke-dashoffset:0;


}


}








@keyframes arrowFloat{


0%{

transform:translateY(10px);

}


50%{

transform:translateY(-10px);

}


100%{

transform:translateY(10px);

}


}








@media(max-width:800px){



.cost-layout{


grid-template-columns:1fr;


}




.growth-box{


order:-1;


}



}
/*=============== FOOTER ===============*/

.footer {
  padding-block: 4rem 6rem;
}

.footer__container {
  row-gap: 3rem;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  color: var(--first-color);
  font-size: var(--h3-font-size);
  font-family: var(--second-font);
  margin-bottom: 1.25rem;
}

.footer__logo i {
  font-size: 1.25rem;
}

.footer__data {
  grid-template-columns: repeat(2, max-content);
  gap: 3rem 2rem;
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: grid;
  row-gap: 0.5rem;
}

.footer__link {
  color: var(--text-color);
  transition: color 0.4s;
}

.footer__link:hover {
  color: var(--first-color);
}

.footer__info {
  font-style: normal;
}

.footer__social {
  display: flex;
  column-gap: 1.25rem;
}

.footer__social-link {
  font-size: 1.25rem;
  color: var(--first-color);
}

.footer__copy {
  display: block;
  margin-top: 5rem;
  text-align: center;
  font-size: var(--small-font-size);
}

/*=============== SCROLL BAR ===============*/

::-webkit-scrollbar {
  width: 0.6rem;
  border-radius: 0.5rem;
  background-color: hsl(230, 16%, 85%);
}

::-webkit-scrollbar-thumb {
  border-radius: 0.5rem;
  background-color: hsl(230, 16%, 65%);
}

::-webkit-scrollbar-thumb:hover {
  border-radius: 0.5rem;
  background-color: hsl(230, 16%, 55%);
}

/*=============== SCROLL UP ===============*/

.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: var(--container-color);
  box-shadow: 0 2px 8px hsla(0, 0%, 0%, 0.1);
  display: inline-flex;
  padding: 6px;
  font-size: 1.25rem;
  color: var(--title-color);
  z-index: var(--z-tooltip);
  transition: bottom 0.4s, transform 0.4s, background-color 0.4s;
  border-radius: 12px;
}

.scrollup:hover {
  transform: translateY(-0.5rem);
}

/* Show Scroll Up */

.show-scroll {
  bottom: 6rem;
  border: 2px solid var(--border-color);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 768px){
    .nav__menu{

        position:fixed;
        bottom:0;
        left:0;
        right:0;
    
        padding:1rem 2rem;
    
        background:rgba(255,255,255,.08);
    
        backdrop-filter:blur(10px) saturate(180%);
        -webkit-backdrop-filter:blur(10px) saturate(180%);
    
        border-top:1px solid rgba(255,255,255,.15);
    
        box-shadow:
            0 -8px 30px rgba(0,0,0,.12),
            inset 0 1px 0 rgba(255,255,255,.18);
    
        border-radius:20px 20px 0 0;
    }
}
@media screen and (min-width: 320px) {
  .container {
    margin-inline: 1rem;
  }

  .nav__menu {
    padding-inline: 3rem;
  }

  .discount__img-1,
  .discount__img-2 {
    width: 140px;
    text-align: center;
  }

  .new__card {
    flex-direction: column;
  }

  .testimonail__card {
    padding-inline: 1rem;
  }

  .footer__data {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  .home__model {
    margin-right: -100px;
  }

  .home__model-about {
    margin-right: -200px;
    top: -100px;
  }
    .loader {
  width: 350px;
  height: 5px;
  background-color: rgba(0,0,0,0.3);
  position: relative;
  border-radius:15px;
}
}

@media screen and (min-width: 375px) {
  .home__model {
    margin-right: -80px;
  }

  .home__model-about {
    margin-right: -200px;
    top: -100px;
  }
}

@media screen and (min-width: 414px) {
  .home__model {
    margin-right: -40px;
  }

  .home__model-about {
    margin-right: -200px;
    top: -100px;
  }
}

/* For medium devices */

@media screen and (min-width: 450px) {
  .featured__card {
    width: 290px;
  }

  .new__card {
    width: 390px;
  }

  .testimonail__card {
    width: 320px;
  }

  .home__model {
    margin-right: -50px;
  }

  .home__model-about {
    margin-right: -80px;
    top: -100px;
  }
}

@media screen and (min-width: 540px) {
  .home__model {
    margin-right: 30px;
  }

  .home__model-about {
    margin-right: -200px;
    top: -100px;
  }
}

@media screen and (min-width: 576px) {
  .search__form {
    width: 500px;
    margin-inline: auto;
  }

  .login__form {
    width: 400px;
    justify-self: center;
  }

  .search__close,
  .login__close {
    width: max-content;
    top: 4rem;
    left: 0;
    right: 0;
    margin-inline: auto;
  }

  .nav__menu {
    width: 380px;
    margin-inline: auto;
  }

  .home__container,
  .discount__container {
    grid-template-columns: 420px;
    justify-content: center;
  }

  .join__form {
    width: 320px;
    justify-self: center;
  }

  .footer__data {
    grid-template-columns: repeat(3, max-content);
  }

  .home__model {
    margin-right: -15px;
  }

  .home__model-about {
    margin-right: -10px;
    top: -100px;
  }
}

@media screen and (min-width: 768px) {
  .home__container {
    grid-template-columns: 580px;
  }

  .home__data {
    width: 420px;
    justify-self: center;
  }

  .services__container {
    grid-template-columns: repeat(3, max-content);
    justify-content: center;
    column-gap: 5rem;
  }

  .footer__container {
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
  }

  .home__model {
    margin-right: 80px;
  }

  .home__model-about {
    margin-right: -30px;
    top: -100px;
  }
}

/* For large devices */

@media screen and (min-width: 1150px) {
  .section {
    padding-block: 7rem 2rem;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
    column-gap: 4rem;
  }

  .nav__link i {
    display: none;
  }

  .nav__link span {
    display: block;
  }

  .nav__menu {
    width: initial;
    margin-inline: auto 0;
  }

  .nav__list {
    column-gap: 4rem;
  }

  .nav__link {
    font-weight: var(--font-medium);
  }

  .dark-theme .nav__menu {
    box-shadow: none;
  }

  .home__data {
    width: initial;
  }

  .services__container {
    column-gap: 10rem;
  }

  .services__card i {
    font-size: 3.5rem;
  }

  .featured__container {
    padding-top: 2rem;
  }

  .featured__title {
    font-size: var(--h3-font-size);
  }

  .discount__container {
    grid-template-columns: 615px 500px;
    justify-content: space-between;
    align-items: center;
  }

  .discount__data {
    order: 1;
  }

  .discount__data,
  .discount__title {
    text-align: center;
  }

  .discount-description {
    margin-bottom: 3.5rem;
  }

  .discount__img-1,
  .discount__img-2 {
    width: 300px;
  }

  .new__container {
    padding-top: 2rem;
  }

  .new__card {
    padding: 1.5rem;
  }

  .new__img {
    width: 120px;
  }

  .new__title {
    font-size: var(--h3-font-size);
  }

  .join__bg {
    object-position: 0 -5rem;
  }

  .testimonail__container {
    padding-top: 2rem;
  }

  .testimonail__card {
    padding-inline: 2rem;
  }

  .testimonail__title {
    font-size: var(--h3-font-size);
  }

  .testimonail__description {
    font-size: var(--normal-font-size);
  }

  .footer {
    padding-block: 6rem 3rem;
  }

  .footer__data {
    grid-template-columns: repeat(4, max-content);
    column-gap: 4.5rem;
  }

  .footer__logo,
  .footer__title {
    font-size: var(--h2-font-size);
    margin-bottom: 1.5rem;
  }

  .footer__links {
    row-gap: 1rem;
  }

  .footer__social {
    column-gap: 1.5rem;
  }

  .footer__social-link {
    font-size: 1.5rem;
  }

  .footer__copy {
    margin-top: 7.5rem;
  }

  .scrollup {
    right: 3rem;
  }

  .show-scroll {
    bottom: 3rem;
  }

  .home__model-about {
    margin-right: -250px;
    top: 23px;
  }
}

@media screen and (min-width: 1220px) {
  .container {
    margin-inline: auto;
  }

  .home__container {
    grid-template-columns: 435px 745px;
    align-items: center;
    padding-block: 7rem 2rem;
  }

  .home__data {
    text-align: initial;
  }

  .home__description {
    margin-bottom: 4rem;
  }

  .home__article,
  .home-img {
    width: 290px;
  }
  .home__model {
    margin-right: 200px;
    z-index: 1000;
  }
}

/* ریسپانسیو فرم لاگین */
@media (max-width: 768px) {
  /* ریسپانسیو فرم لاگین برای تبلت */
  .login {
    padding: 1rem;
  }
  
  .login__form {
    padding: 1.5rem 1rem;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .login__title {
    font-size: 1.1rem;
  }
  
  .login__input {
    padding: 0.875rem;
    font-size: 0.938rem;
  }
  
  .login__close {
    top: 1rem;
    right: 1rem;
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  /* ریسپانسیو فرم لاگین برای موبایل */
  .login {
    padding: 0.75rem;
    align-items: flex-start;
    padding-top: 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .login__form {
    padding: 1.25rem 0.875rem;
    border-radius: 12px;
    width: calc(100% - 1.5rem);
    max-width: 100%;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
  }
  
  .login__title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .login__group {
    row-gap: 1rem;
  }
  
  .login__lable {
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
  }
  
  .login__input {
    padding: 0.75rem;
    font-size: 0.875rem;
    border-radius: 10px;
  }
  
  .login__signup,
  .login__forgot {
    font-size: 0.75rem;
  }
  
  .login__button {
    padding: 0.75rem;
    font-size: 0.875rem;
    border-radius: 10px;
  }
  
  .login__close {
    top: 0.75rem;
    right: 0.75rem;
    font-size: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--container-color);
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
}