@import "reset.css";
@import "font.css";
@import "slick.css";
@import "slick-theme.css";

/**
--------------------------------------------------------------------------------------
------------------------ ************ Public Css ************ ------------------------
--------------------------------------------------------------------------------------
**/
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Peyda';
    overflow-x: hidden;
    transition: all 0.3s ease;
}

/* Body padding for better spacing */
body {
    padding: 0;
    margin: 0;
    min-height: 100vh;
}

/* Add padding to main content areas */
main {
    padding: 0 2rem;
}

/* Responsive padding adjustments */
@media (max-width: 768px) {
    main {
        padding: 0 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    main {
        padding: 0 2.5rem;
    }
}

@media (min-width: 1025px) {
    main {
        padding: 0 2.5rem;
    }
}

body.menu-open {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.container_fluid {
    width: 100%;
}

.pull_left {
    float: left;
}

.pull_right {
    float: right;
}

.clearfix {
    clear: both;
}

.container {
    width: 1000px;
    margin: 0 auto;
}

.col_1 {
    width: 8.33%;
}

.col_2 {
    width: 16.66%;
}

.col_3 {
    width: 25%;
}

.col_4 {
    width: 33.33%;
}

.col_5 {
    width: 41.66%;
}

.col_6 {
    width: 50%;
}

.col_7 {
    width: 58.33%;
}

.col_8 {
    width: 66.66%;
}

.col_9 {
    width: 75%;
}

.col_10 {
    width: 83.33%;
}

.col_11 {
    width: 91.63%;
}

.col_12 {
    width: 100%;
}

:root {
    --orage-color: #f6ab36;
    --navy-color: #1c2a51;
}

header {
    padding: 20px;
    background-color: #ffffff;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 30;
}

.header_logo {
    float: right;
    width: 150px;
}

.header_menu {
    margin: 0 auto;
    display: table;
    position: absolute;
    right: 0;
    left: 0;
}

.header_menu ul li {
    float: right;
    padding: 20px 25px;
}

.header_menu ul li a {
    font-size: 16px;
    font-weight: 600;
    transition: all .5s linear;
}

.contact_us_button {
    float: left;
    padding: 16px 0 0 0;
    transition: all .2s ease-in-out;
}

.contact_us_button:hover {
    transform: scale(1.1);
}

.contact_us_button a {
    background-color: #f6ab36;
    color: #ffffff;
    padding: 3px 30px;
    display: block;
    border-radius: 20px;
}

.mobile-menu-open {
    background-color: #f6ab36;
    color: #ffffff;
    padding: 3px 30px;
    border-radius: 20px;
    float: left;
    margin: 16px 0 0 0;
    display: none;
}

.mobile-menu-frame {
    position: fixed;
    background: var(--navy-color);
    width: 100%;
    height: 100%;
    z-index: 1000;
    top: 0px;
    right: 0px;
    display: none;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-frame.show {
    opacity: 1;
}

.mobile-menu-frame ul {
    margin-top: 50px;
}

.mobile-menu-frame ul li {
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    animation: slideInUp 0.3s ease forwards;
}

.mobile-menu-frame ul li:nth-child(1) {
    animation-delay: 0.1s;
}

.mobile-menu-frame ul li:nth-child(2) {
    animation-delay: 0.2s;
}

.mobile-menu-frame ul li:nth-child(3) {
    animation-delay: 0.3s;
}

.mobile-menu-frame ul li:nth-child(4) {
    animation-delay: 0.4s;
}

.mobile-menu-frame ul li:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes slideInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mobile-menu-frame ul li:not(:last-child) {
    border-bottom: 1px solid rgb(255 255 255 / 15%);
}

.mobile-menu-frame ul li a {
    display: block;
    padding: 20px 15px;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 5px 0;
}

.mobile-menu-frame ul li a:hover,
.mobile-menu-frame ul li a:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: #f6ab36;
    transform: translateX(-5px);
}

.mobile-menu-close {
    width: 55px;
    height: 55px;
    border: 2px solid rgb(255 255 255 / 70%);
    border-radius: 100%;
    text-align: center;
    margin: 0 auto 25px;
    color: rgb(255 255 255 / 70%);
    font-size: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.mobile-menu-close:hover {
    border-color: #f6ab36;
    color: #f6ab36;
    transform: rotate(90deg);
}

#home_banner {
    min-height: 400px;
    background-image: url("../images/home/banner.jpg");
    background-size: cover;
    padding: 120px 0;
    background-position: left;
}

.home_banner_detail {
    width: 490px;
    margin-right: 100px;
}

@media (max-width: 768px) {
    .home_banner_detail {
        width: 100%;
        margin-right: auto;
    }
}

#home_banner h1,
#home_banner h2 {
    font-size: 52px;
    font-weight: 700;
    color: #ffffff;
}

.home_banner_buttons img {
    width: 30px;
    vertical-align: middle;
    margin: 0 15px 0 0;
}

.home_banner_button1 {
    background-color: #ffffff;
    color: #1d2c51;
    box-shadow: 0 0 15px #e88c1b;
    width: 236px;
    padding: 12px 20px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 40px;
    float: right;
    height: 52px;
}

.home_banner_button2 {
    background-color: #ffbe50;
    color: #1d2c51;
    box-shadow: 0 0 15px #e88c1b;
    width: 210px;
    padding: 12px 20px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 40px;
    float: left;
    height: 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home_banner_button2 div {
    font-weight: 700;
}

.home_banner_buttons {
    margin: 30px 0 0 0;
}

#story_first_row {
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
    overflow: hidden;
}

.story_main_slider {
    background-position: center;
    background-size: cover;
    height: calc(100vh - 100px);
}

.story_main_slider_one {
    background-image: url("../images/story/1.svg");
}

#story_second_row .container {
    padding: 40px 0 80px;
}

.story_poem {
    padding-bottom: 50px;
}

.story_poem span {
    font-weight: 600;
    color: var(--orage-color);
}

.story_poem .col_6 {
    font-size: 18px;
    color: var(--navy-color);
}

.story_poem .poem_underline {
    width: 60%;
    margin: 20px auto 0;
}

.story_poem .pull_right {
    text-align: left;
    padding-left: 3%;
    word-break: break-all;
}

.story_poem .pull_left {
    text-align: right;
    padding-right: 3%;
}

.story_creation .top_section {
    margin-bottom: 30px;
}

.story_creation .top_section .col_7 {
    padding-right: 50px;
    padding-top: 60px;
}

.story_creation_title {
    color: var(--orage-color);
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 15px;
}

.story_creation_content {
    margin-bottom: 20px;
    position: relative;
}

.story_creation_content p {
    font-size: 16px;
    font-weight: 500;
    color: var(--navy-color);
    text-align: justify;
}

.story_creation_question {
    font-weight: 700;
    color: var(--navy-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.story_creation_content.border_attached {
    padding-right: 20px;
}

.story_creation_content.border_attached::before {
    content: ".";
    width: 7px;
    height: 100%;
    position: absolute;
    background-image: url("../images/story/4.svg");
    background-repeat: no-repeat;
    right: 0;
    top: 0;
    color: var(--orage-color);
}

.story_vision {
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 10px 15px 10px #e7e7e7;
    background: #ffffff;
    margin: 30px -40px 0;
}

.story_vision .col_11 {
    padding: 0 30px 0 0;
}

.story_vision .col_10 {
    padding-right: 30px;
}

.story_vision_title {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-color);
    margin-bottom: 5px;
}

.story_vision_subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--orage-color);
    margin-bottom: 20px;
}

.story_vision_content {
    font-size: 16px;
    font-weight: 500;
    color: var(--navy-color);
    text-align: justify;
}

.story_values {
    padding-top: 60px;
}

.story_values_title {
    background-color: var(--orage-color);
    color: #ffffff;
    border-radius: 30px;
    padding: 5px 30px;
    font-size: 22px;
    font-weight: 700;
    height: 40px;
    margin-right: 30px;
}

.story_values_dropdown,
.story_gallery_dropdown {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background-color: var(--orage-color);
    color: #fff;
    transform: rotate(270deg);
    font-size: 25px;
    text-align: center;
    padding-top: 3px;
}

.story_values_content {
    padding-left: 40px;
    padding-right: 20px;
}

.story_values_content p {
    color: var(--navy-color);
    font-size: 16px;
    font-weight: 500;
    position: relative;
}

.story_values_content p:not(:last-child) {
    border-right: 1px solid #f6ab36;
}

.story_values_content p::before {
    content: " ";
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: var(--orage-color);
    position: absolute;
    right: -6px;
    top: 0;
}

.story_values_content p {
    padding-bottom: 20px;
    padding-right: 20px;
}

.story_values_content p:first-child {
    padding-top: 25px;
}

.story_values_content p:first-child::before {
    top: 30px;
}

.story_values_flag {
    width: 200px;
}

#story_forth_row {
    padding: 50px 0 0 0;
}

#story_third_row {
    background-color: var(--navy-color);
    height: 550px;
}

.story_team_head {
    text-align: center;
}

.story_team_head {
    display: table;
    margin: 0 auto;
    padding: 60px 0 40px;
}

.story_team_head_text {
    font-size: 30px;
    color: #ffffff;
    font-weight: 700;
    padding: 0 10px;
}

.story_team_head_line {
    width: 80px;
    padding-top: 15px;
}

.story_team_video {
    height: 560px;
    background: var(--orage-color);
    border-radius: 35px;
    overflow: hidden;
}

#story_forth_row .container {
    padding: 130px 0 80px;
}

.story_team_slider {
    padding: 0 60px;
}

.story_team_slider_mobile {
    display: none;
}

.story_team_member {
    padding: 20px;
}

.story_team_picture {
    background: #e8efff;
    height: 185px;
    border-radius: 100px;
    margin-bottom: 20px;
    padding: 20px;
    overflow: hidden;
}

.story_team_name {
    color: var(--navy-color);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.story_team_position {
    font-size: 15px;
    text-align: center;
    color: var(--navy-color);
}

.story_team_slider .slick-slide {
    height: inherit;
}

[dir='rtl'] .story_team_slider .slick-prev {
    /*background-color: var(--navy-color);*/
    /*width: 40px;*/
    /*height: 40px;*/
    /*border-radius: 100%;*/
    right: 0;
}

[dir='rtl'] .story_team_slider .slick-prev:before {
    content: "";
    background-image: url("../images/arrow-right.svg");
    width: 40px;
    height: 40px;
    display: block;
}

[dir='rtl'] .story_team_slider .slick-next {
    /*background-color: var(--navy-color);*/
    /*width: 40px;*/
    /*height: 40px;*/
    /*border-radius: 100%;*/
    left: 0;
}

[dir='rtl'] .story_team_slider .slick-next:before {
    content: '';
    background-image: url("../images/arrow-left.svg");
    width: 40px;
    height: 40px;
    display: block;
}

.slick-prev,
.slick-next {
    top: 40%;
}

.slick-prev:before,
.slick-next:before {
    opacity: 1;
}

.story_gallery_head {
    top: 20px;
    position: relative;
    z-index: 4;
}

.story_gallery_title {
    background-color: var(--orage-color);
    color: #ffffff;
    border-radius: 30px;
    padding: 5px 50px;
    font-size: 22px;
    font-weight: 700;
    height: 40px;
    margin-left: 30px;
}

.story_gallery_picture {
    background-color: #eee;
    /*height: 600px;*/
}


.story_gallery_slider .slick-dots {
    bottom: 25px;
}

.story_gallery_slider .slick-dots li {
    border: 1px solid #fff;
    border-radius: 100%;
    width: 15px;
    height: 15px;
}

.story_gallery_slider .slick-dots li button:before {
    color: transparent;
}

.story_gallery_slider li.slick-active {
    background-color: #fff;
}

#story_fifth_row .slick-dotted.slick-slider {
    margin-bottom: inherit;
}

footer {
    background-color: var(--navy-color);
}

.footer_right_section {
    height: 100%;
    background-color: var(--orage-color);
    border-top-left-radius: 40px;
}

#hami_top_banner {
    background-image: url(../images/hami/back-hami.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #102552;
    height: 550px;
    position: relative;
}

.hami-box {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #fdfdfd;
    padding: 4rem 0;
    border-radius: 35px;
    margin-top: -140px;
    z-index: 34;
    position: relative;
    flex-direction: column;
    box-shadow: 5px 5px 5px rgb(196 196 196 / 18%);
}

.hami-text {
    width: 60%;
    padding-left: 2vw;
    color: var(--navy-color);
}

.hami-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hami-text p {
    font-weight: 200;
    line-height: 2rem;
    padding-left: 2vw;
}

