/* ============================================
   HOME PAGE STYLES - Optimized CSS
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */
   .connect-icon-image{
    max-width: 280px;
   }
   .hero-top-section {
    background-color: #00399E;
    color: white;
    padding: 80px 0 60px;
    padding-top: 150px;
}
.projects-view-all-btn{
    float: right;
}

.get-connected-btn:hover {
    background-color: white !important;
    /* border-color: #00399E !important; */
    color: black !important;
}
/* Keep the lead text aligned to the bottom vs the H1 on desktop */
@media (min-width: 992px) {
    .hero-top-row {
        align-items: stretch;
    }

    .hero-top-row > [class*="col-"] {
        display: flex;
        flex-direction: column;
    }

    .hero-lead-col {
        justify-content: flex-end;
    }
}

.hero-image-section {
    position: relative;
    width: 100%;
    margin-top: -40px;
    padding-bottom: 0;
    background-color: #00399E;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: cover;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8), transparent);
    z-index: 2;
}

/* Hero Stats Overlay */
.hero-stats-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 30px;
}

.hero-stats-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    flex: 1;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    color: white;
}

.hero-stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 8px;
    color: white;
    font-variant-numeric: tabular-nums;
}

.hero-stat-item .stat-label {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
}

.hero-explore-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-explore-btn:hover {
    transform: translateY(5px);
}

.hero-explore-btn:hover span {
    color: #dbe8ff;
}

.hero-explore-btn button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.hero-explore-btn button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.hero-explore-btn button i {
    color: #00399E;
    font-size: 1.2rem;
}

.hero-explore-btn span {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */
.solution-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s;
    height: 100%;
    border: none;
}

.solution-card:hover {
    transform: translateY(-5px);
}

.solution-card img {
    width: 100%;
    height: 405px;
    object-fit: cover;
    display: block;
}

.solution-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.6), transparent);
    padding: 30px 25px 25px;
    color: white;
}

.solution-card-overlay h5 {
    color: white;
    font-weight: 400;
    margin-bottom: 12px;
    font-size: 24px !important;
}

.solution-card-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.solution-card-overlay .btn {
    background: transparent;
    color: white;
    border: 1px solid white;
    padding: 8px 20px;
    font-weight: 500;
    border-radius: 28px;
    transition: all 0.3s;
}

.solution-card-overlay .btn:hover {
    background: #f0f0f0;
    color: #0d1b2a;
}

.solution-card-overlay .btn i {
    margin-left: 8px;
    font-size: 0.9rem;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.selected-projects-btn {
    border-radius: 20px !important;
    border-color: #00399E !important;
    color: #00399E !important;
}

.selected-projects-btn:hover {
    color: white !important;
    background-color: #00399E !important;
}

.featured-project {
    margin-bottom: 2rem;
}

.project-header-table,
.projects-list-table {
    width: 100%;
    border-collapse: collapse;
}

.project-header-table {
    margin-bottom: 1rem;
}

.project-header-table td,
.projects-list-table td {
    padding: 0;
    vertical-align: middle;
    text-align: left;
}

.project-header-table td:first-child,
.projects-list-table td:first-child {
    width: auto;
    min-width: 200px;
}

.project-header-table td:nth-child(2),
.projects-list-table td:nth-child(2) {
    width: 200px;
    padding-left: 3rem;
}

.project-header-table td:nth-child(3),
.projects-list-table td:nth-child(3) {
    width: 150px;
    padding-left: 3rem;
}

.project-header-table td:last-child,
.projects-list-table td:last-child {
    width: auto;
    text-align: right;
    padding-left: 2rem;
}

.project-header-table h5 {
    margin: 0;
    font-weight: 700;
}

.project-header-table .text-muted,
.projects-list-table .text-muted {
    margin: 0;
    white-space: nowrap;
}

.projects-list-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.projects-list-table tr:last-child {
    border-bottom: none;
}

.projects-list-table td {
    padding: 20px 0;
}

.projects-list-table h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
}

.projects-list-table .text-muted {
    font-size: 0.95rem;
}

.project-featured-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
}

.featured-project .col-md-8 .project-featured-image,
.featured-project .col-md-4 .project-featured-image {
    height: 370px;
    border-radius: 30px;
}

.project-badge {
    background-color: white;
    color: black;
    border: 1px solid #dee2e6;
    padding: 10px 12px;
    border-radius: 20px;
    font-weight: 300;
    font-size: 0.875rem;
    height: 39px;
    /* width: 120px; */
    text-align: center;
    justify-content: center !important;
    align-items: center;
}

.project-badge-fill {
    background-color: #00399E !important;
    color: white !important;
}

.projects-list {
    margin-top: 2rem;
}

.project-list-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

.project-list-item:last-child {
    border-bottom: none;
}

.project-list-item h5 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.project-list-item .text-muted {
    font-size: 0.95rem;
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-featured {
    position: relative;
    overflow: hidden;
}

.blog-featured img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 30px;
}

