/* [Master Stylesheet v1.0]

- Template Name: mahantahlil
- Template Author: kheiri
- Template URL: http://www.mahantahlil.com/
- Version: 1.0.0

 */

:root {
  --main-color: rgb(1, 62, 65);
  --secondary-color: rgb(158, 200, 188);
  --font-size-large: 18px;
}

html {
  box-sizing: border-box;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

body {
  font-family: iransans;
}

nav {
  background-color: white;
}
.hero-section {
  position: relative;
  background-image: url("assets/images/slide.jpg");
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: none;
  color: white;
  padding-top: 5rem; /* فاصله از بالای صفحه برای هدر ثابت */
}
.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* پوشش تیره */
  z-index: 1;
}
.hero-section .container {
  z-index: 2;
}
.card-img-top-custom {
  width: 100px;
  height: 100px;
}

.icon-color {
  color: green;
}

.main-section {
  max-width: none;
  background-image: url("assets/images/bg2.jpg");
  background-repeat: repeat-x; /* فقط در جهت افقی تکرار شود */
}

.main-sectoion-top {
  border: 1px solid white;
  border-radius: 5px;
  padding: 30px;
  margin: 0px;
  background: linear-gradient(to bottom, #b3b3b3, #e5e5e5);
}
.main-sectoion-top-title {
  color: white;
  text-shadow: 1px 2px 3px black;
}
.main-sectoion-top-text {
  color: var(--main-color);
  text-align: justify;
  /* text-align-last: justify; */
}

.gradient-class {
  background: linear-gradient(to bottom, #b3b3b3, #e5e5e5);
  display: flex;
  flex-direction: row-reverse;
}
.card-title {
  color: white;
  text-shadow: 1px 1px 4px black;
}

.card-text {
  color: var(--main-color);
  font-size: 14px;
}

.footer-info {
  background-color: var(--secondary-color);
  padding: 40px 0;
}

.footer-rights {
  padding: 10px 0;
  background-color: var(--main-color);
}
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* جلوگیری از پرش منو */
}

.contact-us-bg {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    /* لایه تیره */ url("assets/images/bg-01.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.padding-0 {
  padding: 0;
}
.all-container {
  padding-top: 66px;
  background-color: #ecefec;
}

.contact-us-info {
  font-size: 20px;
  color: #e5e5e5;
  padding: 40px;
}

.search-input-container {
  width: 300px;
  position: absolute;
  top: 40px;
  right: -100px;
  display: none;
  /* مخفی به صورت پیش‌فرض */
  flex-direction: row;
  align-items: center;
  padding: 10px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 40px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.search-container {
  position: relative;
  display: inline-block;
}

@media (min-width: 1200px) {
  .search-input-container {
    right: 0px;
  }
}
.search-input {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  outline: none;
  margin-right: 5px;
}
.search-icon {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
.contact-us-flex {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.contact-form-container {
  max-width: 600px;
  margin: 50px auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.form-label {
  font-weight: bold;
  color: #495057;
}
.form-control,
.form-select {
  background-color: #f1f1f1;
  border: none;
  border-radius: 4px;
  padding: 12px;
}
.form-control:focus,
.form-select:focus {
  background-color: #e9e9e9;
  box-shadow: none;
  border: 1px solid #ced4da;
}
.btn-submit {
  background-color: var(--main-color);
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 4px;
}
.btn-submit:hover {
  background-color: #7b683d;
}

.contact-us-form-container {
  background-image: url("assets/images/bg2.jpg");
  background-repeat: repeat-x; /* فقط در جهت افقی تکرار شود */
}

/* body {
  margin: 0;
  font-family: "Tahoma", sans-serif;
  background-color: #f5f6fa;
  color: #333;
  line-height: 1.8;
} */

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 40, 80, 0.7), rgba(0, 40, 80, 0.7)),
    url("finance-bg.jpg") no-repeat center/cover;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 20px;
}
.btn-primary {
  background: #ffb400;
  color: #000;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}
.btn-primary:hover {
  background: #ffc933;
}

section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}
section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #002850;
}

/* Services */
.services .service-items{
  display: block;
}
.services .service-items .service{
  margin-top: 25px;
}

@media(min-width:768px){
.services .service-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

/* .services .service-items .service{
  margin-top: 25;
} */

}

.service {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}
.service h3 {
  color: #004080;
  margin-bottom: 10px;
}

/* Why Us */
.why-us ul {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: auto;
}
.why-us li {
  background:#ffffff;
  margin: 12px 0;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Stats */
.stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  text-align: center;
}
.stat-item {
  flex: 1 1 200px;
  margin: 10px;
}
.stat-item h3 {
  font-size: 2rem;
  color: #ffb400;
}

/* News */
.news article {
  background:#ffffff;
  padding: 20px;
  border-radius: 12px;
  margin: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.news h3 a {
  color: #004080;
  text-decoration: none;
}
.news h3 a:hover {
  text-decoration: underline;
}

/* Clients */
.clients .client-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.clients img {
  height: 120px;
  filter: grayscale(100%);
  transition: 0.3s;
}
.clients img:hover {
  filter: grayscale(0%);
}

.footer-rights-container {
  padding: 12px;
}

.hero-banner {
  position: relative; 
  /* width: 100%;
  height: 100%; 
  background-image: url('assets/images/main-slide-a.jpg'); 
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: relative;
  overflow: hidden; 
  display: flex;
  justify-content: center; 
  align-items: center;  */
}

.banner-logo {
  position: absolute; 
  right: 15%; /* در ابتدا لوگو را خارج از دید در سمت راست قرار می‌دهیم */
  transform: translateX(100%); /* لوگو کاملاً از دید خارج می‌شود */
  width: 20%; /* اندازه دلخواه برای لوگو */
  height: auto;
  cursor: pointer; /* نشانگر ماوس به حالت اشاره‌گر تغییر می‌کند */
  z-index: 10;
  top: 40%;
}

.hero-banner-bg {
  width: 100%;
  position: relative;

}

.container-justify-center{
justify-content: center;
}


.text-shadow{
  text-shadow: 1px 2px 3px black;
}

.advanced-child:nth-child(odd) {
  flex-direction: row-reverse;
}

.advanced-child{
padding: 2rem;
}
.single-advaned{
  margin-top: 7rem;
  padding: 0 2rem;;
}
.single-advaned-content{
  line-height: 28px;
  text-align: justify;
}
.single-advanced-img{
  max-width: 100%;
}

@media (max-width: 768px) {
  .single-advaned{
    margin-top: 1rem;
    padding: 0 2rem;;
  }
}

.hr-ser{
  width: 85%;
  height: 2px;
  background-color: #495057;
}
.font-black{
  font-size: 26px;
  color:#515151;
  font-family:  'iransansbold';
}