.row {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.hami-form {
    margin-top: 3rem;
    width: 75%;
}

.hami-form-left {
    width: 50%;
    gap: 10px;
    display: flex;
    flex-direction: column;
}

.hami-form-right {
    width: 50%;
    margin-left: 50px;
}

.hami-form-left p {
    margin: 10px 0;
    font-size: x-small;
}

.hami-mablagh input {
    width: 100%;
    background-color: #F5F5F7;
    padding: 10px 20px;
    border-radius: 5px;
    height: 50px;
    border: unset;
    text-align: center;
    font-size: large;
}

button.sahimbtn {
    background-color: #F9B845;
    padding: 10px 40px;
    border-radius: 5px;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    font-weight: 700;
    border: solid 2px #F9B845;
}

input[type="text"] {
    box-sizing: border-box;
    width: 100%;
    height: calc(3em + 2px);
    margin: 0 0 1em;
    padding: 1em;
    border: 1px solid #ccc;
    border-radius: 0.5em;
    background: #fff;
    resize: none;
    outline: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

input[type="text"][required]:focus {
    border-color: var(--orage-color);
}

input[type="text"][required]:focus+label[placeholder]:before {
    color: var(--orage-color);
}

input[type="text"][required]:focus+label[placeholder]:before,
input[type="text"][required]:valid+label[placeholder]:before {
    transition-duration: 0.2s;
    transform: translate(0, -1.5em) scale(0.9, 0.9);
}

input[type="text"][required]:invalid+label[placeholder][alt]:before {
    content: attr(alt);
}

input[type="text"][required]+label[placeholder] {
    display: block;
    pointer-events: none;
    line-height: 1.25em;
    margin-top: calc(-3em - 2px);
    margin-bottom: calc((3em - 1em) + 2px);
}

input#textareaaa[type="text"][required]+label[placeholder] {
    display: block;
    pointer-events: none;
    line-height: 1.25em;
    margin-bottom: 200px;
    margin-top: -200px;
}

input[type="text"][required]+label[placeholder]:before {
    content: attr(placeholder);
    display: inline-block;
    margin: 0 calc(1em + 2px);
    padding: 0 2px;
    color: #898989;
    white-space: nowrap;
    transition: 0.3s ease-in-out;
    background-image: linear-gradient(to bottom, #fff, #fff);
    background-size: 100% 5px;
    background-repeat: no-repeat;
    background-position: center;
}

#barnameha_top_banner {
    background-color: #102552;
    height: 600px;
    position: relative;
}

#barnameha {
    padding: 200px 0 100px 0;
    z-index: 1;
    background: rgb(255, 255, 255);
    position: relative;
}

.barnameha_sun {
    position: absolute;
    width: 800px;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: 0;
}

.barnameha_sun img {
    z-index: 0;
}


.barnameha_row {
    display: flex;
    position: absolute;
    right: 0;
    left: 0;
    bottom: -110px;
    width: 1000px;
    margin: 0 auto;
    z-index: 2;
    flex-wrap: wrap;
}

.barnameha_col {
    float: right;
    width: 20%;
    padding: 0 5px;
}

.barnameha_box {
    border-radius: 35px;
    background-color: #ffffff;
    padding: 30px;
    box-shadow: 5px 0 20px rgb(0 0 0 / 10%);
}

.barnameha_icon {
    width: 60px;
    height: 52px;
    margin: 0 auto 10px auto;
    display: flex !important;
    flex-direction: column;
    justify-content: space-around;
}

.barnameha_title {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
}

.ehya_title {
    color: #3a7bbe;
}

.ahrom_title {
    color: #1cb5ba;
}

.javane_title {
    color: #4a277b;
}

.barnameha_view_more {
    padding: 9px 25px;
    background-color: #1e294c;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    display: table;
    margin: 15px auto 0 auto;
    border-radius: 40px;
    transition: all .3s ease-in-out;
}

.barnameha_view_more:hover {
    transform: scale(1.1);
}

.barnameha_main_col {
    width: 50%;
}

.barnameha_main_col_content {
    padding: 20px 0;
}

.barnameha_main_image {
    width: 400px;
    margin: 0 auto;
}

.barnameha_main_image img {
    width: 100%;
}

.barnameha_main_title {
    font-size: 26px;
    font-weight: 700;
}

.barnameha_main_sub_title {
    font-size: 20px;
    font-weight: 600;
}

.barnameha_main_content {
    padding: 25px 40px 25px 0;
    font-size: 15px;
    font-weight: 600;
    text-align: justify;
    position: relative;
    margin: 20px 0 0 0;
}

.barnameha_main_content:before {
    content: '';
    background-size: cover;
    width: 8px;
    height: 161px;
    position: absolute;
    top: 0;
    right: 0;
}

.barnameha_see_more_button {
    background-color: #1c2a51;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    display: table;
    padding: 5px 20px;
    border-radius: 40px;
    float: left;
}

.barnameha_see_more_button img {
    width: 10px;
    margin: 0 5px 0 0;
    vertical-align: middle;
}

.barnameha_main_row_javane .barnameha_main_sub_title,
.barnameha_main_row_javane .barnameha_main_title {
    color: #4c1c7f;
}

.barnameha_main_row_javane .barnameha_main_content:before {
    background-image: url(../images/barname/11.svg);
}

.barnameha_main_row_maher .barnameha_main_sub_title,
.barnameha_main_row_maher .barnameha_main_title {
    color: #5d3b8e;
}

.barnameha_main_row_maher .barnameha_main_content:before {
    background-image: url(../images/barname/11.svg);
}

.barnameha_main_row_maher .b_button {
    background-color: #5d3b8e;
}

.barnameha_main_row_sharyan .b_button {
    background-color: #47a025;
}

.barnameha_main_row_sharyan .barnameha_main_sub_title,
.barnameha_main_row_sharyan .barnameha_main_title {
    color: #47a025;
}

.barnameha_main_row_ketab .barnameha_main_content:before {
    background-image: url(../images/barname/15.svg);
}

.barnameha_main_row_ketab .b_button {
    background-color: #7189FF;
}

.barnameha_main_row_ketab .barnameha_main_sub_title,
.barnameha_main_row_ketab .barnameha_main_title {
    color: #7189FF;
}

.barnameha_main_row_yara .barnameha_main_sub_title,
.barnameha_main_row_yara .barnameha_main_title {
    color: #c0874f;
}

.barnameha_main_row_yara .barnameha_main_content:before {
    background-image: url(../images/barname/14.svg);
}


.barnameha_main_row_yara .b_button {
    background-color: #c0874f;
}

.barnameha_main_row_sharyan .barnameha_main_content:before {
    background-image: url(../images/barname/12.svg);
}


.barnameha_main_row_ahrom .barnameha_main_sub_title,
.barnameha_main_row_ahrom .barnameha_main_title {
    color: #06b8bc;
}

.barnameha_main_row_ahrom .barnameha_main_content:before {
    background-image: url(../images/barname/6.svg);
}

.barnameha_main_row_ehya .barnameha_main_sub_title,
.barnameha_main_row_ehya .barnameha_main_title {
    color: #0086f7;
}

.barnameha_main_row_ehya .barnameha_main_content:before {
    background-image: url(../images/barname/9.svg);
}

#maher_first_row {
    background-image: url(../images/maher/texture.svg), linear-gradient(90deg, #E77F67 0%, #E15F41 100%);
    background-position: center;
    background-size: cover;
}

#maher_second_row {
    background-color: #F7ECE7;
    padding-top: 5em;
}

.program_intro {
    padding-top: 130px;
    height: 600px;
    position: relative;
}

.program_intro_image {
    width: 415px;
}

.program_intro_content {
    padding-left: 40px;
    padding-top: 1em;
}

.program_intro_name {
    font-size: 60px;
    font-weight: 700;
    color: #ffffff;
}

.program_intro_slang {
    font-size: 26px;
    font-weight: 500;
    color: #ffffff;
    text-align: justify;
    line-height: 30px;
    margin-bottom: 20px;
}

.program_intro_action {
    padding: 20px 0;
}

.program_intro_video {
    text-align: left;
}

.program_intro_line {
    padding-top: 8px;
    padding-left: 25px;
}

.program_intro_video a {
    background-color: #f6ac36;
    color: var(--navy-color);
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
}

.program_intro_video a span {
    margin-left: 5px;
}

.program_intro_statistics {
    margin: 0 -10px;
    position: absolute;
    width: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.program_intro_statistics .col_3 {
    padding: 0 10px;
}

.program_intro_statistics .frame {
    background-color: #ffffff;
    padding: 25px 20px;
    border-radius: 20px;
    height: 110px;
}

.program_intro_statistics .sign {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-color: var(--navy-color);
}

.program_intro_statistics .content {
    padding-right: 8px;
}

.program_intro_statistics .title {
    color: var(--navy-color);
    font-size: 15px;
    line-height: 17px;
    font-weight: 700;
    height: 40px;
}

.program_intro_statistics .value {
    color: var(--navy-color);
    font-size: 13px;
    font-weight: 600;
}

.program_troubleshoot {
    padding: 60px 0 60px;
}

.program_troubleshoot_question {
    font-weight: 700;
    color: var(--navy-color);
    margin-bottom: 10px;
    font-size: 22px;
}

.program_troubleshoot_content p {
    color: var(--navy-color);
    font-size: 16px;
    line-height: 25.6px;
    font-weight: 500;
    text-align: justify;
}

.program_solution {
    width: 850px;
    margin: 0 auto -62px;
    border-top: 2px solid var(--navy-color);
    position: relative;
}

.program_solution .story_howitworks_dropdown {
    position: absolute;
    left: 0;
    top: -20px;
}

.program_solution_head {
    display: table;
    margin: 0 auto;
    padding: 60px 0 40px;
}

.program_solution_head_text {
    font-size: 30px;
    color: var(--navy-color);
    font-weight: 700;
    padding: 0 10px;
}

.program_solution_head_line {
    width: 80px;
    padding-top: 15px;
}

.program_solution_item .sign {
    width: 124px;
    height: 124px;
    border-radius: 100%;
    padding: 12px;
}

.program_solution_item.first {
    margin-bottom: 40px;
}

.program_solution_item.first .frame {
    padding-right: 30px;
}

.program_solution_item:last-child .frame {
    padding-left: 30px;
}

.program_solution_item .text {
    border-radius: 60px;
    height: 124px;
    padding: 10px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
}

.program_solution_item .title {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 16px;
}

.program_solution_item .content {
    font-size: 13px;
    color: var(--navy-color);
    justify-content: center;
}

.program_solution_item .content p {
    font-weight: 500;
}

.program_program {
    width: 700px;
    margin: 0 auto;
    padding: 120px 0 60px;
}

.program_program_title {
    font-size: 35px;
    font-weight: 700;
    color: #ffffff;
    line-height: 33px;
    display: table;
    position: relative;
    overflow: hidden;
}

.program_program_title img {
    position: absolute;
    left: -65px;
    bottom: -65px;
}

ul.program_program_content li {
    color: #ffffff;
    font-size: 15px;
    font-weight: 300;
    padding: 10px 40px 10px 0;
    position: relative;
}

ul.program_program_content li::before {
    content: " ";
    width: 15px;
    height: 15px;
    background-color: var(--orage-color);
    position: absolute;
    border-radius: 100%;
    border: 4px solid var(--navy-color);
    right: -7px;
    top: calc(50% - 7px);
    z-index: 1000;
    box-shadow: 0 0 0 2px #ffffff;
}

ul.program_program_content li:not(:last-child)::after {
    content: " ";
    width: 1px;
    height: 60px;
    background-color: #ffffff;
    position: absolute;
    right: 0;
}

.program_howitworks_head {
    margin-bottom: 40px;
    position: relative;
}

.program_head_assistant {
    position: relative;
    z-index: 1000;
    display: table;
    top: -20px;
}

.program_howitworks_headline {
    height: 3px;
    background-color: var(--navy-color);
    position: absolute;
    width: 100%;
    top: calc(50% - 22px);
}

.program_howitworks_head_text {
    background-color: var(--navy-color);
    font-size: 17px;
    color: #ffffff;
    display: table;
}

.program_howitworks_title {
    background-color: var(--orage-color);
    color: #ffffff;
    border-radius: 30px;
    padding: 5px 30px;
    font-size: 22px;
    font-weight: 700;
    height: 40px;
    margin-left: 10px;
}

.program_head_assistant .story_howitworks_dropdown {
    background-color: var(--orage-color);
}

.program_howitworks_frame {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
}

.program_howitworks_item {
    padding: 5px;
    flex: 1;
}

.program_howitworks_item img {
    margin-bottom: 10px;
}

.program_howitworks_item p {
    font-size: 16px;
    font-weight: 500;
    color: var(--navy-color);
    text-align: justify;
}

.program_howitworks {
    padding-bottom: 60px;
}

.maher_shadow {
    box-shadow: 1px 2px 30px #E15F41;
}

.maher_back {
    background-color: #E15F41;
}

.maher_border {
    border: 1px solid #E15F41;
}

.maher_page_title {
    color: #E15F41;
}

#maher_fourth_row {
    background-color: var(--navy-color);
}

#maher_fifth_row {
    background-color: #f5ffff;
}

#maher_seven_row {
    background-color: var(--navy-color);
    height: 650px;
    margin-bottom: 300px;
}


#ahrom_first_row {
    background-image: url(../images/ahrom/texture.svg), linear-gradient(90deg, #04a4a7 0%, #018687 100%);
}

.ahrom_intro {
    padding-top: 130px;
    height: 600px;
    position: relative;
}

.ahrom_intro_image {
    width: 415px;
}

.ahrom_intro_content {
    padding-left: 40px;
    padding-top: 1em;
}