.blog-featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px;
    border-radius: 30px;
}

/* ============================================
   INDUSTRIAL & COMMERCIAL SECTION
   ============================================ */
.industrial-commercial-section {
    position: relative;
    overflow: hidden;
}

.industrial-commercial-content-wrapper {
    padding: 40px 0;
    /* Match the left position of content in Solutions section container */
    /* Container is centered, so we calculate: (100vw - 1140px) / 2 + 15px */
    padding-left: calc((100vw - 1315px) / 2 + 15px);
}

@media (max-width: 1400px) {
    .industrial-commercial-content-wrapper {
        padding-left: calc((100vw - 1320px) / 2 + 15px);
    }
}

@media (max-width: 1200px) {
    .industrial-commercial-content-wrapper {
        padding-left: calc((100vw - 960px) / 2 + 15px);
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .industrial-commercial-content-wrapper {
        padding-left: calc((100vw - 720px) / 2 + 15px);
    }
}

.industrial-commercial-content-wrapper .container {
    padding-left: 0 !important;
    padding-right: 60px !important;
    max-width: 100%;
}

/* Responsive padding for industrial-commercial-content-wrapper container */
@media (max-width: 1400px) {
    .industrial-commercial-content-wrapper .container {
        padding-right: 40px;
    }
}

@media (max-width: 1200px) {
    .industrial-commercial-content-wrapper .container {
        padding-right: 30px;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .industrial-commercial-content-wrapper .container {
        padding-right: 30px;
    }
}

@media (max-width: 768px) {
    .industrial-commercial-content-wrapper {
        padding-left: 15px;
    }

    .industrial-commercial-content-wrapper .container {
        padding-right: 15px !important;
    }
}

.industrial-commercial-card {
    position: relative;
    border: none;
    border-radius: 28px 0 0 28px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 35, 67, 0.35);
    transition: transform 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 460px;
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
}

.industrial-commercial-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 27, 71, 0.05) 0%, rgba(3, 27, 71, 0.35) 100%);
}

/* .industrial-commercial-card:hover {
    transform: translateY(-6px);
} */

.industrial-overlay-carousel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 380px;
    z-index: 2;
}

.industrial-overlay-carousel .carousel-item {
    padding: 6px 12px;
}

.industrial-overlay-carousel .carousel-inner {
    display: block;
}

.industrial-overlay-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 11px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 25px 35px rgba(20, 34, 68, 0.25);
    overflow: visible;
    box-sizing: border-box;
}

.industrial-overlay-thumb {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    height: 195px;
    flex-shrink: 0;
}

.industrial-overlay-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industrial-overlay-card h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0A1433;
    margin-bottom: 10px;
    text-align: left;
    line-height: 1.3;
    flex-shrink: 0;
}

.industrial-overlay-card p {
    color: #4a4a4a;
    font-size: 0.95rem;
    margin-bottom: 0;
    text-align: left;
    line-height: 1.5;
    flex-shrink: 0;
    overflow: visible;
}

