/* sales-management.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: Montserrat;
    /* font-family: "Poppins"; */

    line-height: 1.6;
    /* background-color: #f8f9fa; */
    overflow-x: hidden;
}

/* Modal styles */
#contactus-form-container-popup {
    padding: 0 12px;
}

.modal-content {
    background-color: transparent;
    border: none;
    border-radius: 5px;
    position: relative;
    /* Ensure positioned context for pseudos */
}

.modal-content::before {
    content: "";
    border-radius: 15px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    background: #0b5660cc;
    z-index: -1;
}

.modal-content::after {
    content: "";
    position: absolute;
    border-radius: 18px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://www.teamcomputers.com/images/business-central-new/contact-form-one.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}


/* Banner */

.main-banner {
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    color: #fff;
    /* background: url(./images/main-banner.png) no-repeat center center; */
    /* background-size: cover; */
    background: linear-gradient(180deg, #073a75 0%, #006f80 100%);

    background-position: center;
    padding: 98px 0;
    height: 610px;
    min-height: 610px;
    /* background-size: cover; */
}

/* Ensure the image scales properly on all screen sizes */
@media (max-width: 1200px) {
    .main-banner {
        background-size: cover;
    }
}

@media (max-width: 768px) {
    .main-banner {
        background-size: cover;
    }
}

@media (min-width: 1024px) {
    .main-banner {
        background-size: cover;
    }
}

.main-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    mix-blend-mode: multiply;
}

.main-banner * {
    position: relative;
    z-index: 2;
}

.main-banner .main_banner_bksec {

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 30px 0px;
}

.main_banner_bksec .first-box {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 45%;
}

.text h1 {
    color: #fff;
    font-weight: 800;
    font-size: 3em;
    margin: 0px 0px 0.4em;
}

.text p {
    font-family: Montserrat;
    font-size: 20px;
    font-weight: 400;
    line-height: 33px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.btn-container {
    margin-top: 0rem;
    left: 0;
}

.quote-btn {
    padding: 9px 30px;
    margin-top: 25px;
    font-size: 14px;
    background: #006675;
    color: #fff;
    border-image: linear-gradient(135deg, #02ae9b, #03be82, #c5ce1e) 1;
    transition: ease-in 3ms;
}


.quote-btn:hover {
    background-color: #fff;
    outline: 0;
    border: 0;
    color: #000;
}

.first-img {
    width: 480px;
    height: 470px;
    object-fit: cover;
    border: 1px solid #fff;
    border-radius: 35px;
    padding: 0px;
}

.second-img {
    width: 350px;
    height: 200px;
    object-fit: cover;
    position: absolute;
    top: -240px;
    right: -125px;
    border: 8px solid #ffffffb2;
    border-radius: 10px;
    padding: 0px;
}


.main-image {
    position: relative;
}

.mockup-container {
    position: absolute;
}

/* Why Sales Management Section */

/* Override Bootstrap's .row flex behavior in this specific section */
.second-banner.sales-management-sec .row {
    display: block !important;
}

.second-banner.sales-management-sec .why-warehouse-management-sec {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap !important;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
}

.second-banner.sales-management-sec .why-warehouse-management-sec .second-section-image {
    width: 45% ;
    min-width: 45%;
    flex: 0 0 45%;
    border-radius: 26px;
    overflow: hidden;
}

.second-banner.sales-management-sec .second-section-image img {
    width: 100%;
    height: auto;
    border-radius: 26px;
}

.second-banner.sales-management-sec .why-warehouse-management-sec .second-card-container {
    width: 55%;
    flex: 1 1 55%;
}

.second-banner.sales-management-sec {
    margin-top: 45px;
    margin-bottom: 45px;
}

/* Mastering Sales Section */
.mastering-Sales-sec .wrapper {
    width: 100%;
}

.mastering-Sales-sec .header {
    text-align: center;
    margin-bottom: 40px;
}

.mastering-Sales-sec .header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #009db5;
}

.mastering-Sales-sec .header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
}

.mastering-Sales-sec .header p {
    font-size: 16px;
    color: #555;
    max-width: 800px;
    margin: 10px auto 0;
}

.mastering-Sales-sec .content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.mastering-Sales-sec .content .text-section {
    flex: 1;
}

.mastering-Sales-sec .content .image-section {
    flex: 1;
}

.mastering-Sales-sec .content .image-section img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.second-banner {
    height: auto;
    position: relative;
    margin-bottom: 16px;
    display: flex;
    gap: 40px;

}

.second-card-container ul {
    list-style: none;
    padding-left: 0;
}

.second-card-container ul li {
    position: relative;
    padding-left: 25px;
    font-size: 28px;
    color: #000;
    font-weight: 500;
}

.second-card-container ul li::before {
    content: "◆";
    font-size: 24px;
    color: #009db5;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.custom-heading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.diamond {
    width: 10px;
    height: 10px;
    background-color: #0096B2;
    transform: rotate(45deg);
}

.text-container {
    display: flex;
    flex-direction: column;
}

.blue-text {
    color: #0096B2;
    font-weight: bold;
    font-size: 1.2rem;
}

.black-text {
    color: #000;
    font-weight: bold;
    font-size: 1.2rem;
}


.second-card {
    display: flex;

    justify-content: center;
    align-items: center;
    text-align: center;

    gap: 22px;
    margin-bottom: 18px;
    position: relative;
}

.second-card .card {

    position: relative;
    width: 300px;
    height: 55px;
    background-color: #005b74;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
    white-space: nowrap;
    overflow: visible;
}


.second-card .card h6 {
    font-family: Montserrat;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0%;
}


.second-card .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}