.ahrom_intro_name {
    font-size: 60px;
    font-weight: 700;
    color: #ffffff;
}

.ahrom_intro_slang {
    font-size: 26px;
    font-weight: 500;
    color: #ffffff;
    text-align: justify;
    line-height: 30px;
    margin-bottom: 20px;
}

.ahrom_intro_action {
    padding: 20px 0;
}

.ahrom_intro_line {
    padding-top: 8px;
    padding-left: 25px;
}

.ahrom_intro_video {
    text-align: left;
}

.ahrom_intro_video a {
    background-color: #f6ac36;
    color: var(--navy-color);
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 1px 2px 30px #005e5e;
    font-weight: 600;
}

.ahrom_intro_video a span {
    margin-left: 5px;
}



.javaneh_intro_statistics {
    margin: 0 -10px;
    position: absolute;
    width: 100%;
    bottom: -55px;
    z-index: 2;
}

.javaneh_intro_statistics .col_3 {
    padding: 0 10px;
}

.javaneh_intro_statistics .frame {
    background-color: #ffffff;
    padding: 25px 20px;
    border-radius: 20px;
    height: 110px;
}

.javaneh_intro_statistics .sign {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-color: var(--navy-color);
}

.javaneh_intro_statistics .content {
    padding-right: 8px;
}

.javaneh_intro_statistics .title {
    color: var(--navy-color);
    font-size: 15px;
    line-height: 17px;
    font-weight: 700;
    height: 40px;
}

.javaneh_intro_statistics .value {
    color: var(--navy-color);
    font-size: 13px;
    font-weight: 600;
}

.ahrom_intro_statistics {
    margin: 0 -10px;
    position: absolute;
    width: 100%;
}

.ahrom_intro_statistics .col_3 {
    padding: 0 10px;
}

.ahrom_intro_statistics .frame {
    background-color: #ffffff;
    padding: 25px 20px;
    border-radius: 20px;
    height: 110px;
}

.ahrom_intro_statistics .sign {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-color: var(--navy-color);
}

.ahrom_intro_statistics .content {
    padding-right: 8px;
}

.ahrom_intro_statistics .title {
    color: var(--navy-color);
    font-size: 15px;
    line-height: 17px;
    font-weight: 700;
    height: 40px;
}

.ahrom_intro_statistics .value {
    color: var(--navy-color);
    font-size: 13px;
    font-weight: 600;
}

#ahrom_second_row {
    background-color: #e2fffd;
    padding-top: 5em;
}

.ahrom_troubleshoot {
    padding: 120px 0 60px;
}

.ahrom_troubleshoot_question {
    font-weight: 700;
    color: var(--navy-color);
    margin-bottom: 10px;
    font-size: 22px;
}

.ahrom_troubleshoot_content p {
    color: var(--navy-color);
    font-size: 16px;
    line-height: 25.6px;
    font-weight: 500;
    text-align: justify;
}

.ahrom_solution {
    width: 850px;
    margin: 0 auto -62px;
    border-top: 2px solid var(--navy-color);
    position: relative;
}

.ahrom_solution .story_howitworks_dropdown {
    position: absolute;
    left: 0;
    top: -20px;
}

.ahrom_solution_head {
    display: table;
    margin: 0 auto;
    padding: 60px 0 40px;
}

.ahrom_solution_head_text {
    font-size: 30px;
    color: var(--navy-color);
    font-weight: 700;
    padding: 0 10px;
}

.ahrom_solution_head_line {
    width: 80px;
    padding-top: 15px;
}

.ahrom_solution_item .sign {
    background-color: #06b8bc;
    width: 124px;
    height: 124px;
    border-radius: 100%;
    padding: 12px;
}

.ahrom_solution_item.first {
    margin-bottom: 40px;
}

.ahrom_solution_item.first .frame {
    padding-right: 30px;
}

.ahrom_solution_item:last-child .frame {
    padding-left: 30px;
}

.ahrom_solution_item .text {
    border: 1px solid #06b8bc;
    border-radius: 60px;
    height: 124px;
    padding: 10px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
}

.ahrom_solution_item .title {
    font-weight: 700;
    color: #06b8bc;
    margin-bottom: 5px;
    font-size: 16px;
}

.ahrom_solution_item .content {
    font-size: 13px;
    color: var(--navy-color);
    justify-content: center;
}

.ahrom_solution_item .content p {
    font-weight: 500;
}

#ahrom_fourth_row {
    background-color: var(--navy-color);
}

.ahrom_program {
    width: 700px;
    margin: 0 auto;
    padding: 120px 0 60px;
}

.ahrom_program_title {
    font-size: 35px;
    font-weight: 700;
    color: #ffffff;
    line-height: 33px;
    display: table;
    position: relative;
    overflow: hidden;
}

.ahrom_program_title img {
    position: absolute;
    left: -65px;
    bottom: -65px;
}

ul.ahrom_program_content li {
    color: #ffffff;
    font-size: 15px;
    font-weight: 300;
    padding: 10px 40px 10px 0;
    position: relative;
}

ul.ahrom_program_content li::before {
    content: " ";
    width: 15px;
    height: 15px;
    background-color: var(--orage-color);
    position: absolute;
    border-radius: 100%;
    border: 4px solid var(--navy-color);
    right: -7px;
    top: calc(50% - 7px);
    z-index: 1000;
    box-shadow: 0 0 0 2px #ffffff;
}

ul.ahrom_program_content li:not(:last-child)::after {
    content: " ";
    width: 1px;
    height: 60px;
    background-color: #ffffff;
    position: absolute;
    right: 0;
}

.ahrom_tablet {
    margin-bottom: 70px;
}

.ahrom_tablet_table {
    padding-left: 50px;
}

.ahrom_tablet_picture {
    height: 362px;
    position: relative;
}

.ahrom_tablet_picture img {
    height: 100%;
    max-width: inherit;
    width: auto;
}

.ahrom_tablet table {
    background-color: #d1e9eb;
    width: 100%;
    border-radius: 40px;
}

.ahrom_tablet thead {
    background-color: #d1e9eb;
}

.ahrom_tablet thead th:last-child {
    border-top-left-radius: 40px;
    /*border-bottom-left-radius: 40px;*/
}

.ahrom_tablet thead th:first-child {
    border-top-right-radius: 40px;
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
    background-color: #afdcdf;
}

.ahrom_tablet thead th {
    font-weight: 600;
    font-size: 16px;
    color: #2ec3c7;
    text-align: center;
    vertical-align: middle;
    padding: 15px;
}

.ahrom_tablet tr td:first-child {
    background-color: #d1e9eb;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 600;
    font-size: 16px;
    color: #2ec3c7;
}

.ahrom_tablet tr:last-child td:first-child {
    border-bottom-right-radius: 40px;
    border-bottom-left-radius: 40px;
}

.ahrom_tablet td {
    text-align: center;
    vertical-align: middle;
    padding: 25px 40px;
    font-size: 14px;
    background-color: #ffffff;
    font-weight: 500;
}

#ahrom_sixth_row {
    background-color: #f5ffff;
}

.ahrom_howitworks_head {
    margin-bottom: 40px;
    position: relative;
}

.ahrom_head_assistant {
    position: relative;
    z-index: 1000;
    background: #fff;
    display: table;
    top: -20px;
}

.ahrom_howitworks_headline {
    height: 3px;
    background-color: var(--navy-color);
    position: absolute;
    width: 100%;
    top: calc(50% - 22px);
}

.ahrom_howitworks_head_text {
    background-color: var(--navy-color);
    font-size: 17px;
    color: #ffffff;
    display: table;
}

.ahrom_howitworks_title {
    background-color: var(--navy-color);
    color: #ffffff;
    border-radius: 30px;
    padding: 5px 30px;
    font-size: 22px;
    font-weight: 700;
    height: 40px;
    margin-left: 10px;
}

.story_howitworks_dropdown {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background-color: var(--navy-color);
    color: #fff;
    transform: rotate(270deg);
    font-size: 25px;
    text-align: center;
    padding-top: 3px;
}

.ahrom_howitworks_item {
    width: 20%;
    padding: 5px;
}

.ahrom_howitworks_item img {
    margin-bottom: 10px;
}

.ahrom_howitworks_item p {
    font-size: 16px;
    font-weight: 500;
    color: var(--navy-color);
    text-align: justify;
}

.ahrom_howitworks {
    padding-bottom: 60px;
}

.ahrom_boors .col_6.pull_left {
    padding-right: 40px;
}

.ahrom_boors_title {
    font-size: 30px;
    font-weight: 700;
    margin: 20px 0;
    color: var(--navy-color);
}

.ahrom_boors_underline {
    margin-bottom: 30px;
}

.ahrom_boors_underline img {
    width: 100%;
}

.ahrom_boors_sign {
    width: 20px;
}

.ahrom_boors_text {
    width: calc(100% - 20px);
    padding-right: 10px;
    font-size: 16px;
    color: var(--navy-color);
}

.ahrom_boors ul li:not(:last-child) {
    margin-bottom: 20px;
}

.ahrom_boors {
    padding: 60px 0;
}

.ahrom_skills {
    border-radius: 60px;
}

.ahrom_skills .col_3 {
    height: 280px;
}

.ahrom_skills .col_3.prior {
    background-color: var(--orage-color);
    color: #262e52;
}

.ahrom_skills .col_3 .floor {
    height: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    text-align: center;
    font-weight: 600;
    position: relative;
}

.ahrom_skills .col_3.prior {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    text-align: center;
    font-weight: 700;
    border-top-right-radius: 30px;
}

.ahrom_skills .prior img {
    width: 45%;
    margin-bottom: 10px;
}

.floor.type_one {
    background-color: #affffa;
    color: #010103;
}

.floor.type_two {
    background-color: #007272;
    color: #dbfffb;
}

.floor.type_three {
    background-color: #dbfffb;
    color: #010103;
}

.floor.type_four {
    background-color: #00c8c8;
    color: #010103;
}

.floor.type_five {
    background-color: #f5ffff;
    color: #010103;
}

.floor.arrow_right::before {
    content: '';
    border-style: solid;
    border-width: 10px 15px 10px 0;
    border-color: transparent #f5ffff transparent transparent;
    position: absolute;
    left: -15px;
    z-index: 1000;
}

.floor.arrow_left::before {
    content: '';
    border-style: solid;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent #00c8c8;
    position: absolute;
    right: -15px;
    z-index: 1000;
}

.floor.arrow_down::before {
    content: '';
    border-style: solid;
    border-width: 15px 10px 0 10px;
    border-color: #dbfffb transparent transparent transparent;
    position: absolute;
    bottom: -15px;
    z-index: 1000;
}

.floor.type_one.arrow_down::before {
    border-color: #affffa transparent transparent transparent;
}

.floor img.sign {
    height: 100%;
}

.floor img.kid {
    margin-top: -35px;
}

.floor img.person {
    margin-top: -33px;
}

.floor.top_left_radius {
    border-top-left-radius: 30px;
}

.floor.bottom_left_radius {
    border-bottom-left-radius: 30px;
}

.floor.bottom_right_radius {
    border-bottom-right-radius: 30px;
}

.ahrom_skills {
    padding-bottom: 60px;
}

#ahrom_eighth_row {
    background-color: #f5ffff;
}

.ahrom_executors {
    padding: 60px 100px 80px;
}

.ahrom_executors .ahrom_howitworks_head {
    display: table;
    margin: 0 auto 60px;
}

.ahrom_executor_info {
    padding: 0 20px;
}

.ahrom_executor_info .col_4 {
    padding-left: 40px;
    padding-top: 40px;
}

.ahrom_executor_info .col_8 {
    position: relative;
    padding: 10px;
}

.ahrom_executor_info .col_8::before {
    content: " ";
    width: 8px;
    height: 100%;
    background-image: url("../images/executor_leftline.png");
    position: absolute;
    background-size: contain;
    right: -15px;
    background-repeat: no-repeat;
}

.ahrom_executor_info .col_8 p {
    font-size: 16px;
    color: var(--navy-color);
    text-align: justify;
}

[dir='rtl'] .ahrom_executors_slider .slick-prev {
    /*background-color: #00c8c8;*/
    /*width: 40px;*/
    /*height: 40px;*/
    /*border-radius: 100%;*/
    right: -50px;
}

[dir="rtl"] .ahrom_executors_slider .slick-prev::before {
    content: '';
    background-image: url(../images/arrow-right.svg);
    width: 40px;
    height: 40px;
    display: block;
}

.ahrom_executors_slider .slick-slide {
    height: inherit;
}

[dir='rtl'] .ahrom_executors_slider .slick-next {
    /*background-color: #00c8c8;*/
    /*width: 40px;*/
    /*height: 40px;*/
    /*border-radius: 100%;*/
    left: -50px;
}

[dir='rtl'] .ahrom_executors_slider .slick-next:before {
    content: '';
    background-image: url(../images/arrow-left.svg);
    width: 40px;
    height: 40px;
    display: block;
}

#ahrom_ninth_row {
    background-color: #2d2d2d;
    padding-bottom: 20px;
}