.industrial-overlay-nav {
    position: absolute;
    bottom: 22px;
    left: 30px;
    right: 30px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.industrial-nav-btn {
    border: none;
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    cursor: pointer;
}

.industrial-nav-btn:hover {
    color: #dbe8ff;
}

.industrial-nav-btn i {
    font-size: 0.85rem;
}

/* ============================================
   CONNECT APP SECTION
   ============================================ */
.connect-app-section {
    position: relative;
    /* background-color: #2d4ba6; */
    background-image: url('../assets/images/app-image-home-bg.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 0;
    overflow: visible;
    min-height: 600px;
    margin-top: 0;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.connect-app-container {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.connect-phone-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    min-height: 500px;
    position: relative;
    z-index: 2;
}

.connect-phone-image {
    max-width: 90%;
    width: auto;
    height: auto;
    max-height: 550px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 2;
}

.connect-content-wrapper {
    padding: 10rem 4rem 4rem 4rem;
    color: white;
    position: relative;
}

.connect-logo-wrapper {
    margin-bottom: 2rem;
}

.connect-logo-image {
    max-width: 280px;
    height: auto;
}

.connect-heading {
    font-size: 2rem;
    font-weight: 400;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.connect-description {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

.connect-download-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.connect-store-btn {
    display: inline-block;
    background: white;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.connect-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.connect-store-btn img {
    height: 24px;
    display: block;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Large Desktop (1200px and below) */
@media (max-width: 1200px) {
    .hero-stats-overlay {
        left: 30px;
        right: 30px;
        bottom: 30px;
    }
}



/* Desktop (992px and below) */
@media (max-width: 992px) {
    .hero-stats-overlay {
        flex-direction: row;
        align-items: flex-end;
        gap: 15px;
    }

    .hero-stats-container {
        gap: 25px;
        flex-wrap: wrap;
    }

    .hero-stat-item .stat-number {
        font-size: 3rem;
    }

    .hero-stat-item .stat-label {
        font-size: 0.9rem;
    }

    .project-header-table td:nth-child(2),
    .projects-list-table td:nth-child(2) {
        width: 150px;
        padding-left: 1.5rem;
    }

    .project-header-table td:nth-child(3),
    .projects-list-table td:nth-child(3) {
        width: 120px;
        padding-left: 1.5rem;
    }

    .solution-card img {
        height: 500px;
    }

    .solution-card-overlay {
        padding: 20px;
    }

    .solution-card-overlay h5 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .solution-card-overlay p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .hero-explore-btn {
        display: none !important;
    }

    .hero-image-wrapper-new {
        min-height: 70vh;
    }

    .hero-content-overlay {
        padding: 100px 0 60px;
    }

    .hero-main-heading {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-carousel-nav {
        bottom: 20px;
        right: 20px;
    }

    .carousel-nav-btn {
        width: 45px;
        height: 45px;
    }

    .project-header-table,
    .projects-list-table {
        display: block;
    }

    .project-header-table tr,
    .projects-list-table tr {
        display: block;
        border-bottom: 1px solid #e0e0e0;
        padding: 15px 0;
    }

    .project-header-table td,
    .projects-list-table td {
        display: block;
        width: 100% !important;
        padding: 5px 0 !important;
        text-align: left !important;
    }

    .project-header-table td:last-child,
    .projects-list-table td:last-child {
        text-align: left !important;
        margin-top: 10px;
    }

    .featured-project .d-flex.justify-content-between {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .featured-project .d-flex.justify-content-between .project-badge {
        align-self: flex-start;
    }

    .featured-project .d-flex.justify-content-between.align-items-start {
        flex-direction: column;
        gap: 15px;
    }

    .featured-project .d-flex.justify-content-between.align-items-start .btn {
        width: 100%;
        text-align: center;
    }

    .project-featured-image {
        height: 250px;
    }

    .project-list-item {
        padding: 15px 0;
    }

    .industrial-commercial-card {
        height: 460px;
        border-radius: 28px;
        /* Full border-radius on mobile */
        margin-left: auto;
        margin-right: auto;
        max-width: calc(100% - 24px);
        /* Center the card on mobile and account for wrapper padding */
    }

    .industrial-commercial-content-wrapper {
        padding: 30px 15px;
    }

    .industrial-commercial-content-wrapper .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100%;
    }

    .industrial-overlay-carousel {
        width: 90%;
        left: 50%;
        transform: translate(-50%, -50%);
        /* Ensure carousel is centered on mobile */
    }

    .industrial-overlay-card {
        padding: 22px;
        min-height: 320px;
    }

    .industrial-overlay-thumb {
        height: 155px;
    }

    .featured-image-2 {
        display: none;
    }

    .connect-app-section {
        background-size: cover;
        background-position: center top;
        min-height: 450px;
    }

    .connect-content-wrapper {
        padding: 3rem 2rem;
    }

    .connect-phone-wrapper {
        padding: 2rem 1rem;
        min-height: 400px;
    }

    .connect-phone-image {
        max-height: 450px;
        max-width: 85%;
    }

    .connect-heading {
        font-size: 1.75rem;
    }

    .connect-logo-image {
        max-width: 220px;
    }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
    .hero-image-wrapper::after {
        background: transparent !important;
    }

    .hero-stats-overlay {
        left: 16px;
        right: 16px;
        bottom: 28px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hero-stats-container {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .hero-stat-item {
        width: 100%;
        max-width: 360px;
        padding: 12px 14px;
        border-radius: 14px;
        background: rgba(0, 0, 0, 0.45);
        border: 1px solid rgba(255, 255, 255, 0.14);
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(6px);
    }

    .hero-stat-item .stat-number {
        font-size: 2.4rem;
        font-weight: 600;
        letter-spacing: -0.02em;
        margin-bottom: 4px;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    }

    .hero-stat-item .stat-label {
        font-size: 1rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    }

    .hero-image-wrapper-new {
        min-height: 60vh;
    }

    .hero-content-overlay {
        padding: 80px 0 50px;
    }

    .hero-main-heading {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-learn-btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .hero-cta-arrow {
        width: 35px;
        height: 35px;
    }

    .hero-carousel-nav {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }

    .carousel-nav-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-nav-btn i {
        font-size: 0.9rem;
    }

    .project-featured-image {
        height: 200px;
    }

    /* Projects section: professional mobile meta layout */
    #projects .project-header-table tr,
    #projects .projects-list-table tr {
        border-bottom: none;
    }

    #projects .project-header-table td {
        padding: 6px 0 !important;
    }

    #projects .project-header-table td:first-child h5 {
        font-size: 1.25rem;
        font-weight: 650;
        color: #0A1433;
        letter-spacing: -0.01em;
        line-height: 1.25;
    }

    #projects .project-header-table td:nth-child(2) h5,
    #projects .project-header-table td:nth-child(3) h5 {
        display: inline-flex;
        align-items: center;
        width: fit-content;
        max-width: 100%;
        padding: 7px 12px;
        border-radius: 999px;
        border: 1px solid rgba(0, 57, 158, 0.14);
        background: rgba(0, 57, 158, 0.06);
        color: #22324f;
        font-size: 0.9rem;
        font-weight: 500;
        line-height: 1.2;
        word-break: break-word;
    }

    #projects .projects-list-table tr {
        display: block;
        margin: 0 0 12px 0;
        padding: 14px 14px;
        border: 1px solid #e8edf7;
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 10px 25px rgba(15, 35, 67, 0.06);
    }

    #projects .projects-list-table tr:last-child {
        margin-bottom: 0;
    }

    #projects .projects-list-table td {
        padding: 0 !important;
    }

    #projects .projects-list-table td:first-child {
        margin-bottom: 10px;
    }

    #projects .projects-list-table h5 {
        font-size: 1.05rem;
        font-weight: 650;
        color: #0A1433;
        letter-spacing: -0.01em;
        line-height: 1.25;
    }

    #projects .projects-list-table td:nth-child(2) .text-muted,
    #projects .projects-list-table td:nth-child(3) .text-muted {
        display: inline-flex;
        align-items: center;
        width: fit-content;
        max-width: 100%;
        padding: 7px 12px;
        margin-top: 8px;
        border-radius: 999px;
        border: 1px solid #e8edf7;
        background: #f8fafc;
        color: #3a4a68 !important;
        font-size: 0.85rem;
        font-weight: 500;
        line-height: 1.2;
        word-break: break-word;
        white-space: normal;
    }

    #projects .projects-list-table td:last-child {
        margin-top: 10px;
    }

    #projects .project-badge {
        height: auto;
        padding: 8px 12px;
        border-radius: 999px;
        font-size: 0.8rem;
        font-weight: 500;
    }

    .solution-card img {
        height: 250px;
    }

    .solution-card-overlay {
        padding: 15px;
    }

    .industrial-commercial-card {
        height: 420px;
        border-radius: 28px;
        /* Full border-radius on mobile */
        margin-left: auto;
        margin-right: auto;
        max-width: calc(100% - 24px);
        /* Center the card on mobile and account for wrapper padding */
    }

    .industrial-commercial-content-wrapper {
        padding: 20px 15px;
        padding-left: 15px;
    }

    .industrial-commercial-content-wrapper .container {
        padding-left: 0 !important;
        padding-right: 15px !important;
        max-width: 100%;
    }

    .industrial-overlay-carousel {
        width: 68%;
        left: 50%;
        transform: translate(-50%, -50%);
        /* Ensure carousel is centered on mobile */
    }

    .industrial-overlay-card {
        padding: 20px;
        min-height: 320px;
    }

    .industrial-overlay-card h5 {
        font-size: 1.1rem;
    }

    .industrial-overlay-card p {
        font-size: 0.75rem;
    }

    .industrial-overlay-nav {
        left: 18px;
        right: 18px;
        font-size: 0.8rem;
    }

    .connect-app-section {
        background-size: cover;
        background-position: center top;
        min-height: 400px;
    }

    .connect-phone-wrapper {
        padding: 2rem 1rem;
        min-height: 300px;
    }

    .connect-phone-image {
        max-height: 350px;
        max-width: 80%;
    }

    .connect-content-wrapper {
        padding: 2rem 1.5rem;
    }

    .connect-heading {
        font-size: 1.5rem;
    }

    .connect-description {
        font-size: 0.9rem;
    }

    .connect-logo-image {
        max-width: 180px;
    }

    .connect-download-btns {
        flex-direction: column;
        align-items: center;
    }

    .connect-store-btn {
        width: 100%;
        max-width: 200px;
    }
    .projects-view-all-btn{
        float: left;
        margin-top: 15px;
    }
}

