/* ============================================
   Homepage Design System — Cohesive Color Palette
   Primary: #e38b00 (theme gold)
   Dark:    #0f172a (slate-900)
   Light:   #f8fafc (slate-50)
   Text:    #334155 (slate-700)
   ============================================ */

body.homepage {
    background: #ffffff;
    overflow-x: hidden;
    color: #334155;
}

/* Section types */
.hp-dark {
    background: #0f172a !important;
}

.hp-light {
    background: #f8fafc !important;
}

.hp-white {
    background: #ffffff !important;
}

/* Gold accent elements */
.hp-gold {
    color: #e38b00;
}

.hp-gold-bg {
    background: #e38b00;
}

.hp-gold-border {
    border-color: #e38b00 !important;
}

/* Safety accent (subtle, for icons/borders only) */
.hp-safety {
    color: #dc2626;
}

.hp-safety-border {
    border-color: #dc2626 !important;
}

/* Sustainability accent (subtle, for icons/borders only) */
.hp-green {
    color: #059669;
}

.hp-green-border {
    border-color: #059669 !important;
}

/* Headings on dark backgrounds */
.hp-heading-light {
    color: #ffffff !important;
}

.hp-heading-light p,
.hp-heading-light .text {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Card styles */
.hp-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease;
    height: 100%;
}

.hp-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
}

.hp-card--gold {
    border-left: 4px solid #e38b00;
}

.hp-card--safety {
    border-left: 4px solid #dc2626;
}

.hp-card--green {
    border-left: 4px solid #059669;
}

.hp-card--top-gold {
    border-top: 4px solid #e38b00;
}

/* Buttons */
.hp-btn-gold {
    display: inline-block;
    background: #e38b00;
    color: #ffffff !important;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s ease, transform 0.1s ease;
    border: none;
    cursor: pointer;
}

.hp-btn-gold:hover {
    background: #b86f00;
    color: #ffffff !important;
    text-decoration: none;
}

.hp-btn-outline-light {
    display: inline-block;
    background: transparent;
    color: #ffffff !important;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid rgba(255,255,255,0.6);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.hp-btn-outline-light:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.1);
    color: #ffffff !important;
    text-decoration: none;
}

/* Section title */
.hp-title {
    text-align: center;
    margin-bottom: 40px;
}

.hp-title h2 {
    font-size: 28px;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 700;
}

.hp-title p {
    font-size: 16px;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.hp-title--light h2 {
    color: #ffffff;
}

.hp-title--light p {
    color: rgba(255, 255, 255, 0.85);
}

/* Section padding */
.hp-section {
    padding: 60px 0;
}

/* Gradient dark CTA sections — unified look */
.hp-cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
}

.hp-cta-section h2 {
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 15px;
}

.hp-cta-section p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.7;
}

/* Topic accent stripe on CTA sections */
.hp-cta-section--gold {
    border-top: 4px solid #e38b00;
}

.hp-cta-section--safety {
    border-top: 4px solid #dc2626;
}

.hp-cta-section--green {
    border-top: 4px solid #059669;
}

/* Icon circles */
.hp-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
}

.hp-icon-circle--gold {
    background: rgba(227, 139, 0, 0.1);
    color: #e38b00;
}

.hp-icon-circle--safety {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

.hp-icon-circle--green {
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
}

/* Check list items */
.hp-check-list {
    list-style: none;
    padding: 0;
}

.hp-check-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
}

.hp-check-list li:last-child {
    border-bottom: none;
}

.hp-check-list li i {
    color: #059669;
    margin-right: 10px;
}

