section.about-us{
    margin-top: 32px;
}
section.about-us h1{
    font-size: 25px;
}
section.about-us span{
    color: #A90000;
    font-weight: bold;
    font-size: 20px;
}
section.about-us p{
    margin-top: 32px;
    line-height: 42px;
}
section.about-us img{
  border-radius: 10px;
}
section.about-us a.contact-us-btn{
    background: #A90000;
    color: #fff;
    border-radius: 10px;
    justify-content: center;
    display: flex;
    padding: 16px;
    width: 180px;
    transition: 0.5s;
}
section.about-us a.contact-us-btn:hover{
    background: transparent;
    color: #A90000;
    border-radius: 10px;
    justify-content: center;
    display: flex;
    padding: 16px;
    width: 180px;
    border: 1px solid #A90000;
    transition: 0.3s;
}
section.about-us a.contact-us-btn i{
    font-size: 16px;
    margin: 3px 16px 0 0;
}
section.services {
    margin-top: 64px;
}
section.services h2{
    text-align: right;
    font-size: 25px;
}
section.services .item{
    background: #ECECEC;
    padding: 16px;
    text-align: center;
    height: 450px;
    border-radius: 10px;
}
section.services .item img{
    border-radius: 10px;
    margin-bottom: 16px;
}
section.services .item span.name{
    font-size: 20px;
    margin-bottom: 16px;
    display: block;
    color: #A90000;
}
section.services .item p{
    font-size: 14px;
    color: #000;
}
section.services .description{
    text-align: right;
    color: #A90000;
}
section.brand{
    background: #27282B;
    padding: 32px 0 32px 0;
    margin-top: 64px;

}
section.brand img{
    height: 110px;
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    width: auto !important;
}
section.brand .owl-nav .owl-prev{
    color: #fff;
    position: absolute;
    left: -23px;
    top: 27%;
    font-size: 32px;
}
section.project .owl-nav .owl-prev{
    color: #000;
    position: absolute;
    left: -23px;
    top: 40%;
    font-size: 32px;
}
section.brand .owl-nav .owl-next{
    position: absolute;
    color: #fff;
    right: -23px;
    top: 27%;
    font-size: 32px;
}
section.project .owl-nav .owl-next{
    position: absolute;
    color: #000;
    right: -23px;
    top: 40%;
    font-size: 32px;
}
section.brand h2{
    font-size: 25px;
}
section.brand p{
    margin-bottom: 32px;
}
section.project .owl-theme .owl-nav [class*="owl-"]:hover{
    color: #000;
}
.owl-theme .owl-nav [class*="owl-"]:hover {
    background: transparent;
}
section.project{
    margin-top: 64px;
}
section.project h2{
    text-align: right;
    font-size: 25px;
}
section.project p{
    text-align: right;
    color: #A90000;
}
section.project a{
    position: relative;
    color: #000;
}
section.project span{
    display: block;
    text-align: right;
    position: relative;
    bottom: 43px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    padding: 10px;
    color: #fff;
    border-radius: 0 0 10px 10px;
}
section.project .owl-carousel img{
    border-radius: 10px;
}

section.content {
    position: relative; /* برای پوشش overlay */
    margin-top: 64px;
    background-image: url("../images/content-bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
    direction: rtl;
    padding: 32px 0;
    height: 400px;
    line-height: 32px;
    color: #fff; /* بهتره رنگ متن سفید باشه تا خواناتر باشه */
}
section.content p{
    margin-bottom: 64px;
}
section.content .overlay {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-color: rgba(0, 0, 0, 0.7); /* فیلتر تیره با شفافیت */
    z-index: 1;
}
section.content .container {
    position: relative;
    z-index: 2; /* محتوای بالای overlay */
}
section.content .item {
    color: #fff;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #fff;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
section.content .item i{
    display: block;
    font-size: 32px;
    margin-bottom: 16px;
    color: #fff;
}
section.content .item span{
    display: block;
    font-weight: bold;
    margin-bottom: 16px;
}
section.content .item strong{
 font-size: 20px;
}
section.last-news{
    margin-top: 64px;
    line-height: 32px;
}
section.last-news h2{
    text-align: right;
    font-size: 25px;
}
section.last-news p {
    text-align: right;
    color: #A90000;
    margin-bottom: 32px;
}
section.last-news a img{
    border-radius: 10px;
    margin-bottom: 16px;
}
section.last-news a strong{
    color: #000;
    margin-bottom: 16px;
    display: block;
}
section.last-news a p{
 text-align: justify;
    direction: rtl;
    color: #a1a1a1;
    font-size: 14px;
}
section.last-news .item{
    margin-bottom: 32px;
    box-shadow: 0 0 30px 0 rgba(0,0,0,.15);
    border-radius: 10px;
}
section.last-news .item a img{
    border-radius: 10px 10px 0 0;
}
section.last-news  .item a strong{
    padding-right: 16px;
}
section.last-news  .item a p{
    padding: 0 16px 16px 16px;
}
section.last-news .child-news .item{
    margin-bottom: 32px;
    box-shadow: 0 0 30px 0 rgba(0,0,0,.15);
    border-radius: 10px;
    height: 215px;
}
section.last-news .child-news .item a img{
    border-radius: 10px 10px 0 0;
}
section.last-news .child-news .item a strong{
    padding-right: 16px;
}
.tehran-map {
    margin-top: 32px;
    background: #f3f3f3;
    padding: 32px 0;
    direction: rtl;
}

.tehran-map h2 {
    text-align: center;
    font-size: 20px;
}

.tehran-map p {
    color: #a90000;
    margin-bottom: 64px;
    text-align: center;
}

.map-container {
    position: relative;
    height: 600px;
    background: url('https://next.amirandoors.com/wp-content/uploads/2025/11/teh-map.svg') no-repeat center center;
    background-size: cover;
}

.point {
    position: absolute;
    width: 15px;
    height: 15px;
    background: #848484;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.point:hover {
    transform: scale(1.3);
}

.tooltip-box {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 10;
    min-width: 200px;
    font-size: 14px;
    pointer-events: auto; /* 👈 این خط رو اصلاح کردیم */
}


.tooltip-box p {
    margin: 0 0 8px;
    color: #333;
    font-weight: bold;
}

.tooltip-box button {
    background-color: #a90000;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

@media (max-width: 768px) {
    section.services .item{
        height: 471px;
    }
        section.content {
            height: 1220px;
        
        }
                  section.content div.col-12.col-sm-3 {
                    margin-bottom: 32px;
                }
section.last-news .child-news .item {

    height: 245px;
}
footer .amirandoor-contact img{
    margin: auto;
        display: block;
}
.tehran-map {
    display: none;
}
.owl-carousel .owl-item img {
    display: block;
    width: 100% !important;
}
}