/*
Theme Name: SteelNova Child
Description: Child theme for SteelNova. Add custom styles below.
Template: steelnova
Version: 1.0.0
Requires at least: 6.7.3
Requires PHP: 7.4
Text Domain: steelnova-child
*/

/* Add your custom CSS below this line. */
/***submenu width***/
/* Laptop and Desktop only */
@media screen and (min-width: 1025px) {
    ul.sub-menu {
        width: 400px;
    }
}
@media screen and (min-width: 1200px) {
.main-footer .header-menu>li>a {
       
        height: auto;
    }
}
/* Hide Under Construction whitelist notice */
div:has(> a[href*="ucp_dismiss_notice"][href*="whitelisted"]) {
    display: none !important;
}


.service__icon {
    color: #000F1D!important;
}
body.page-id-2579 .cs-services-carousel .swiper-wrapper {
    align-items: stretch !important;
}

body.page-id-2579 .cs-services-carousel .swiper-slide {
    height: auto !important;
    display: flex !important;
}

body.page-id-2579 .cs-services-carousel .service {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    height: 100% !important;
    padding: 28px 24px 22px !important;
    background: #ffffff;
    box-sizing: border-box;
    border-radius: 0;
}

body.page-id-2579 .cs-services-carousel .service__icon {
    position: absolute;
    top: -15px;
    right: 16px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8a735;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

body.page-id-2579 .cs-services-carousel .service__icon svg {
    width: 25px;
    height: 25px;
}

body.page-id-2579 .cs-services-carousel .service__title {
    margin: 0 0 12px !important;
    padding-right: 28px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    min-height: 45px;
    color: #163856;
}

body.page-id-2579 .cs-services-carousel .service__title a {
    color: inherit;
    text-decoration: none;
}

body.page-id-2579 .cs-services-carousel .service__excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: #5d6873;
    margin: 0 0 22px !important;
    min-height: 95px;
}

body.page-id-2579 .cs-services-carousel .service__features {
    list-style: none;
    padding: 16px 14px !important;
    margin: 0 0 25px !important;
    background: #f6f4f0;
    border-radius: 0;
    min-height: 135px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

body.page-id-2579 .cs-services-carousel .service__features .cs-list__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 500;
    color: #36536b;
    margin: 0 !important;
}

body.page-id-2579 .cs-services-carousel .cs-list__item-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8a735;
    border-radius: 50%;
    margin-top: 2px;
}

body.page-id-2579 .cs-services-carousel .service__read-more {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: auto !important;
    padding: 13px 15px !important;
    background: #002b4f;
    color: #ffffff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.3s ease;
}

body.page-id-2579 .cs-services-carousel .service__read-more:hover {
    background: #e8a735;
    color: #ffffff;
}

body.page-id-2579 .cs-services-carousel .service__read-more .cs-button__text {
    color: inherit;
}

@media (max-width: 1024px) {
    body.page-id-2579 .cs-services-carousel .service {
        padding: 28px 20px 20px !important;
    }

    body.page-id-2579 .cs-services-carousel .service__title,
    body.page-id-2579 .cs-services-carousel .service__excerpt {
        min-height: 0;
    }

    body.page-id-2579 .cs-services-carousel .service__features {
        min-height: 135px;
    }
}

@media (max-width: 767px) {
    body.page-id-2579 .cs-services-carousel .service {
        padding: 30px 20px 22px !important;
    }

    body.page-id-2579 .cs-services-carousel .service__title {
        font-size: 17px;
        min-height: 0;
    }

    body.page-id-2579 .cs-services-carousel .service__excerpt {
        min-height: 0;
        font-size: 14px;
    }

    body.page-id-2579 .cs-services-carousel .service__features {
        min-height: 0;
        margin-bottom: 24px !important;
    }

    body.page-id-2579 .cs-services-carousel .service__icon {
        width: 45px;
        height: 45px;
        right: 15px;
    }
}
/* Thumbnail */
body.page-id-1974 .cs-services-grid .service__thumbnail {
    position: relative;
    width: 100%;
    margin-bottom: 35px;
}

