/* ===================================
    ATTRIBUTIX Custom Styles
    Extends MegaOne Creative Startup
====================================== */

/* ===================================
    Logo Fix — remove black background
====================================== */
header .simple-nav-logo {
    background-color: transparent;
    padding: 10px 10px;
}

header .navbar-brand img {
    max-width: none;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
}

header .fixed-nav-logo img {
    max-height: 55px;
    width: auto !important;
    border-radius: 4px;
}

.header-appear .fixed-nav-logo img {
    max-height: 55px;
    width: auto !important;
    border-radius: 4px;
}

/* ===================================
    Sponsors/Client Logos Fix
====================================== */
.sponser-sec {
    padding-top: 40px !important;
    padding-bottom: 40px;
}

.sponser-tags .item {
    padding: 10px 5px;
}

.sponser-tags .item img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.sponser-tags .item img:hover {
    opacity: 1;
}

/* ===================================
    Language Switcher
====================================== */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
}

.lang-switcher .lang-link {
    color: #999;
    text-decoration: none;
    padding: 3px 6px;
    border-radius: 3px;
    transition: .3s ease;
}

.lang-switcher .lang-link.active {
    color: #f71c52;
    font-weight: 700;
}

.lang-switcher .lang-link:hover {
    color: #f71c52;
}

.lang-switcher .lang-divider {
    color: #ccc;
    font-weight: 300;
}

/* Language switcher in fixed header */
.header-appear .lang-switcher .lang-link {
    color: #666;
}

.header-appear .lang-switcher .lang-link.active {
    color: #f71c52;
}

/* Mobile language switcher */
.lang-switcher-mobile {
    margin-top: 20px;
    margin-bottom: 20px;
}

.lang-switcher-mobile .lang-link {
    color: rgba(255, 255, 255, .5);
    font-size: 20px;
    padding: 5px 10px;
}

.lang-switcher-mobile .lang-link.active {
    color: #FFFFFF;
}

.lang-switcher-mobile .lang-divider {
    color: rgba(255, 255, 255, .3);
    font-size: 20px;
}

/* ===================================
    Services Section
====================================== */
.services-sec {
    background-color: #1a1a2e;
}

.services-sec .sub-heading {
    color: #f71c52;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.services-sec .heading {
    margin-bottom: 60px;
}

.services-grid {
    row-gap: 30px;
}

.services-grid>[class*="col-"] {
    margin-bottom: 0;
    display: flex;
}

.service-block {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    padding: 40px 30px;
    transition: .4s ease;
    width: 100%;
}

.service-block:hover {
    background: rgba(255, 255, 255, .1);
    border-color: #f71c52;
    transform: translateY(-5px);
}

.service-block-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f71c52, #554c86);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-block-icon i {
    font-size: 26px;
    color: #FFFFFF;
}

.service-block-title {
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 15px;
}

.service-block-list {
    list-style: none;
    padding: 0;
}

.service-block-list li {
    color: rgba(255, 255, 255, .7);
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 300;
    padding: 5px 0;
    padding-left: 18px;
    position: relative;
}

.service-block-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #39d47a;
}

/* ===================================
    Why Choose Us Section
====================================== */
.why-choose-sec {
    background-color: #121225;
    position: relative;
    overflow: hidden;
}

.why-choose-sec .left-overlay {
    background: linear-gradient(135deg, rgba(247, 28, 82, .15), rgba(85, 76, 134, .1));
}

.why-choose-detail .heading {
    margin-bottom: 30px;
}

.why-choose-detail .text {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.why-choose-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    padding: 30px 25px;
    margin-bottom: 25px;
    transition: .4s ease;
    text-align: center;
}

.why-choose-card:hover {
    background: rgba(255, 255, 255, .1);
    transform: translateY(-3px);
}

.why-choose-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #554c86, #39d47a);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.why-choose-icon i {
    font-size: 24px;
    color: #FFFFFF;
}

.why-choose-card h4 {
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
}

.why-choose-card p {
    color: rgba(255, 255, 255, .6);
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 0;
}

/* ===================================
    Process Section
====================================== */
.process-sec {
    background-color: #1a1a2e;
}

.process-sec .sub-heading {
    color: #39d47a;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.process-sec .heading {
    margin-bottom: 70px;
}

.process-timeline {
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, #f71c52, #554c86, #39d47a);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
}