.story_team_head_subtitle {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.story_team_head_content {
    margin-bottom: 40px;
}

.story_team_head_content p {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
}

#ahrom_seventh_row .story_team_head {
    padding-bottom: 10px;
}

.ahrom_curve {
    padding: 240px 0 60px;
}

.ahrom_curve .col_6.pull_right {
    padding-left: 40px;
}

.ahrom_curve_head {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #00c8c8;
}

.ahrom_curve_head_underline img {
    width: 100%;
}

.ahrom_curve_statistic {
    margin-top: 20px;
    font-size: 25px;
}

.ahrom_curve_statistic span {
    font-weight: 700;
}

.ahrom_statistics_table {
    padding-bottom: 60px;
}

.ahrom_statistics_table table {
    background-color: #d1e9eb;
    width: 100%;
    border-radius: 20px;
}

.ahrom_statistics_table thead {
    background-color: #d1e9eb;
}

.ahrom_statistics_table thead th:first-child {
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: #afdcdf;
}

.ahrom_statistics_table thead th:last-child {
    border-top-left-radius: 20px;
}

.ahrom_statistics_table thead th {
    font-weight: 600;
    font-size: 16px;
    color: #2ec3c7;
    text-align: center;
    vertical-align: middle;
    padding: 10px;
}

.ahrom_statistics_table tr td:first-child {
    background-color: #d1e9eb;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 600;
    font-size: 16px;
    color: #2ec3c7;
}

.ahrom_statistics_table td {
    text-align: center;
    vertical-align: middle;
    padding: 10px 40px;
    font-size: 14px;
    font-weight: 500;
    background-color: #ffffff;
}

.ahrom_statistics_table tr:last-child td:first-child {
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

#ahrom_eleventh_row .story_gallery_title {
    background-color: var(--navy-color);
}

#ahrom_eleventh_row .story_gallery_dropdown {
    background-color: var(--navy-color);
}

#ahrom_eleventh_row .slick-dotted.slick-slider {
    margin-bottom: inherit;
}

.footer_right_section {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer_right_content {
    position: absolute;
}

.footer_right_section img {
    height: 100%;
    width: auto;
}

.footer_slang {
    color: #fff;
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer_right_content a {
    color: var(--orage-color);
    background: #ffffff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 16px;
}

.footer_left_section {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer_left_section .story_gallery_head {
    top: -20px;
    right: 120px;
    position: absolute;
    z-index: 4;
}

.footer_data_frame {
    position: relative;
    width: 70%;
}

.footer_data_frame .story_gallery_title {
    padding: 5px 60px;
}

.footer_contacts,
.footer_second_row {
    margin-bottom: 70px;
}

.footer_contacts_item {
    color: #ffffff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}



.footer_contacts_item img {
    width: 15px;
    margin-left: 10px;
}

.footer_contacts_item a {
    color: #ffffff;
}

.footer_logo img {
    height: 60px;
    width: auto;
    margin-top: -10px;
}

.footer_social_links a {
    background: #ffffff;
    display: inline-flex;
    width: 40px;
    height: 40px;
    padding: 10px;
    border-radius: 10px;
    /* margin-left: 30px; */
    transition: all .5s ease-in-out;
}

.footer_menu {
    margin-bottom: 80px;
}

/* vahidEdit */

.footer_menu ul li {
    width: 24%;
    display: inline-block;
    text-align: center;
}

.footer_menu ul li a {
    color: #ffffff;
    font-size: 16px;
    transition: all .5s ease-in-out;
}

.footer_menu ul li a.active {
    color: var(--orage-color);
}

.footer_menu a.align_right {
    text-align: right;
}

.footer_menu a.align_center {
    text-align: center;
}

.footer_menu a.align_center {
    text-align: center;
}

.footer_menu a.align_left {
    text-align: left;
}

.footer_copy_rule {
    color: #ffffff;
    font-size: 14px;
}

.footer_copy_rule {
    text-align: center;
}

.footer_scroll_top {
    width: 50px;
    background: #ffffff;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    padding: 30px 15px;
    position: absolute;
    bottom: 0;
    right: -25px;
    cursor: pointer;
}

#javaneh_first_row {
    background-image: url(../images/ahrom/texture.svg), linear-gradient(90deg, #491C81 0%, #381C97 100%);
    position: relative;
    background-size: cover;
}

.javaneh_intro_video a {
    background: #f6ac36;
    color: #ffffff;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 1px 2px 30px #272727;
    font-weight: 600;
    display: initial;
}

.javaneh_intro_video a span {
    width: 15px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 0 5px;
}

.javaneh_intro_image {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 550px;
}

#javaneh_second_row {
    background-color: #f6f2ff;
}

.ahrom_troubleshoot_content strong {
    font-size: 20px;
}

.javaneh_goal {
    padding-top: 80px;
}

.javaneh_goal .col_4 {
    padding-left: 60px;
}

.javaneh_goal .col_8 {
    padding-top: 40px;
}


.javaneh_solution_item .sign {
    background-color: #45237a;
    width: 124px;
    height: 124px;
    border-radius: 100%;
    padding: 12px;
}

.javaneh_solution_item.first {
    margin-bottom: 40px;
}

.javaneh_solution_item.first .frame {
    padding-right: 30px;
}

.javaneh_solution_item:last-child .frame {
    padding-left: 30px;
}

.javaneh_solution_item .text {
    border: 1px solid #45237a;
    border-radius: 60px;
    height: 124px;
    padding: 10px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
}

.javaneh_solution_item .title {
    font-weight: 700;
    color: #45237a;
    margin-bottom: 5px;
    font-size: 16px;
}

.javaneh_solution_item .content {
    font-size: 13px;
    color: var(--navy-color);
    justify-content: center;
}

.javaneh_solution_item .content p {
    font-weight: 500;
}

/* .javaneh_tablet {
    margin-bottom: 70px;
} */

.javaneh_tablet table {
    background-color: #c7bdd6;
    width: 100%;
    border-radius: 40px;
}

.javaneh_tablet thead {
    background-color: #c7bdd6;
}

.javaneh_tablet thead th:last-child {
    border-top-left-radius: 40px;
    /*border-bottom-left-radius: 40px;*/
}

.javaneh_tablet thead th:first-child {
    border-top-right-radius: 40px;
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
    background-color: #a08fbc;
}

.javaneh_tablet thead th {
    font-weight: 600;
    font-size: 16px;
    color: #452379;
    text-align: center;
    vertical-align: middle;
    padding: 15px;
}

.javaneh_tablet tr td:first-child {
    background-color: #c7bdd6;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 600;
    font-size: 16px;
    color: #452379;
}

.javaneh_tablet tr:last-child td:first-child {
    border-bottom-right-radius: 40px;
    border-bottom-left-radius: 40px;
}

.javaneh_tablet td {
    text-align: center;
    vertical-align: middle;
    padding: 25px 40px;
    font-size: 14px;
    background-color: #ffffff;
    font-weight: 500;
}

.javaneh_howitworks_item {
    padding: 5px;
}

.javaneh_howitworks_item img {
    margin-bottom: 10px;
}

.javaneh_howitworks_item p {
    font-size: 16px;
    font-weight: 500;
    color: var(--navy-color);
    text-align: justify;
    padding: 10px;
}

.javaneh_boors .col_6.pull_left {
    padding: 60px 0 30px 0;
}

.javaneh_boors ul li:not(:last-child) {
    margin-bottom: 20px;
}

#javaneh_eighth_row {
    background-color: #f6f2ff;
}

#javaneh_eighth_row .ahrom_head_assistant {
    background-color: transparent;
}

.javaneh_executors {
    padding: 20px 100px 80px;
}


.javaneh_executor_info {
    padding: 0 20px;
}

.javaneh_executor_info .col_4 {
    padding-left: 40px;
    padding-top: 40px;
}

.javaneh_executor_info .col_8 {
    position: relative;
}

.javaneh_executor_info .col_8::before {
    content: " ";
    width: 8px;
    height: 100%;
    background-image: url("../images/javaneh/executor_leftline.png");
    position: absolute;
    background-size: contain;
    right: -15px;
    background-repeat: no-repeat;
}

.javaneh_executor_info .col_8 p {
    font-size: 16px;
    color: var(--navy-color);
    text-align: justify;
}

[dir='rtl'] .javaneh_executors_slider .slick-prev,
[dir='rtl'] .hamian_slider .slick-prev {
    right: -50px;
}

[dir='rtl'] .hamian_slider_mobile .slick-prev {
    right: 10px;
}

[dir="rtl"] .javaneh_executors_slider .slick-prev::before,
[dir='rtl'] .hamian_slider .slick-prev::before,
[dir='rtl'] .hamian_slider_mobile .slick-prev::before {
    content: '';
    background-image: url("../images/arrow-right.svg");
    width: 40px;
    height: 40px;
    display: block;
}

.javaneh_executors_slider .slick-slide {
    height: inherit;
}

[dir='rtl'] .javaneh_executors_slider .slick-next,
[dir='rtl'] .hamian_slider .slick-next {
    left: -50px;
}

[dir='rtl'] .hamian_slider_mobile .slick-next {
    left: 30px;
}

[dir='rtl'] .javaneh_executors_slider .slick-next:before,
[dir='rtl'] .hamian_slider .slick-next:before,
[dir='rtl'] .hamian_slider_mobile .slick-next:before {
    content: '';
    background-image: url("../images/arrow-left.svg");
    width: 40px;
    height: 40px;
    display: block;
}

.javaneh_curve_head {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #46247b;
}

.javaneh_statistics_table {
    padding-bottom: 60px;
}

.javaneh_statistics_table table {
    background-color: #b5a7ca;
    width: 100%;
    border-radius: 20px;
}

.javaneh_statistics_table thead {
    background-color: #b5a7ca;
}

.javaneh_statistics_table thead th:first-child {
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: #8972aa;
}

.javaneh_statistics_table thead th:last-child {
    border-top-left-radius: 20px;
}

.javaneh_statistics_table thead th {
    font-weight: 600;
    font-size: 16px;
    color: #46227a;
    text-align: center;
    vertical-align: middle;
    padding: 10px;
}

.javaneh_statistics_table tr td:first-child {
    background-color: #b5a7ca;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 600;
    font-size: 16px;
    color: #46227a;
}

.javaneh_statistics_table td {
    text-align: center;
    vertical-align: middle;
    padding: 10px 40px;
    font-size: 14px;
    font-weight: 500;
    background-color: #ffffff;
}

.javaneh_statistics_table tr:last-child td:first-child {
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

#home_fifth_row {
    background-color: #e8efff;
    height: 650px;
}

#home_fifth_row .story_team_head_text,
#home_fifth_row .story_team_head_subtitle,
#home_fifth_row .story_team_head_content p,
#home_first_row .story_team_head_text {
    color: #1a2952;
}

#home_sixth_row {
    padding: 220px 0 60px 0;
}

.home_hamian_col {
    /*width: 16.66%;*/
    /*float: right;*/
    height: auto;
    padding: 0 20px;
}

.home_title_head {
    display: table;
    margin: 0 auto;
    padding: 60px 0 10px;
}

@media screen and (max-width: 768px) {
    .home_title_head {
        padding: 20px 0 10px;
    }
}

#home_first_row {
    background-color: #e8efff;
    padding: 0 0 60px 0;
    position: relative;
}

#promotion_box {
    width: 1000px;
    max-width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 20px;
    background-color: white;
    right: 0;
    left: 0;
    position: absolute;
    top: -125px;
    margin: 0 auto;
    box-shadow: 0 0 15px rgb(0 0 0 / 20%);

    animation-duration: 5s;
}

.row_home_first_section {
    margin: 20px 0 0 0;
}

.col_home_first_section {
    width: 50%;
    float: right;
    padding: 10px;
}

.box_home_first_section {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 30px;
}

.square_home_first_section {
    float: right;
    width: 65px;
    /*height: 102px;*/
    /*display: flex;*/
    /*flex-direction: column;*/
    /*justify-content: center;*/
}

.square_box_home_first_section {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    background-color: var(--navy-color);
}

.detail_home_first_section {
    float: right;
    width: calc(100% - 65px);
    padding: 0 20px 0 0;
}

.title_home_first_section {
    font-size: 15px;
    font-weight: 700;
    min-height: 42px;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}

.excerpt_home_first_section {
    font-size: 14px;
    font-weight: 500;
    text-align: justify;
}

#home_fourth_row {
    margin: 0 0 -70px 0;
}

.home_amalkard_row {
    margin: 0 -10px;
}

.home_amalkard_row .col_3 {
    padding: 10px;
}

.home_amalkard_row .frame {
    background-color: #ffffff;
    padding: 25px 20px;
    border-radius: 20px;
    box-shadow: 2px 2px 10px #e7e7e7;
}

.home_amalkard_row .sign {
    height: 65px;
    border-radius: 10px;
    background-color: var(--navy-color);
}

.home_amalkard_row .content {
    padding-right: 8px;
}

.home_amalkard_row .title {
    color: var(--navy-color);
    font-size: 14px;
    line-height: 17px;
    font-weight: 700;
    height: 40px;
    padding: 5px 0 0 0;
}

.home_amalkard_row .value {
    color: var(--navy-color);
    font-size: 13px;
    font-weight: 600;
}