body.page-id-1974 .cs-services-grid .service__thumbnail > a {
    display: block;
    width: 100%;
    overflow: hidden;
}

body.page-id-1974 .cs-services-grid .service__thumbnail img {
    display: block;
    width: 100%;
    height: 275px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

body.page-id-1974 .cs-services-grid .service:hover .service__thumbnail img {
    transform: scale(1.05);
}

/* Landscape Tablet */
@media screen and (min-width: 768px) and (max-width: 1199px) and (orientation: landscape) {
    .header-logo img {
        width: 261px;
        height: auto;
        max-width: 100%;
    }
}


/* Main form */
.career-form {
    width: 100%;
    font-family: inherit;
    color: #496781;
}

/* Two-column layout */
.career-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 18px;
    margin-bottom: 18px;
}

.career-field {
    margin-bottom: 18px;
    min-width: 0;
}

.career-form-grid .career-field {
    margin-bottom: 0;
}

.career-field > label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #496781;
    margin-bottom: 10px;
}

/* Text inputs */
.career-form input[type="text"],
.career-form input[type="email"],
.career-form input[type="tel"] {
    width: 100%;
    height: 60px;
    border: 2px solid #e6eaec;
    border-radius: 35px;
    background: #fff;
    padding: 0 20px;
    color: #496781;
    font-size: 16px;
    outline: none;
    box-shadow: none;
    box-sizing: border-box;
}

/* Textarea */
.career-form textarea {
    width: 100%;
    height: 145px;
    min-height: 145px;
    padding: 16px 18px;
    border: 2px solid #e6eaec;
    border-radius: 18px;
    background: #fff;
    color: #496781;
    font-size: 16px;
    resize: vertical;
    outline: none;
    box-shadow: none;
    box-sizing: border-box;
}

.career-form textarea::placeholder {
    color: #496781;
    opacity: 1;
}

.career-form input:focus,
.career-form textarea:focus {
    border-color: #e9aa3b;
}

/* Upload area */
.career-upload-box {
    position: relative;
    min-height: 146px;
    background: #f5f4f1;
    border: 2px dashed #d9e1e5;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    transition: 0.2s ease;
}

.career-upload-box.is-dragover {
    border-color: #e9aa3b;
    background: #fff8e9;
}

.career-upload-content {
    pointer-events: none;
}

.career-upload-icon {
    color: #e9aa3b;
    margin-bottom: 8px;
}

.career-upload-text {
    font-size: 16px;
    font-weight: 600;
    color: #496781;
}

.career-browse {
    color: #e9aa3b;
    text-decoration: underline;
}

.career-upload-hint {
    margin-top: 8px;
    font-size: 14px;
    color: #89959e;
}

.career-file-name {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #496781;
    overflow-wrap: anywhere;
}

.career-file-name:empty {
    display: none;
}

/* Native file input covers the upload area */
.career-upload-box .wpcf7-form-control-wrap {
    position: absolute;
    inset: 0;
    display: block;
}

.career-upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    font-size: 0;
}

/* Submit button */
.career-form input[type="submit"] {
    display: inline-flex;
    width: auto;
    min-height: 60px;
    padding: 15px 34px;
    background: #e9aa3b;
    color: #182b39;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: none;
    text-transform: none;
}

.career-form input[type="submit"]:hover {
    background: #d99a2b;
    color: #182b39;
}

/* Validation */
.career-form .wpcf7-not-valid-tip {
    font-size: 13px;
    margin-top: 5px;
}

.career-form .wpcf7-spinner {
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 767px) {
    .career-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .career-form input[type="text"],
    .career-form input[type="email"],
    .career-form input[type="tel"] {
        height: 55px;
    }

    .career-upload-box {
        min-height: 150px;
    }

    .career-upload-text {
        font-size: 14px;
    }

    .career-form input[type="submit"] {
        width: 100%;
        justify-content: center;
    }
}
li.menu-item.menu-item-type-post_type.menu-item-object-service {
    padding-bottom: 15px;
}

/* Equal height service cards */
.cs-services-grid .grid__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

/* Stretch each grid item */
.cs-services-grid .grid__item {
    display: flex;
    flex-direction: column;
}

