/* ==========================================================================
   Trime Technologies LLC - Custom Theme Overrides & Layout Fixes
   ========================================================================== */

:root {
    --oslim-base: #c82027;
    --oslim-base-rgb: 200, 32, 39;
    --oslim-black: #16171e;
    --oslim-black-rgb: 22, 23, 30;
    --oslim-extra: #f6f6f9;
    --oslim-extra-rgb: 246, 246, 249;
}

html {
    scroll-behavior: smooth;
}

/* --------------------------------------------------------------------------
   1. Header & Sticky Navigation Layout Fixes
   -------------------------------------------------------------------------- */
.main-menu {
    padding: 0 40px;
}

.stricky-header.main-menu {
    padding: 0 40px;
}

.main-menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.main-menu-wrapper:after {
    display: none;
}

.main-menu-wrapper__left {
    float: none;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.main-menu-wrapper__logo {
    float: none;
    padding-top: 16px;
    padding-bottom: 16px;
    margin-right: 56px;
    flex-shrink: 0;
}

.main-menu-wrapper__logo:before {
    top: 20px;
    bottom: 20px;
    right: -28px;
}

.main-menu-wrapper__logo img {
    height: 56px;
    width: auto;
    display: block;
}

.main-menu-wrapper__main-menu {
    float: none;
    display: flex;
    align-items: center;
}

.main-menu .main-menu__list > li,
.stricky-header .main-menu__list > li {
    padding-top: 32px;
    padding-bottom: 32px;
}

.main-menu .main-menu__list > li + li,
.stricky-header .main-menu__list > li + li {
    margin-left: 32px;
}

.main-menu-wrapper__right {
    float: none;
    padding: 16px 0;
    flex-shrink: 0;
    margin-left: 24px;
}

@media (max-width: 1199px) {
    .main-menu-wrapper__left {
        justify-content: space-between;
        width: 100%;
    }
    .main-menu-wrapper__logo {
        margin-right: 0;
    }
    .main-menu-wrapper__logo:before {
        display: none;
    }
    .main-menu-wrapper__right {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   2. Hero Slider Layout & Fade Transition Fixes
   -------------------------------------------------------------------------- */
.main-slider .container {
    padding-top: 220px;
    padding-bottom: 160px;
}

.main-slider .image-layer {
    background-size: cover;
    background-position: center center;
    opacity: 0.35;
}

.main-slider .swiper-slide-active .image-layer {
    opacity: 0.45;
}

.main-slider__badge {
    display: inline-block;
    background-color: var(--oslim-base);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 3px;
    margin-bottom: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-40px);
    transition: transform 1200ms ease, opacity 1200ms ease;
    transition-delay: 500ms;
}

.main-slider h2 {
    font-size: 72px;
    line-height: 82px;
    margin-bottom: 22px;
    font-weight: 900;
}

.main-slider__subtext {
    color: rgba(255, 255, 255, 0.88);
    font-size: 19px;
    line-height: 30px;
    max-width: 620px;
    margin-top: 0;
    margin-bottom: 34px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(40px);
    transition: transform 1400ms ease, opacity 1400ms ease;
    transition-delay: 1200ms;
}

.main-slider .swiper-slide-active .main-slider__badge,
.main-slider .swiper-slide-active .main-slider__subtext {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-slider__btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.thm-btn--outline {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #ffffff;
}

.thm-btn--outline:hover {
    background-color: #ffffff;
    color: var(--oslim-black);
    border-color: #ffffff;
}

@media (max-width: 991px) {
    .main-slider h2 {
        font-size: 52px;
        line-height: 60px;
    }
}

@media (max-width: 767px) {
    .main-slider .container {
        padding-top: 170px;
        padding-bottom: 120px;
    }
    .main-slider h2 {
        font-size: 40px;
        line-height: 48px;
    }
    .main-slider__subtext {
        font-size: 16px;
        line-height: 26px;
    }
}

/* --------------------------------------------------------------------------
   3. Welcome One (Who We Are) Layout Fixes
   -------------------------------------------------------------------------- */
.welcome-one {
    padding: 110px 0 100px;
}

.welcome-one__top-right {
    margin-left: 40px;
    margin-top: 0;
}

.welcome-one__counter {
    margin-bottom: 30px;
}

.welcome-one__counter-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 40px;
}

.welcome-one__counter-single {
    float: none;
    max-width: none;
    width: auto;
    text-align: left;
    padding-left: 36px;
}

.welcome-one__counter-single:first-child {
    padding-right: 0;
    padding-left: 0;
}

.welcome-one__counter-single:before {
    left: 0;
}

.welcome-one__counter-single h3.odometer {
    color: var(--oslim-base);
    font-size: 46px;
    line-height: 52px !important;
}

.welcome-one__counter-text {
    font-size: 16px;
    line-height: 24px;
    color: #b5b4c4;
}

.welcome-one__feature {
    align-items: stretch;
}

.welcome-one__feature-single {
    padding: 36px 40px 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.welcome-one__feature-desc {
    font-size: 15px;
    line-height: 24px;
    color: var(--oslim-gray);
    margin: 14px 0 4px;
}

.welcome-one__feature-count {
    bottom: 38px;
    right: 40px;
}

.main-slider__nav {
    pointer-events: none;
}

.main-slider__nav .swiper-button-next,
.main-slider__nav .swiper-button-prev {
    pointer-events: auto;
}

@media (max-width: 991px) {
    .welcome-one__top-right {
        margin-left: 0;
        margin-top: 30px;
    }
    .welcome-one__counter-list {
        justify-content: flex-start;
    }
    .welcome-one__feature-single {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
        border-radius: 4px;
    }
    .welcome-one__feature-single:before {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   4. Work Together (About Breakdown) Layout Fixes
   -------------------------------------------------------------------------- */
.work-together {
    padding: 110px 0 110px;
}

.work-together__img-box {
    position: relative;
    padding-bottom: 50px;
    padding-right: 30px;
}

.work-together__img-1 > img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
}

.work-together__img-2 {
    position: absolute;
    bottom: -50px;
    right: -30px;
    width: 280px;
}

.work-together__img-2 img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 6px;
    border: 6px solid #ffffff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

.work-together__right {
    margin-left: 40px;
}

.work-together__points {
    margin-top: 24px;
    margin-bottom: 0;
}

.work-together__points li {
    display: flex;
    align-items: flex-start;
}

.work-together__points li + li {
    margin-top: 16px;
}

.work-together__points li .icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 5px;
    font-size: 10px;
}

.work-together__points li .text {
    margin-left: 16px;
    flex: 1;
}

.work-together__points li .text p {
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
    color: #454452;
}

.work-together__points li .text p strong {
    color: var(--oslim-black);
    font-weight: 700;
}

@media (max-width: 1199px) {
    .work-together__right {
        margin-left: 0;
        margin-top: 50px;
    }
}

/* --------------------------------------------------------------------------
   5. Story, Mission, Vision & Sky InfoTech History Section
   -------------------------------------------------------------------------- */
.trime-story-section {
    padding: 110px 0;
    background-color: var(--oslim-extra);
    position: relative;
}

.mv-card {
    background: #ffffff;
    border-radius: 6px;
    padding: 36px 32px;
    height: 100%;
    border-top: 4px solid var(--oslim-base);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
}

.mv-card__icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(200, 32, 39, 0.1);
    color: var(--oslim-base);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.mv-card__title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--oslim-black);
}

.mv-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mv-card__list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 26px;
    color: #555461;
}

