@font-face {
    font-family: 'CustomFont';
    src: url('../font/Vazir-Regular.ttf') format('woff2'),
        url('../font/Vazir-Bold.ttf') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'CustomFont', Tahoma, Arial, sans-serif;
    direction: rtl;
    margin: 0;
    padding: 0;
    background: #ffab2f;
    overflow-x: hidden;
}

header {
    background: linear-gradient(to bottom, rgba(255, 207, 0, 0.30) 20%, rgba(255, 171, 42, 1.0)), url('../image/background_1.webp') no-repeat center;
    background-size: cover;
    height: 100vh;
    color: #343434;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#logo_img_amanda {
    width: 250px;
    height: auto;
    margin-bottom: 20px;
}

#logo_img_aipowered {
    width: 300px;
    height: auto;
    margin-bottom: 20px;
}

#logo_img_intellihoma {
    width: 150px;
    height: auto;
    margin-bottom: 1px;
}

#logo_img_custom {
    width: 160px;
    height: auto;
    margin-bottom: 20px;
}

#app_snapshot_img_amanda {
    width: 80%;
    height: auto;
    margin-bottom: 20px;

    box-shadow: 0 16px 16px rgba(0, 0, 0, 0.8);

    -moz-border-radius: 10px;
    border-radius: 15px;
}

h1 {
    font-size: 2.5em;
    margin-top: 20px;
}

h3 {
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

section {
    padding: 40px;
    text-align: center;
}

#main-content h2 {
    font-size: 2em;
    font-weight: bold;
    color: #222;
    text-align: center;
    margin-bottom: 30px;
}

#main-content .mainContentH2 {
    font-size: 2.0em;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 150px;
}

#main-content h2 {
    font-size: 2.0em;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 150px;
}

#main-content .newFeature {
    font-size: 1.2em;
    font-weight: bold;
    color: #343434;
    text-align: center;
    margin-top: 150px;

}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    width: 100%;
}

.feature {
    background-color: #ecf0f1;
    border-radius: 8px;
    padding: 20px;
    width: 22%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.feature:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.feature p {
    font-size: 1em;
}

.feature img {
    width: 70px;
    height: auto;
    margin-bottom: 10px;
}

footer {
    background-color: #202020;
    color: #fff;
    text-align: center;
    padding: 5px;
    position: relative;
    font-size: 0.8em;
}

.company-contact {
    background-color: #343434;
    color: white;
    text-align: center;
    padding: 20px 20px 50px;
}

.company-contact img {
    margin-top: 40px;
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.company-contact p {
    font-size: 1.1em;
    margin: 5px 0;
}


.company-contact h2 {
    font-size: 1.2em;
    margin-top: 10px;
}

.company-contact a {
    color: #fed81b;
    text-decoration: none;
    font-weight: bold;
    display: block;
    margin-top: 5px;
}

.spaced-element0 {
    margin-bottom: 250px;
}

.spaced-element1 {
    margin-bottom: 150px;
}

.spaced-element2 {
    margin-bottom: 100px;
}

.spaced-element3 {
    margin-bottom: 50px;
}

#client-image {
    width: fit-content;
    align-items: center;
    justify-content: center;
}

.download-box {
    display: inline-block;
    background-color: #313131;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin: 10px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.download-box a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
}

.download-box a img {
    margin-left: 10px;
}

.download-box a:hover {
    color: #f4c542;
}

.download-box img {
    width: 20px;
    height: 20px;
    margin-left: 10px;
}

/* ============================= */

#feature-details {
    padding: 40px;
    text-align: center;
    background-color: #f1f1f1;
}

#feature-details h2 {
    font-size: 2.5em;
    color: #222;
    margin-bottom: 40px;
}

.feature-row {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    width: 40%;

    margin-bottom: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.feature-icon img {
    width: 70px;

    margin-bottom: 10px;
}

.feature-item .feature-screenshot {
    width: 100%;
    text-align: center;
}

.feature-item .feature-title {
    font-weight: bold;
    font-size: 1.2em;
    color: #333;
    margin: 10px 0;
    cursor: pointer;
    text-align: center;
    width: 100%;
    display: inline-block;
}

.feature-item .feature-title:hover {
    color: green;
    text-shadow: 0 0 10px rgba(0, 10, 1, 0.1);
}

.feature-item .feature-screenshot img {
    width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 5px;
}

.feature-description {
    display: none;
    margin-top: 10px;
    text-align: left;
    color: #555;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.feature-title.active+.feature-description {
    display: block;
}

/* ============================= */

#feature-slider {
    text-align: center;
    padding: 20px;
    background-color: #ecf0f1;
}

#feature-slider h2 {
    font-size: 2.5em;
    color: #343434;
    margin-bottom: 20px;
}

#feature-slider-ai h2 {
    font-size: 2.5em;
}

.slider-container {
    position: relative;
    height: 400px;
    margin: auto;
    overflow: hidden;
}

.slider {
    display: flex;
    align-items: center;
    overflow-x: auto;
    transition: transform 0.5s ease-in-out;
    gap: 1px;
}

.slider-box {
    display: table-column-group;
    justify-content: center;
    align-items: center;
    height: 220px;
    min-width: 250px;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding:50px 20px;
    transition: transform 0.3s ease;
    margin: 30px 20px;
    scrollbar-width: none;
    /* For Firefox */
}

.slider::-webkit-scrollbar {
    display: none;
    /* For Chrome, Safari, Edge */
}

.slider-box:hover {
    transform: scale(1.05);
}

.slider-box img {
    width: 110px;
    height: 110px;
    margin-bottom: 10px;
}

.slider-title {
    font-size: 0.9em;
    font-weight: bold;
    color: #343434;
}

/* Navigation Buttons */
.prev-btn, .next-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 12px;
    padding: 10px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 10;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* First Logo */
.logo-container {
    position: relative;
}

#amanda-logo {
    width: 300px;
    height: 340px;
}

.rotating-elements {
    transform-origin: 1058.1761px 997.3676px;
    transition: transform 0.1s ease-out;
}

.pupil-dot {
    transition: transform 0.1s ease-out;
}


/* Responsive */
@media (max-width: 768px) {
    .slider-box {
        min-width: 250px;
    }

    .feature {
        min-width: 250px;
    }

    #main-content .mainContentH2 {
        font-size: 1.5em;
    }

    #app_snapshot_img_amanda {
        border-radius: 10px;
    }

    #client-image img {
        width: 100%;
    }
}

@media (max-width: 395px) {

    .slider-box {
        min-width: 150px;
    }

    #client-image {
        padding-right: 15px;
        padding-left: 15px;
    }

}