/* ============================================
   CTA SECTION - Equal Height
   ============================================ */
.cta-section {
    padding: 0 !important;
    margin: 0;
}

.cta-section-row {
    display: flex;
    align-items: stretch;
    margin: 0;
}

.cta-col-left,
.cta-col-right {
    padding: 0 !important;
}

/* Add spacing between sections on larger screens */
@media (min-width: 993px) {
    /* .cta-col-left {
        padding-right: 30px !important;
    } */

    .cta-col-right {
        padding-left: 30px !important;
    }

    .cta-left {
        border-radius: 0 26px 26px 0 !important;
    }

    .cta-right {
        border-radius: 26px 0 0 26px !important;
    }
}

/* Larger spacing on very large screens */
@media (min-width: 1400px) {
    /* .cta-col-left {
        padding-right: 40px !important;
    } */

    .cta-col-right {
        padding-left: 40px !important;
    }
}

.cta-left,
.cta-right {
    min-height: 400px;
}

.cta-left h2 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.cta-right .card {
    border: none !important;
    background: transparent !important;
}

.cta-right h3 {
    font-size: 1.75rem;
    line-height: 1.3;
}

.cta-right p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
    .cta-section-row {
        flex-direction: column;
    }

    .cta-section-item {
        min-height: 300px;
    }

    /* Remove spacing on tablet and below */
    .cta-col-left {
        padding-right: 0 !important;
    }

    .cta-col-right {
        padding-left: 0 !important;
    }
}

