/* ============================================
   Altris Global — Custom Styles
   ============================================ */

/* ---------- Site Logo Sizing ---------- */
.cs_site_branding img {
    height: 65px;
    width: auto;
    max-width: none;
}
.cs_logo_box img {
    height: 48px;
    width: auto;
    max-width: none;
}
.cs_footer_brand_icon {
    height: 70px;
    width: auto;
    max-width: none;
}

/* ---------- Product Photos (even sizing + transparent PNG fix) ---------- */
.cs_member_img {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}
.cs_member_img img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    padding: 20px;
    box-sizing: border-box;
    background: #fff;
}
@media (max-width: 575px) {
    .cs_member_img {
        height: 220px;
    }
}

/* ---------- Product Cards — Even Box Height ---------- */
/* Clamp title/category/description to a fixed number of lines so every
   card's text block takes up the same height regardless of content length. */
.cs_member_name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}
.cs_member_designation {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 1.7em;
}
.cs_member_description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.9em;
}

/* ---------- Hero Segment Badges ---------- */
.cs_hero_segments {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-bottom: 30px;
}
.cs_hero_segments .cs_segment_badge {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.cs_hero_segments .cs_segment_badge:hover {
    background: rgba(255,255,255,0.35);
    transform: translateY(-2px);
}

/* ---------- Division Cards ---------- */
.cs_division_cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
@media (max-width: 1199px) {
    .cs_division_cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .cs_division_cards {
        grid-template-columns: 1fr;
    }
}
.cs_division_card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(48,123,196,0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.cs_division_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(48,123,196,0.15);
    border-color: rgba(48,123,196,0.2);
}
.cs_division_card_img {
    position: relative;
    height: 170px;
    overflow: hidden;
    background: #f0f7ff;
}
.cs_division_card_img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.cs_division_card:hover .cs_division_card_img img {
    transform: scale(1.08);
}
.cs_division_card_badge {
    position: absolute;
    left: 16px;
    top: 16px;
    background: rgba(255,255,255,0.95);
    color: #274760;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.cs_division_card_body {
    padding: 26px 28px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.cs_division_card_title {
    font-size: 24px;
    font-weight: 700;
    color: #274760;
    margin-bottom: 5px;
}
.cs_division_card_subtitle {
    font-size: 15px;
    color: #307BC4;
    font-weight: 600;
    margin-bottom: 18px;
}
.cs_division_card_list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}
.cs_division_card_list li {
    padding: 5px 0;
    font-size: 14px;
    color: #6C7A89;
    position: relative;
    padding-left: 18px;
}
.cs_division_card_list li::before {
    content: '\2022';
    color: #307BC4;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 5px;
}
.cs_division_card_link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #307BC4;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    padding-top: 10px;
}
.cs_division_card_link:hover {
    color: #1a5276;
    gap: 12px;
}

/* ---------- What We Do — theme cs_iconbox_4 icon glyphs ---------- */
/* The theme's cs_style_4 iconbox expects a white <img> icon; we use FontAwesome
   glyphs instead, so just color/size them to match. */
.cs_iconbox.cs_style_4 .cs_iconbox_icon i {
    color: #fff;
    font-size: 18px;
}

