/* Single button */
/* Styles for the single button inside its wrapper */
.acb-single-btn-wrapper .acb-single-btn {
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    position: fixed !important;
    z-index: 98765;
}

/* Hover effect for the single button */
.acb-single-btn-wrapper .acb-single-btn:hover {
    opacity: 0.9;
}

/* Styles for the button text inside a FontAwesome wrapper */
.acb-fa .acb-single-btn-text {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    border-style: solid;
    position: absolute;
    width: max-content;
}

/* Styles for the FontAwesome button container */
.acb-single-btn .acb-fa {
    padding: 25px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    position: fixed;
    z-index: 98765;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Group button */
/* Styles for the main group button with FontAwesome icon */
.acb-group-main-btn .acb-fa-group-main {
    padding: 25px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    position: fixed;
    z-index: 98765;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Styles for each individual button inside the group */
.acb-fa-group-btn {
    padding: 20px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    position: fixed;
    z-index: 98765;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Styles for the dropdown main trigger button */
.acb-dropbtn {
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    position: fixed;
    z-index: 98765;
    cursor: pointer !important;
    display: flex;
}

/* Styles for the container holding dropdown content */
.acb-dropup {
    position: fixed;
}

/* Hidden dropdown content panel shown on interaction */
.acb-dropup-content {
    display: none;
    border-style: solid;
    position: absolute;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    z-index: 98765;
    bottom: 40px;
    margin: 5px;
}

/* Styles for links inside dropdown content */
.acb-dropup-content a {
    text-decoration: none;
}

/* Styles for individual group buttons inside dropdown */
.acb-group-btn {
    text-decoration: none;
    margin: 5px 2px;
    z-index: 98765;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Utility class for positioning elements relatively */
.acb-btn-pos-class {
    position: relative !important;
    text-align: center;
}

/* Hover effect for group buttons */
.acb-group-btn:hover {
    opacity: 0.9;
}

/* Text container inside group buttons */
.acb-group-btn-text {
    border-style: solid;
    z-index: 98765;
    position: absolute;
    align-content: center;
    align-items: center;
    height: fit-content;
    width: max-content;
}

/* Text container for dropdown buttons */
.acb-dropbtn-text {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    border-style: solid;
    z-index: 98765;
    position: absolute;
    width: max-content;
}

/* Container for the main group button (outside of icon) */
.acb-group-main-btn {
    display: flex;
    align-items: center;
    height: fit-content;
    position: fixed;
    z-index: 98765;
}

/* Mobile-specific single button (hidden by default) */
.acb-m-single-btn {
    display: none;
}

/* Mobile-specific dropdown container (hidden by default) */
.acb-m-dropup {
    display: none;
    z-index: 987654 !important;
}

/* Utility class to display dropdown content (toggled via JS) */
.acb-show {
    display: block;
}

/* Styles for mobile */
@media only screen and (max-width: 767px) {
    /* Styles for mobile single button */
    .acb-m-single-btn {
        padding: 25px;
        bottom: 0 !important;
        text-align: center;
        text-decoration: none;
        position: fixed !important;
        z-index: 987654 !important;
        cursor: pointer;
        height: 25px !important;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
        border-radius: 0;
    }

    /* Hover effect for mobile single button */
    .acb-m-single-btn:hover {
        opacity: 0.9;
    }

    /* Text container inside mobile single button */
    .acb-m-single-btn-text {
        padding: 5px;
        position: relative;
    }

    /* Mobile FontAwesome icon inside single button */
    .acb-m-fa {
        padding: 30px;
        text-align: center;
        text-decoration: none;
        position: fixed;
        z-index: 98765;
        height: 15px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Main FontAwesome group button on mobile */
    .acb-m-fa-group-main {
        padding: 25px !important;
        text-align: center;
        text-decoration: none;
        position: fixed;
        z-index: 98765;
        height: 25px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 0 !important;
    }

    /* Mobile dropup container for grouped buttons */
    .acb-m-dropup {
        display: flex;
    }

    /* Dropdown trigger button on mobile */
    .acb-m-dropbtn {
        border: none;
        border-radius: 0;
        text-align: center;
        text-decoration: none;
        position: fixed;
        z-index: 98765;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        direction: rtl;
        bottom: 0;
        height: 60px;
    }

    /* Dropdown content area on mobile (hidden by default) */
    .acb-m-dropup-content {
        display: none;
        bottom: 60px;
        width: 100%;
        position: fixed;
        z-index: 98765;
    }

    /* Links inside mobile dropdown */
    .acb-m-dropup-content a {
        text-decoration: none;
    }

    /* Hover effect for buttons inside mobile dropup */
    .acb-m-dropup div button:hover {
        opacity: 0.95;
    }

    /* Utility class to show dropdown on mobile */
    .acb-show {
        display: block;
    }

    /* Individual group button on mobile */
    .acb-m-group-btn {
        text-decoration: none;
        z-index: 98765;
        cursor: pointer;
        display: flex;
        align-items: center;
        border-radius: 0;
    }

    /* Positioning helper for mobile buttons */
    .acb-m-btn-pos-class {
        position: relative !important;
        text-align: center;
        padding-left: 5%;
    }

    /* Text label inside mobile group button */
    .acb-m-group-btn-text {
        position: relative;
        height: fit-content;
    }

    /* Text label inside dropdown trigger on mobile */
    .acb-m-dropbtn-text {
        padding: 5px;
        z-index: 1000;
        position: relative;
        display: flex;
    }

    /* Wrapper for the main group button on mobile */
    .acb-m-group-main-btn {
        display: flex;
        align-content: center;
        align-items: center;
        bottom: 0;
        position: fixed;
        z-index: 98765;
        width: 100%;
    }
}

/*Styles for google recaptcha in desktop and mobile*/
.g-recaptcha {
    margin: 10px 10px;
}
@media only screen and (max-width: 575px) {
    .g-recaptcha {
        transform: scale(0.77);
        transform-origin: 0 0;
    }
}

/* Button animation */
/* Button animation base properties */
.acb-btn-animated {
    animation-duration: 1.5s;
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

/* Fade animation type */
.acb-btn-fade {
    animation-name: acbFadeIn;
}

/* Slide animation type */
.acb-btn-slide {
    animation-name: acbSlideUp;
}

/* Zoom animation type */
.acb-btn-zoom {
    animation-name: acbZoomIn;
}

/* Bounce animation type */
.acb-btn-bounce {
    animation-name: acbBounce;
}

/* Pulse animation type with longer duration */
.acb-btn-pulse {
    animation-name: acbPulse;
    animation-duration: 2s;
}

/* Keyframes for fade-in animation */
@keyframes acbFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Keyframes for slide-up animation */
@keyframes acbSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Keyframes for zoom-in animation */
@keyframes acbZoomIn {
    from {
        transform: scale(0.6);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Keyframes for bounce animation */
@keyframes acbBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-8px);
    }
}

/* Keyframes for pulse animation */
@keyframes acbPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Device configs */
/* Show on all devices */
.acb-show-all {
    display: block;
    z-index: 98765;
}

/* Hide on desktop, show only on mobile and tablet */
@media (min-width: 1025px) {
    .acb-show-mobile {
        display: none !important;
        z-index: 98765;
    }
}

/* Hide on mobile and tablet, show only on desktop */
@media (max-width: 1024px) {
    .acb-show-desktop {
        display: none !important;
        z-index: 98765;
    }
}

/* Font-Awesome 4.7.0 font-face declaration */
@font-face {
    font-family: 'FontAwesome';
    src: url('../../fonts/FontAwesome/fontawesome-webfont.eot?v=4.7.0');
    src: url('../../fonts/FontAwesome/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),
    url('../../fonts/FontAwesome/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),
    url('../../fonts/FontAwesome/fontawesome-webfont.woff?v=4.7.0') format('woff'),
    url('../../fonts/FontAwesome/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),
    url('../../fonts/FontAwesome/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*
IranSansX fonts are considered a proprietary software. To gain information about the laws
regarding the use of these fonts, please visit www.fontiran.com
---------------------------------------------------------------------
This set of fonts are used in this project under the license: (45YRBPEL)
---------------------------------------------------------------------
*/
/* IRANSansX Regular font-face declaration */
@font-face {
    font-family: 'IRANSansX';
    src: url('../../fonts/IranSansX/IRANSansX-Regular.woff2') format('woff2'),
    url('../../fonts/IranSansX/IRANSansX-Regular.woff') format('woff'),
    url('../../fonts/IranSansX/IRANSansX-Regular.ttf') format('truetype'),
    url('../../fonts/IranSansX/IRANSansX-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

/* IRANSansX Bold font-face declaration */
@font-face {
    font-family: 'IRANSansX';
    src: url('../../fonts/IranSansX/IRANSansX-Bold.woff2') format('woff2'),
    url('../../fonts/IranSansX/IRANSansX-Bold.woff') format('woff'),
    url('../../fonts/IranSansX/IRANSansX-Bold.ttf') format('truetype'),
    url('../../fonts/IranSansX/IRANSansX-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

/* Base styles for main FontAwesome usage */
.acb-main-fa {
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure buttons with this class use FontAwesome font */
button.acb-main-fa {
    overflow: unset;
}

/* FontAwesome icon content for various classes */
.acb-fa-cog:before { content: "\f013"; font-family: FontAwesome; }
.acb-fa-instagram:before { content: "\f16d"; font-family: FontAwesome; }
.acb-fa-telegram:before { content: "\f2c6"; font-family: FontAwesome; }
.acb-fa-whatsapp:before { content: "\f232"; font-family: FontAwesome; }
.acb-fa-phone:before { content: "\f095"; font-family: FontAwesome; }
.acb-fa-envelope-open:before { content: "\f2b6"; font-family: FontAwesome; }
.acb-fa-envelope:before { content: "\f0e0"; font-family: FontAwesome; }
.acb-fa-linkedin:before { content: "\f0e1"; font-family: FontAwesome; }
.acb-fa-paper-plane:before { content: "\f1d8"; font-family: FontAwesome; }
.acb-fa-map-marker:before { content: "\f041"; font-family: FontAwesome; }
.acb-fa-facebook:before { content: "\f09a"; font-family: FontAwesome; }
.acb-fa-twitter:before { content: "\f099"; font-family: FontAwesome; }
.acb-fa-youtube:before { content: "\f167"; font-family: FontAwesome; }
.acb-fa-pinterest:before { content: "\f0d2"; font-family: FontAwesome; }
.acb-fa-link:before { content: "\f0c1"; font-family: FontAwesome; }
.acb-fa-phone-square:before { content: "\f098"; font-family: FontAwesome; }
.acb-fa-commenting-o:before { content: "\f27b"; font-family: FontAwesome; }
.acb-fa-commenting:before { content: "\f27a"; font-family: FontAwesome; }
.acb-fa-comment-o:before { content: "\f0e5"; font-family: FontAwesome; }
.acb-fa-mobile:before { content: "\f10b"; font-family: FontAwesome; }
.acb-fa-check-square-o:before {
    content: "\f046";
    font-family: FontAwesome;
    padding-left: 5px;
}
.acb-fa-times:before {
    content: "\f00d";
    font-family: FontAwesome;
    padding-left: 5px;
}
.acb-fa-spin {
    -webkit-animation: acb-fa-spin 2s infinite linear;
    animation: acb-fa-spin 2s infinite linear;
}

/* Keyframes for FontAwesome spin animation */
@-webkit-keyframes acb-fa-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}
@keyframes acb-fa-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}


/*contact form*/
/* Contact form modal overlay */
.acb-modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal dialog box styling */
.acb-modal-dialog {
    width: 275px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Padding for modal header and body */
.acb-modal-header, .acb-modal-body {
    padding: 0 10px 10px 10px;
    color: black;
}
.acb-modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

/* Modal header layout and styling */
.acb-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Modal title text */
.acb-modal-title {
    margin: 0;
    padding: 10px 10px 0 10px;
}
/* Modal description */
.acb-modal-desc{
    padding: 5px 10px;
}

/* Close button style */
button.acb-btn-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: black;
    padding: 10px;
}

/* Container for form buttons */
.acb-form-buttons {
    margin: 5px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* Base button styling */
button.acb-btn {
    padding: 5px 10px;
    cursor: pointer;
}
.acb-btn-primary:hover {
    opacity: 0.75;
}
.acb-btn-secondary:hover {
    opacity: 0.75;
}

/* Alert box base style */
.acb-alert {
    margin-top: 10px;
    padding: 10px;
    display: none;
    border-radius: 4px;
    font-size: 14px;
}

/* Success alert styling */
.acb-alert.alert-success {
    background: #d4edda;
    color: #155724;
}

/* Danger alert styling */
.acb-alert.alert-danger {
    background: #f8d7da;
    color: #721c24;
}

/* Info alert styling */
.acb-alert.alert-info {
    background: #ad8604;
    color: #ffffff;
}

/* Label styling in contact form */
#acb-contact-form > label {
    padding: 5px 5px 0 0;
    line-height: 1.2;
    margin: 0;
}

/* input styling in contact form */
#acb-contact-form > input {
    padding: 5px;
    margin: 3px 0;
}

/* display styling in contact form */
#acb-contact-form{
    display: flex;
    flex-direction: column;
}

/* Additional margin for form buttons */
.acb-form-buttons {
    margin-top: 10px;
}