.mv-card__list li:last-child {
    margin-bottom: 0;
}

.mv-card__list li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--oslim-base);
}

.history-box {
    background: #ffffff;
    border-radius: 8px;
    padding: 48px;
    margin-top: 50px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.concentration-badge {
    display: flex;
    align-items: center;
    background: var(--oslim-extra);
    border-left: 4px solid var(--oslim-base);
    padding: 14px 18px;
    border-radius: 4px;
    height: 100%;
    font-weight: 700;
    color: var(--oslim-black);
    font-size: 15px;
    line-height: 22px;
}

.concentration-badge span.num {
    background: var(--oslim-base);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 12px;
    flex-shrink: 0;
}

.principle-pill {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: var(--oslim-extra);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 5px;
    height: 100%;
    font-weight: 700;
    font-size: 15px;
    line-height: 22px;
    color: var(--oslim-black);
}

.principle-pill i {
    color: var(--oslim-base);
    margin-right: 12px;
    font-size: 18px;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .history-box {
        padding: 28px 20px;
    }
}

/* --------------------------------------------------------------------------
   6. Area of Expertise Grid (8 Cards - Services One Overrides)
   -------------------------------------------------------------------------- */
.expertise-section {
    padding: 110px 0 90px;
}

.expertise-section .services-one__single {
    margin-bottom: 30px;
    height: calc(100% - 30px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
}

.expertise-section .services-one__img {
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.expertise-section .services-one__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expertise-section .services-one__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 26px 22px 20px;
    box-shadow: none;
}

.expertise-section .services-one__title-box {
    display: flex;
    align-items: center;
    padding-bottom: 16px;
}

.expertise-section .services-one__title-icon {
    width: 38px;
    flex-shrink: 0;
    justify-content: center;
}

.expertise-section .services-one__title-icon:before {
    right: -14px;
}

.expertise-section .services-one__title-icon span {
    font-size: 32px;
    color: var(--oslim-base);
}

.expertise-section .services-one__title {
    font-size: 19px;
    font-weight: 800;
    line-height: 24px;
    margin-left: 28px;
}

.expertise-section .services-one__text {
    font-size: 15px;
    line-height: 24px;
    color: var(--oslim-gray);
    margin-bottom: 16px;
}

.expertise-section .services-one__bottom {
    margin-top: auto;
    padding-top: 16px;
}

/* --------------------------------------------------------------------------
   7. Device Internet Security Solutions Section
   -------------------------------------------------------------------------- */
.security-section {
    padding: 110px 0;
    background-color: var(--oslim-black);
    color: #ffffff;
    position: relative;
}

.security-section .section-title__title {
    color: #ffffff;
}

.security-card {
    background: #222430;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 3px solid var(--oslim-base);
    border-radius: 6px;
    padding: 30px 24px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.security-card:hover {
    transform: translateY(-5px);
    background: #2a2c3a;
    border-color: var(--oslim-base);
    box-shadow: 0 15px 35px rgba(200, 32, 39, 0.22);
}

.security-card__icon {
    font-size: 36px;
    color: var(--oslim-base);
    margin-bottom: 14px;
}

.security-card__title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.security-card__text {
    color: rgba(255, 255, 255, 0.74);
    font-size: 15px;
    line-height: 24px;
    margin: 0;
}

/* --------------------------------------------------------------------------
   8. Infrastructure Solutions Section (Equal Height Cards)
   -------------------------------------------------------------------------- */
.infra-section {
    padding: 110px 0;
    background-color: #ffffff;
}

.infra-card {
    background: var(--oslim-extra);
    border-radius: 8px;
    padding: 34px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-bottom: 4px solid var(--oslim-base);
    transition: all 0.3s ease;
}

.infra-card:hover {
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.09);
}

.infra-card__header {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
}

.infra-card__icon-img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    object-fit: contain;
    background: #ffffff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    margin-right: 16px;
}

.infra-card__title {
    font-size: 21px;
    line-height: 27px;
    font-weight: 800;
    color: var(--oslim-black);
}

.infra-card__visual {
    margin-top: auto;
    padding-top: 24px;
}

.infra-card__visual-inner {
    background: #ffffff;
    border-radius: 6px;
    height: 200px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.infra-card__visual-inner img {
    max-width: 100%;
    max-height: 176px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.infra-card__visual-inner img.cover-img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   9. Domains & Range of Access Control Systems
   -------------------------------------------------------------------------- */
.domains-section {
    padding: 110px 0;
    background-color: var(--oslim-extra);
}

.domain-item {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 16px 20px;
    border-radius: 6px;
    height: 100%;
    min-height: 68px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    border-left: 4px solid var(--oslim-base);
    transition: transform 0.2s ease;
}

.domain-item:hover {
    transform: translateY(-3px);
}

.domain-item i {
    color: var(--oslim-base);
    font-size: 20px;
    margin-right: 14px;
    width: 26px;
    text-align: center;
    flex-shrink: 0;
}

.domain-item span {
    font-size: 16px;
    font-weight: 700;
    color: var(--oslim-black);
    line-height: 22px;
}

.access-showcase-box {
    background: #ffffff;
    border-radius: 8px;
    padding: 45px;
    margin-top: 60px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.access-img-grid img {
    width: 100%;
    height: 280px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

@media (max-width: 767px) {
    .access-showcase-box {
        padding: 28px 20px;
    }
}

/* --------------------------------------------------------------------------
   10. Business Values & Client Portfolio Sections
   -------------------------------------------------------------------------- */
.values-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #16171e 0%, #25161a 100%);
    color: #ffffff;
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 32px 26px;
    height: 100%;
    transition: all 0.3s ease;
}

.value-card:hover {
    background: rgba(200, 32, 39, 0.15);
    border-color: var(--oslim-base);
    transform: translateY(-5px);
}

.value-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--oslim-base);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
}

.value-card__title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}

.value-card__text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 26px;
    margin: 0;
}