/* Full height cards */
.cs-services-grid .service {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

/* Stretch card content */
.cs-services-grid .service__content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Keep buttons aligned at the bottom */
.cs-services-grid .service__read-more {
    margin-top: auto;
    align-self: flex-start;
}



/* Project card background */
.cs-projects-grid .project,
.cs-projects-grid .project__content,
.cs-projects-grid .project__content-inner {
    background-color: #F2F3F4 !important;
}

/* Project title */
.cs-projects-grid .project__title,
.cs-projects-grid .project__title a {
    color: #123554 !important;
}

/* Project description */
.cs-projects-grid .project__excerpt {
    color: #59636C !important;
}

/* Category badge */
.cs-projects-grid .project__category a {
    background-color: #FFFFFF !important;
    color: #123554 !important;
}

/* Category dot */
.cs-projects-grid .project__category .icon-dot {
    background-color: #E4AA43 !important;
}

/* Divider */
.cs-projects-grid .project__content .divider {
    background-color: #E5E7E9 !important;
    border-color: #E5E7E9 !important;
}

/* Learn Details button */
.cs-projects-grid .project .cs-button {
    background-color: #E4AA43 !important;
    color: #FFFFFF !important;
}

/* Button text */
.cs-projects-grid .project .cs-button .cs-buton__text {
    color: #FFFFFF !important;
}

/* Button arrow */
.cs-projects-grid .project .cs-button svg path {
    fill: #FFFFFF !important;
}

/* Button hover */
.cs-projects-grid .project .cs-button:hover {
    background-color: #123554 !important;
    color: #FFFFFF !important;
}

/* Keep title color on hover */
.cs-projects-grid .project__title a:hover {
    color: #123554 !important;
}




/* Main form */
.partnership-form {
    width: 100%;
    font-family: inherit;
    color: #49657e;
}

/* Two-column layout */
.partnership-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 60px;
}

.partnership-form .form-field {
    min-width: 0;
    margin-bottom: 16px;
}

.partnership-grid .form-field {
    margin-bottom: 0;
}

/* Labels */
.partnership-form .form-field > label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #49657e;
    margin-bottom: 8px;
    line-height: 1.5;
}

.partnership-form label span {
    color: #49657e;
}

/* Inputs */
.partnership-form input[type="text"],
.partnership-form input[type="email"],
.partnership-form input[type="url"],
.partnership-form select {
    width: 100%;
    height: 48px;
    padding: 0 18px;
    border: 1px solid #dfe4e8;
    border-radius: 30px;
    background: #fff;
    color: #34495e;
    font-size: 13px;
    outline: none;
    box-shadow: none;
    transition: border-color 0.2s ease;
}

.partnership-form input:focus,
.partnership-form select:focus,
.partnership-form textarea:focus {
    border-color: #e8a936;
    outline: none;
    box-shadow: none;
}

/* Select fields */
.partnership-form select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2349657e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

/* Textarea */
.partnership-form textarea {
    width: 100%;
    height: 115px;
    min-height: 115px;
    padding: 14px 16px;
    border: 1px solid #dfe4e8;
    border-radius: 12px;
    background: #fff;
    color: #34495e;
    font-size: 13px;
    resize: vertical;
    outline: none;
}

.partnership-form textarea::placeholder {
    color: #9ca5ad;
    font-size: 12px;
}

/* Upload area */
.partnership-upload {
    position: relative;
    min-height: 115px;
    background: #f7f6f3;
    border: 2px dashed #dce1e5;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 18px;
    transition: border-color 0.2s ease;
}

.partnership-upload:hover {
    border-color: #e8a936;
}

.partnership-upload .upload-icon {
    color: #e8a936;
    margin-bottom: 6px;
}

.partnership-upload .upload-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.partnership-upload .upload-text strong {
    font-size: 12px;
    color: #49657e;
    font-weight: 600;
}

.partnership-upload .upload-text span {
    font-size: 11px;
    color: #9ca5ad;
}

.partnership-upload .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin-top: 10px;
}

