* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*font-family: 'Montserrat'; /*,'Helvetica Neue','sans-serif' /'SFProText', 'SFProText'*/;
    font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

body {
    /* Font */
    /*font-family: 'Montserrat';/*, Helvetica Neue, sans-serif;*/
    font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 28.8px;
    font-weight: 400;
    color: #000000;
    background-color: #fff;
}

.platform-icons-preload::after {
    content:
        url("../images/common/win-green.png")
        url("../images/common/mac-green.png")
        url("../images/common/android-green.png")
        url("../images/common/ios-green.png")
        url("../images/head/black_win_active.png")
        url("../images/head/black_mac_active.png")
        url("../images/head/black_android_active.png")
        url("../images/head/black_ios_active.png");
}

.cisdem-header {
    background: #fff;
    position: relative;
    z-index: 2000;
}

.cisdem-header.active {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.header-bg {
    display: none;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
    padding-bottom: 20px;
    padding-top: 30px;
}

.header-bg.active {
    display: flex;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 5px;
    padding-bottom: 5px;
}

.header-brand {
    display: flex;
    align-items: center;
}

.header-logo {
    display: flex;
    width: 100%;
    height: 40px;
}

.head-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.header-arrow {
    display: inline-flex;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    background: url('../images/head/arrow_down.png') no-repeat center;
    background-size: 100% 100%;
    transition: transform 0.3s;
    transform-origin: center;
}

.header-store {
    width: 16px;
    height: 16px;
    margin-top: 0px;
    background: url('../images/head/store.png') no-repeat center;
    background-size: 100% 100%;
}

.header-support {
    width: 16px;
    height: 16px;
    margin-top: 0px;
    background: url('../images/head/support.png') no-repeat center;
    background-size: 100% 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333333;
    cursor: pointer;
}

.desktop-nav {
    display: block;

}

.main-nav {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.8rem 0rem 0.8rem 2rem;
    text-decoration: none;
    justify-content: center;
    color: #000000;
    font-weight: 600;
    transition: color 0.3s ease;
    cursor: pointer;
}

.menu-nav-link {
    padding: 0.8rem 2rem 1rem 0rem;
    font-weight: 500;
    align-items: center;
    display: flex;
    white-space: nowrap;
}

.nav-link:hover {
   /* color: #1a56db;*/
}

.nav-link i {
    font-size: 0.8rem;
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 350px;
    max-width: 450px;
    width: max-content;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    list-style: none;
    padding: 1rem 0;
    display: none;
    z-index: 1001;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.sub-dropdown {
    width: 450px;
}

.sum-min-dropdown {
    min-width: 200px;
}

.dropdown.active {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    color: #333333;
    width: 100%;
    transition: background-color 0.3s ease;
}

.sub-dropdown-item {
    padding: 0.6rem 1rem;
}

.sub-dropdown-solutions-item {
    padding: 0.3rem 1rem;
}

.dropdown-item:hover {
    background-color: #f3f4f6;
}

.dropdown-icon {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
}

.dropdown-text {
    display: flex;
    flex-direction: column;
}

.dropdown-title {
    font-weight: 600;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.sum-dropdown-title {
    margin-left: 15px;
    margin-top: 10px;
}

.dropdown-desc {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
}

.overlay {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none;
}

.overlay.active {
    display: block;
}

/* mobile */
.mobile-nav {
    position: absolute;
    width: 100%;
    transition: top 0.3s ease;
    top: -358px;
    background-color: #ffffff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1002;
    overflow-y: auto;
    display: none;
}

.mobile-nav.active {
    top: 60px;
    display: block;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-item {
    border-bottom: 1px solid #e5e7eb;
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;
    text-decoration: none;
    color: #333333;
    font-weight: 500;
}

.mobile-dropdown {
    list-style: none;
    background-color: #f9fafb;
    display: none;
}

.mobile-dropdown.active {
    display: block;
}

.mobile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    color: #333333;
}

.sub-mobile-dropdown-item {
    padding: 0.6rem 0rem;
    gap: 0.5rem;
}

.sub-mobile-dropdown-list-item {
    padding: 0.6rem 0.6rem;
}

.arrow-right {
    display: inline-flex;
    width: 16px;
    height: 16px;
    margin-top: 5px;
    background: url('../images/head/menu_arrow_right.png') no-repeat center;
    background-size: 100% 100%;
    transition: transform 0.3s;
    transform-origin: center;
}

.arrow-down {
    display: inline-flex;
    width: 16px;
    height: 16px;
    margin-top: 5px;
    background: url('../images/head/menu_arrow_up.png') no-repeat center;
    background-size: 100% 100%;
    transition: transform 0.3s;
    transform-origin: center;
}


.has-dropdown:hover .dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.hero-text {
    flex: 1 1 480px;
}

.hero-text h1 {
    font-size: 36px;
    margin-bottom: 10px;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

.hero-text h1 img{
    width: 32px;
    height: 32px;
    margin-right: 5px;
}

.sub-title {
    color: #0073e6;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.header-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.header-features li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
}

.header-features li::before {
    content: "";
    width: 5px;
    height: 5px;
    background-color: #333;
    border-radius: 50%;
    flex-shrink: 0;
}


.header-buttons {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-columns: 1fr 2fr;
    grid-template-areas:
    "download learn"
    "icons   .";
    gap: 0px 20px;
}

.header-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-size: 16px;
    width: 195px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 50px;
    margin-bottom: 5px;
}

.header-btn-download {
    order: 1;
    grid-area: download;
    background: #00aaff;
    color: #fff;
    border: none;
    padding: 10px 10px;
}

.header-btn-download img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.header-btn-download .text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: left;
}

.header-btn-download .title {
    font-size: 16px;
    font-weight: 600;
}

.header-btn-download .subtitle {
    font-size: 12px;
    opacity: 0.9;
}

.header-btn-download:hover {
    background: #0088cc;
}

.header-btn-android {
    background: #000;
}

.header-btn-ios {
    background: #000;
}

.header-btn-learn {
    order: 2;
    grid-area: learn;
    border: 2px solid #000;
    background: #fff;
    color: #000;
    padding: 10px 20px;
    text-align: center;
    font-weight: 600;
}

.header-btn-learn:hover {
    background: #000;
    color: #fff;
}

.header-icons {
    order: 3;
    grid-area: icons;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.header-icons img {
    height: 25px;
    cursor: pointer;
    transition: transform 0.2s;
}

.header-icons-btn {
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.header-icons-btn.win:hover {
    content: url("../images/head/black_win_active.png");
}

.header-icons-btn.mac:hover {
    content: url("../images/head/black_mac_active.png");
}

.header-icons-btn.android:hover {
    content: url("../images/head/black_android_active.png");
}

.header-icons-btn.ios:hover {
    content: url("../images/head/black_ios_active.png");
}


.hero-image {
    flex: 1 1 400px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    margin: auto;
}

.wrapper {
    text-align: center;
}


@media (min-width: 1025px) {
    .cisdem-header .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 1024px) {
    .header-container {
        padding: 10px 40px 10px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        width: 32px;
        height: 32px;
        background: url("../images/head/menu_ios.png") no-repeat center/contain;
    }

    .mobile-menu-toggle.active {
        background-image: url("../images/head/menu_close.png");
    }
}

/* iPad */
@media (min-width: 768px) and (max-width: 1024px) {


    .hero-text {
        text-align: center;
    }

    .header-buttons {
        width: max-content;
        margin: 0 auto;
        grid-template-columns: auto auto;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 14px;
    }

    .header-logo {
        height: 30px;
    }

    .header-logo img {
        height: 22px;
        vertical-align: middle;
    }

    .mobile-menu-toggle {
        width: 24px;
        height: 24px;
        background: url("../images/head/menu_ios.png") no-repeat center/contain;
    }

    .dropdown-icon {
        width: 32px;
        height: 32px;
        border-radius: 4px;
    }

    .dropdown-desc {
        font-size: 12px;
        line-height: 1.2;
    }

    .header-bg {
        padding-top: 0px;
    }

    .header-container {
        padding: 10px;
    }

    .mobile-nav.active {
        top: 50px;
    }

    .hero-text h1 {
        font-size: 28px;
        margin-bottom: 5px;
        align-items: flex-start;
    }
    .hero-text h1 img{
        width: 24px;
        height: 24px;
        margin-top: 5px;
    }

    .sub-title {
        font-size: 16px;
    }

    .header-buttons {
        display: block;
        text-align: center;
        grid-template-columns: 1fr;
        grid-template-areas:
      "download"
      "icons"
      "learn";
    }

    .header-btn {
        width: 100%;
        font-size: 14px;
        min-height: 50px;
    }

    .header-btn-download {
        order: 2;
    }

    .header-icons {
        order: 3;
        /*margin-top: 10px;*/
        justify-content: center;
        /*display: inline-block;*/
    }

    .header-btn-learn {
        order: 1;
        margin-top: 10px;
    }

    .header-features li {
        position: relative;
        padding-left: 15px;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .header-features li::before {

        position: absolute;
        left: 0;
        top: 0.65em;
    }

    .sub-mobile-dropdown-list-item {
        padding: 0.4rem 0.6rem;
        font-size: 12px;
        line-height: 1.5;
    }

    .sub-mobile-dropdown-item {
        padding: 0.3rem 0rem;
        font-size: 12px;
    }
}


@media (max-width: 1024px) {
    .hero-text {
        order: 1;
        margin: 20px 20px 0px;
    }

    .hero-image {
        order: 2;
        margin-top: 40px;
    }

    .header-icons {
        justify-content: center;
    }

    .hero-text h1{
        justify-content: center;
    }
}