/* ---------- Product Catalogue ---------- */
.cs_catalogue_section {
    background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%);
    border-radius: 30px;
    padding: 60px 40px;
}
.cs_catalogue_row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(48,123,196,0.1);
}
.cs_catalogue_row:last-child {
    border-bottom: none;
}
.cs_catalogue_label {
    min-width: 130px;
    font-size: 18px;
    font-weight: 700;
    color: #274760;
    padding-top: 6px;
}
.cs_catalogue_label i {
    margin-right: 8px;
    color: #307BC4;
}
.cs_catalogue_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}
.cs_catalogue_tag {
    background: #fff;
    border: 1px solid rgba(48,123,196,0.15);
    color: #274760;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}
.cs_catalogue_tag:hover {
    background: #307BC4;
    color: #fff;
    border-color: #307BC4;
    transform: translateY(-2px);
}

/* ---------- Global Reach ---------- */
.cs_global_reach {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #274760, #307BC4);
    border-radius: 30px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cs_global_reach::before {
    content: '';
    font-size: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.08;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    border-radius: 50%;
}
.cs_global_reach h2 {
    color: #fff;
    position: relative;
    z-index: 1;
}
.cs_global_reach p {
    color: rgba(255,255,255,0.85);
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
}

/* ---------- Enquiry Form Enhancement ---------- */
.cs_enquiry_form select.cs_form_field {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23274760' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 35px;
}

/* ---------- Why Choose Section ---------- */
.cs_why_grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}
@media (max-width: 1199px) {
    .cs_why_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 767px) {
    .cs_why_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .cs_why_grid {
        grid-template-columns: 1fr;
    }
}
.cs_why_card {
    text-align: center;
    padding: 35px 20px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 4px 25px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    border: 1px solid rgba(48,123,196,0.06);
}
.cs_why_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 40px rgba(48,123,196,0.14);
    border-color: rgba(48,123,196,0.15);
}
.cs_why_card_icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #307BC4, #2196F3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: #fff;
}
.cs_why_card_title {
    font-size: 17px;
    font-weight: 700;
    color: #274760;
    margin-bottom: 10px;
}
.cs_why_card_text {
    font-size: 14px;
    color: #6C7A89;
    line-height: 1.6;
    margin: 0;
}

/* ---------- About Page — Vision/Mission Cards ---------- */
.cs_vm_cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
@media (max-width: 767px) {
    .cs_vm_cards {
        grid-template-columns: 1fr;
    }
}
.cs_vm_card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.07);
    border-left: 4px solid #307BC4;
    transition: all 0.3s ease;
}
.cs_vm_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(48,123,196,0.12);
}
.cs_vm_card_icon {
    font-size: 36px;
    margin-bottom: 15px;
}
.cs_vm_card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #274760;
    margin-bottom: 12px;
}
.cs_vm_card p {
    color: #6C7A89;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* ---------- About Page — Values Row ---------- */
.cs_values_row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.cs_value_pill {
    background: linear-gradient(135deg, #307BC4, #2196F3);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.cs_value_pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(48,123,196,0.3);
}

/* ---------- Resources / Downloads ---------- */
.cs_resource_cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
@media (max-width: 991px) {
    .cs_resource_cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .cs_resource_cards {
        grid-template-columns: 1fr;
    }
}
.cs_resource_card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    border: 1px solid rgba(48,123,196,0.08);
}
.cs_resource_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(48,123,196,0.12);
}
.cs_resource_card_icon {
    font-size: 40px;
    margin-bottom: 15px;
}
.cs_resource_card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #274760;
    margin-bottom: 15px;
}
.cs_resource_card .cs_download_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #307BC4;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.cs_resource_card .cs_download_btn:hover {
    color: #1a5276;
    gap: 10px;
}

/* ---------- Contact Page — Even Info Boxes ---------- */
.cs_contact_info_row {
    align-items: stretch;
}
.cs_contact_info_row > [class*="col-"] {
    display: flex;
}
.cs_contact_info_row .cs_iconbox.cs_style_11 {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

/* ============================================
   Home Hero — Global Trade & Healthcare Logistics
   ============================================ */
.cs_altris_hero {
    position: relative;
    padding: 190px 0 90px;
    background-color: #f7faff;
    overflow: hidden;
}
.cs_altris_hero_bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: auto 100%;
    background-position: right top;
    background-repeat: no-repeat;
}
.cs_altris_hero_content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}
.cs_altris_hero .cs_hero_title {
    font-size: clamp(38px, 4.3vw, 62px);
    font-weight: 800;
    line-height: 1.15;
    color: #102a43;
    letter-spacing: -0.5px;
    margin-bottom: 22px;
}
.cs_altris_hero .cs_hero_subtitle {
    font-size: 18px;
    line-height: 1.65;
    color: #486581;
    max-width: 580px;
    margin-bottom: 35px;
}

