a:hover {
    text-decoration: none;
}

#navbar {
    position: fixed;
    padding: 20px 40px;
    right: 0;
    left: 0;
    top: 0;
    z-index: 100;
    transition-duration: 0.5s;

}


#logo a {
    color: white;
}

#logo img {
    padding-top: 0;
    height: 32px;
    width: 40px;
    filter: brightness(1.1);

}

#toggler {
    position: absolute;
    left: 40px;
    top: 15px;
    color: white;
    cursor: pointer;
    font-size: 30px;

}

#nav {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.8);
    width: 240px;
    right: -240px;
    top: 0;
    bottom: 0;
    line-height: 2.5em;
    padding-top: 30px;
    transition-duration: 0.4s;

}

#nav a {
    color: white;
    font-weight: 500;
    padding: 0 20px;
}

#nav a:hover {
    color: #bdf;
}

#top-carousel .carousel-item {
    height: 100vh;
    min-height: 580px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#top-carousel .carousel-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 100px;
}

#top-carousel li {
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

#top-carousel .carousel-content {
    color: white;
    max-width: 900px;
    margin: 10% auto;
    padding: 0 70px;
}

#top-carousel .carousel-title {
    margin-bottom: 50px;
    font-weight: bold;
    font-size: 26px;
}

#top-carousel .carousel-text {
    margin-bottom: 50px;
    font-weight: 300;
}

#top-carousel .carousel-btn {
    border-radius: 40px;
    padding: 10px 40px;
}

#about {
    background: url("../images/about/world.jpg") center / cover no-repeat fixed;
    padding: 60px 0;
    position: relative;
}

.section-header h3 {
    font-size: 32px;
    text-align: center;
    font-weight: 600;
    padding-bottom: 15px;
}

.section-header p {
    text-align: center;
    padding-bottom: 30px;
    max-width: 800px;
    margin: 30px auto;
}

#about::before {
    position: absolute;
    content: '';
    background-color: rgba(255, 255, 255, 0.9);
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

#about .container {
    position: relative;
}

#about .card-text {
    color: #444;
    font-size: 14px;
    text-align: justify;
}

#services {
    padding: 60px 0;
}

#services h4 {
    margin-left: 55px;
    text-align: left;
    margin-bottom: 15px;
    font-weight: bold;
}

#services .description {
    margin: 0 55px 40px 20px;
    color: #555;
    font-size: 14px;
    text-align: justify;
}

.disabled-method{
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(30%);
}

.disabled-method:hover{
    transform: none !important;
    box-shadow: none !important;
}

.disabled-method .method-icon-circle{
    background-color: #555;
}

#footer {
    background-color: #222;
    padding-top: 60px;
    font-weight: 300;
    font-size: 14px;
}

#footer h5 {
    font-weight: 400;
    padding-bottom: 15px;
    border-bottom: 2px #555 solid;
    margin-bottom: 20px;
}

#footer .col-lg-3 {
    margin-bottom: 40px;
}

#footer li {
    padding: 6px 0;
    border-bottom: 1px solid #333;
}

#footer li:first-child {
    padding-top: 0;
}

#footer li a {
    color: #ddd;
    transition-duration: 0.3s;
}

#footer li a:hover {
    color: #2c6;
}

#footer li i {
    color: #ddd;
    padding-left: 8px;
}

#footer .links {
    margin-top: 60px;
}

#footer .links a {
    font-size: 18px;
    display: inline-block;
    width: 34px;
    height: 34px;
    background-color: #444;
    color: #eee;
    line-height: 2.1em;
    margin-left: 4px;
    border-radius: 50%;
    text-align: center;
    transition-duration: 0.3s;
}

#footer .links a:hover {
    background-color: #18d26e;
    color: #fff;
}

#footer input {
    float: right;
    border: 0;
    padding: 4px;
    width: 70%;
}

#footer button {
    float: right;
    background-color: #2c6;
    border: 0;
    width: 30%;
    padding: 4px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

#footer button:hover {
    background-color: #195;
}

#go-to-top {
    position: fixed;
    bottom: 15px;
    left: 15px;
    display: inline-block;
    width: 46px;
    height: 46px;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    font-weight: bold;
    border-radius: 50%;
    text-align: center;
    line-height: 2.8em;
    transition-duration: 0.5s;
}

#go-to-top:hover {
    background-color: rgba(100, 200, 100, 0.8);
}

#contact-us {
    position: relative;
    padding: 80px 0;
    background-color: #f7f9fc;
    overflow: hidden;
    direction: rtl;
    /* background: url("../images/other/1.jpg") center / cover no-repeat fixed;; */

}

#contact-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(230, 236, 243, 0.35) 100%);
    pointer-events: none;
}

#contact-us .container {
    position: relative;
    z-index: 2;
}

#contact-us .section-header h3 {
    color: #16202a;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px;
}

#contact-us .section-header p {
    color: #5d6b79;
    max-width: 720px;
    margin: 0 auto 38px;
    font-size: 15px;
    line-height: 1.9em;
}

#contact-us .contact-shell {
    max-width: 960px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid rgba(20, 40, 60, 0.08);
    border-radius: 20px;
    padding: 38px;
    box-shadow: 0 12px 35px rgba(20, 40, 60, 0.08);
    transition: all 0.3s ease;
}