/* Mobile optimizations for CTA section */
@media (max-width: 768px) {
    .cta-section {
        padding: 0 !important;
        margin: 0;
    }

    .cta-section.py-5 {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .cta-col-left {
        padding-right: 0 !important;
        margin-bottom: 0;
        order: 2;
    }

    .cta-col-right {
        margin-bottom: 0;
        order: 1;
    }

    .cta-left,
    .cta-left-mobile {
        border-radius: 0 !important;
        padding: 3rem 1.5rem !important;
        min-height: 250px !important;
    }

    .cta-left h2,
    .cta-left-mobile h2 {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    .cta-right,
    .cta-right-mobile {
        border-radius: 0 !important;
        padding: 2.5rem 1.5rem !important;
        min-height: auto !important;
    }

    .cta-right .card-body {
        padding: 1.5rem !important;
    }

    .cta-right h3 {
        font-size: 1.5rem !important;
        line-height: 1.3;
        margin-bottom: 1rem !important;
    }

    .cta-right p {
        font-size: 0.95rem !important;
        line-height: 1.6;
        margin-bottom: 1.25rem !important;
    }

    .cta-right .d-inline-flex {
        flex-wrap: wrap;
        /* gap: 0.5rem !important; */
    }

    .cta-right .d-inline-flex img {
        width: 35px !important;
        height: 35px !important;
    }
    .hero-top-section {
        padding-top: 130px
    }
}

@media (max-width: 576px) {

    .cta-left,
    .cta-left-mobile {
        padding: 2.5rem 1rem !important;
        min-height: 200px !important;
    }

    .cta-left h2,
    .cta-left-mobile h2 {
        font-size: 1.75rem !important;
        line-height: 1.2;
    }

    .cta-right,
    .cta-right-mobile {
        padding: 2rem 1rem !important;
    }

    .cta-right .card-body {
        padding: 1.25rem !important;
    }

    .cta-right h3 {
        font-size: 1.35rem !important;
        margin-bottom: 0.875rem !important;
    }

    .cta-right p {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
    }

    .cta-right .d-inline-flex img {
        margin-top: 3px;
        width: 32px !important;
        height: 32px !important;
        align-self: center;
    }
    .cta-left {
        display: none !important;
    }
}

@media (max-width: 400px) {
    .cta-left {
        padding: 2rem 0.75rem !important;
        min-height: 180px;
    }

    .cta-left h2 {
        font-size: 1.5rem;
    }

    .cta-right {
        padding: 1.75rem 0.75rem !important;
    }

    .cta-right .card-body {
        padding: 1rem !important;
    }

    .cta-right h3 {
        font-size: 1.25rem;
    }

    .cta-right p {
        font-size: 0.85rem;
    }
}

/* Additional Responsive Breakpoints for Connect App Section */
@media (max-width: 1400px) {
    .connect-app-section {
        background-size: cover;
        background-position: center top;
        min-height: 550px;
    }
}

@media (max-width: 1200px) {
    .connect-app-section {
        background-size: cover;
        background-position: center top;
        min-height: 500px;
    }

    .connect-content-wrapper {
        padding: 3rem 3rem 3rem 0rem;
    }

    .connect-logo-image {
        max-width: 240px;
    }
}

@media (max-width: 992px) {
    .connect-app-section {
        background-size: cover;
        background-position: center top;
        min-height: 500px;
    }

    .connect-phone-wrapper {
        padding: 3rem 2rem 1rem;
        min-height: auto;
    }

    .connect-phone-image {
        max-width: 70%;
        max-height: 400px;
    }

    .connect-content-wrapper {
        padding: 8rem 2rem 3rem;
    }

    .connect-heading {
        font-size: 1.75rem;
        text-align: center;
    }

    .connect-description {
        text-align: center;
    }

    .connect-logo-wrapper {
        text-align: center;
    }

    .connect-download-btns {
        justify-content: center;
    }
}

/* ============================================
   RESPONSIVE STYLES FOR LARGE SCREENS (1600px+)
   ============================================ */

/* Screens 1600px and above */
@media (min-width: 1600px) and (min-width: 1700px) {

    /* General Section Spacing */
    section.py-5 {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }

    /* Hero Section */
    .hero-top-section {
        padding: 100px 0 80px;
        padding-top: 150px;
    }

    .hero-top-section .display-3 {
        font-size: 4.5rem;
        line-height: 1.1;
    }

    .hero-top-section .lead {
        font-size: 1.5rem;
        line-height: 1.6;
    }

    .hero-image-wrapper img {
        max-height: 700px;
    }

    .hero-stats-overlay {
        bottom: 60px;
        left: 60px;
        right: 60px;
    }

    .hero-stats-container {
        gap: 60px;
    }

    .hero-stat-item .stat-number {
        font-size: 3rem;
    }

    .hero-stat-item .stat-label {
        font-size: 1.1rem;
    }

    /* Section Titles */
    .display-5 {
        font-size: 3.5rem;
    }

    h2.display-5 {
        font-size: 3.5rem;
        line-height: 1.2;
    }

    h4 {
        font-size: 1.75rem;
    }

    /* Solutions Section */
    #solutions .row.mb-5 {
        margin-bottom: 4rem !important;
    }

    .solution-card img {
        height: 450px;
    }

    .solution-card-overlay {
        padding: 40px 35px 35px;
    }

    .solution-card-overlay h5 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .solution-card-overlay p {
        font-size: 1.05rem;
        margin-bottom: 25px;
        line-height: 1.7;
    }

    /* Industrial & Commercial Section */
    .industrial-commercial-card {
        height: 520px;
        border-radius: 28px 0 0 28px;
        /* Keep right edge flush on large screens */
    }

    .industrial-commercial-content-wrapper {
        padding: 60px 0;
    }

    .industrial-commercial-content-wrapper .container {
        padding-left: 15px !important;
        padding-right: 45px;
        max-width: 100%;
    }

    .industrial-overlay-card h5 {
        font-size: 1.25rem;
        margin-bottom: 15px;
    }

    .industrial-overlay-card p {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    /* Projects Section */
    #projects .row.mb-4 {
        margin-bottom: 3rem !important;
    }

    .project-header-table td:nth-child(2),
    .projects-list-table td:nth-child(2) {
        padding-left: 4rem;
    }

    .project-header-table td:nth-child(3),
    .projects-list-table td:nth-child(3) {
        padding-left: 4rem;
    }

    .project-header-table h5 {
        font-size: 1.4rem;
    }

    .project-featured-image {
        height: 400px;
    }

    .featured-project .col-md-8 .project-featured-image,
    .featured-project .col-md-4 .project-featured-image {
        height: 350px;
    }

    /* Connect App Section */
    .connect-app-section {
        background-size: cover;
        background-position: center top;
        min-height: 650px;
    }

    .connect-phone-wrapper {
        padding: 4rem 3rem;
    }

    .connect-phone-image {
        max-height: 600px;
        max-width: 85%;
    }

    .connect-content-wrapper {
        padding: 4rem 12rem 0rem 4rem;
    }

    .connect-heading {
        font-size: 2.2rem;
    }

    .connect-description {
        font-size: 1.1rem;
    }

    .connect-logo-image {
        max-width: 320px;
    }

    /* Blogs Section */
    #blogs .d-flex.justify-content-between {
        margin-bottom: 3rem !important;
    }

    .blog-featured img {
        height: 450px;
    }

    /* CTA Section */
    .cta-section-row {
        margin: 0;
    }

    .cta-section-item {
        padding: 5rem 0 !important;
    }

    .cta-section-item .display-4 {
        font-size: 3.5rem;
        line-height: 1.2;
    }

    .cta-section-item h3 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .cta-section-item p {
        font-size: 1.1rem;
        line-height: 1.7;
    }
}