.home_barname_slider {
    height: auto;
}

.home_charkhe_content {
    font-size: 17px;
    font-weight: 500;
    text-align: justify;
    line-height: 27px;
}

.home_charkhe_content span {
    font-weight: 700;
}

.home_charkhe_title {
    font-size: 30px;
    font-weight: 700;
    color: var(--navy-color);
}

.home_charkhe_subtitle {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy-color);
    margin: 0 0 15px 0;
}

#home_second_row .ahrom_boors .col_6.pull_left {
    padding: 90px 60px 90px 0;
}

#ehya_first_row {
    background-image: url(../images/ahrom/texture.svg), linear-gradient(0deg, #0053f7 0%, #0184f8 100%);
}

#ehya_first_row .ahrom_intro_image {
    width: 330px;
}

#ehya_first_row .ahrom_intro_line {
    padding-top: 20px;
}

.eyha_intro_video {
    background: #f6ac36;
    color: #ffffff;
    font-size: 16px;
    padding: 10px 18px;
    border-radius: 20px;
    box-shadow: 1px 2px 30px #0000004a;
    font-weight: 600;
}

.eyha_intro_video a {
    color: #ffffff;
    font-weight: 600;
}

.eyha_intro_video a span {
    width: 15px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 0 5px;
}

.eyha_intro_video a span {
    margin: 0 0 0 10px;
}

#ehya_second_row {
    background-color: #e5f6fe;
}

.ehya_solution_item .sign {
    background-color: #0088f8;
    width: 124px;
    height: 124px;
    border-radius: 100%;
    padding: 12px;
}

.ehya_solution_item:last-child .frame {
    padding-left: 30px;
}

.ehya_solution_item .text {
    border: 1px solid #0088f8;
    border-radius: 60px;
    height: 124px;
    padding: 10px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
}

.ehya_solution_item .title {
    font-weight: 700;
    color: #0088f8;
    margin-bottom: 5px;
    font-size: 16px;
}

.ehya_solution_item .content {
    font-size: 13px;
    color: var(--navy-color);
    justify-content: center;
}

.ehya_solution_item .content p {
    font-weight: 500;
}

#ehya_fifth_row {
    position: relative;
}

.ehya_idiom {
    padding: 100px 0 140px;
}

.ehya_idiom_text {
    font-size: 35px;
    color: var(--navy-color);
    font-weight: 700;
    padding-right: 80px;
}

.ehya_intro_image {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 450px;
}

.ehya_quotation_mark {
    width: 40px;
}

#ehya_sixth_row {
    background-color: #e5f6fe;
}

.ehya_howitworks_item {
    padding: 10px;
}

.ehya_howitworks_item img {
    margin-bottom: 10px;
}

.ehya_howitworks_item p {
    font-size: 16px;
    font-weight: 500;
    color: var(--navy-color);
    text-align: justify;
}

#ehya_sixth_row .ahrom_head_assistant {
    background-color: #e5f6fe;
    border-radius: 30px;
}

.ehya_boors_head {
    display: table;
    margin: 0 auto;
}

.ehya_corp_frame {
    padding: 20px;
}

.ehya_corp_item {
    background-color: #ffffff;
    box-shadow: 1px 0 20px rgb(0 0 0 / 6%);
    border-radius: 30px;
    text-align: center;
    padding: 30px;
}

.ehya_corp_name {
    color: var(--navy-color);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ehya_corp_subtitle {
    font-size: 15px;
    height: 42px;
}

.ehya_corp_slider .slick-slide {
    height: inherit;
}

[dir='rtl'] .ehya_corp_slider .slick-prev {
    /*background-color: #0088f8;*/
    /*width: 40px;*/
    /*height: 40px;*/
    /*border-radius: 100%;*/
    right: -50px;
    top: 50%;
}

[dir="rtl"] .ehya_corp_slider .slick-prev::before {
    content: '';
    background-image: url(../images/ehya/arrow-right.svg);
    width: 40px;
    height: 40px;
    display: block;
}

.ehya_corp_slider .slick-slide {
    height: inherit;
}

[dir='rtl'] .ehya_corp_slider .slick-next {
    /*background-color: #0088f8;*/
    /*width: 40px;*/
    /*height: 40px;*/
    /*border-radius: 100%;*/
    left: -50px;
    top: 50%;
}

[dir='rtl'] .ehya_corp_slider .slick-next:before {
    content: '';
    background-image: url(../images/ehya/arrow-left.svg);
    width: 40px;
    height: 40px;
    display: block;
}

.ehya_statistics {
    padding: 240px 0 60px;
}

.ehya_statistics .col_6 {
    padding: 20px;
}

.ehya_statistics .ahrom_howitworks_head {
    margin: 0 auto 40px;
    display: table;
}

.ehya_statistics_table {
    padding-bottom: 60px;
}

.ehya_statistics_table table {
    background-color: #b3dbfe;
    width: 100%;
    border-radius: 20px;
}

.ehya_statistics_table thead {
    background-color: #b3dbfe;
}

.ehya_statistics_table thead th:first-child {
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: #7cc2fd;
}

.ehya_statistics_table thead th:last-child {
    border-top-left-radius: 20px;
}

.ehya_statistics_table thead th {
    font-weight: 600;
    font-size: 16px;
    color: #006eb7;
    text-align: center;
    vertical-align: middle;
    padding: 10px;
}

.ehya_statistics_table tr td:first-child {
    background-color: #b3dbfe;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 600;
    font-size: 16px;
    color: #006eb7;
}

.ehya_statistics_table td {
    text-align: center;
    vertical-align: middle;
    padding: 10px 40px;
    font-size: 14px;
    font-weight: 500;
    background-color: #ffffff;
}

.ehya_statistics_table tr:last-child td:first-child {
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

.hamian_slider_mobile {
    display: none;
}

/**
--------------------------------------------------------------------------------------
------------------------ ********** Responsive Css ********** ------------------------
--------------------------------------------------------------------------------------
**/

/* Enhanced Mobile Navigation */
@media only screen and (max-width: 1099px) {
    .header_menu {
        display: none;
    }

    .mobile-menu-open {
        display: block;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 14px;
        font-weight: 600;
    }

    .mobile-menu-open:hover {
        background-color: #e09a2f;
        transform: scale(1.05);
    }

    .contact_us_button {
        display: none;
    }
}

@media only screen and (max-width: 1099px) and (min-width: 800px) {
    .container {
        width: 800px;
    }
}

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

    .container,
    .barnameha_row {
        width: 95%;
        max-width: 600px;
        padding: 0 15px;
    }

    .header_logo {
        width: 130px;
    }

    .header_menu ul li {
        padding: 17px 8px;
        font-size: 14px;
    }

    /* Enhanced touch targets for tablets */
    .slick-prev,
    .slick-next {
        width: 40px;
        height: 40px;
    }

    .slick-dots li button {
        width: 40px;
        height: 40px;
    }

    /* Improved button sizing */
    .b_button,
    button,
    input[type="submit"] {
        height: 40px;
        padding: 10px 18px;
        font-size: 15px;
    }

    #home_banner,
    .title_home_first_section {
        min-height: auto;
    }

    #home_banner {
        padding: 150px 0 200px 0;
    }

    #home_banner h1,
    #home_banner h2 {
        font-size: 30px;
    }

    .home_banner_button1 {
        width: 218px;
        font-size: 15px;
    }

    .home_banner_button2 {
        width: 196px;
        font-size: 15px;
    }

    #promotion_box {
        width: 90%;
        top: -80px;
        height: auto;
    }

    #home_first_row {
        padding: 35px 0 60px 0;
    }

    .col_home_first_section,
    .footer_right_section,
    .footer_left_section,
    .barnameha_sun,
    .ahrom_intro_video {
        width: 100%;
    }

    #home_second_row .ahrom_boors .col_6.pull_left {
        padding: 0 30px 0 0;
    }

    .home_amalkard_row .col_3 {
        width: 50%;
    }

    .story_team_video,
    .story_main_slider {
        height: auto;
    }

    #home_sixth_row {
        padding: 30px 0 60px 0;
    }

    .footer_scroll_top {
        right: 0;
        left: 0;
        margin: 0 auto;
    }

    #story_forth_row .container,
    .barnameha_main_col_content {
        padding: 0;
    }

    .barnameha_col {
        width: 50%;
        padding: 10px;
    }

    .barnameha_main_image,
    .ahrom_solution,
    .javaneh_intro_video,
    .eyha_intro_video {
        width: 100%;
    }

    .barnameha_main_row {
        padding: 0 0 50px 0;
    }

    .ahrom_intro_statistics .col_3,
    .program_intro_statistics .col_3 {
        padding: 10px;
        width: 50%;
    }

    .ahrom_intro_image,
    .program_intro_image {
        width: 50%;
    }

    .ahrom_intro_content,
    .program_intro_content {
        padding-top: 0;
    }

    .ahrom_intro_line,
    .program_intro_line {
        display: none;
    }

    .ahrom_tablet_table {
        padding-left: 0;
        width: 100%;
    }

    .ahrom_tablet_picture {
        display: none;
    }

    .ahrom_statistics_table,
    .javaneh_statistics_table {
        overflow-x: scroll;
    }

    .javaneh_intro_image {
        left: -18px;
        bottom: 170px;
        width: 300px;
    }

    #javaneh_first_row {
        overflow: hidden;
    }

    .ahrom_intro_statistics,
    .program_intro_statistics {
        margin: 0;
        position: unset;
    }

    #ehya_first_row .ahrom_intro_image {
        width: 250px;
    }

    #ehya_first_row .ahrom_intro_statistics {
        position: absolute;
    }

    .ehya_solution_item .text {
        height: 195px;
    }

    .ehya_intro_image {
        width: 320px;
    }

    .ehya_corp_frame {
        padding: 10px;
    }

    [dir='rtl'] .ehya_corp_slider .slick-next {
        left: 0;
    }
}

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

    /* Enhanced Mobile Layout */
    .container {
        width: 95%;
        padding: 0 10px;
    }

    /* Improved Touch Targets */
    .story_gallery_slider {
        width: 100%;
    }

    .footer_social_links {
        width: 100%;
    }

    .footer_social_links a {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 5px;
    }

    /* Enhanced Banner for Mobile */
    #home_banner {
        min-height: auto;
        padding: 80px 15px 100px 15px;
        background-position: center;
        background-attachment: scroll;
        text-align: center;
    }

    #home_banner h1,
    #home_banner h2 {
        font-size: 24px;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .home_banner_buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .home_banner_button1,
    .home_banner_button2 {
        width: 100%;
        max-width: 280px;
        padding: 15px 20px;
        font-size: 16px;
        text-align: center;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Enhanced Featured Posts */
    .featured-slide-inner {
        height: 450px;
    }

    .featured-post-title {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .featured-post-excerpt {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Improved Navigation */
    .slick-prev,
    .slick-next {
        width: 44px;
        height: 44px;
        z-index: 10;
    }

    .slick-dots li button {
        width: 44px;
        height: 44px;
    }

    /* Enhanced Form Elements */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        min-height: 44px;
        padding: 12px 15px;
        font-size: 16px;
        border-radius: 8px;
        border: 2px solid #ddd;
        transition: border-color 0.3s ease;
    }

    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="tel"]:focus,
    textarea:focus,
    select:focus {
        border-color: #f6ab36;
        outline: none;
        box-shadow: 0 0 0 3px rgba(246, 171, 54, 0.1);
    }

    /* Enhanced Buttons */
    .b_button,
    button,
    input[type="submit"] {
        height: 44px;
        padding: 12px 20px;
        font-size: 16px;
        border-radius: 8px;
        transition: all 0.3s ease;
        cursor: pointer;
        border: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .b_button:hover,
    button:hover,
    input[type="submit"]:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    /* Improved Typography */
    h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    h3 {
        font-size: 20px;
        line-height: 1.4;
    }

    h4 {
        font-size: 18px;
        line-height: 1.4;
    }

    h5 {
        font-size: 16px;
        line-height: 1.4;
    }

    h6 {
        font-size: 14px;
        line-height: 1.4;
    }

    p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    /* Enhanced Spacing */
    .section {
        padding: 40px 0;
    }

    .row {
        margin: 20px 0;
    }

    /* Improved Image Responsiveness */
    img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }

    /* Enhanced Tables */
    table {
        width: 100%;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }

    /* Improved Video Responsiveness */
    .video-container {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
    }

    .video-container iframe,
    .video-container video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* vahid edit */

.square_box_home_first_section img,
.home_amalkard_row .sign img {
    padding: 10px;
    height: 65px;
    width: 65px;
}

.slick-slide {
    height: auto;
}

ul.menu li a:hover,
ul.menu li.current_page_item a {
    color: #f08d0a;
}

.b_button {
    background-color: #000000;
    transition: all .2s ease-in-out;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    display: table;
    padding: 5px 20px;
    border-radius: 40px;
    float: left;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.b_button img {
    width: 10px;
    margin: 0 5px 0 0;
    vertical-align: middle;
}

.b_button:hover {
    transform: scale(1.1);
}

.barnameha_main_row_ahrom .b_button {
    background-color: #05b0b5;
}

.barnameha_main_row_ehya .b_button {
    background-color: #007cf7;
}

.barnameha_main_row_javane .b_button {
    background-color: #471c85;
}

.fadein {
    opacity: 0;
}

@-webkit-keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
    -webkit-animation-duration: 4s;
    animation-duration: 4s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
    -webkit-animation-duration: 4s;
    animation-duration: 4s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.hidden {
    opacity: 0;
}

.footer_social_links a:hover {
    background: #f6ac36;
}

p {
    text-align: justify;
}

.home_banner_buttons div {

    transition: all .3s ease-in-out;
}

.home_banner_buttons div:hover {
    transform: scale(1.1);
}

.slick-track {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.ahrom_intro_statistics {

    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}


.ahrom_intro_image img {
    width: 100%;
}

.story-test {
    display: flex;
    justify-items: center;
    align-items: center;
}

.story_gallery_slider {
    width: 65%;
    margin: auto;
    background: transparent;
}

/* Fix for programs slider specifically */
#story_fifth_row .story_gallery_slider {
    width: 100%;
    margin: 0;
}

/* Ensure all page sliders work properly */
.ahrom_executors_slider,
.javaneh_executors_slider,
.ehya_corp_slider {
    width: 100%;
}

/* Fix slider content wrapper for programs */
.program_slide_item {
    width: 100%;
    text-align: center;
}

/* Responsive improvements for all sliders */
@media (max-width: 768px) {
    .story_gallery_slider {
        width: 100% !important;
        margin: 0 !important;
    }

    .ahrom_executors_slider,
    .javaneh_executors_slider,
    .ehya_corp_slider {
        width: 100%;
    }
}

.barnameha_main_row {
    margin: 100px 0;
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.sharyan_title {
    color: #47a025;
}

.maher_title {
    color: #5d3b8e;
}

.header_menu ul ul {
    display: none;
}

.header_menu ul li:hover>ul {
    display: block;
}

.header_menu ul li ul li:hover {
    background-color: #f08c0a69;
}

.header_menu ul ul {
    display: none;
    position: absolute;
    top: 3em;
    right: 0;
    z-index: 99999;
    width: 180px;
    background: #fff;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
}

.header_menu li {
    position: relative;
}

.sub-menu li {
    width: 100%;
    border-radius: 20px;
}

.sub-menu {
    border-radius: 20px;
}

.footer_social_links {
    display: flex;
    justify-content: space-between;
    width: 40%;
}

.header-arzyabi {
    background: #ffffff47;
    border-radius: 20px;
    margin: 1em 0;
    padding: 1em;
}

.header-arzyabi div {
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 5px;
}

.header-arzyabi p {
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
    text-align: justify;
    line-height: 30px;
}

.header-arzyabi img {
    width: 40px;
    margin-left: 10px;
}

.sign img {
    padding: 10px;
}

#ehya_eleventh_row {
    margin-top: 15em;
}

.barnameha_subtitle {
    display: flex;
    text-align: center;
    margin: 10px 0;
    height: 3em;
    align-items: center;
    justify-content: center;
}

.ahrom_intro_statistics:last-of-type {
    margin-top: 120px;
}

.heightfulll {
    height: 50vh;
}

.maher-section {
    margin: 45px 0;
}

.maher-section-text {
    width: 70%;
    padding: 15px;
}

.maher-section {
    margin-top: 30px;
    display: flex;
    align-items: center;
}

.nemodar_javaneh {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

#sazmanSection {
    margin: 100px 0;
}

#sazmanSection .btnrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

#sazmanSection .btnrow .sazmanbtn {
    background-color: #F9B845;
    padding: 10px 40px;
    border-radius: 5px;
    color: #ffffff;
    cursor: pointer;
    border: solid 2px #F9B845;
}

#sazmanSection .btnrow .sazmanbtn2 {
    padding: 10px 40px;
    border-radius: 5px;
    color: #F9B845;
    cursor: pointer;
    border: solid 2px #F9B845;
}