/* Deep Dive Section */
#salesManagement {
    background-color: #fff;
}

.benefit-container-main {
    background: #f4f9fe;
    /* padding: 40px; */
}

#salesManagement .benefit-container-main {
    background-color: #f5f7fa;
    padding: 40px;
}

.benefit-grid-heading {
    text-align: center;
    margin-bottom: 30px;
}

.benefit-grid-heading h1 {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 40px;
    line-height: 49.21px;
    margin-top: 10px;
    margin-bottom: 15px;
    letter-spacing: 0%;
}

.features-grid {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
    padding: 0;
    flex-direction: column;
    /* Based on visual assumption for cards in deep dive */
}

/* Specific styling for deep dive cards based on #subtitle ID usage in source */
#subtitle {
    display: flex;
    flex-direction: column;
}

#subtitle .feature-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

#subtitle .feature-description {
    font-family: Montserrat;
    font-weight: 400;
    font-size: 15px;
    line-height: 25.2px;
    letter-spacing: 0%;
}


.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: #f4f9fe;
}


.feature-icon img {
    width: 40px;
    height: 40px;
}


/* Leveraging Section */

.leveraging {
    display: flex;
    background: white;
    padding: 75px;
    border-radius: 10px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.left {
    flex: 1;
    padding-right: 20px;
}

.left h2 {
    font-size: 42px;
    font-weight: bold;
}

.left span {
    color: #00a6b6;
    font-weight: bold;
}

.left ul {
    list-style: none;
    padding: 0;
}

.left ul li {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.left ul li::before {
    content: "\25B6";
    color: #00a6b6;
    margin-right: 8px;
}

.leveraging .right {
    flex: 1;
    background: #eafaf8;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.right-top {
    display: flex;
    gap: 100px;
    justify-content: center;
    /* Centering for better layout */
}

.right-top img {
    width: 80px;
    object-fit: contain;
}

.right h2 {
    color: #00a6b6;
    font-size: 45px;
    text-align: left;
}

.right-top h2 span {
    font-size: 40px;
    font-weight: bold;
    color: #000;
}

.right p {
    font-size: 20px;
    color: #444;
    text-align: left;
}

.right .btn {
    background: #00a6b6;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
}

/* Mastering Sales Section */

.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.header h1 {
    color: #009db5;

    font-family: Montserrat;
    font-weight: 700;
    font-size: 40px;
    line-height: 123%;
    letter-spacing: 0%;
    text-align: center;
}

.header h2 {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 40px;
    line-height: 123%;
    letter-spacing: 0%;
    text-align: center;

    color: #333;
}

.header p {
    color: #666;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: 0%;
    text-align: center;
}

.content {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
}

.text-section {
    flex: 1;
    text-align: left;
}

.text-section h3 {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 28px;
    line-height: 140%;
    letter-spacing: 0%;
}

.text-section h4 {
    font-family: Montserrat;
    font-weight: 600;
    font-size: 22px;
    line-height: 140%;
    letter-spacing: 0%;
}

.text-section p {
    color: #555;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0%;
}

.icon-text {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.icon {
    padding: 35px;
    height: 30px;
    background: #f4f9fe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.icon img {
    width: 40px;
    height: 40px;
}

.wrapper .content .image-section img {
    width: 450px;
    height: 450px;
    border-radius: 10px;
}

/* Capability Section */
.capability-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.capability-sub-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.capability-container h2 {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 40px;
    line-height: 123%;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 20px;
}

.capability {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.capability-number {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 92px;
    line-height: 140%;
    letter-spacing: 0%;
    text-align: center;

    color: #a0a0a0;
}

.capability-content {
    text-align: left;
}

.capability-description {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #000;
}

/* Contact Form */
.contact-us {
    padding: 40px 0;
}

.query-form-sec-mk {
    display: flex;
    justify-content: center;
}

.contact-info {
    list-style: none;
    padding: 0;
    text-align: left;
}

.contact-info li {
    margin-bottom: 10px;
    color: #fff;
}

.contact-info li i {
    margin-right: 10px;
}

.head-top h2 {
    color: #fff;
    font-weight: 700;
}

.head span {
    color: #00abc5;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.head h2 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 15px;
}

.head p {
    color: #fff;
    margin-bottom: 20px;
}


/* Responsive */
@media (max-width: 1200px) {
    .main_banner_bksec {
        /* max-width: 100%; */
    }
}

@media (max-width: 1024px) {
    section.main-banner {
        flex-direction: row;
        position: relative;
    }

    .container {
        flex-direction: row;
    }

    .first-box {
        text-align: justify;
    }

    .first-box h1 {
        text-align: left;
        font-size: 1.8rem;
    }

    .first-img {
        width: 430px;
    }

    .second-img {
        top: -155px;
        right: -160px;
    }

    .second-card-container {
        margin-top: -32px;
    }
}


@media (max-width: 768px) {
    .content {
        flex-direction: column;
        text-align: center;
    }

    .text-section {
        text-align: center;
    }

    .icon-text {
        flex-direction: column;
        align-items: center;
    }

    .icon {
        margin-bottom: 10px;
    }

    .capabilities {
        grid-template-columns: 1fr;
    }

    .main_banner_bksec .first-box {
        width: auto;
    }
}

@media (max-width: 767px) {
    .main_banner_bksec {
        display: block;
        flex-direction:column;
        padding: 90px 0px !important;
    }

    .main-banner {
        padding: 20px 10px;
        height: auto !important;
        min-height: auto;
    }

    .first-box {
        width: 100%;
    }

    .first-box .text h1 {
        font-size: 20px;
        line-height: 1.2;
    }

    .first-box .text p {
        font-size: 14px;
        line-height: 1.6;
        margin-top: 10px;
    }

    .btn-container {
        margin-top: 15px;
    }

    .first-img {
        width: 330px;
    }

    .second-img {
        width: 200px;
        height: 200px;
        top: -118px;
        right: -270px;
    }

    .image-section {
        width: 100%;
        margin-top: 20px;
    }

    .main-image img {
        max-width: 100%;
        height: auto;
        margin-top: 51px;
    }

    .second-banner {
        /* text-align: center; */
        flex-direction: column;
    }

    .why-warehouse-management-sec {
        display: block;
        flex-direction: column !important
    }

    .why-warehouse-management-sec .second-section-image {
        margin-bottom: 2rem;
        width: 100% !important
    }

    .second-section-text h1 {
        font-size: 24px;
    }

    .second-card {
        flex-direction: column;
    }

    .features-grid {
        display: flex;
        flex-direction: column;
        margin: 0 auto;
    }

    .contact {
        display: flex;
        flex-direction: column;
    }

    .contact-us .query-form-sec-mk {
        flex-wrap: wrap;
        display: block;
    }

    .capability-sub-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .capability {
        display: block;
        align-items: center;
        gap: 15px;
        justify-content: center;
        text-align: center;
    }

    .capability-description {
        text-align: center;
    }

    .capability-number {
        font-size: 62px;
    }

    .leveraging {
        display: block;
        padding: 20px;
    }

    .right-top {
        gap: 0;
        flex-direction: column;
    }

    .header h1,
    .header h2,
    .left h2,
    .right h2,
    .right-top h2 span,
    .benefit-grid-heading h1,
    .capability-container h2 {
        font-size: 32px;
    }

    .wrapper .content .image-section img {
        width: 100%;
        height: 100%;
    }

    .second-card-container {
        width: 100% !important;
    }
}