@font-face {font-family: "PeydaWeb-Bold"; src: url('/assets/fonts/Peyda/PeydaWeb-Bold.woff') format('woff');}
@font-face {font-family: "PeydaWeb-Medium"; src: url('/assets/fonts/Peyda/PeydaWeb-Medium.woff') format('woff');}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
width: 100%;
height: 100%;
direction: rtl;
}

body {
margin: 0;
color: #262626;
line-height: 1.8;
overflow-y: scroll;
overflow-x: hidden !important;
font-family: "PeydaWeb-Medium";
}

img {vertical-align: middle;}

a:link, a:active, a:visited {
color: #262626;
font-weight: bold;
transition: all 0.5s;
text-decoration: none;
-o-transition: all 0.5s;
-ms-transition: all 0.5s;
-moz-transition: all 0.5s;
-webkit-transition: all 0.5s;
font-family: "PeydaWeb-Bold";
}

a:hover {
color: #282828;
font-weight: bold;
text-decoration: none;
}

h1, h2, h3, h4 {
font-weight: bold;
font-family: "PeydaWeb-Bold";
}

.top-nav {
margin: 0;
display: flex;
overflow: hidden;
flex-wrap: nowrap;
flex-direction: row;
align-items: center;
background-color: #FBFAFA;
justify-content: space-between;
border-bottom: 1px solid #D8D8D9;
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.top-nav > div {
padding: 0 10px 0 10px;
}

@media only screen and (max-width: 960px) {
.top-nav{
display: none;
}}

.language-button {
width: 35px;
height: 35px;
border: none;
margin: 10px;
cursor: pointer;
border-radius: 50%;
background-size: cover;
transition: transform 0.3s;
}

.language-button:hover {transform: scale(1.1);}
.persian {background-image: url('/assets/images/lang/fa.webp');}
.english {background-image: url('/assets/images/lang/en.webp');}

.datetime {
color: #282828;
font-family: "PeydaWeb-Bold";
}

.navbar {
display: flex;
padding: 14px 18px;
align-items: center;
background-color: #191970;
font-family: "PeydaWeb-Bold";
justify-content: space-between;
}

.logo img {
height: auto;
}

.links {
gap: 18px;
display: flex;
vertical-align: middle;
}

.links a {
color: #f5f5f5;
font-weight: 600;
text-decoration: none;
}

.links a:hover {
color: #8282e3;
text-decoration: none;
}

.navbar span {
margin-left: 5px;
}

.hamburger {
border: none;
display: none;
color: #f5f5f5;
font-size: 26px;
cursor: pointer;
background: none;
}

.mobile-menu {
right: 0;
top: 65px;
width: 100%;
display: none;
z-index: 9999;
position: absolute;
flex-direction: column;
background-color: #191970;
}

.mobile-menu a {
color: #f5f5f5;
font-weight: 600;
padding: 14px 20px;
text-decoration: none;
}

@media (max-width: 960px) {
.links {display: none;}
.hamburger {display: block;}
}

.hero {
width: 100%;
opacity: 0.8;
height: 500px;
display: block;
position: relative;
background-size: cover;
background-position: center;
background-image: url("/assets/images/bg.webp");
}

.hero_items {
top: 0;
right: 30%;
width: 100%;
height: 100%;
display: flex;
color: #2d2236;
text-align: center;
position: absolute;
align-items: center;
flex-direction: column;
justify-content: center;
box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

@media screen and (max-width: 960px) {
.hero_items {
top: 0;
right: 0;
width: 100%;
height: 100%;
display: flex;
color: #2d2236;
text-align: center;
position: absolute;
align-items: center;
flex-direction: column;
justify-content: center;
box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}}

.hero_items > .social {
padding: 8px;
display: flex;
flex-wrap: nowrap;
align-items: center;
flex-direction: row;
justify-content: center;
}

.hero_items > .social a {
width: 60px;
height: 60px;
font-size: 2.5rem;
font-weight: bold;
border-radius: 50%;
text-align: center;
margin: 0 10px 0 10px;
vertical-align: middle;
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
background: rgba(255, 255, 255, 0.25);
border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero_items h1 {
padding: 10px;
font-size: 1.8rem;
border-radius: 12px;
backdrop-filter: blur(1.5px);
-webkit-backdrop-filter: blur(1.5px);
background: rgba(255, 255, 255, 0.25);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(255, 255, 255, 0.05);
}

#insta {
background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}

.fa-whatsapp {color: #25D366;}
.fa-telegram {color: #24A1DE;}

.divider {display: flex; align-items: center;}
.divider::before, .divider::after {flex: 1; margin: 5px; content: ''; padding: 1px; background-color: #404040;}

.about {
padding: 2vw;
display: flex;
flex-wrap: wrap;
align-items: center;
flex-direction: column;
justify-content: center;
background-color: #ffffff;
box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.about_title {
padding: 8px;
color: #191970;
text-align: center;
}

.about_subtitle {
line-height: 2.5;
word-spacing: 5px;
text-align: justify;
text-align-last: right;
padding: 10px 15px 10px 15px;
}

.container {
display: flex;
flex-wrap: wrap;
padding: 0 25px 0 25px;
justify-content: space-between;
}

.card {
margin: 10px;
padding: 20px;
border-radius: 8px;
text-align: center;
background-color: #ffffff;
width: calc(16.66% - 20px);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card img {
width: 200px;
height: 150px;
border-radius: 50%;
}

.card img:hover {
transform: scale(1.2);
transition: transform 0.3s ease;
}

.social-links a {
margin: 0 5px;
color: #007bff;
text-decoration: none;
}

.social-links i {
font-size: 1.6rem;
padding: 8px 0 8px 0;
}

.card-btn {
cursor: pointer;
border-radius: 0.8rem;
padding: 8px 5px 8px 5px;
background-color: #191970;
}

.card-btn:hover {
color: #f5f5f5;
transition: all 0.5s;
transform: scale(1.1);
-o-transition: all 0.5s;
-ms-transition: all 0.5s;
-moz-transition: all 0.5s;
background-color: #8282e3;
-webkit-transition: all 0.5s;
}

.card-btn a {
color: #f5f5f5;
font-weight: bold;
text-decoration: none;
}

.card-btn span {
margin-left: 5px;
font-size: 1.5rem;
}

@media (max-width: 960px) {.card {width: calc(48% - 20px);}
.card img {width: 100px; height: 100px; border-radius: 50%;}}
@media (max-width: 600px) {.card {width: calc(100% - 20px);}
.card img {width: 100px; height: 100px; border-radius: 50%;}}

.blur-box {
height: 200px;
display: flex;
max-width: 100%;
overflow: hidden;
position: relative;
align-items: center;
background-size: cover;
justify-content: center;
background-position: center;
background-image: url("/assets/images/realestate_bg.jpg");
}

.blur-box h2 {
margin: 0;
color: #ffffff;
font-size: 2.5rem;
position: relative;
font-family: "PeydaWeb-Bold";
text-shadow: 5px 5px 10px rgba(239 ,191 ,4 ,0.75);
}

@media (max-width: 768px) {.blur-box {height: 280px; padding: 0 20px;} .blur-box h2 {font-size: 1.8rem;}}
@media (max-width: 480px) {.blur-box {height: 230px;} .blur-box h2 {font-size: 1.4rem;}}

.brands {
display: flex;
flex-wrap: nowrap;
flex-direction: row;
align-items: center;
background-color: #191970;
justify-content: space-around;
}

.brands a {padding: 10px;}

.brands img {
width: 100px;
height: 100px;
display: block;
}

@media (max-width: 600px) {
.brands {
flex: 1;
display: flex;
flex-wrap: wrap;
flex-direction: column;
}}

.footer-iteams {
padding: 20px;
display: flex;
color: #282828;
flex-wrap: wrap;
background-color: #ffffff;
justify-content: space-between;
}

.footer-column {
flex: 1;
padding: 10px;
min-width: 200px;
}

.footer-column h4 {
font-size: 22px;
font-weight: bold;
padding-bottom: 8px;
}

.footer-column i {
color: #8282e3;
font-size: 18px;
margin-left: 5px;
}

@media (max-width: 960px) {
.footer {
align-items: center;
flex-direction: column;
}}

.footer-links {
display: flex;
flex-wrap: wrap;
text-align: right;
flex-direction: column;
justify-content: center;
}

.footer-links {
font-size: 18px;
font-weight: bold;
}

.num {
max-width: 65%;
text-align: center;
border-radius: 0.5rem;
border: 2px solid #e2e2e2;
}

.address {
max-width: 65%;
font-size: 16px;
line-height: 2.2;
text-align: center;
}

.copyright {
padding: 2px;
display: block;
color: #f5f5f5;
text-align: center;
background-color: #191970;
}

.copyright a {
color: #f5f5f5;
font-weight: bold;
text-decoration: none;
}

.copyright span {
margin-left: 5px;
}

/*** contact.php ***/
.description {
padding: 5vw;
display: block;
line-height: 2.2;
text-align: center;
background-color: #f5f5f5;
}

.description h3 {font-size: 28px;}

.contact-container {
padding: 20px;
text-align: right;
border-radius: 5px;
background-color: #ebebeb;
}

input[type=text], select, textarea {
width: 100%;
padding: 12px;
margin-top: 6px;
resize: vertical;
border-radius: 4px;
margin-bottom: 16px;
box-sizing: border-box;
border: 1px solid #cccccc;
font-family: "PeydaWeb-Bold";
}

input[type=submit] {
border: none;
color: #ffffff;
cursor: pointer;
padding: 12px 20px;
border-radius: 4px;
background-color: #04AA6D;
font-family: "PeydaWeb-Bold";
}

input[type=submit]:hover {
background-color: #45a049;
}

.submit-btn {
opacity: 0.4;
}

.submit-btn.enabled {
opacity: 1;
}

/*** calculator.php ***/
.calculator-title {
padding-top: 2vw;
font-size: 1.5rem;
text-align: center;
overflow: hidden !important;
}

.wrapper {
width: 560px;
padding: 20px;
margin: 40px auto;
border-radius: 8px;
background-color: #ffffff;
border: 1px solid #cccccc;
}

.tabs {
gap: 10px;
display: flex;
flex-wrap: wrap;
font-family: "PeydaWeb-Bold";
}

.tab {
cursor: pointer;
padding: 10px 20px;
background-color: #eeeeee;
border: 1px solid #cccccc;
}

.tab.active {
background-color: #cccccc;
}

.content {
display: none;
padding: 10px;
margin-top: 10px;
border: 1px solid #cccccc;
font-family: "PeydaWeb-Medium";
}

.content.active {
display: block;
}

.calculator {
width: 100%;
margin: 12px 0;
}

.calculator input {
width: 100%;
padding: 12px;
margin: 6px 0;
border-radius: 6px;
box-sizing: border-box;
border: 1px solid #bbbbbb;
}

.calculator button {
width: 100%;
border: none;
padding: 12px;
color: #f5f5f5;
cursor: pointer;
font-size: 18px;
margin-top: 10px;
border-radius: 0.8rem;
background-color: #191970;
font-family: "PeydaWeb-Bold";
}

.center-btn {
display: block;
margin: 15px auto;
}

.result {
gap: 10px;
display: flex;
margin: 8px 0;
font-size: 16px;
align-items: center;
}

.result i {
color: #444444;
}


@media(max-width:480px){
.tab {
width: 100%;
text-align: center;
}

.wrapper {
width: 100%;
margin: 10px;
}}

/*** share.php ***/
.share-text {
line-height: 2.5;
word-spacing: 5px;
text-align: justify;
align-items: center;
text-align-last: right;
padding: 5vw 15vw 5vw 15vw;
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.share_title {
color: #191970;
font-size: 1.8rem;
padding-top: 2.5vw;
text-align: center;
}

/*** success.html ***/
.success-box {
width: 90%;
padding: 40px;
max-width: 500px;
margin: 100px auto;
text-align: center;
border-radius: 15px;
background: #f5f5f5;
box-shadow: 0 0 20px #00000010;
}

.success-box .icon {
color: #28a745;
font-size: 70px;
}

.success-box h1 {
color: #282828;
font-size: 25px;
margin-top: 20px;
}

.success-box p {
font-size: 16px;
color: #555;
margin-top: 10px;
line-height: 30px;
}

.success-box a {
color: #f5f5f5;
font-size: 15px;
transition: 0.3s;
margin-top: 25px;
padding: 12px 25px;
border-radius: 8px;
background: #007bff;
display: inline-block;
text-decoration: none;
}

.success-box a:hover {
background: #0056b3;
}


/*** counter.php ***/
.novin-counter {
gap: 25px;
display: flex;
margin: 40px 0;
flex-wrap: wrap;
padding-top: 10px;
justify-content: center;
font-family: "PeydaWeb-Bold";
border-top: 1px solid #eeeeee;
}

.novin-card {
min-width: 200px;
padding: 25px 35px;
text-align: center;
position: relative;
border-radius: 20px;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
box-shadow: 0 8px 25px rgba(0,0,0,0.08);
background-color: rgba(255,255,255,0.15);
transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.novin-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 30px rgba(0,0,0,0.15);
background: rgba(255,255,255,0.2);
}

.icon {
color: #2575fc;
font-size: 2em;
margin-bottom: 10px;
transition: color 0.3s;
}

.novin-card:hover .icon {
color: #ffd700;
}

.novin-card h2 {
color: #282828;
font-size: 2.5em;
margin: 0 0 8px 0;
transition: color 0.3s;
}

.novin-card:hover h2 {
color: #ffd700;
}

.novin-card p {
margin: 0;
font-size: 1em;
color: #282828;
}

.progress {
height: 6px;
background: rgba(255,255,255,0.3);
border-radius: 5px;
margin-top: 15px;
overflow: hidden;
}

.progress-bar {
height: 100%;
width: 0;
border-radius: 5px;
background: linear-gradient(90deg, #2575fc, #6a11cb, #2575fc);
background-size: 200% 100%;
animation: moveGradient 2s linear infinite;
transition: width 1.5s ease;
}

@keyframes moveGradient {
0% {background-position: 0% 0%;}
100% {background-position: 200% 0%;}
}