#sazmanSection .story_team_head_text {
    color: #253965;
}

.sazman p {
    font-size: 1.1em;
    line-height: 2em;
    color: #656A6F;
    text-align: center;
}

.hami-prices {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.hami-prices div {
    background-color: #F5F5F7;
    padding: 10px 12px;
    border-radius: 5px;
}

#hemayatbanner {
    background-image: url(../images/hami/back-hami.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #102552;
    height: 550px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hemayatbanner .textbanner {
    color: white;
    width: 50%;
}

#hemayatbanner .textbanner h3 {
    font-size: 2em;
    font-weight: bold;
}

#hemayatbanner .textbanner h4 {
    font-size: 1.5em;
    line-height: 2em;
}

.file-upload {
    background-color: #ffffff;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.file-upload-content {
    display: none;
    text-align: center;
}

.file-upload-input {
    position: absolute;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    outline: none;
    opacity: 0;
    cursor: pointer;
}

.image-upload-wrap {
    margin-top: 20px;
    position: relative;
    background-color: #F5F5F7;
    border-radius: 5px;
}


.image-title-wrap {
    padding: 0 15px 15px 15px;
    color: #222;
}

.drag-text {
    text-align: center;
}

.drag-text h3 {
    font-weight: 400;
    text-transform: uppercase;
    color: #6594C4;
    padding: 60px 0;
}

.file-upload-image {
    max-height: 200px;
    max-width: 200px;
    margin: auto;
    padding: 20px;
}

.remove-image {
    width: 200px;
    margin: 0;
    color: #fff;
    background: #cd4535;
    border: none;
    padding: 10px;
    border-radius: 4px;
    border-bottom: 4px solid #b02818;
    transition: all .2s ease;
    outline: none;
    text-transform: uppercase;
    font-weight: 700;
}

.remove-image:hover {
    background: #c13b2a;
    color: #ffffff;
    transition: all .2s ease;
    cursor: pointer;
}

.remove-image:active {
    border: 0;
    transition: all .2s ease;
}

.sazmansec {
    display: flex;
}

.sazmansec .hami-form-left {
    gap: unset;
}

.sazmansec .sazman p {
    text-align: justify;
}

.home_title_head.oonjori {
    display: table;
    margin: 0;
    padding: 60px 0 20px;
}

#textareaaa {
    height: 200px;
}

.swiper {
    width: 100vw;
}

.swiper-wrapper {
    height: auto;
}

.swiper-slide {
    height: auto;
    width: auto;
}

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 5;
    /* Sit on top */
    padding-top: 10px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 599px) {
    .story_gallery_slider {
        width: 100%;
    }

    .footer_social_links {
        width: 100%;
    }

    #home_banner {
        min-height: auto;
        padding: 120px 20px 120px 0;
        /* Reduced padding */
        background-position: 30%;
    }

    .featured-slide-inner {
        height: 400px;
        /* Increased height for mobile */
    }

    .featured-post-title {
        font-size: 20px;
    }

    .featured-post-excerpt {
        font-size: 14px;
    }

    .maher-section {
        flex-wrap: wrap;
        flex-direction: column;
    }
}

/***Bashgah Ketab***/
#ketab_first_row {
    background-image: url(../images/ahrom/texture.svg);
    background-color: #7189FF;
    position: relative;
    background-size: cover;
}

#ketab_second_row {
    background-color: #DFEAF2;
}

#ketab_third_row .program_solution_item .sign {
    background-color: #7189FF;
}

#ketab_third_row .program_solution_item .title {
    color: #7189FF;
}

#ketab_third_row .program_solution_item .text {
    border: 1px solid #45237a;
}

#ketab_sixth_row {
    background-color: #f5ffff;
}

#ketab_sixth_row .ahrom_head_assistant {
    background-color: transparent;
}

#ketab_sixth_row .ahrom_howitworks_title {
    background-color: #F8B843;
}

#ketab_sixth_row .story_howitworks_dropdown {
    background-color: #F8B843;
}



.center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#sharyan_third_row .program_solution_item .sign {
    background-color: #55AC31;
}

#sharyan_third_row .program_solution_item .title {
    color: #55AC31;
}

#sharyan_third_row .program_solution_item .text {
    border: 1px solid #55AC31;
}

#sharyan_first_row {
    background-image: url(../images/ahrom/texture.svg);
    background-color: #55AC31;
    position: relative;
    background-size: cover;
}

#yara_first_row {
    background-image: url(../images/ahrom/texture.svg);
    background-color: #B2792F;
    position: relative;
    background-size: cover;
    overflow-y: hidden;
    margin-bottom: -250px;
}

#sharyan_first_row .program_intro_image img {
    margin-top: -90px;
}

.ahrom_howitworks_frame {
    display: flex;
    flex-wrap: wrap;
}

#yara_second_row {
    background-color: #DFEAF2;
    position: relative;
}

ul.meshki li {
    color: #000000;
}

.yara_solution {
    width: 850px;
    margin: 0 auto 40px;
    border-top: 2px solid var(--navy-color);
    position: relative;
}

.yara_solution .story_howitworks_dropdown {
    position: absolute;
    left: 0;
    top: -20px;
}

ul.meshki li:not(:last-child)::after {
    background-color: #000000;
}

.javaneh_boors {
    padding: 20px;
}


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

    .javaneh_intro_statistics {
        position: unset;
        width: 90%;
        margin: 0 auto;
    }

    .javaneh_intro_statistics .col_3 {
        width: 100%;
        margin: 10px auto;
    }

    #yara_first_row {
        margin-bottom: auto;
    }

    .yara_solution {
        width: 100%;
    }

    .yara_solution .col_7.pull_left {
        width: 100%;
        padding: 20px;
    }

    .swiper {
        width: 90vw;
    }
}

.playbtn:after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: url(https://karsazcharity.com/wp-content/uploads/2023/01/play.png);
    background-size: cover;
    content: '';
}

.playbtn {
    position: relative;
}

/* Featured Posts Slider */
#featured_posts_slider_section {
    padding: 20px 0 20px;
    /* Increased bottom padding for dots */
    background-color: #f8f9fa;
}

.featured_posts_slider {
    margin-top: 30px;
    position: relative;
    min-height: 400px;
    /* Prevent layout shift during initialization */
}

/* Ensure slider is visible during initialization */
.featured_posts_slider:not(.slick-initialized) {
    display: block;
}

.featured_posts_slider:not(.slick-initialized) .featured-slider-item {
    display: block;
}

.featured_posts_slider:not(.slick-initialized) .featured-slider-item:not(:first-child) {
    display: none;
}

.featured-slider-item {
    position: relative;
}

.featured-slide-inner {
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 550px;
    /* Increased from 400px */
    background-color: #fff;
}

.featured-post-thumbnail {
    position: relative;
    height: 100%;
    width: 100%;
}

.featured-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.featured-post-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 30px;
    color: #fff;
    z-index: 2;
}

.featured-post-categories {
    margin-bottom: 15px;
}