/* Screens 1800px and above */
@media (min-width: 1800px) {

    /* Container max-width adjustment */
    .container {
        max-width: 1600px;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    /* General Section Spacing */
    section.py-5 {
        padding-top: 7rem !important;
        padding-bottom: 7rem !important;
    }

    /* Hero Section */
    .hero-top-section {
        padding: 120px 0 100px;
        padding-top: 150px;
    }

    .hero-top-section .display-3 {
        font-size: 5rem;
    }

    .hero-top-section .lead {
        font-size: 1.6rem;
    }

    .hero-image-wrapper img {
        max-height: 800px;
    }

    .hero-stats-overlay {
        bottom: 80px;
        left: 80px;
        right: 80px;
    }

    .hero-stats-container {
        gap: 80px;
    }

    .hero-stat-item .stat-number {
        font-size: 3.5rem;
    }

    .hero-stat-item .stat-label {
        font-size: 1.15rem;
    }

    /* Solutions Section */
    .solution-card img {
        height: 500px;
    }

    .solution-card-overlay {
        padding: 50px 40px 40px;
    }

    .solution-card-overlay h5 {
        font-size: 1.6rem;
    }

    .solution-card-overlay p {
        font-size: 1.1rem;
    }

    /* Industrial & Commercial Section */
    .industrial-commercial-card {
        height: 580px;
        border-radius: 28px 0 0 28px;
        /* Keep right edge flush on large screens */
    }

    .industrial-commercial-content-wrapper {
        padding: 40px 0;
        padding-left: calc((100vw - 1584px) / 2 + 15px) !important;

    }

    .industrial-commercial-content-wrapper .container {
        padding-left: 15px !important;
        padding-right: 60px;
    }

    .industrial-overlay-card h5 {
        font-size: 1.25rem;
    }

    .industrial-overlay-card p {
        font-size: 1.15rem;
    }

    /* Projects Section */
    .project-header-table td:nth-child(2),
    .projects-list-table td:nth-child(2) {
        padding-left: 5rem;
    }

    .project-header-table td:nth-child(3),
    .projects-list-table td:nth-child(3) {
        padding-left: 5rem;
    }

    .project-featured-image {
        height: 450px;
    }

    .featured-project .col-md-8 .project-featured-image,
    .featured-project .col-md-4 .project-featured-image {
        height: 400px;
    }

    /* Blogs Section */
    .blog-featured img {
        height: 500px;
    }

    /* CTA Section */
    .cta-section-item .display-4 {
        font-size: 4rem;
    }

    .cta-section-item h3 {
        font-size: 2.2rem;
    }
}

/* Screens 2000px and above */
@media (min-width: 2000px) {
    .container {
        max-width: 1800px;
        padding-left: 3rem;
        padding-right: 3rem;
    }

    /* General Section Spacing */
    section.py-5 {
        padding-top: 8rem !important;
        padding-bottom: 8rem !important;
    }

    /* Hero Section */
    .hero-top-section .display-3 {
        font-size: 5.5rem;
    }

    .hero-top-section .lead {
        font-size: 1.75rem;
    }

    .hero-image-wrapper img {
        max-height: 900px;
    }

    .hero-stat-item .stat-number {
        font-size: 4rem;
    }

    .hero-stat-item .stat-label {
        font-size: 1.2rem;
    }

    /* Solutions Section */
    .solution-card img {
        height: 650px;
    }

    /* Industrial & Commercial Section */
    .industrial-commercial-card {
        height: 640px;
        border-radius: 28px 0 0 28px;
        /* Keep right edge flush on ultra-wide screens */
    }

    .industrial-commercial-content-wrapper {
        padding: 100px 0;
    }

    .industrial-commercial-content-wrapper .container {
        padding-left: 15px !important;
        padding-right: 70px;
        max-width: 100%;
    }

    /* Projects Section */
    .project-featured-image {
        height: 500px;
    }

    .featured-project .col-md-8 .project-featured-image,
    .featured-project .col-md-4 .project-featured-image {
        height: 450px;
    }

    /* Blogs Section */
    .blog-featured img {
        height: 550px;
    }

    /* CTA Section */
    .cta-section-item .display-4 {
        font-size: 4.5rem;
    }
}

/* Screens 2400px and above (Ultra-wide) */
@media (min-width: 2400px) {
    .container {
        max-width: 2000px;
        padding-left: 4rem;
        padding-right: 4rem;
    }

    /* General Section Spacing */
    section.py-5 {
        padding-top: 9rem !important;
        padding-bottom: 9rem !important;
    }

    /* Hero Section */
    .hero-top-section .display-3 {
        font-size: 6rem;
    }

    .hero-top-section .lead {
        font-size: 1.9rem;
    }

    .hero-image-wrapper img {
        max-height: 1000px;
    }

    .hero-stat-item .stat-number {
        font-size: 4.5rem;
    }

    .hero-stat-item .stat-label {
        font-size: 1.3rem;
    }

    /* Solutions Section */
    .solution-card img {
        height: 600px;
    }

    /* Industrial & Commercial Section */
    .industrial-commercial-card {
        height: 700px;
        border-radius: 28px 0 0 28px;
        /* Keep right edge flush on ultra-wide screens */
    }

    .industrial-commercial-content-wrapper {
        padding: 120px 0;
        padding-left: calc((100vw - 1919px) / 2 + 15px) !important;
    }

    .industrial-commercial-content-wrapper .container {
        padding-left: 15px !important;
        padding-right: 80px;
        max-width: 100%;
    }

    /* Projects Section */
    .project-featured-image {
        height: 550px;
    }

    .featured-project .col-md-8 .project-featured-image,
    .featured-project .col-md-4 .project-featured-image {
        height: 500px;
    }

    /* Blogs Section */
    .blog-featured img {
        height: 600px;
    }

    /* CTA Section */
    .cta-section-item .display-4 {
        font-size: 5rem;
    }

    .cta-section-item h3 {
        font-size: 2.5rem;
    }
}

@media (min-width: 1931px) and (max-width: 2570px) {
    .connect-app-section {
        background-size: contain;
        background-position: center top;
        min-height: 700px;
    }

    .connect-phone-image {
        max-height: 650px;
        max-width: 90%;
    }

    .connect-content-wrapper {
        padding: 15rem 11rem 7rem 6rem;
    }

    .connect-heading {
        font-size: 2.5rem;
    }

    .connect-logo-image {
        max-width: 350px;
    }
}

/* Ultra-wide and 4K screens - prevent stretching */
@media (min-width: 2571px) {
    .connect-app-section {
        background-size: auto 100%;
        background-position: center top;
        min-height: 800px;
    }

    .connect-content-wrapper {
        padding: 6rem 7rem 6rem 5rem;
    }

    .connect-heading {
        font-size: 3rem;
    }

    .connect-description {
        font-size: 1.3rem;
    }
}

@media (max-width: 500px) {
    .hero-stat-item .stat-label {
        font-size: 0.95rem !important;
    }

    .hero-stat-item .stat-number {
        font-size: 2.15rem;
    }

    .connect-app-section {
        background-size: cover;
        background-position: center;
        min-height: 350px;
    }

    .connect-heading {
        font-size: 1.25rem;
    }

    .connect-description {
        font-size: 0.85rem;
    }

    .industrial-commercial-content-wrapper .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

}

.fw-bold {
    font-weight: 400 !important;
}

.lead {
    font-size: 1.25rem !important;
    font-weight: 150 !important;
}

/* Projects: mobile-only professional details layout */
@media (max-width: 576px) {
    #projects .project-header-table tr,
    #projects .projects-list-table tr {
        border-bottom: none;
    }

    #projects .project-header-table td {
        padding: 6px 0 !important;
    }

    #projects .project-header-table td:first-child h5 {
        font-size: 1.25rem;
        font-weight: 650;
        color: #0A1433;
        letter-spacing: -0.01em;
        line-height: 1.25;
    }

    #projects .project-header-table td:nth-child(2) h5,
    #projects .project-header-table td:nth-child(3) h5 {
        display: inline-flex;
        align-items: center;
        width: fit-content;
        max-width: 100%;
        padding: 7px 12px;
        border-radius: 999px;
        border: 1px solid rgba(0, 57, 158, 0.14);
        background: rgba(0, 57, 158, 0.06);
        color: #22324f;
        font-size: 0.9rem;
        font-weight: 500;
        line-height: 1.2;
        word-break: break-word;
    }

    #projects .projects-list-table tr {
        display: block;
        margin: 0 0 12px 0;
        padding: 14px 14px;
        border: 1px solid #e8edf7;
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 10px 25px rgba(15, 35, 67, 0.06);
    }

    #projects .projects-list-table tr:last-child {
        margin-bottom: 0;
    }

    #projects .projects-list-table td {
        padding: 0 !important;
    }

    #projects .projects-list-table td:first-child {
        margin-bottom: 10px;
    }

    #projects .projects-list-table h5 {
        font-size: 1.05rem;
        font-weight: 650;
        color: #0A1433;
        letter-spacing: -0.01em;
        line-height: 1.25;
    }

    #projects .projects-list-table td:nth-child(2) .text-muted,
    #projects .projects-list-table td:nth-child(3) .text-muted {
        display: inline-flex;
        align-items: center;
        width: fit-content;
        max-width: 100%;
        padding: 7px 12px;
        margin-top: 8px;
        border-radius: 999px;
        border: 1px solid #e8edf7;
        background: #f8fafc;
        color: #3a4a68 !important;
        font-size: 0.85rem;
        font-weight: 500;
        line-height: 1.2;
        word-break: break-word;
        white-space: normal;
    }

    #projects .projects-list-table td:last-child {
        margin-top: 10px;
    }

    #projects .project-badge {
        height: auto;
        padding: 8px 12px;
        border-radius: 999px;
        font-size: 0.8rem;
        font-weight: 500;
    }

    /* Featured project (mobile): name left, capacity right + icons */
    #projects .featured-project-header-mobile .fp-mobile-top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
    }

    #projects .featured-project-header-mobile .fp-mobile-title {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 1.2rem;
        font-weight: 650;
        color: #0A1433;
        letter-spacing: -0.01em;
        line-height: 1.25;
    }

    #projects .featured-project-header-mobile .fp-mobile-capacity {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 7px 12px;
        border-radius: 999px;
        border: 1px solid rgba(0, 57, 158, 0.14);
        background: rgba(0, 57, 158, 0.06);
        color: #22324f;
        font-size: 0.85rem;
        font-weight: 600;
        line-height: 1.2;
        white-space: nowrap;
    }

    #projects .featured-project-header-mobile .fp-mobile-location {
        margin-top: 10px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        width: fit-content;
        max-width: 100%;
        padding: 7px 12px;
        border-radius: 999px;
        border: 1px solid #e8edf7;
        background: #f8fafc;
        color: #3a4a68;
        font-size: 0.85rem;
        font-weight: 500;
        line-height: 1.2;
        word-break: break-word;
    }

    #projects .featured-project-header-mobile i {
        color: #00399E;
        font-size: 0.9em;
    }
}