.process-num {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f71c52, #554c86);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 700;
    box-shadow: 0 4px 25px rgba(247, 28, 82, .3);
    transition: .4s ease;
}

.process-step:hover .process-num {
    transform: scale(1.1);
    box-shadow: 0 6px 35px rgba(247, 28, 82, .5);
}

.process-step h4 {
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
    Industries Section
====================================== */
.industries-sec {
    background-color: #121225;
    position: relative;
    overflow: hidden;
}

.industries-sec .left-overlay {
    background: linear-gradient(135deg, rgba(57, 212, 122, .08), rgba(85, 76, 134, .05));
}

.industries-area {
    position: relative;
    z-index: 1;
}

.industries-detail .heading {
    margin-bottom: 30px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.industry-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: .4s ease;
}

.industry-card:hover {
    background: rgba(255, 255, 255, .1);
    border-color: #39d47a;
    transform: translateY(-5px);
}

.industry-icon {
    margin-bottom: 15px;
}

.industry-icon i {
    font-size: 36px;
    color: #39d47a;
    transition: .3s ease;
}

.industry-card:hover .industry-icon i {
    color: #FFFFFF;
}

.industry-card h4 {
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 0;
}

/* ===================================
    Clients Section
====================================== */
.clients-sec {
    background-color: #1a1a2e;
}

.clients-quote {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    padding: 40px 35px;
}

.clients-quote .icon-holder {
    margin-bottom: 20px;
}

.clients-quote .icon-holder i {
    font-size: 30px;
    color: #f71c52;
}

/* ===================================
    Partnership Section
====================================== */
.partnership-sec {
    background: linear-gradient(135deg, #1a1a2e 0%, #121225 100%);
    position: relative;
    overflow: hidden;
}

.partnership-sec::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(247, 28, 82, .08) 0%, transparent 70%);
    pointer-events: none;
}

.partnership-sec .heading {
    margin-bottom: 25px;
}

.partnership-sec .text {
    margin-bottom: 35px;
    font-size: 18px;
}

.partnership-sec .btn {
    font-size: 16px;
    padding: 14px 50px;
}

/* ===================================
    Footer Slogan
====================================== */
.footer-slogan {
    color: #999;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* ===================================
    Submit Button Fix
====================================== */
button.contact_btn {
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

button.contact_btn:focus {
    outline: none;
}

/* ===================================
    RU Navigation Fix (desktop only)
====================================== */
html[lang="ru"] .simple-navbar .navbar-nav {
    flex-wrap: nowrap;
}

html[lang="ru"] .simple-navbar .navbar-nav .nav-link {
    font-size: 11px;
    letter-spacing: 0;
    padding-left: 6px;
    padding-right: 6px;
    white-space: nowrap;
}

html[lang="ru"] .simple-navbar .top-social-links.fixed-nav-links {
    flex-wrap: nowrap;
    white-space: nowrap;
}

/* ===================================
    Responsive
====================================== */
@media (max-width: 991px) {
    .process-timeline::before {
        display: none;
    }

    .process-step {
        margin-bottom: 30px;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-grid {
        margin-top: 40px;
    }

    .lang-switcher {
        margin-right: 10px;
    }

    header .simple-nav-logo {
        padding: 8px 5px;
    }

    header .navbar-brand img {
        max-height: 70px;
    }

    .why-choose-detail .text {
        -webkit-line-clamp: unset;
        line-clamp: unset;
        display: block;
        overflow: visible;
    }

    html[lang="ru"] .simple-navbar .navbar-nav .nav-link {
        font-size: inherit;
        letter-spacing: inherit;
        padding-left: inherit;
        padding-right: inherit;
        white-space: normal;
    }
}

@media (max-width: 767px) {

    .services-sec .heading,
    .process-sec .heading {
        font-size: 40px;
        margin-bottom: 40px;
    }

    .industries-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .services-grid {
        row-gap: 20px;
    }

    .why-choose-card {
        margin-bottom: 15px;
    }

    .process-num {
        width: 65px;
        height: 65px;
        font-size: 26px;
    }

    .lang-switcher {
        margin-right: 5px;
    }

    .lang-switcher .lang-link {
        font-size: 13px;
    }

    /* Issue #2: Mobile hero buttons spacing */
    .slider-inner-content .btn+.btn {
        margin-left: 0;
        margin-top: 14px;
    }

    .slider-inner-content .btn.ml-2 {
        margin-left: 0 !important;
    }
}