.featured-category {
    display: inline-block;
    background-color: rgba(0, 123, 255, 0.8);
    color: #fff;
    padding: 5px 15px;
    margin-left: 10px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.featured-category:hover {
    background-color: rgba(0, 123, 255, 1);
    color: #fff;
}

.featured-post-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.featured-post-title a {
    color: #fff;
    text-decoration: none;
}

.featured-post-title a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.featured-post-meta {
    margin-bottom: 15px;
    font-size: 14px;
    opacity: 0.8;
}

.featured-post-author {
    margin-right: 15px;
}

.featured-post-excerpt {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.featured-post-readmore {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.featured-post-readmore:hover {
    background-color: #0069d9;
    color: #fff;
}

.no-featured-posts {
    text-align: center;
    padding: 40px 0;
    font-size: 18px;
    color: #6c757d;
}

/* Slick slider custom styles for featured posts */
.featured_posts_slider .slick-dots {
    bottom: -50px;
    display: flex !important;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.featured_posts_slider .slick-dots li {
    margin: 0 5px;
}

.featured_posts_slider .slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: rgb(115 114 114 / 50%);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0;
}

.featured_posts_slider .slick-dots li button:before {
    display: none;
}

.featured_posts_slider .slick-dots li.slick-active button {
    background-color: #007bff;
    transform: scale(1.2);
}

.featured_posts_slider .slick-dots li button:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.featured_posts_slider .slick-prev,
.featured_posts_slider .slick-next {
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    top: 50% !important;
    transform: translateY(-50%);
}



.featured_posts_slider .slick-prev {
    left: 20px;
}

.featured_posts_slider .slick-next {
    right: 20px;
}

.featured_posts_slider .slick-prev:before,
.featured_posts_slider .slick-next:before {
    content: '';
    font-size: 0;
    width: 40px;
    height: 40px;
    display: block;
    opacity: 1;
}

/* Hamian style arrows for featured slider */
[dir="rtl"] .featured_posts_slider .slick-prev:before {
    background-image: url("../images/arrow-right.svg");
}

[dir="rtl"] .featured_posts_slider .slick-next:before {
    background-image: url("../images/arrow-left.svg");
}

.featured_posts_slider .slick-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.featured_posts_slider .slick-disabled:hover {
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Single slide - hide navigation */
.featured_posts_slider.single-slide .slick-dots,
.featured_posts_slider.single-slide .slick-prev,
.featured_posts_slider.single-slide .slick-next {
    display: none !important;
}

/* RTL specific styles */
[dir="rtl"] .featured_posts_slider .slick-prev {
    right: 20px;
    left: auto;
}

[dir="rtl"] .featured_posts_slider .slick-next {
    left: 20px;
    right: auto;
}

/* Featured Posts Carousel Section */
#featured_posts_carousel_section {
    padding: 40px 0 60px;
    background-color: #fff;
    border-top: 1px solid #e9ecef;
}

.carousel-title {
    text-align: center;
    margin-bottom: 30px;
}

.carousel-title h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a2952;
    margin: 0;
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

.carousel-title h3:before,
.carousel-title h3:after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    background-color: #007bff;
}

.carousel-title h3:before {
    right: 100%;
    margin-right: 15px;
}

.carousel-title h3:after {
    left: 100%;
    margin-left: 15px;
}

.featured_posts_carousel {
    position: relative;
    margin: 0 -15px;
}

.featured-carousel-item {
    padding: 0 15px;
    box-sizing: border-box;
}

.featured-carousel-inner {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-carousel-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.featured-carousel-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.featured-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-carousel-inner:hover .featured-carousel-img {
    transform: scale(1.05);
}

.featured-carousel-no-image {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-carousel-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

/* Carousel overlays for video and gallery */
.carousel-video-overlay,
.carousel-gallery-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-carousel-inner:hover .carousel-video-overlay,
.featured-carousel-inner:hover .carousel-gallery-overlay {
    opacity: 1;
}

.carousel-video-icon,
.carousel-gallery-icon {
    width: 18px;
    height: 18px;
}

.featured-carousel-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.featured-carousel-type {
    margin-bottom: 10px;
}

.carousel-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.carousel-type-badge.video-badge {
    background-color: #dc3545;
    color: #fff;
}

.carousel-type-badge.gallery-badge {
    background-color: #28a745;
    color: #fff;
}

.carousel-type-badge.post-badge {
    background-color: #007bff;
    color: #fff;
}

.featured-carousel-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    flex-grow: 1;
}

.featured-carousel-title a {
    color: #1a2952;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-carousel-title a:hover {
    color: #007bff;
}

.featured-carousel-meta {
    margin-bottom: 10px;
    font-size: 13px;
    color: #6c757d;
    display: flex;
    align-items: center;
}

.featured-carousel-date svg {
    margin-left: 5px;
}

.featured-carousel-excerpt {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
    margin-top: auto;
}

/* Carousel navigation styles */
.featured_posts_carousel .slick-prev,
.featured_posts_carousel .slick-next {
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    top: 50% !important;
    transform: translateY(-50%);
}

.featured_posts_carousel .slick-prev:hover,
.featured_posts_carousel .slick-next:hover {
    background-color: #007bff;
    border-color: #007bff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.featured_posts_carousel .slick-prev {
    left: -20px;
}

.featured_posts_carousel .slick-next {
    right: -20px;
}

.featured_posts_carousel .slick-prev:before,
.featured_posts_carousel .slick-next:before {
    content: '';
    font-size: 0;
    width: 40px;
    height: 40px;
    display: block;
    opacity: 1;
}

/* Hamian style arrows for carousel */
[dir="rtl"] .featured_posts_carousel .slick-prev:before {
    background-image: url("../images/arrow-right.svg");
}

[dir="rtl"] .featured_posts_carousel .slick-next:before {
    background-image: url("../images/arrow-left.svg");
}

.featured_posts_carousel .slick-prev:hover:before,
.featured_posts_carousel .slick-next:hover:before {
    color: #fff;
}

.featured_posts_carousel .slick-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.featured_posts_carousel .slick-disabled:hover {
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.95);
    border-color: #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.featured_posts_carousel .slick-disabled:hover:before {
    color: #333;
}

/* RTL support for carousel */
[dir="rtl"] .featured_posts_carousel .slick-prev {
    right: -20px;
    left: auto;
}

[dir="rtl"] .featured_posts_carousel .slick-next {
    left: -20px;
    right: auto;
}

/* ==========================================
   NEW CAROUSEL OVERLAY DESIGN STYLES
   ========================================== */

/* Main carousel overlay container */
.carousel-grid-item {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.carousel-grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 16:9 Aspect Ratio Container */
.carousel-aspect-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    overflow: hidden;
}

/* Featured Image Background */
.carousel-image-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.carousel-grid-item:hover .carousel-image-background {
    transform: scale(1.05);
}

/* No Image Fallback */
.carousel-image-background.carousel-no-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-fallback-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* Dark Gradient Overlay */
.carousel-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            transparent 0%,
            transparent 40%,
            rgba(0, 0, 0, 0.3) 70%,
            rgba(0, 0, 0, 0.8) 100%);
    z-index: 3;
}

/* Post Type Badge Container (Top Right) */
.carousel-type-badge-container {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
}

.carousel-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.carousel-type-badge.video-badge {
    background: rgba(239, 68, 68, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-type-badge.gallery-badge {
    background: rgba(34, 197, 94, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-type-badge.post-badge {
    background: rgba(59, 130, 246, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Post Type Icon Overlays (Center - Appear on Hover) */
.carousel-type-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    opacity: 0;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 16px;
    backdrop-filter: blur(5px);
}

.carousel-grid-item:hover .carousel-type-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.carousel-type-icon.video-icon {
    border: 2px solid rgba(239, 68, 68, 0.8);
}

.carousel-type-icon.gallery-icon {
    border: 2px solid rgba(34, 197, 94, 0.8);
}

/* Content Overlay (Bottom) */
.carousel-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 4;
}

.carousel-overlay-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.carousel-overlay-title a {
    color: white;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
    display: block;
}

.carousel-overlay-title a:hover {
    color: #f6ab36;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.carousel-overlay-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-overlay-date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-overlay-date svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Carousel Integration with Slick Slider */
.featured_posts_carousel .carousel-grid-item {
    margin: 0 8px;
    /* Space between carousel items */
}

.featured_posts_carousel .slick-slide {
    padding: 0 4px;
    /* Additional padding for better spacing */
}

/* Make sure carousel items don't get cut off */
.featured_posts_carousel {
    margin: 0 -4px;
}

/* Carousel Responsive Design */
@media (max-width: 1024px) {
    .carousel-aspect-container {
        padding-bottom: 60%;
        /* Slightly taller on tablets */
    }

    .carousel-overlay-title {
        font-size: 15px;
    }

    .carousel-content-overlay {
        padding: 14px;
    }

    .carousel-type-icon {
        padding: 14px;
    }

    .carousel-type-icon svg {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .featured-slide-inner {
        height: 450px;
        /* Increased from 350px */
    }

    #home_banner {
        min-height: 450px;
        padding: 180px 0 0 0;
    }

    .featured-post-title {
        font-size: 20px;
    }

    .featured-post-excerpt {
        font-size: 14px;
    }

    /* Hide slider excerpt on mobile */
    .featured_posts_slider .featured-post-excerpt {
        display: none !important;
    }

    /* Carousel mobile adjustments */
    #featured_posts_carousel_section {
        padding: 30px 0 40px;
    }

    .carousel-title h3 {
        font-size: 20px;
    }

    .carousel-title h3:before,
    .carousel-title h3:after {
        width: 30px;
    }

    .featured-carousel-thumbnail {
        height: 150px;
    }

    .featured-carousel-content {
        padding: 15px;
    }

    .featured-carousel-title {
        font-size: 15px;
    }

    .featured_posts_carousel .slick-prev,
    .featured_posts_carousel .slick-next {
        width: 35px;
        height: 35px;
    }

    .featured_posts_carousel .slick-prev:before,
    .featured_posts_carousel .slick-next:before {
        font-size: 14px;
    }

    /* New carousel overlay mobile styles */
    .carousel-aspect-container {
        padding-bottom: 50%;
        /* More compact on mobile */
    }

    .carousel-overlay-title {
        font-size: 14px;
    }

    .carousel-overlay-date {
        font-size: 12px;
    }

    .carousel-content-overlay {
        padding: 12px;
    }

    .carousel-type-badge {
        font-size: 11px;
        padding: 3px 10px;
    }

    .carousel-type-badge-container {
        top: 8px;
        right: 8px;
    }

    .carousel-type-icon {
        padding: 12px;
    }

    .carousel-type-icon svg {
        width: 32px;
        height: 32px;
    }
}

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

    .container,
    .barnameha_row,
    .barnameha_sun,
    .barnameha_main_col,
    .col_6,
    .home_banner_detail,
    .ahrom_solution,
    .ahrom_program,
    .program_solution,
    .program_program {
        width: 100%;
    }

    .hamian_slider {
        display: none;
    }

    .hamian_slider_mobile {
        display: block;
        padding: 0 50px;
    }

    .header_menu {
        display: none;
    }

    header {
        padding: 10px 15px;
    }

    #barnameha {
        padding: 30px 20px;
    }

    .barnameha_main_col_content {
        padding: 30px 0 60px 0;
    }

    #barnameha_top_banner,
    #hami_top_banner {
        padding: 120px 0 200px 0;
        height: auto;
    }

    .barnameha_row {
        position: unset;
    }

    .barnameha_col {
        width: 100%;
        margin: 10px 0;
    }

    .barnameha_main_image {
        width: 300px;
    }

    .footer_right_section {
        height: auto;
        border-top-left-radius: 0;
    }

    .footer_data_frame {
        padding: 60px 0 30px 0;
    }

    .footer_contacts,
    .footer_second_row {
        margin-bottom: 40px;
    }

    .footer_menu {
        margin-bottom: 30px;
    }

    .footer_social_links a:last-child {
        margin: 0;
    }

    .footer_social_links {
        float: unset;
        display: flex;
        justify-content: space-between;
        margin: 0 auto 30px auto;
    }

    .footer_logo {
        float: unset;
        margin: 0 auto;
        display: table;
    }

    .footer_left_section {
        height: auto;
        padding: 0 0 30px 0;
    }

    .footer_scroll_top {
        padding: 16px 14px;
        width: 45px;
        right: 0;
        left: 0;
        margin: 0 auto;
    }

    .home_amalkard_row {
        margin: 0;
    }

    /* Updated hero section styles */
    #home_banner {
        min-height: auto;
        padding: 70px 20px 70px 0;
        /* Reduced padding */
        background-position: 30%;
    }

    #home_banner h1,
    #home_banner h2 {
        font-size: 35px;

    }

    .home_banner_button1 {
        float: unset;
        margin: 0 auto 20px auto;
    }

    .home_banner_button2 {
        float: unset;
        margin: 0 auto;
    }

    /* Updated featured posts styles */
    .featured-slide-inner {
        height: 500px;
        /* Increased height for mobile */
    }

    .featured-post-title {
        font-size: 20px;
    }

    .featured-post-excerpt {
        font-size: 14px;
    }

    /* Extra small mobile carousel overlay styles */
    .carousel-aspect-container {
        padding-bottom: 45%;
        /* Even more compact on small mobile */
    }

    .carousel-overlay-title {
        font-size: 13px;
        line-height: 1.2;
    }

    .carousel-overlay-date {
        font-size: 11px;
    }

    .carousel-content-overlay {
        padding: 10px;
    }

    .carousel-type-badge {
        font-size: 10px;
        padding: 2px 8px;
    }

    .carousel-type-icon {
        padding: 10px;
    }

    .carousel-type-icon svg {
        width: 28px;
        height: 28px;
    }

    .carousel-fallback-icon svg {
        width: 48px;
        height: 48px;
    }
}

/* ==========================================
   CAROUSEL CARD CONTENT BELOW IMAGE
   ========================================== */

/* Carousel Card Content Below Image */
.carousel-card-content {
    padding: 16px;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
}

.carousel-card-excerpt {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 42px;
    /* Fixed height for 2 lines */
}

.carousel-card-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.carousel-read-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #f6ab36 0%, #e09418 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(246, 171, 54, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.carousel-read-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(246, 171, 54, 0.4);
    background: linear-gradient(135deg, #e09418 0%, #d18817 100%);
    color: white;
}

.carousel-read-button svg {
    transition: transform 0.3s ease;
}

.carousel-read-button:hover svg {
    transform: translateX(-2px);
}

/* RTL Support for Carousel Read Button */
[dir="rtl"] .carousel-card-footer {
    justify-content: flex-start;
}

[dir="rtl"] .carousel-read-button svg {
    transform: scaleX(-1);
}

[dir="rtl"] .carousel-read-button:hover svg {
    transform: scaleX(-1) translateX(2px);
}

/* Mobile Responsive for Carousel Card Content */
@media (max-width: 768px) {
    .carousel-card-content {
        padding: 12px;
    }

    .carousel-card-excerpt {
        font-size: 13px;
        margin-bottom: 10px;
        height: 39px;
        /* Adjusted for smaller font */
    }

    .carousel-read-button {
        font-size: 12px;
        padding: 6px 14px;
    }
}

@media (max-width: 480px) {
    .carousel-card-excerpt {
        font-size: 12px;
        height: 36px;
    }

    .carousel-read-button {
        font-size: 11px;
        padding: 5px 12px;
    }
}