#contact-us .contact-shell:hover {
    box-shadow: 0 16px 42px rgba(20, 40, 60, 0.11);
}

#contact-us .contact-intro {
    text-align: center;
    margin-bottom: 30px;
}

#contact-us .contact-badge {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background-color: #eef3f8;
    color: #33485c;
    border: 1px solid rgba(20, 40, 60, 0.08);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

#contact-us .contact-intro h4 {
    color: #16202a;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

#contact-us .contact-intro p {
    color: #607080;
    max-width: 620px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.9em;
}

#contact-us .contact-methods {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

#contact-us .method-card {
    flex: 1;
    min-width: 240px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 18px;
    border-radius: 16px;
    background-color: #fbfcfe;
    border: 1px solid #e5ebf1;
    cursor: pointer;
    margin-bottom: 0;
    transition: all 0.28s ease;
}

#contact-us .method-card:hover {
    border-color: #cfd9e4;
    box-shadow: 0 8px 22px rgba(20, 40, 60, 0.06);
    transform: translateY(-2px);
}

#contact-us .method-card.active {
    background-color: #f3f7fb;
    border-color: #345678;
    box-shadow: 0 10px 24px rgba(20, 40, 60, 0.08);
}

#contact-us .method-card input {
    display: none;
}

#contact-us .method-icon-circle {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 14px;
    background-color: #16202a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

#contact-us .method-title {
    display: block;
    color: #16202a;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

#contact-us .method-subtitle {
    display: block;
    color: #708090;
    font-size: 14px;
}

#contact-us .modern-group {
    margin-bottom: 22px;
}

#contact-us .modern-group label {
    display: block;
    margin-bottom: 10px;
    color: #16202a;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    direction: ltr;
}

#contact-us .modern-input {
    width: 100%;
    height: auto;
    padding: 14px 16px;
    border-radius: 12px;
    background-color: #ffffff;
    border: 1px solid #d9e2ea;
    color: #16202a;
    font-size: 15px;
    text-align: left;
    direction: ltr;
    transition: all 0.28s ease;
    box-shadow: none;
}

#contact-us .modern-input::placeholder {
    color: #98a6b5;
    text-align: left;
    direction: ltr;
}

#contact-us .modern-input:focus {
    border-color: #8ea3b7;
    box-shadow: 0 0 0 4px rgba(22, 32, 42, 0.05);
    outline: none;
}

#contact-us .modern-textarea {
    resize: vertical;
    min-height: 160px;
}

#contact-us .contact-actions {
    text-align: center;
    margin-top: 8px;
}

#contact-send-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 230px;
    padding: 14px 28px;
    border: 0;
    border-radius: 999px;
    background-color: #16202a;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.28s ease;
    box-shadow: 0 10px 24px rgba(20, 40, 60, 0.14);
}

#contact-send-btn:hover {
    background-color: #1b3758;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(20, 40, 60, 0.18);
}

#contact-send-btn i {
    font-size: 14px;
}
#contact-form-message{
    margin-top: 12px;
    color: #d93025;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    min-height: 22px;
}


@media (max-width: 991.98px) {
    #contact-us {
        padding: 65px 0;
    }

    #contact-us .contact-shell {
        padding: 28px 22px;
    }

    #contact-us .contact-intro h4 {
        font-size: 25px;
    }
}

@media (max-width: 767.98px) {
    #contact-us {
        padding: 50px 0;
    }

    #contact-us .section-header h3 {
        font-size: 29px;
    }

    #contact-us .section-header p {
        font-size: 14px;
    }

    #contact-us .contact-shell {
        padding: 22px 16px;
        border-radius: 16px;
    }

    #contact-us .contact-methods {
        flex-direction: column;
        gap: 14px;
    }

    #contact-us .method-card {
        width: 100%;
        min-width: auto;
    }

    #contact-send-btn {
        width: 100%;
        min-width: 0;
    }
}


@media (min-width: 992px) {
    #toggler {
        display: none;

    }


    #nav {
        position: static;
        width: auto;
        background-color: transparent;
        padding-top: 0;
    }

    #nav li {
        float: right;
    }

    #navbar {
        display: flex;
        direction: rtl;
    }

    #logo {
        order: 1;
        margin-right: auto;
    }

    #logo h4 {
        margin-top: 4px;
        margin-bottom: 0;
    }

}

@media (max-width: 991.98px) {
    #nav ul {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 0;
    }

    html[lang="en"] #nav li {
        text-align: left;
    }

    html[lang="en"] #nav a {
        display: block;
        text-align: left;
        direction: ltr;
        padding: 0 20px;
    }

    html[lang="fa"] #nav li {
        text-align: right;
    }

    html[lang="fa"] #nav a {
        display: block;
        text-align: right;
        direction: rtl;
        padding: 0 20px;
    }
}

html[lang="en"] #nav {
    direction: ltr;
}

html[lang="fa"] #nav {
    direction: rtl;
}

@media (max-width: 991.98px) {
    html[lang="en"] #nav li {
        text-align: left;
    }

    html[lang="en"] #nav a {
        display: block;
        text-align: left;
        direction: ltr;
        padding: 0 20px;
    }

    html[lang="fa"] #nav li {
        text-align: right;
    }

    html[lang="fa"] #nav a {
        display: block;
        text-align: right;
        direction: rtl;
        padding: 0 20px;
    }
}