/*
 * Homepage — page-scoped CSS.
 * Loaded only on the front page via excell_enqueue_homepage() in functions.php.
 */

/* ---- Industries We Serve section -------------------------------- */

/* Force vertical left-side tabs layout */
.ind-section .e-n-tabs {
    flex-direction: row !important;
    align-items: stretch !important;
}
.ind-section .e-n-tabs-heading {
	overflow:hidden;
    flex-direction: column !important;
    background-color: #1A3D2B;
    border-radius: 40px 0 0 40px;
    min-width: 240px;
    width: 300px;
    padding: 8px 0;
    align-self: stretch;
    flex-shrink: 0;
}

/* Individual tab buttons */
.ind-section .e-n-tab-title {
    border: none !important;
    border-radius: 0 !important;
    border-left: 3px solid transparent !important;
    padding: 13px 20px 13px 17px !important;
    width: 100% !important;
    text-align: left !important;
    line-height: 1.45 !important;
    background: transparent !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.ind-section .e-n-tab-title:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}
.ind-section .e-n-tab-title[aria-selected="true"],
.ind-section .e-n-tab-title.e-active {
    background: rgba(255, 255, 255, 0.12) !important;
    border-left-color: #C17A3A !important;
}

/* Widget full-width stretch */
.ind-section .ind-tabs {
    width: 100%;
}

/* Content panel area */
.ind-section .e-n-tabs-content {
    background: #FFFFFF;
    border-radius: 0 40px 40px 0;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.07);
    flex: 1;
    min-width: 0;
}

/* Tab image */
.ind-section .ind-tab-img .elementor-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
.ind-section .ind-tab-img .elementor-image img[src=""] {
    height: 0;
    display: none;
}

/* Checkmark list items */
.ind-section .ind-tab-list .ind-chk {
    color: #444444;
    margin-bottom: 8px !important;
}
.ind-section .ind-tab-list .ind-chk::first-letter {
    color: #C17A3A;
}

/* Responsive */
@media (max-width: 768px) {
	.ind-section .e-n-tabs-content .ind-tab-panel{
		border: 1px solid #E2D9CC;
	}
	.ind-section .e-n-tab-title[aria-selected="true"], .ind-section .e-n-tab-title.e-active, .ind-section .e-n-tab-title{
		background-color:#1A3D2B !important;
	}
	.ind-section .e-n-tabs{
		flex-direction:column !important;
	}
    .ind-section .e-n-tabs-heading {
        border-radius: 12px 12px 0 0 !important;
        min-width: unset !important;
        width: 100% !important;
    }
    .ind-section .e-n-tabs-content {
        border-radius: 0 0 12px 12px !important;
    }
}