/* Category Icons Row */
.cs_hero_cats_row {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.cs_hero_cat_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.cs_hero_cat_icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #f0f7ff;
    border: 1px solid rgba(48, 123, 196, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #274760;
    transition: all 0.3s ease;
}
.cs_hero_cat_item:hover .cs_hero_cat_icon {
    background: #274760;
    color: #ffffff;
    border-color: #274760;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(39, 71, 96, 0.2);
}
.cs_hero_cat_name {
    font-size: 13px;
    font-weight: 600;
    color: #274760;
    line-height: 1.35;
}
.cs_hero_cat_item:hover .cs_hero_cat_name {
    color: #307bc4;
}

/* Partner Button */
.cs_hero_partner_btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #102a43;
    color: #ffffff !important;
    padding: 15px 34px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(16, 42, 67, 0.25);
    transition: all 0.3s ease;
}
.cs_hero_partner_btn i {
    transition: transform 0.3s ease;
    font-size: 14px;
}
.cs_hero_partner_btn:hover {
    background: #307bc4;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(48, 123, 196, 0.35);
}
.cs_hero_partner_btn:hover i {
    transform: translateX(4px);
}

/* Tagline */
.cs_hero_tagline {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    color: #307bc4;
    text-transform: uppercase;
    flex-wrap: wrap;
}
.cs_hero_tag_sep {
    color: rgba(48, 123, 196, 0.35);
    font-weight: 300;
}

/* Info strip (re-implemented, independent of legacy hero styles) */
.cs_altris_hero .cs_hero_info_wrap {
    padding: 55px 90px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
    margin-bottom: -180px;
}
.cs_altris_hero .cs_hero_info_title {
    font-size: 16px;
    line-height: 1.6em;
    margin-bottom: 4px;
}
.cs_altris_hero .cs_hero_info_subtitle {
    line-height: 1.3em;
    margin: 0;
}
.cs_altris_hero .cs_hero_info_icon {
    height: 70px;
    width: 70px;
    padding: 18px;
}
.cs_altris_hero .cs_hero_info_icon img {
    filter: brightness(0) invert(1);
}
.cs_altris_hero .cs_hero_info {
    gap: 24px;
}

@media (max-width: 1300px) {
    .cs_altris_hero {
        padding: 180px 0 80px;
    }
    .cs_altris_hero .cs_hero_info_wrap {
        padding: 45px 50px;
        margin-bottom: -130px;
    }
}
@media (max-width: 1199px) {
    .cs_altris_hero_content {
        max-width: 540px;
    }
    .cs_altris_hero .cs_hero_info_wrap {
        padding: 45px 25px;
        gap: 24px;
        margin-bottom: -120px;
    }
    .cs_altris_hero .cs_hero_info_icon {
        height: 60px;
        width: 60px;
        padding: 15px;
    }
    .cs_altris_hero .cs_hero_info {
        gap: 15px;
    }
}
@media (max-width: 991px) {
    .cs_altris_hero {
        padding: 150px 0 60px;
    }
    .cs_altris_hero_bg {
        background-position: 75% bottom;
    }
    .cs_altris_hero_content {
        max-width: 100%;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 38px 30px;
        border-radius: 24px;
        box-shadow: 0 15px 40px rgba(39, 71, 96, 0.1);
    }
    .cs_hero_cats_row {
        gap: 20px;
    }
    .cs_altris_hero .cs_hero_info_wrap {
        justify-content: center;
        margin-bottom: -95px;
    }
}
@media (max-width: 767px) {
    .cs_altris_hero {
        padding: 140px 0 50px;
    }
    .cs_altris_hero .cs_hero_subtitle {
        margin-bottom: 25px;
    }
}
@media (max-width: 575px) {
    .cs_altris_hero_content {
        padding: 26px 18px;
    }
    .cs_hero_cats_row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .cs_hero_tagline {
        font-size: 11px;
        gap: 8px;
        letter-spacing: 1px;
    }
    .cs_altris_hero .cs_hero_info_wrap {
        flex-direction: column;
        align-items: flex-start;
        padding: 35px 25px;
        margin-bottom: -70px;
    }
}