/* Industry icon card */
.hp-industry-card {
    padding: 25px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.hp-industry-card:hover {
    border-color: #e38b00;
    box-shadow: 0 4px 12px rgba(227, 139, 0, 0.08);
}

.hp-industry-card i {
    font-size: 36px;
    color: #e38b00;
    margin-bottom: 10px;
}

.hp-industry-card h4 {
    font-size: 15px;
    color: #334155;
    margin-top: 10px;
}

/* Form panel */
.hp-form-panel {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.hp-form-panel h3 {
    color: #1e293b;
    margin-bottom: 20px;
    text-align: center;
}

.hp-form-panel .form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.hp-form-panel .form-control:focus {
    border-color: #e38b00;
    outline: none;
    box-shadow: 0 0 0 3px rgba(227, 139, 0, 0.1);
}

.hp-form-panel .form-group {
    margin-bottom: 15px;
}

/* Case study card */
.hp-case-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    border-top: 4px solid #e38b00;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease;
}

.hp-case-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hp-case-card i {
    font-size: 32px;
    color: #e38b00;
    margin-bottom: 12px;
}

.hp-case-card h4 {
    color: #1e293b;
    margin-bottom: 10px;
}

.hp-case-card p {
    color: #64748b;
    font-size: 14px;
}

/* Certification card */
.hp-cert-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #e38b00;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.hp-cert-card h4 {
    margin-bottom: 15px;
}

.hp-cert-card ul {
    list-style: none;
    padding: 0;
}

.hp-cert-card ul li {
    padding: 5px 0;
    color: #475569;
}

.hp-cert-card ul li i {
    margin-right: 8px;
}

body.homepage .page-wrapper {
    overflow-x: hidden;
}

body.homepage .services-section,
body.homepage .about-section,
body.homepage section {
    padding-top: clamp(3rem, 5vw, 4.5rem) !important;
    padding-bottom: clamp(3rem, 5vw, 4.5rem) !important;
}
body.homepage .banner-section {
    padding-top: 0 !important;
}

body.homepage .banner-section .slide-item .content-box {
    padding-top: 0 !important;
}

body.homepage .services-section:first-of-type {
    padding-top: 0 !important;
}

body.homepage .sec-title {
    margin-bottom: 1.5rem !important;
}

body.homepage .sec-title h1,
body.homepage .sec-title h2 {
    margin-bottom: 0.75rem !important;
}

body.homepage .sec-title p {
    margin-top: 0.75rem !important;
}

body.homepage section .row,
body.homepage section .row.clearfix {
    row-gap: 1.5rem;
}

body.homepage section .row.clearfix {
    margin-bottom: 0 !important;
}

body.homepage section .row > [class*="col-"] {
    margin-bottom: 0 !important;
}

body.homepage .home-cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
}

body.homepage .home-cta-group .btn {
    min-width: 220px;
}

body.homepage .home-cta-group .btn + .btn {
    margin-left: 0 !important;
}

body.homepage .home-card,
body.homepage .home-panel,
body.homepage .home-stat-card,
body.homepage .home-form-panel {
    height: 100%;
}

body.homepage .home-form-panel,
body.homepage .home-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.homepage .home-form-panel {
    padding: 1.75rem !important;
}

body.homepage .home-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

body.homepage .home-list > li {
    padding: 0.5rem 0;
}