.partnership-upload input[type="file"] {
    width: 100%;
    max-width: 280px;
    font-size: 11px;
    color: #49657e;
    cursor: pointer;
}

.partnership-upload input[type="file"]::file-selector-button {
    background: #e8a936;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 7px 12px;
    margin-right: 10px;
    cursor: pointer;
}

/* Submit button */
.partnership-submit {
    margin-top: 28px;
}

.partnership-form input[type="submit"] {
    display: inline-block;
    width: auto;
    min-height: 48px;
    padding: 12px 25px;
    background: #e8a936;
    color: #253b4c;
    border: none;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.partnership-form input[type="submit"]:hover {
    background: #d89a28;
    color: #253b4c;
}

.partnership-submit p {
    margin: 7px 0 0;
    font-size: 11px;
    color: #929ba4;
    line-height: 1.6;
}

/* CF7 validation */
.partnership-form .wpcf7-not-valid-tip {
    font-size: 11px;
    margin-top: 5px;
    color: #d63638;
}

.partnership-form .wpcf7-not-valid {
    border-color: #d63638 !important;
}

/* Tablet and mobile */
@media (max-width: 767px) {
    .partnership-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .partnership-form .form-field {
        margin-bottom: 14px;
    }

    .partnership-form input[type="text"],
    .partnership-form input[type="email"],
    .partnership-form input[type="url"],
    .partnership-form select {
        height: 46px;
    }

    .partnership-form textarea {
        min-height: 130px;
    }

    .partnership-submit {
        margin-top: 22px;
    }

    .partnership-form input[type="submit"] {
        width: 100%;
        text-align: center;
    }
}



/* =========================================
   1. Rounded Select Fields
========================================= */

.partnership-form select,
.partnership-form select.wpcf7-select {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 42px 0 18px !important;
    border: 1px solid #dfe4e8 !important;
    border-radius: 30px !important;
    background-color: #fff !important;
    color: #49657e !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2349657e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    cursor: pointer;
}

/* =========================================
   2. Upload Area
========================================= */

.partnership-upload {
    position: relative;
    min-height: 115px;
    background: #f7f6f3;
    border: 2px dashed #dce1e5;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px;
}

.partnership-upload .upload-icon {
    color: #e8a936;
    margin-bottom: 6px;
}

.partnership-upload .upload-text strong {
    font-size: 12px;
    font-weight: 600;
    color: #49657e;
}

.partnership-upload .upload-text span {
    font-size: 11px;
    color: #9ca5ad;
}

/* Hide the native file input visually */
.partnership-upload .wpcf7-form-control-wrap {
    position: static !important;
    display: block;
    margin: 0 !important;
}

.partnership-upload input[type="file"] {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    opacity: 0 !important;
    cursor: pointer !important;
    z-index: 2;
}

/* =========================================
   3. Submit Button and Disclaimer
========================================= */

.partnership-submit {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-top: 28px;
}

.partnership-submit input[type="submit"] {
    order: 1;
    width: auto;
    min-height: 48px;
    padding: 12px 25px;
    background: #e8a936;
    color: #253b4c;
    border: none;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.partnership-submit p {
    order: 2;
    margin: 0;
    font-size: 11px;
    color: #929ba4;
    line-height: 1.6;
}

.partnership-submit .wpcf7-spinner {
    order: 3;
}

/* =========================================
   4. Mobile Responsive
========================================= */

@media (max-width: 767px) {
    .partnership-form select,
    .partnership-form select.wpcf7-select {
        height: 46px !important;
        min-height: 46px !important;
    }

    .partnership-submit input[type="submit"] {
        width: 100%;
    }
}




.career-upload-box {
    position: relative;
}

.career-upload-box.has-file {
    border-color: #28a745 !important;
}

.career-upload-box .career-selected-file {
    display: none;
    position: relative;
    z-index: 5;
    padding: 15px;
    margin-top: 15px;
    background: #eaf8ef;
    color: #217a3c;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    overflow-wrap: anywhere;
    pointer-events: none;
}

.career-upload-box.has-file .career-selected-file {
    display: block !important;
}

.career-upload-box.has-file .career-upload-content {
    display: none !important;
}