/* ============================================
   Home "Who We Are" — Custom Visual (no stock photos)
   ============================================ */
.cs_about_visual {
    position: relative;
    max-width: 560px;
}
.cs_about_visual_main {
    background: linear-gradient(135deg, #274760, #307BC4);
    border-radius: 30px;
    padding: 70px 50px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.cs_about_visual_main::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    top: -80px;
    right: -80px;
}
.cs_about_visual_icon {
    font-size: 56px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}
.cs_about_visual_main h4 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.cs_about_visual_main p {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    line-height: 1.7;
    max-width: 380px;
    margin: 0;
    position: relative;
    z-index: 1;
}
.cs_about_visual_accent {
    position: absolute;
    right: -25px;
    bottom: -80px;
    background: #fff;
    border-radius: 22px;
    padding: 26px 24px;
    width: 220px;
    box-shadow: 0 20px 45px rgba(39,71,96,0.18);
    z-index: 2;
}
.cs_about_visual_accent_icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #307BC4, #2196F3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    margin-bottom: 12px;
}
.cs_about_visual_accent h5 {
    font-size: 16px;
    font-weight: 700;
    color: #274760;
    margin-bottom: 4px;
}
.cs_about_visual_accent p {
    font-size: 12.5px;
    color: #6C7A89;
    margin: 0;
    line-height: 1.5;
}
.cs_about_visual_badge {
    position: absolute;
    left: -15px;
    top: -15px;
    background: #fff;
    border-radius: 50px;
    padding: 12px 22px 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 12px 30px rgba(39,71,96,0.15);
    font-size: 13px;
    font-weight: 700;
    color: #274760;
    z-index: 2;
}
.cs_about_visual_badge img {
    width: 22px;
    height: 22px;
}
@media (max-width: 767px) {
    .cs_about_visual_main {
        padding: 55px 35px;
        min-height: 320px;
    }
    .cs_about_visual_accent {
        right: -10px;
        bottom: -25px;
        width: 190px;
        padding: 20px 18px;
    }
    .cs_about_visual_badge {
        left: -10px;
        top: -10px;
        padding: 10px 18px 10px 12px;
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    .cs_about_visual_accent {
        position: static;
        margin-top: 20px;
        width: 100%;
    }
    .cs_about_visual_badge {
        position: static;
        display: inline-flex;
        margin-bottom: 20px;
    }
}

/* ---------- Responsive fixes ---------- */
@media (max-width: 767px) {
    .cs_catalogue_row {
        flex-direction: column;
    }
    .cs_catalogue_label {
        min-width: auto;
    }
    .cs_catalogue_section {
        padding: 30px 20px;
    }
}

/* ---------- Product Page CTA Banner Contrast & Readability Fix ---------- */
.cs_banner.cs_style_4 {
    position: relative;
}
.cs_banner.cs_style_4::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 26, 46, 0.94) 0%, rgba(10, 26, 46, 0.85) 45%, rgba(10, 26, 46, 0.35) 68%, transparent 88%);
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
}
.cs_banner.cs_style_4 > * {
    position: relative;
    z-index: 2;
}
.cs_banner.cs_style_4 .cs_banner_title {
    max-width: 680px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
.cs_banner.cs_style_4 .cs_banner_subtitle {
    max-width: 600px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
@media (max-width: 991px) {
    .cs_banner.cs_style_4::before {
        background: rgba(10, 26, 46, 0.88);
    }
}

/* ---------- Contact Form & Button Enhancements ---------- */
button.cs_btn {
    cursor: pointer;
}
.cs_contact_alert {
    animation: fadeIn 0.4s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