body.homepage .home-list--boxed > li {
    padding: 0.875rem 1.25rem;
    margin-bottom: 0.625rem;
    border-radius: 0.5rem;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

body.homepage .home-form-panel .form-group {
    margin-bottom: 1rem !important;
}

body.homepage .home-form-panel .form-control {
    padding: 0.75rem 0.9rem;
}

@media (max-width: 767.98px) {
    body.homepage {
        padding-top: 60px !important;
    }

    body.homepage {
        overflow-x: hidden;
    }

    body.homepage .services-section,
    body.homepage .about-section,
    body.homepage section {
        /* padding-top: 2.5rem !important; */
        padding-bottom: 2.5rem !important;
    }

    body.homepage .banner-section {
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden;
    }

    body.homepage .banner-section .carousel-column,
    body.homepage .banner-section .carousel-outer,
    body.homepage .banner-section .banner-carousel,
    body.homepage .banner-section .owl-stage-outer,
    body.homepage .banner-section .owl-wrapper-outer {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    body.homepage .banner-section .slide-item {
        min-height: 640px;
        height: auto;
        display: flex;
        align-items: center;
    }

    body.homepage .banner-section .slide-item .content-box {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px 55px !important;
    }

    body.homepage .banner-section .content-box h1 {
        font-size: 24px !important;
        line-height: 1.15 !important;
        margin-bottom: 14px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        animation: none !important;
    }

    body.homepage .banner-section .content-box .text {
        font-size: 15px !important;
        line-height: 1.45 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        animation: none !important;
    }

    body.homepage .banner-section .content-box div[style*="margin-top: 30px"] {
        margin-top: 18px !important;
    }

    body.homepage .banner-section .content-box a {
        display: block !important;
        width: 100% !important;
        margin: 0 0 12px 0 !important;
        text-align: center;
        padding: 10px 18px !important;
        font-size: 14px !important;
    }

    body.homepage .banner-section .social-links,
    body.homepage .banner-section .thumbs-carousel,
    body.homepage .banner-section .owl-dots,
    body.homepage .banner-section .owl-nav {
        display: none !important;
    }

    body.homepage .home-cta-group .btn {
        width: 100%;
        min-width: 0;
    }

    body.homepage .about-section .row {
        margin-left: 0;
        margin-right: 0;
    }

    body.homepage .about-section .image-column,
    body.homepage .about-section .content-column {
        padding-left: 0;
        padding-right: 0;
    }

    body.homepage .about-section .image-column {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    body.homepage .about-section .image-column .image img {
        display: block;
        width: 100%;
        height: auto;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    body.homepage {
        padding-top: 96px !important;
    }

    body.homepage .banner-section {
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden;
    }

    body.homepage .banner-section .carousel-column,
    body.homepage .banner-section .carousel-outer,
    body.homepage .banner-section .banner-carousel,
    body.homepage .banner-section .owl-stage-outer,
    body.homepage .banner-section .owl-wrapper-outer {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    body.homepage .banner-section .slide-item {
        min-height: 640px;
        height: auto;
        display: flex;
        align-items: center;
    }

    body.homepage .banner-section .slide-item .content-box {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 30px 55px !important;
    }

    body.homepage .banner-section .content-box h1 {
        font-size: 24px !important;
        line-height: 1.15 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        animation: none !important;
    }

    body.homepage .banner-section .content-box .text {
        font-size: 15px !important;
        line-height: 1.45 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        animation: none !important;
    }

    body.homepage .banner-section .content-box div[style*="margin-top: 30px"] {
        margin-top: 18px !important;
    }

    body.homepage .banner-section .content-box a {
        display: block !important;
        width: 100% !important;
        margin: 0 0 12px 0 !important;
        text-align: center;
        padding: 10px 18px !important;
        font-size: 14px !important;
    }

    body.homepage .banner-section .content-box a {
        margin-bottom: 12px;
    }

    body.homepage .banner-section .thumbs-carousel,
    body.homepage .banner-section .owl-dots {
        display: none !important;
    }

    body.homepage .about-section .row {
        margin-left: 0;
        margin-right: 0;
    }

    body.homepage .about-section .image-column,
    body.homepage .about-section .content-column {
        padding-left: 0;
        padding-right: 0;
    }

    body.homepage .about-section .image-column {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    body.homepage .about-section .image-column .image img {
        display: block;
        width: 100%;
        height: auto;
    }
}

@media (min-width: 1920px) {
    body.homepage .banner-section {
        height: calc(100vh - 100px) !important;
        min-height: calc(100vh - 100px) !important;
        padding-bottom: 0 !important;
        overflow: hidden;
    }

    body.homepage .banner-section .carousel-column,
    body.homepage .banner-section .carousel-outer,
    body.homepage .banner-section .banner-carousel,
    body.homepage .banner-section .owl-stage-outer,
    body.homepage .banner-section .owl-wrapper-outer {
        width: 100%;
        max-width: 100%;
        height: 100% !important;
        min-height: 100% !important;
        overflow: hidden;
    }

    body.homepage .banner-section .owl-stage,
    body.homepage .banner-section .owl-item,
    body.homepage .banner-section .owl-item.active {
        height: 100% !important;
        min-height: 100% !important;
    }

    body.homepage .banner-section .slide-item {
        height: 100% !important;
        min-height: 100% !important;
        max-height: none !important;
        display: flex;
        align-items: center;
    }

    body.homepage .banner-section .slide-item .content-box {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 120px 100px !important;
    }

    body.homepage .banner-section .content-box h1 {
        font-size: 64px !important;
        line-height: 1.2 !important;
        margin-bottom: 28px !important;
        max-width: 1100px;
    }

    body.homepage .banner-section .content-box .text {
        font-size: 28px !important;
        line-height: 1.4 !important;
        max-width: 900px;
    }

    body.homepage .banner-section .owl-dots {
        left: 120px;
        bottom: 50px;
    }

    body.homepage .banner-section .social-links {
        left: 40px;
        bottom: 120px;
    }

    body.homepage .banner-section .auto-container {
        max-width: 1600px;
    }
}

@media (min-width: 1441px) and (max-width: 1919px) {
    body.homepage .banner-section {
        height: calc(100vh - 100px) !important;
        min-height: calc(100vh - 100px) !important;
        padding-bottom: 0 !important;
        overflow: hidden;
    }

    body.homepage .banner-section .carousel-column,
    body.homepage .banner-section .carousel-outer,
    body.homepage .banner-section .banner-carousel,
    body.homepage .banner-section .owl-stage-outer,
    body.homepage .banner-section .owl-wrapper-outer {
        width: 100%;
        max-width: 100%;
        height: 100% !important;
        min-height: 100% !important;
        overflow: hidden;
    }

    body.homepage .banner-section .owl-stage,
    body.homepage .banner-section .owl-item,
    body.homepage .banner-section .owl-item.active {
        height: 100% !important;
        min-height: 100% !important;
    }

    body.homepage .banner-section .slide-item {
        height: 100% !important;
        min-height: 100% !important;
        max-height: none !important;
        display: flex;
        align-items: center;
    }

    body.homepage .banner-section .slide-item .content-box {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 80px 80px !important;
    }

    body.homepage .banner-section .content-box h1 {
        font-size: 52px !important;
        line-height: 1.2 !important;
        margin-bottom: 24px !important;
        max-width: 900px;
    }

    body.homepage .banner-section .content-box .text {
        font-size: 22px !important;
        line-height: 1.4 !important;
        max-width: 700px;
    }

    body.homepage .banner-section .owl-dots {
        left: 80px;
        bottom: 40px;
    }

    body.homepage .banner-section .social-links {
        left: 30px;
        bottom: 100px;
    }

    body.homepage .banner-section .auto-container {
        max-width: 1400px;
    }
}

@media (min-width: 1024px) and (max-width: 1440px) {
    body.homepage .banner-section {
        height: calc(100vh - 100px) !important;
        min-height: calc(100vh - 100px) !important;
        padding-bottom: 0 !important;
        overflow: hidden;
    }

    body.homepage .banner-section .carousel-column,
    body.homepage .banner-section .carousel-outer,
    body.homepage .banner-section .banner-carousel,
    body.homepage .banner-section .owl-stage-outer,
    body.homepage .banner-section .owl-wrapper-outer {
        width: 100%;
        max-width: 100%;
        height: 100% !important;
        min-height: 100% !important;
        overflow: hidden;
    }

    body.homepage .banner-section .owl-stage,
    body.homepage .banner-section .owl-item,
    body.homepage .banner-section .owl-item.active {
        height: 100% !important;
        min-height: 100% !important;
    }

    body.homepage .banner-section .slide-item {
        height: 100% !important;
        min-height: 100% !important;
        max-height: none !important;
        display: flex;
        align-items: center;
    }

    body.homepage .banner-section .slide-item .content-box {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 50px 60px !important;
    }
}