/* ==========================================
   IMPROVED SIDEBAR CATEGORIES DESIGN
   ========================================== */

/* Sidebar Categories Container */
.sidebar-categories {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Individual Category Item */
.sidebar-category-item {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    padding: 12px 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid transparent;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    position: relative;
    overflow: hidden;
}

.sidebar-category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.sidebar-category-item:hover::before {
    left: 100%;
}

.sidebar-category-item:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

/* Category Content Layout */
.sidebar-category-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

/* Category Icon */
.sidebar-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.sidebar-category-item:hover .sidebar-category-icon {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Category Info */
.sidebar-category-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-category-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.sidebar-category-item:hover .sidebar-category-name {
    color: #3b82f6;
}

.sidebar-category-count {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
    width: fit-content;
    transition: all 0.3s ease;
}

.sidebar-category-item:hover .sidebar-category-count {
    background: #dbeafe;
    color: #3b82f6;
}

/* Category Arrow */
.sidebar-category-arrow {
    color: #9ca3af;
    transition: all 0.3s ease;
    transform: rotate(180deg);
    /* RTL adjustment */
}

.sidebar-category-item:hover .sidebar-category-arrow {
    color: #3b82f6;
    transform: rotate(180deg) translateX(3px);
}

/* RTL Adjustments for Categories */
[dir="rtl"] .sidebar-category-arrow {
    transform: rotate(0deg);
}

[dir="rtl"] .sidebar-category-item:hover .sidebar-category-arrow {
    transform: rotate(0deg) translateX(-3px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar-category-item {
        padding: 10px 12px;
    }

    .sidebar-category-icon {
        width: 32px;
        height: 32px;
    }

    .sidebar-category-content {
        gap: 10px;
    }

    .sidebar-category-name {
        font-size: 13px;
    }

    .sidebar-category-count {
        font-size: 11px;
        padding: 1px 6px;
    }
}

/* Special Category Colors */
.sidebar-category-item[href*="video"] .sidebar-category-icon,
.sidebar-category-item[href*="ویدیو"] .sidebar-category-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.sidebar-category-item[href*="video"]:hover .sidebar-category-icon,
.sidebar-category-item[href*="ویدیو"]:hover .sidebar-category-icon {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.sidebar-category-item[href*="gallery"] .sidebar-category-icon,
.sidebar-category-item[href*="گالری"] .sidebar-category-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.sidebar-category-item[href*="gallery"]:hover .sidebar-category-icon,
.sidebar-category-item[href*="گالری"]:hover .sidebar-category-icon {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* ==========================================
   MOBILE SIDEBAR LAYOUT FOR LATEST POSTS
   ========================================== */

/* Desktop/Mobile Layout Visibility Controls */
.desktop-grid-layout {
    display: block;
}

.mobile-grid-layout {
    display: none;
}

@media (max-width: 768px) {
    .desktop-grid-layout {
        display: none !important;
    }

    .mobile-grid-layout {
        display: block !important;
    }

    /* Hide carousel section on mobile (keep slider visible) */
    #featured_posts_carousel_section {
        display: none !important;
    }
}

/* Mobile Latest Posts Container */
.mobile-latest-posts-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Sidebar Post Item (Mobile Style) */
.sidebar-post-item.mobile-latest-post {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.sidebar-post-item.mobile-latest-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-post-item.mobile-latest-post:first-child {
    padding-top: 0;
}

.sidebar-post-item.mobile-latest-post:hover {
    transform: translateX(-5px);
}

/* Sidebar Post Link */
.sidebar-post-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

/* Sidebar Post Thumbnail */
.sidebar-post-thumbnail {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}

.sidebar-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sidebar-post-item:hover .sidebar-post-image {
    transform: scale(1.1);
}

/* No Image Fallback */
.sidebar-post-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

/* Post Type Overlay on Thumbnail */
.sidebar-post-type-overlay {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-post-type-overlay.video-overlay {
    background: rgba(239, 68, 68, 0.9);
}

.sidebar-post-type-overlay.gallery-overlay {
    background: rgba(34, 197, 94, 0.9);
}

/* Sidebar Post Content */
.sidebar-post-content {
    flex: 1;
    min-width: 0;
    /* Prevents flex item from growing beyond container */
}

/* Post Type Badge */
.sidebar-post-type-badge {
    margin-bottom: 6px;
}

.sidebar-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.sidebar-badge.video-badge {
    background: #ef4444;
}

.sidebar-badge.gallery-badge {
    background: #22c55e;
}

.sidebar-badge.post-badge {
    background: #3b82f6;
}

/* Sidebar Post Title */
.sidebar-post-title {
    margin: 0 0 8px 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a2952;
    transition: color 0.3s ease;
}

.sidebar-post-link:hover .sidebar-post-title {
    color: #f6ab36;
}

/* Sidebar Post Meta */
.sidebar-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-post-date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #64748b;
}

.sidebar-post-date svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* Read More Button for Mobile */
.mobile-read-more-container {
    text-align: center;
    padding: 20px 0 0 0;
}

.mobile-read-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #f6ab36 0%, #e09418 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(246, 171, 54, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.mobile-read-more-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(246, 171, 54, 0.4);
    background: linear-gradient(135deg, #e09418 0%, #d18817 100%);
    color: white;
}

.mobile-read-more-button svg {
    transition: transform 0.3s ease;
}

.mobile-read-more-button:hover svg {
    transform: translateX(-3px);
}

/* RTL Support for Mobile Layout */
[dir="rtl"] .sidebar-post-link {
    direction: rtl;
}

[dir="rtl"] .sidebar-post-date svg {
    margin-right: 0;
    margin-left: 4px;
}

[dir="rtl"] .mobile-read-more-button svg {
    transform: scaleX(-1);
}

[dir="rtl"] .mobile-read-more-button:hover svg {
    transform: scaleX(-1) translateX(3px);
}

.ahrom_boors {
    padding: 60px 20px;
}

#home_second_row .ahrom_boors .col_6.pull_left {
    padding: 30px 0 0 0;
}


/* Latest Posts Section - Responsive Design */
#featured_posts_carousel_section,
#mobile_latest_posts_section {
    padding: 40px 0 60px;
    background-color: #ffffff;
}

/* Desktop: Show carousel, hide mobile list */
.desktop-latest-posts {
    display: block;
}

.mobile-latest-posts {
    display: none;
}

/* Mobile: Hide carousel, show mobile list */
@media (max-width: 768px) {
    .desktop-latest-posts {
        display: none;
    }

    .mobile-latest-posts {
        display: block;
    }
}

/* Mobile Latest Posts List Styling */
.mobile-latest-posts-list {
    padding: 20px 0;
    background: #fff;
}

.mobile-latest-post {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    transition: background-color 0.2s ease;
}

.mobile-latest-post:hover {
    background-color: #f9f9f9;
}

.mobile-latest-post:last-child {
    border-bottom: none;
}

/* Mobile Section Title Adjustments */
@media (max-width: 768px) {
    .mobile-latest-posts .home_title_head {
        margin-bottom: 10px;
        text-align: center;
    }



    /* Ensure mobile read more button is properly centered */
    .mobile-read-more-container {
        margin-top: 20px;
        text-align: center;
    }
}

/* Latest Grid Posts Section - New Overlay Design */
#latest_grid_posts_section {
    padding: 40px 0 60px;
    background-color: #ffffff;
}

.latest-grid-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.latest-grid-item {
    width: 33.333%;
    padding: 15px;
    box-sizing: border-box;
}

.latest-grid-inner {
    height: 100%;
}

.latest-grid-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    /* Fallback background */
}

.latest-grid-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.latest-grid-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* 16:9 Aspect Ratio Container */
.latest-grid-image-bg {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

.latest-grid-container:hover .latest-grid-image-bg {
    transform: scale(1.05);
}

/* Fallback for posts without featured image */
.latest-grid-no-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.latest-grid-fallback-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Dark Gradient Overlay */
.latest-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.1) 30%,
            rgba(0, 0, 0, 0.6) 70%,
            rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

/* Post Type Icon */
.grid-type-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.latest-grid-container:hover .grid-type-icon {
    opacity: 1;
}

.video-icon {
    background-color: rgba(220, 53, 69, 0.9);
}

.gallery-icon {
    background-color: rgba(40, 167, 69, 0.9);
}

/* Content Overlay */
.latest-grid-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
    color: #fff;
}

/* Badge Styling */
.latest-grid-badge {
    margin-bottom: 10px;
}

.grid-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    backdrop-filter: blur(10px);
}

.grid-badge.video-badge {
    background-color: rgba(220, 53, 69, 0.9);
    color: #fff;
}

.grid-badge.gallery-badge {
    background-color: rgba(40, 167, 69, 0.9);
    color: #fff;
}

.grid-badge.post-badge {
    background-color: rgba(0, 123, 255, 0.9);
    color: #fff;
}

/* Title Styling */
.latest-grid-overlay-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta Information */
.latest-grid-overlay-meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
}

.latest-grid-overlay-date {
    display: flex;
    align-items: center;
}

.latest-grid-overlay-date svg {
    margin-left: 5px;
}

/* Responsive Design for New Grid Layout */
@media (max-width: 1024px) {
    .latest-grid-item {
        width: 50%;
        /* 2 columns on tablet */
    }

    .latest-grid-overlay-title {
        font-size: 16px;
    }

    .latest-grid-content-overlay {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .latest-grid-item {
        width: 100%;
        /* 1 column on mobile */
    }

    .latest-grid-image-bg {
        padding-bottom: 50%;
        /* Slightly less height on mobile */
    }

    .latest-grid-overlay-title {
        font-size: 16px;
        -webkit-line-clamp: 3;
        /* Allow more lines on mobile */
    }

    .latest-grid-content-overlay {
        padding: 20px 15px 15px 15px;
    }

    .grid-type-icon {
        width: 35px;
        height: 35px;
        top: 12px;
        right: 12px;
    }

    .grid-badge {
        font-size: 11px;
        padding: 3px 10px;
    }

    #latest_grid_posts_section {
        padding: 30px 0 40px;
    }
}

@media (max-width: 480px) {
    .latest-grid-container {
        border-radius: 8px;
    }

    .latest-grid-image-bg {
        padding-bottom: 45%;
        /* Even more compact on small mobile */
    }

    .latest-grid-content-overlay {
        padding: 15px 12px 12px 12px;
    }

    .latest-grid-overlay-title {
        font-size: 15px;
    }

    .latest-grid-overlay-meta {
        font-size: 12px;
    }

    .grid-type-icon {
        width: 32px;
        height: 32px;
        top: 10px;
        right: 10px;
    }
}

.latest-grid-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 50px;
    overflow: hidden;
}

.latest-grid-title a {
    color: #1c2a51;
    text-decoration: none;
    transition: color 0.3s ease;
}

.latest-grid-title a:hover {
    color: #007bff;
}

.latest-grid-meta {
    margin-bottom: 10px;
    font-size: 13px;
    color: #6c757d;
}

.latest-grid-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #495057;
    margin-bottom: 15px;
    height: 63px;
    overflow: hidden;
}

.latest-grid-readmore {
    display: inline-block;
    color: #007bff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.latest-grid-readmore:hover {
    color: #0056b3;
}

@media (max-width: 991px) {
    .latest-grid-item {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .latest-grid-thumbnail {
        height: 180px;
    }
}

@media only screen and (max-width: 599px) {
    #featured_posts_slider_section_title {
        display: none;
    }

    .latest-grid-item {
        width: 100%;
    }

    .latest-grid-thumbnail {
        height: 200px;
    }

    .maher-section {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .maher-section-text {
        width: 100%;
        padding: 25px;
    }

    #maher_second_row {
        padding-top: 0;
    }

    ul#menu-menu-3 {
        display: flex;
        align-items: center;
        justify-content: center;
        align-content: center;
        flex-wrap: nowrap;
    }

    .hami-logo {
        display: none;
    }

    .hami-text {
        width: 100%;
        padding-left: unset;
        padding: 20px;
    }

    .hami-text p {
        padding-left: unset;
    }

    .sazman p {
        text-align: justify;
        padding: 20px;
    }

    .hami-form-right {
        width: unset;
        margin-left: unset;
    }

    .hami-form-left {
        width: 76%;
        margin-top: 1em;
    }

    .hami-form {
        width: 100%;
    }

    .hami-form form {
        width: auto;
        flex-direction: column;
    }

    .hami-prices div {
        font-size: 12px;
    }

    #hemayatbanner .textbanner {
        width: 100%;
        padding: 20px;
        margin-bottom: 60px;
    }

    #hemayat {
        display: flex;
        flex-direction: column;
    }
}


.mySwiper {
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin: 20px auto;
}

.swiper-slide {
    text-align: center;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.swiper-slide img:hover {
    transform: scale(1.05);
}

.swiper-pagination-bullet {
    background: #1a2952;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: #1a2952;
    opacity: 1;
}

.playbtn {
    position: relative;
}

.playbtn::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    pointer-events: none;
}

@media (max-width: 768px) {
    .swiper-slide img {
        border-radius: 4px;
    }

    .playbtn::after {
        font-size: 2rem;
    }
}