* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: Montserrat;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Adjustments */
/* Modal Popup */
#contactus-form-container-popup {
    padding: 0 12px;
}

.modal-content {
    background-color: transparent;
    border: none;
    border-radius: 5px;
}

.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;
}

#popup-button {
    background-color: #01abc5;
    border-color: #01abc5;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    font-size: 1.1em;
    width: 100%;
    padding: 12px;
    border-radius: 5px;
}

/* Banner */
/* Banner */
.main-banner {
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    color: #fff;
    background: url(https://www.teamcomputers.com/erp-bk/finance-management/main-banner.png);
    background-position: center;
    background-size: cover;
}

@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%;
    background-color: #006675;
    z-index: 1;
    mix-blend-mode: multiply;
}

.main-banner * {
    position: relative;
    z-index: 2;
}

.first-box .second-box {
    flex: 1;
}

.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;
    text-align: justify;
    position: relative;
    width: 45%;
}

.image-section {
    position: relative;
}

.text h1 {
    color: #fff;
    font-weight: 800;
    font-size: 2.4em;
    margin: 0px 0px 0.4em;
    text-align: left;
}

.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 { removed } */

.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: -150px;
    /* Adjusted to approximate visual */
    right: -50px;
    /* Adjusted to approximate visual */
    border: 8px solid #ffffffb2;
    border-radius: 10px;
    padding: 0px;
}

.main-image {
    position: relative;
}

.mockup-container {
    position: absolute;
}

.second-banner {
    background: url("https://www.teamcomputers.com/erp-bk/supply-chain-management/supply-chain-management/sec-banner.png");
    height: auto;
    position: relative;
    margin-bottom: 16px;
}

.second-banner.project-management {
    margin-top: 0rem;
    padding: 45px 0px;
    margin-bottom: 0;
}

section.project-management-module-sec {
    padding: 45px 0px;
}

.project-management .second-section-text {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin: 0 0px;
    padding: 0px 0;
}

#second-text p {
    margin-top: -6px;
    font-weight: 400;
}

.second-section-text h1 {
    font-family: Montserrat;
    font-size: 40px;
    font-weight: 700;
    line-height: 123%;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.second-section-text p {
    font-family: Montserrat;
    font-size: 20px;
    font-weight: 500;
    line-height: 140%;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    margin-top: 15px;
}

.second-card-container {
    position: relative;
    z-index: 1;
    margin-top: -15px;
}

.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);
}

.tooltip {
    width: 350px;
    height: 80px;
    white-space: normal;
    max-width: 400px;
    word-wrap: break-word;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #00acc1;
    color: white;
    padding: 12px 16px;
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.card:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.features-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 30px;
}

.features-container h1 {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 40px;
    line-height: 49.21px;
    letter-spacing: 0%;
    margin-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-card {
    text-align: left;
    padding: 0;
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    margin-bottom: 1rem;
    background: #f4f9fe;
}

.feature-icon img {
    width: 40px;
    height: 40px;
}

.feature-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.feature-description {
    font-family: Montserrat;
    font-weight: 400;
    font-size: 15px;
    line-height: 25.2px;
    letter-spacing: 0%;
}

.benefit-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 32px;
}

.benefit-container-main {
    background: #f4f9fe;
    padding: 45px 0px;
}

section.why-are-businesses-sec {
    padding: 45px 0px;
}

.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%;
}

#benefit {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 25px;
}

#benefit-icon {
    width: 70px;
    height: 70px;
    background-color: #fff;
}

.partner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 0px;
}

.partner h2 {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 40px;
    line-height: 49.21px;
    letter-spacing: 0%;
    text-align: center;
}

.partner p {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 25px;
    margin-top: 18px;
}

.partner-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.partner-image-container img {
    width: 500px;
    margin-right: 16px;
    height: 350px;
}

#partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 25px;
}

#partner-description {
    font-family: Montserrat;
    font-weight: 400;
}

#partner-title {
    font-size: 18px;
}

/* Contact Form */
.contact-form form input,
.contact-form form select,
.contact-form form textarea,
.contact-form form button {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form form button {
    background-color: #01abc5;
    border-color: #01abc5;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    font-size: 1.1em;
}

.bg-tranparent {
    background-color: rgba(67, 115, 127, 0.6);
    border: 1px solid;
    border-radius: 15px;
    border-image-source: linear-gradient(293.41deg, rgba(255, 255, 255, 0.8) 16.62%, rgba(190, 235, 241, 0.32) 31.35%, rgba(98, 206, 222, 0.16) 56.21%, rgba(0, 175, 202, 0.8) 82.8%);
    width: 650px;
    padding: 20px 0;
}

.custom-input {
    height: 40px;
    padding: 0.375rem 0.75rem;
}

.mb-3 {
    margin-bottom: 12px !important;
}

/* Media Queries (from style.css) */
@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-banner {
        margin-bottom: 42px;
    }

    .first-box p {
        font-size: 1rem;
    }

    .image-section {
        padding-top: 20px;
    }

    .mockup-container {
        position: absolute;
        z-index: 2;
        flex-direction: column;
        align-items: center;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .second-section-text h1 {
        font-size: 32px;
    }

    .second-section-text p {
        font-size: 16px;
        text-align: left;
    }

    .partner-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .partner-image-container img {
        width: 600px;
        height: 400px;
        margin-bottom: 30px;
    }
}

@media (min-width: 320px) and (max-width: 767px) {
    .main-banner {
        padding: 20px 10px;
        height:unset
    }

    .main_banner_bksec {
        display: block;
    }

    .main_banner_bksec .first-box {
        width: auto;
        margin-top: 60px;
    }

    .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: -76px;
        right: -178px;
    }

    .image-section {
        width: 100%;
        margin-top: 20px;
    }

    .main-image img {
        max-width: 100%;
        height: auto;
    }

    .mockup-container {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 15px;
    }

    .features-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .second-card {
        flex-wrap: wrap;
        gap: 10px;
    }

   .second-section-text {
      margin:0;

    h1 {margin-top:0}
    p {margin-top:20px !important; padding: 0 10px}
   }

   .partner-image-container img {
      width:100%;
      height:auto
   }
}