.clients-section {
    padding: 110px 0;
    background-color: #ffffff;
}

.client-logo-card {
    background: #ffffff;
    border: 1px solid #ececef;
    border-radius: 6px;
    padding: 20px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.client-logo-card:hover {
    border-color: var(--oslim-base);
    box-shadow: 0 10px 28px rgba(200, 32, 39, 0.12);
    transform: translateY(-4px);
}

.client-logo-card img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* --------------------------------------------------------------------------
   11. Contact Section, Map, CTA & Footer Fixes
   -------------------------------------------------------------------------- */
.contact-form__input-box {
    margin-bottom: 20px;
}

.contact-form__input-box input[type="text"],
.contact-form__input-box input[type="email"],
.contact-form__input-box textarea {
    background-color: #222430;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    margin-bottom: 0;
}

.contact-form__input-message-box {
    height: auto;
    margin-bottom: 20px;
}

.contact-form__input-box input[type="text"]::placeholder,
.contact-form__input-box input[type="email"]::placeholder,
.contact-form__input-box textarea::placeholder {
    color: #a5a3b5;
}

.contact-form__input-box input[type="text"]:focus,
.contact-form__input-box input[type="email"]:focus,
.contact-form__input-box textarea:focus {
    border-color: var(--oslim-base);
    background-color: #282a38;
}

.contact-form__input-box label.error {
    display: block;
    color: #ff6b72;
    font-size: 13px;
    font-weight: 500;
    margin-top: 6px;
    line-height: 1.4;
}

.contact-form__input-box input.error,
.contact-form__input-box textarea.error {
    border-color: #ff6b72;
}

.contact-one__top-right .result .inner {
    margin-top: 20px;
    padding: 16px 22px;
    border-radius: 6px;
    background-color: rgba(40, 167, 69, 0.14);
    border: 1px solid rgba(40, 167, 69, 0.45);
}

.contact-one__top-right .result .inner.error {
    background-color: rgba(200, 32, 39, 0.18);
    border-color: rgba(200, 32, 39, 0.55);
}

.contact-one__top-right .result .inner p {
    margin: 0;
    color: #ffffff;
    font-size: 15px;
    line-height: 24px;
}

.contact-one__top-right .result .inner p a {
    color: #ff7a80;
    text-decoration: underline;
    font-weight: 600;
}

.contact-one__single {
    height: 100%;
    margin-bottom: 0;
    background-color: #222430;
    border-top: 4px solid var(--oslim-base);
    padding: 36px 36px 32px;
}

.contact-one__contact-info {
    margin-top: 16px;
}

.google-map-two {
    margin-bottom: 80px;
}

.cta-one__inner-content {
    padding: 75px 80px;
}

@media (max-width: 767px) {
    .cta-one__inner-content {
        padding: 50px 25px;
    }
}

.footer-widget__logo img {
    height: 58px;
    width: auto;
}

.footer-widget__about-text {
    font-size: 16px;
    line-height: 27px;
    color: #a5a3b5;
    font-weight: 400;
}

.footer-widget__explore-list-two {
    margin-left: 40px;
}

.footer-widget__contact-number {
    display: block;
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 6px;
}

.footer-widget__contact-email {
    display: block;
    font-size: 18px;
    line-height: 28px;
}
